diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/2026-10-11T03-44-33Z_design_groups_events_delegation.md b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/2026-10-11T03-44-33Z_design_groups_events_delegation.md index 8b4672845a..259288e4e1 100644 --- a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/2026-10-11T03-44-33Z_design_groups_events_delegation.md +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/2026-10-11T03-44-33Z_design_groups_events_delegation.md @@ -839,3 +839,44 @@ Where the review differs from this document, the review is current. The main dif ## 2026-10-11T10-46-58Z Decision: connectivity is n0 by default, plus our relay, tickets, and alternates Owner decision, 2026-10-11. Connectivity uses n0's relays and lookups by default. It adds our own relay, starting with a Cloudflare Tunnel in front of `iroh-relay`. Invite tickets carry addresses, and alternate lookups such as the mainline DHT are opt-in. mDNS stays off. This supersedes review §6 items 2 and 3, which recommended Minimal. The layers, the setup options, and the tests are in the [connectivity design](./2026-10-11T10-46-58Z_design_connectivity.md). + +## 2026-10-11T12-20-38Z Update: owner answers and open items + +- The owner's answers this session are recorded in the [remaining-work index](../2026-10-11T11-08-42Z_design_remaining_work/2026-10-11T11-08-42Z_design_remaining_work.md): connectivity, groups above 1,000, the from_join fork, serde_bytes kept local, and the tuple fix. +- Open decisions, and new questions with a preferred answer and alternatives, are listed in the same index. + +## 2026-10-11T12-49-10Z Update: spike results S7 to S12, BeeKEM, C1 re-run + +- S7: range sync works on real stores and matches S1. Keep K=16, T=16 (task 04). +- S8: observed-remove tags hold. The clock must cover the whole causal past. No tombstones are needed. Compaction needs a snapshot (task 06, task 02). +- S9: Seitan V2 derivations match Keybase's vectors. A ticket cannot carry the token, and tickets are unsigned address hints (task 07). +- S10: cap 32 needs the merge rule and the author's own latest event named every time (task 05). +- S11: restart and reconnect behaviour measured. The kit's systemd unit needs `KillSignal=SIGINT`, and metrics must not be public (task 08). +- S12: welcome 146.6 B per epoch stock, 40.0 B with serde_bytes. The serde_bytes change needs a new scheme version (task 05). +- BeeKEM: not adoptable now (no welcome API, no authority checks, large state). DataScheme stays for all groups, with warnings (task 05). +- C1 t2 and t4 re-run: both pass. +- Details and the open questions are in the [remaining-work index](../2026-10-11T11-08-42Z_design_remaining_work/2026-10-11T11-08-42Z_design_remaining_work.md). + +## 2026-10-11T12-52-41Z Update: holepunching across namespaces (C2) + +- Full cone and port-restricted NATs holepunch, 3 of 3 runs each. Symmetric against symmetric falls back to the relay. +- QAD is what gives a peer its public candidate. A QAD relay other than home must be in the map, and n0 is the default source (N29). This should be checked on real networks. +- Connected peers learn our addresses even when tickets hold none (N30). +- Details: `spikes/c2-holepunch/RESULTS.md`, and the [remaining-work index](../2026-10-11T11-08-42Z_design_remaining_work/2026-10-11T11-08-42Z_design_remaining_work.md). + +## 2026-10-11T16-08-10Z Decision: owner decisions recorded, phased plan proposed + +- Accepted: joiner history `full` by default; mDNS on for `serve`; fork recovery by removal and re-enrolment; storage on redb; p2panda-store traits over redb; the git rev for p2panda; the newest toolchain; the freshness window configurable; tickets that work as regular tickets with optional signatures; the n0 relay now; BeeKEM not adopted. +- The [phased plan](../2026-10-11T11-08-42Z_design_remaining_work/plan-phases.md) has eight phases, with parallel tracks and the true blockers marked. It is proposed, not started. +- The [explainers](../2026-10-11T11-08-42Z_design_remaining_work/explainers.md) define ChainExt, waiting caps, storms and merges, epochs and history modes, range versus LogSync, and compaction. +- The [BeeKEM assessment](../2026-10-11T11-08-42Z_design_remaining_work/beekem-assessment.md) records the difficulties and the conditions for reconsidering it. + +## 2026-10-11T17-58-40Z Update: round 2 research and the revised plan + +- Storage: redb everywhere. The Turso spike was slower in every configuration measured. libsql is replaced by redb (N1, N2). +- Ed25519: stay on 3.0.0 with a conversion shim, and use `verify_strict`. Moving to 2.x is blocked by iroh 1.3.0 (decision 19). +- Scheme v1 (serde_bytes) is the first release. It is 3.66 times smaller per epoch than stock (N10). +- Range: K and T are local, validated, and never on the wire. LogSync is used below a 3.5% difference, and range above it (N5, N6). +- Access control, not privacy: iroh identifies a peer only after the TLS handshake, so "authorize before connecting" does not hide addresses (N30). +- QAD: iroh probes only the first five relays in the map. QAD-capable relays come first (N43). +- Revised: [plan](../2026-10-11T11-08-42Z_design_remaining_work/plan-phases.md), [index](../2026-10-11T11-08-42Z_design_remaining_work/2026-10-11T11-08-42Z_design_remaining_work.md), [explainers](../2026-10-11T11-08-42Z_design_remaining_work/explainers.md). diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/2026-10-11T10-46-58Z_design_connectivity.md b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/2026-10-11T10-46-58Z_design_connectivity.md index f83a77d0f6..19390f63e0 100644 --- a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/2026-10-11T10-46-58Z_design_connectivity.md +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/2026-10-11T10-46-58Z_design_connectivity.md @@ -154,3 +154,9 @@ I will not create accounts, deploy, or change DNS without an explicit go-ahead, - The README gives the QAD port as 7824. The code uses 7842. This document uses the code's values. + +## 2026-10-11T12-20-38Z Update: re-run of t2 and t4 + +- t2 re-home measured 22.5 s on this run (earlier runs 20.5 s and 21.6 s). The "20–22 s" in §3 and gotcha 3 should read 20–23 s. +- t2 and t4 both pass on the current build. Raw output is in `spikes/c1-rerun`. +- Not tested: real NAT. Both endpoints share one host. diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/connectivity/relay/iroh-relay.service b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/connectivity/relay/iroh-relay.service index ffb80cbb2b..7e7173f39f 100644 --- a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/connectivity/relay/iroh-relay.service +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/connectivity/relay/iroh-relay.service @@ -5,9 +5,13 @@ Description=iroh relay After=network-online.target Wants=network-online.target +# Refuse to start without the config. The relay otherwise starts silently on [::]:80 (S11). +ConditionPathExists=/etc/iroh-relay/relay.toml [Service] ExecStart=/usr/local/bin/iroh-relay --config-path /etc/iroh-relay/relay.toml +# The relay ignores SIGTERM and is hard-killed by it. SIGINT exits cleanly (S11). +KillSignal=SIGINT User=iroh-relay Group=iroh-relay # Lets a non-root user bind ports 80 and 443 without running as root. diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/BRIEF.md b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/BRIEF.md new file mode 100644 index 0000000000..d7d67a5d20 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/BRIEF.md @@ -0,0 +1,35 @@ +# Shared brief for the design spikes (2026-10-11) + +You are running one spike for the owner's identity/P2P system (`pkgs/id`, Rust). The design is still open. Your result feeds a decision list, so report numbers you actually observed, and say plainly what you did not test. + +## Where things are + +- Remaining-work index: `/home/user/work/integrated/doc/2026-10-11T11-08-42Z_design_remaining_work/2026-10-11T11-08-42Z_design_remaining_work.md` +- Task docs: `/home/user/work/integrated/doc/2026-10-11T11-08-42Z_design_remaining_work/task-NN-*.md` +- Main design: `/home/user/work/integrated/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/2026-10-11T03-44-33Z_design_groups_events_delegation.md` +- Research findings, design review, connectivity design: the same folder (`2026-10-11T04-20-17Z_research_findings.md`, `2026-10-11T08-08-56Z_design_review.md`, `2026-10-11T10-46-58Z_design_connectivity.md`). Relay kit: `.../connectivity/relay/`. +- Existing spike code (shared workspace, pinned versions): `/home/user/work/spikes` (members s1-transport, s2-auth, s3-history, s4-blobs, s5-cbor, s6-index, c1-connect). `/home/user/work/spikes/Cargo.toml` has the pins. Read the RESULTS.md in each member first. +- Patched p2panda-encryption (serde_bytes + from_join membership fix): `/home/user/work/spikes/s3-history/patched/p2panda-encryption`. The diff is `.../spikes/shared/s3-history/logs/patch.diff` in the design folder. +- Storage spike (redb vs SQLite): `/home/user/work/spikes-s6` (its own workspace). +- Crate sources extracted for reading: `/tmp/research/q/core/p2panda-core-0.7.1`, `/tmp/research/q/enc/p2panda-encryption-0.7.1`, `/tmp/research/q/spaces/...`, `/tmp/research/p2p-store-*/`, `/tmp/research/p2p-stream-*/`, `/tmp/research/p2p-sync-*/` (all 0.7.1). The cargo registry at `~/.cargo/registry/src/` has the rest. +- The p2panda crates are pinned to git rev `3e84cac48bba05c6857cce2ec433862b97f8d53c`. iroh 1.3.0, iroh-blobs =0.103.1, iroh-relay 1.3.0, cbor-core =0.10.1, redb =4.3.0. + +## Rules + +1. Write only inside your own folder: `/home/user/work/spikes-next//`. Read anything, but do not modify `/home/user/code`, `/home/user/work/integrated`, `/home/user/work/spikes/*/src` or the p2panda sources. +2. Do not push, open issues or PRs, publish packages, or deploy anything. Do not contact any service except what your task names. +3. Do not read or copy the large image files in the repo root (`*.iso`, `*.qcow2`). Do not run `nix`, `./rebuild`, or anything that changes the host's network config (outside a network namespace). +4. Toolchain: `CARGO="$(rustup which --toolchain 1.97.0 cargo)"`. Do not use the Nix cargo on PATH. +5. Target dir: unless your task says otherwise, `export CARGO_TARGET_DIR=/home/user/work/spikes/target` (warm, shared). Builds serialize on that lock, which is expected. Run every build and test in the foreground and wait for it. Never claim a result you did not see in output. +6. Standalone crate: add an empty `[workspace]` table to your `Cargo.toml` so cargo does not join a parent workspace. Copy `/home/user/work/spikes/Cargo.lock` into your folder so versions match. Copy dependency pins from `/home/user/work/spikes/Cargo.toml`. +7. Known traps (from earlier spikes): + - `Header::verify` in p2panda-core returns true in non-test builds. Verify signatures with `AnyHeader::decode`, not the typed `verify`. + - Enabling p2panda-encryption's `test_utils` feature turns on p2panda-core/test_utils, which enables the signature check. Keep that in mind when mixing features (see `s1-transport/Cargo.toml`). + - `pkgs/id/src/tuple.rs` has a NUL-terminator bug: a full-field prefix can match a longer value containing NUL. A fix is in progress; if you use tuple keys, say which encoding you used. + - `RelayMode::custom` turns QUIC address discovery on for every relay. Tunnel-style relays have no UDP. +8. Deliverables, all in your folder: + - `RESULTS.md`: question, method (commands), results (tables with raw numbers), what was NOT tested and why, verdicts, and anything surprising. + - Code: small and readable. Comments only where non-obvious. No unrelated refactors. + - Logs: keep only small text logs (under 40 KB each). +9. Final message to the parent: at most 300 words. Give one verdict per question, the key numbers, the path to RESULTS.md, and any other findings. +10. Time budget: about two hours. If you are blocked, stop, write down the blocker with the exact command and error, what you already measured, and what would unblock you. A partial result with a clear blocker is more useful than a guess. diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/README.md b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/README.md index dd34f7f67e..73f07b28d1 100644 --- a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/README.md +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/README.md @@ -37,3 +37,19 @@ C1 (connectivity) was named `s7-connect` in the workspace. It is renamed `c1-con | s5-cbor | cbor-core choice, decode-then-re-encode canonicality, four value rules, golden vectors, dcbor interop | | s6-index | redb versus SQLite load, durability under SIGKILL, concurrency, unique (author, seq), the prefix bug | | c1-connect | Connectivity: lookups (n0, mainline testnet, tickets), relay fallback, and a Tunnel-style relay with QAD off (t1–t8) | + +## 2026-10-11T12-53-32Z Spike results from the 2026-10-11 round + +Each folder has a `RESULTS.md` with the commands, raw numbers, and what was not tested. Build output is not committed. Shared brief: `BRIEF.md` in this folder. + +| Folder | Question | Verdict | +| --- | --- | --- | +| `s7-range-real/` | Range sync on real redb stores over iroh | Works and matches S1. Keep K=16, T=16. Crossover: range wins control bytes up to about 33 new events at 1,000 chains | +| `s8-tags/` | Observed-remove tags | Hold. The clock must cover the causal past. Compaction needs a snapshot | +| `s9-seitan/` | Seitan V2 derivations, freshness, admin path | Derivations match Keybase's V2 vectors. A ticket cannot carry the token | +| `s10-heads/` | Heads orderer in a 40-member group | Cap 32 needs the merge rule and the author's own latest event named every time | +| `s11-relay/` | Relay restart, keys, certificates, idle | Restart survives a short outage. A 35 s outage loses frames. Use `KillSignal=SIGINT` | +| `s12-welcome/` | Welcome size per epoch | 146.6 B stock, 40.0 B with serde_bytes. The serde_bytes change needs a new scheme version. `variants/*.patch` hold the diffs | +| `c2-holepunch/` | Holepunching through NAT in namespaces | Full cone and port-restricted hold-punch. Symmetric against symmetric falls back. QAD is required | +| `beekem/` | BeeKEM costs, concurrency, join, migration | Not adoptable now. DataScheme stays. See task 05 | +| `c1-rerun/` | C1 t2 and t4 on current infrastructure | Both pass | diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/Cargo.lock b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/Cargo.lock new file mode 100644 index 0000000000..a581adaa99 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/Cargo.lock @@ -0,0 +1,842 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "aead" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0" +dependencies = [ + "crypto-common", + "generic-array", +] + +[[package]] +name = "arrayvec" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56" + +[[package]] +name = "base64ct" +version = "1.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2af50177e190e07a26ab74f8b1efbfe2ef87da2116221318cb1c2e82baf7de06" + +[[package]] +name = "beekem" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8035043522050dd868b8f6c3419ab3cb9db674b175ede6e9197325acceebbc72" +dependencies = [ + "blake3", + "chacha20poly1305", + "dupe", + "ed25519-dalek", + "future_form", + "keyhive_crypto", + "nonempty", + "rand", + "serde", + "thiserror", + "tracing", +] + +[[package]] +name = "beekem-spike" +version = "0.0.0" +dependencies = [ + "beekem", + "bincode", + "future_form", + "futures", + "keyhive_crypto", + "rand", +] + +[[package]] +name = "bincode" +version = "1.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" +dependencies = [ + "serde", +] + +[[package]] +name = "blake3" +version = "1.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d9e454fc11f76977dc803893aff6304ed33d6a26efae8696573bea74baa27ae" +dependencies = [ + "arrayvec", + "cc", + "cfg-if", + "constant_time_eq", + "cpufeatures 0.3.1", +] + +[[package]] +name = "block-buffer" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" +dependencies = [ + "generic-array", +] + +[[package]] +name = "cc" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50a649af8a827553c29fb0cb4bd4a6f1a0dd695bd3232b9bc98bd9c8a3ffbb8b" +dependencies = [ + "find-msvc-tools", + "shlex", +] + +[[package]] +name = "cfg-if" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600" + +[[package]] +name = "chacha20" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3613f74bd2eac03dad61bd53dbe620703d4371614fe0bc3b9f04dd36fe4e818" +dependencies = [ + "cfg-if", + "cipher", + "cpufeatures 0.2.17", +] + +[[package]] +name = "chacha20poly1305" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10cd79432192d1c0f4e1a0fef9527696cc039165d729fb41b3f4f4f354c2dc35" +dependencies = [ + "aead", + "chacha20", + "cipher", + "poly1305", + "zeroize", +] + +[[package]] +name = "cipher" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" +dependencies = [ + "crypto-common", + "inout", + "zeroize", +] + +[[package]] +name = "const-oid" +version = "0.9.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" + +[[package]] +name = "constant_time_eq" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d52eff69cd5e647efe296129160853a42795992097e8af39800e1060caeea9b" + +[[package]] +name = "cpufeatures" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" +dependencies = [ + "libc", +] + +[[package]] +name = "cpufeatures" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ca28b0ae3115b884660db4118d803791fd6756b6e88f39c0f3f7859060d7566" +dependencies = [ + "libc", +] + +[[package]] +name = "crypto-common" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" +dependencies = [ + "generic-array", + "rand_core", + "typenum", +] + +[[package]] +name = "curve25519-dalek" +version = "4.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "curve25519-dalek-derive", + "digest", + "fiat-crypto", + "rustc_version", + "serde", + "subtle", + "zeroize", +] + +[[package]] +name = "curve25519-dalek-derive" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "der" +version = "0.7.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb" +dependencies = [ + "const-oid", + "zeroize", +] + +[[package]] +name = "derive_more" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a9b99b9cbbe49445b21764dc0625032a89b145a2642e67603e1c936f5458d05" +dependencies = [ + "derive_more-impl", +] + +[[package]] +name = "derive_more-impl" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb7330aeadfbe296029522e6c40f315320aba36fc43a5b3632f3795348f3bd22" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", + "unicode-xid", +] + +[[package]] +name = "digest" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" +dependencies = [ + "block-buffer", + "crypto-common", +] + +[[package]] +name = "dupe" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ed2bc011db9c93fbc2b6cdb341a53737a55bafb46dbb74cf6764fc33a2fbf9c" +dependencies = [ + "dupe_derive", +] + +[[package]] +name = "dupe_derive" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83e195b4945e88836d826124af44fdcb262ec01ef94d44f14f4fb5103f19892a" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "ed25519" +version = "2.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" +dependencies = [ + "pkcs8", + "serde", + "signature", +] + +[[package]] +name = "ed25519-dalek" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70e796c081cee67dc755e1a36a0a172b897fab85fc3f6bc48307991f64e4eca9" +dependencies = [ + "curve25519-dalek", + "ed25519", + "rand_core", + "serde", + "sha2", + "subtle", + "zeroize", +] + +[[package]] +name = "fiat-crypto" +version = "0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d" + +[[package]] +name = "find-msvc-tools" +version = "0.1.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aedcfb3409746eddb02b9e19ebda1c3394f759a152e48ee875a0844d1b955484" + +[[package]] +name = "future_form" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea9dc603d639a995c107419584a890d3020b87ff4640f442c21c1e35f0691117" +dependencies = [ + "future_form_macros", + "futures", +] + +[[package]] +name = "future_form_macros" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6658fc211f4fa8521b72c00efe6626be82dd9d5bde5042137bcb90b02caee84d" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "futures" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a31d2a3fbaaeb2af2368bbdd904aa8e812d3c04a1ee10d3171f52d556e5d0a3" +dependencies = [ + "futures-channel", + "futures-core", + "futures-executor", + "futures-io", + "futures-sink", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-channel" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1f9e3d69d39e4862ffed03ed071a76f9a13ba1d9109d355b0f0aa6b15e393c4" +dependencies = [ + "futures-core", + "futures-sink", +] + +[[package]] +name = "futures-core" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e" + +[[package]] +name = "futures-executor" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "031b47cf1a3c6cc8bc2fc76cd437f521619387907d469316e7c0bc278f1f5432" +dependencies = [ + "futures-core", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-io" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53c0fa8157de1303bfffdaa1cc2a673bfffb60102f76b0ef4441659124373fed" + +[[package]] +name = "futures-macro" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fb9654ba8355388abeb8dcb4fc62f511300867002afc858860463bdd9fe0c44" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "futures-sink" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1944426bf7d03f1d14f708785e4b33efd750b36d48a157b836b3efc15ede8e1d" + +[[package]] +name = "futures-task" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd" + +[[package]] +name = "futures-util" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc" +dependencies = [ + "futures-channel", + "futures-core", + "futures-io", + "futures-macro", + "futures-sink", + "futures-task", + "memchr", + "pin-project-lite", + "slab", +] + +[[package]] +name = "generic-array" +version = "0.14.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +dependencies = [ + "typenum", + "version_check", +] + +[[package]] +name = "getrandom" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0" +dependencies = [ + "cfg-if", + "libc", + "wasi", +] + +[[package]] +name = "inout" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01" +dependencies = [ + "generic-array", +] + +[[package]] +name = "keyhive_crypto" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af2feeaee7929bfabd6ac79a36d86ebbeb648cc137267e6c5b1465d2f657c313" +dependencies = [ + "bincode", + "blake3", + "chacha20poly1305", + "derive_more", + "dupe", + "ed25519-dalek", + "future_form", + "futures", + "rand", + "serde", + "signature", + "thiserror", + "tracing", + "x25519-dalek", +] + +[[package]] +name = "libc" +version = "0.2.190" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78" + +[[package]] +name = "memchr" +version = "2.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" + +[[package]] +name = "nonempty" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "303e8749c804ccd6ca3b428de7fe0d86cb86bc7606bc15291f100fd487960bb8" +dependencies = [ + "serde", +] + +[[package]] +name = "once_cell" +version = "1.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" + +[[package]] +name = "opaque-debug" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" + +[[package]] +name = "pin-project-lite" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" + +[[package]] +name = "pkcs8" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" +dependencies = [ + "der", + "spki", +] + +[[package]] +name = "poly1305" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8159bd90725d2df49889a078b54f4f79e87f1f8a8444194cdca81d38f5393abf" +dependencies = [ + "cpufeatures 0.2.17", + "opaque-debug", + "universal-hash", +] + +[[package]] +name = "ppv-lite86" +version = "0.2.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" +dependencies = [ + "zerocopy", +] + +[[package]] +name = "proc-macro2" +version = "1.0.107" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "quote" +version = "1.0.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "rand" +version = "0.8.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e058c7de0b26af77780c769414d6257830bb240f3c38477dbc2c16e5f54d6d4c" +dependencies = [ + "libc", + "rand_chacha", + "rand_core", +] + +[[package]] +name = "rand_chacha" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +dependencies = [ + "ppv-lite86", + "rand_core", +] + +[[package]] +name = "rand_core" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +dependencies = [ + "getrandom", +] + +[[package]] +name = "rustc_version" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" +dependencies = [ + "semver", +] + +[[package]] +name = "semver" +version = "1.0.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd" + +[[package]] +name = "serde" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba" +dependencies = [ + "serde_core", + "serde_derive", +] + +[[package]] +name = "serde_core" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "sha2" +version = "0.10.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "digest", +] + +[[package]] +name = "shlex" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba" + +[[package]] +name = "signature" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" +dependencies = [ + "rand_core", +] + +[[package]] +name = "slab" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" + +[[package]] +name = "spki" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" +dependencies = [ + "base64ct", + "der", +] + +[[package]] +name = "subtle" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" + +[[package]] +name = "syn" +version = "2.0.119" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "3.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d62a2e0561533f2ca2561d0cf27fd9fedb640a1bf2616ff5d5c80d99017faadc" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "thiserror" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" +dependencies = [ + "thiserror-impl", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "tracing" +version = "0.1.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100" +dependencies = [ + "pin-project-lite", + "tracing-attributes", + "tracing-core", +] + +[[package]] +name = "tracing-attributes" +version = "0.1.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "tracing-core" +version = "0.1.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a" +dependencies = [ + "once_cell", +] + +[[package]] +name = "typenum" +version = "1.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" + +[[package]] +name = "unicode-ident" +version = "1.0.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d245f478577f809a851594d02313b640fb437e0bb33866753cff937863096954" + +[[package]] +name = "unicode-xid" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" + +[[package]] +name = "universal-hash" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea" +dependencies = [ + "crypto-common", + "subtle", +] + +[[package]] +name = "version_check" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" + +[[package]] +name = "wasi" +version = "0.11.1+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" + +[[package]] +name = "x25519-dalek" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7e468321c81fb07fa7f4c636c3972b9100f0346e5b6a9f2bd0603a52f7ed277" +dependencies = [ + "curve25519-dalek", + "rand_core", + "serde", + "zeroize", +] + +[[package]] +name = "zerocopy" +version = "0.8.62" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86502bf56ac7c77571a32e2647bb2a15894565e981fb2a48d7bde2d91c965a9d" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.8.62" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5457206954b06561e2608c7e19cf58b1926586d999c246eebe4502f7e2039d1a" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "zeroize" +version = "1.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e13084392c5e4bc371903e2935a5eaeed24905a7511356b883835e18a78f6879" +dependencies = [ + "zeroize_derive", +] + +[[package]] +name = "zeroize_derive" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c50655cbb0fe3fc43170059e702f1ce5e19b84cec58dc87b037a09935c2f328" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/Cargo.toml b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/Cargo.toml new file mode 100644 index 0000000000..7684f2aaeb --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/Cargo.toml @@ -0,0 +1,16 @@ +[package] +name = "beekem-spike" +version = "0.0.0" +edition = "2024" +publish = false + +# `test_utils` exposes Cgka::secret, used to derive earlier epoch keys in the secrecy checks. +[dependencies] +beekem = { version = "=0.4.0", features = ["test_utils"] } +bincode = "1.3.3" +future_form = "=0.3.1" +futures = "0.3" +keyhive_crypto = "=0.2.1" +rand = { version = "0.8.5", features = ["std", "std_rng"] } + +[workspace] diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/RESULTS.md b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/RESULTS.md new file mode 100644 index 0000000000..60494aef8a --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/RESULTS.md @@ -0,0 +1,261 @@ +# BeeKEM spike (beekem 0.4.0) + +Date: 2026-10-11. Folder: `/home/user/work/spikes-next/beekem`. Code: `src/` (about 1,000 lines). Logs: `logs/` (all under 5 KB). Build: release, rustc and cargo 1.97.0, own target dir. Machine: AMD Ryzen 7 7840U (16 threads, one thread used), 123 GB RAM. + +Crate: `beekem` 0.4.0 from crates.io (Apache-2.0), with `keyhive_crypto` 0.2.1 and `future_form` 0.3.1. No p2panda code is used, so the git pins in `/home/user/work/spikes/Cargo.toml` are not needed. `Cargo.lock` was copied from `/home/user/work/spikes/Cargo.lock`. Adding beekem downgraded `derive_more` 2.1.1 to 1.0.0 in that copy. I did not look into why. + +## Verdicts + +1. **Costs.** Steady-state update: about 2.8 KB at N=100, 3.9 KB at N=1000, and about 5.0 KB at N=5000 (extrapolated, not measured). Remove plus the update that restores a root: about 5.3 KB at N=1000. Add plus that update: about 5.6 KB at N=1000. The first update after a bulk build is O(n): 122 KB at N=1000 and 603 KB at N=5000 (partial). Per-member state is almost all op history: 64 MB at N=1000 after a full fill. There is no pruning API. +2. **Concurrency.** Two concurrent commits converge once the next commit lands, but only if the app delivers ops causally and buffers out-of-order ones. With buffering, 289 of 289 random trials that kept a member converged, with zero failures. Without buffering, 299 of 300 failed (298 with membership views that differ). Concurrent commits leave no root key until the next commit. A concurrent removal is applied lazily, so membership reads are stale until then. +3. **Join.** The crate has no welcome. The only join path is a copy of a replica: 0.74 MB right after creating N=1000, and 64 MB after history. A copy carries the sender's leaf secret and every cached epoch key, so it must be stripped first. A fresh replica cannot start from the latest update (`OutOfOrderOperation`). A path-only welcome needs a crate change; I did not build one. +4. **Secrecy.** No forward secrecy: a later copy derives earlier roots (measured in both T1 and T2). PCS against an in-group compromise holds only after the compromised member commits. A removed member cannot derive the new root. An informed one gets no root. An ignorant one cannot even merge the update, since the update names the removal. A bypass that decrypts the update's path directly was not tested. +5. **Comparison.** Table in §Q5. BeeKEM sends one broadcast op per commit. Under unicast that is 7–16 times DataScheme's bytes (using the m estimate). It only wins under fan-out, from about n = 11–17. +6. **Migration.** An in-place conversion of DataScheme state is not possible. The practical options are a new group, or a scheme switch at a barrier inside the same group. See §Q6. + +## Method (commands) + +``` +export RUSTUP_TOOLCHAIN=1.97.0 # the default shell has a rust-toolchain override in /home/user/code +export CARGO_TARGET_DIR=/home/user/work/spikes-next/beekem/target +CARGO="$(rustup which --toolchain 1.97.0 cargo)" +cd /home/user/work/spikes-next/beekem +"$CARGO" build --release # first try failed: no src/main.rs; fixed +./target/release/beekem-spike scenarios > logs/scenarios.txt +./target/release/beekem-spike fuzz 300 buffer > logs/fuzz-buffer.txt +./target/release/beekem-spike fuzz 300 drop > logs/fuzz-drop.txt +./target/release/beekem-spike secrecy > logs/secrecy.txt +./target/release/beekem-spike join > logs/join.txt +./target/release/beekem-spike costs 100 > logs/costs-100.txt +./target/release/beekem-spike costs 1000 > logs/costs-1000.txt # 1 m 42 s +./target/release/beekem-spike costs 5000 200 > logs/costs-5000-partial.txt # 1 m 53 s +``` + +The `costs` runs use a seeded RNG, so byte counts are reproducible. CPU medians vary by roughly ±20% between runs. Two earlier runs gave identical bytes. + +Wire size is the bincode encoding of `Signed`. The crate uses bincode for both signing and hashing, so this is its own format. A different production encoding would change the constants, not the shape. + +## Crate facts that drive the results (from source) + +- **Replica model.** Every member holds a `Cgka` replica: the full tree, the whole op graph, and a grow-only `owner_sks`. Each `add`, `remove`, and `update` returns one signed op. Its `predecessors` are every current head (`cgka.rs`). +- **Merge.** `merge_concurrent_operation` returns `OutOfOrderOperation` and does not store the op when a predecessor is missing. It returns `Ok(false)` for a duplicate. It does **not** verify the signature or check that the author may act on the id. +- **Add.** Blanks the path from the new leaf to the root. The add takes any `ShareKey` for any `MemberId`. Nothing checks key possession. +- **Remove.** Blanks the leaf and its whole path, including the root (`blank_path`). A removal alone leaves no root key (S0). +- **Concurrency.** A concurrent add or remove goes into the graph and is applied only at the next replay. `group_size()` and `member_ids()` read the tree, so they can be stale until then (S2). +- **Serialization.** `Cgka` derives `Serialize` over all fields, including `owner_sks` and `pcs_keys`. +- **Tree visibility.** `Cgka::tree` is `pub(crate)`. There is no API to build a partial tree or a welcome. +- **MSRV.** beekem 1.90.0, keyhive_crypto 1.90.0, future_form 1.90. This is below 1.97.0, so there is no conflict. + +## Q1. Costs + +Committer is member 0 on a canonical replica. Other members' commits are computed as those members, by swapping the owner on the shared tree state. Member 1 is a real receiver. The key is checked against the committer's key after each phase. + +### N = 100 (fill: 99 of 99) + +| Commit | Samples | Bytes per op (one copy) | Egress if unicast to n−1 | Committer CPU median (µs) | Receiver merge median (µs) | +|---|---|---|---|---|---| +| add (during build) | 100 | 264 | 26,104 | 20 | 3 | +| update, first after build | 1 | 13,664 | 1,352,736 | 5,965 | 104 | +| update, fill pass | 99 | 8,240 | 815,792 | 3,713 | 67 | +| update, last 10% of fill | 11 | 3,070 | 303,912 | 943 | 39 | +| update, steady state (20 random) | 20 | 2,794 | 276,606 | 617 | 32 | +| remove (steady state) | 1 | 464 | 45,936 | 51 | 13 | +| update, first after remove | 1 | 3,264 | 323,136 | 1,328 | 49 | +| update, second after remove | 1 | 3,328 | 329,472 | 1,325 | 48 | +| add (steady state) | 1 | 264 | 26,136 | 43 | 13 | +| update, first after add | 1 | 3,536 | 350,064 | 1,626 | 104 | + +Signature verify (receiver, median): 48 µs. Fill pass total: 815,792 B (99 ops). + +### N = 1000 (fill: 999 of 999) + +| Commit | Samples | Bytes per op (one copy) | Egress if unicast to n−1 | Committer CPU median (µs) | Receiver merge median (µs) | +|---|---|---|---|---|---| +| add (during build) | 1000 | 264 | 263,704 | 22 | 4 | +| update, first after build | 1 | 122,276 | 122,153,724 | 70,666 | 767 | +| update, fill pass | 999 | 63,157 | 63,093,532 | 29,547 | 319 | +| update, last 10% of fill | 101 | 9,437 | 9,427,909 | 3,373 | 60 | +| update, steady state (20 random) | 20 | 3,916 | 3,912,084 | 755 | 37 | +| remove (steady state) | 1 | 560 | 559,440 | 30 | 10 | +| update, first after remove | 1 | 4,692 | 4,687,308 | 1,159 | 36 | +| update, second after remove | 1 | 4,756 | 4,751,244 | 1,178 | 37 | +| add (steady state) | 1 | 264 | 263,736 | 25 | 7 | +| update, first after add | 1 | 5,324 | 5,318,676 | 1,451 | 38 | + +Signature verify (receiver, median): 40 µs. Fill pass total: 63,093,532 B (999 ops). + +### N = 5000 (partial fill: members 1..=200 of 4,999) + +Full fill was not run. Estimated time is about 40 minutes (the N=1000 run took 100 s, and history grows about as n^1.9), with several GB of memory. Rows below the first commit are transient, not steady state. + +| Commit | Samples | Bytes per op (one copy) | Egress if unicast to n−1 | Committer CPU median (µs) | Receiver merge median (µs) | +|---|---|---|---|---|---| +| add (during build) | 5000 | 264 | 1,319,704 | 30 | 5 | +| update, first after build | 1 | 602,888 | 3,013,837,112 | 403,522 | 5,272 | +| update, fill pass (200) | 200 | 591,653 | 2,957,675,747 | 390,444 | 4,842 | +| update, last 10% of fill (21) | 21 | 581,012 | 2,904,478,036 | 481,355 | 5,733 | +| update, 20 random (transient) | 20 | 149,300 | 746,352,700 | 90,496 | 1,076 | +| remove | 1 | 400 | 1,999,600 | 48 | 24 | +| update, first after remove | 1 | 66,360 | 331,733,640 | 31,755 | 345 | +| update, second after remove | 1 | 66,424 | 332,053,576 | 37,471 | 443 | +| add | 1 | 264 | 1,319,736 | 48 | 19 | +| update, first after add | 1 | 82,952 | 414,677,048 | 42,573 | 619 | + +Signature verify (receiver, median): 505 µs. The signature covers the whole payload, so verify cost scales with op size. Fill pass total: 118,330,696 B (200 ops). + +### Steady-state model + +From the N=100 and N=1000 steady rows: bytes ≈ 176 + 374 × ⌈log₂ n⌉. The 374 B is the cost per tree level, which holds two encrypted copies of the new secret plus keys. The model predicts about 5,038 B at N=5000. This is an extrapolation, not a measurement. + +### Per-member state (receiver, member 1) + +| | N=100 | N=1000 | N=5000 (partial) | +|---|---|---|---| +| State right after creation (adds + first update) | 76,784 B | 735,180 B | 3,662,920 B | +| State at end of run | 990,688 B | 64,226,380 B | 125,290,056 B | +| of which op bytes | 922,560 | 63,573,692 | 123,455,960 | +| of which owner_sks | 1,800 | 2,568 | 3,336 | +| of which residual (tree, graph index, cache) | 66,328 | 650,120 | 1,830,760 | +| Ops in graph | 225 | 2,025 | 5,226 | + +Growth at steady state is one stored op per commit, about 3.9 KB per commit at N=1000. The state never shrinks. + +### Total bytes and who sends them + +- **BeeKEM.** One signed op per commit. A fan-out relay carries one copy from the committer, and each receiver gets one copy. Unicast costs (n−1) copies from the committer. There is no per-recipient ciphertext. +- **DataScheme.** n−1 distinct direct messages from the committer, one per recipient. These cannot be fanned out. + +### Joiner payload and leak check + +| | N=100 | N=1000 | N=5000 (partial) | +|---|---|---|---| +| Replica copy (`with_new_owner`), end of run | 988,960 B | 64,223,884 B | 125,286,792 B | +| Op log alone | 922,560 B | 63,573,692 B | 123,455,960 B | +| Sender's own leaf secret present in naive serialization | true | true | true | +| Epoch keys present in naive serialization | 123 of 123 | 1,023 of 1,023 | 224 of 224 | + +A replica copy without `owner_sks` but with `pcs_keys` still carries every cached epoch key. At N=4 the joiner test shows the epoch-0 root key present in the copy. The joiner can derive it, as the next section shows. + +## Q2. Concurrency + +### Deterministic scenarios (`logs/scenarios.txt`) + +| Scenario | Outcome | +|---|---| +| S0: plain removal, no concurrency | After delivery, no replica has a root (`has_pcs_key=false` everywhere). | +| S1: a and b update at once, c and d see them in opposite orders | Before any resolving commit, no replica has a root. After c's next update, all four derive one root. | +| S2: a updates while b removes c | After delivery, a and c still list 4 members (removal pending), and b and d list 3. All four still derive a root, including c, which has not yet applied its removal. After d's update, c gets `IdentifierNotFound`. | +| S3: a and b both add the same newcomer e | Every replica lists 5 members. No root until c's update. After it, all four agree. | +| S4: a adds e while b removes c | After d's update, a, b, d agree on 4 members. c cannot derive. | +| S5: op2 delivered before op1 | d returns `OutOfOrderOperation` and its op count is unchanged. After retry, duplicate delivery returns `applied=false`. With causal delivery to all, all four agree. | + +### Randomized convergence (`logs/fuzz-*.txt`) + +300 trials per mode. Five replicas, 8 rounds, up to 3 actors per round, random partial delivery, then a flush and a settling commit. Actors may add a spare, remove another member, or update. A member's view can be stale, so the harness asks the replica whether it is still in the tree. + +| | Buffer out-of-order ops | Drop out-of-order ops | +|---|---|---| +| Converged | 289 | 1 | +| Nobody from the original five left to settle (not compared) | 11 | 0 | +| Membership views differ | 0 | 298 | +| Root missing on a member | 0 | 1 | +| Panics | 0 | 0 | +| Out-of-order events buffered / dropped | 4,225 / 0 | 0 / 7,668 | +| Other errors, IdentifierNotFound / NoMembers | 485 / 3 | 370 / 3 | +| Max predecessors named by one op | 5 | 5 | + +In 11 trials, no original member was left in the tree. I did not trace the cause. The crate allows an empty group. + +## Q3. Join + +Four-member group. The adder adds the joiner, then updates, because an add leaves no root. + +| Check | Result | +|---|---| +| Replica copy size (N=4) | 6,868 B | +| Adder's leaf secret present in the copy | false | +| Epoch-0 root key present in the copy | true | +| Joiner derives the current root from the copy | true | +| Joiner derives the epoch-0 root, though it was not a member then | true | +| Joiner merges the next update and derives the new root | true | +| Fresh replica given the latest update | `OutOfOrderOperation` | +| Fresh replica given the add | `OutOfOrderOperation` | + +Answers to the three sub-questions: +- **What the joiner receives.** A replica copy of about the whole state, which grows with history. The op log alone is about the same size. +- **Whole tree or path secrets.** The crate offers only the whole tree. A path-only welcome would need the joiner's direct-path stores plus the leaves, about 0.3–0.6 MB at N=5000 by estimate. Not built. +- **Start from a welcome without history.** No. Without history the replica cannot merge the next update. A copy works, and it also leaks old epoch keys. + +## Q4. Forward secrecy and PCS + +The attacker is a copy of a replica, taken when the member is compromised, and then fed public ops. + +| Test | Result | +|---|---| +| T1: c is compromised and stays in the group. b commits. The copy derives the new root. | true (no PCS against another member's commit) | +| T1: c commits itself. The copy derives the new root. | false (PCS restored by the compromised member's own commit) | +| T1: the copy derives the epoch-0 root, from before the compromise. | true (no FS) | +| T2: a removes c. b derives the post-removal root. | true | +| T2: informed c (has the removal) derives a root. | false | +| T2: c ignores its removal, then is given a's later update. | `OutOfOrderOperation` (the update names the removal) | +| T2: informed c derives the pre-removal root. | true (no FS against removed members) | + +## Q5. Comparison with DataScheme + +DataScheme figures marked "S3" are from the measured S3 spike. "est." marks my estimate, and "not measured" means I did not measure it. + +| | DataScheme (today) | BeeKEM (this spike) | +|---|---|---| +| Messages per update | n−1 direct 2SM | 1 signed op, for everyone | +| Messages per remove | n−2 direct 2SM | 1 remove op, plus 1 update to restore a root | +| Messages per add | 1 welcome, no secret minted (S3) | 1 add op, no root until an update | +| Sender bytes per update, fan-out | (n−1) × m, m est. 250–380 B; cannot be fanned out | 2,794 B (N=100); 3,916 B (N=1000); about 5.0 KB (N=5000, extrapolated) | +| Sender bytes per update, unicast to all | (n−1) × m: about 25–38 KB (N=100), 250–380 KB (N=1000), est. | 276,606 B (N=100); 3,912,084 B (N=1000) | +| Bytes per remove commit (op + root update) | (n−2) × m, est. | 464 + 3,264 B (N=100); 560 + 4,692 B (N=1000) | +| Bytes per add commit (op + root update) | welcome 747 B for 1 secret, +146 B per secret carried (S3) | 264 + 3,536 B (N=100); 264 + 5,324 B (N=1000) | +| Welcome | 747 B for one epoch, +146 B per epoch with full history (S3) | Replica copy: 76,784 B (N=100), 735,180 B (N=1000), 3.66 MB (N=5000), right after creation. Grows about 3.9 KB per commit at N=1000. | +| Committer CPU per update | not measured | 617 µs (N=100); 755 µs (N=1000) | +| Receiver CPU per op | not measured | 32–37 µs merge, 40–48 µs signature verify | +| Per-member state | epoch secrets, 146 B each (S3) | full op graph, 64 MB at N=1000 after a full fill | +| Concurrent commits | no resolution (research §3.1: issue #807) | merged deterministically; no root until the next commit | +| Causal delivery | required | required; out-of-order rejected and not stored | +| PCS, in-group compromise | fails (S3) | fails until the compromised member commits (T1) | +| PCS, removal | holds (S3) | holds (T2) | +| FS | not measured. Inference: full history keeps every epoch secret, so later compromise reveals earlier ones (S3) | fails (T1, T2) | +| Joiner without history | `from_join` not native; needs an update after add (S3) | no welcome API; a fresh replica rejects the latest update | +| Authenticity | per-recipient messages (not compared) | crate does not check signatures or authority; the app must | + +Read-across: under fan-out, BeeKEM sends one 3–5 KB op, which is less than (n−1) × m once n is about 11–17. Under unicast, BeeKEM sends about 7–16 times DataScheme's bytes at the same N, using the m estimate. Every receiver pays about 3.9 KB per commit at N=1000, instead of one small message. + +## Q6. Migration + +An in-place conversion of DataScheme state is not possible. DataScheme keeps DGM state and 2SM sessions. BeeKEM keeps a tree and an op graph. Converting one into the other means building a new tree from the membership list. The options: + +1. **New group and re-invite.** Simplest. Old history stays with the old group. Re-invitation needs each member's consent. Once-off cost at N=1000: 264 KB of adds plus a 122 KB first update, about 0.39 MB. +2. **Scheme switch inside the same group, at a barrier.** An admin-signed control op in the DataScheme DAG switches the group. The switch needs a single head, so every member agrees on membership and on the switch point. Then members build a BeeKEM tree: adds in sorted `MemberId` order, then one update. The crate accepts any `doc_id`, so the group id can be reused. Old epoch secrets stay with members, so old content stays readable with no re-encryption. Costs as in option 1. Requires the app to bind each add's key to a verified prekey bundle, since the crate does not check it. +3. **Dual run during a transition window.** Both schemes run and content is tagged by scheme. More code and traffic, and both control streams are live until every member acknowledges. Only needed if continuity and availability both matter. +4. **Seed the BeeKEM root from the old DataScheme secret.** Rejected. The crate has no seed API, since a root is always a path encryption by a member. It would need a crate change, and it would leave the first BeeKEM epoch derivable from the old secret. + +Recommendation: option 2 if continuity is required, otherwise option 1. Either needs a quiescence rule. The switch only matters for groups that grow past the 1,000 gate. + +## Not tested, and why + +- **Full fill at N=5000.** About 40 minutes and several GB of RAM, so I ran the partial fill. Steady state at N=5000 is an extrapolation. +- **Path-only welcome.** Needs a crate change, since `tree` is `pub(crate)`. The size is an estimate. +- **Bypass attack by a removed member.** Decrypting the update's path directly, with keys it held before removal, was not run. I only tested the API path and the causal check. +- **beekem's own test suite.** Not run. My randomized run is separate. +- **Large concurrency bursts.** Max predecessors named was 5 (with 3 actors per round and 8 rounds). A burst of k concurrent commits would name k heads. Not measured past 5. +- **DataScheme per-message bytes and CPU.** Not measured. The 250–380 B figure is a research estimate. +- **Production wire encoding.** Only bincode was measured. A different encoding would change the constants. +- **Authority and signature checks.** Not part of the crate, so not tested. In the fuzz, all members may remove any other member, and ops are not verified before merging. + +## Surprising + +1. **The first commit after a bulk build is expensive.** Adds blank their paths, so the first update encrypts whole sibling subtrees. At N=1000 it costs 122 KB, about 31 times the steady state. At N=5000 (partial) it costs 603 KB. +2. **A removal alone leaves no root.** A remove commit is therefore two ops. +3. **Per-member state is op history.** About 99% of the receiver's state at N=1000 is ops. Nothing prunes it, so it grows with every commit. +4. **A naive snapshot leaks secrets.** It carries the sender's leaf secret and every cached epoch key. A copy with `owner_sks` replaced still carries the epoch keys. +5. **Merge checks nothing but causality.** No signature check, no authority check. In 11 of 300 trials no original member was left in the tree, and the crate allowed that. +6. **Adds accept any key.** Nothing binds the `ShareKey` to the member id. +7. **Membership reads lag concurrent removals.** After a concurrent removal, `member_ids()` and `group_size()` still list the removed member until the next op. A removed member can also derive the root of a concurrent update before it learns of its removal (S2). +8. **Lock side effect.** Adding beekem downgraded `derive_more` in the copied lock. diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/logs/costs-100.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/logs/costs-100.txt new file mode 100644 index 0000000000..d7f9cdcf5b --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/logs/costs-100.txt @@ -0,0 +1,33 @@ +## N = 100 (committer: member 0; receiver: member 1); fill pass: members 1..=99 of 99 + +| Commit | Samples | Bytes per op (one copy) | Committer egress, unicast to n-1 | Committer CPU median (µs) | Receiver merge median (µs) | +|---|---|---|---|---|---| +| add (during build) | 100 | 264 | 26104 | 20 | 3 | +| update, first after build | 1 | 13664 | 1352736 | 5965 | 104 | +| update, fill pass | 99 | 8240 | 815792 | 3713 | 67 | +| update, fill pass, last 10% | 11 | 3070 | 303912 | 943 | 39 | +| update, steady state (20 random committers) | 20 | 2794 | 276606 | 617 | 32 | +| remove (steady state) | 1 | 464 | 45936 | 51 | 13 | +| update, first after remove | 1 | 3264 | 323136 | 1328 | 49 | +| update, second after remove | 1 | 3328 | 329472 | 1325 | 48 | +| add (steady state) | 1 | 264 | 26136 | 43 | 13 | +| update, first after add | 1 | 3536 | 350064 | 1626 | 104 | + +Signature verification (receiver, steady-state ops), median: 48 µs +Fill pass total bytes (99 ops): 815792 + +### Receiver state (member 1) +ops in graph: 225; members: 100 +serialized state right after creation (adds + first update): 76784 B +total serialized state at end of run: 990688 B + op bytes (all ops, wire form): 922560 B + owner_sks: 1800 B + residual (tree, graph index, cached keys): 66328 B + +### Joiner payload +replica copy (with_new_owner, serialized): 988960 B +op log alone (replayed by joiner): 922560 B + +### Leak check (committer's replica, serialized as-is: 1004704 B) +sender's own leaf secret key present: true +epoch keys present: 123 of 123 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/logs/costs-1000-time.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/logs/costs-1000-time.txt new file mode 100644 index 0000000000..1350a7f8cc --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/logs/costs-1000-time.txt @@ -0,0 +1,4 @@ + +real 1m42.303s +user 1m32.425s +sys 0m0.283s diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/logs/costs-1000.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/logs/costs-1000.txt new file mode 100644 index 0000000000..f9cdd73e13 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/logs/costs-1000.txt @@ -0,0 +1,33 @@ +## N = 1000 (committer: member 0; receiver: member 1); fill pass: members 1..=999 of 999 + +| Commit | Samples | Bytes per op (one copy) | Committer egress, unicast to n-1 | Committer CPU median (µs) | Receiver merge median (µs) | +|---|---|---|---|---|---| +| add (during build) | 1000 | 264 | 263704 | 22 | 4 | +| update, first after build | 1 | 122276 | 122153724 | 70666 | 767 | +| update, fill pass | 999 | 63157 | 63093532 | 29547 | 319 | +| update, fill pass, last 10% | 101 | 9437 | 9427909 | 3373 | 60 | +| update, steady state (20 random committers) | 20 | 3916 | 3912084 | 755 | 37 | +| remove (steady state) | 1 | 560 | 559440 | 30 | 10 | +| update, first after remove | 1 | 4692 | 4687308 | 1159 | 36 | +| update, second after remove | 1 | 4756 | 4751244 | 1178 | 37 | +| add (steady state) | 1 | 264 | 263736 | 25 | 7 | +| update, first after add | 1 | 5324 | 5318676 | 1451 | 38 | + +Signature verification (receiver, steady-state ops), median: 40 µs +Fill pass total bytes (999 ops): 63093532 + +### Receiver state (member 1) +ops in graph: 2025; members: 1000 +serialized state right after creation (adds + first update): 735180 B +total serialized state at end of run: 64226380 B + op bytes (all ops, wire form): 63573692 B + owner_sks: 2568 B + residual (tree, graph index, cached keys): 650120 B + +### Joiner payload +replica copy (with_new_owner, serialized): 64223884 B +op log alone (replayed by joiner): 63573692 B + +### Leak check (committer's replica, serialized as-is: 64354828 B) +sender's own leaf secret key present: true +epoch keys present: 1023 of 1023 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/logs/costs-5000-partial.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/logs/costs-5000-partial.txt new file mode 100644 index 0000000000..e1fee90992 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/logs/costs-5000-partial.txt @@ -0,0 +1,35 @@ +## N = 5000 (committer: member 0; receiver: member 1); fill pass: members 1..=200 of 4999 + +NOTE: partial fill. Rows after the fill pass are transient, not steady state. + +| Commit | Samples | Bytes per op (one copy) | Committer egress, unicast to n-1 | Committer CPU median (µs) | Receiver merge median (µs) | +|---|---|---|---|---|---| +| add (during build) | 5000 | 264 | 1319704 | 30 | 5 | +| update, first after build | 1 | 602888 | 3013837112 | 403522 | 5272 | +| update, fill pass | 200 | 591653 | 2957675747 | 390444 | 4842 | +| update, fill pass, last 10% | 21 | 581012 | 2904478036 | 481355 | 5733 | +| update, steady state (20 random committers) | 20 | 149300 | 746352700 | 90496 | 1076 | +| remove (steady state) | 1 | 400 | 1999600 | 48 | 24 | +| update, first after remove | 1 | 66360 | 331733640 | 31755 | 345 | +| update, second after remove | 1 | 66424 | 332053576 | 37471 | 443 | +| add (steady state) | 1 | 264 | 1319736 | 48 | 19 | +| update, first after add | 1 | 82952 | 414677048 | 42573 | 619 | + +Signature verification (receiver, steady-state ops), median: 505 µs +Fill pass total bytes (200 ops): 118330696 + +### Receiver state (member 1) +ops in graph: 5226; members: 5000 +serialized state right after creation (adds + first update): 3662920 B +total serialized state at end of run: 125290056 B + op bytes (all ops, wire form): 123455960 B + owner_sks: 3336 B + residual (tree, graph index, cached keys): 1830760 B + +### Joiner payload +replica copy (with_new_owner, serialized): 125286792 B +op log alone (replayed by joiner): 123455960 B + +### Leak check (committer's replica, serialized as-is: 125315464 B) +sender's own leaf secret key present: true +epoch keys present: 224 of 224 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/logs/costs-5000-time.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/logs/costs-5000-time.txt new file mode 100644 index 0000000000..367ff436cb --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/logs/costs-5000-time.txt @@ -0,0 +1,4 @@ + +real 1m53.339s +user 1m43.259s +sys 0m0.603s diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/logs/fuzz-buffer.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/logs/fuzz-buffer.txt new file mode 100644 index 0000000000..a6e0eb5d19 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/logs/fuzz-buffer.txt @@ -0,0 +1,11 @@ +## Randomized run: 300 trials, 8 rounds, group of 5, buffering=true +converged: 289 of 300 +nobody left to settle (not compared): 11 +out-of-order deliveries buffered: 4225 +out-of-order deliveries dropped: 0 +max predecessors named by one op: 5 +failures by reason: +merge or op errors (other than out-of-order): + 485 IdentifierNotFound + 3 NoMembers +panics: 0 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/logs/fuzz-drop.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/logs/fuzz-drop.txt new file mode 100644 index 0000000000..e655b8333c --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/logs/fuzz-drop.txt @@ -0,0 +1,13 @@ +## Randomized run: 300 trials, 8 rounds, group of 5, buffering=false +converged: 1 of 300 +nobody left to settle (not compared): 0 +out-of-order deliveries buffered: 0 +out-of-order deliveries dropped: 7668 +max predecessors named by one op: 5 +failures by reason: + 1 member cannot derive root: NoRootKey + 298 membership views differ +merge or op errors (other than out-of-order): + 370 IdentifierNotFound + 3 NoMembers +panics: 0 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/logs/join.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/logs/join.txt new file mode 100644 index 0000000000..fc38e26da9 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/logs/join.txt @@ -0,0 +1,10 @@ +## Welcome as a replica copy + serialized size: 6868 B + adder's leaf secret key present: false + epoch-0 root key present: true + joiner derives the current root: true + joiner derives the epoch-0 root (it was not a member then): true + joiner merges the next update (true) and derives the new root: true +## Fresh replica, no history + merging the latest update: Some(OutOfOrderOperation) + merging the add: Some(OutOfOrderOperation) diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/logs/scenarios.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/logs/scenarios.txt new file mode 100644 index 0000000000..9b99907c8c --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/logs/scenarios.txt @@ -0,0 +1,108 @@ +## S0: a plain removal with no concurrent op + b <- op: applied=true + c <- op: applied=true + d <- op: applied=true + a: members=3, no root (NoRootKey), has_pcs_key=false + b: members=3, no root (NoRootKey), has_pcs_key=false + c: members=3, no root (IdentifierNotFound), has_pcs_key=false + d: members=3, no root (NoRootKey), has_pcs_key=false + all replicas derive one key: false (derived by 0 of 4) + +## S1: a and b commit at once; c and d see the two updates in opposite orders + c <- op: applied=true + c <- op: applied=true + d <- op: applied=true + d <- op: applied=true + a <- op: applied=true + b <- op: applied=true + a: members=4, no root (NoRootKey), has_pcs_key=false + b: members=4, no root (NoRootKey), has_pcs_key=false + c: members=4, no root (NoRootKey), has_pcs_key=false + d: members=4, no root (NoRootKey), has_pcs_key=false + all replicas derive one key: false (derived by 0 of 4) + c resolves with one update: + a <- op: applied=true + b <- op: applied=true + d <- op: applied=true + a: members=4, root 363ea6f1, has_pcs_key=true + b: members=4, root 363ea6f1, has_pcs_key=true + c: members=4, root 363ea6f1, has_pcs_key=true + d: members=4, root 363ea6f1, has_pcs_key=true + all replicas derive one key: true (derived by 4 of 4) + +## S2: a updates while b removes c + d <- op: applied=true + d <- op: applied=true + c <- op: applied=true + c <- op: applied=true + a <- op: applied=true + b <- op: applied=true + a: members=4, root 918d9b9c, has_pcs_key=false + b: members=3, root 918d9b9c, has_pcs_key=false + c: members=4, root 918d9b9c, has_pcs_key=false + d: members=3, root 918d9b9c, has_pcs_key=false + all replicas derive one key: true (derived by 4 of 4) + a <- op: applied=true + b <- op: applied=true + c <- op: applied=true + after d's update: + a: members=3, root 3f46455b, has_pcs_key=true + b: members=3, root 3f46455b, has_pcs_key=true + c: members=3, no root (IdentifierNotFound), has_pcs_key=true + d: members=3, root 3f46455b, has_pcs_key=true + all replicas derive one key: false (derived by 3 of 4) + +## S3: a and b both add the same newcomer e + c <- op: applied=true + c <- op: applied=true + d <- op: applied=true + d <- op: applied=true + a <- op: applied=true + b <- op: applied=true + a: members=5, no root (NoRootKey), has_pcs_key=false + b: members=5, no root (NoRootKey), has_pcs_key=false + c: members=5, no root (NoRootKey), has_pcs_key=false + d: members=5, no root (NoRootKey), has_pcs_key=false + all replicas derive one key: false (derived by 0 of 4) + a <- op: applied=true + b <- op: applied=true + d <- op: applied=true + after c's update: + a: members=5, root 913e4969, has_pcs_key=true + b: members=5, root 913e4969, has_pcs_key=true + c: members=5, root 913e4969, has_pcs_key=true + d: members=5, root 913e4969, has_pcs_key=true + all replicas derive one key: true (derived by 4 of 4) + +## S4: a adds e while b removes c + c <- op: applied=true + c <- op: applied=true + d <- op: applied=true + d <- op: applied=true + a <- op: applied=true + b <- op: applied=true + a <- op: applied=true + b <- op: applied=true + c <- op: applied=true + after d's update: + a: members=4, root e41040d6, has_pcs_key=true + b: members=4, root e41040d6, has_pcs_key=true + c: members=4, no root (IdentifierNotFound), has_pcs_key=true + d: members=4, root e41040d6, has_pcs_key=true + all replicas derive one key: false (derived by 3 of 4) + +## S5: an op delivered before its predecessor; a duplicate delivery + b <- op: applied=true + d (op2 first) <- op: error OutOfOrderOperation + d's op count unchanged after the rejected op: true + d (op1) <- op: applied=true + d (op2, retry) <- op: applied=true + d (op2, duplicate) <- op: applied=false + a (op2) <- op: applied=true + c (op1) <- op: applied=true + c (op2) <- op: applied=true + a: members=4, root 7ed894cd, has_pcs_key=true + b: members=4, root 7ed894cd, has_pcs_key=true + c: members=4, root 7ed894cd, has_pcs_key=true + d: members=4, root 7ed894cd, has_pcs_key=true + all replicas derive one key: true (derived by 4 of 4) diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/logs/secrecy.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/logs/secrecy.txt new file mode 100644 index 0000000000..465bf2e590 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/logs/secrecy.txt @@ -0,0 +1,10 @@ +## T1: c's replica is copied (compromise); c stays in the group + after b's update, the copy derives the new root: true + after c's own update, the copy derives the new root: false + the copy derives the epoch-0 root (earlier than the compromise): true + +## T2: a removes c; c's copy is then fed public ops + b (a member) derives the post-removal root: true + c, informed of its removal, derives a root: false + c that ignores its removal, given a's later update: Some(OutOfOrderOperation) + c's copy derives the pre-removal (epoch-0) root: true diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/src/common.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/src/common.rs new file mode 100644 index 0000000000..0e7a187731 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/src/common.rs @@ -0,0 +1,66 @@ +//! Shared helpers: a simulated member, wire size, timing, and a blocking runner for the async API. + +use beekem::{id::MemberId, keys::ShareKeyMap, operation::CgkaOperation}; +use keyhive_crypto::{ + share_key::{ShareKey, ShareSecretKey}, + signed::Signed, + signer::memory::MemorySigner, + verifiable::Verifiable, +}; +use rand::rngs::StdRng; +use std::{future::Future, time::Duration}; + +/// A simulated member: a signing key, and the share key pair at its leaf. +pub struct Member { + pub id: MemberId, + pub signer: MemorySigner, + pub pk: ShareKey, + pub sk: ShareSecretKey, +} + +impl Member { + pub fn new(rng: &mut StdRng) -> Self { + let signer = MemorySigner::generate(rng); + let id = MemberId(signer.verifying_key()); + let sk = ShareSecretKey::generate(rng); + let pk = sk.share_key(); + Self { id, signer, pk, sk } + } + + /// The owner map a replica starts with: this member's leaf key pair. + pub fn keys(&self) -> ShareKeyMap { + let mut keys = ShareKeyMap::new(); + keys.insert(self.pk, self.sk); + keys + } +} + +/// Wire size of a signed op: bincode, the encoding the crate itself hashes and signs. +pub fn wire_len(op: &Signed) -> usize { + bincode::serialized_size(op).expect("ops serialize") as usize +} + +pub fn block(future: impl Future) -> T { + futures::executor::block_on(future) +} + +pub fn micros(d: Duration) -> f64 { + d.as_secs_f64() * 1e6 +} + +pub fn median(values: &mut [f64]) -> f64 { + if values.is_empty() { + return 0.0; + } + values.sort_by(|a, b| a.total_cmp(b)); + values[values.len() / 2] +} + +pub fn mean(values: &[usize]) -> f64 { + values.iter().sum::() as f64 / values.len().max(1) as f64 +} + +/// Whether `needle` occurs in `haystack`. Used to check what a serialized replica leaks. +pub fn contains(haystack: &[u8], needle: &[u8]) -> bool { + haystack.windows(needle.len()).any(|w| w == needle) +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/src/concurrency.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/src/concurrency.rs new file mode 100644 index 0000000000..ec7fefab22 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/src/concurrency.rs @@ -0,0 +1,424 @@ +//! Q2: concurrent commits. Deterministic scenarios first, then a randomized run that checks +//! whether replicas converge with causal buffering and without it. + +use crate::{ + common::Member, + party::{build, Op, Party}, +}; +use beekem::{error::CgkaError, id::MemberId, pcs_key::PcsKey}; +use keyhive_crypto::{share_key::ShareKey, signer::memory::MemorySigner, verifiable::Verifiable}; +use rand::{rngs::StdRng, seq::SliceRandom, Rng, SeedableRng}; +use std::{ + collections::BTreeMap, + panic::{self, AssertUnwindSafe}, + sync::Mutex, +}; +use beekem::id::TreeId; + +fn hex8(k: &PcsKey) -> String { + k.0.as_slice()[..4].iter().map(|b| format!("{b:02x}")).collect() +} + +/// Deliver `op` to `p` and print what happened. +fn give(p: &mut Party, who: &str, op: &Op) { + match p.merge(op) { + Ok(applied) => println!(" {who} <- op: applied={applied}"), + Err(e) => println!(" {who} <- op: error {e:?}"), + } +} + +/// One line per replica: members it places, and the root key it derives (or why not). +fn status(names: &[&str], ps: &mut [Party]) { + let mut keys = Vec::new(); + for (name, p) in names.iter().zip(ps.iter_mut()) { + let size = p.c.group_size(); + let root = match p.root() { + Ok(k) => { + keys.push(hex8(&k)); + format!("root {}", hex8(&k)) + } + Err(e) => format!("no root ({e:?})"), + }; + println!(" {name}: members={size}, {root}, has_pcs_key={}", p.c.has_pcs_key()); + } + let all_derive = keys.len() == ps.len(); + let agree = all_derive && keys.windows(2).all(|w| w[0] == w[1]); + println!(" all replicas derive one key: {agree} (derived by {} of {})", keys.len(), ps.len()); +} + +fn s0_plain_remove(rng: &mut StdRng) { + println!("## S0: a plain removal with no concurrent op"); + let (mut ps, _, _, _) = build(4, rng); + let victim = ps[2].id(); + let rm = ps[0].remove(victim).expect("remove").expect("c present"); + give(&mut ps[1], "b", &rm); + give(&mut ps[2], "c", &rm); + give(&mut ps[3], "d", &rm); + status(&["a", "b", "c", "d"], &mut ps); +} + +fn s1_concurrent_updates(rng: &mut StdRng) { + println!("## S1: a and b commit at once; c and d see the two updates in opposite orders"); + let (mut ps, _, _, _) = build(4, rng); + let op_a = ps[0].update(rng).expect("a updates"); + let op_b = ps[1].update(rng).expect("b updates"); + give(&mut ps[2], "c", &op_a); + give(&mut ps[2], "c", &op_b); + give(&mut ps[3], "d", &op_b); + give(&mut ps[3], "d", &op_a); + give(&mut ps[0], "a", &op_b); + give(&mut ps[1], "b", &op_a); + status(&["a", "b", "c", "d"], &mut ps); + println!(" c resolves with one update:"); + let op_c = ps[2].update(rng).expect("c updates"); + for i in [0, 1, 3] { + give(&mut ps[i], ["a", "b", "", "d"][i], &op_c); + } + status(&["a", "b", "c", "d"], &mut ps); +} + +fn s2_update_and_remove(rng: &mut StdRng) { + println!("## S2: a updates while b removes c"); + let (mut ps, _, _, _) = build(4, rng); + let victim = ps[2].id(); + let op_a = ps[0].update(rng).expect("a updates"); + let op_r = ps[1].remove(victim).expect("remove").expect("c present"); + give(&mut ps[3], "d", &op_r); + give(&mut ps[3], "d", &op_a); + give(&mut ps[2], "c", &op_a); + give(&mut ps[2], "c", &op_r); + give(&mut ps[0], "a", &op_r); + give(&mut ps[1], "b", &op_a); + status(&["a", "b", "c", "d"], &mut ps); + let op_d = ps[3].update(rng).expect("d updates"); + for i in [0, 1, 2] { + give(&mut ps[i], ["a", "b", "c", ""][i], &op_d); + } + println!(" after d's update:"); + status(&["a", "b", "c", "d"], &mut ps); +} + +fn s3_concurrent_add_same_member(rng: &mut StdRng) { + println!("## S3: a and b both add the same newcomer e"); + let (mut ps, _, _, _) = build(4, rng); + let e = Member::new(rng); + let op_a = ps[0].add(e.id, e.pk).expect("a adds").expect("e is new"); + let op_b = ps[1].add(e.id, e.pk).expect("b adds").expect("e is new"); + give(&mut ps[2], "c", &op_a); + give(&mut ps[2], "c", &op_b); + give(&mut ps[3], "d", &op_b); + give(&mut ps[3], "d", &op_a); + give(&mut ps[0], "a", &op_b); + give(&mut ps[1], "b", &op_a); + status(&["a", "b", "c", "d"], &mut ps); + let op_c = ps[2].update(rng).expect("c updates"); + for i in [0, 1, 3] { + give(&mut ps[i], ["a", "b", "", "d"][i], &op_c); + } + println!(" after c's update:"); + status(&["a", "b", "c", "d"], &mut ps); +} + +fn s4_concurrent_add_and_remove(rng: &mut StdRng) { + println!("## S4: a adds e while b removes c"); + let (mut ps, _, _, _) = build(4, rng); + let victim = ps[2].id(); + let e = Member::new(rng); + let op_a = ps[0].add(e.id, e.pk).expect("a adds").expect("e is new"); + let op_b = ps[1].remove(victim).expect("remove").expect("c present"); + give(&mut ps[2], "c", &op_a); + give(&mut ps[2], "c", &op_b); + give(&mut ps[3], "d", &op_b); + give(&mut ps[3], "d", &op_a); + give(&mut ps[0], "a", &op_b); + give(&mut ps[1], "b", &op_a); + let op_d = ps[3].update(rng).expect("d updates"); + for i in [0, 1, 2] { + give(&mut ps[i], ["a", "b", "c"][i], &op_d); + } + println!(" after d's update:"); + status(&["a", "b", "c", "d"], &mut ps); +} + +fn s5_out_of_order(rng: &mut StdRng) { + println!("## S5: an op delivered before its predecessor; a duplicate delivery"); + let (mut ps, _, _, _) = build(4, rng); + let op1 = ps[0].update(rng).expect("a updates"); + give(&mut ps[1], "b", &op1); + // b's next update names op1 as a predecessor. + let op2 = ps[1].update(rng).expect("b updates"); + let before = ps[3].c.ops_count(); + give(&mut ps[3], "d (op2 first)", &op2); + println!(" d's op count unchanged after the rejected op: {}", ps[3].c.ops_count() == before); + give(&mut ps[3], "d (op1)", &op1); + give(&mut ps[3], "d (op2, retry)", &op2); + give(&mut ps[3], "d (op2, duplicate)", &op2); + // a and c were never sent the two ops; deliver them in causal order. + give(&mut ps[0], "a (op2)", &op2); + give(&mut ps[2], "c (op1)", &op1); + give(&mut ps[2], "c (op2)", &op2); + status(&["a", "b", "c", "d"], &mut ps); +} + +pub fn scenarios() { + s0_plain_remove(&mut StdRng::seed_from_u64(0xc0c0_0000)); + println!(); + let mut rng = StdRng::seed_from_u64(0xc0c0_0001); + s1_concurrent_updates(&mut rng); + println!(); + s2_update_and_remove(&mut rng); + println!(); + s3_concurrent_add_same_member(&mut rng); + println!(); + s4_concurrent_add_and_remove(&mut rng); + println!(); + s5_out_of_order(&mut rng); +} + +// ---- randomized convergence ---- + +const ROUNDS: usize = 8; +const GROUP: usize = 5; + +#[derive(Default)] +struct Stats { + converged: usize, + emptied: usize, + buffered_events: usize, + dropped: usize, + max_predecessors: usize, + failures: BTreeMap, + errors: BTreeMap, +} + +static PANICS: Mutex> = Mutex::new(Vec::new()); + +/// Merge `op` into `ps[r]` and retry its buffer. Returns the number of ops dropped. +fn deliver_to(p: &mut Party, op: &Op, buffer: bool, stats: &mut Stats) { + match p.merge(op) { + Ok(_) => {} + Err(CgkaError::OutOfOrderOperation) if buffer => { + p.buffer.push(op.clone()); + stats.buffered_events += 1; + return; + } + Err(CgkaError::OutOfOrderOperation) => { + stats.dropped += 1; + return; + } + Err(e) => { + *stats.errors.entry(format!("{e:?}").chars().take(40).collect()).or_default() += 1; + return; + } + } + // Something new may now be ready: retry until nothing more applies. + loop { + let mut progress = false; + for pending in std::mem::take(&mut p.buffer) { + match p.merge(&pending) { + Err(CgkaError::OutOfOrderOperation) => p.buffer.push(pending), + Ok(_) => progress = true, + Err(e) => { + *stats.errors.entry(format!("{e:?}").chars().take(40).collect()).or_default() += 1; + progress = true; + } + } + } + if !progress { + break; + } + } +} + +/// Deliver each (op, recipient) still missing with probability `p`, in random order. +/// `flight` holds ops with the recipients still missing them. +fn deliver_some( + ps: &mut [Party], + flight: &mut Vec<(Op, Vec)>, + p: f64, + buffer: bool, + rng: &mut StdRng, + stats: &mut Stats, +) { + let mut pairs: Vec<(usize, usize)> = flight + .iter() + .enumerate() + .flat_map(|(fi, (_, missing))| missing.iter().map(move |&r| (fi, r))) + .collect(); + pairs.shuffle(rng); + for (fi, r) in pairs { + if rng.gen_range(0.0..1.0) >= p { + continue; + } + let op = flight[fi].0.clone(); + deliver_to(&mut ps[r], &op, buffer, stats); + flight[fi].1.retain(|&x| x != r); + } + flight.retain(|(_, missing)| !missing.is_empty()); +} + +fn sorted_ids(p: &Party) -> Vec { + let mut ids: Vec = p.c.member_ids().collect(); + ids.sort(); + ids +} + +/// One randomized run. Ok(true): the replicas converged. Ok(false): nobody was left to settle, so +/// there was nothing to compare. Err: the reason they did not converge. +fn trial(seed: u64, buffer: bool, stats: &mut Stats) -> Result { + let mut rng = StdRng::seed_from_u64(seed); + let doc_id = TreeId(MemorySigner::generate(&mut rng).verifying_key()); + let mut ps: Vec = (0..GROUP).map(|_| Party::new(doc_id, Member::new(&mut rng))).collect(); + // Setup, in order, as in `build`. + for i in 0..GROUP { + let (id, pk) = (ps[i].id(), ps[i].m.pk); + let op = ps[0].add(id, pk).expect("add").expect("new member"); + for p in ps.iter_mut().skip(1) { + p.merge(&op).expect("in-order add"); + } + } + let settle = ps[0].update(&mut rng).expect("settle"); + for p in ps.iter_mut().skip(1) { + p.merge(&settle).expect("in-order update"); + } + // Spare members wait to be added. They get no replica; only the five replicas are checked. + let mut spares: Vec<(MemberId, ShareKey)> = (0..3) + .map(|_| { + let m = Member::new(&mut rng); + (m.id, m.pk) + }) + .collect(); + + let mut flight: Vec<(Op, Vec)> = Vec::new(); + for _ in 0..ROUNDS { + let mut actors: Vec = (0..GROUP).collect(); + actors.shuffle(&mut rng); + actors.truncate(rng.gen_range(1..=3)); + for a in actors { + let roll = rng.gen_range(0..10); + let made = if roll < 6 { + ps[a].update(&mut rng).map(Some) + } else if roll < 8 { + let own = ps[a].id(); + let mut view: Vec = sorted_ids(&ps[a]).into_iter().filter(|id| *id != own).collect(); + if view.is_empty() { + Ok(None) + } else { + let target = view.swap_remove(rng.gen_range(0..view.len())); + ps[a].remove(target) + } + } else { + match spares.pop() { + Some((id, pk)) => ps[a].add(id, pk), + None => Ok(None), + } + }; + match made { + Ok(Some(op)) => { + stats.max_predecessors = stats.max_predecessors.max(op.payload.predecessors().len()); + let others = (0..GROUP).filter(|&i| i != a).collect(); + flight.push((op, others)); + } + Ok(None) => {} + Err(e) => *stats.errors.entry(format!("{e:?}").chars().take(40).collect()).or_default() += 1, + } + } + deliver_some(&mut ps, &mut flight, 0.5, buffer, &mut rng, stats); + } + // Flush: everything still in flight, then anything buffered. + deliver_some(&mut ps, &mut flight, 1.0, buffer, &mut rng, stats); + if !flight.is_empty() { + return Err("ops still in flight after flush".into()); + } + // Settle: the first member, in random order, that still has a leaf after replaying its pending + // ops commits, and everyone receives it. A member's view of who is present can be stale until a + // replay, so the harness asks the replica itself rather than reading member_ids(). + let mut order: Vec = (0..GROUP).collect(); + order.shuffle(&mut rng); + let mut settled = None; + for s in order { + match ps[s].update(&mut rng) { + Ok(op) => { + settled = Some((s, op)); + break; + } + Err(CgkaError::IdentifierNotFound) | Err(CgkaError::NoMembers) => {} + Err(e) => return Err(format!("settle: {e:?}")), + } + } + let Some((s, last)) = settled else { + return Ok(false); + }; + let mut settle_flight = vec![(last, (0..GROUP).filter(|&i| i != s).collect())]; + deliver_some(&mut ps, &mut settle_flight, 1.0, buffer, &mut rng, stats); + + if ps.iter().any(|p| !p.buffer.is_empty()) { + return Err("ops left buffered after settle".into()); + } + let members = sorted_ids(&ps[s]); + for p in ps.iter() { + if sorted_ids(p) != members { + return Err("membership views differ".into()); + } + } + let mut key: Option = None; + for p in ps.iter_mut() { + let is_member = members.contains(&p.id()); + match (is_member, p.root()) { + (true, Ok(k)) => match key { + None => key = Some(k), + Some(first) if first == k => {} + Some(_) => return Err("member keys differ".into()), + }, + (true, Err(e)) => return Err(format!("member cannot derive root: {e:?}")), + (false, Ok(_)) => return Err("removed member derives root".into()), + (false, Err(_)) => {} + } + } + Ok(true) +} + +pub fn fuzz(trials: usize, buffer: bool) { + let mut stats = Stats::default(); + panic::set_hook(Box::new(|info| { + PANICS.lock().expect("panic log").push(info.to_string()); + })); + for t in 0..trials { + let seed = 0xf0ee_0000 + t as u64; + let outcome = panic::catch_unwind(AssertUnwindSafe(|| trial(seed, buffer, &mut stats))); + match outcome { + Ok(Ok(true)) => stats.converged += 1, + Ok(Ok(false)) => stats.emptied += 1, + Ok(Err(reason)) => *stats.failures.entry(reason).or_default() += 1, + Err(_) => *stats.failures.entry("panic (see below)".into()).or_default() += 1, + } + } + let _ = panic::take_hook(); + + println!("## Randomized run: {trials} trials, {ROUNDS} rounds, group of {GROUP}, buffering={buffer}"); + println!("converged: {} of {trials}", stats.converged); + println!("nobody left to settle (not compared): {}", stats.emptied); + println!("out-of-order deliveries buffered: {}", stats.buffered_events); + println!("out-of-order deliveries dropped: {}", stats.dropped); + println!("max predecessors named by one op: {}", stats.max_predecessors); + println!("failures by reason:"); + for (reason, count) in &stats.failures { + println!(" {count:>4} {reason}"); + } + println!("merge or op errors (other than out-of-order):"); + for (err, count) in &stats.errors { + println!(" {count:>4} {err}"); + } + let panics = PANICS.lock().expect("panic log"); + println!("panics: {}", panics.len()); + let mut seen: Vec = Vec::new(); + for msg in panics.iter() { + let first = msg.lines().take(2).collect::>().join(" | "); + if !seen.contains(&first) && seen.len() < 5 { + seen.push(first); + } + } + for msg in seen { + println!(" {msg}"); + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/src/costs.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/src/costs.rs new file mode 100644 index 0000000000..4cfd11a04f --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/src/costs.rs @@ -0,0 +1,260 @@ +//! Q1: bytes and CPU per commit at one group size, plus per-member state and what a joiner gets. +//! +//! The committer is member 0 on one canonical replica. Other members' commits are computed on that +//! replica with the owner swapped to them, which gives the same op a replica of theirs would make +//! (same tree, their leaf key). Member 1 is a real receiver: it merges every op and derives the key. + +use crate::common::{block, contains, mean, median, micros, wire_len, Member}; +use beekem::{cgka::Cgka, id::TreeId, keys::ShareKeyMap, pcs_key::PcsKey}; +use future_form::Local; +use keyhive_crypto::{ + share_key::{ShareKey, ShareSecretKey}, + signed::Signed, + signer::memory::MemorySigner, + verifiable::Verifiable, +}; +use beekem::operation::CgkaOperation; +use rand::{rngs::StdRng, Rng, SeedableRng}; +use std::{sync::Arc, time::Instant}; + +type Op = Arc>; +type Leaf = (ShareKey, ShareSecretKey); + +/// Measurements for one kind of commit. +#[derive(Default)] +struct Acc { + label: &'static str, + bytes: Vec, + committer_us: Vec, + receiver_us: Vec, +} + +impl Acc { + fn new(label: &'static str) -> Self { + Self { label, ..Default::default() } + } + + fn add(&mut self, bytes: usize, committer_us: f64, receiver_us: f64) { + self.bytes.push(bytes); + self.committer_us.push(committer_us); + self.receiver_us.push(receiver_us); + } + + fn row(&mut self, n: usize) -> String { + format!( + "| {} | {} | {:.0} | {:.0} | {:.0} | {:.0} |", + self.label, + self.bytes.len(), + mean(&self.bytes), + mean(&self.bytes) * (n - 1) as f64, + median(&mut self.committer_us), + median(&mut self.receiver_us), + ) + } +} + +/// Commit as `who` on the canonical replica. Returns the op, the root key it produced, and the +/// committer's CPU time. +fn commit_as(state: &mut Cgka, who: &Member, leaf: &mut Leaf, rng: &mut StdRng) -> (Op, PcsKey, f64) { + let saved_id = std::mem::replace(&mut state.owner_id, who.id); + let saved_sks = std::mem::replace(&mut state.owner_sks, ShareKeyMap::new()); + state.owner_sks.insert(leaf.0, leaf.1); + let sk = ShareSecretKey::generate(rng); + let pk = sk.share_key(); + let t = Instant::now(); + let (pcs, op, _) = block(state.update::(pk, sk, &who.signer, rng)).expect("update"); + let cpu = micros(t.elapsed()); + state.owner_id = saved_id; + state.owner_sks = saved_sks; + *leaf = (pk, sk); + (Arc::new(op), pcs, cpu) +} + +/// Merge on a receiver and return its CPU time. +fn receive(replica: &mut Cgka, op: &Op) -> f64 { + let t = Instant::now(); + replica.merge_concurrent_operation(op.clone()).expect("receiver merges an in-order op"); + micros(t.elapsed()) +} + +/// Check that the receiver derives the key the committer produced. +fn check_key(receiver: &mut Cgka, expected: &PcsKey, when: &str) { + let got = receiver + .pcs_key_from_tree_root() + .unwrap_or_else(|e| panic!("{when}: receiver cannot derive the root key: {e:?}")); + assert!(got == *expected, "{when}: receiver derived a different root key"); +} + +/// `fill` members (1..=fill) commit once in the fill pass. Use fewer than n-1 when the full fill is +/// too slow: the op history grows about with n^1.9, and the rows are then transient, not steady state. +pub fn run(n: usize, fill: usize) { + let mut rng = StdRng::seed_from_u64(0xbee0 ^ n as u64); + let doc_id = TreeId(MemorySigner::generate(&mut rng).verifying_key()); + let members: Vec = (0..n).map(|_| Member::new(&mut rng)).collect(); + let mut leaves: Vec = members.iter().map(|m| (m.pk, m.sk)).collect(); + let mut author = Cgka::new(doc_id, members[0].id, members[0].keys()); + let mut observer = Cgka::new(doc_id, members[1].id, members[1].keys()); + let mut epoch_keys: Vec = Vec::new(); + let mut rows: Vec = Vec::new(); + + // 1. Build: one add per member, each merged by the receiver. + let mut build = Acc::new("add (during build)"); + for m in &members { + let t = Instant::now(); + let op = block(author.add::(m.id, m.pk, &members[0].signer)) + .expect("add") + .expect("new member"); + let committer_us = micros(t.elapsed()); + let op = Arc::new(op); + build.add(wire_len(&op), committer_us, receive(&mut observer, &op)); + } + rows.push(build.row(n)); + + // 2. First commit after the build. Every add blanked its path, so the first path encryption + // covers whole sibling subtrees. + let mut first = Acc::new("update, first after build"); + let (op, key, c) = commit_as(&mut author, &members[0], &mut leaves[0], &mut rng); + first.add(wire_len(&op), c, receive(&mut observer, &op)); + check_key(&mut observer, &key, "first commit"); + epoch_keys.push(key); + rows.push(first.row(n)); + let after_create = bincode::serialized_size(&observer).expect("state serializes"); + + // 3. Fill pass: members 1..=fill commit once. A full fill makes every inner node hold a secret. + let mut fill_acc = Acc::new("update, fill pass"); + let mut fill_tail = Acc::new("update, fill pass, last 10%"); + for k in 1..=fill { + let (op, key, c) = commit_as(&mut author, &members[k], &mut leaves[k], &mut rng); + let r = receive(&mut observer, &op); + if k == 1 { + observer.owner_sks.insert(leaves[1].0, leaves[1].1); + } + let bytes = wire_len(&op); + fill_acc.add(bytes, c, r); + if k >= fill * 9 / 10 { + fill_tail.add(bytes, c, r); + } + epoch_keys.push(key); + } + let fill_total: usize = fill_acc.bytes.iter().sum(); + rows.push(fill_acc.row(n)); + rows.push(fill_tail.row(n)); + check_key(&mut observer, epoch_keys.last().expect("a commit"), "end of fill"); + + // 4. Steady state: random committers on the filled tree. Also time signature verification, + // which receivers must do because the crate does not. + let mut steady = Acc::new("update, steady state (20 random committers)"); + let mut verify = Vec::new(); + for _ in 0..20 { + let k = rng.gen_range(0..n); + let (op, key, c) = commit_as(&mut author, &members[k], &mut leaves[k], &mut rng); + let r = receive(&mut observer, &op); + if k == 1 { + observer.owner_sks.insert(leaves[1].0, leaves[1].1); + } + steady.add(wire_len(&op), c, r); + let t = Instant::now(); + op.try_verify().expect("signature verifies"); + verify.push(micros(t.elapsed())); + epoch_keys.push(key); + } + rows.push(steady.row(n)); + let verify_us = median(&mut verify); + + // 5. Remove a member at the middle leaf, then the commits that restore a root key. + let victim = n / 2; + let mut remove = Acc::new("remove (steady state)"); + let t = Instant::now(); + let rm = block(author.remove::(members[victim].id, &members[0].signer)) + .expect("remove") + .expect("member present"); + let c = micros(t.elapsed()); + let rm = Arc::new(rm); + remove.add(wire_len(&rm), c, receive(&mut observer, &rm)); + rows.push(remove.row(n)); + + let mut after_rm = Acc::new("update, first after remove"); + let (op, key, c) = commit_as(&mut author, &members[2], &mut leaves[2], &mut rng); + after_rm.add(wire_len(&op), c, receive(&mut observer, &op)); + check_key(&mut observer, &key, "first commit after remove"); + epoch_keys.push(key); + rows.push(after_rm.row(n)); + + let mut after_rm2 = Acc::new("update, second after remove"); + let (op, key, c) = commit_as(&mut author, &members[3], &mut leaves[3], &mut rng); + after_rm2.add(wire_len(&op), c, receive(&mut observer, &op)); + epoch_keys.push(key); + rows.push(after_rm2.row(n)); + + // 6. Add after the removal, then the update that restores a root key. + let newcomer = Member::new(&mut rng); + let mut add = Acc::new("add (steady state)"); + let t = Instant::now(); + let op = block(author.add::(newcomer.id, newcomer.pk, &members[0].signer)) + .expect("add") + .expect("new member"); + let c = micros(t.elapsed()); + let op = Arc::new(op); + add.add(wire_len(&op), c, receive(&mut observer, &op)); + rows.push(add.row(n)); + + let mut after_add = Acc::new("update, first after add"); + let (op, key, c) = commit_as(&mut author, &members[4], &mut leaves[4], &mut rng); + after_add.add(wire_len(&op), c, receive(&mut observer, &op)); + check_key(&mut observer, &key, "first commit after add"); + epoch_keys.push(key); + rows.push(after_add.row(n)); + + // Print the table: bytes per op, the sender's egress if it unicasts to all n-1 members, and CPU. + println!("## N = {n} (committer: member 0; receiver: member 1); fill pass: members 1..={fill} of {}\n", n - 1); + if fill < n - 1 { + println!("NOTE: partial fill. Rows after the fill pass are transient, not steady state.\n"); + } + println!("| Commit | Samples | Bytes per op (one copy) | Committer egress, unicast to n-1 | Committer CPU median (µs) | Receiver merge median (µs) |"); + println!("|---|---|---|---|---|---|"); + for r in &rows { + println!("{r}"); + } + println!("\nSignature verification (receiver, steady-state ops), median: {verify_us:.0} µs"); + println!("Fill pass total bytes ({fill} ops): {fill_total}"); + + // 7. Per-member state of the receiver. The op graph holds every op; owner_sks holds this member's + // keys. The rest of the bytes (tree, graph index, cached keys) are reported as a residual. + let state = bincode::serialized_size(&observer).expect("state serializes"); + let ops_bytes: usize = observer + .ops() + .expect("ops sort") + .iter() + .flat_map(|epoch| epoch.iter()) + .map(|op| wire_len(op)) + .sum(); + let owner_bytes = bincode::serialized_size(&observer.owner_sks).expect("keys serialize"); + println!("\n### Receiver state (member 1)"); + println!("ops in graph: {}; members: {}", observer.ops_count(), observer.group_size()); + println!("serialized state right after creation (adds + first update): {after_create} B"); + println!("total serialized state at end of run: {state} B"); + println!(" op bytes (all ops, wire form): {ops_bytes} B"); + println!(" owner_sks: {owner_bytes} B"); + println!(" residual (tree, graph index, cached keys): {} B", state - ops_bytes as u64 - owner_bytes); + + // 8. What a joiner gets today: a replica of the state, owned by the joiner (keys stripped). + let joiner = Member::new(&mut rng); + let welcome = observer + .with_new_owner(joiner.id, joiner.keys()) + .expect("replica copy"); + let welcome_bytes = bincode::serialized_size(&welcome).expect("serializes"); + println!("\n### Joiner payload"); + println!("replica copy (with_new_owner, serialized): {welcome_bytes} B"); + println!("op log alone (replayed by joiner): {ops_bytes} B"); + + // 9. Leak check: a replica copy that is sent as-is carries the sender's secrets and every cached + // epoch key. Serialize the committer's own replica, which cached every epoch key it derived. + let naive = bincode::serialize(&author).expect("serializes"); + let leaked_epoch_keys = epoch_keys + .iter() + .filter(|k| contains(&naive, k.0.as_slice())) + .count(); + println!("\n### Leak check (committer's replica, serialized as-is: {} B)", naive.len()); + println!("sender's own leaf secret key present: {}", contains(&naive, members[0].sk.as_slice())); + println!("epoch keys present: {leaked_epoch_keys} of {}", epoch_keys.len()); +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/src/join.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/src/join.rs new file mode 100644 index 0000000000..c9743a9cd1 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/src/join.rs @@ -0,0 +1,58 @@ +//! Q3: what a joiner gets, and whether it can start from a welcome without history. + +use crate::{ + common::{contains, Member}, + party::build, +}; +use beekem::cgka::Cgka; +use keyhive_crypto::digest::Digest; +use rand::{rngs::StdRng, SeedableRng}; + +pub fn run() { + let mut rng = StdRng::seed_from_u64(0x501a_0001); + let (mut ps, doc_id, op0, k0) = build(4, &mut rng); + + // The adder adds the joiner, then updates: an add blanks the path, so the root needs an update. + let joiner = Member::new(&mut rng); + let add = ps[0].add(joiner.id, joiner.pk).expect("add").expect("new member"); + for i in 1..4 { + ps[i].merge(&add).expect("in order"); + } + let upd = ps[0].update(&mut rng).expect("update after add"); + for i in 1..4 { + ps[i].merge(&upd).expect("in order"); + } + let k1 = ps[0].root().expect("root"); + + // The welcome the crate allows today: a copy of the adder's replica, owned by the joiner. + let welcome = ps[0].c.with_new_owner(joiner.id, joiner.keys()).expect("copy"); + let welcome_wire = bincode::serialize(&welcome).expect("serializes"); + println!("## Welcome as a replica copy"); + println!(" serialized size: {} B", welcome_wire.len()); + println!(" adder's leaf secret key present: {}", contains(&welcome_wire, ps[0].m.sk.as_slice())); + println!(" epoch-0 root key present: {}", contains(&welcome_wire, k0.0.as_slice())); + + let mut j = welcome; + println!(" joiner derives the current root: {}", j.pcs_key_from_tree_root().is_ok_and(|k| k == k1)); + println!( + " joiner derives the epoch-0 root (it was not a member then): {}", + j.secret(&Digest::hash(&k0), &Digest::hash(&*op0)).is_ok_and(|k| k == k0) + ); + + let op2 = ps[1].update(&mut rng).expect("b updates"); + for i in [0, 2, 3] { + ps[i].merge(&op2).expect("in order"); + } + let k2 = ps[0].root().expect("root"); + let merged = j.merge_concurrent_operation(op2.clone()).is_ok(); + println!( + " joiner merges the next update ({merged}) and derives the new root: {}", + j.pcs_key_from_tree_root().is_ok_and(|k| k == k2) + ); + + // No welcome: a replica that starts from its own add and the latest update. + let mut fresh = Cgka::new(doc_id, joiner.id, joiner.keys()); + println!("## Fresh replica, no history"); + println!(" merging the latest update: {:?}", fresh.merge_concurrent_operation(upd.clone()).err()); + println!(" merging the add: {:?}", fresh.merge_concurrent_operation(add.clone()).err()); +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/src/main.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/src/main.rs new file mode 100644 index 0000000000..abbe9a044a --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/src/main.rs @@ -0,0 +1,44 @@ +//! BeeKEM spike. Each subcommand answers one question from RESULTS.md. +//! +//! beekem-spike costs [fill] Q1 costs, per-member state, joiner payload, leak check +//! beekem-spike scenarios Q2 deterministic concurrency scenarios +//! beekem-spike fuzz Q2 randomized convergence +//! beekem-spike secrecy Q4 forward secrecy and PCS +//! beekem-spike join Q3 joiner payload and history requirement + +mod common; +mod concurrency; +mod costs; +mod join; +mod party; +mod secrecy; + +fn main() { + let args: Vec = std::env::args().skip(1).collect(); + let args: Vec<&str> = args.iter().map(String::as_str).collect(); + match args.as_slice() { + ["costs", n] => { + let n: usize = n.parse().expect("group size"); + costs::run(n, n - 1); + } + ["costs", n, fill] => costs::run( + n.parse().expect("group size"), + fill.parse().expect("fill count"), + ), + ["scenarios"] => concurrency::scenarios(), + ["fuzz", trials, mode] => { + let buffer = match *mode { + "buffer" => true, + "drop" => false, + other => panic!("mode must be buffer or drop, got {other}"), + }; + concurrency::fuzz(trials.parse().expect("trial count"), buffer); + } + ["secrecy"] => secrecy::run(), + ["join"] => join::run(), + _ => { + eprintln!("usage: beekem-spike costs | scenarios | fuzz | secrecy | join"); + std::process::exit(2); + } + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/src/party.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/src/party.rs new file mode 100644 index 0000000000..f33c7f0a00 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/src/party.rs @@ -0,0 +1,84 @@ +//! A group member with its own replica. Shared by the concurrency, secrecy and join experiments. + +use crate::common::{block, Member}; +use beekem::{ + cgka::Cgka, + error::CgkaError, + id::{MemberId, TreeId}, + operation::CgkaOperation, + pcs_key::PcsKey, +}; +use future_form::Local; +use keyhive_crypto::{ + share_key::{ShareKey, ShareSecretKey}, + signed::Signed, + signer::memory::MemorySigner, + verifiable::Verifiable, +}; +use rand::rngs::StdRng; +use std::sync::Arc; + +pub type Op = Arc>; + +pub struct Party { + pub m: Member, + pub c: Cgka, + /// Ops received before their predecessors. Only used when the harness buffers. + pub buffer: Vec, +} + +impl Party { + pub fn new(doc_id: TreeId, m: Member) -> Self { + let c = Cgka::new(doc_id, m.id, m.keys()); + Self { m, c, buffer: Vec::new() } + } + + pub fn id(&self) -> MemberId { + self.m.id + } + + /// Rotate this member's leaf key and encrypt its path. + pub fn update(&mut self, rng: &mut StdRng) -> Result { + let sk = ShareSecretKey::generate(rng); + let (_, op, _) = block(self.c.update::(sk.share_key(), sk, &self.m.signer, rng))?; + Ok(Arc::new(op)) + } + + pub fn add(&mut self, id: MemberId, pk: ShareKey) -> Result, CgkaError> { + Ok(block(self.c.add::(id, pk, &self.m.signer))?.map(Arc::new)) + } + + pub fn remove(&mut self, id: MemberId) -> Result, CgkaError> { + Ok(block(self.c.remove::(id, &self.m.signer))?.map(Arc::new)) + } + + /// Apply a received op. The crate does not verify the signature; callers must. + pub fn merge(&mut self, op: &Op) -> Result { + self.c.merge_concurrent_operation(op.clone()) + } + + /// The root key this replica can derive, or the error it gets. + pub fn root(&mut self) -> Result { + self.c.pcs_key_from_tree_root() + } +} + +/// `n` members in one group. Member 0 adds everyone in order, then settles with one update. Every +/// replica applies each op right away. Returns the parties, the doc id, the settling op and its key. +pub fn build(n: usize, rng: &mut StdRng) -> (Vec, TreeId, Op, PcsKey) { + let doc_id = TreeId(MemorySigner::generate(rng).verifying_key()); + let mut ps: Vec = (0..n).map(|_| Party::new(doc_id, Member::new(rng))).collect(); + for i in 0..n { + let (id, pk) = (ps[i].id(), ps[i].m.pk); + let op = ps[0].add(id, pk).expect("add").expect("new member"); + for p in ps.iter_mut().skip(1) { + p.merge(&op).expect("in-order add"); + } + } + let op = ps[0].update(rng).expect("settle"); + for p in ps.iter_mut().skip(1) { + p.merge(&op).expect("in-order update"); + } + let key = ps[0].root().expect("settled group has a root"); + (ps, doc_id, op, key) +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/src/secrecy.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/src/secrecy.rs new file mode 100644 index 0000000000..be515771a8 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/beekem/src/secrecy.rs @@ -0,0 +1,92 @@ +//! Q4: forward secrecy and post-compromise security, checked with the crate's own derivations. +//! +//! A compromise is a copy of a replica (its secret keys and cached state). The attacker then gets +//! the public ops it asks for and tries to derive keys with the copy. + +use crate::party::{build, Op}; +use beekem::{cgka::Cgka, pcs_key::PcsKey}; +use keyhive_crypto::digest::Digest; +use rand::{rngs::StdRng, SeedableRng}; + +/// A copy of a replica, given the public ops in order. +fn attacker(snapshot: &Cgka, ops: &[&Op]) -> Cgka { + let mut a = snapshot.clone(); + for op in ops { + a.merge_concurrent_operation((*op).clone()).expect("public ops apply in order"); + } + a +} + +/// Whether the attacker derives `key` as the current root. +fn reads_now(a: &mut Cgka, key: &PcsKey) -> bool { + a.pcs_key_from_tree_root().is_ok_and(|k| k == *key) +} + +/// Whether the attacker derives an earlier epoch's key, given the op that created that epoch. +fn reads_epoch(a: &mut Cgka, key: &PcsKey, creating_op: &Op) -> bool { + a.secret(&Digest::hash(key), &Digest::hash(&**creating_op)) + .is_ok_and(|k| k == *key) +} + +/// c is compromised but stays in the group. Its copy must not read a root after c itself commits. +fn in_group_compromise(rng: &mut StdRng) { + println!("## T1: c's replica is copied (compromise); c stays in the group"); + let (mut ps, _, op0, k0) = build(4, rng); + // c derives the root as a member does, so the copy holds the path secrets c used. + assert!(ps[2].root().is_ok_and(|k| k == k0), "c derives the epoch-0 root"); + let copy = ps[2].c.clone(); + + let op_b = ps[1].update(rng).expect("b updates"); + for i in [0, 2, 3] { + ps[i].merge(&op_b).expect("in order"); + } + let k1 = ps[0].root().expect("root after b"); + let mut a1 = attacker(©, &[&op_b]); + println!(" after b's update, the copy derives the new root: {}", reads_now(&mut a1, &k1)); + + let op_c = ps[2].update(rng).expect("c updates"); + for i in [0, 1, 3] { + ps[i].merge(&op_c).expect("in order"); + } + let k2 = ps[0].root().expect("root after c"); + let mut a2 = attacker(©, &[&op_b, &op_c]); + println!(" after c's own update, the copy derives the new root: {}", reads_now(&mut a2, &k2)); + println!(" the copy derives the epoch-0 root (earlier than the compromise): {}", reads_epoch(&mut a2, &k0, &op0)); +} + +/// a removes c. Two attackers: c informed of its removal, and c fed only a's later update. +fn removal(rng: &mut StdRng) { + println!("## T2: a removes c; c's copy is then fed public ops"); + let (mut ps, _, op0, k0) = build(4, rng); + assert!(ps[2].root().is_ok_and(|k| k == k0), "c derives the epoch-0 root"); + let copy = ps[2].c.clone(); + let victim = ps[2].id(); + + let rm = ps[0].remove(victim).expect("remove").expect("c present"); + for i in [1, 3] { + ps[i].merge(&rm).expect("in order"); + } + let op_a = ps[0].update(rng).expect("a updates"); + for i in [1, 3] { + ps[i].merge(&op_a).expect("in order"); + } + let k1 = ps[0].root().expect("root after removal"); + println!(" b (a member) derives the post-removal root: {}", ps[1].root().is_ok_and(|k| k == k1)); + + let mut informed = attacker(©, &[&rm, &op_a]); + println!(" c, informed of its removal, derives a root: {}", informed.pcs_key_from_tree_root().is_ok()); + // A c that ignores its removal cannot accept a's later update: the update names the removal. + let mut ignorant = copy.clone(); + println!( + " c that ignores its removal, given a's later update: {:?}", + ignorant.merge_concurrent_operation(op_a.clone()).err() + ); + println!(" c's copy derives the pre-removal (epoch-0) root: {}", reads_epoch(&mut informed, &k0, &op0)); +} + +pub fn run() { + let mut rng = StdRng::seed_from_u64(0x5ec2_0001); + in_group_compromise(&mut rng); + println!(); + removal(&mut rng); +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c1-rerun/RESULTS.md b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c1-rerun/RESULTS.md new file mode 100644 index 0000000000..15865ef98a --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c1-rerun/RESULTS.md @@ -0,0 +1,134 @@ +# C1 re-run: t2 and t4 on the current build + +## Question + +The QUIC-flag change (a per-relay `quic` field in `RelayEntry`) landed after the last t2 and t4 runs. Do t2 (fallback when the local relay goes down) and t4 (dial by ID through n0, no ticket) still pass on the current `c1` build? How do the numbers compare with the earlier runs? + +## Verdicts + +- **t2: PASS** (first run). The server re-homed onto n0 **22.5 s** after the local relay shut down. A fresh client's handshake over n0 took **547 ms**. A warm client's handshake over n0 took **1.32 s**, and its own home relay was still the dead one when it dialed. +- **t4: PASS** (first run). Dial by ID with no ticket: handshake **216 ms** over `usw1-1`, reply 398 ms. The run published two throwaway IDs (the server and the dialer). + +Neither test failed, so no second run was made (the brief repeats a test only on failure). Every number is a single sample. + +## Method + +From `/home/user/work/spikes`: + +``` +CARGO="$(rustup which --toolchain 1.97.0 cargo)" +CARGO_TARGET_DIR=/home/user/work/spikes/target "$CARGO" build -p c1-connect --bin c1 > build.txt 2>&1 +./target/debug/c1 t2 > t2.txt 2>&1 # 12:09:33-12:10:12 UTC, exit 0 +./target/debug/c1 t4 > t4.txt 2>&1 # 12:10:31-12:10:41 UTC, exit 0 +``` + +Stdout and stderr both go to each file. + +- **Build:** exit 0, 2m 43s, 326 crates compiled (including `c1-connect`), 0 warnings. Binary sha256 `4d7367764114c7bff2bebe84db81137c67f9ca955370c4d6d7edf216578275dc`. The previous binary (05:43) was `6e9aa4e03fe8d0e19affc660d2dc3d2d4777252cf69c5b008acccfafc194114e`. +- **Sources, unchanged by the run:** `Cargo.lock` `afbc44ff13f2a8087e34ccca3e9c6bc25da33e396d21edcc5a28fbb07043a4b4`; `src/connect.rs` `5fc14ab6d0f9dfa6f6cfa5683aa87a58c7c35e15c30da386fc865a2b92cf31f0`; `src/harness.rs` `1e03a82256c9ba53496291c292a9011ea574224a378b08063944670e84e25d7d`; `src/lib.rs` `10f9d7c685b582856376c10803292848079bc17f73d74c0c561b7828eacdd686`; `src/bin/c1.rs` `401cab74d3a8f4ccf3a81337cb5e1cb65b57229bb7caeb6cf039801f94a017ae`. +- **Environment:** `RUST_LOG` unset (warn level). `IROH_FORCE_STAGING_RELAYS` unset; the binary prints `false`, so these are n0's production relays. Load average was 37.2 on 16 CPUs at the start of t4. I did not sample it before t2. +- **Side effects:** t2 and t4 start no external relay and write no files in `c1-connect`. `logs/t2.txt` and `logs/t4.txt` keep their 05:20 and 05:18 times. +- **Publishing:** t2's profiles set no lookups (`Minimal` only sets the crypto provider), so t2 published nothing. Its relay connections went to n0's `aps1-1` relay. t4 published two throwaway IDs, the server's and the dialer's. + +## Results: t2 + +Raw output (`t2.txt`): + +``` +relays: local http://localhost:39519/, n0 https://aps1-1.relay.n0.iroh.link./ +server online after 3.039516134s +ticket: 162 chars, 2 relay URLs, 0 direct +server home relays at start: [RelayUrl("http://localhost:39519/")] +A (both relays up): connected 81.20407ms, replied 137.224971ms, echoed true, handshake over relay http://localhost:39519/ + path after reply: * relay http://localhost:39519/ +warm client home relays before: [RelayUrl("http://localhost:39519/")] +server re-homed onto n0 22.511246006s after the shutdown +B: client online 26.223181584s after the shutdown (its own wait: 3.689736429s) +B (fresh client, local relay down): connected 546.888274ms, replied 1.113102897s, echoed true, handshake over relay https://aps1-1.relay.n0.iroh.link./ + path after reply: * relay https://aps1-1.relay.n0.iroh.link./ +B: handshake complete 26.770095286s after the shutdown +C: home relays at dial time: [RelayUrl("http://localhost:39519/")] +C (warm client, local relay down): connected 1.320471446s, replied 1.889272544s, echoed true, handshake over relay https://aps1-1.relay.n0.iroh.link./ + path after reply: relay https://aps1-1.relay.n0.iroh.link./ + path after reply: * direct (address withheld) +C: handshake complete 28.656883307s after the shutdown, over Some("https://aps1-1.relay.n0.iroh.link./") +RESULT t2: PASS +``` + +Comparison. The earlier run 1 is `c1-connect/logs/t2.txt` (05:20). Run 2 is from `c1-connect/RESULTS.md`; its log was overwritten, so only its summary numbers survive. + +| Measure | Now (12:09 UTC) | Earlier run 1 (log, 05:20) | Earlier run 2 (RESULTS.md) | +|---|---|---|---| +| A: handshake over local, both relays up | 81.2 ms (reply 137 ms) | 14.9 ms (reply 27.5 ms) | 14-15 ms (both runs) | +| Server re-home onto n0 | **22.51 s** | 20.46 s | 21.6 s | +| B: fresh client, handshake over n0 | **547 ms** (reply 1.11 s) | 656 ms (reply 1.43 s) | 470 ms | +| B: client online (own wait) | 26.2 s after shutdown (3.69 s) | 24.3 s (3.87 s) | not recorded | +| C: warm client, handshake over n0 | **1.32 s** (reply 1.89 s) | 1.34 s (reply 1.90 s) | 486 ms | +| C: warm client's home relay at dial time | still the dead local relay (dial at 26.8 s) | n0 `aps1-1` (dial at 25.0 s) | not recorded | +| Result | PASS | PASS | PASS (2 runs) | + +## Results: t4 + +Raw output (`t4.txt`): + +``` +profile: 4 relay(s) (0 with QAD off), policy RelayOnly, n0-pkarr publish, n0-pkarr resolve, n0-dns resolve +IROH_FORCE_STAGING_RELAYS set: false +server online after 3.243188175s +client online after 10.139µs +record visible through n0 lookups after 697.185698ms: ["dns: 1 relay, 0 direct", "pkarr: 1 relay, 0 direct"] +dial by ID (no ticket): connected 215.791598ms, replied 398.031311ms, echoed true, handshake over relay https://usw1-1.relay.n0.iroh.link./ + path after reply: * relay https://usw1-1.relay.n0.iroh.link./ + after 5 s: path relay https://usw1-1.relay.n0.iroh.link./ + after 5 s: path * direct (address withheld) +RESULT t4: PASS +``` + +Comparison with `c1-connect/logs/t4.txt` (05:18). The earlier run was the only one recorded. + +| Measure | Now (12:10 UTC) | Earlier (log, 05:18) | +|---|---|---| +| Profile line | `4 relay(s) (0 with QAD off)` | `4 relay(s)` (no QAD count) | +| Server online | 3.24 s | 3.28 s | +| Record visible via n0 lookups | 697 ms | 1.01 s | +| Record, as parsed | dns and pkarr: 1 relay, 0 direct each | same | +| Handshake, dial by ID | **216 ms** over `usw1-1` | 277 ms over `use1-1` | +| Reply | 398 ms | 648 ms | +| After 5 s | direct path selected (both endpoints on this host) | same | +| Result | PASS | PASS | + +## Does the flag change these results? + +Not for these two tests. `RelayMode::custom(urls)` builds its map with `RelayMap::from_iter(urls)`. Each entry becomes `url.into()`, which is `RelayConfig::from(url)` with the default QUIC config (`iroh-relay-1.3.0/src/relay_map.rs:208-213`, `:272-284`). `RelayEntry { quic: true }` builds the same `RelayConfig::from(url)` (`src/connect.rs:67-68`). Both tests use `quic: true` for every relay. The flag only changes `quic: false` entries, which neither test uses. The one visible change is in output format: the t4 profile line now carries "(0 with QAD off)". + +## Not tested, and why + +- **Repeats.** One run each. The earlier t2 had two runs. The re-home band comes from the code's timer, a random 20-26 s (`iroh-1.3.0/src/socket.rs:2000-2005`), so one sample cannot narrow it. +- **Real NAT.** Both endpoints share a host. The direct path that appears after 5 s is not holepunching across networks. +- **Other n0 relays.** t2 takes the fallback from `connect::n0_relays().next()` (`src/bin/c1.rs:204-207`), which is `aps1-1` here. That is the first entry, not the nearest. The n0 fallback times apply to that relay only. I did not measure the others. +- **Timing under load.** Load was 37 on 16 CPUs at t4 start. Timings are not controlled. +- **Record bytes (t4).** This run checked the parsed lookup items (1 relay, 0 direct). It did not scan the raw record for IP literals. t3 does that. +- **Other tests.** t1, t3, t5, t6, t7, t8 and `policy` were not run. They were not requested. +- **Second relay on the peer.** The open question in the c1 RESULTS (would a second relay connection shorten the re-home?) is not tested. + +## Surprising + +1. **t2 phase A (both relays up): handshake 81 ms, against 14-15 ms earlier, about 5x.** The config is the same as before (both relays QAD on), so I attribute the gap to load or noise. This is one sample, so the cause is not established. +2. **The warm client still listed the dead local relay as its home when it dialed (26.8 s after shutdown).** In the earlier run it had already moved to n0 by 25.0 s. The dial still worked, because the ticket names n0. The warm client re-homes on its own timer, so it need not move with the server. +3. **t4 used `usw1-1`, not `use1-1`.** The handshake went from 277 ms to 216 ms. I did not check why. +4. **The re-home at 22.5 s is above the design doc's "20-22 s".** It is inside the 20-26 s band from the code. + +## Doc lines now out of date (not edited; outside this folder) + +- `/home/user/work/integrated/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/2026-10-11T10-46-58Z_design_connectivity.md`: + - §3, t2 row: "Not re-run after the QUIC-flag change" is stale. It is re-run and passes, with a re-home of 22.5 s. + - §3 t2 row and §7 gotcha 3: "20-22 s" should read "20-26 s (22.5 s in this run)". + - §3 t4 row ("One run") and §1 ("in 277 ms"): there are two runs now. 277 ms over `use1-1` (05:18), 216 ms over `usw1-1` (12:10). +- `/home/user/work/spikes/c1-connect/RESULTS.md`, line 141 ("t2's 20-26 s re-home is not re-measured") and line 144 ("Not run: t2 and t4"). Both are stale. +- Throwaway IDs published to n0 by C1 in total: 4 (2 earlier, 2 in this run). + +## Files + +- `RESULTS.md` (this file) +- `t2.txt` (1.3 KB) and `t4.txt` (0.6 KB): raw output +- `build.txt` (10 KB): build log diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c1-rerun/build.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c1-rerun/build.txt new file mode 100644 index 0000000000..116df41982 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c1-rerun/build.txt @@ -0,0 +1,327 @@ + Compiling proc-macro2 v1.0.107 + Compiling unicode-ident v1.0.26 + Compiling quote v1.0.47 + Compiling cfg-if v1.0.5 + Compiling libc v0.2.190 + Compiling serde_core v1.0.229 + Compiling serde v1.0.229 + Compiling smallvec v1.16.3 + Compiling pin-project-lite v0.2.17 + Compiling scopeguard v1.2.0 + Compiling bytes v1.12.1 + Compiling parking_lot_core v0.9.12 + Compiling futures-core v0.3.34 + Compiling log v0.4.34 + Compiling memchr v2.8.3 + Compiling portable-atomic v1.15.0 + Compiling critical-section v1.2.0 + Compiling lock_api v0.4.14 + Compiling stable_deref_trait v1.2.1 + Compiling slab v0.4.12 + Compiling futures-sink v0.3.34 + Compiling futures-io v0.3.34 + Compiling futures-task v0.3.34 + Compiling futures-channel v0.3.34 + Compiling typenum v1.20.1 + Compiling shlex v2.0.1 + Compiling find-msvc-tools v0.1.14 + Compiling rand_core v0.10.1 + Compiling cfg_aliases v0.2.2 + Compiling subtle v2.6.1 + Compiling litemap v0.8.3 + Compiling writeable v0.6.4 + Compiling thiserror v2.0.21 + Compiling cpufeatures v0.3.1 + Compiling utf8_iter v1.0.4 + Compiling icu_normalizer_data v2.3.0 + Compiling icu_properties_data v2.3.0 + Compiling equivalent v1.0.2 + Compiling untrusted v0.9.0 + Compiling cc v1.7.0 + Compiling itoa v1.0.18 + Compiling percent-encoding v2.3.2 + Compiling semver v1.0.28 + Compiling rustls v0.23.45 + Compiling foldhash v0.2.0 + Compiling version_check v0.9.5 + Compiling getrandom v0.4.3 + Compiling form_urlencoded v1.2.2 + Compiling http v1.5.0 + Compiling hashbrown v0.17.1 + Compiling rustc_version v0.4.1 + Compiling chacha20 v0.10.2 + Compiling httparse v1.10.1 + Compiling unicode-segmentation v1.13.3 + Compiling ipnet v2.12.2 + Compiling const-oid v0.10.2 + Compiling atomic-waker v1.1.2 + Compiling autocfg v1.5.1 + Compiling unicode-xid v0.2.6 + Compiling generic-array v0.14.7 + Compiling bitflags v2.13.2 + Compiling try-lock v0.2.5 + Compiling tower-service v0.3.3 + Compiling base64 v0.23.1 + Compiling num-conv v0.2.2 + Compiling syn v3.0.7 + Compiling syn v2.0.119 + Compiling convert_case v0.10.0 + Compiling hybrid-array v0.4.15 + Compiling fnv v1.0.7 + Compiling num-traits v0.2.19 + Compiling indexmap v2.14.2 + Compiling time-core v0.1.9 + Compiling http-body v1.1.0 + Compiling want v0.3.2 + Compiling time-macros v0.2.32 + Compiling sync_wrapper v1.0.2 + Compiling powerfmt v0.2.1 + Compiling openssl-probe v0.2.1 + Compiling base64ct v1.8.3 + Compiling deranged v0.5.8 + Compiling httpdate v1.0.3 + Compiling block-buffer v0.12.1 + Compiling crypto-common v0.2.2 + Compiling zmij v1.0.23 + Compiling errno v0.3.14 + Compiling socket2 v0.6.5 + Compiling mio v1.2.4 + Compiling signal-hook-registry v1.4.8 + Compiling parking_lot v0.12.5 + Compiling getrandom v0.2.17 + Compiling crypto-common v0.1.7 + Compiling pem-rfc7468 v1.0.0 + Compiling data-encoding v2.11.1 + Compiling rand v0.10.3 + Compiling heck v0.5.0 + Compiling fastrand v2.5.0 + Compiling ring v0.17.14 + Compiling tower-layer v0.3.3 + Compiling serde_json v1.0.152 + Compiling minimal-lexical v0.2.1 + Compiling rustversion v1.0.23 + Compiling http-body-util v0.1.5 + Compiling curve25519-dalek v5.0.0 + Compiling n0-future v0.3.2 + Compiling digest v0.11.3 + Compiling nom v7.1.3 + Compiling spin v0.10.1 + Compiling diatomic-waker v0.2.3 + Compiling parking v2.2.1 + Compiling cordyceps v0.3.5 + Compiling base16ct v1.0.0 + Compiling futures-lite v2.6.1 + Compiling inout v0.1.4 + Compiling signature v3.0.0 + Compiling noq-udp v1.3.0 + Compiling base64 v0.22.1 + Compiling winnow v1.0.4 + Compiling time v0.3.55 + Compiling futures-buffered v0.2.13 + Compiling cpufeatures v0.2.17 + Compiling paste v1.0.15 + Compiling cipher v0.4.4 + Compiling sha2 v0.11.0 + Compiling num-integer v0.1.47 + Compiling universal-hash v0.5.1 + Compiling toml_datetime v1.1.2+spec-1.1.0 + Compiling oid-registry v0.8.1 + Compiling lazy_static v1.5.1 + Compiling opaque-debug v0.3.1 + Compiling zerocopy v0.8.62 + Compiling num-bigint v0.4.8 + Compiling polyval v0.6.2 + Compiling heapless v0.7.17 + Compiling tinyvec v1.13.3 + Compiling byteorder v1.5.0 + Compiling utf8parse v0.2.2 + Compiling rustc-hash v2.1.3 + Compiling anstyle-parse v1.0.0 + Compiling ghash v0.5.1 + Compiling arc-swap v1.9.2 + Compiling hash32 v0.2.1 + Compiling toml_parser v1.1.5+spec-1.1.0 + Compiling netlink-packet-core v0.8.2 + Compiling aes v0.8.4 + Compiling ctr v0.9.2 + Compiling aead v0.5.2 + Compiling lru v0.18.5 + Compiling spin v0.9.9 + Compiling netlink-packet-core v0.9.0 + Compiling is_terminal_polyfill v1.70.2 + Compiling regex-syntax v0.8.11 + Compiling colorchoice v1.0.5 + Compiling anstyle-query v1.1.5 + Compiling n0-dns-resolver v0.1.0 + Compiling rusticata-macros v4.1.0 + Compiling crossbeam-utils v0.8.23 + Compiling netdev v0.46.3 + Compiling anstyle v1.0.14 + Compiling serde_bytes v0.11.19 + Compiling synstructure v0.13.2 + Compiling anstream v1.0.0 + Compiling blake3 v1.8.7 + Compiling aes-gcm v0.10.3 + Compiling netlink-sys v0.9.0 + Compiling pem v4.0.0 + Compiling toml_edit v0.25.17+spec-1.1.0 + Compiling simple-dns v0.12.0 + Compiling rand_pcg v0.10.2 + Compiling netwatch v0.19.3 + Compiling iroh-dns v1.3.0 + Compiling noq v1.3.0 + Compiling ryu v1.0.23 + Compiling iana-time-zone v0.1.65 + Compiling yasna v0.6.0 + Compiling sorted-index-buffer v0.2.1 + Compiling sha1_smol v1.0.1 + Compiling synstructure v0.14.0 + Compiling lru-slab v0.1.3 + Compiling strsim v0.11.1 + Compiling xml-rs v0.8.29 + Compiling mac-addr v0.3.0 + Compiling identity-hash v0.1.0 + Compiling proc-macro-crate v3.5.0 + Compiling clap_lex v1.1.1 + Compiling reloadable-core v0.1.0 + Compiling regex-automata v0.4.18 + Compiling clap_builder v4.6.7 + Compiling chrono v0.4.45 + Compiling netlink-packet-route v0.31.0 + Compiling sharded-slab v0.1.7 + Compiling pem v3.0.6 + Compiling serde_spanned v1.1.2 + Compiling xmltree v0.10.3 + Compiling iroh-relay v1.3.0 + Compiling thread_local v1.1.10 + Compiling constant_time_eq v0.4.2 + Compiling simdutf8 v0.1.5 + Compiling hashbrown v0.14.5 + Compiling nu-ansi-term v0.50.3 + Compiling arrayvec v0.7.8 + Compiling toml_writer v1.1.3+spec-1.1.0 + Compiling sha1 v0.11.0 + Compiling acto v0.8.2 + Compiling zeroize_derive v1.5.0 + Compiling tracing-attributes v0.1.31 + Compiling derive_more-impl v2.1.1 + Compiling n0-error-macros v1.0.1 + Compiling spez v0.1.2 + Compiling pin-project-internal v1.1.13 + Compiling asn1-rs-impl v0.2.0 + Compiling curve25519-dalek-derive v0.1.1 + Compiling asn1-rs-derive v0.6.0 + Compiling zerocopy-derive v0.8.62 + Compiling iroh-metrics-derive v1.0.1 + Compiling num_enum_derive v0.7.6 + Compiling zeroize v1.9.1 + Compiling serde_derive v1.0.229 + Compiling tokio-macros v2.7.2 + Compiling displaydoc v0.2.7 + Compiling zerofrom-derive v0.1.8 + Compiling yoke-derive v0.8.4 + Compiling futures-macro v0.3.34 + Compiling zerovec-derive v0.11.6 + Compiling rustls-pki-types v1.15.1 + Compiling thiserror-impl v2.0.21 + Compiling tokio v1.53.2 + Compiling n0-error v1.0.1 + Compiling der v0.8.2 + Compiling rustls-webpki v0.103.15 + Compiling rustls-native-certs v0.8.4 + Compiling pin-project v1.1.13 + Compiling data-encoding-macro-internal v0.1.19 + Compiling futures-util v0.3.34 + Compiling webpki-roots v1.0.9 + Compiling rustls-cert-read v0.3.0 + Compiling enum-assoc v1.4.1 + Compiling postcard-derive v0.2.2 + Compiling strum_macros v0.28.0 + Compiling zerofrom v0.1.8 + Compiling yoke v0.8.3 + Compiling data-encoding-macro v0.1.21 + Compiling spki v0.8.1 + Compiling num_enum v0.7.6 + Compiling asn1-rs v0.7.2 + Compiling zerovec v0.11.8 + Compiling zerotrie v0.2.5 + Compiling cobs v0.3.0 + Compiling pkcs8 v0.11.0 + Compiling async-trait v0.1.92 + Compiling clap_derive v4.6.7 + Compiling matchers v0.2.0 + Compiling toml v1.1.8+spec-1.1.0 + Compiling iroh v1.3.0 + Compiling cmov v0.5.4 + Compiling seize v0.5.1 + Compiling ctutils v0.4.3 + Compiling smol_str v0.1.24 + Compiling papaya v0.2.5 + Compiling crc-catalog v2.5.0 + Compiling tinystr v0.8.4 + Compiling potential_utf v0.1.6 + Compiling crc v3.4.0 + Compiling dyn-clone v1.0.20 + Compiling derive_more v2.1.1 + Compiling icu_collections v2.3.0 + Compiling icu_locale_core v2.3.0 + Compiling anyhow v1.0.104 + Compiling der-parser v10.0.0 + Compiling x509-parser v0.18.1 + Compiling serdect v0.4.3 + Compiling serde_bencode v0.2.4 + Compiling clap v4.6.7 + Compiling icu_provider v2.3.1 + Compiling ed25519 v3.0.0 + Compiling strum v0.28.0 + Compiling icu_properties v2.3.0 + Compiling icu_normalizer v2.3.0 + Compiling once_cell v1.21.4 + Compiling futures-executor v0.3.34 + Compiling postcard v1.1.3 + Compiling tracing-core v0.1.36 + Compiling dashmap v6.2.1 + Compiling futures v0.3.34 + Compiling tokio-util v0.7.20 + Compiling tower v0.5.3 + Compiling netlink-sys v0.8.8 + Compiling reloadable-state v0.1.0 + Compiling rustls-cert-file-reader v0.4.2 + Compiling backon v1.6.0 + Compiling tracing v0.1.44 + Compiling tracing-log v0.2.0 + Compiling ed25519-dalek v3.0.0 + Compiling netlink-proto v0.12.2 + Compiling rcgen v0.14.10 + Compiling tracing-subscriber v0.3.23 + Compiling idna_adapter v1.2.2 + Compiling idna v1.1.0 + Compiling n0-mainline v0.7.1 + Compiling h2 v0.4.20 + Compiling tokio-stream v0.1.19 + Compiling n0-watcher v1.0.0 + Compiling url v2.5.8 + Compiling tower-http v0.6.11 + Compiling iroh-base v1.3.0 + Compiling attohttpc v0.30.1 + Compiling hickory-proto v0.26.3 + Compiling iroh-tickets v1.0.0 + Compiling netlink-packet-route v0.33.0 + Compiling tokio-rustls v0.26.6 + Compiling rustls-platform-verifier v0.7.1 + Compiling rustls-cert-reloadable-resolver v0.7.1 + Compiling swarm-discovery v0.6.4 + Compiling noq-proto v1.3.0 + Compiling tokio-websockets v0.13.3 + Compiling hyper v1.12.0 + Compiling hyper-util v0.1.21 + Compiling hyper-rustls v0.27.10 + Compiling igd-next v0.17.1 + Compiling reqwest v0.13.5 + Compiling iroh-metrics v1.0.2 + Compiling tokio-rustls-acme v0.9.1 + Compiling portmapper v0.19.3 + Compiling iroh-mainline-address-lookup v0.6.0 + Compiling iroh-mdns-address-lookup v0.6.0 + Compiling c1-connect v0.0.0 (/home/user/work/spikes/c1-connect) + Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 43s diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c1-rerun/t2.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c1-rerun/t2.txt new file mode 100644 index 0000000000..8e1a7207f3 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c1-rerun/t2.txt @@ -0,0 +1,18 @@ +relays: local http://localhost:39519/, n0 https://aps1-1.relay.n0.iroh.link./ +server online after 3.039516134s +ticket: 162 chars, 2 relay URLs, 0 direct +server home relays at start: [RelayUrl("http://localhost:39519/")] +A (both relays up): connected 81.20407ms, replied 137.224971ms, echoed true, handshake over relay http://localhost:39519/ + path after reply: * relay http://localhost:39519/ +warm client home relays before: [RelayUrl("http://localhost:39519/")] +server re-homed onto n0 22.511246006s after the shutdown +B: client online 26.223181584s after the shutdown (its own wait: 3.689736429s) +B (fresh client, local relay down): connected 546.888274ms, replied 1.113102897s, echoed true, handshake over relay https://aps1-1.relay.n0.iroh.link./ + path after reply: * relay https://aps1-1.relay.n0.iroh.link./ +B: handshake complete 26.770095286s after the shutdown +C: home relays at dial time: [RelayUrl("http://localhost:39519/")] +C (warm client, local relay down): connected 1.320471446s, replied 1.889272544s, echoed true, handshake over relay https://aps1-1.relay.n0.iroh.link./ + path after reply: relay https://aps1-1.relay.n0.iroh.link./ + path after reply: * direct (address withheld) +C: handshake complete 28.656883307s after the shutdown, over Some("https://aps1-1.relay.n0.iroh.link./") +RESULT t2: PASS diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c1-rerun/t4.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c1-rerun/t4.txt new file mode 100644 index 0000000000..e7c83a1a3d --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c1-rerun/t4.txt @@ -0,0 +1,10 @@ +profile: 4 relay(s) (0 with QAD off), policy RelayOnly, n0-pkarr publish, n0-pkarr resolve, n0-dns resolve +IROH_FORCE_STAGING_RELAYS set: false +server online after 3.243188175s +client online after 10.139µs +record visible through n0 lookups after 697.185698ms: ["dns: 1 relay, 0 direct", "pkarr: 1 relay, 0 direct"] +dial by ID (no ticket): connected 215.791598ms, replied 398.031311ms, echoed true, handshake over relay https://usw1-1.relay.n0.iroh.link./ + path after reply: * relay https://usw1-1.relay.n0.iroh.link./ + after 5 s: path relay https://usw1-1.relay.n0.iroh.link./ + after 5 s: path * direct (address withheld) +RESULT t4: PASS diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/Cargo.lock b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/Cargo.lock new file mode 100644 index 0000000000..63dd9c1b7b --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/Cargo.lock @@ -0,0 +1,4557 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "acto" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "598381761ee991bf2f1455f700380e2191fb370dc9df1ee764f348b7f089d8b6" +dependencies = [ + "parking_lot", + "pin-project-lite", + "rustc_version", + "smol_str", + "sync_wrapper", + "tokio", + "tracing", +] + +[[package]] +name = "aead" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0" +dependencies = [ + "crypto-common 0.1.7", + "generic-array", +] + +[[package]] +name = "aes" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" +dependencies = [ + "cfg-if", + "cipher", + "cpufeatures 0.2.17", +] + +[[package]] +name = "aes-gcm" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "831010a0f742e1209b3bcea8fab6a8e149051ba6099432c8cb2cc117dec3ead1" +dependencies = [ + "aead", + "aes", + "cipher", + "ctr", + "ghash", + "subtle", +] + +[[package]] +name = "aho-corasick" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba" +dependencies = [ + "memchr", +] + +[[package]] +name = "android_system_properties" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae221649c9976a6f6c56ae1facf410f3ddb33cc661c4b7b61020a912d4237fbc" +dependencies = [ + "libc", +] + +[[package]] +name = "anstream" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d" +dependencies = [ + "anstyle", + "anstyle-parse", + "anstyle-query", + "anstyle-wincon", + "colorchoice", + "is_terminal_polyfill", + "utf8parse", +] + +[[package]] +name = "anstyle" +version = "1.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000" + +[[package]] +name = "anstyle-parse" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e" +dependencies = [ + "utf8parse", +] + +[[package]] +name = "anstyle-query" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "anstyle-wincon" +version = "3.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" +dependencies = [ + "anstyle", + "once_cell_polyfill", + "windows-sys 0.61.2", +] + +[[package]] +name = "anyhow" +version = "1.0.104" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470" + +[[package]] +name = "arc-swap" +version = "1.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c049c0be4daef0b145cb3555416b3b8ef5b7888a38aea1a3a155801fe7b0810b" +dependencies = [ + "rustversion", +] + +[[package]] +name = "arrayvec" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56" + +[[package]] +name = "asn1-rs" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7f43a50ac4fdca5df8e885c21b835997f0a1cdee65494a6847694a98652d9d8" +dependencies = [ + "asn1-rs-derive", + "asn1-rs-impl", + "displaydoc", + "nom", + "num-traits", + "rusticata-macros", + "thiserror 2.0.21", + "time", +] + +[[package]] +name = "asn1-rs-derive" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3109e49b1e4909e9db6515a30c633684d68cdeaa252f215214cb4fa1a5bfee2c" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", + "synstructure 0.13.2", +] + +[[package]] +name = "asn1-rs-impl" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b18050c2cd6fe86c3a76584ef5e0baf286d038cda203eb6223df2cc413565f7" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "async-trait" +version = "0.1.92" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82f6aeea286b8eb4dd3431a1be1b59d290ace00f5bfd8e2a159bc2a05e2c1667" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "async_io_stream" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6d7b9decdf35d8908a7e3ef02f64c5e9b1695e230154c0e8de3969142d9b94c" +dependencies = [ + "futures", + "pharos", + "rustc_version", +] + +[[package]] +name = "atomic-polyfill" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8cf2bce30dfe09ef0bfaef228b9d414faaf7e563035494d7fe092dba54b300f4" +dependencies = [ + "critical-section", +] + +[[package]] +name = "atomic-waker" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" + +[[package]] +name = "attohttpc" +version = "0.30.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16e2cdb6d5ed835199484bb92bb8b3edd526effe995c61732580439c1a67e2e9" +dependencies = [ + "base64 0.22.1", + "http", + "log", + "url", +] + +[[package]] +name = "autocfg" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" + +[[package]] +name = "backon" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cffb0e931875b666fc4fcb20fee52e9bbd1ef836fd9e9e04ec21555f9f85f7ef" +dependencies = [ + "fastrand", + "gloo-timers", + "tokio", +] + +[[package]] +name = "base16ct" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd307490d624467aa6f74b0eabb77633d1f758a7b25f12bceb0b22e08d9726f6" + +[[package]] +name = "base64" +version = "0.22.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" + +[[package]] +name = "base64" +version = "0.23.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac07cdecf99051d9a5238b80f35af32cdeba5b336e55d957b318b50137e18da5" + +[[package]] +name = "base64ct" +version = "1.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2af50177e190e07a26ab74f8b1efbfe2ef87da2116221318cb1c2e82baf7de06" + +[[package]] +name = "bit-vec" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b71798fca2c1fe1086445a7258a4bc81e6e49dcd24c8d0dd9a1e57395b603f51" +dependencies = [ + "serde", +] + +[[package]] +name = "bitflags" +version = "2.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06" + +[[package]] +name = "blake3" +version = "1.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d9e454fc11f76977dc803893aff6304ed33d6a26efae8696573bea74baa27ae" +dependencies = [ + "arrayvec", + "cc", + "cfg-if", + "constant_time_eq", + "cpufeatures 0.3.1", +] + +[[package]] +name = "block-buffer" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2f6c7dbe95a6ed67ad9f18e57daf93a2f034c524b99fd2b76d18fdfeb6660aa" +dependencies = [ + "hybrid-array", +] + +[[package]] +name = "block2" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdeb9d870516001442e364c5220d3574d2da8dc765554b4a617230d33fa58ef5" +dependencies = [ + "objc2", +] + +[[package]] +name = "bumpalo" +version = "3.20.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649" + +[[package]] +name = "byteorder" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" + +[[package]] +name = "bytes" +version = "1.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04" + +[[package]] +name = "c1-connect" +version = "0.0.0" +dependencies = [ + "anyhow", + "iroh", + "iroh-dns", + "iroh-mainline-address-lookup", + "iroh-mdns-address-lookup", + "iroh-relay", + "iroh-tickets", + "n0-future", + "n0-mainline", + "tokio", + "tracing-subscriber", +] + +[[package]] +name = "c2-holepunch" +version = "0.0.0" +dependencies = [ + "anyhow", + "c1-connect", + "iroh", + "iroh-relay", + "iroh-tickets", + "n0-future", + "rustls-pki-types", + "tokio", + "tracing-subscriber", +] + +[[package]] +name = "cc" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50a649af8a827553c29fb0cb4bd4a6f1a0dd695bd3232b9bc98bd9c8a3ffbb8b" +dependencies = [ + "find-msvc-tools", + "shlex", +] + +[[package]] +name = "cesu8" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c" + +[[package]] +name = "cfg-if" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600" + +[[package]] +name = "cfg_aliases" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527" + +[[package]] +name = "chacha20" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65c35e4b699c7e15ccbe7ee35c005e4fc0a278d22238a2857e6ce2dadeda1b06" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "rand_core", +] + +[[package]] +name = "chrono" +version = "0.4.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1aa79e62e7697b8e29b513a68abacf485adcd1fe8284a4316c5ae868e6633327" +dependencies = [ + "iana-time-zone", + "num-traits", + "serde", + "windows-link", +] + +[[package]] +name = "cipher" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" +dependencies = [ + "crypto-common 0.1.7", + "inout", +] + +[[package]] +name = "clap" +version = "4.6.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa8876b300ab35ba921adea3dfd70157a46249b33f95c9084ae5709785478946" +dependencies = [ + "clap_builder", + "clap_derive", +] + +[[package]] +name = "clap_builder" +version = "4.6.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0797fb7aeb1406c84efac526901f7ec3ead2124f946b494e72879d4b54704d" +dependencies = [ + "anstream", + "anstyle", + "clap_lex", + "strsim", +] + +[[package]] +name = "clap_derive" +version = "4.6.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9c751b79415d4e559e3d1fcf128e09e720eb673a06d26cf6f392d37d75b66e0" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "clap_lex" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c133bc6a41be0d194c306b5506d15e6feeea7b1d6604bd3f8310dfb2ca96486" + +[[package]] +name = "cmov" +version = "0.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c9ea0ac24bc397ab3c98583a3c9ba74fa56b09a4449bbe172b9b1ddb016027a" + +[[package]] +name = "cobs" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fa961b519f0b462e3a3b4a34b64d119eeaca1d59af726fe450bbba07a9fc0a1" +dependencies = [ + "thiserror 2.0.21", +] + +[[package]] +name = "colorchoice" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570" + +[[package]] +name = "combine" +version = "4.6.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfc320937d09e6de266b31b9afb480f197d7a861be86be7cb2ea7e5d1bfffc5e" +dependencies = [ + "bytes", + "memchr", +] + +[[package]] +name = "const-oid" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6ef517f0926dd24a1582492c791b6a4818a4d94e789a334894aa15b0d12f55c" + +[[package]] +name = "constant_time_eq" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d52eff69cd5e647efe296129160853a42795992097e8af39800e1060caeea9b" + +[[package]] +name = "convert_case" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "633458d4ef8c78b72454de2d54fd6ab2e60f9e02be22f3c6104cdc8a4e0fceb9" +dependencies = [ + "unicode-segmentation", +] + +[[package]] +name = "cordyceps" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b9ab7e0ca1d179628fa0172b2b97203c7fa0cd81be2448bd446fb9559ca9261" +dependencies = [ + "loom", + "tracing", +] + +[[package]] +name = "core-foundation" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "core-foundation-sys" +version = "0.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" + +[[package]] +name = "cpufeatures" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" +dependencies = [ + "libc", +] + +[[package]] +name = "cpufeatures" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ca28b0ae3115b884660db4118d803791fd6756b6e88f39c0f3f7859060d7566" +dependencies = [ + "libc", +] + +[[package]] +name = "crc" +version = "3.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5eb8a2a1cd12ab0d987a5d5e825195d372001a4094a0376319d5a0ad71c1ba0d" +dependencies = [ + "crc-catalog", +] + +[[package]] +name = "crc-catalog" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "217698eaf96b4a3f0bc4f3662aaa55bdf913cd54d7204591faa790070c6d0853" + +[[package]] +name = "critical-section" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "790eea4361631c5e7d22598ecd5723ff611904e3344ce8720784c93e3d83d40b" + +[[package]] +name = "crossbeam-utils" +version = "0.8.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a31eee39dddec8330830986fcd7625edb5a24ec90ea038215273bbc3adb08ac6" + +[[package]] +name = "crypto-common" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" +dependencies = [ + "generic-array", + "typenum", +] + +[[package]] +name = "crypto-common" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453" +dependencies = [ + "hybrid-array", + "rand_core", +] + +[[package]] +name = "ctr" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835" +dependencies = [ + "cipher", +] + +[[package]] +name = "ctutils" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03bb0e1cc970d482d121d9a1744999169b69a07470b3d644a7894e53fcaf4574" +dependencies = [ + "cmov", +] + +[[package]] +name = "curve25519-dalek" +version = "5.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5eed333089e2e1c1ac8c6c0398e5e2497b4c9926ca6d0365ed1e099afa5bc23" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "curve25519-dalek-derive", + "digest", + "fiat-crypto", + "rand_core", + "rustc_version", + "serde", + "subtle", + "zeroize", +] + +[[package]] +name = "curve25519-dalek-derive" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "dashmap" +version = "6.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6361d5c062261c78a176addb82d4c821ae42bed6089de0e12603cd25de2059c" +dependencies = [ + "cfg-if", + "crossbeam-utils", + "hashbrown 0.14.5", + "lock_api", + "once_cell", + "parking_lot_core", +] + +[[package]] +name = "data-encoding" +version = "2.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4583a4551df46e2792f82ceeac45e850d2e2d5debba0b91f102385cda5b11f06" + +[[package]] +name = "data-encoding-macro" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6a127ecbb3c4632e1525380e04c0c3fcf8dcb44d32a79ea290d8a36906edcd8" +dependencies = [ + "data-encoding", + "data-encoding-macro-internal", +] + +[[package]] +name = "data-encoding-macro-internal" +version = "0.1.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c54e03a951783e8b327515db3f2a2fd0e3bed362a96b066f341ce66ed49b4ead" +dependencies = [ + "data-encoding", + "syn 3.0.7", +] + +[[package]] +name = "der" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a878c850e9e421b20262e9b41f9c860e4785fa07541c266b62ff9d1ef998a80a" +dependencies = [ + "const-oid", + "pem-rfc7468", + "zeroize", +] + +[[package]] +name = "der-parser" +version = "10.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "07da5016415d5a3c4dd39b11ed26f915f52fc4e0dc197d87908bc916e51bc1a6" +dependencies = [ + "asn1-rs", + "displaydoc", + "nom", + "num-bigint", + "num-traits", + "rusticata-macros", +] + +[[package]] +name = "deranged" +version = "0.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c" + +[[package]] +name = "derive_more" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d751e9e49156b02b44f9c1815bcb94b984cdcc4396ecc32521c739452808b134" +dependencies = [ + "derive_more-impl", +] + +[[package]] +name = "derive_more-impl" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "799a97264921d8623a957f6c3b9011f3b5492f557bbb7a5a19b7fa6d06ba8dcb" +dependencies = [ + "convert_case", + "proc-macro2", + "quote", + "rustc_version", + "syn 2.0.119", + "unicode-xid", +] + +[[package]] +name = "diatomic-waker" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab03c107fafeb3ee9f5925686dbb7a73bc76e3932abb0d2b365cb64b169cf04c" + +[[package]] +name = "digest" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2" +dependencies = [ + "block-buffer", + "const-oid", + "crypto-common 0.2.2", +] + +[[package]] +name = "dispatch2" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e0e367e4e7da84520dedcac1901e4da967309406d1e51017ae1abfb97adbd38" +dependencies = [ + "bitflags", + "block2", + "libc", + "objc2", +] + +[[package]] +name = "displaydoc" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "dlopen2" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e2c5bd4158e66d1e215c49b837e11d62f3267b30c92f1d171c4d3105e3dc4d4" +dependencies = [ + "libc", + "once_cell", + "winapi", +] + +[[package]] +name = "dyn-clone" +version = "1.0.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555" + +[[package]] +name = "ed25519" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29fcf32e6c73d1079f83ab4d782de2d81620346a5f38c6237a86a22f8368980a" +dependencies = [ + "pkcs8", + "serdect", + "signature", +] + +[[package]] +name = "ed25519-dalek" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ebaa1a2bf1290ab3bfe5a7b771d050ebffab2711c19a81691c683a5144a25de" +dependencies = [ + "curve25519-dalek", + "ed25519", + "rand_core", + "serde", + "sha2", + "signature", + "subtle", + "zeroize", +] + +[[package]] +name = "embedded-io" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef1a6892d9eef45c8fa6b9e0086428a2cca8491aca8f787c534a3d6d0bcb3ced" + +[[package]] +name = "embedded-io" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "edd0f118536f44f5ccd48bcb8b111bdc3de888b58c74639dfb034a357d0f206d" + +[[package]] +name = "enum-assoc" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0590c4a94da3372e83493b956755a6e2266830b6e4e3b101afe66e3f39477b91" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "equivalent" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" + +[[package]] +name = "errno" +version = "0.3.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" +dependencies = [ + "libc", + "windows-sys 0.61.2", +] + +[[package]] +name = "fastrand" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223" + +[[package]] +name = "fiat-crypto" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64cd1e32ddd350061ae6edb1b082d7c54915b5c672c389143b9a63403a109f24" + +[[package]] +name = "find-msvc-tools" +version = "0.1.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aedcfb3409746eddb02b9e19ebda1c3394f759a152e48ee875a0844d1b955484" + +[[package]] +name = "fnv" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" + +[[package]] +name = "foldhash" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" + +[[package]] +name = "form_urlencoded" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" +dependencies = [ + "percent-encoding", +] + +[[package]] +name = "futures" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a31d2a3fbaaeb2af2368bbdd904aa8e812d3c04a1ee10d3171f52d556e5d0a3" +dependencies = [ + "futures-channel", + "futures-core", + "futures-executor", + "futures-io", + "futures-sink", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-buffered" +version = "0.2.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4421cb78ee172b6b06080093479d3c50f058e7c81b7d577bbb8d118d551d4cd5" +dependencies = [ + "cordyceps", + "diatomic-waker", + "futures-core", + "pin-project-lite", + "spin 0.10.1", +] + +[[package]] +name = "futures-channel" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1f9e3d69d39e4862ffed03ed071a76f9a13ba1d9109d355b0f0aa6b15e393c4" +dependencies = [ + "futures-core", + "futures-sink", +] + +[[package]] +name = "futures-core" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e" + +[[package]] +name = "futures-executor" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "031b47cf1a3c6cc8bc2fc76cd437f521619387907d469316e7c0bc278f1f5432" +dependencies = [ + "futures-core", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-io" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53c0fa8157de1303bfffdaa1cc2a673bfffb60102f76b0ef4441659124373fed" + +[[package]] +name = "futures-lite" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f78e10609fe0e0b3f4157ffab1876319b5b0db102a2c60dc4626306dc46b44ad" +dependencies = [ + "fastrand", + "futures-core", + "futures-io", + "parking", + "pin-project-lite", +] + +[[package]] +name = "futures-macro" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fb9654ba8355388abeb8dcb4fc62f511300867002afc858860463bdd9fe0c44" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "futures-sink" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1944426bf7d03f1d14f708785e4b33efd750b36d48a157b836b3efc15ede8e1d" + +[[package]] +name = "futures-task" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd" + +[[package]] +name = "futures-util" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc" +dependencies = [ + "futures-channel", + "futures-core", + "futures-io", + "futures-macro", + "futures-sink", + "futures-task", + "memchr", + "pin-project-lite", + "slab", +] + +[[package]] +name = "generator" +version = "0.8.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "54ade96dc9003043bce7c035c85a9df5a858bfb2039c5a2e6fdf00f324f6c551" +dependencies = [ + "cc", + "cfg-if", + "libc", + "log", + "rustversion", + "windows-link", + "windows-result", +] + +[[package]] +name = "generic-array" +version = "0.14.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +dependencies = [ + "typenum", + "version_check", +] + +[[package]] +name = "getrandom" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0" +dependencies = [ + "cfg-if", + "js-sys", + "libc", + "wasi", + "wasm-bindgen", +] + +[[package]] +name = "getrandom" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" +dependencies = [ + "cfg-if", + "js-sys", + "libc", + "r-efi", + "rand_core", + "wasm-bindgen", +] + +[[package]] +name = "ghash" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0d8a4362ccb29cb0b265253fb0a2728f592895ee6854fd9bc13f2ffda266ff1" +dependencies = [ + "opaque-debug", + "polyval", +] + +[[package]] +name = "gloo-timers" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbb143cf96099802033e0d4f4963b19fd2e0b728bcf076cd9cf7f6634f092994" +dependencies = [ + "futures-channel", + "futures-core", + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "h2" +version = "0.4.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d29020232d6aa3fb1daca64c1127cf662cf97f254ae16c18c05b8ab635fc118" +dependencies = [ + "atomic-waker", + "bytes", + "fnv", + "futures-core", + "futures-sink", + "http", + "indexmap", + "slab", + "tokio", + "tokio-util", + "tracing", +] + +[[package]] +name = "hash32" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b0c35f58762feb77d74ebe43bdbc3210f09be9fe6742234d573bacc26ed92b67" +dependencies = [ + "byteorder", +] + +[[package]] +name = "hashbrown" +version = "0.14.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" + +[[package]] +name = "hashbrown" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" +dependencies = [ + "foldhash", +] + +[[package]] +name = "heapless" +version = "0.7.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdc6457c0eb62c71aac4bc17216026d8410337c4126773b9c5daba343f17964f" +dependencies = [ + "atomic-polyfill", + "hash32", + "rustc_version", + "serde", + "spin 0.9.9", + "stable_deref_trait", +] + +[[package]] +name = "heck" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" + +[[package]] +name = "hickory-proto" +version = "0.26.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12b92608f679a6fa515dd1d15c1ff89443026e391200a2c840c7afcba482893d" +dependencies = [ + "data-encoding", + "idna", + "ipnet", + "jni 0.22.4", + "once_cell", + "rand", + "thiserror 2.0.21", + "tinyvec", + "tracing", + "url", +] + +[[package]] +name = "http" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "918d3568bebf352712bc2ef3d46a8bcf1a75b373be6539de198e9105cbbf9ce0" +dependencies = [ + "bytes", + "itoa", +] + +[[package]] +name = "http-body" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca2a8f2913ee65f60facd6a5905613afaa448497a0230cc41ce022d93290bc2c" +dependencies = [ + "bytes", + "http", +] + +[[package]] +name = "http-body-util" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23169fe34a5fbcdd3f3862e78fb9b6fccd5f02a6dc6f732547005d45631ce71c" +dependencies = [ + "bytes", + "futures-core", + "http", + "http-body", + "pin-project-lite", +] + +[[package]] +name = "httparse" +version = "1.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" + +[[package]] +name = "httpdate" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" + +[[package]] +name = "hybrid-array" +version = "0.4.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27f864f10dfb56725ce5ce5472bc52252c8f93a4ab86327122cebf62c5f59a17" +dependencies = [ + "typenum", +] + +[[package]] +name = "hyper" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c3e324da4c95177d6291d4c8730197c0d1822f8a9766814a4a44fa5ab797c9c" +dependencies = [ + "atomic-waker", + "bytes", + "futures-channel", + "futures-core", + "h2", + "http", + "http-body", + "httparse", + "httpdate", + "itoa", + "pin-project-lite", + "smallvec", + "tokio", + "want", +] + +[[package]] +name = "hyper-rustls" +version = "0.27.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfa8e654703247911e29c23fbeaa261834bd9bb74efba2f9acddc37bfb127f53" +dependencies = [ + "http", + "hyper", + "hyper-util", + "rustls", + "tokio", + "tokio-rustls", + "tower-service", +] + +[[package]] +name = "hyper-util" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddc03d96684f9226b8a787cdb71488417b53ab5ea8fdb1dac946cb9431cc8bff" +dependencies = [ + "base64 0.23.1", + "bytes", + "futures-channel", + "futures-util", + "http", + "http-body", + "httparse", + "hyper", + "ipnet", + "libc", + "percent-encoding", + "pin-project-lite", + "socket2", + "tokio", + "tower-service", + "tracing", +] + +[[package]] +name = "iana-time-zone" +version = "0.1.65" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e31bc9ad994ba00e440a8aa5c9ef0ec67d5cb5e5cb0cc7f8b744a35b389cc470" +dependencies = [ + "android_system_properties", + "core-foundation-sys", + "iana-time-zone-haiku", + "js-sys", + "log", + "wasm-bindgen", + "windows-core", +] + +[[package]] +name = "iana-time-zone-haiku" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" +dependencies = [ + "cc", +] + +[[package]] +name = "icu_collections" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa68d21081c4a05d5a901a1c62add574c77048b6a1c67be3b50ce0b60d4ca513" +dependencies = [ + "displaydoc", + "potential_utf", + "utf8_iter", + "yoke", + "zerofrom", + "zerovec", +] + +[[package]] +name = "icu_locale_core" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d56e28588da92eee5c3201a6eff33fabdd49b62269c8938d4ff050ce4d900deb" +dependencies = [ + "displaydoc", + "litemap", + "tinystr", + "writeable", + "zerovec", +] + +[[package]] +name = "icu_normalizer" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12f9cf5f235641ed274641dd81c3f28d870e276763d0797aeeab72317b1c646f" +dependencies = [ + "icu_collections", + "icu_normalizer_data", + "icu_properties", + "icu_provider", + "smallvec", + "zerovec", +] + +[[package]] +name = "icu_normalizer_data" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1563da1ed3e0b3bf3d74c9b85917ac9c56464d2f57242270c09c9e752f8021a0" + +[[package]] +name = "icu_properties" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e7ca276ad3145661a65914e6daf131ca5120cd3dcee8f8f3214b8875184a148" +dependencies = [ + "displaydoc", + "icu_collections", + "icu_locale_core", + "icu_properties_data", + "icu_provider", + "zerotrie", + "zerovec", +] + +[[package]] +name = "icu_properties_data" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e590f038c1464a96894fd6d10127e90a8be4509f56ff7ecef851b15cee0b7caa" + +[[package]] +name = "icu_provider" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d27bbb9d3abbefac45d55f647c9de1d44aafcd1186eb91879afef17c396c3e73" +dependencies = [ + "displaydoc", + "icu_locale_core", + "writeable", + "yoke", + "zerofrom", + "zerotrie", + "zerovec", +] + +[[package]] +name = "identity-hash" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfdd7caa900436d8f13b2346fe10257e0c05c1f1f9e351f4f5d57c03bd5f45da" + +[[package]] +name = "idna" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" +dependencies = [ + "idna_adapter", + "smallvec", + "utf8_iter", +] + +[[package]] +name = "idna_adapter" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714" +dependencies = [ + "icu_normalizer", + "icu_properties", +] + +[[package]] +name = "igd-next" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de7238d487a9aff61f81b5ab41c0a841532a115a398b5fa92a2fadd0885e2581" +dependencies = [ + "attohttpc", + "bytes", + "futures", + "http", + "http-body-util", + "hyper", + "hyper-util", + "log", + "rand", + "tokio", + "url", + "xmltree", +] + +[[package]] +name = "indexmap" +version = "2.14.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855" +dependencies = [ + "equivalent", + "hashbrown 0.17.1", +] + +[[package]] +name = "inout" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01" +dependencies = [ + "generic-array", +] + +[[package]] +name = "ipconfig" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4d40460c0ce33d6ce4b0630ad68ff63d6661961c48b6dba35e5a4d81cfb48222" +dependencies = [ + "socket2", + "widestring", + "windows-registry", + "windows-result", + "windows-sys 0.61.2", +] + +[[package]] +name = "ipnet" +version = "2.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "791930b43c0d5973160d90a8f3894509f2b273430f5c5c73b668636d0287c5c0" + +[[package]] +name = "iroh" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "885787b892b5e2507c701f132ecbd45d2bad4bbb75157a19427087c16dadb833" +dependencies = [ + "backon", + "blake3", + "bytes", + "cfg_aliases", + "ctutils", + "data-encoding", + "derive_more", + "ed25519-dalek", + "futures-util", + "getrandom 0.4.3", + "http", + "ipnet", + "iroh-base", + "iroh-dns", + "iroh-metrics", + "iroh-relay", + "n0-error", + "n0-future", + "n0-watcher", + "netwatch", + "noq", + "noq-proto", + "noq-udp", + "papaya", + "pin-project", + "portable-atomic", + "portmapper", + "rand", + "reqwest", + "rustc-hash", + "rustls", + "rustls-pki-types", + "serde", + "smallvec", + "strum", + "time", + "tokio", + "tokio-stream", + "tokio-util", + "tracing", + "url", + "wasm-bindgen-futures", +] + +[[package]] +name = "iroh-base" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ae9092be76c9f5429776ab3394f5a5a78dc19dc2524267e884a5b9781546c3f" +dependencies = [ + "curve25519-dalek", + "data-encoding", + "data-encoding-macro", + "derive_more", + "ed25519-dalek", + "getrandom 0.4.3", + "n0-error", + "rand", + "serde", + "url", + "zeroize", +] + +[[package]] +name = "iroh-dns" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80276761b56e904e26ea71d0863beef0bb8d5ab6b639cbd1338e4b615209e3a1" +dependencies = [ + "arc-swap", + "cfg_aliases", + "derive_more", + "iroh-base", + "n0-dns-resolver", + "n0-error", + "n0-future", + "portable-atomic", + "rand", + "rustls", + "simple-dns", + "strum", + "tokio", + "tracing", + "url", +] + +[[package]] +name = "iroh-mainline-address-lookup" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c10c07e607e6c31c99f61a075e8d06a1d621c738797e801afb3e80fed861440e" +dependencies = [ + "derive_more", + "iroh", + "iroh-base", + "iroh-dns", + "n0-error", + "n0-future", + "n0-mainline", + "tokio", + "tracing", + "url", +] + +[[package]] +name = "iroh-mdns-address-lookup" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7afb03c296022fcb724a7bb76dbb8dcca6aac4f4eb65df161e084b7276c93d8c" +dependencies = [ + "data-encoding", + "derive_more", + "futures-util", + "iroh", + "iroh-base", + "n0-error", + "n0-future", + "n0-watcher", + "swarm-discovery", + "tokio", + "tokio-stream", + "tracing", +] + +[[package]] +name = "iroh-metrics" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ede55536349842337f7cdc63012ec33dc637945f3259c98a0763aac364cdf09" +dependencies = [ + "http-body-util", + "hyper", + "hyper-util", + "iroh-metrics-derive", + "itoa", + "n0-error", + "portable-atomic", + "reqwest", + "rustls", + "rustls-platform-verifier", + "ryu", + "serde", + "tokio", + "tokio-util", + "tracing", +] + +[[package]] +name = "iroh-metrics-derive" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ae5f0c4405d1fbc9fb16ff422ca40620e93dc36c30ecaba0c2aee3992b7bd48" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "iroh-relay" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee116a8233f84980574bb8d11e4517503080cd2c3605bafca04ee9c35d708bd9" +dependencies = [ + "blake3", + "bytes", + "cfg_aliases", + "clap", + "dashmap", + "data-encoding", + "derive_more", + "getrandom 0.4.3", + "http", + "http-body-util", + "hyper", + "hyper-util", + "iroh-base", + "iroh-dns", + "iroh-metrics", + "lru", + "n0-error", + "n0-future", + "noq", + "noq-proto", + "num_enum", + "pin-project", + "postcard", + "rand", + "rcgen", + "reloadable-state", + "reqwest", + "rustls", + "rustls-cert-file-reader", + "rustls-cert-reloadable-resolver", + "rustls-pki-types", + "serde", + "serde_bytes", + "serde_json", + "sha1", + "simdutf8", + "strum", + "time", + "tokio", + "tokio-rustls", + "tokio-rustls-acme", + "tokio-util", + "tokio-websockets", + "toml", + "tracing", + "tracing-subscriber", + "url", + "webpki-roots", + "ws_stream_wasm", +] + +[[package]] +name = "iroh-tickets" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da53233419ca36bf521ed45683b7748366f9b233032891eefc2d70567a84ac54" +dependencies = [ + "data-encoding", + "derive_more", + "iroh-base", + "n0-error", + "postcard", + "serde", +] + +[[package]] +name = "is_terminal_polyfill" +version = "1.70.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" + +[[package]] +name = "itoa" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" + +[[package]] +name = "jni" +version = "0.21.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97" +dependencies = [ + "cesu8", + "cfg-if", + "combine", + "jni-sys 0.3.1", + "log", + "thiserror 1.0.69", + "walkdir", + "windows-sys 0.45.0", +] + +[[package]] +name = "jni" +version = "0.22.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5efd9a482cf3a427f00d6b35f14332adc7902ce91efb778580e180ff90fa3498" +dependencies = [ + "cfg-if", + "combine", + "jni-macros", + "jni-sys 0.4.1", + "log", + "simd_cesu8", + "thiserror 2.0.21", + "walkdir", + "windows-link", +] + +[[package]] +name = "jni-macros" +version = "0.22.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a00109accc170f0bdb141fed3e393c565b6f5e072365c3bd58f5b062591560a3" +dependencies = [ + "proc-macro2", + "quote", + "rustc_version", + "simd_cesu8", + "syn 2.0.119", +] + +[[package]] +name = "jni-sys" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41a652e1f9b6e0275df1f15b32661cf0d4b78d4d87ddec5e0c3c20f097433258" +dependencies = [ + "jni-sys 0.4.1", +] + +[[package]] +name = "jni-sys" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6377a88cb3910bee9b0fa88d4f42e1d2da8e79915598f65fb0c7ee14c878af2" +dependencies = [ + "jni-sys-macros", +] + +[[package]] +name = "jni-sys-macros" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38c0b942f458fe50cdac086d2f946512305e5631e720728f2a61aabcd47a6264" +dependencies = [ + "quote", + "syn 2.0.119", +] + +[[package]] +name = "js-sys" +version = "0.3.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7883d941dae510fb2d978fc3fe018c71c9e2892fd38854de3e8b92c2e5ad9cc5" +dependencies = [ + "cfg-if", + "futures-util", + "wasm-bindgen", +] + +[[package]] +name = "lazy_static" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20870f649af7073d53e38067b2a84312175d56ea15217e1b15bc83506ec50afb" + +[[package]] +name = "libc" +version = "0.2.190" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78" + +[[package]] +name = "litemap" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47d9d19d1d6efa0109d2f65ff4c85cddd50bd572e5a00127ab10987290bcefae" + +[[package]] +name = "lock_api" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" +dependencies = [ + "scopeguard", +] + +[[package]] +name = "log" +version = "0.4.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6" + +[[package]] +name = "loom" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "419e0dc8046cb947daa77eb95ae174acfbddb7673b4151f56d1eed8e93fbfaca" +dependencies = [ + "cfg-if", + "generator", + "scoped-tls", + "tracing", + "tracing-subscriber", +] + +[[package]] +name = "lru" +version = "0.18.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef9ac18847474e638e3702b76c65d4eb93428471a74778ef0f1be711717f89b5" +dependencies = [ + "hashbrown 0.17.1", +] + +[[package]] +name = "lru-slab" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4050469837a6ff301cd14c1f8f24f88549e6d548f24f64e2148eb0f72cebc51f" + +[[package]] +name = "mac-addr" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3d25b0e0b648a86960ac23b7ad4abb9717601dec6f66c165f5b037f3f03065f" + +[[package]] +name = "matchers" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1525a2a28c7f4fa0fc98bb91ae755d1e2d1505079e05539e35bc876b5d65ae9" +dependencies = [ + "regex-automata", +] + +[[package]] +name = "memchr" +version = "2.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" + +[[package]] +name = "minimal-lexical" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" + +[[package]] +name = "mio" +version = "1.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1788edb87fdc09c7e26304471e2f5be8cdefb1b6930d6e3985fc02ff53bf86ee" +dependencies = [ + "libc", + "wasi", + "windows-sys 0.61.2", +] + +[[package]] +name = "n0-dns-resolver" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "535c99c9a786bee714155d2ee4fc2477405c2c43536e1bc6a51de09a0d1448f7" +dependencies = [ + "derive_more", + "ipconfig", + "jni 0.22.4", + "lru", + "n0-error", + "n0-future", + "ndk-context", + "rand", + "reqwest", + "rustc-hash", + "rustls", + "simple-dns", + "system-configuration", + "tokio", + "tokio-rustls", + "tracing", + "webpki-roots", +] + +[[package]] +name = "n0-error" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26c59ea174675ce6bc196878851e5049e11b8b1f9af3ba87e4d6df8d828bb001" +dependencies = [ + "n0-error-macros", + "spez", +] + +[[package]] +name = "n0-error-macros" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4412346410d6616f3668c40e53c298e5320c7b856f7a960e5914e442601be79f" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "n0-future" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2ab99dfb861450e68853d34ae665243a88b8c493d01ba957321a1e9b2312bbe" +dependencies = [ + "cfg_aliases", + "derive_more", + "futures-buffered", + "futures-lite", + "futures-util", + "js-sys", + "pin-project", + "send_wrapper", + "tokio", + "tokio-util", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-time", +] + +[[package]] +name = "n0-mainline" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b739fb0145326fa2287f704a5a3bceb5d21c5b6f1b09436403b504f85c2e6ded" +dependencies = [ + "crc", + "dyn-clone", + "ed25519-dalek", + "futures-core", + "lru", + "n0-error", + "noq-udp", + "rand", + "serde", + "serde_bencode", + "serde_bytes", + "sha1_smol", + "tokio", + "tracing", +] + +[[package]] +name = "n0-watcher" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbc618745ad0b7414b149d0517ad8b5573b2fb4d4e2717add3d2446ce1fdd826" +dependencies = [ + "derive_more", + "n0-error", + "n0-future", +] + +[[package]] +name = "ndk-context" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27b02d87554356db9e9a873add8782d4ea6e3e58ea071a9adb9a2e8ddb884a8b" + +[[package]] +name = "netdev" +version = "0.45.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "096c44b66a9b09b99b4dd36b1c295ff3a492039ccecaf55466bd6ddcdba59968" +dependencies = [ + "block2", + "dispatch2", + "dlopen2", + "ipnet", + "jni 0.21.1", + "libc", + "mac-addr", + "ndk-context", + "netlink-packet-core 0.8.2", + "netlink-packet-route 0.31.0", + "netlink-sys 0.8.8", + "objc2", + "objc2-core-foundation", + "objc2-core-wlan", + "objc2-foundation", + "objc2-system-configuration", + "once_cell", + "plist", + "windows-sys 0.61.2", +] + +[[package]] +name = "netdev" +version = "0.46.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3c52c2584961c68f5a6e3356797344061f818c93b8acc9cd6d7e284795e563e" +dependencies = [ + "block2", + "dispatch2", + "dlopen2", + "ipnet", + "jni 0.21.1", + "libc", + "mac-addr", + "ndk-context", + "netlink-packet-core 0.9.0", + "netlink-packet-route 0.33.0", + "netlink-sys 0.9.0", + "objc2-core-foundation", + "objc2-system-configuration", + "once_cell", + "plist", + "windows-sys 0.61.2", +] + +[[package]] +name = "netlink-packet-core" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b897d7bd4f0af82e68d40d0344cf37e97f9c97ddf74a098de3e4da05e96ca395" +dependencies = [ + "paste", +] + +[[package]] +name = "netlink-packet-core" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d6e2daf9a8c2e21302714706860a0e6be02e03d17294ecc66b354ea7d4059dd" + +[[package]] +name = "netlink-packet-route" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2288fcb784eb3defd5fb16f4c4160d5f477de192eac730f43e1d11c24d9a007" +dependencies = [ + "bitflags", + "libc", + "log", + "netlink-packet-core 0.8.2", +] + +[[package]] +name = "netlink-packet-route" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59d48ffc8b73a506e1ff0878528c72668f2bfbc3d875b6be890a96be5d0d5576" +dependencies = [ + "bitflags", + "libc", + "log", + "netlink-packet-core 0.9.0", + "zerocopy", +] + +[[package]] +name = "netlink-proto" +version = "0.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93af8261786086024cd5e96e0a991dd65ced07bbf7c233a487bbc96b971d5539" +dependencies = [ + "bytes", + "futures-channel", + "futures-util", + "log", + "netlink-packet-core 0.8.2", + "netlink-sys 0.8.8", + "thiserror 2.0.21", +] + +[[package]] +name = "netlink-sys" +version = "0.8.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd6c30ed10fa69cc491d491b85cc971f6bdeb8e7367b7cde2ee6cc878d583fae" +dependencies = [ + "bytes", + "futures-util", + "libc", + "log", + "tokio", +] + +[[package]] +name = "netlink-sys" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c99d38e00b420df49e940fe0826e667c3dad82ac68eb4c2bbf754c1c14a83a10" +dependencies = [ + "bytes", + "libc", + "log", +] + +[[package]] +name = "netwatch" +version = "0.19.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39da9cad5f23aa43401f09497d3b280e51b5feba115d9ffbf38ca35d6ff95e96" +dependencies = [ + "atomic-waker", + "bytes", + "cfg_aliases", + "derive_more", + "ipnet", + "js-sys", + "libc", + "n0-error", + "n0-future", + "n0-watcher", + "netdev 0.45.1", + "netdev 0.46.3", + "netlink-packet-core 0.8.2", + "netlink-packet-route 0.31.0", + "netlink-proto", + "netlink-sys 0.8.8", + "noq-udp", + "objc2-core-foundation", + "objc2-system-configuration", + "pin-project-lite", + "serde", + "socket2", + "time", + "tokio", + "tokio-util", + "tracing", + "web-sys", + "windows", + "windows-result", + "wmi", +] + +[[package]] +name = "nom" +version = "7.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" +dependencies = [ + "memchr", + "minimal-lexical", +] + +[[package]] +name = "noq" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b78be567e796cfa74bb9bdc4117790af2d505eb887019cf8803244353eb09d89" +dependencies = [ + "bytes", + "cfg_aliases", + "derive_more", + "noq-proto", + "noq-udp", + "pin-project-lite", + "rustc-hash", + "rustls", + "socket2", + "thiserror 2.0.21", + "tokio", + "tokio-stream", + "tracing", + "web-time", +] + +[[package]] +name = "noq-proto" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c1e5b6fe668491eca022f745a0a9402585626c73a7b839b3424ace15d6a9c8f" +dependencies = [ + "aes-gcm", + "bytes", + "derive_more", + "enum-assoc", + "getrandom 0.4.3", + "identity-hash", + "lru-slab", + "rand", + "rand_pcg", + "ring", + "rustc-hash", + "rustls", + "rustls-pki-types", + "rustls-platform-verifier", + "slab", + "sorted-index-buffer", + "thiserror 2.0.21", + "tinyvec", + "tracing", + "web-time", +] + +[[package]] +name = "noq-udp" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4dc50afea61aff926e150a36c31f06094608848e114a3fe667d76ec233163b1c" +dependencies = [ + "cfg_aliases", + "libc", + "socket2", + "tracing", + "windows-sys 0.61.2", +] + +[[package]] +name = "nu-ansi-term" +version = "0.50.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "num-bigint" +version = "0.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c89e69e7e0f03bea5ef08013795c25018e101932225a656383bd384495ecc367" +dependencies = [ + "num-integer", + "num-traits", +] + +[[package]] +name = "num-conv" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "521739c6d2bac4aa25192232afe6841231376b2b26d4d9fae5ecf8ca5772e441" + +[[package]] +name = "num-integer" +version = "0.1.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ce2d95d4b3734dc35aa2f45e1aa22cd416814592a4f9d9205e11affd5b8e10b" +dependencies = [ + "num-traits", +] + +[[package]] +name = "num-traits" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +dependencies = [ + "autocfg", +] + +[[package]] +name = "num_enum" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d0bca838442ec211fa11de3a8b0e0e8f3a4522575b5c4c06ed722e005036f26" +dependencies = [ + "num_enum_derive", + "rustversion", +] + +[[package]] +name = "num_enum_derive" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "680998035259dcfcafe653688bf2aa6d3e2dc05e98be6ab46afb089dc84f1df8" +dependencies = [ + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "objc2" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08849bbd4767dfae9457696856ae1c84fe4e0281bbe4a7abff2d0e06fb7981f8" +dependencies = [ + "objc2-encode", +] + +[[package]] +name = "objc2-core-foundation" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a180dd8642fa45cdb7dd721cd4c11b1cadd4929ce112ebd8b9f5803cc79d536" +dependencies = [ + "bitflags", + "block2", + "dispatch2", + "libc", + "objc2", +] + +[[package]] +name = "objc2-core-wlan" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c71e34919aba0d701380d911702455038a8a3587467fe0141d6a71501e7ffe48" +dependencies = [ + "bitflags", + "objc2", + "objc2-core-foundation", + "objc2-foundation", + "objc2-security", + "objc2-security-foundation", +] + +[[package]] +name = "objc2-encode" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef25abbcd74fb2609453eb695bd2f860d389e457f67dc17cafc8b8cbc89d0c33" + +[[package]] +name = "objc2-foundation" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3e0adef53c21f888deb4fa59fc59f7eb17404926ee8a6f59f5df0fd7f9f3272" +dependencies = [ + "bitflags", + "block2", + "libc", + "objc2", + "objc2-core-foundation", +] + +[[package]] +name = "objc2-security" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "709fe137109bd1e8b5a99390f77a7d8b2961dafc1a1c5db8f2e60329ad6d895a" +dependencies = [ + "bitflags", + "objc2", + "objc2-core-foundation", +] + +[[package]] +name = "objc2-security-foundation" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef76382e9cedd18123099f17638715cc3d81dba3637d4c0d39ab69df2ef345a5" +dependencies = [ + "objc2", + "objc2-foundation", +] + +[[package]] +name = "objc2-system-configuration" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7216bd11cbda54ccabcab84d523dc93b858ec75ecfb3a7d89513fa22464da396" +dependencies = [ + "bitflags", + "dispatch2", + "libc", + "objc2", + "objc2-core-foundation", + "objc2-security", +] + +[[package]] +name = "oid-registry" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12f40cff3dde1b6087cc5d5f5d4d65712f34016a03ed60e9c08dcc392736b5b7" +dependencies = [ + "asn1-rs", +] + +[[package]] +name = "once_cell" +version = "1.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" +dependencies = [ + "critical-section", + "portable-atomic", +] + +[[package]] +name = "once_cell_polyfill" +version = "1.70.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" + +[[package]] +name = "opaque-debug" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" + +[[package]] +name = "openssl-probe" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c87def4c32ab89d880effc9e097653c8da5d6ef28e6b539d313baaacfbafcbe" + +[[package]] +name = "papaya" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da2442474a9404698c42509b8967f437249dbc7b50493e83020333d3943ec0ae" +dependencies = [ + "equivalent", + "seize", +] + +[[package]] +name = "parking" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba" + +[[package]] +name = "parking_lot" +version = "0.12.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" +dependencies = [ + "lock_api", + "parking_lot_core", +] + +[[package]] +name = "parking_lot_core" +version = "0.9.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" +dependencies = [ + "cfg-if", + "libc", + "redox_syscall", + "smallvec", + "windows-link", +] + +[[package]] +name = "paste" +version = "1.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" + +[[package]] +name = "pem" +version = "3.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d30c53c26bc5b31a98cd02d20f25a7c8567146caf63ed593a9d87b2775291be" +dependencies = [ + "base64 0.22.1", + "serde_core", +] + +[[package]] +name = "pem" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d354a98a3d1251555de99e8fdd8afda05573c31b82f59063a7b0a29b5527f120" +dependencies = [ + "base64 0.23.1", + "serde_core", +] + +[[package]] +name = "pem-rfc7468" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6305423e0e7738146434843d1694d621cce767262b2a86910beab705e4493d9" +dependencies = [ + "base64ct", +] + +[[package]] +name = "percent-encoding" +version = "2.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" + +[[package]] +name = "pharos" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9567389417feee6ce15dd6527a8a1ecac205ef62c2932bcf3d9f6fc5b78b414" +dependencies = [ + "futures", + "rustc_version", +] + +[[package]] +name = "pin-project" +version = "1.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2466b2336ed02bcdca6b294417127b90ec92038d1d5c4fbeac971a922e0e0924" +dependencies = [ + "pin-project-internal", +] + +[[package]] +name = "pin-project-internal" +version = "1.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c96395f0a926bc13b1c17622aaddda1ecb55d49c8f1bf9777e4d877800a43f8b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "pin-project-lite" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" + +[[package]] +name = "pkcs8" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "451913da69c775a56034ea8d9003d27ee8948e12443eae7c038ba100a4f21cb7" +dependencies = [ + "der", + "spki", +] + +[[package]] +name = "plist" +version = "1.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2896bade328c13f7042a297ea5ac5b0951f6cf989dea5f32c2fd98da398195cb" +dependencies = [ + "base64 0.23.1", + "indexmap", + "quick-xml", + "serde", + "time", +] + +[[package]] +name = "polyval" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d1fe60d06143b2430aa532c94cfe9e29783047f06c0d7fd359a9a51b729fa25" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "opaque-debug", + "universal-hash", +] + +[[package]] +name = "portable-atomic" +version = "1.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85" +dependencies = [ + "serde", +] + +[[package]] +name = "portmapper" +version = "0.19.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca97242f016e090a25330613bc2382aab65eb22f9149dbe84d8f8e711d49a530" +dependencies = [ + "base64 0.22.1", + "bytes", + "derive_more", + "hyper-util", + "igd-next", + "iroh-metrics", + "libc", + "n0-error", + "n0-future", + "netwatch", + "num_enum", + "rand", + "serde", + "smallvec", + "socket2", + "time", + "tokio", + "tokio-util", + "tower-layer", + "tracing", + "url", +] + +[[package]] +name = "postcard" +version = "1.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6764c3b5dd454e283a30e6dfe78e9b31096d9e32036b5d1eaac7a6119ccb9a24" +dependencies = [ + "cobs", + "embedded-io 0.4.0", + "embedded-io 0.6.1", + "heapless", + "postcard-derive", + "serde", +] + +[[package]] +name = "postcard-derive" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0232bd009a197ceec9cc881ba46f727fcd8060a2d8d6a9dde7a69030a6fe2bb" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "potential_utf" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d83eb9bc6d8e5cf568e7a1101d60ee05e81ed50ea106026f3d18deeb046d7661" +dependencies = [ + "zerovec", +] + +[[package]] +name = "powerfmt" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a6394b9e965e73d0a289ee54f589087e2c676aedf60885baf52c76b771e4958" + +[[package]] +name = "proc-macro-crate" +version = "3.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e67ba7e9b2b56446f1d419b1d807906278ffa1a658a8a5d8a39dcb1f5a78614f" +dependencies = [ + "toml_edit", +] + +[[package]] +name = "proc-macro2" +version = "1.0.107" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "quick-xml" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41b1177fdf999d2321d3fb46ff47159d9c1fb9ad66a4879f8c50a0b504615e9b" +dependencies = [ + "memchr", +] + +[[package]] +name = "quote" +version = "1.0.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "r-efi" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" + +[[package]] +name = "rand" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65c9fb96cbc91e3478eaae79a69fcd3f1ae4ad052e471fe6732fff548984b4af" +dependencies = [ + "chacha20", + "getrandom 0.4.3", + "rand_core", +] + +[[package]] +name = "rand_core" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" + +[[package]] +name = "rand_pcg" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "caa0f4137e1c0a72f4c651489402276c8e8e1cf081f3b0ba156d2cbeef09e86a" +dependencies = [ + "rand_core", +] + +[[package]] +name = "rcgen" +version = "0.14.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8774e05a7d0de114588e6a28fe7e71694b82614ed569d86d8b389dfbc98b8ad8" +dependencies = [ + "pem 4.0.0", + "ring", + "rustls-pki-types", + "time", + "x509-parser", + "yasna", +] + +[[package]] +name = "redox_syscall" +version = "0.5.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" +dependencies = [ + "bitflags", +] + +[[package]] +name = "regex-automata" +version = "0.4.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.8.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" + +[[package]] +name = "reloadable-core" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1dc20ac1418988b60072d783c9f68e28a173fb63493c127952f6face3b40c6e0" + +[[package]] +name = "reloadable-state" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3853ef78d45b50f8b989896304a85239539d39b7f866a000e8846b9b72d74ce8" +dependencies = [ + "arc-swap", + "reloadable-core", + "tokio", +] + +[[package]] +name = "reqwest" +version = "0.13.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16a1cfa75cc186dd73d5818e510e042e40927bccc9c236b061cea97e1eb08029" +dependencies = [ + "base64 0.23.1", + "bytes", + "futures-core", + "futures-util", + "http", + "http-body", + "http-body-util", + "hyper", + "hyper-rustls", + "hyper-util", + "js-sys", + "log", + "percent-encoding", + "pin-project-lite", + "rustls", + "rustls-pki-types", + "rustls-platform-verifier", + "serde", + "serde_json", + "sync_wrapper", + "tokio", + "tokio-rustls", + "tokio-util", + "tower", + "tower-http", + "tower-service", + "url", + "wasm-bindgen", + "wasm-bindgen-futures", + "wasm-streams", + "web-sys", +] + +[[package]] +name = "ring" +version = "0.17.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" +dependencies = [ + "cc", + "cfg-if", + "getrandom 0.2.17", + "libc", + "untrusted", + "windows-sys 0.52.0", +] + +[[package]] +name = "rustc-hash" +version = "2.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d" + +[[package]] +name = "rustc_version" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" +dependencies = [ + "semver", +] + +[[package]] +name = "rusticata-macros" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "faf0c4a6ece9950b9abdb62b1cfcf2a68b3b67a10ba445b3bb85be2a293d0632" +dependencies = [ + "nom", +] + +[[package]] +name = "rustls" +version = "0.23.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d41d731c7d2f962d1ccc364cec258de3c0e93b38c2fb3ba97ac74513048d634" +dependencies = [ + "log", + "once_cell", + "ring", + "rustls-pki-types", + "rustls-webpki", + "subtle", + "zeroize", +] + +[[package]] +name = "rustls-cert-file-reader" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8bb47c2a50fdfdaf95b0ac8b12620fc327da1fd4adbb30d0c56d866b005873ff" +dependencies = [ + "rustls-cert-read", + "rustls-pki-types", + "thiserror 2.0.21", + "tokio", +] + +[[package]] +name = "rustls-cert-read" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd46e8c5ae4de3345c4786a83f99ec7aff287209b9e26fa883c473aeb28f19d5" +dependencies = [ + "rustls-pki-types", +] + +[[package]] +name = "rustls-cert-reloadable-resolver" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe1baa8a3a1f05eaa9fc55aed4342867f70e5c170ea3bfed1b38c51a4857c0c8" +dependencies = [ + "futures-util", + "reloadable-state", + "rustls", + "rustls-cert-read", + "thiserror 2.0.21", +] + +[[package]] +name = "rustls-native-certs" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dab5152771c58876a2146916e53e35057e1a4dfa2b9df0f0305b07f611fdea4d" +dependencies = [ + "openssl-probe", + "rustls-pki-types", + "schannel", + "security-framework", +] + +[[package]] +name = "rustls-pki-types" +version = "1.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f4925028c7eb5d1fcdaf196971378ed9d2c1c4efc7dc5d011256f76c99c0a96" +dependencies = [ + "web-time", + "zeroize", +] + +[[package]] +name = "rustls-platform-verifier" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1167586491e2b18b8bfbb293e8180ec17c201c4f076d7cb3070ca964e7598f98" +dependencies = [ + "core-foundation", + "core-foundation-sys", + "jni 0.22.4", + "log", + "once_cell", + "rustls", + "rustls-native-certs", + "rustls-platform-verifier-android", + "rustls-webpki", + "security-framework", + "security-framework-sys", + "webpki-root-certs", + "windows-sys 0.61.2", +] + +[[package]] +name = "rustls-platform-verifier-android" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eec689c0bc40ff2458a5977b6619cb718087084a18e02a131c599b62d05e1a5f" + +[[package]] +name = "rustls-webpki" +version = "0.103.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3c3cf1d8b1e7d4927e2d154c3fcb02979afb9939629c62cd9048d4f07b60ac2" +dependencies = [ + "ring", + "rustls-pki-types", + "untrusted", +] + +[[package]] +name = "rustversion" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f" + +[[package]] +name = "ryu" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f" + +[[package]] +name = "same-file" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "schannel" +version = "0.1.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91c1b7e4904c873ef0710c1f407dde2e6287de2bebc1bbbf7d430bb7cbffd939" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "scoped-tls" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294" + +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + +[[package]] +name = "security-framework" +version = "3.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7f4bc775c73d9a02cde8bf7b2ec4c9d12743edf609006c7facc23998404cd1d" +dependencies = [ + "bitflags", + "core-foundation", + "core-foundation-sys", + "libc", + "security-framework-sys", +] + +[[package]] +name = "security-framework-sys" +version = "2.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ce2691df843ecc5d231c0b14ece2acc3efb62c0a398c7e1d875f3983ce020e3" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "seize" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b55fb86dfd3a2f5f76ea78310a88f96c4ea21a3031f8d212443d56123fd0521" + +[[package]] +name = "semver" +version = "1.0.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd" + +[[package]] +name = "send_wrapper" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd0b0ec5f1c1ca621c432a25813d8d60c88abe6d3e08a3eb9cf37d97a0fe3d73" + +[[package]] +name = "serde" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba" +dependencies = [ + "serde_core", + "serde_derive", +] + +[[package]] +name = "serde_bencode" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a70dfc7b7438b99896e7f8992363ab8e2c4ba26aa5ec675d32d1c3c2c33d413e" +dependencies = [ + "serde", + "serde_bytes", +] + +[[package]] +name = "serde_bytes" +version = "0.11.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5d440709e79d88e51ac01c4b72fc6cb7314017bb7da9eeff678aa94c10e3ea8" +dependencies = [ + "serde", + "serde_core", +] + +[[package]] +name = "serde_core" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "serde_json" +version = "1.0.152" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1741ab7a6cc54a03a89b5d563ed60075c277d9e3cfa73ad0c1f23f23974703c6" +dependencies = [ + "itoa", + "memchr", + "serde", + "serde_core", + "zmij", +] + +[[package]] +name = "serde_spanned" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e7523beb55eece201a2356bee0bbca0d1ab466c14c07703b2e0ee6d42cb0c2c" +dependencies = [ + "serde_core", +] + +[[package]] +name = "serdect" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "66cf8fedced2fcf12406bcb34223dffb92eaf34908ede12fed414c82b7f00b3e" +dependencies = [ + "base16ct", + "serde", +] + +[[package]] +name = "sha1" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aacc4cc499359472b4abe1bf11d0b12e688af9a805fa5e3016f9a386dc2d0214" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "digest", +] + +[[package]] +name = "sha1_smol" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbfa15b3dddfee50a0fff136974b3e1bde555604ba463834a7eb7deb6417705d" + +[[package]] +name = "sha2" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "digest", +] + +[[package]] +name = "sharded-slab" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" +dependencies = [ + "lazy_static", +] + +[[package]] +name = "shlex" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba" + +[[package]] +name = "signal-hook-registry" +version = "1.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b" +dependencies = [ + "errno", + "libc", +] + +[[package]] +name = "signature" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28d567dcbaf0049cb8ac2608a76cd95ff9e4412e1899d389ee400918ca7537f5" +dependencies = [ + "rand_core", +] + +[[package]] +name = "simd_cesu8" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11031e251abf8611c80f460e19dbdeb54a66db918e49c65a7065b46ac7aec520" +dependencies = [ + "rustc_version", + "simdutf8", +] + +[[package]] +name = "simdutf8" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e" + +[[package]] +name = "simple-dns" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b6f884fa9a8d48101774bfbd3aeb81e968dd22cffd19a372da69f183db22c1a" +dependencies = [ + "bitflags", +] + +[[package]] +name = "slab" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" + +[[package]] +name = "smallvec" +version = "1.16.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b3dc8af474f516a851ff4bd12db780f948b9250ad37211e4eec0bccea54e01b" + +[[package]] +name = "smol_str" +version = "0.1.24" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fad6c857cbab2627dcf01ec85a623ca4e7dcb5691cbaa3d7fb7653671f0d09c9" + +[[package]] +name = "socket2" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3d1e2c7f27f8d4cb10542a02c49005dbd6e93095799d6f3be745fae9f8fedd4" +dependencies = [ + "libc", + "windows-sys 0.61.2", +] + +[[package]] +name = "sorted-index-buffer" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea06cc588e43c632923a55450401b8f25e628131571d4e1baea1bdfdb2b5ed06" + +[[package]] +name = "spez" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c87e960f4dca2788eeb86bbdde8dd246be8948790b7618d656e68f9b720a86e8" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "spin" +version = "0.9.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3763264f6b73151db08c50ff20d7d8a0b8796e021cdea7ceedad07b80155fa0e" +dependencies = [ + "lock_api", +] + +[[package]] +name = "spin" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "023a211cb3138dbc438680b32560ad89f699977624c9f8dbb95a47d5b4c07dd3" + +[[package]] +name = "spki" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ef958a98b9d5da290cfc78946e9f3e61e1e62a18db0d92cac0b83cc161491a9" +dependencies = [ + "base64ct", + "der", +] + +[[package]] +name = "stable_deref_trait" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" + +[[package]] +name = "strsim" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" + +[[package]] +name = "strum" +version = "0.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9628de9b8791db39ceda2b119bbe13134770b56c138ec1d3af810d045c04f9bd" +dependencies = [ + "strum_macros", +] + +[[package]] +name = "strum_macros" +version = "0.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab85eea0270ee17587ed4156089e10b9e6880ee688791d45a905f5b1ca36f664" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "subtle" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" + +[[package]] +name = "swarm-discovery" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02d5d53c7843e046d7dddcf13254388f432306bbc538cd0029224e2eb6817477" +dependencies = [ + "acto", + "hickory-proto", + "rand", + "socket2", + "thiserror 2.0.21", + "tokio", + "tracing", +] + +[[package]] +name = "syn" +version = "2.0.119" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "3.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d62a2e0561533f2ca2561d0cf27fd9fedb640a1bf2616ff5d5c80d99017faadc" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "sync_wrapper" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263" +dependencies = [ + "futures-core", +] + +[[package]] +name = "synstructure" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "synstructure" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "901704edd0dfe137f1987838ee4f259e4e063c31371bdb423f7ae38ec6f77f02" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "system-configuration" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "501336eb7ba9e417300a6a0fa985721065467aa83a6dcf0422a8e43e4c0328fa" +dependencies = [ + "bitflags", + "core-foundation", + "system-configuration-sys", +] + +[[package]] +name = "system-configuration-sys" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e1d1b10ced5ca923a1fcb8d03e96b8d3268065d724548c0211415ff6ac6bac4" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "thiserror" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" +dependencies = [ + "thiserror-impl 1.0.69", +] + +[[package]] +name = "thiserror" +version = "2.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e" +dependencies = [ + "thiserror-impl 2.0.21", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "thread_local" +version = "1.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ad99c4c6d32803332c548b1af0540b357b3f5fc0be8f6c6bfe8b2e6ae784070" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "time" +version = "0.3.55" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdb87b95ec50ddfa440816d227a17b2ccbdda963a316a727fda0fc4334f7d134" +dependencies = [ + "deranged", + "js-sys", + "num-conv", + "powerfmt", + "serde_core", + "time-core", + "time-macros", +] + +[[package]] +name = "time-core" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e1c906769ad99c88eaa54e728060edef082f8e358ff32030cb7c7d315e81109" + +[[package]] +name = "time-macros" +version = "0.2.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e689342a48d2ea927c87ea50cabf8594854bf940e9310208848d680d668ed85" +dependencies = [ + "num-conv", + "time-core", +] + +[[package]] +name = "tinystr" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1e27c91459209c2986af3dcf603a5a74a4368754ce37414f59acc971167f643" +dependencies = [ + "displaydoc", + "zerovec", +] + +[[package]] +name = "tinyvec" +version = "1.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd3ca314f692efd6c868f8408f53fe444634a845f96c028b97d35f6a1f79f0ee" + +[[package]] +name = "tokio" +version = "1.53.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e95f91fcc7a621e8b030f6aa23c71fe9838ae2fb4d8118b75602a328f5144044" +dependencies = [ + "bytes", + "libc", + "mio", + "parking_lot", + "pin-project-lite", + "signal-hook-registry", + "socket2", + "tokio-macros", + "windows-sys 0.61.2", +] + +[[package]] +name = "tokio-macros" +version = "2.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78773a2a397f451582ce068015985c33193cf6dea8b74d2a639fe457b2f07b0e" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "tokio-rustls" +version = "0.26.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9cc2678c2cdd569ef8215e2afd7954ada2ae20b4fdd2c5fe6139a3b02d105db" +dependencies = [ + "rustls", + "tokio", +] + +[[package]] +name = "tokio-rustls-acme" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1af8573b15fdad8d66da116198cd8fd8d87ff62a67c1c6c3df7f62da1170793f" +dependencies = [ + "async-trait", + "base64 0.22.1", + "chrono", + "futures", + "log", + "num-bigint", + "pem 3.0.6", + "proc-macro2", + "rcgen", + "reqwest", + "ring", + "rustls", + "serde", + "serde_json", + "thiserror 2.0.21", + "time", + "tokio", + "tokio-rustls", + "webpki-roots", + "x509-parser", +] + +[[package]] +name = "tokio-stream" +version = "0.1.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3d06f0b082ba57c26b79407372e57cf2a1e28124f78e9479fe80322cf53420b" +dependencies = [ + "futures-core", + "pin-project-lite", + "tokio", + "tokio-util", +] + +[[package]] +name = "tokio-util" +version = "0.7.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e464cf451ba96ebfc6f9b6542f17ee8b8956e33f1e40d9690624e59d7a7f8a4b" +dependencies = [ + "bytes", + "futures-core", + "futures-sink", + "futures-util", + "libc", + "pin-project-lite", + "tokio", +] + +[[package]] +name = "tokio-websockets" +version = "0.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d52efb639344a7c6adb8e62c6f3d2c19c001ff1b79a5041ba1c6ed42e19c6aa5" +dependencies = [ + "base64 0.22.1", + "bytes", + "futures-core", + "futures-sink", + "getrandom 0.4.3", + "http", + "httparse", + "rand", + "ring", + "rustls-pki-types", + "sha1_smol", + "simdutf8", + "tokio", + "tokio-rustls", + "tokio-util", +] + +[[package]] +name = "toml" +version = "1.1.8+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20489e00e4d8741d6be680764cc12e270655e375a20d1011e844a9c3379e678d" +dependencies = [ + "indexmap", + "serde_core", + "serde_spanned", + "toml_datetime", + "toml_parser", + "toml_writer", + "winnow", +] + +[[package]] +name = "toml_datetime" +version = "1.1.2+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b86d767906c6c42421dcba507eb9d203e779497710a47782a224bb871653053" +dependencies = [ + "serde_core", +] + +[[package]] +name = "toml_edit" +version = "0.25.17+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3641d5bbb5349a79e1020a242d251efbc546ad8048d133958323ce9c40a9c9c" +dependencies = [ + "indexmap", + "toml_datetime", + "toml_parser", + "winnow", +] + +[[package]] +name = "toml_parser" +version = "1.1.5+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baa693a8032d7e1cada7d0041e96126df243179ff061456783ac7f12bda4744c" +dependencies = [ + "winnow", +] + +[[package]] +name = "toml_writer" +version = "1.1.3+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06bdbd8cfc056b8d2e2e85f29b56a3bdbecb527cef81eb39e3e7b98af4652770" + +[[package]] +name = "tower" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebe5ef63511595f1344e2d5cfa636d973292adc0eec1f0ad45fae9f0851ab1d4" +dependencies = [ + "futures-core", + "futures-util", + "pin-project-lite", + "sync_wrapper", + "tokio", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-http" +version = "0.6.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cfcf7e2740e6fc6d4d688b4ef00650406bb94adf4731e43c096c3a19fe40840" +dependencies = [ + "bitflags", + "bytes", + "futures-util", + "http", + "http-body", + "pin-project-lite", + "tower", + "tower-layer", + "tower-service", + "url", +] + +[[package]] +name = "tower-layer" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" + +[[package]] +name = "tower-service" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" + +[[package]] +name = "tracing" +version = "0.1.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100" +dependencies = [ + "log", + "pin-project-lite", + "tracing-attributes", + "tracing-core", +] + +[[package]] +name = "tracing-attributes" +version = "0.1.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "tracing-core" +version = "0.1.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a" +dependencies = [ + "once_cell", + "valuable", +] + +[[package]] +name = "tracing-log" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" +dependencies = [ + "log", + "once_cell", + "tracing-core", +] + +[[package]] +name = "tracing-subscriber" +version = "0.3.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb7f578e5945fb242538965c2d0b04418d38ec25c79d160cd279bf0731c8d319" +dependencies = [ + "matchers", + "nu-ansi-term", + "once_cell", + "regex-automata", + "sharded-slab", + "smallvec", + "thread_local", + "tracing", + "tracing-core", + "tracing-log", +] + +[[package]] +name = "try-lock" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" + +[[package]] +name = "typenum" +version = "1.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" + +[[package]] +name = "unicode-ident" +version = "1.0.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d245f478577f809a851594d02313b640fb437e0bb33866753cff937863096954" + +[[package]] +name = "unicode-segmentation" +version = "1.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8" + +[[package]] +name = "unicode-xid" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" + +[[package]] +name = "universal-hash" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea" +dependencies = [ + "crypto-common 0.1.7", + "subtle", +] + +[[package]] +name = "untrusted" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" + +[[package]] +name = "url" +version = "2.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" +dependencies = [ + "form_urlencoded", + "idna", + "percent-encoding", + "serde", + "serde_derive", +] + +[[package]] +name = "utf8_iter" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" + +[[package]] +name = "utf8parse" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" + +[[package]] +name = "valuable" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" + +[[package]] +name = "version_check" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" + +[[package]] +name = "walkdir" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" +dependencies = [ + "same-file", + "winapi-util", +] + +[[package]] +name = "want" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec4cdd0dd910afe868b7ef477227d8d538b46b3075031afee8a9f2acb0a2ed0b" +dependencies = [ + "try-lock", +] + +[[package]] +name = "wasi" +version = "0.11.1+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" + +[[package]] +name = "wasm-bindgen" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9bb54f33acc68fd454578d9820b0bde1a1a3d17aa17bb7b6595806d02886d409" +dependencies = [ + "cfg-if", + "once_cell", + "rustversion", + "wasm-bindgen-macro", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-futures" +version = "0.4.79" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3cbab34de2d982e9b48e18d216d04c4a6f641066ff19ffb699980f591ee3610e" +dependencies = [ + "js-sys", + "tokio", + "wasm-bindgen", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e29d0c35b16e224a7eeb5cd2d25e3e1968fbd65604117b44d3b789d00ee8535" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f501a8bc3719dba86ef8ae4728879c08001bea749eb1333ac5b91e040e2a6b7" +dependencies = [ + "bumpalo", + "proc-macro2", + "quote", + "syn 3.0.7", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23f0c9c52aa7cd7d77769a4cfe2a9adb1b331f489a41d912ce14513d5ab995c6" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "wasm-streams" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d1ec4f6517c9e11ae630e200b2b65d193279042e28edd4a2cda233e46670bbb" +dependencies = [ + "futures-util", + "js-sys", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "web-sys" +version = "0.3.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88261b9deccee56594c11a3460c462c41f58d148598fe70ad77070126a68aba4" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "web-time" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "webpki-root-certs" +version = "1.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b96554aa2acc8ccdb7e1c9a58a7a68dd5d13bccc69cd124cb09406db612a1c9b" +dependencies = [ + "rustls-pki-types", +] + +[[package]] +name = "webpki-roots" +version = "1.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7dcd9d09a39985f5344844e66b0c530a33843579125f23e21e9f0f220850f22a" +dependencies = [ + "rustls-pki-types", +] + +[[package]] +name = "widestring" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72069c3113ab32ab29e5584db3c6ec55d416895e60715417b5b883a357c3e471" + +[[package]] +name = "winapi" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +dependencies = [ + "winapi-i686-pc-windows-gnu", + "winapi-x86_64-pc-windows-gnu", +] + +[[package]] +name = "winapi-i686-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" + +[[package]] +name = "winapi-util" +version = "0.1.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "winapi-x86_64-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" + +[[package]] +name = "windows" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "527fadee13e0c05939a6a05d5bd6eec6cd2e3dbd648b9f8e447c6518133d8580" +dependencies = [ + "windows-collections", + "windows-core", + "windows-future", + "windows-numerics", +] + +[[package]] +name = "windows-collections" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23b2d95af1a8a14a3c7367e1ed4fc9c20e0a26e79551b1454d72583c97cc6610" +dependencies = [ + "windows-core", +] + +[[package]] +name = "windows-core" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" +dependencies = [ + "windows-implement", + "windows-interface", + "windows-link", + "windows-result", + "windows-strings", +] + +[[package]] +name = "windows-future" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1d6f90251fe18a279739e78025bd6ddc52a7e22f921070ccdc67dde84c605cb" +dependencies = [ + "windows-core", + "windows-link", + "windows-threading", +] + +[[package]] +name = "windows-implement" +version = "0.60.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "windows-interface" +version = "0.59.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + +[[package]] +name = "windows-numerics" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e2e40844ac143cdb44aead537bbf727de9b044e107a0f1220392177d15b0f26" +dependencies = [ + "windows-core", + "windows-link", +] + +[[package]] +name = "windows-registry" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02752bf7fbdcce7f2a27a742f798510f3e5ad88dbe84871e5168e2120c3d5720" +dependencies = [ + "windows-link", + "windows-result", + "windows-strings", +] + +[[package]] +name = "windows-result" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-strings" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-sys" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" +dependencies = [ + "windows-targets 0.42.2", +] + +[[package]] +name = "windows-sys" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +dependencies = [ + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-sys" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-targets" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" +dependencies = [ + "windows_aarch64_gnullvm 0.42.2", + "windows_aarch64_msvc 0.42.2", + "windows_i686_gnu 0.42.2", + "windows_i686_msvc 0.42.2", + "windows_x86_64_gnu 0.42.2", + "windows_x86_64_gnullvm 0.42.2", + "windows_x86_64_msvc 0.42.2", +] + +[[package]] +name = "windows-targets" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" +dependencies = [ + "windows_aarch64_gnullvm 0.52.6", + "windows_aarch64_msvc 0.52.6", + "windows_i686_gnu 0.52.6", + "windows_i686_gnullvm", + "windows_i686_msvc 0.52.6", + "windows_x86_64_gnu 0.52.6", + "windows_x86_64_gnullvm 0.52.6", + "windows_x86_64_msvc 0.52.6", +] + +[[package]] +name = "windows-threading" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" + +[[package]] +name = "windows_i686_gnu" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" + +[[package]] +name = "windows_i686_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" + +[[package]] +name = "windows_i686_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" + +[[package]] +name = "windows_i686_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" + +[[package]] +name = "windows_i686_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" + +[[package]] +name = "winnow" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23b97319f7b8343df12cc98938e5c3eb436064524c8d2b4e30a1d3a36eecdf81" +dependencies = [ + "memchr", +] + +[[package]] +name = "wmi" +version = "0.18.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c81b85c57a57500e56669586496bf2abd5cf082b9d32995251185d105208b64" +dependencies = [ + "chrono", + "futures", + "log", + "serde", + "thiserror 2.0.21", + "windows", + "windows-core", +] + +[[package]] +name = "writeable" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc" + +[[package]] +name = "ws_stream_wasm" +version = "0.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c173014acad22e83f16403ee360115b38846fe754e735c5d9d3803fe70c6abc" +dependencies = [ + "async_io_stream", + "futures", + "js-sys", + "log", + "pharos", + "rustc_version", + "send_wrapper", + "thiserror 2.0.21", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "x509-parser" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d43b0f71ce057da06bc0851b23ee24f3f86190b07203dd8f567d0b706a185202" +dependencies = [ + "asn1-rs", + "data-encoding", + "der-parser", + "lazy_static", + "nom", + "oid-registry", + "ring", + "rusticata-macros", + "thiserror 2.0.21", + "time", +] + +[[package]] +name = "xml-rs" +version = "0.8.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e450f9b2ed1dff33c94c12589a87338689467b9c4f5d8a5710bd09a847d2c8a7" + +[[package]] +name = "xmltree" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7d8a75eaf6557bb84a65ace8609883db44a29951042ada9b393151532e41fcb" +dependencies = [ + "xml-rs", +] + +[[package]] +name = "yasna" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5f6765e852b9b4dc8e2a76843e4d64d1cea8e79bcde0b6901aea8e7c7f08282" +dependencies = [ + "bit-vec", + "time", +] + +[[package]] +name = "yoke" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5" +dependencies = [ + "stable_deref_trait", + "yoke-derive", + "zerofrom", +] + +[[package]] +name = "yoke-derive" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec8ebde2db3681e8c9980cc27822030e68752690ddfa9473e739aeb4dbde6d71" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", + "synstructure 0.14.0", +] + +[[package]] +name = "zerocopy" +version = "0.8.62" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86502bf56ac7c77571a32e2647bb2a15894565e981fb2a48d7bde2d91c965a9d" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.8.62" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5457206954b06561e2608c7e19cf58b1926586d999c246eebe4502f7e2039d1a" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "zerofrom" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272" +dependencies = [ + "zerofrom-derive", +] + +[[package]] +name = "zerofrom-derive" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f75b4683f6c7f45248d4d64056a24298c6281e0993356d7d1b4a1a962ef10d4a" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", + "synstructure 0.14.0", +] + +[[package]] +name = "zeroize" +version = "1.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e13084392c5e4bc371903e2935a5eaeed24905a7511356b883835e18a78f6879" +dependencies = [ + "zeroize_derive", +] + +[[package]] +name = "zeroize_derive" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c50655cbb0fe3fc43170059e702f1ce5e19b84cec58dc87b037a09935c2f328" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "zerotrie" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ea269c3bd32f0a32c321907a2ae912ba6f4649bb0fc764a15627e99a7095a3f" +dependencies = [ + "displaydoc", + "yoke", + "zerofrom", +] + +[[package]] +name = "zerovec" +version = "0.11.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb0464e17806c1d976d5cba29399c7f08e516e279e2ba493f63123b5fca67dd8" +dependencies = [ + "yoke", + "zerofrom", + "zerovec-derive", +] + +[[package]] +name = "zerovec-derive" +version = "0.11.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34df6fc39dbd26ddc9c10e6a2984476e13acce22e64e4487636ef494369225da" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "zmij" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b" diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/Cargo.toml b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/Cargo.toml new file mode 100644 index 0000000000..d40750e19e --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/Cargo.toml @@ -0,0 +1,22 @@ +[package] +name = "c2-holepunch" +version = "0.0.0" +edition = "2024" +rust-version = "1.96" +publish = false + +# C2: holepunching between two iroh endpoints behind NAT, both homed on a local relay (see +# RESULTS.md). Standalone: the empty [workspace] keeps cargo from joining the spikes workspace. +[workspace] + +[dependencies] +# Connectivity profile types and the n0 relay list (c1-connect, path dependency, read only). +c1-connect = { path = "/home/user/work/spikes/c1-connect" } +iroh = "1.3.0" +iroh-tickets = "1.0.0" +iroh-relay = "1.3.0" +n0-future = "0.3" +rustls-pki-types = "1" +tokio = { version = "1", features = ["full"] } +anyhow = "1" +tracing-subscriber = { version = "0.3", features = ["env-filter"] } diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/RESULTS.md b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/RESULTS.md new file mode 100644 index 0000000000..c8e7d983cd --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/RESULTS.md @@ -0,0 +1,204 @@ +# C2: holepunching between two peers behind NAT, both homed on our relay + +Date: 2026-10-11. Task: task-08 item 9 (C2), with connectivity design §2, §5 and §7. Sandbox: one Linux host, network namespaces in a user namespace. Nothing outside the lab topology was changed. + +## Question + +Two iroh peers on separate networks, both homed on our relay (a local `iroh-relay` in the lab's root namespace), with n0's relays in their maps. Does a direct path form by holepunching through NAT? + +Measured for each run: time to first data over the relay, time to a direct path, whether the direct path holds, and what happens on fallback. + +## Verdicts + +1. **Full cone (both sides): holepunch succeeds, 3 of 3 runs.** The direct path was selected 40, 112 and 321 ms after dial start. It held for the whole 60 s window in all three runs, with no echo failures. +2. **Port-restricted (both sides): holepunch succeeds, 3 of 3 runs.** Direct at 41, 47 and 72 ms. Held for 60 s in all three. +3. **Symmetric (both sides): relay fallback, 3 of 3 runs.** No direct path in 60 s. All 234 to 236 echoes per run went over the relay, with none failed. iroh made 4 holepunch attempts, against 3 in the successful runs. +4. **Mixed pairs (extra, not in the brief):** symmetric against full cone holepunches in both orders (direct at 29 to 40 ms, 2 runs each). Full cone against port-restricted holepunches (34 ms, 1 run). Symmetric against port-restricted falls back in both orders (3 runs, plus 1 in the reverse order). +5. **QAD is what provides the public candidate.** With the home relay's QAD off and no other QAD relay, no direct path forms, even with a restricted NAT (30 s). With a QAD-only relay added to the map as a stand-in for a non-home QAD relay, a direct path forms at 39 ms and holds for 30 s. This supports the design's inference, but the stand-in is on the same host. Real n0 relays could not be reached (§6). +6. **Relay-only tickets do not stop holepunching.** Every ticket carried zero IP addresses, and direct paths still formed. The candidates are exchanged inside the QUIC connection, over the relay. A connected peer therefore learns our LAN and public addresses anyway (§5). + +## Method + +### Lab topology (`lab/topo.sh`) + +Everything runs inside one `unshare -Urn` namespace per run. The host's network config is not touched, and all namespaces and processes are removed on exit. + + root (lab) ns: relay 10.0.0.1/24 on bridge br-wan + gw-a: wan 10.0.0.2 | lan 192.168.1.1 (ip_forward, nftables NAT) + host-a: 192.168.1.2, default via 192.168.1.1 (echo server) + gw-b: wan 10.0.0.3 | lan 192.168.2.1 (ip_forward, nftables NAT) + host-b: 192.168.2.2, default via 192.168.2.1 (dialer) + +The two LANs are separate private networks. Each peer reaches the other only through its gateway's NAT. The WAN is one L2 bridge, so there is no router hop. Each gateway runs one NAT type, selected per run: + +| NAT | nftables rule | What it does | +|---|---|---| +| cone | `masquerade` (port-preserving), plus `iifname wan udp dport 4444 dnat to :4444` | Endpoint-independent mapping and filtering for port 4444 (full cone) | +| restricted | `masquerade` (port-preserving) | Endpoint-independent mapping, address-and-port filtering (port-restricted cone) | +| symmetric | `masquerade fully-random` | A new random external port per destination (symmetric) | + +Both gateways drop unsolicited new flows aimed at the gateway itself (`input` chain). The cone DNAT covers only UDP 4444. That is exact for this test, which uses one fixed port, but it is not a general full-cone NAT. + +`lab/probe-nat.sh` checked each NAT with plain UDP before any iroh code ran (`logs/probe-nat-*.txt`). The mapping and filtering behaved as designed in all three cases (table in §3.6). + +### Relay (`lab/run.sh`) + +- `iroh-relay` 1.3.0, the binary at `/home/user/work/spikes/tools/bin/iroh-relay` (`--version` prints 1.3.0). It was built earlier by the C1 work and not rebuilt here. +- Config: plain HTTP for relay traffic on `10.0.0.1:3340`. QAD on UDP `10.0.0.1:7842` with a TLS certificate for the IP 10.0.0.1, issued by a lab CA. Metrics on loopback. This is setup B (`vps.toml`) without the public TLS listener. +- Peers trust only the lab CA (`CaTlsConfig::custom_roots`). The relay's public TLS is not exercised. + +### Peers (`src/main.rs`, binary `c2-holepunch`) + +- Built on iroh 1.3.0. `Endpoint::builder(Minimal)`, IPv4 only, bound to UDP port 4444 in both namespaces. +- Relay map: the home relay (QAD on) plus n0's production relays from `c1_connect::connect::n0_relays()` (QAD on). The `c1-connect` crate is a path dependency, used read-only for `AddressPolicy`, `n0_relays` and the relay list. +- No lookup services. The ticket is built with `AddressPolicy::RelayOnly`, so it holds the home relay URL and no IP addresses. The dialer asserts `ip_addrs().count() == 0`. +- Server (host-a): waits for `online()`, sleeps 2 s so QAD can settle, writes the ticket, then echoes every stream. +- Dialer (host-b): dials the ticket, sends one echo as the first reply, then sends an echo every 250 ms for the window (60 s in the matrix). It records every `PathEvent::Selected`, and at the end it reads `holepunch_attempts` from `endpoint.metrics()`. + +Definitions, all from the dial start unless noted: +- *online*: from process start to `endpoint.online()`. +- *handshake*: `connect()` returns, and the path selected at that moment. +- *first reply*: the first echo reply, and the path selected when it arrived. +- *first direct*: the first `Selected` event whose path is an IP path. +- *echoes on direct*: echoes whose sample found an IP path selected. +- *holepunch attempts*: `socket.holepunch_attempts` at window end. The first attempt happens before the server's candidates arrive, so it counts too. + +### Commands + + export CARGO_TARGET_DIR=/home/user/work/spikes/target + CARGO="$(rustup which --toolchain 1.97.0 cargo)" + cd /home/user/work/spikes-next/c2-holepunch + "$CARGO" build # -> /home/user/work/spikes/target/debug/c2-holepunch + + lab/probe-nat.sh cone # likewise restricted, symmetric + lab/run.sh cone r1 60 # matrix: r1-r3 for cone, restricted, symmetric + NAT_B=cone lab/run.sh symmetric mix1 30 # mixed pairs: NAT_B is gateway b's NAT + HOME_QAD=off lab/run.sh restricted noqad-r1 30 # control: home relay without QAD + HOME_QAD=off N0=off STANDIN=on lab/run.sh restricted standin-r1 30 # QAD-only stand-in + N0=off lab/run.sh restricted n0off-r1 10 # control: no n0 entries in the maps + RUST_LOG=iroh::_events::qnt=debug,iroh::_events::path=debug lab/run.sh symmetric qnt-sym 12 + python3 -I lab/summarize.py > logs/summary.md # the table in §3.1, from the logs + +Environment: `NFT` defaults to `/nix/store/66dl0246qv0avvzid7xkj85xqdlrx78a-nftables-1.1.7/bin/nft`. `nft` is not on PATH on this host (`/run/current-system/sw/bin/nft` does not exist). Nix was not run. The store binary works inside `unshare -Urn`: tables, masquerade, `fully-random`, DNAT, and `sysctl net.ipv4.ip_forward` all work. + +## Results + +### 3.1 Main matrix (60 s holds, default profile: home relay QAD on, n0 in the maps) + +| NAT (both sides) | run | online ms | handshake ms (path) | first reply ms (path) | first direct ms | echoes on direct / ok | failed | path at end | holepunch attempts | +|---|---|---|---|---|---|---|---|---|---| +| cone | r1 | 3196 | 185 (relay) | 334 (direct) | 321 | 232 / 232 | 0 | direct | 3 | +| cone | r2 | 3067 | 46 (relay) | 86 (relay) | 112 | 233 / 234 | 0 | direct | 3 | +| cone | r3 | 3013 | 20 (relay) | 36 (relay) | 40 | 237 / 238 | 0 | direct | 3 | +| restricted | r1 | 3035 | 22 (relay) | 44 (relay) | 47 | 237 / 237 | 0 | direct | 3 | +| restricted | r2 | 3046 | 34 (relay) | 63 (relay) | 72 | 234 / 234 | 0 | direct | 3 | +| restricted | r3 | 3020 | 22 (relay) | 37 (relay) | 41 | 236 / 237 | 0 | direct | 3 | +| symmetric | r1 | 3010 | 16 (relay) | 30 (relay) | none | 0 / 236 | 0 | relay | 4 | +| symmetric | r2 | 3016 | 18 (relay) | 33 (relay) | none | 0 / 236 | 0 | relay | 4 | +| symmetric | r3 | 3054 | 55 (relay) | 105 (relay) | none | 0 / 234 | 0 | relay | 4 | + +Median echo RTT in these runs, in ms. Direct: cone 3.2, 3.1, 1.4; restricted 1.6, 2.3, 1.5. Relay: symmetric 2.2, 2.4, 3.7. Relay samples are few in the direct runs, since the direct path came first. The relay is on the same host, so these are not WAN figures. + +All 27 runs in this document exited 0 from the dialer: matrix 9, smoke 3, mixed 9, controls 4, traced 2. No echo failed in any of them. + +### 3.2 Time to first data, time to direct, and holding + +- **First data over the relay.** The handshake completed over the relay in every run, after 14 to 185 ms. The first echo reply came over the relay in 8 of the 9 matrix runs, after 30 to 105 ms. In cone r1 the direct path was already selected when the first reply arrived (334 ms), so that run has no relay-carried reply to time. +- **Time to direct.** Cone 40 to 321 ms after dial start (112 ms median). Restricted 41 to 72 ms. After the first reply, the direct path came 0 to 26 ms later (cone 26 and 4 ms; restricted 3, 9 and 4 ms). Mixed pairs: 29 to 40 ms. +- **Holding.** Once selected, the direct path stayed selected for the whole 60 s window in all six cases. There were no path closures or relay switches before teardown. Echoes ran at 1.4 to 3.2 ms median RTT. +- **Fallback (symmetric).** Relay carried everything. Holepunch attempts were 3 to 4 per run. Retry spacing is 5 s (`HOLEPUNCH_ATTEMPTS_INTERVAL`, `remote_state.rs:52`), and the trace shows attempts 5 s apart (§3.5). The count was 3 after 12 s and 4 after 60 s, so iroh does not retry at a fixed rate for the whole window. The relay path stayed in use and echoes kept running. We saw no failures or timeouts. + +### 3.3 Mixed pairs (30 s holds) + +Server (host-a, gateway a) listed first, dialer (host-b, gateway b) second. + +| server NAT | dialer NAT | runs | handshake ms | first direct ms | echoes on direct / ok | path at end | verdict | +|---|---|---|---|---|---|---|---| +| symmetric | cone | 2 | 16, 21 | 32, 40 | 118/119 each | direct | holepunch | +| cone | symmetric | 2 | 14, 15 | 29, 29 | 118/119 each | direct | holepunch | +| cone | restricted | 1 | 18 | 34 | 118/119 | direct | holepunch | +| symmetric | restricted | 3 | 18, 16, 14 | none | 0/119 each | relay | fallback | +| restricted | symmetric | 1 | 16 | none | 0/119 | relay | fallback | + +Symmetric against full cone works, in both orders. The full-cone side accepts unsolicited inbound on its port, so the symmetric side's probe creates a mapping and the reply gets through. Symmetric against port-restricted fails in both orders. Port-restricted filters on address and port, and the symmetric side's probe comes from a port that the restricted side never sent to. The reason is inferred from the NAT rules and the traces, not from a packet capture. + +### 3.4 Controls + +| control | home QAD | n0 in maps | stand-in | NAT | online ms | own public candidate | first direct | echoes direct / ok | attempts | +|---|---|---|---|---|---|---|---|---|---| +| no QAD anywhere | off | on (unreachable) | off | restricted | 3036 | none (LAN only) | none | 0 / 119 | 2 | +| no QAD anywhere, clean | off | off | off | restricted | 209 | none (LAN only) | none | 0 / 119 | 2 | +| QAD-only stand-in | off | off | on | restricted | 410 | 10.0.0.3:4444 | 39 ms | 119 / 119 | 3 | +| n0 removed, home QAD on | on | off | off | restricted | 220 | 10.0.0.3:4444 | 42 ms | 40 / 40 | 3 | + +- **QAD is needed.** Without any QAD relay, a peer only has its LAN address to offer, and holepunching has nothing to aim at. +- **A non-home QAD relay is enough.** The stand-in serves no relay traffic, so it cannot be chosen as home. Both peers got their public address from it, and the direct path formed. This tests the mechanism, not n0 itself, since n0 was unreachable. +- **Dead n0 entries cost startup time.** With n0's entries in the map, going online took 3.0 to 3.2 s. With them removed, it took 0.21 to 0.22 s. The sandbox cannot reach n0, so every n0 entry is dead here. The 3 s is consistent with iroh's net-report probe timeout (`PROBES_TIMEOUT` = 3 s, `net_report/defaults.rs:23`). I did not trace the net report to confirm it. + +### 3.5 Holepunch candidates (iroh events, `RUST_LOG`) + +Symmetric (`logs/symmetric-qnt-sym-dial.txt`): + + local_candidates = {10.0.0.3:51554, 192.168.2.2:4444} # QAD mapping for the relay, and LAN + remote_candidates = {10.0.0.2:21499, 192.168.1.2:4444} # the server's + qnt::init: one with no remote candidates at the handshake, then 17.287 s and 22.287 s + (5 s apart). No direct path was selected. + +The public candidate is a mapping for the relay destination only. Its port (51554) is not the peer-facing port, so it does not help. The server's candidate is 21499 for the same reason. + +Restricted (`logs/restricted-qnt-restr-dial.txt`): + + local_candidates = {10.0.0.3:4444, 192.168.2.2:4444} + remote_candidates = {10.0.0.2:4444, 192.168.1.2:4444} + path opened 192.168.2.2 -> 10.0.0.2:4444, selected at 34 ms. + +Here the public port is the bound port, because the mapping is port-preserving. The direct path leaves through the LAN address and the gateway masquerades it. + +### 3.6 NAT behaviour, checked before iroh (`logs/probe-nat-*.txt`) + +| NAT | external port seen at root:9000 / root:9001 | unsolicited datagram from root:9002 to host-a:4444 | +|---|---|---| +| cone | 4444 / 4444 | delivered (from 10.0.0.1:9002) | +| restricted | 4444 / 4444 | dropped | +| symmetric | 54109 / 1582 | dropped | + +The QAD-observed address of host-a (server side) agrees: 10.0.0.2:4444 for cone and restricted, and 10.0.0.2:59478 in the symmetric run. The dialer's observed address in symmetric runs was a different random port in each run (34161, 1779, 12408, 51554, 42806). + +## Not tested, and why + +- **n0's relays themselves.** The lab has no uplink, so n0's relays could not be reached. The "n0 in the maps" part of the brief is nominal here. The entries were dead, and they cost about 3 s at startup (§3.4). The QAD inference is tested only with a stand-in on the same host. +- **Real NAT devices and real networks.** The NAT behaviour is Linux netfilter emulation, checked against the probe (§3.6). Mixed-NAT pairs have one to three runs each. The lab has one NAT per host, so double NAT (CGNAT in front of a router) is not tested. +- **Latency.** Every hop is local, with sub-ms RTT. The times above measure software and scheduling, not WAN RTT. Each holepunch step costs at least one RTT, so real times will be larger. A lost first round also costs up to the 5 s retry interval. +- **Idle periods and NAT timeouts.** Each hold kept traffic flowing (an echo every 250 ms), and the kernel's default conntrack timeouts were in effect. Idle longer than 60 s, and real NAT mapping lifetimes, were not tested. +- **TLS on the relay.** Relay traffic ran over plain HTTP, and only QAD used TLS (lab CA). The public relay with a webpki certificate is untested. +- **Tunnel-style relay.** The no-QAD control is the Tunnel setup's network behaviour. The real Cloudflare Tunnel was not tested (C1 t7 covers it). +- **IPv6, mDNS, DHT, and ticket lookups.** Out of scope for C2. Tickets were the only address source. +- **Packet captures.** None. Mapping and filtering claims rest on the probe, on the QAD addresses, and on iroh's own events. +- **Path migration and relay failover during a direct path.** Not tested. + +## Surprising + +1. **Relay-only tickets do not stop holepunching, but they do not hide addresses either.** The candidates travel inside the QUIC connection, over the relay. The builder's `addr_filter` (`endpoint.rs:628`) is passed only to `AddressLookupServices::set_addr_filter` (`endpoint.rs:306`), so it applies to address-lookup publishing. It does not touch `local_direct_addrs` (`remote_state.rs:1105`), which feed the candidates. So a connected peer learns our LAN and public addresses, even when the ticket holds none. This is worth recording in the design, since the RelayOnly policy reads as if it hides IPs. +2. **Symmetric NAT makes the QAD address useless for holepunching.** The address QAD reports is valid only toward the relay. An endpoint behind a symmetric NAT therefore has no usable public candidate, even with QAD working. The design's "QAD gives a public address" holds only for endpoint-independent mapping. +3. **Symmetric against port-restricted falls back, in both orders.** So for pairs of phone and home router, the relay will carry the traffic. Relay capacity matters for those pairs. +4. **A dead relay entry costs about 3 s at startup** in this sandbox, with nothing else wrong. +5. **nftables is not on PATH on this NixOS host.** The store binary works fine inside the user namespace. + +## Implications for the design (for the owner to decide) + +- Keep a QAD-enabled relay in every client's map. A Tunnel-only home relay gives no direct paths. This supports connectivity §4's recommendation of option B (VPS, QAD) if direct paths matter. n0's own QAD could not be tested here. +- Expect relay fallback for symmetric-against-restricted and symmetric-against-symmetric pairs. Plan relay capacity for them. +- The "no IPs in tickets" rule keeps addresses out of tickets and lookups, not out of the connection. The design should say that a connected peer learns our addresses. +- Startup should not wait on every relay in the map. A dead entry added about 3 s in this sandbox. +- A lost first holepunch round costs up to 5 s. On a lossy network, expect that. + +## Files + +- `src/main.rs`: the peer binary (`serve`, `dial`). +- `lab/topo.sh`: the namespace topology and the NAT rulesets. +- `lab/run.sh`: one run. Sets up the topology and relay, runs both peers, cleans up. +- `lab/probe-nat.sh`, `lab/probe.py`: the NAT behaviour check. +- `lab/summarize.py`: the summary table from `logs/*-dial.txt`. +- `logs/`: small text logs (the largest is 3 KB). The table is in `logs/summary.md`. Runs: `*-smoke` (8 s), the matrix runs `r1`–`r3`, `mix*` (mixed pairs), `noqad-*`, `standin-*`, `n0off-*`, and `qnt-*` (with holepunch events). + +The matrix runs and the smoke runs were executed before the `--home-qad`, `--n0`, and `--standin-url` flags, the `RUST_LOG` subscriber, and `NAT_B` were added. Those additions leave the default behaviour unchanged. The traced default runs (`qnt-restr`, `qnt-sym`) were run on the final binary and reproduce the matrix: restricted holepunches at 34 ms, symmetric falls back to the relay. diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/lab/probe-nat.sh b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/lab/probe-nat.sh new file mode 100755 index 0000000000..0e10355bad --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/lab/probe-nat.sh @@ -0,0 +1,52 @@ +#!/usr/bin/env bash +# Checks what each NAT type does to plain UDP, before any iroh code runs. +# +# lab/probe-nat.sh cone|restricted|symmetric +# +# Expected: +# cone root sees host-a's port 4444 at both destinations (9000, 9001), and host-a +# receives the unsolicited datagram from root:9002 (full cone). +# restricted same mapping, but the unsolicited datagram is dropped. +# symmetric a different external port for each destination; the unsolicited one is dropped. +set -euo pipefail + +HERE=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) +NFT=${NFT:-/nix/store/66dl0246qv0avvzid7xkj85xqdlrx78a-nftables-1.1.7/bin/nft} +export NFT + +if [ "${1:-}" != "--inner" ]; then + nat=${1:?usage: probe-nat.sh cone|restricted|symmetric} + exec unshare -Urn bash "$HERE/probe-nat.sh" --inner "$nat" +fi +shift + +NAT=$1 +source "$HERE/topo.sh" +PORT=4444 +STATE=$(mktemp -d /tmp/c2-probe.XXXXXX) +export STATE + +trap 'topo_down; rm -rf "$STATE"' EXIT +topo_up "$STATE" "$PORT" "$NAT" +probe() { python3 -I "$HERE/probe.py" "$@"; } + +# Root (the relay's side) listens on two destinations, then sends one unsolicited datagram from a +# new source to gateway a's external port. +probe 9000 6 >"$STATE/root-9000.txt" & +p1=$! +probe 9001 6 >"$STATE/root-9001.txt" & +p2=$! +probe 9002 0 --delay 2 --to "10.0.0.2:$PORT" >"$STATE/root-9002.txt" & +p3=$! + +# Host a sends to both destinations from port 4444, then keeps listening on 4444. +ns_exec host-a python3 -I "$HERE/probe.py" "$PORT" 5 --delay 1 \ + --to 10.0.0.1:9000 --to 10.0.0.1:9001 >"$STATE/host-a.txt" 2>&1 & +p4=$! +wait "$p1" "$p2" "$p3" "$p4" + +echo "== NAT: $NAT" +for f in root-9000 root-9001 host-a root-9002; do + echo "-- $f" + cat "$STATE/$f.txt" +done diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/lab/probe.py b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/lab/probe.py new file mode 100644 index 0000000000..8c279f794d --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/lab/probe.py @@ -0,0 +1,41 @@ +"""NAT behaviour probe for the lab topology. Run with `python3 -I`. + + probe.py PORT SECONDS [--delay S] [--to IP:PORT ...] + +Binds UDP PORT. After DELAY seconds, sends one datagram to each --to destination, then prints +every datagram received for SECONDS. Each receive line shows the source the receiver saw, which +is how a NAT's external mapping is read. +""" + +import argparse +import socket +import time + + +def main(): + p = argparse.ArgumentParser() + p.add_argument("port", type=int) + p.add_argument("seconds", type=float) + p.add_argument("--delay", type=float, default=0.0) + p.add_argument("--to", action="append", default=[]) + args = p.parse_args() + + s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) + s.bind(("0.0.0.0", args.port)) + s.settimeout(0.2) + time.sleep(args.delay) + for dest in args.to: + host, dport = dest.rsplit(":", 1) + s.sendto(f"from-{args.port}".encode(), (host, int(dport))) + print(f"sent local={args.port} to={dest}", flush=True) + end = time.time() + args.seconds + while time.time() < end: + try: + data, (ip, sport) = s.recvfrom(2048) + except socket.timeout: + continue + print(f"recv local={args.port} from={ip}:{sport} data={data.decode(errors='replace')}", flush=True) + + +if __name__ == "__main__": + main() diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/lab/run.sh b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/lab/run.sh new file mode 100755 index 0000000000..148c3d4e66 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/lab/run.sh @@ -0,0 +1,179 @@ +#!/usr/bin/env bash +# One holepunch run in the lab topology (see topo.sh). +# +# [NAT_B=cone|restricted|symmetric] lab/run.sh NAT [TAG] [WINDOW] +# NAT NAT of gateway a (host-a, the echo server) +# NAT_B NAT of gateway b (host-b, the dialer); default: the same as NAT +# TAG name for the logs (default: 1) +# WINDOW seconds to hold the connection after the first reply (default: 60) +# +# Options, as environment variables (defaults are the design's setup): +# HOME_QAD=on|off QAD on the home relay (off = Tunnel-style control, no UDP) +# N0=on|off n0's relays in the peers' maps (they are unreachable from the lab) +# STANDIN=on|off a second relay that runs QAD but serves no relay traffic, in the maps +# +# Writes logs/NAT-TAG-{nft,relay,standin,serve,dial}.txt and prints the dial summary. Everything +# runs in one `unshare -Urn` namespace, so the host's network configuration is not touched. All +# namespaces and processes are removed on exit. +# +# Environment: NFT (nft binary), RELAY_BIN (iroh-relay 1.3.0), C2_BIN (this crate's binary). +set -euo pipefail + +LAB=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) +ROOT=$(dirname "$LAB") +export NFT=${NFT:-/nix/store/66dl0246qv0avvzid7xkj85xqdlrx78a-nftables-1.1.7/bin/nft} +export RELAY_BIN=${RELAY_BIN:-/home/user/work/spikes/tools/bin/iroh-relay} +export C2_BIN=${C2_BIN:-/home/user/work/spikes/target/debug/c2-holepunch} + +if [ "${1:-}" != "--inner" ]; then + nat=${1:?usage: run.sh cone|restricted|symmetric [TAG] [WINDOW]} + exec unshare -Urn bash "$LAB/run.sh" --inner "$nat" "${2:-1}" "${3:-60}" +fi +shift + +NAT=$1 +TAG=$2 +WINDOW=$3 +NAT_B=${NAT_B:-$NAT} +source "$LAB/topo.sh" + +PORT=4444 +RELAY_URL=http://10.0.0.1:3340 +HOME_QAD=${HOME_QAD:-on} +N0=${N0:-on} +STANDIN=${STANDIN:-off} +NAME="$NAT-$TAG" +[ "$NAT_B" = "$NAT" ] || NAME="$NAT-vs-$NAT_B-$TAG" +LOGS="$ROOT/logs" +mkdir -p "$LOGS" +STATE=$(mktemp -d /tmp/c2-run.XXXXXX) +export STATE PORT NAT NAT_B +relay_pid="" +standin_pid="" +serve_pid="" + +cleanup() { + [ -n "$serve_pid" ] && kill "$serve_pid" 2>/dev/null || true + [ -n "$standin_pid" ] && kill "$standin_pid" 2>/dev/null || true + [ -n "$relay_pid" ] && kill "$relay_pid" 2>/dev/null || true + topo_down + rm -rf "$STATE" +} +trap cleanup EXIT + +# Lab certificates: a CA, and a relay certificate for the IP 10.0.0.1 signed by it. The peers trust +# only the CA. Two days is enough for one run. +openssl req -x509 -newkey ec -pkeyopt ec_paramgen_curve:prime256v1 -nodes -days 2 \ + -keyout "$STATE/ca.key" -out "$STATE/ca.pem" -subj "/CN=c2 lab CA" \ + -addext "basicConstraints=critical,CA:TRUE" -addext "keyUsage=critical,keyCertSign,cRLSign" 2>/dev/null +openssl req -newkey ec -pkeyopt ec_paramgen_curve:prime256v1 -nodes \ + -keyout "$STATE/relay.key" -out "$STATE/relay.csr" -subj "/CN=10.0.0.1" 2>/dev/null +printf 'subjectAltName=IP:10.0.0.1\nbasicConstraints=CA:FALSE\nkeyUsage=critical,digitalSignature\nextendedKeyUsage=serverAuth\n' \ + >"$STATE/leaf.ext" +openssl x509 -req -in "$STATE/relay.csr" -CA "$STATE/ca.pem" -CAkey "$STATE/ca.key" -CAcreateserial \ + -days 2 -out "$STATE/relay.pem" -extfile "$STATE/leaf.ext" 2>/dev/null +openssl x509 -in "$STATE/ca.pem" -outform DER -out "$STATE/ca.der" + +# The home relay in the root namespace: plain HTTP for relay traffic, and QAD on UDP 7842 unless +# HOME_QAD=off. With QAD on this is setup B (vps.toml) without the public TLS listener. +if [ "$HOME_QAD" = on ]; then + cat >"$STATE/relay.toml" <"$STATE/relay.toml" <"$LOGS/$NAME-nft.txt" +ns_exec gw-b "$NFT" list ruleset >>"$LOGS/$NAME-nft.txt" + +RUST_LOG=info "$RELAY_BIN" --config-path "$STATE/relay.toml" >"$LOGS/$NAME-relay.txt" 2>&1 & +relay_pid=$! + +# The stand-in is a second relay that runs QAD and serves no relay traffic (enable_relay = false). +# It stands in for a QAD-enabled relay in the map that is not the home relay. Its HTTP port is +# never dialled, so it cannot become home. +STANDIN_ARGS=() +if [ "$STANDIN" = on ]; then + cat >"$STATE/standin.toml" <"$LOGS/$NAME-standin.txt" 2>&1 & + standin_pid=$! + STANDIN_ARGS=(--standin-url http://10.0.0.1:3341) +fi + +# The relay is ready when /ping answers 200. Checked with bash's /dev/tcp, so no HTTP client is needed. +ready=no +for _ in $(seq 100); do + if { exec 3<>/dev/tcp/10.0.0.1/3340; } 2>/dev/null; then + printf 'GET /ping HTTP/1.1\r\nHost: 10.0.0.1\r\nConnection: close\r\n\r\n' >&3 + status=$(head -n1 <&3 | tr -d '\r') + exec 3>&- 3<&- + case "$status" in + *" 200 "*) + ready=yes + break + ;; + esac + fi + sleep 0.1 +done +[ "$ready" = yes ] || { + echo "relay did not answer /ping; see $LOGS/$NAME-relay.txt" >&2 + exit 1 +} + +# host-a runs the echo endpoint. nsenter without --fork execs the program, so $! is its PID. +nsenter --net="/proc/$(ns_pid host-a)/ns/net" -- "$C2_BIN" serve \ + --port "$PORT" --relay "$RELAY_URL" --ca "$STATE/ca.der" --ticket "$STATE/ticket.txt" \ + --home-qad "$HOME_QAD" --n0 "$N0" "${STANDIN_ARGS[@]}" >"$LOGS/$NAME-serve.txt" 2>&1 & +serve_pid=$! +for _ in $(seq 300); do + [ -s "$STATE/ticket.txt" ] && break + kill -0 "$serve_pid" 2>/dev/null || break + sleep 0.2 +done +[ -s "$STATE/ticket.txt" ] || { + echo "server wrote no ticket; see $LOGS/$NAME-serve.txt" >&2 + exit 1 +} + +# host-b dials from its own network and holds the connection for WINDOW seconds. +set +e +timeout "$((WINDOW + 180))" nsenter --net="/proc/$(ns_pid host-b)/ns/net" -- "$C2_BIN" dial \ + --port "$PORT" --relay "$RELAY_URL" --ca "$STATE/ca.der" --ticket "$STATE/ticket.txt" \ + --window "$WINDOW" --home-qad "$HOME_QAD" --n0 "$N0" "${STANDIN_ARGS[@]}" \ + >"$LOGS/$NAME-dial.txt" 2>&1 +dial_status=$? +set -e + +# Strip the colour codes from the relay logs so they read as plain text. +sed -i 's/\x1b\[[0-9;]*m//g' "$LOGS/$NAME-relay.txt" "$LOGS/$NAME-standin.txt" 2>/dev/null || true + +echo "== $NAME (dial exit $dial_status)" +cat "$LOGS/$NAME-dial.txt" diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/lab/summarize.py b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/lab/summarize.py new file mode 100644 index 0000000000..a9ba328633 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/lab/summarize.py @@ -0,0 +1,79 @@ +"""Tabulates the dial summaries in logs/*-dial.txt as one markdown table. Run with `python3 -I`. + + python3 -I lab/summarize.py [LOGDIR] + +Each row is one run, read from the dialer's summary block (src/main.rs, `dial`). Runs that +predate the `profile` line are shown with the default profile (QAD on, n0 on, no stand-in). +""" + +import glob +import os +import re +import sys + +ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) +logdir = sys.argv[1] if len(sys.argv) > 1 else os.path.join(ROOT, "logs") + +# A path is "relay ", "direct ", or "none". +PATH = r"(relay \S+|direct \S+|none)" + + +def grab(text, pattern, default="?"): + m = re.search(pattern, text, re.M) + return m.group(1) if m else default + + +def path_kind(value): + return "relay" if value.startswith("relay") else value + + +def profile(text): + m = re.search(r"^profile home_qad=(\w+) n0=(\w+)(?: standin=(\S+))?", text, re.M) + if not m: + return "default" + home, n0, standin = m.groups() + standin = "on" if standin and standin.startswith("Some") else "off" + return f"home QAD {'on' if home == 'true' else 'off'}, n0 {'on' if n0 == 'true' else 'off'}, stand-in {standin}" + + +rows = [] +for path in sorted(glob.glob(os.path.join(logdir, "*-dial.txt"))): + name = os.path.basename(path)[: -len("-dial.txt")] + text = open(path).read() + if "--- summary" not in text: + rows.append((name, "no summary, see log")) + continue + echoes = re.search( + r"window_s=(\d+) echoes_ok=(\d+) echoes_failed=(\d+) echoes_on_direct=(\d+) echoes_on_relay=(\d+)", + text, + ) + window, ok, failed, on_direct, on_relay = echoes.groups() + first_direct = grab(text, r"^first_direct_selected_ms=(\d+|none)") + rows.append( + ( + name, + profile(text), + grab(text, r"^\s*(\d+) ms online"), + grab(text, r"^connected_ms=(\d+)"), + path_kind(grab(text, rf"handshake_path={PATH}")), + grab(text, r"^first_data_ms=(\d+)"), + path_kind(grab(text, rf"first_data_path={PATH}")), + first_direct, + window, + f"{on_direct}/{ok}", + failed, + path_kind(grab(text, rf"^selected_at_end={PATH}")), + grab(text, r"^holepunch_attempts=(\d+)"), + ) + ) + +print( + "| run | profile | online ms | handshake ms | handshake path | first reply ms | first reply path" + " | first direct ms | window s | echoes on direct / ok | failed | path at end | holepunch attempts |" +) +print("|" + "---|" * 13) +for row in rows: + if len(row) == 2: + print(f"| {row[0]} | {row[1]} |") + else: + print("| " + " | ".join(str(c) for c in row) + " |") diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/lab/topo.sh b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/lab/topo.sh new file mode 100755 index 0000000000..d890422007 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/lab/topo.sh @@ -0,0 +1,136 @@ +# Sourced inside `unshare -Urn` by lab/run.sh. Builds the lab topology in this namespace (the +# "root" namespace of the brief). Nothing here touches the host's network. +# +# relay 10.0.0.1 (root) --- br-wan --- gw-a (wan 10.0.0.2) --- lan --- host-a 192.168.1.2 +# \-- gw-b (wan 10.0.0.3) --- lan --- host-b 192.168.2.2 +# +# Each gateway runs one NAT. $NAT selects it: +# cone port-preserving masquerade, plus a static DNAT of $PORT from the WAN to the host: +# endpoint-independent mapping and endpoint-independent filtering (full cone) +# restricted port-preserving masquerade only: endpoint-independent mapping, address-and-port +# filtering (port-restricted cone) +# symmetric masquerade fully-random: a new random external port per destination (symmetric) +# +# Each namespace is held by one `unshare -n sleep` process, with its PID in $STATE/.pid. + +ns_new() { + unshare -n sleep infinity & + echo $! >"$STATE/$1.pid" + # Wait until the namespace exists (unshare execs sleep, so the PID is the namespace holder). + local pid + pid=$(cat "$STATE/$1.pid") + for _ in $(seq 50); do + [ -e "/proc/$pid/ns/net" ] && return 0 + sleep 0.02 + done + echo "namespace $1 did not appear" >&2 + return 1 +} + +# Runs a command inside the named namespace. +ns_exec() { + local name=$1 + shift + nsenter --net="/proc/$(cat "$STATE/$name.pid")/ns/net" -- "$@" +} + +ns_pid() { + cat "$STATE/$1.pid" +} + +# Gateway ruleset. $1 is the gateway's index (1 or 2) and $2 the NAT type. +gateway_rules() { + local idx=$1 nat=$2 masq + case "$nat" in + cone | restricted) masq="masquerade" ;; + symmetric) masq="masquerade fully-random" ;; + *) + echo "unknown NAT type: $nat" >&2 + return 1 + ;; + esac + local dnat="" + if [ "$nat" = cone ]; then + dnat="iifname \"wan\" udp dport $PORT dnat to 192.168.$idx.2:$PORT" + fi + cat < gateway's "wan". + ip link add "wan-root-$name" type veth peer name wan + ip link set "wan-root-$name" master br-wan up + ip link set wan netns "$gw_pid" + ns_exec "gw-$name" ip link set lo up + ns_exec "gw-$name" ip addr add "10.0.0.$((idx + 1))/24" dev wan + ns_exec "gw-$name" ip link set wan up + + # LAN: gateway's "lan" <-> host's "eth0". + ip link add "lan-gw-$name" type veth peer name eth0 + ip link set "lan-gw-$name" netns "$gw_pid" + ip link set eth0 netns "$host_pid" + ns_exec "gw-$name" ip addr add "192.168.$idx.1/24" dev "lan-gw-$name" + ns_exec "gw-$name" ip link set "lan-gw-$name" up + ns_exec "host-$name" ip link set lo up + ns_exec "host-$name" ip addr add "192.168.$idx.2/24" dev eth0 + ns_exec "host-$name" ip link set eth0 up + ns_exec "host-$name" ip route add default via "192.168.$idx.1" + + ns_exec "gw-$name" sysctl -qw net.ipv4.ip_forward=1 + # The gateway's WAN and LAN names are "wan" and "lan-gw-*"; the ruleset matches "wan". + local gw_nat=$NAT + [ "$name" = b ] && gw_nat=$NAT_B + gateway_rules "$idx" "$gw_nat" | ns_exec "gw-$name" "$NFT" -f - + done +} + +# Removes the namespaces. The veth pairs go with them. Safe to call twice. +topo_down() { + local name pid + for name in gw-a gw-b host-a host-b; do + [ -e "$STATE/$name.pid" ] || continue + pid=$(cat "$STATE/$name.pid") + kill "$pid" 2>/dev/null || true + done +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-r1-dial.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-r1-dial.txt new file mode 100644 index 0000000000..4396a35c2c --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-r1-dial.txt @@ -0,0 +1,19 @@ + 3196 ms online home_relays=["http://10.0.0.1:3340/"] +ticket relays=["http://10.0.0.1:3340/"] direct=0 + 185 ms handshake done, selected=relay http://10.0.0.1:3340/ + 321 ms dial path opened: direct 10.0.0.2:4444 + 321 ms dial path selected: direct 10.0.0.2:4444 + 334 ms first reply (27 bytes), selected=direct 10.0.0.2:4444 +--- summary (dial) +connected_ms=185 handshake_path=relay http://10.0.0.1:3340/ +first_data_ms=334 first_data_path=direct 10.0.0.2:4444 +first_direct_selected_ms=321 (direct 10.0.0.2:4444) +selections=[(321, "direct 10.0.0.2:4444")] +window_s=60 echoes_ok=232 echoes_failed=0 echoes_on_direct=232 echoes_on_relay=0 +rtt_ms_median_relay=None +rtt_ms_median_direct=Some(3.2) +selected_at_end=direct 10.0.0.2:4444 +holepunch_attempts=3 +own_ip_candidates=["10.0.0.3:4444", "192.168.2.2:4444"] + 60372 ms dial path closed: relay http://10.0.0.1:3340/ + 60372 ms dial path closed: direct 10.0.0.2:4444 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-r1-nft.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-r1-nft.txt new file mode 100644 index 0000000000..7ccc035407 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-r1-nft.txt @@ -0,0 +1,34 @@ +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + iifname "wan" udp dport 4444 dnat to 192.168.1.2:4444 + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + iifname "wan" udp dport 4444 dnat to 192.168.2.2:4444 + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-r1-relay.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-r1-relay.txt new file mode 100644 index 0000000000..4ab7a754a1 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-r1-relay.txt @@ -0,0 +1,4 @@ +2026-10-11T12:23:25.540333Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:9090 +2026-10-11T12:23:25.542166Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 10.0.0.1:3340 +2026-10-11T12:23:25.547937Z  INFO iroh_relay::quic::server: QUIC server listening on bind_addr=10.0.0.1:7842 +2026-10-11T12:24:34.604480Z  WARN relay-http-serve:conn{peer=10.0.0.3:49630}:handler:client-connection-actor{remote_endpoint=eebb221a56 connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-r1-serve.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-r1-serve.txt new file mode 100644 index 0000000000..4f76fbe829 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-r1-serve.txt @@ -0,0 +1,7 @@ + 3175 ms online home_relays=["http://10.0.0.1:3340/"] + 5178 ms own_ip_candidates=["10.0.0.2:4444", "192.168.1.2:4444"] +ticket written: 100 chars + 8882 ms serve path opened: direct 10.0.0.3:4444 + 8882 ms serve path selected: direct 10.0.0.3:4444 + 68908 ms serve path closed: relay http://10.0.0.1:3340/ + 68908 ms serve path closed: direct 10.0.0.3:4444 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-r2-dial.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-r2-dial.txt new file mode 100644 index 0000000000..b5cb26f6ed --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-r2-dial.txt @@ -0,0 +1,19 @@ + 3067 ms online home_relays=["http://10.0.0.1:3340/"] +ticket relays=["http://10.0.0.1:3340/"] direct=0 + 46 ms handshake done, selected=relay http://10.0.0.1:3340/ + 86 ms first reply (27 bytes), selected=relay http://10.0.0.1:3340/ + 107 ms dial path opened: direct 10.0.0.2:4444 + 112 ms dial path selected: direct 10.0.0.2:4444 +--- summary (dial) +connected_ms=46 handshake_path=relay http://10.0.0.1:3340/ +first_data_ms=86 first_data_path=relay http://10.0.0.1:3340/ +first_direct_selected_ms=112 (direct 10.0.0.2:4444) +selections=[(112, "direct 10.0.0.2:4444")] +window_s=60 echoes_ok=234 echoes_failed=0 echoes_on_direct=233 echoes_on_relay=1 +rtt_ms_median_relay=Some(18.3) +rtt_ms_median_direct=Some(3.1) +selected_at_end=direct 10.0.0.2:4444 +holepunch_attempts=3 +own_ip_candidates=["10.0.0.3:4444", "192.168.2.2:4444"] + 60096 ms dial path closed: relay http://10.0.0.1:3340/ + 60096 ms dial path closed: direct 10.0.0.2:4444 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-r2-nft.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-r2-nft.txt new file mode 100644 index 0000000000..7ccc035407 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-r2-nft.txt @@ -0,0 +1,34 @@ +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + iifname "wan" udp dport 4444 dnat to 192.168.1.2:4444 + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + iifname "wan" udp dport 4444 dnat to 192.168.2.2:4444 + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-r2-relay.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-r2-relay.txt new file mode 100644 index 0000000000..9d8f0572b7 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-r2-relay.txt @@ -0,0 +1,4 @@ +2026-10-11T12:24:35.674274Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:9090 +2026-10-11T12:24:35.680239Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 10.0.0.1:3340 +2026-10-11T12:24:35.680405Z  INFO iroh_relay::quic::server: QUIC server listening on bind_addr=10.0.0.1:7842 +2026-10-11T12:25:44.174549Z  WARN relay-http-serve:conn{peer=10.0.0.3:53290}:handler:client-connection-actor{remote_endpoint=4878276eba connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-r2-serve.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-r2-serve.txt new file mode 100644 index 0000000000..32d1d6e245 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-r2-serve.txt @@ -0,0 +1,7 @@ + 3049 ms online home_relays=["http://10.0.0.1:3340/"] + 5053 ms own_ip_candidates=["10.0.0.2:4444", "192.168.1.2:4444"] +ticket written: 100 chars + 8382 ms serve path opened: direct 10.0.0.3:4444 + 8382 ms serve path selected: direct 10.0.0.3:4444 + 68372 ms serve path closed: relay http://10.0.0.1:3340/ + 68372 ms serve path closed: direct 10.0.0.3:4444 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-r3-dial.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-r3-dial.txt new file mode 100644 index 0000000000..f8a0b30e59 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-r3-dial.txt @@ -0,0 +1,19 @@ + 3013 ms online home_relays=["http://10.0.0.1:3340/"] +ticket relays=["http://10.0.0.1:3340/"] direct=0 + 20 ms handshake done, selected=relay http://10.0.0.1:3340/ + 36 ms first reply (27 bytes), selected=relay http://10.0.0.1:3340/ + 40 ms dial path opened: direct 10.0.0.2:4444 + 40 ms dial path selected: direct 10.0.0.2:4444 +--- summary (dial) +connected_ms=20 handshake_path=relay http://10.0.0.1:3340/ +first_data_ms=36 first_data_path=relay http://10.0.0.1:3340/ +first_direct_selected_ms=40 (direct 10.0.0.2:4444) +selections=[(40, "direct 10.0.0.2:4444")] +window_s=60 echoes_ok=238 echoes_failed=0 echoes_on_direct=237 echoes_on_relay=1 +rtt_ms_median_relay=Some(2.7) +rtt_ms_median_direct=Some(1.4) +selected_at_end=direct 10.0.0.2:4444 +holepunch_attempts=3 +own_ip_candidates=["10.0.0.3:4444", "192.168.2.2:4444"] + 60272 ms dial path closed: relay http://10.0.0.1:3340/ + 60272 ms dial path closed: direct 10.0.0.2:4444 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-r3-nft.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-r3-nft.txt new file mode 100644 index 0000000000..7ccc035407 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-r3-nft.txt @@ -0,0 +1,34 @@ +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + iifname "wan" udp dport 4444 dnat to 192.168.1.2:4444 + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + iifname "wan" udp dport 4444 dnat to 192.168.2.2:4444 + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-r3-relay.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-r3-relay.txt new file mode 100644 index 0000000000..e396449f48 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-r3-relay.txt @@ -0,0 +1,4 @@ +2026-10-11T12:25:44.672126Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:9090 +2026-10-11T12:25:44.673579Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 10.0.0.1:3340 +2026-10-11T12:25:44.673692Z  INFO iroh_relay::quic::server: QUIC server listening on bind_addr=10.0.0.1:7842 +2026-10-11T12:26:53.185388Z  WARN relay-http-serve:conn{peer=10.0.0.3:40192}:handler:client-connection-actor{remote_endpoint=ddd9f7c261 connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-r3-serve.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-r3-serve.txt new file mode 100644 index 0000000000..36392de317 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-r3-serve.txt @@ -0,0 +1,7 @@ + 3020 ms online home_relays=["http://10.0.0.1:3340/"] + 5021 ms own_ip_candidates=["10.0.0.2:4444", "192.168.1.2:4444"] +ticket written: 100 chars + 8163 ms serve path opened: direct 10.0.0.3:4444 + 8163 ms serve path selected: direct 10.0.0.3:4444 + 68397 ms serve path closed: relay http://10.0.0.1:3340/ + 68397 ms serve path closed: direct 10.0.0.3:4444 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-smoke-dial.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-smoke-dial.txt new file mode 100644 index 0000000000..453f8eaa49 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-smoke-dial.txt @@ -0,0 +1,19 @@ + 3057 ms online home_relays=["http://10.0.0.1:3340/"] +ticket relays=["http://10.0.0.1:3340/"] direct=0 + 27 ms handshake done, selected=relay http://10.0.0.1:3340/ + 47 ms first reply (27 bytes), selected=relay http://10.0.0.1:3340/ + 52 ms dial path opened: direct 10.0.0.2:4444 + 52 ms dial path selected: direct 10.0.0.2:4444 +--- summary (dial) +connected_ms=27 handshake_path=relay http://10.0.0.1:3340/ +first_data_ms=47 first_data_path=relay http://10.0.0.1:3340/ +first_direct_selected_ms=52 (direct 10.0.0.2:4444) +selections=[(52, "direct 10.0.0.2:4444")] +window_s=8 echoes_ok=32 echoes_failed=0 echoes_on_direct=32 echoes_on_relay=0 +rtt_ms_median_relay=None +rtt_ms_median_direct=Some(3.0) +selected_at_end=direct 10.0.0.2:4444 +holepunch_attempts=3 +own_ip_candidates=["10.0.0.3:4444", "192.168.2.2:4444"] + 8238 ms dial path closed: relay http://10.0.0.1:3340/ + 8238 ms dial path closed: direct 10.0.0.2:4444 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-smoke-nft.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-smoke-nft.txt new file mode 100644 index 0000000000..7ccc035407 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-smoke-nft.txt @@ -0,0 +1,34 @@ +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + iifname "wan" udp dport 4444 dnat to 192.168.1.2:4444 + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + iifname "wan" udp dport 4444 dnat to 192.168.2.2:4444 + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-smoke-relay.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-smoke-relay.txt new file mode 100644 index 0000000000..4659ad6751 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-smoke-relay.txt @@ -0,0 +1,4 @@ +2026-10-11T12:22:01.783378Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:9090 +2026-10-11T12:22:01.785088Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 10.0.0.1:3340 +2026-10-11T12:22:01.785234Z  INFO iroh_relay::quic::server: QUIC server listening on bind_addr=10.0.0.1:7842 +2026-10-11T12:22:18.327020Z  WARN relay-http-serve:conn{peer=10.0.0.3:49896}:handler:client-connection-actor{remote_endpoint=676eb15dd9 connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-smoke-serve.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-smoke-serve.txt new file mode 100644 index 0000000000..11021070a3 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-smoke-serve.txt @@ -0,0 +1,7 @@ + 3039 ms online home_relays=["http://10.0.0.1:3340/"] + 5044 ms own_ip_candidates=["10.0.0.2:4444", "192.168.1.2:4444"] +ticket written: 100 chars + 8321 ms serve path opened: direct 10.0.0.3:4444 + 8321 ms serve path selected: direct 10.0.0.3:4444 + 16508 ms serve path closed: relay http://10.0.0.1:3340/ + 16508 ms serve path closed: direct 10.0.0.3:4444 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-vs-restricted-mix4-dial.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-vs-restricted-mix4-dial.txt new file mode 100644 index 0000000000..c796496a44 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-vs-restricted-mix4-dial.txt @@ -0,0 +1,20 @@ +profile home_qad=true n0=true standin=None + 3013 ms online home_relays=["http://10.0.0.1:3340/"] +ticket relays=["http://10.0.0.1:3340/"] direct=0 + 18 ms handshake done, selected=relay http://10.0.0.1:3340/ + 31 ms first reply (27 bytes), selected=relay http://10.0.0.1:3340/ + 34 ms dial path opened: direct 10.0.0.2:4444 + 34 ms dial path selected: direct 10.0.0.2:4444 +--- summary (dial) +connected_ms=18 handshake_path=relay http://10.0.0.1:3340/ +first_data_ms=31 first_data_path=relay http://10.0.0.1:3340/ +first_direct_selected_ms=34 (direct 10.0.0.2:4444) +selections=[(34, "direct 10.0.0.2:4444")] +window_s=30 echoes_ok=119 echoes_failed=0 echoes_on_direct=118 echoes_on_relay=1 +rtt_ms_median_relay=Some(1.9) +rtt_ms_median_direct=Some(1.1) +selected_at_end=direct 10.0.0.2:4444 +holepunch_attempts=3 +own_ip_candidates=["10.0.0.3:4444", "192.168.2.2:4444"] + 30058 ms dial path closed: relay http://10.0.0.1:3340/ + 30058 ms dial path closed: direct 10.0.0.2:4444 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-vs-restricted-mix4-nft.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-vs-restricted-mix4-nft.txt new file mode 100644 index 0000000000..e4f3c13175 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-vs-restricted-mix4-nft.txt @@ -0,0 +1,33 @@ +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + iifname "wan" udp dport 4444 dnat to 192.168.1.2:4444 + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-vs-restricted-mix4-relay.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-vs-restricted-mix4-relay.txt new file mode 100644 index 0000000000..bf965b57ff --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-vs-restricted-mix4-relay.txt @@ -0,0 +1,4 @@ +2026-10-11T12:46:51.180317Z INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:9090 +2026-10-11T12:46:51.181311Z INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 10.0.0.1:3340 +2026-10-11T12:46:51.181396Z INFO iroh_relay::quic::server: QUIC server listening on bind_addr=10.0.0.1:7842 +2026-10-11T12:47:29.439737Z WARN relay-http-serve:conn{peer=10.0.0.3:43736}:handler:client-connection-actor{remote_endpoint=fdf59e9b16 connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-vs-restricted-mix4-serve.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-vs-restricted-mix4-serve.txt new file mode 100644 index 0000000000..4d1b322881 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-vs-restricted-mix4-serve.txt @@ -0,0 +1,7 @@ + 3011 ms online home_relays=["http://10.0.0.1:3340/"] + 5013 ms own_ip_candidates=["10.0.0.2:4444", "192.168.1.2:4444"] +ticket written: 100 chars + 8123 ms serve path opened: direct 10.0.0.3:4444 + 8123 ms serve path selected: direct 10.0.0.3:4444 + 38148 ms serve path closed: relay http://10.0.0.1:3340/ + 38148 ms serve path closed: direct 10.0.0.3:4444 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-vs-symmetric-mix2-dial.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-vs-symmetric-mix2-dial.txt new file mode 100644 index 0000000000..992b80ed43 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-vs-symmetric-mix2-dial.txt @@ -0,0 +1,20 @@ +profile home_qad=true n0=true standin=None + 3010 ms online home_relays=["http://10.0.0.1:3340/"] +ticket relays=["http://10.0.0.1:3340/"] direct=0 + 14 ms handshake done, selected=relay http://10.0.0.1:3340/ + 26 ms first reply (27 bytes), selected=relay http://10.0.0.1:3340/ + 29 ms dial path opened: direct 10.0.0.2:4444 + 29 ms dial path selected: direct 10.0.0.2:4444 +--- summary (dial) +connected_ms=14 handshake_path=relay http://10.0.0.1:3340/ +first_data_ms=26 first_data_path=relay http://10.0.0.1:3340/ +first_direct_selected_ms=29 (direct 10.0.0.2:4444) +selections=[(29, "direct 10.0.0.2:4444")] +window_s=30 echoes_ok=119 echoes_failed=0 echoes_on_direct=118 echoes_on_relay=1 +rtt_ms_median_relay=Some(2.6) +rtt_ms_median_direct=Some(1.2) +selected_at_end=direct 10.0.0.2:4444 +holepunch_attempts=3 +own_ip_candidates=["10.0.0.3:17134", "192.168.2.2:4444"] + 30081 ms dial path closed: relay http://10.0.0.1:3340/ + 30081 ms dial path closed: direct 10.0.0.2:4444 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-vs-symmetric-mix2-nft.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-vs-symmetric-mix2-nft.txt new file mode 100644 index 0000000000..55382c93de --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-vs-symmetric-mix2-nft.txt @@ -0,0 +1,33 @@ +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + iifname "wan" udp dport 4444 dnat to 192.168.1.2:4444 + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade fully-random + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-vs-symmetric-mix2-r2-dial.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-vs-symmetric-mix2-r2-dial.txt new file mode 100644 index 0000000000..2a550bb614 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-vs-symmetric-mix2-r2-dial.txt @@ -0,0 +1,20 @@ +profile home_qad=true n0=true standin=None + 3010 ms online home_relays=["http://10.0.0.1:3340/"] +ticket relays=["http://10.0.0.1:3340/"] direct=0 + 15 ms handshake done, selected=relay http://10.0.0.1:3340/ + 27 ms first reply (27 bytes), selected=relay http://10.0.0.1:3340/ + 29 ms dial path opened: direct 10.0.0.2:4444 + 29 ms dial path selected: direct 10.0.0.2:4444 +--- summary (dial) +connected_ms=15 handshake_path=relay http://10.0.0.1:3340/ +first_data_ms=27 first_data_path=relay http://10.0.0.1:3340/ +first_direct_selected_ms=29 (direct 10.0.0.2:4444) +selections=[(29, "direct 10.0.0.2:4444")] +window_s=30 echoes_ok=119 echoes_failed=0 echoes_on_direct=118 echoes_on_relay=1 +rtt_ms_median_relay=Some(1.6) +rtt_ms_median_direct=Some(1.3) +selected_at_end=direct 10.0.0.2:4444 +holepunch_attempts=3 +own_ip_candidates=["10.0.0.3:9112", "192.168.2.2:4444"] + 30137 ms dial path closed: relay http://10.0.0.1:3340/ + 30137 ms dial path closed: direct 10.0.0.2:4444 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-vs-symmetric-mix2-r2-nft.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-vs-symmetric-mix2-r2-nft.txt new file mode 100644 index 0000000000..55382c93de --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-vs-symmetric-mix2-r2-nft.txt @@ -0,0 +1,33 @@ +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + iifname "wan" udp dport 4444 dnat to 192.168.1.2:4444 + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade fully-random + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-vs-symmetric-mix2-r2-relay.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-vs-symmetric-mix2-r2-relay.txt new file mode 100644 index 0000000000..7b4db17f88 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-vs-symmetric-mix2-r2-relay.txt @@ -0,0 +1,4 @@ +2026-10-11T12:44:24.036684Z INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:9090 +2026-10-11T12:44:24.037773Z INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 10.0.0.1:3340 +2026-10-11T12:44:24.037878Z INFO iroh_relay::quic::server: QUIC server listening on bind_addr=10.0.0.1:7842 +2026-10-11T12:45:02.368104Z WARN relay-http-serve:conn{peer=10.0.0.3:57925}:handler:client-connection-actor{remote_endpoint=f8f9fb7c62 connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-vs-symmetric-mix2-r2-serve.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-vs-symmetric-mix2-r2-serve.txt new file mode 100644 index 0000000000..23f91ba41c --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-vs-symmetric-mix2-r2-serve.txt @@ -0,0 +1,7 @@ + 3013 ms online home_relays=["http://10.0.0.1:3340/"] + 5014 ms own_ip_candidates=["10.0.0.2:4444", "192.168.1.2:4444"] +ticket written: 100 chars + 8110 ms serve path opened: direct 10.0.0.3:23091 + 8110 ms serve path selected: direct 10.0.0.3:23091 + 38219 ms serve path closed: relay http://10.0.0.1:3340/ + 38219 ms serve path closed: direct 10.0.0.3:23091 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-vs-symmetric-mix2-relay.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-vs-symmetric-mix2-relay.txt new file mode 100644 index 0000000000..3f6b426bdb --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-vs-symmetric-mix2-relay.txt @@ -0,0 +1,4 @@ +2026-10-11T12:42:17.656047Z INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:9090 +2026-10-11T12:42:17.657081Z INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 10.0.0.1:3340 +2026-10-11T12:42:17.657184Z INFO iroh_relay::quic::server: QUIC server listening on bind_addr=10.0.0.1:7842 +2026-10-11T12:42:55.934407Z WARN relay-http-serve:conn{peer=10.0.0.3:54228}:handler:client-connection-actor{remote_endpoint=584b5309fe connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-vs-symmetric-mix2-serve.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-vs-symmetric-mix2-serve.txt new file mode 100644 index 0000000000..32401ae5c4 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/cone-vs-symmetric-mix2-serve.txt @@ -0,0 +1,7 @@ + 3010 ms online home_relays=["http://10.0.0.1:3340/"] + 5012 ms own_ip_candidates=["10.0.0.2:4444", "192.168.1.2:4444"] +ticket written: 100 chars + 8111 ms serve path opened: direct 10.0.0.3:55773 + 8111 ms serve path selected: direct 10.0.0.3:55773 + 38166 ms serve path closed: relay http://10.0.0.1:3340/ + 38166 ms serve path closed: direct 10.0.0.3:55773 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/probe-nat-cone.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/probe-nat-cone.txt new file mode 100644 index 0000000000..85d2fb0aa4 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/probe-nat-cone.txt @@ -0,0 +1,11 @@ +== NAT: cone +-- root-9000 +recv local=9000 from=10.0.0.2:4444 data=from-4444 +-- root-9001 +recv local=9001 from=10.0.0.2:4444 data=from-4444 +-- host-a +sent local=4444 to=10.0.0.1:9000 +sent local=4444 to=10.0.0.1:9001 +recv local=4444 from=10.0.0.1:9002 data=from-9002 +-- root-9002 +sent local=9002 to=10.0.0.2:4444 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/probe-nat-restricted.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/probe-nat-restricted.txt new file mode 100644 index 0000000000..e1b45b5f41 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/probe-nat-restricted.txt @@ -0,0 +1,10 @@ +== NAT: restricted +-- root-9000 +recv local=9000 from=10.0.0.2:4444 data=from-4444 +-- root-9001 +recv local=9001 from=10.0.0.2:4444 data=from-4444 +-- host-a +sent local=4444 to=10.0.0.1:9000 +sent local=4444 to=10.0.0.1:9001 +-- root-9002 +sent local=9002 to=10.0.0.2:4444 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/probe-nat-symmetric.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/probe-nat-symmetric.txt new file mode 100644 index 0000000000..c274117f4d --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/probe-nat-symmetric.txt @@ -0,0 +1,10 @@ +== NAT: symmetric +-- root-9000 +recv local=9000 from=10.0.0.2:54109 data=from-4444 +-- root-9001 +recv local=9001 from=10.0.0.2:1582 data=from-4444 +-- host-a +sent local=4444 to=10.0.0.1:9000 +sent local=4444 to=10.0.0.1:9001 +-- root-9002 +sent local=9002 to=10.0.0.2:4444 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-n0off-r1-dial.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-n0off-r1-dial.txt new file mode 100644 index 0000000000..e7a6ac2469 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-n0off-r1-dial.txt @@ -0,0 +1,20 @@ +profile home_qad=true n0=false + 220 ms online home_relays=["http://10.0.0.1:3340/"] +ticket relays=["http://10.0.0.1:3340/"] direct=0 + 21 ms handshake done, selected=relay http://10.0.0.1:3340/ + 37 ms first reply (27 bytes), selected=relay http://10.0.0.1:3340/ + 42 ms dial path opened: direct 10.0.0.2:4444 + 42 ms dial path selected: direct 10.0.0.2:4444 +--- summary (dial) +connected_ms=21 handshake_path=relay http://10.0.0.1:3340/ +first_data_ms=37 first_data_path=relay http://10.0.0.1:3340/ +first_direct_selected_ms=42 (direct 10.0.0.2:4444) +selections=[(42, "direct 10.0.0.2:4444")] +window_s=10 echoes_ok=40 echoes_failed=0 echoes_on_direct=40 echoes_on_relay=0 +rtt_ms_median_relay=None +rtt_ms_median_direct=Some(1.4) +selected_at_end=direct 10.0.0.2:4444 +holepunch_attempts=3 +own_ip_candidates=["10.0.0.3:4444", "192.168.2.2:4444"] + 10160 ms dial path closed: relay http://10.0.0.1:3340/ + 10160 ms dial path closed: direct 10.0.0.2:4444 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-n0off-r1-nft.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-n0off-r1-nft.txt new file mode 100644 index 0000000000..a9f112db05 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-n0off-r1-nft.txt @@ -0,0 +1,32 @@ +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-n0off-r1-relay.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-n0off-r1-relay.txt new file mode 100644 index 0000000000..ca7d8e5e6a --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-n0off-r1-relay.txt @@ -0,0 +1,4 @@ +2026-10-11T12:35:54.870067Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:9090 +2026-10-11T12:35:54.871327Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 10.0.0.1:3340 +2026-10-11T12:35:54.871449Z  INFO iroh_relay::quic::server: QUIC server listening on bind_addr=10.0.0.1:7842 +2026-10-11T12:36:07.608460Z  WARN relay-http-serve:conn{peer=10.0.0.3:45528}:handler:client-connection-actor{remote_endpoint=c4f743aa57 connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-n0off-r1-serve.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-n0off-r1-serve.txt new file mode 100644 index 0000000000..47f5cb7ae7 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-n0off-r1-serve.txt @@ -0,0 +1,7 @@ + 210 ms online home_relays=["http://10.0.0.1:3340/"] + 2211 ms own_ip_candidates=["10.0.0.2:4444", "192.168.1.2:4444"] +ticket written: 100 chars + 2507 ms serve path opened: direct 10.0.0.3:4444 + 2507 ms serve path selected: direct 10.0.0.3:4444 + 12624 ms serve path closed: relay http://10.0.0.1:3340/ + 12624 ms serve path closed: direct 10.0.0.3:4444 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-noqad-clean-r1-dial.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-noqad-clean-r1-dial.txt new file mode 100644 index 0000000000..78ae522ae2 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-noqad-clean-r1-dial.txt @@ -0,0 +1,17 @@ +profile home_qad=false n0=false standin=None + 209 ms online home_relays=["http://10.0.0.1:3340/"] +ticket relays=["http://10.0.0.1:3340/"] direct=0 + 20 ms handshake done, selected=relay http://10.0.0.1:3340/ + 34 ms first reply (27 bytes), selected=relay http://10.0.0.1:3340/ +--- summary (dial) +connected_ms=20 handshake_path=relay http://10.0.0.1:3340/ +first_data_ms=34 first_data_path=relay http://10.0.0.1:3340/ +first_direct_selected_ms=none +selections=[] +window_s=30 echoes_ok=119 echoes_failed=0 echoes_on_direct=0 echoes_on_relay=119 +rtt_ms_median_relay=Some(2.1) +rtt_ms_median_direct=None +selected_at_end=relay http://10.0.0.1:3340/ +holepunch_attempts=2 +own_ip_candidates=["192.168.2.2:4444"] + 30223 ms dial path closed: relay http://10.0.0.1:3340/ diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-noqad-clean-r1-nft.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-noqad-clean-r1-nft.txt new file mode 100644 index 0000000000..a9f112db05 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-noqad-clean-r1-nft.txt @@ -0,0 +1,32 @@ +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-noqad-clean-r1-relay.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-noqad-clean-r1-relay.txt new file mode 100644 index 0000000000..75637a2ced --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-noqad-clean-r1-relay.txt @@ -0,0 +1,3 @@ +2026-10-11T12:38:34.385324Z INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:9090 +2026-10-11T12:38:34.386841Z INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 10.0.0.1:3340 +2026-10-11T12:39:07.168165Z WARN relay-http-serve:conn{peer=10.0.0.3:35444}:handler:client-connection-actor{remote_endpoint=0f0159e84a connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-noqad-clean-r1-serve.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-noqad-clean-r1-serve.txt new file mode 100644 index 0000000000..0bd6fc2022 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-noqad-clean-r1-serve.txt @@ -0,0 +1,4 @@ + 212 ms online home_relays=["http://10.0.0.1:3340/"] + 2213 ms own_ip_candidates=["192.168.1.2:4444"] +ticket written: 100 chars + 32669 ms serve path closed: relay http://10.0.0.1:3340/ diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-noqad-r1-dial.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-noqad-r1-dial.txt new file mode 100644 index 0000000000..1aedc906dc --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-noqad-r1-dial.txt @@ -0,0 +1,17 @@ +profile home_qad=false n0=true + 3036 ms online home_relays=["http://10.0.0.1:3340/"] +ticket relays=["http://10.0.0.1:3340/"] direct=0 + 27 ms handshake done, selected=relay http://10.0.0.1:3340/ + 46 ms first reply (27 bytes), selected=relay http://10.0.0.1:3340/ +--- summary (dial) +connected_ms=27 handshake_path=relay http://10.0.0.1:3340/ +first_data_ms=46 first_data_path=relay http://10.0.0.1:3340/ +first_direct_selected_ms=none +selections=[] +window_s=30 echoes_ok=119 echoes_failed=0 echoes_on_direct=0 echoes_on_relay=119 +rtt_ms_median_relay=Some(2.2) +rtt_ms_median_direct=None +selected_at_end=relay http://10.0.0.1:3340/ +holepunch_attempts=2 +own_ip_candidates=["192.168.2.2:4444"] + 30221 ms dial path closed: relay http://10.0.0.1:3340/ diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-noqad-r1-nft.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-noqad-r1-nft.txt new file mode 100644 index 0000000000..a9f112db05 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-noqad-r1-nft.txt @@ -0,0 +1,32 @@ +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-noqad-r1-relay.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-noqad-r1-relay.txt new file mode 100644 index 0000000000..a642c37761 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-noqad-r1-relay.txt @@ -0,0 +1,3 @@ +2026-10-11T12:35:15.935404Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:9090 +2026-10-11T12:35:15.936979Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 10.0.0.1:3340 +2026-10-11T12:35:54.446421Z  WARN relay-http-serve:conn{peer=10.0.0.3:49620}:handler:client-connection-actor{remote_endpoint=d01f7a798d connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-noqad-r1-serve.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-noqad-r1-serve.txt new file mode 100644 index 0000000000..89bdd10031 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-noqad-r1-serve.txt @@ -0,0 +1,4 @@ + 3023 ms online home_relays=["http://10.0.0.1:3340/"] + 5025 ms own_ip_candidates=["192.168.1.2:4444"] +ticket written: 100 chars + 38386 ms serve path closed: relay http://10.0.0.1:3340/ diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-qnt-restr-dial.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-qnt-restr-dial.txt new file mode 100644 index 0000000000..88e2be67e5 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-qnt-restr-dial.txt @@ -0,0 +1,31 @@ +profile home_qad=true n0=true standin=None + 3013 ms online home_relays=["http://10.0.0.1:3340/"] +ticket relays=["http://10.0.0.1:3340/"] direct=0 +2026-10-11T12:40:44.586220Z DEBUG iroh::_events::path::open: remote=ac2edc1f32 conn_id=95732513315024 path_id=0 network_path=Relay(http://10.0.0.1:3340/, ac2edc1f32) +2026-10-11T12:40:44.586343Z DEBUG iroh::_events::path::set_status: remote=ac2edc1f32 conn_id=95732513315024 path_id=0 network_path=Relay(http://10.0.0.1:3340/, ac2edc1f32) status=Backup prev_status=Available +2026-10-11T12:40:44.586425Z DEBUG iroh::_events::qnt::init: remote=ac2edc1f32 local_candidates={10.0.0.3:4444, 192.168.2.2:4444} remote_candidates={} +2026-10-11T12:40:44.586473Z DEBUG iroh::_events::path::selected: remote=ac2edc1f32 network_path=Relay(http://10.0.0.1:3340/, ac2edc1f32) prev_network_path=None +2026-10-11T12:40:44.586492Z DEBUG iroh::_events::path::set_status: remote=ac2edc1f32 conn_id=95732513315024 path_id=0 network_path=Relay(http://10.0.0.1:3340/, ac2edc1f32) status=Available prev_status=Backup + 18 ms handshake done, selected=relay http://10.0.0.1:3340/ +2026-10-11T12:40:44.599425Z DEBUG iroh::_events::qnt::init: remote=ac2edc1f32 local_candidates={10.0.0.3:4444, 192.168.2.2:4444} remote_candidates={10.0.0.2:4444, 192.168.1.2:4444} + 32 ms first reply (27 bytes), selected=relay http://10.0.0.1:3340/ +2026-10-11T12:40:44.602193Z DEBUG iroh::_events::path::open: remote=ac2edc1f32 conn_id=95732513315024 path_id=1 network_path=Ip(192.168.2.2->10.0.0.2:4444) + 34 ms dial path opened: direct 10.0.0.2:4444 +2026-10-11T12:40:44.602320Z DEBUG iroh::_events::path::selected: remote=ac2edc1f32 network_path=Ip(192.168.2.2->10.0.0.2:4444) prev_network_path=Relay(http://10.0.0.1:3340/, ac2edc1f32) +2026-10-11T12:40:44.602341Z DEBUG iroh::_events::path::set_status: remote=ac2edc1f32 conn_id=95732513315024 path_id=0 network_path=Relay(http://10.0.0.1:3340/, ac2edc1f32) status=Backup prev_status=Available +2026-10-11T12:40:44.602353Z DEBUG iroh::_events::path::set_status: remote=ac2edc1f32 conn_id=95732513315024 path_id=1 network_path=Ip(192.168.2.2->10.0.0.2:4444) status=Available prev_status=Backup + 34 ms dial path selected: direct 10.0.0.2:4444 +2026-10-11T12:40:49.600170Z DEBUG iroh::_events::qnt::init: remote=ac2edc1f32 local_candidates={10.0.0.3:4444, 192.168.2.2:4444} remote_candidates={10.0.0.2:4444, 192.168.1.2:4444} +--- summary (dial) +connected_ms=18 handshake_path=relay http://10.0.0.1:3340/ +first_data_ms=32 first_data_path=relay http://10.0.0.1:3340/ +first_direct_selected_ms=34 (direct 10.0.0.2:4444) +selections=[(34, "direct 10.0.0.2:4444")] +window_s=12 echoes_ok=48 echoes_failed=0 echoes_on_direct=47 echoes_on_relay=1 +rtt_ms_median_relay=Some(1.4) +rtt_ms_median_direct=Some(1.3) +selected_at_end=direct 10.0.0.2:4444 +holepunch_attempts=3 +own_ip_candidates=["10.0.0.3:4444", "192.168.2.2:4444"] + 12151 ms dial path closed: relay http://10.0.0.1:3340/ + 12151 ms dial path closed: direct 10.0.0.2:4444 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-qnt-restr-nft.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-qnt-restr-nft.txt new file mode 100644 index 0000000000..a9f112db05 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-qnt-restr-nft.txt @@ -0,0 +1,32 @@ +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-qnt-restr-relay.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-qnt-restr-relay.txt new file mode 100644 index 0000000000..cbc5e2db0a --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-qnt-restr-relay.txt @@ -0,0 +1,4 @@ +2026-10-11T12:40:36.358327Z INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:9090 +2026-10-11T12:40:36.359529Z INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 10.0.0.1:3340 +2026-10-11T12:40:36.359636Z INFO iroh_relay::quic::server: QUIC server listening on bind_addr=10.0.0.1:7842 +2026-10-11T12:40:56.720979Z WARN relay-http-serve:conn{peer=10.0.0.3:44358}:handler:client-connection-actor{remote_endpoint=a366d36a74 connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-qnt-restr-serve.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-qnt-restr-serve.txt new file mode 100644 index 0000000000..026094dccd --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-qnt-restr-serve.txt @@ -0,0 +1,16 @@ + 3012 ms online home_relays=["http://10.0.0.1:3340/"] + 5014 ms own_ip_candidates=["10.0.0.2:4444", "192.168.1.2:4444"] +ticket written: 100 chars +2026-10-11T12:40:44.598550Z DEBUG iroh::_events::path::open: remote=a366d36a74 conn_id=123567216457888 path_id=0 network_path=Relay(http://10.0.0.1:3340/, a366d36a74) +2026-10-11T12:40:44.598671Z DEBUG iroh::_events::path::set_status: remote=a366d36a74 conn_id=123567216457888 path_id=0 network_path=Relay(http://10.0.0.1:3340/, a366d36a74) status=Backup prev_status=Available +2026-10-11T12:40:44.598719Z DEBUG iroh::_events::path::selected: remote=a366d36a74 network_path=Relay(http://10.0.0.1:3340/, a366d36a74) prev_network_path=None +2026-10-11T12:40:44.598733Z DEBUG iroh::_events::path::set_status: remote=a366d36a74 conn_id=123567216457888 path_id=0 network_path=Relay(http://10.0.0.1:3340/, a366d36a74) status=Available prev_status=Backup +2026-10-11T12:40:44.603096Z DEBUG iroh::_events::path::open: remote=a366d36a74 conn_id=123567216457888 path_id=1 network_path=Ip(192.168.1.2->10.0.0.3:4444) +2026-10-11T12:40:44.603168Z DEBUG iroh::_events::path::set_status: remote=a366d36a74 conn_id=123567216457888 path_id=1 network_path=Ip(192.168.1.2->10.0.0.3:4444) status=Backup prev_status=Available + 8134 ms serve path opened: direct 10.0.0.3:4444 +2026-10-11T12:40:44.603222Z DEBUG iroh::_events::path::selected: remote=a366d36a74 network_path=Ip(192.168.1.2->10.0.0.3:4444) prev_network_path=Relay(http://10.0.0.1:3340/, a366d36a74) +2026-10-11T12:40:44.603239Z DEBUG iroh::_events::path::set_status: remote=a366d36a74 conn_id=123567216457888 path_id=0 network_path=Relay(http://10.0.0.1:3340/, a366d36a74) status=Backup prev_status=Available +2026-10-11T12:40:44.603257Z DEBUG iroh::_events::path::set_status: remote=a366d36a74 conn_id=123567216457888 path_id=1 network_path=Ip(192.168.1.2->10.0.0.3:4444) status=Available prev_status=Backup + 8134 ms serve path selected: direct 10.0.0.3:4444 + 20251 ms serve path closed: relay http://10.0.0.1:3340/ + 20252 ms serve path closed: direct 10.0.0.3:4444 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-r1-dial.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-r1-dial.txt new file mode 100644 index 0000000000..51c6c0a2cc --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-r1-dial.txt @@ -0,0 +1,19 @@ + 3035 ms online home_relays=["http://10.0.0.1:3340/"] +ticket relays=["http://10.0.0.1:3340/"] direct=0 + 22 ms handshake done, selected=relay http://10.0.0.1:3340/ + 44 ms first reply (27 bytes), selected=relay http://10.0.0.1:3340/ + 47 ms dial path opened: direct 10.0.0.2:4444 + 47 ms dial path selected: direct 10.0.0.2:4444 +--- summary (dial) +connected_ms=22 handshake_path=relay http://10.0.0.1:3340/ +first_data_ms=44 first_data_path=relay http://10.0.0.1:3340/ +first_direct_selected_ms=47 (direct 10.0.0.2:4444) +selections=[(47, "direct 10.0.0.2:4444")] +window_s=60 echoes_ok=237 echoes_failed=0 echoes_on_direct=237 echoes_on_relay=0 +rtt_ms_median_relay=None +rtt_ms_median_direct=Some(1.6) +selected_at_end=direct 10.0.0.2:4444 +holepunch_attempts=3 +own_ip_candidates=["10.0.0.3:4444", "192.168.2.2:4444"] + 60106 ms dial path closed: relay http://10.0.0.1:3340/ + 60106 ms dial path closed: direct 10.0.0.2:4444 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-r1-nft.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-r1-nft.txt new file mode 100644 index 0000000000..a9f112db05 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-r1-nft.txt @@ -0,0 +1,32 @@ +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-r1-relay.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-r1-relay.txt new file mode 100644 index 0000000000..d5b4a199a2 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-r1-relay.txt @@ -0,0 +1,4 @@ +2026-10-11T12:27:02.709190Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:9090 +2026-10-11T12:27:02.710876Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 10.0.0.1:3340 +2026-10-11T12:27:02.711012Z  INFO iroh_relay::quic::server: QUIC server listening on bind_addr=10.0.0.1:7842 +2026-10-11T12:28:11.152394Z  WARN relay-http-serve:conn{peer=10.0.0.3:53764}:handler:client-connection-actor{remote_endpoint=dc7acc9231 connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-r1-serve.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-r1-serve.txt new file mode 100644 index 0000000000..90745e1c1a --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-r1-serve.txt @@ -0,0 +1,7 @@ + 3065 ms online home_relays=["http://10.0.0.1:3340/"] + 5066 ms own_ip_candidates=["10.0.0.2:4444", "192.168.1.2:4444"] +ticket written: 100 chars + 8312 ms serve path opened: direct 10.0.0.3:4444 + 8312 ms serve path selected: direct 10.0.0.3:4444 + 68371 ms serve path closed: relay http://10.0.0.1:3340/ + 68371 ms serve path closed: direct 10.0.0.3:4444 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-r2-dial.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-r2-dial.txt new file mode 100644 index 0000000000..d9683e7527 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-r2-dial.txt @@ -0,0 +1,19 @@ + 3046 ms online home_relays=["http://10.0.0.1:3340/"] +ticket relays=["http://10.0.0.1:3340/"] direct=0 + 34 ms handshake done, selected=relay http://10.0.0.1:3340/ + 63 ms first reply (27 bytes), selected=relay http://10.0.0.1:3340/ + 68 ms dial path opened: direct 10.0.0.2:4444 + 72 ms dial path selected: direct 10.0.0.2:4444 +--- summary (dial) +connected_ms=34 handshake_path=relay http://10.0.0.1:3340/ +first_data_ms=63 first_data_path=relay http://10.0.0.1:3340/ +first_direct_selected_ms=72 (direct 10.0.0.2:4444) +selections=[(72, "direct 10.0.0.2:4444")] +window_s=60 echoes_ok=234 echoes_failed=0 echoes_on_direct=234 echoes_on_relay=0 +rtt_ms_median_relay=None +rtt_ms_median_direct=Some(2.3) +selected_at_end=direct 10.0.0.2:4444 +holepunch_attempts=3 +own_ip_candidates=["10.0.0.3:4444", "192.168.2.2:4444"] + 60072 ms dial path closed: relay http://10.0.0.1:3340/ + 60072 ms dial path closed: direct 10.0.0.2:4444 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-r2-nft.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-r2-nft.txt new file mode 100644 index 0000000000..a9f112db05 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-r2-nft.txt @@ -0,0 +1,32 @@ +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-r2-relay.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-r2-relay.txt new file mode 100644 index 0000000000..69d6485348 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-r2-relay.txt @@ -0,0 +1,4 @@ +2026-10-11T12:28:11.570584Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:9090 +2026-10-11T12:28:11.571673Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 10.0.0.1:3340 +2026-10-11T12:28:11.571762Z  INFO iroh_relay::quic::server: QUIC server listening on bind_addr=10.0.0.1:7842 +2026-10-11T12:29:19.878924Z  WARN relay-http-serve:conn{peer=10.0.0.3:47714}:handler:client-connection-actor{remote_endpoint=05fc88a5f5 connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-r2-serve.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-r2-serve.txt new file mode 100644 index 0000000000..7cfb4b28eb --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-r2-serve.txt @@ -0,0 +1,7 @@ + 3010 ms online home_relays=["http://10.0.0.1:3340/"] + 5012 ms own_ip_candidates=["10.0.0.2:4444", "192.168.1.2:4444"] +ticket written: 100 chars + 8190 ms serve path opened: direct 10.0.0.3:4444 + 8191 ms serve path selected: direct 10.0.0.3:4444 + 68195 ms serve path closed: relay http://10.0.0.1:3340/ + 68195 ms serve path closed: direct 10.0.0.3:4444 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-r3-dial.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-r3-dial.txt new file mode 100644 index 0000000000..bd38b7a22f --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-r3-dial.txt @@ -0,0 +1,19 @@ + 3020 ms online home_relays=["http://10.0.0.1:3340/"] +ticket relays=["http://10.0.0.1:3340/"] direct=0 + 22 ms handshake done, selected=relay http://10.0.0.1:3340/ + 37 ms first reply (27 bytes), selected=relay http://10.0.0.1:3340/ + 41 ms dial path opened: direct 10.0.0.2:4444 + 41 ms dial path selected: direct 10.0.0.2:4444 +--- summary (dial) +connected_ms=22 handshake_path=relay http://10.0.0.1:3340/ +first_data_ms=37 first_data_path=relay http://10.0.0.1:3340/ +first_direct_selected_ms=41 (direct 10.0.0.2:4444) +selections=[(41, "direct 10.0.0.2:4444")] +window_s=60 echoes_ok=237 echoes_failed=0 echoes_on_direct=236 echoes_on_relay=1 +rtt_ms_median_relay=Some(3.3) +rtt_ms_median_direct=Some(1.5) +selected_at_end=direct 10.0.0.2:4444 +holepunch_attempts=3 +own_ip_candidates=["10.0.0.3:4444", "192.168.2.2:4444"] + 60166 ms dial path closed: relay http://10.0.0.1:3340/ + 60166 ms dial path closed: direct 10.0.0.2:4444 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-r3-nft.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-r3-nft.txt new file mode 100644 index 0000000000..a9f112db05 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-r3-nft.txt @@ -0,0 +1,32 @@ +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-r3-relay.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-r3-relay.txt new file mode 100644 index 0000000000..606187cab4 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-r3-relay.txt @@ -0,0 +1,4 @@ +2026-10-11T12:29:20.411993Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:9090 +2026-10-11T12:29:20.413504Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 10.0.0.1:3340 +2026-10-11T12:29:20.413712Z  INFO iroh_relay::quic::server: QUIC server listening on bind_addr=10.0.0.1:7842 +2026-10-11T12:30:28.807713Z  WARN relay-http-serve:conn{peer=10.0.0.3:42816}:handler:client-connection-actor{remote_endpoint=8ce3509e81 connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-r3-serve.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-r3-serve.txt new file mode 100644 index 0000000000..bfae0c4e90 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-r3-serve.txt @@ -0,0 +1,7 @@ + 3016 ms online home_relays=["http://10.0.0.1:3340/"] + 5017 ms own_ip_candidates=["10.0.0.2:4444", "192.168.1.2:4444"] +ticket written: 100 chars + 8155 ms serve path opened: direct 10.0.0.3:4444 + 8155 ms serve path selected: direct 10.0.0.3:4444 + 68280 ms serve path closed: relay http://10.0.0.1:3340/ + 68280 ms serve path closed: direct 10.0.0.3:4444 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-smoke-dial.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-smoke-dial.txt new file mode 100644 index 0000000000..829a1a7c6b --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-smoke-dial.txt @@ -0,0 +1,19 @@ + 3052 ms online home_relays=["http://10.0.0.1:3340/"] +ticket relays=["http://10.0.0.1:3340/"] direct=0 + 36 ms handshake done, selected=relay http://10.0.0.1:3340/ + 54 ms first reply (27 bytes), selected=relay http://10.0.0.1:3340/ + 63 ms dial path opened: direct 10.0.0.2:4444 + 67 ms dial path selected: direct 10.0.0.2:4444 +--- summary (dial) +connected_ms=36 handshake_path=relay http://10.0.0.1:3340/ +first_data_ms=54 first_data_path=relay http://10.0.0.1:3340/ +first_direct_selected_ms=67 (direct 10.0.0.2:4444) +selections=[(67, "direct 10.0.0.2:4444")] +window_s=8 echoes_ok=32 echoes_failed=0 echoes_on_direct=31 echoes_on_relay=1 +rtt_ms_median_relay=Some(9.1) +rtt_ms_median_direct=Some(1.5) +selected_at_end=direct 10.0.0.2:4444 +holepunch_attempts=3 +own_ip_candidates=["10.0.0.3:4444", "192.168.2.2:4444"] + 8196 ms dial path closed: relay http://10.0.0.1:3340/ + 8196 ms dial path closed: direct 10.0.0.2:4444 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-smoke-nft.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-smoke-nft.txt new file mode 100644 index 0000000000..a9f112db05 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-smoke-nft.txt @@ -0,0 +1,32 @@ +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-smoke-relay.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-smoke-relay.txt new file mode 100644 index 0000000000..324b2dcf73 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-smoke-relay.txt @@ -0,0 +1,4 @@ +2026-10-11T12:22:30.011348Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:9090 +2026-10-11T12:22:30.012990Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 10.0.0.1:3340 +2026-10-11T12:22:30.013173Z  INFO iroh_relay::quic::server: QUIC server listening on bind_addr=10.0.0.1:7842 +2026-10-11T12:22:46.477380Z  WARN relay-http-serve:conn{peer=10.0.0.3:41682}:handler:client-connection-actor{remote_endpoint=7453988dff connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-smoke-serve.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-smoke-serve.txt new file mode 100644 index 0000000000..e2d339aa73 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-smoke-serve.txt @@ -0,0 +1,7 @@ + 3020 ms online home_relays=["http://10.0.0.1:3340/"] + 5021 ms own_ip_candidates=["10.0.0.2:4444", "192.168.1.2:4444"] +ticket written: 100 chars + 8221 ms serve path opened: direct 10.0.0.3:4444 + 8221 ms serve path selected: direct 10.0.0.3:4444 + 16349 ms serve path closed: relay http://10.0.0.1:3340/ + 16349 ms serve path closed: direct 10.0.0.3:4444 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-standin-r1-dial.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-standin-r1-dial.txt new file mode 100644 index 0000000000..45f43e8731 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-standin-r1-dial.txt @@ -0,0 +1,20 @@ +profile home_qad=false n0=false standin=Some(RelayUrl("http://10.0.0.1:3341/")) + 410 ms online home_relays=["http://10.0.0.1:3340/"] +ticket relays=["http://10.0.0.1:3340/"] direct=0 + 19 ms handshake done, selected=relay http://10.0.0.1:3340/ + 34 ms first reply (27 bytes), selected=relay http://10.0.0.1:3340/ + 39 ms dial path opened: direct 10.0.0.2:4444 + 39 ms dial path selected: direct 10.0.0.2:4444 +--- summary (dial) +connected_ms=19 handshake_path=relay http://10.0.0.1:3340/ +first_data_ms=34 first_data_path=relay http://10.0.0.1:3340/ +first_direct_selected_ms=39 (direct 10.0.0.2:4444) +selections=[(39, "direct 10.0.0.2:4444")] +window_s=30 echoes_ok=119 echoes_failed=0 echoes_on_direct=119 echoes_on_relay=0 +rtt_ms_median_relay=None +rtt_ms_median_direct=Some(1.4) +selected_at_end=direct 10.0.0.2:4444 +holepunch_attempts=3 +own_ip_candidates=["10.0.0.3:4444", "192.168.2.2:4444"] + 30135 ms dial path closed: relay http://10.0.0.1:3340/ + 30135 ms dial path closed: direct 10.0.0.2:4444 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-standin-r1-nft.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-standin-r1-nft.txt new file mode 100644 index 0000000000..a9f112db05 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-standin-r1-nft.txt @@ -0,0 +1,32 @@ +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-standin-r1-relay.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-standin-r1-relay.txt new file mode 100644 index 0000000000..4bc4b4fe55 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-standin-r1-relay.txt @@ -0,0 +1,3 @@ +2026-10-11T12:38:01.000287Z INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:9090 +2026-10-11T12:38:01.001650Z INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 10.0.0.1:3340 +2026-10-11T12:38:34.005572Z WARN relay-http-serve:conn{peer=10.0.0.3:45958}:handler:client-connection-actor{remote_endpoint=755ce614bf connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-standin-r1-serve.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-standin-r1-serve.txt new file mode 100644 index 0000000000..9317995880 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-standin-r1-serve.txt @@ -0,0 +1,7 @@ + 410 ms online home_relays=["http://10.0.0.1:3340/"] + 2411 ms own_ip_candidates=["10.0.0.2:4444", "192.168.1.2:4444"] +ticket written: 100 chars + 2896 ms serve path opened: direct 10.0.0.3:4444 + 2896 ms serve path selected: direct 10.0.0.3:4444 + 32993 ms serve path closed: relay http://10.0.0.1:3340/ + 32993 ms serve path closed: direct 10.0.0.3:4444 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-standin-r1-standin.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-standin-r1-standin.txt new file mode 100644 index 0000000000..8e4e1a94e8 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-standin-r1-standin.txt @@ -0,0 +1 @@ +2026-10-11T12:38:01.003374Z INFO iroh_relay::quic::server: QUIC server listening on bind_addr=10.0.0.1:7843 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-vs-symmetric-mix5-dial.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-vs-symmetric-mix5-dial.txt new file mode 100644 index 0000000000..0f04d1c34f --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-vs-symmetric-mix5-dial.txt @@ -0,0 +1,17 @@ +profile home_qad=true n0=true standin=None + 3012 ms online home_relays=["http://10.0.0.1:3340/"] +ticket relays=["http://10.0.0.1:3340/"] direct=0 + 16 ms handshake done, selected=relay http://10.0.0.1:3340/ + 30 ms first reply (27 bytes), selected=relay http://10.0.0.1:3340/ +--- summary (dial) +connected_ms=16 handshake_path=relay http://10.0.0.1:3340/ +first_data_ms=30 first_data_path=relay http://10.0.0.1:3340/ +first_direct_selected_ms=none +selections=[] +window_s=30 echoes_ok=119 echoes_failed=0 echoes_on_direct=0 echoes_on_relay=119 +rtt_ms_median_relay=Some(1.8) +rtt_ms_median_direct=None +selected_at_end=relay http://10.0.0.1:3340/ +holepunch_attempts=3 +own_ip_candidates=["10.0.0.3:46964", "192.168.2.2:4444"] + 30139 ms dial path closed: relay http://10.0.0.1:3340/ diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-vs-symmetric-mix5-nft.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-vs-symmetric-mix5-nft.txt new file mode 100644 index 0000000000..03544a226d --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-vs-symmetric-mix5-nft.txt @@ -0,0 +1,32 @@ +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade fully-random + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-vs-symmetric-mix5-relay.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-vs-symmetric-mix5-relay.txt new file mode 100644 index 0000000000..4bb56e2a8e --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-vs-symmetric-mix5-relay.txt @@ -0,0 +1,4 @@ +2026-10-11T12:47:29.785079Z INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:9090 +2026-10-11T12:47:29.786211Z INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 10.0.0.1:3340 +2026-10-11T12:47:29.786313Z INFO iroh_relay::quic::server: QUIC server listening on bind_addr=10.0.0.1:7842 +2026-10-11T12:48:08.121613Z WARN relay-http-serve:conn{peer=10.0.0.3:18976}:handler:client-connection-actor{remote_endpoint=b31a39910b connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-vs-symmetric-mix5-serve.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-vs-symmetric-mix5-serve.txt new file mode 100644 index 0000000000..42202da59e --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/restricted-vs-symmetric-mix5-serve.txt @@ -0,0 +1,4 @@ + 3013 ms online home_relays=["http://10.0.0.1:3340/"] + 5015 ms own_ip_candidates=["10.0.0.2:4444", "192.168.1.2:4444"] +ticket written: 100 chars + 38226 ms serve path closed: relay http://10.0.0.1:3340/ diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/summary.md b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/summary.md new file mode 100644 index 0000000000..5f8913a2fe --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/summary.md @@ -0,0 +1,29 @@ +| run | profile | online ms | handshake ms | handshake path | first reply ms | first reply path | first direct ms | window s | echoes on direct / ok | failed | path at end | holepunch attempts | +|---|---|---|---|---|---|---|---|---|---|---|---|---| +| cone-r1 | default | 3196 | 185 | relay | 334 | direct 10.0.0.2:4444 | 321 | 60 | 232/232 | 0 | direct 10.0.0.2:4444 | 3 | +| cone-r2 | default | 3067 | 46 | relay | 86 | relay | 112 | 60 | 233/234 | 0 | direct 10.0.0.2:4444 | 3 | +| cone-r3 | default | 3013 | 20 | relay | 36 | relay | 40 | 60 | 237/238 | 0 | direct 10.0.0.2:4444 | 3 | +| cone-smoke | default | 3057 | 27 | relay | 47 | relay | 52 | 8 | 32/32 | 0 | direct 10.0.0.2:4444 | 3 | +| cone-vs-restricted-mix4 | home QAD on, n0 on, stand-in off | 3013 | 18 | relay | 31 | relay | 34 | 30 | 118/119 | 0 | direct 10.0.0.2:4444 | 3 | +| cone-vs-symmetric-mix2 | home QAD on, n0 on, stand-in off | 3010 | 14 | relay | 26 | relay | 29 | 30 | 118/119 | 0 | direct 10.0.0.2:4444 | 3 | +| cone-vs-symmetric-mix2-r2 | home QAD on, n0 on, stand-in off | 3010 | 15 | relay | 27 | relay | 29 | 30 | 118/119 | 0 | direct 10.0.0.2:4444 | 3 | +| restricted-n0off-r1 | home QAD on, n0 off, stand-in off | 220 | 21 | relay | 37 | relay | 42 | 10 | 40/40 | 0 | direct 10.0.0.2:4444 | 3 | +| restricted-noqad-clean-r1 | home QAD off, n0 off, stand-in off | 209 | 20 | relay | 34 | relay | none | 30 | 0/119 | 0 | relay | 2 | +| restricted-noqad-r1 | home QAD off, n0 on, stand-in off | 3036 | 27 | relay | 46 | relay | none | 30 | 0/119 | 0 | relay | 2 | +| restricted-qnt-restr | home QAD on, n0 on, stand-in off | 3013 | 18 | relay | 32 | relay | 34 | 12 | 47/48 | 0 | direct 10.0.0.2:4444 | 3 | +| restricted-r1 | default | 3035 | 22 | relay | 44 | relay | 47 | 60 | 237/237 | 0 | direct 10.0.0.2:4444 | 3 | +| restricted-r2 | default | 3046 | 34 | relay | 63 | relay | 72 | 60 | 234/234 | 0 | direct 10.0.0.2:4444 | 3 | +| restricted-r3 | default | 3020 | 22 | relay | 37 | relay | 41 | 60 | 236/237 | 0 | direct 10.0.0.2:4444 | 3 | +| restricted-smoke | default | 3052 | 36 | relay | 54 | relay | 67 | 8 | 31/32 | 0 | direct 10.0.0.2:4444 | 3 | +| restricted-standin-r1 | home QAD off, n0 off, stand-in on | 410 | 19 | relay | 34 | relay | 39 | 30 | 119/119 | 0 | direct 10.0.0.2:4444 | 3 | +| restricted-vs-symmetric-mix5 | home QAD on, n0 on, stand-in off | 3012 | 16 | relay | 30 | relay | none | 30 | 0/119 | 0 | relay | 3 | +| symmetric-qnt-sym | home QAD on, n0 on, stand-in off | 3021 | 24 | relay | 39 | relay | none | 12 | 0/48 | 0 | relay | 3 | +| symmetric-r1 | default | 3010 | 16 | relay | 30 | relay | none | 60 | 0/236 | 0 | relay | 4 | +| symmetric-r2 | default | 3016 | 18 | relay | 33 | relay | none | 60 | 0/236 | 0 | relay | 4 | +| symmetric-r3 | default | 3054 | 55 | relay | 105 | relay | none | 60 | 0/234 | 0 | relay | 4 | +| symmetric-smoke | default | 3056 | 62 | relay | 116 | relay | none | 8 | 0/31 | 0 | relay | 3 | +| symmetric-vs-cone-mix1 | home QAD on, n0 on, stand-in off | 3010 | 16 | relay | 29 | relay | 32 | 30 | 118/119 | 0 | direct 10.0.0.2:60156 | 3 | +| symmetric-vs-cone-mix1-r2 | home QAD on, n0 on, stand-in off | 3016 | 21 | relay | 36 | relay | 40 | 30 | 118/119 | 0 | direct 10.0.0.2:23080 | 3 | +| symmetric-vs-restricted-mix3 | home QAD on, n0 on, stand-in off | 3016 | 18 | relay | 33 | relay | none | 30 | 0/119 | 0 | relay | 3 | +| symmetric-vs-restricted-mix3-r2 | home QAD on, n0 on, stand-in off | 3010 | 16 | relay | 29 | relay | none | 30 | 0/119 | 0 | relay | 3 | +| symmetric-vs-restricted-mix3-r3 | home QAD on, n0 on, stand-in off | 3011 | 14 | relay | 27 | relay | none | 30 | 0/119 | 0 | relay | 3 | diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-qnt-sym-dial.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-qnt-sym-dial.txt new file mode 100644 index 0000000000..547a906747 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-qnt-sym-dial.txt @@ -0,0 +1,24 @@ +profile home_qad=true n0=true standin=None + 3021 ms online home_relays=["http://10.0.0.1:3340/"] +ticket relays=["http://10.0.0.1:3340/"] direct=0 +2026-10-11T12:40:17.271610Z DEBUG iroh::_events::path::open: remote=355676b532 conn_id=107441257298352 path_id=0 network_path=Relay(http://10.0.0.1:3340/, 355676b532) +2026-10-11T12:40:17.271740Z DEBUG iroh::_events::path::set_status: remote=355676b532 conn_id=107441257298352 path_id=0 network_path=Relay(http://10.0.0.1:3340/, 355676b532) status=Backup prev_status=Available +2026-10-11T12:40:17.271839Z DEBUG iroh::_events::qnt::init: remote=355676b532 local_candidates={10.0.0.3:51554, 192.168.2.2:4444} remote_candidates={} +2026-10-11T12:40:17.271882Z DEBUG iroh::_events::path::selected: remote=355676b532 network_path=Relay(http://10.0.0.1:3340/, 355676b532) prev_network_path=None +2026-10-11T12:40:17.271914Z DEBUG iroh::_events::path::set_status: remote=355676b532 conn_id=107441257298352 path_id=0 network_path=Relay(http://10.0.0.1:3340/, 355676b532) status=Available prev_status=Backup + 24 ms handshake done, selected=relay http://10.0.0.1:3340/ + 39 ms first reply (27 bytes), selected=relay http://10.0.0.1:3340/ +2026-10-11T12:40:17.286947Z DEBUG iroh::_events::qnt::init: remote=355676b532 local_candidates={10.0.0.3:51554, 192.168.2.2:4444} remote_candidates={10.0.0.2:21499, 192.168.1.2:4444} +2026-10-11T12:40:22.287947Z DEBUG iroh::_events::qnt::init: remote=355676b532 local_candidates={10.0.0.3:51554, 192.168.2.2:4444} remote_candidates={10.0.0.2:21499, 192.168.1.2:4444} +--- summary (dial) +connected_ms=24 handshake_path=relay http://10.0.0.1:3340/ +first_data_ms=39 first_data_path=relay http://10.0.0.1:3340/ +first_direct_selected_ms=none +selections=[] +window_s=12 echoes_ok=48 echoes_failed=0 echoes_on_direct=0 echoes_on_relay=48 +rtt_ms_median_relay=Some(2.6) +rtt_ms_median_direct=None +selected_at_end=relay http://10.0.0.1:3340/ +holepunch_attempts=3 +own_ip_candidates=["10.0.0.3:51554", "192.168.2.2:4444"] + 12243 ms dial path closed: relay http://10.0.0.1:3340/ diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-qnt-sym-nft.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-qnt-sym-nft.txt new file mode 100644 index 0000000000..c09ebf2435 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-qnt-sym-nft.txt @@ -0,0 +1,32 @@ +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade fully-random + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade fully-random + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-qnt-sym-relay.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-qnt-sym-relay.txt new file mode 100644 index 0000000000..f61254b3e0 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-qnt-sym-relay.txt @@ -0,0 +1,4 @@ +2026-10-11T12:40:08.994263Z INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:9090 +2026-10-11T12:40:08.995842Z INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 10.0.0.1:3340 +2026-10-11T12:40:08.995979Z INFO iroh_relay::quic::server: QUIC server listening on bind_addr=10.0.0.1:7842 +2026-10-11T12:40:29.494053Z WARN relay-http-serve:conn{peer=10.0.0.3:43588}:handler:client-connection-actor{remote_endpoint=7a7421daa7 connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-qnt-sym-serve.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-qnt-sym-serve.txt new file mode 100644 index 0000000000..c10361204b --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-qnt-sym-serve.txt @@ -0,0 +1,8 @@ + 3015 ms online home_relays=["http://10.0.0.1:3340/"] + 5017 ms own_ip_candidates=["10.0.0.2:21499", "192.168.1.2:4444"] +ticket written: 100 chars +2026-10-11T12:40:17.285226Z DEBUG iroh::_events::path::open: remote=7a7421daa7 conn_id=129740291720176 path_id=0 network_path=Relay(http://10.0.0.1:3340/, 7a7421daa7) +2026-10-11T12:40:17.285339Z DEBUG iroh::_events::path::set_status: remote=7a7421daa7 conn_id=129740291720176 path_id=0 network_path=Relay(http://10.0.0.1:3340/, 7a7421daa7) status=Backup prev_status=Available +2026-10-11T12:40:17.285401Z DEBUG iroh::_events::path::selected: remote=7a7421daa7 network_path=Relay(http://10.0.0.1:3340/, 7a7421daa7) prev_network_path=None +2026-10-11T12:40:17.285421Z DEBUG iroh::_events::path::set_status: remote=7a7421daa7 conn_id=129740291720176 path_id=0 network_path=Relay(http://10.0.0.1:3340/, 7a7421daa7) status=Available prev_status=Backup + 20384 ms serve path closed: relay http://10.0.0.1:3340/ diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-r1-dial.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-r1-dial.txt new file mode 100644 index 0000000000..8cfc8ab923 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-r1-dial.txt @@ -0,0 +1,16 @@ + 3010 ms online home_relays=["http://10.0.0.1:3340/"] +ticket relays=["http://10.0.0.1:3340/"] direct=0 + 16 ms handshake done, selected=relay http://10.0.0.1:3340/ + 30 ms first reply (27 bytes), selected=relay http://10.0.0.1:3340/ +--- summary (dial) +connected_ms=16 handshake_path=relay http://10.0.0.1:3340/ +first_data_ms=30 first_data_path=relay http://10.0.0.1:3340/ +first_direct_selected_ms=none +selections=[] +window_s=60 echoes_ok=236 echoes_failed=0 echoes_on_direct=0 echoes_on_relay=236 +rtt_ms_median_relay=Some(2.2) +rtt_ms_median_direct=None +selected_at_end=relay http://10.0.0.1:3340/ +holepunch_attempts=4 +own_ip_candidates=["10.0.0.3:34161", "192.168.2.2:4444"] + 60135 ms dial path closed: relay http://10.0.0.1:3340/ diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-r1-nft.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-r1-nft.txt new file mode 100644 index 0000000000..c09ebf2435 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-r1-nft.txt @@ -0,0 +1,32 @@ +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade fully-random + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade fully-random + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-r1-relay.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-r1-relay.txt new file mode 100644 index 0000000000..e517f83479 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-r1-relay.txt @@ -0,0 +1,4 @@ +2026-10-11T12:30:33.106960Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:9090 +2026-10-11T12:30:33.108071Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 10.0.0.1:3340 +2026-10-11T12:30:33.108179Z  INFO iroh_relay::quic::server: QUIC server listening on bind_addr=10.0.0.1:7842 +2026-10-11T12:31:41.456866Z  WARN relay-http-serve:conn{peer=10.0.0.3:33701}:handler:client-connection-actor{remote_endpoint=8b027cdb29 connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-r1-serve.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-r1-serve.txt new file mode 100644 index 0000000000..eb5d4367f8 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-r1-serve.txt @@ -0,0 +1,4 @@ + 3015 ms online home_relays=["http://10.0.0.1:3340/"] + 5017 ms own_ip_candidates=["10.0.0.2:59478", "192.168.1.2:4444"] +ticket written: 100 chars + 68229 ms serve path closed: relay http://10.0.0.1:3340/ diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-r2-dial.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-r2-dial.txt new file mode 100644 index 0000000000..4420385c82 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-r2-dial.txt @@ -0,0 +1,16 @@ + 3016 ms online home_relays=["http://10.0.0.1:3340/"] +ticket relays=["http://10.0.0.1:3340/"] direct=0 + 18 ms handshake done, selected=relay http://10.0.0.1:3340/ + 33 ms first reply (27 bytes), selected=relay http://10.0.0.1:3340/ +--- summary (dial) +connected_ms=18 handshake_path=relay http://10.0.0.1:3340/ +first_data_ms=33 first_data_path=relay http://10.0.0.1:3340/ +first_direct_selected_ms=none +selections=[] +window_s=60 echoes_ok=236 echoes_failed=0 echoes_on_direct=0 echoes_on_relay=236 +rtt_ms_median_relay=Some(2.4) +rtt_ms_median_direct=None +selected_at_end=relay http://10.0.0.1:3340/ +holepunch_attempts=4 +own_ip_candidates=["10.0.0.3:1779", "192.168.2.2:4444"] + 60104 ms dial path closed: relay http://10.0.0.1:3340/ diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-r2-nft.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-r2-nft.txt new file mode 100644 index 0000000000..c09ebf2435 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-r2-nft.txt @@ -0,0 +1,32 @@ +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade fully-random + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade fully-random + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-r2-relay.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-r2-relay.txt new file mode 100644 index 0000000000..db61897938 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-r2-relay.txt @@ -0,0 +1,4 @@ +2026-10-11T12:31:42.279542Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:9090 +2026-10-11T12:31:42.281153Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 10.0.0.1:3340 +2026-10-11T12:31:42.281322Z  INFO iroh_relay::quic::server: QUIC server listening on bind_addr=10.0.0.1:7842 +2026-10-11T12:32:50.554247Z  WARN relay-http-serve:conn{peer=10.0.0.3:23971}:handler:client-connection-actor{remote_endpoint=800ddb9630 connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-r2-serve.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-r2-serve.txt new file mode 100644 index 0000000000..aec84a40bb --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-r2-serve.txt @@ -0,0 +1,4 @@ + 3014 ms online home_relays=["http://10.0.0.1:3340/"] + 5016 ms own_ip_candidates=["10.0.0.2:18794", "192.168.1.2:4444"] +ticket written: 100 chars + 68165 ms serve path closed: relay http://10.0.0.1:3340/ diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-r3-dial.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-r3-dial.txt new file mode 100644 index 0000000000..87b229557b --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-r3-dial.txt @@ -0,0 +1,16 @@ + 3054 ms online home_relays=["http://10.0.0.1:3340/"] +ticket relays=["http://10.0.0.1:3340/"] direct=0 + 55 ms handshake done, selected=relay http://10.0.0.1:3340/ + 105 ms first reply (27 bytes), selected=relay http://10.0.0.1:3340/ +--- summary (dial) +connected_ms=55 handshake_path=relay http://10.0.0.1:3340/ +first_data_ms=105 first_data_path=relay http://10.0.0.1:3340/ +first_direct_selected_ms=none +selections=[] +window_s=60 echoes_ok=234 echoes_failed=0 echoes_on_direct=0 echoes_on_relay=234 +rtt_ms_median_relay=Some(3.7) +rtt_ms_median_direct=None +selected_at_end=relay http://10.0.0.1:3340/ +holepunch_attempts=4 +own_ip_candidates=["10.0.0.3:12408", "192.168.2.2:4444"] + 60163 ms dial path closed: relay http://10.0.0.1:3340/ diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-r3-nft.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-r3-nft.txt new file mode 100644 index 0000000000..c09ebf2435 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-r3-nft.txt @@ -0,0 +1,32 @@ +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade fully-random + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade fully-random + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-r3-relay.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-r3-relay.txt new file mode 100644 index 0000000000..323f03eaa8 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-r3-relay.txt @@ -0,0 +1,4 @@ +2026-10-11T12:32:50.922397Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:9090 +2026-10-11T12:32:50.923560Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 10.0.0.1:3340 +2026-10-11T12:32:50.923664Z  INFO iroh_relay::quic::server: QUIC server listening on bind_addr=10.0.0.1:7842 +2026-10-11T12:33:59.336942Z  WARN relay-http-serve:conn{peer=10.0.0.3:15253}:handler:client-connection-actor{remote_endpoint=570f412d31 connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-r3-serve.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-r3-serve.txt new file mode 100644 index 0000000000..8a35750203 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-r3-serve.txt @@ -0,0 +1,4 @@ + 3012 ms online home_relays=["http://10.0.0.1:3340/"] + 5014 ms own_ip_candidates=["10.0.0.2:8704", "192.168.1.2:4444"] +ticket written: 100 chars + 68303 ms serve path closed: relay http://10.0.0.1:3340/ diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-smoke-dial.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-smoke-dial.txt new file mode 100644 index 0000000000..bfdb83b6af --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-smoke-dial.txt @@ -0,0 +1,16 @@ + 3056 ms online home_relays=["http://10.0.0.1:3340/"] +ticket relays=["http://10.0.0.1:3340/"] direct=0 + 62 ms handshake done, selected=relay http://10.0.0.1:3340/ + 116 ms first reply (27 bytes), selected=relay http://10.0.0.1:3340/ +--- summary (dial) +connected_ms=62 handshake_path=relay http://10.0.0.1:3340/ +first_data_ms=116 first_data_path=relay http://10.0.0.1:3340/ +first_direct_selected_ms=none +selections=[] +window_s=8 echoes_ok=31 echoes_failed=0 echoes_on_direct=0 echoes_on_relay=31 +rtt_ms_median_relay=Some(5.0) +rtt_ms_median_direct=None +selected_at_end=relay http://10.0.0.1:3340/ +holepunch_attempts=3 +own_ip_candidates=["10.0.0.3:42806", "192.168.2.2:4444"] + 8161 ms dial path closed: relay http://10.0.0.1:3340/ diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-smoke-nft.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-smoke-nft.txt new file mode 100644 index 0000000000..c09ebf2435 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-smoke-nft.txt @@ -0,0 +1,32 @@ +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade fully-random + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade fully-random + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-smoke-relay.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-smoke-relay.txt new file mode 100644 index 0000000000..e744fc17fb --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-smoke-relay.txt @@ -0,0 +1,4 @@ +2026-10-11T12:22:46.965421Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:9090 +2026-10-11T12:22:46.967103Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 10.0.0.1:3340 +2026-10-11T12:22:46.967312Z  INFO iroh_relay::quic::server: QUIC server listening on bind_addr=10.0.0.1:7842 +2026-10-11T12:23:03.570618Z  WARN relay-http-serve:conn{peer=10.0.0.3:54258}:handler:client-connection-actor{remote_endpoint=fbaaff55f3 connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-smoke-serve.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-smoke-serve.txt new file mode 100644 index 0000000000..7a97aa03a3 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-smoke-serve.txt @@ -0,0 +1,4 @@ + 3078 ms online home_relays=["http://10.0.0.1:3340/"] + 5084 ms own_ip_candidates=["10.0.0.2:48214", "192.168.1.2:4444"] +ticket written: 100 chars + 16479 ms serve path closed: relay http://10.0.0.1:3340/ diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-cone-mix1-dial.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-cone-mix1-dial.txt new file mode 100644 index 0000000000..326786051f --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-cone-mix1-dial.txt @@ -0,0 +1,20 @@ +profile home_qad=true n0=true standin=None + 3010 ms online home_relays=["http://10.0.0.1:3340/"] +ticket relays=["http://10.0.0.1:3340/"] direct=0 + 16 ms handshake done, selected=relay http://10.0.0.1:3340/ + 29 ms first reply (27 bytes), selected=relay http://10.0.0.1:3340/ + 32 ms dial path opened: direct 10.0.0.2:60156 + 32 ms dial path selected: direct 10.0.0.2:60156 +--- summary (dial) +connected_ms=16 handshake_path=relay http://10.0.0.1:3340/ +first_data_ms=29 first_data_path=relay http://10.0.0.1:3340/ +first_direct_selected_ms=32 (direct 10.0.0.2:60156) +selections=[(32, "direct 10.0.0.2:60156")] +window_s=30 echoes_ok=119 echoes_failed=0 echoes_on_direct=118 echoes_on_relay=1 +rtt_ms_median_relay=Some(1.6) +rtt_ms_median_direct=Some(1.2) +selected_at_end=direct 10.0.0.2:60156 +holepunch_attempts=3 +own_ip_candidates=["10.0.0.3:4444", "192.168.2.2:4444"] + 30067 ms dial path closed: relay http://10.0.0.1:3340/ + 30067 ms dial path closed: direct 10.0.0.2:60156 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-cone-mix1-nft.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-cone-mix1-nft.txt new file mode 100644 index 0000000000..83b0a296ee --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-cone-mix1-nft.txt @@ -0,0 +1,33 @@ +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade fully-random + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + iifname "wan" udp dport 4444 dnat to 192.168.2.2:4444 + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-cone-mix1-r2-dial.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-cone-mix1-r2-dial.txt new file mode 100644 index 0000000000..39cd6ed566 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-cone-mix1-r2-dial.txt @@ -0,0 +1,20 @@ +profile home_qad=true n0=true standin=None + 3016 ms online home_relays=["http://10.0.0.1:3340/"] +ticket relays=["http://10.0.0.1:3340/"] direct=0 + 21 ms handshake done, selected=relay http://10.0.0.1:3340/ + 36 ms first reply (27 bytes), selected=relay http://10.0.0.1:3340/ + 40 ms dial path opened: direct 10.0.0.2:23080 + 40 ms dial path selected: direct 10.0.0.2:23080 +--- summary (dial) +connected_ms=21 handshake_path=relay http://10.0.0.1:3340/ +first_data_ms=36 first_data_path=relay http://10.0.0.1:3340/ +first_direct_selected_ms=40 (direct 10.0.0.2:23080) +selections=[(40, "direct 10.0.0.2:23080")] +window_s=30 echoes_ok=119 echoes_failed=0 echoes_on_direct=118 echoes_on_relay=1 +rtt_ms_median_relay=Some(1.4) +rtt_ms_median_direct=Some(1.3) +selected_at_end=direct 10.0.0.2:23080 +holepunch_attempts=3 +own_ip_candidates=["10.0.0.3:4444", "192.168.2.2:4444"] + 30109 ms dial path closed: relay http://10.0.0.1:3340/ + 30109 ms dial path closed: direct 10.0.0.2:23080 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-cone-mix1-r2-nft.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-cone-mix1-r2-nft.txt new file mode 100644 index 0000000000..83b0a296ee --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-cone-mix1-r2-nft.txt @@ -0,0 +1,33 @@ +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade fully-random + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + iifname "wan" udp dport 4444 dnat to 192.168.2.2:4444 + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-cone-mix1-r2-relay.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-cone-mix1-r2-relay.txt new file mode 100644 index 0000000000..1611461830 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-cone-mix1-r2-relay.txt @@ -0,0 +1,4 @@ +2026-10-11T12:43:45.313796Z INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:9090 +2026-10-11T12:43:45.314946Z INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 10.0.0.1:3340 +2026-10-11T12:43:45.315060Z INFO iroh_relay::quic::server: QUIC server listening on bind_addr=10.0.0.1:7842 +2026-10-11T12:44:23.670605Z WARN relay-http-serve:conn{peer=10.0.0.3:57420}:handler:client-connection-actor{remote_endpoint=4720b614d4 connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-cone-mix1-r2-serve.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-cone-mix1-r2-serve.txt new file mode 100644 index 0000000000..f6f0583a8d --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-cone-mix1-r2-serve.txt @@ -0,0 +1,7 @@ + 3012 ms online home_relays=["http://10.0.0.1:3340/"] + 5014 ms own_ip_candidates=["10.0.0.2:28232", "192.168.1.2:4444"] +ticket written: 100 chars + 8175 ms serve path opened: direct 10.0.0.3:4444 + 8175 ms serve path selected: direct 10.0.0.3:4444 + 38245 ms serve path closed: relay http://10.0.0.1:3340/ + 38245 ms serve path closed: direct 10.0.0.3:4444 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-cone-mix1-relay.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-cone-mix1-relay.txt new file mode 100644 index 0000000000..85f3ab681d --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-cone-mix1-relay.txt @@ -0,0 +1,4 @@ +2026-10-11T12:41:39.045611Z INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:9090 +2026-10-11T12:41:39.046607Z INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 10.0.0.1:3340 +2026-10-11T12:41:39.046697Z INFO iroh_relay::quic::server: QUIC server listening on bind_addr=10.0.0.1:7842 +2026-10-11T12:42:17.308162Z WARN relay-http-serve:conn{peer=10.0.0.3:55130}:handler:client-connection-actor{remote_endpoint=8cc130adcb connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-cone-mix1-serve.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-cone-mix1-serve.txt new file mode 100644 index 0000000000..7c5af6e346 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-cone-mix1-serve.txt @@ -0,0 +1,7 @@ + 3012 ms online home_relays=["http://10.0.0.1:3340/"] + 5013 ms own_ip_candidates=["10.0.0.2:4846", "192.168.1.2:4444"] +ticket written: 100 chars + 8116 ms serve path opened: direct 10.0.0.3:4444 + 8116 ms serve path selected: direct 10.0.0.3:4444 + 38150 ms serve path closed: relay http://10.0.0.1:3340/ + 38150 ms serve path closed: direct 10.0.0.3:4444 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-restricted-mix3-dial.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-restricted-mix3-dial.txt new file mode 100644 index 0000000000..33a345a03f --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-restricted-mix3-dial.txt @@ -0,0 +1,17 @@ +profile home_qad=true n0=true standin=None + 3016 ms online home_relays=["http://10.0.0.1:3340/"] +ticket relays=["http://10.0.0.1:3340/"] direct=0 + 18 ms handshake done, selected=relay http://10.0.0.1:3340/ + 33 ms first reply (27 bytes), selected=relay http://10.0.0.1:3340/ +--- summary (dial) +connected_ms=18 handshake_path=relay http://10.0.0.1:3340/ +first_data_ms=33 first_data_path=relay http://10.0.0.1:3340/ +first_direct_selected_ms=none +selections=[] +window_s=30 echoes_ok=119 echoes_failed=0 echoes_on_direct=0 echoes_on_relay=119 +rtt_ms_median_relay=Some(2.0) +rtt_ms_median_direct=None +selected_at_end=relay http://10.0.0.1:3340/ +holepunch_attempts=3 +own_ip_candidates=["10.0.0.3:4444", "192.168.2.2:4444"] + 30171 ms dial path closed: relay http://10.0.0.1:3340/ diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-restricted-mix3-nft.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-restricted-mix3-nft.txt new file mode 100644 index 0000000000..04c478e024 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-restricted-mix3-nft.txt @@ -0,0 +1,32 @@ +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade fully-random + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-restricted-mix3-r2-dial.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-restricted-mix3-r2-dial.txt new file mode 100644 index 0000000000..d6966ce35d --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-restricted-mix3-r2-dial.txt @@ -0,0 +1,17 @@ +profile home_qad=true n0=true standin=None + 3010 ms online home_relays=["http://10.0.0.1:3340/"] +ticket relays=["http://10.0.0.1:3340/"] direct=0 + 16 ms handshake done, selected=relay http://10.0.0.1:3340/ + 29 ms first reply (27 bytes), selected=relay http://10.0.0.1:3340/ +--- summary (dial) +connected_ms=16 handshake_path=relay http://10.0.0.1:3340/ +first_data_ms=29 first_data_path=relay http://10.0.0.1:3340/ +first_direct_selected_ms=none +selections=[] +window_s=30 echoes_ok=119 echoes_failed=0 echoes_on_direct=0 echoes_on_relay=119 +rtt_ms_median_relay=Some(1.9) +rtt_ms_median_direct=None +selected_at_end=relay http://10.0.0.1:3340/ +holepunch_attempts=3 +own_ip_candidates=["10.0.0.3:4444", "192.168.2.2:4444"] + 30158 ms dial path closed: relay http://10.0.0.1:3340/ diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-restricted-mix3-r2-nft.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-restricted-mix3-r2-nft.txt new file mode 100644 index 0000000000..04c478e024 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-restricted-mix3-r2-nft.txt @@ -0,0 +1,32 @@ +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade fully-random + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-restricted-mix3-r2-relay.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-restricted-mix3-r2-relay.txt new file mode 100644 index 0000000000..d8932d31c8 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-restricted-mix3-r2-relay.txt @@ -0,0 +1,4 @@ +2026-10-11T12:45:02.787676Z INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:9090 +2026-10-11T12:45:02.788781Z INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 10.0.0.1:3340 +2026-10-11T12:45:02.788882Z INFO iroh_relay::quic::server: QUIC server listening on bind_addr=10.0.0.1:7842 +2026-10-11T12:45:41.149747Z WARN relay-http-serve:conn{peer=10.0.0.3:47454}:handler:client-connection-actor{remote_endpoint=1216138c87 connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-restricted-mix3-r2-serve.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-restricted-mix3-r2-serve.txt new file mode 100644 index 0000000000..0d29bc5348 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-restricted-mix3-r2-serve.txt @@ -0,0 +1,4 @@ + 3016 ms online home_relays=["http://10.0.0.1:3340/"] + 5018 ms own_ip_candidates=["10.0.0.2:59238", "192.168.1.2:4444"] +ticket written: 100 chars + 38246 ms serve path closed: relay http://10.0.0.1:3340/ diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-restricted-mix3-r3-dial.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-restricted-mix3-r3-dial.txt new file mode 100644 index 0000000000..1ce6adad13 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-restricted-mix3-r3-dial.txt @@ -0,0 +1,17 @@ +profile home_qad=true n0=true standin=None + 3011 ms online home_relays=["http://10.0.0.1:3340/"] +ticket relays=["http://10.0.0.1:3340/"] direct=0 + 14 ms handshake done, selected=relay http://10.0.0.1:3340/ + 27 ms first reply (27 bytes), selected=relay http://10.0.0.1:3340/ +--- summary (dial) +connected_ms=14 handshake_path=relay http://10.0.0.1:3340/ +first_data_ms=27 first_data_path=relay http://10.0.0.1:3340/ +first_direct_selected_ms=none +selections=[] +window_s=30 echoes_ok=119 echoes_failed=0 echoes_on_direct=0 echoes_on_relay=119 +rtt_ms_median_relay=Some(1.8) +rtt_ms_median_direct=None +selected_at_end=relay http://10.0.0.1:3340/ +holepunch_attempts=3 +own_ip_candidates=["10.0.0.3:4444", "192.168.2.2:4444"] + 30133 ms dial path closed: relay http://10.0.0.1:3340/ diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-restricted-mix3-r3-nft.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-restricted-mix3-r3-nft.txt new file mode 100644 index 0000000000..04c478e024 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-restricted-mix3-r3-nft.txt @@ -0,0 +1,32 @@ +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade fully-random + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} +table ip nat { + chain pre { + type nat hook prerouting priority dstnat; policy accept; + } + + chain post { + type nat hook postrouting priority srcnat; policy accept; + oifname "wan" masquerade + } +} +table ip filt { + chain in { + type filter hook input priority filter; policy accept; + iifname "wan" ct state new drop + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-restricted-mix3-r3-relay.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-restricted-mix3-r3-relay.txt new file mode 100644 index 0000000000..0ea4826b6f --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-restricted-mix3-r3-relay.txt @@ -0,0 +1,4 @@ +2026-10-11T12:48:08.476160Z INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:9090 +2026-10-11T12:48:08.477196Z INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 10.0.0.1:3340 +2026-10-11T12:48:08.477276Z INFO iroh_relay::quic::server: QUIC server listening on bind_addr=10.0.0.1:7842 +2026-10-11T12:48:46.798467Z WARN relay-http-serve:conn{peer=10.0.0.3:51600}:handler:client-connection-actor{remote_endpoint=c42e1296ba connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-restricted-mix3-r3-serve.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-restricted-mix3-r3-serve.txt new file mode 100644 index 0000000000..4218f6df85 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-restricted-mix3-r3-serve.txt @@ -0,0 +1,4 @@ + 3011 ms online home_relays=["http://10.0.0.1:3340/"] + 5012 ms own_ip_candidates=["10.0.0.2:25538", "192.168.1.2:4444"] +ticket written: 100 chars + 38212 ms serve path closed: relay http://10.0.0.1:3340/ diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-restricted-mix3-relay.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-restricted-mix3-relay.txt new file mode 100644 index 0000000000..b8b887fd77 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-restricted-mix3-relay.txt @@ -0,0 +1,4 @@ +2026-10-11T12:42:56.495103Z INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:9090 +2026-10-11T12:42:56.496247Z INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 10.0.0.1:3340 +2026-10-11T12:42:56.496365Z INFO iroh_relay::quic::server: QUIC server listening on bind_addr=10.0.0.1:7842 +2026-10-11T12:43:34.901463Z WARN relay-http-serve:conn{peer=10.0.0.3:49054}:handler:client-connection-actor{remote_endpoint=169d79916c connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-restricted-mix3-serve.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-restricted-mix3-serve.txt new file mode 100644 index 0000000000..6a3a8a1373 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/logs/symmetric-vs-restricted-mix3-serve.txt @@ -0,0 +1,4 @@ + 3032 ms online home_relays=["http://10.0.0.1:3340/"] + 5034 ms own_ip_candidates=["10.0.0.2:11946", "192.168.1.2:4444"] +ticket written: 100 chars + 38289 ms serve path closed: relay http://10.0.0.1:3340/ diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/src/main.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/src/main.rs new file mode 100644 index 0000000000..7b1c35ae49 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/c2-holepunch/src/main.rs @@ -0,0 +1,337 @@ +//! C2 holepunch peers. Two processes, each in its own lab network namespace (see lab/run.sh): +//! +//! c2-holepunch serve --port P --relay URL --ca FILE --ticket FILE +//! Echo endpoint. Writes its relay-only ticket to FILE once it is online. +//! c2-holepunch dial --port P --relay URL --ca FILE --ticket FILE [--window SECS] +//! Dials the ticket, echoes every 250 ms for SECS, then prints a timeline and a summary. +//! +//! Both endpoints bind UDP port P, home on --relay, keep n0's relays in their maps, and run QAD +//! on every relay. Tickets carry relay URLs only (`AddressPolicy::RelayOnly`). + +use std::fs; +use std::net::{Ipv4Addr, SocketAddrV4}; +use std::path::PathBuf; +use std::sync::{Arc, Mutex}; +use std::time::{Duration, Instant}; + +use anyhow::{Context, Result, bail, ensure}; +use c1_connect::connect::{AddressPolicy, n0_relays}; +use iroh::endpoint::presets::Minimal; +use iroh::endpoint::{Connection, Incoming, PathEvent, RecvStream, SendStream}; +use iroh::tls::CaTlsConfig; +use iroh::{Endpoint, RelayConfig, RelayMap, RelayMode, RelayUrl, TransportAddr}; +use iroh_relay::RelayQuicConfig; +use iroh_tickets::endpoint::EndpointTicket; +use n0_future::StreamExt; +use rustls_pki_types::CertificateDer; + +const ALPN: &[u8] = b"c2/holepunch/0"; +const ONLINE_LIMIT: Duration = Duration::from_secs(30); +const SAMPLE_EVERY: Duration = Duration::from_millis(250); +/// QAD port of the optional stand-in relay (see `--standin-url`). +const STANDIN_QAD_PORT: u16 = 7843; + +struct Args { + command: String, + port: u16, + relay: RelayUrl, + ca: PathBuf, + ticket: PathBuf, + window: u64, + /// Whether the home relay runs QAD (the client asks it for its public address). + home_qad: bool, + /// Whether n0's relays are in the map. They are, unless a control run removes them. + n0: bool, + /// A second relay in the map that runs QAD but serves no relay traffic (`enable_relay = false`). + standin: Option, +} + +impl Args { + fn parse() -> Result { + let mut it = std::env::args().skip(1); + let command = it + .next() + .context("usage: c2-holepunch serve|dial --port P --relay URL --ca FILE --ticket FILE [--window SECS] [--home-qad on|off] [--n0 on|off]")?; + let (mut port, mut relay, mut ca, mut ticket) = (None, None, None, None); + let (mut window, mut home_qad, mut n0) = (60, true, true); + let mut standin = None; + while let Some(flag) = it.next() { + let value = it.next().with_context(|| format!("{flag} needs a value"))?; + match flag.as_str() { + "--port" => port = Some(value.parse()?), + "--relay" => relay = Some(value.parse()?), + "--ca" => ca = Some(value.into()), + "--ticket" => ticket = Some(value.into()), + "--window" => window = value.parse()?, + "--home-qad" => home_qad = on_off(&value)?, + "--n0" => n0 = on_off(&value)?, + "--standin-url" => standin = Some(value.parse()?), + other => bail!("unknown flag {other}"), + } + } + Ok(Self { + command, + port: port.context("--port")?, + relay: relay.context("--relay")?, + ca: ca.context("--ca")?, + ticket: ticket.context("--ticket")?, + window, + home_qad, + n0, + standin, + }) + } +} + +fn on_off(value: &str) -> Result { + match value { + "on" => Ok(true), + "off" => Ok(false), + other => bail!("expected on or off, got {other}"), + } +} + +#[tokio::main] +async fn main() -> Result<()> { + // iroh's events go to stderr, filtered by RUST_LOG (e.g. iroh::_events::qnt=debug). Unset, only errors. + tracing_subscriber::fmt() + .with_env_filter(tracing_subscriber::EnvFilter::from_default_env()) + .with_writer(std::io::stderr) + .with_ansi(false) + .init(); + let args = Args::parse()?; + match args.command.as_str() { + "serve" => serve(&args).await, + "dial" => dial(&args).await, + other => bail!("unknown command {other}"), + } +} + +/// An endpoint on UDP `args.port`, homed on `args.relay`. The map also holds n0's relays, each +/// with QAD on (`RelayConfig::from`). The home relay has QAD unless `--home-qad off`. No lookup +/// service is configured. +async fn bind(args: &Args, alpns: Vec>) -> Result { + let home = if args.home_qad { + RelayConfig::from(args.relay.clone()) + } else { + RelayConfig::new(args.relay.clone(), None) + }; + let mut configs = vec![home]; + if args.n0 { + configs.extend(n0_relays().into_iter().map(RelayConfig::from)); + } + if let Some(url) = &args.standin { + configs.push(RelayConfig::new(url.clone(), Some(RelayQuicConfig::new(STANDIN_QAD_PORT)))); + } + let relays: RelayMap = configs.into_iter().collect(); + // The lab's relay certificate is issued by a lab CA. Trust that CA only. + let ca = CertificateDer::from(fs::read(&args.ca).context("reading --ca")?); + let endpoint = Endpoint::builder(Minimal) + .alpns(alpns) + .relay_mode(RelayMode::Custom(relays)) + .addr_filter(AddressPolicy::RelayOnly.filter()) + .ca_tls_config(CaTlsConfig::custom_roots([ca])) + .clear_ip_transports() + .bind_addr(SocketAddrV4::new(Ipv4Addr::UNSPECIFIED, args.port))? + .bind() + .await?; + Ok(endpoint) +} + +/// Waits for a home relay, then prints when it was reached and which relay is home. +async fn wait_online(endpoint: &Endpoint, origin: Instant) -> Result<()> { + tokio::time::timeout(ONLINE_LIMIT, endpoint.online()) + .await + .context("not online within 30 s")?; + let home: Vec = endpoint.addr().relay_urls().map(|u| u.to_string()).collect(); + println!("{:>7} ms online home_relays={home:?}", ms(origin)); + Ok(()) +} + +async fn serve(args: &Args) -> Result<()> { + let started = Instant::now(); + let endpoint = bind(args, vec![ALPN.to_vec()]).await?; + wait_online(&endpoint, started).await?; + // QAD can finish a moment after the home relay connects. Give it time to learn the public address. + tokio::time::sleep(Duration::from_secs(2)).await; + let own: Vec = endpoint.addr().ip_addrs().map(|a| a.to_string()).collect(); + println!("{:>7} ms own_ip_candidates={own:?}", ms(started)); + let ticket = EndpointTicket::new(AddressPolicy::RelayOnly.apply(&endpoint.addr())); + fs::write(&args.ticket, ticket.to_string()).context("writing --ticket")?; + println!("ticket written: {} chars", ticket.to_string().len()); + while let Some(incoming) = endpoint.accept().await { + tokio::spawn(answer(incoming, started)); + } + Ok(()) +} + +/// Echoes every stream on one connection, and logs that connection's path changes. +async fn answer(incoming: Incoming, origin: Instant) -> Result<()> { + let conn = incoming.await?; + log_paths(&conn, "serve", origin, Arc::default()); + while let Ok((mut send, mut recv)) = conn.accept_bi().await { + let request = read_frame(&mut recv).await?; + let mut reply = b"echo: ".to_vec(); + reply.extend_from_slice(&request); + write_frame(&mut send, &reply).await?; + send.finish()?; + } + Ok(()) +} + +/// One path change, for the summary: when, and what was selected. +type Selection = (u128, String); + +async fn dial(args: &Args) -> Result<()> { + let started = Instant::now(); + println!("profile home_qad={} n0={} standin={:?}", args.home_qad, args.n0, args.standin); + let endpoint = bind(args, vec![]).await?; + wait_online(&endpoint, started).await?; + + let text = fs::read_to_string(&args.ticket).context("reading --ticket")?; + let ticket: EndpointTicket = text.trim().parse()?; + let addr = ticket.endpoint_addr().clone(); + ensure!(addr.ip_addrs().count() == 0, "ticket carries a direct address"); + let server_relays: Vec = addr.relay_urls().map(|u| u.to_string()).collect(); + println!("ticket relays={server_relays:?} direct=0"); + + // Everything below is measured from the dial start, `t0`. + let t0 = Instant::now(); + let selections: Arc>> = Arc::default(); + let conn = endpoint.connect(addr, ALPN).await.context("connect")?; + let connected_ms = ms(t0); + let handshake_path = selected(&conn); + println!("{connected_ms:>7} ms handshake done, selected={handshake_path}"); + log_paths(&conn, "dial", t0, selections.clone()); + + let (reply, _) = echo(&conn).await?; + let first_data_ms = ms(t0); + let first_data_path = selected(&conn); + println!("{first_data_ms:>7} ms first reply ({} bytes), selected={first_data_path}", reply.len()); + + // Hold the connection for the window and echo, to see whether a direct path holds. + let mut rtts: Vec<(f64, bool)> = Vec::new(); // (rtt ms, selected path was direct) + let mut failures = 0; + let window_end = Instant::now() + Duration::from_secs(args.window); + while Instant::now() < window_end && conn.close_reason().is_none() { + let sent = Instant::now(); + match echo(&conn).await { + Ok(_) => rtts.push((sent.elapsed().as_secs_f64() * 1e3, selected(&conn).starts_with("direct"))), + Err(err) => { + failures += 1; + println!("{:>7} ms echo failed: {err:#}", ms(t0)); + } + } + tokio::time::sleep(SAMPLE_EVERY).await; + } + + let selected_at_end = selected(&conn); + let own: Vec = endpoint.addr().ip_addrs().map(|a| a.to_string()).collect(); + let attempts = endpoint.metrics().socket.holepunch_attempts.get(); + let selections = selections.lock().unwrap().clone(); + let first_direct = selections.iter().find(|(_, kind)| kind.starts_with("direct")); + + println!("--- summary (dial)"); + println!("connected_ms={connected_ms} handshake_path={handshake_path}"); + println!("first_data_ms={first_data_ms} first_data_path={first_data_path}"); + match first_direct { + Some((at, kind)) => println!("first_direct_selected_ms={at} ({kind})"), + None => println!("first_direct_selected_ms=none"), + } + println!("selections={selections:?}"); + let on_direct = rtts.iter().filter(|(_, d)| *d).count(); + println!( + "window_s={} echoes_ok={} echoes_failed={failures} echoes_on_direct={on_direct} echoes_on_relay={}", + args.window, + rtts.len(), + rtts.len() - on_direct + ); + println!("rtt_ms_median_relay={:?}", median(rtts.iter().filter(|(_, d)| !*d).map(|(r, _)| *r))); + println!("rtt_ms_median_direct={:?}", median(rtts.iter().filter(|(_, d)| *d).map(|(r, _)| *r))); + println!("selected_at_end={selected_at_end}"); + println!("holepunch_attempts={attempts}"); + println!("own_ip_candidates={own:?}"); + + conn.close(0u32.into(), b"done"); + endpoint.close().await; + Ok(()) +} + +/// Prints each path change on `conn`, in ms from `origin`, and records the selections. +fn log_paths(conn: &Connection, who: &'static str, origin: Instant, log: Arc>>) { + let mut events = conn.path_events(); + tokio::spawn(async move { + while let Some(event) = events.next().await { + let at = origin.elapsed().as_millis(); + match event { + PathEvent::Opened { remote_addr, .. } => { + println!("{at:>7} ms {who} path opened: {}", kind(&remote_addr)); + } + PathEvent::Selected { remote_addr, .. } => { + let text = kind(&remote_addr); + println!("{at:>7} ms {who} path selected: {text}"); + log.lock().unwrap().push((at, text)); + } + PathEvent::Closed { remote_addr, .. } => { + println!("{at:>7} ms {who} path closed: {}", kind(&remote_addr)); + } + PathEvent::Lagged { missed, .. } => println!("{at:>7} ms {who} events lagged: {missed}"), + _ => {} + } + } + }); +} + +/// The path that carries application data now: "relay " or "direct ", or "none". +fn selected(conn: &Connection) -> String { + conn.paths() + .iter() + .find(|p| p.is_selected()) + .map(|p| kind(p.remote_addr())) + .unwrap_or_else(|| "none".into()) +} + +fn kind(addr: &TransportAddr) -> String { + match addr { + TransportAddr::Relay(url) => format!("relay {url}"), + TransportAddr::Ip(ip) => format!("direct {ip}"), + _ => "other".into(), + } +} + +/// One request and reply on a new stream. Returns the reply and the time it took. +async fn echo(conn: &Connection) -> Result<(Vec, Duration)> { + let started = Instant::now(); + let (mut send, mut recv) = conn.open_bi().await?; + write_frame(&mut send, b"hello from the dialer").await?; + send.finish()?; + let reply = read_frame(&mut recv).await?; + Ok((reply, started.elapsed())) +} + +async fn write_frame(send: &mut SendStream, payload: &[u8]) -> Result<()> { + send.write_all(&(payload.len() as u32).to_be_bytes()).await?; + send.write_all(payload).await?; + Ok(()) +} + +async fn read_frame(recv: &mut RecvStream) -> Result> { + let mut len = [0u8; 4]; + recv.read_exact(&mut len).await?; + let mut buf = vec![0u8; u32::from_be_bytes(len) as usize]; + recv.read_exact(&mut buf).await?; + Ok(buf) +} + +fn ms(origin: Instant) -> u128 { + origin.elapsed().as_millis() +} + +fn median(values: impl Iterator) -> Option { + let mut v: Vec = values.collect(); + if v.is_empty() { + return None; + } + v.sort_by(|a, b| a.total_cmp(b)); + Some(((v[(v.len() - 1) / 2] + v[v.len() / 2]) / 2.0 * 10.0).round() / 10.0) +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s10-heads/Cargo.lock b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s10-heads/Cargo.lock new file mode 100644 index 0000000000..eb25ed3e9b --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s10-heads/Cargo.lock @@ -0,0 +1,1548 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "aead" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0" +dependencies = [ + "crypto-common 0.1.7", + "generic-array", +] + +[[package]] +name = "aes" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" +dependencies = [ + "cfg-if", + "cipher", + "cpufeatures 0.2.17", +] + +[[package]] +name = "aes-gcm" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "831010a0f742e1209b3bcea8fab6a8e149051ba6099432c8cb2cc117dec3ead1" +dependencies = [ + "aead", + "aes", + "cipher", + "ctr", + "ghash", + "subtle", +] + +[[package]] +name = "aho-corasick" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba" +dependencies = [ + "memchr", +] + +[[package]] +name = "arrayvec" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56" + +[[package]] +name = "autocfg" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" + +[[package]] +name = "base16ct" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" + +[[package]] +name = "base64ct" +version = "1.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2af50177e190e07a26ab74f8b1efbfe2ef87da2116221318cb1c2e82baf7de06" + +[[package]] +name = "bindgen" +version = "0.72.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "993776b509cfb49c750f11b8f07a46fa23e0a1386ffc01fb1e7d343efc387895" +dependencies = [ + "bitflags", + "cexpr", + "clang-sys", + "itertools", + "log", + "prettyplease", + "proc-macro2", + "quote", + "regex", + "rustc-hash", + "shlex 1.3.0", + "syn 2.0.119", +] + +[[package]] +name = "bitflags" +version = "2.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06" + +[[package]] +name = "blake3" +version = "1.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d9e454fc11f76977dc803893aff6304ed33d6a26efae8696573bea74baa27ae" +dependencies = [ + "arrayvec", + "cc", + "cfg-if", + "constant_time_eq", + "cpufeatures 0.3.1", +] + +[[package]] +name = "block-buffer" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" +dependencies = [ + "generic-array", +] + +[[package]] +name = "block-buffer" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2f6c7dbe95a6ed67ad9f18e57daf93a2f034c524b99fd2b76d18fdfeb6660aa" +dependencies = [ + "hybrid-array", +] + +[[package]] +name = "bumpalo" +version = "3.20.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649" + +[[package]] +name = "cbor-core" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9f70473b5194d5f6e3c271dc6d0f63f6b17cc5d004af959e9ed0be8c1dadcdb" +dependencies = [ + "serde", +] + +[[package]] +name = "cc" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50a649af8a827553c29fb0cb4bd4a6f1a0dd695bd3232b9bc98bd9c8a3ffbb8b" +dependencies = [ + "find-msvc-tools", + "shlex 2.0.1", +] + +[[package]] +name = "cexpr" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766" +dependencies = [ + "nom", +] + +[[package]] +name = "cfg-if" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600" + +[[package]] +name = "chacha20" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3613f74bd2eac03dad61bd53dbe620703d4371614fe0bc3b9f04dd36fe4e818" +dependencies = [ + "cfg-if", + "cipher", + "cpufeatures 0.2.17", +] + +[[package]] +name = "chacha20" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65c35e4b699c7e15ccbe7ee35c005e4fc0a278d22238a2857e6ce2dadeda1b06" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "rand_core 0.10.1", +] + +[[package]] +name = "chacha20poly1305" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10cd79432192d1c0f4e1a0fef9527696cc039165d729fb41b3f4f4f354c2dc35" +dependencies = [ + "aead", + "chacha20 0.9.1", + "cipher", + "poly1305", + "zeroize", +] + +[[package]] +name = "cipher" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" +dependencies = [ + "crypto-common 0.1.7", + "inout", + "zeroize", +] + +[[package]] +name = "clang-sys" +version = "1.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "157a8ba7b480713b56f4c09fd13fc3e0a22a5dfab8097ba61cbc5feef950788a" +dependencies = [ + "glob", + "libc", + "libloading", +] + +[[package]] +name = "cmov" +version = "0.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c9ea0ac24bc397ab3c98583a3c9ba74fa56b09a4449bbe172b9b1ddb016027a" + +[[package]] +name = "const-oid" +version = "0.9.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" + +[[package]] +name = "constant_time_eq" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d52eff69cd5e647efe296129160853a42795992097e8af39800e1060caeea9b" + +[[package]] +name = "core-models" +version = "0.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee3344d349528f449816cfa85e558c439bdca5a6d8a738cfb21e69f0b2b1952f" +dependencies = [ + "hax-lib", + "pastey", + "rand 0.10.3", +] + +[[package]] +name = "cpufeatures" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" +dependencies = [ + "libc", +] + +[[package]] +name = "cpufeatures" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ca28b0ae3115b884660db4118d803791fd6756b6e88f39c0f3f7859060d7566" +dependencies = [ + "libc", +] + +[[package]] +name = "crabgrind" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc7459e07732f6de74001fcf73a3fdfbb0f368e4fd8e2392f4a2206a065e6e95" +dependencies = [ + "bindgen", + "cc", + "pkg-config", +] + +[[package]] +name = "crypto-bigint" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" +dependencies = [ + "generic-array", + "rand_core 0.6.4", + "subtle", + "zeroize", +] + +[[package]] +name = "crypto-common" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" +dependencies = [ + "generic-array", + "typenum", +] + +[[package]] +name = "crypto-common" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453" +dependencies = [ + "hybrid-array", +] + +[[package]] +name = "ctr" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835" +dependencies = [ + "cipher", +] + +[[package]] +name = "ctutils" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03bb0e1cc970d482d121d9a1744999169b69a07470b3d644a7894e53fcaf4574" +dependencies = [ + "cmov", +] + +[[package]] +name = "curve25519-dalek" +version = "4.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "curve25519-dalek-derive", + "digest 0.10.7", + "fiat-crypto", + "rustc_version", + "subtle", + "zeroize", +] + +[[package]] +name = "curve25519-dalek-derive" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "der" +version = "0.7.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb" +dependencies = [ + "const-oid", + "zeroize", +] + +[[package]] +name = "digest" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" +dependencies = [ + "block-buffer 0.10.4", + "crypto-common 0.1.7", + "subtle", +] + +[[package]] +name = "digest" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2" +dependencies = [ + "block-buffer 0.12.1", + "crypto-common 0.2.2", + "ctutils", +] + +[[package]] +name = "ed25519" +version = "2.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" +dependencies = [ + "pkcs8", + "signature", +] + +[[package]] +name = "ed25519-dalek" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70e796c081cee67dc755e1a36a0a172b897fab85fc3f6bc48307991f64e4eca9" +dependencies = [ + "curve25519-dalek", + "ed25519", + "rand_core 0.6.4", + "serde", + "sha2 0.10.9", + "subtle", + "zeroize", +] + +[[package]] +name = "either" +version = "1.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be" + +[[package]] +name = "elliptic-curve" +version = "0.13.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" +dependencies = [ + "base16ct", + "crypto-bigint", + "digest 0.10.7", + "ff", + "generic-array", + "group", + "hkdf 0.12.4", + "rand_core 0.6.4", + "sec1", + "subtle", + "zeroize", +] + +[[package]] +name = "ff" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0b50bfb653653f9ca9095b427bed08ab8d75a137839d9ad64eb11810d5b6393" +dependencies = [ + "rand_core 0.6.4", + "subtle", +] + +[[package]] +name = "fiat-crypto" +version = "0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d" + +[[package]] +name = "find-msvc-tools" +version = "0.1.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aedcfb3409746eddb02b9e19ebda1c3394f759a152e48ee875a0844d1b955484" + +[[package]] +name = "futures-core" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e" + +[[package]] +name = "futures-task" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd" + +[[package]] +name = "futures-util" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc" +dependencies = [ + "futures-core", + "futures-task", + "pin-project-lite", + "slab", +] + +[[package]] +name = "generic-array" +version = "0.14.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +dependencies = [ + "typenum", + "version_check", + "zeroize", +] + +[[package]] +name = "getrandom" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0" +dependencies = [ + "cfg-if", + "libc", + "wasi", +] + +[[package]] +name = "getrandom" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" +dependencies = [ + "cfg-if", + "libc", + "r-efi 5.3.0", + "wasip2", +] + +[[package]] +name = "getrandom" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" +dependencies = [ + "cfg-if", + "libc", + "r-efi 6.0.0", + "rand_core 0.10.1", +] + +[[package]] +name = "ghash" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0d8a4362ccb29cb0b265253fb0a2728f592895ee6854fd9bc13f2ffda266ff1" +dependencies = [ + "opaque-debug", + "polyval", +] + +[[package]] +name = "glob" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4eba85ea1d0a966a983acd07deee566e67395d2d96b6fb39e62b5a833f1eb0b" + +[[package]] +name = "group" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" +dependencies = [ + "ff", + "rand_core 0.6.4", + "subtle", +] + +[[package]] +name = "hax-lib" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01a33cb227f97ee5c419064c31d7c55a7d895f28d8019ccdadc311cc036500c4" +dependencies = [ + "hax-lib-macros", + "num-bigint", + "num-traits", +] + +[[package]] +name = "hax-lib-macros" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28da835a5f153e9f3d0cc1f42ee605a1cfa9093c93348193793d60a1b0908b51" +dependencies = [ + "hax-lib-macros-types", + "proc-macro-error2", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "hax-lib-macros-types" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eed327e9a28d6ee018a4a9ba842d4ee27e378c8a591d2beb6f42f32b24a02fcb" +dependencies = [ + "proc-macro2", + "quote", + "serde", + "serde_json", + "uuid", +] + +[[package]] +name = "hex" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" +dependencies = [ + "serde", +] + +[[package]] +name = "hkdf" +version = "0.12.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7" +dependencies = [ + "hmac 0.12.1", +] + +[[package]] +name = "hkdf" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4aaa26c720c68b866f2c96ef5c1264b3e6f473fe5d4ce61cd44bbe913e553018" +dependencies = [ + "hmac 0.13.0", +] + +[[package]] +name = "hmac" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" +dependencies = [ + "digest 0.10.7", +] + +[[package]] +name = "hmac" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6303bc9732ae41b04cb554b844a762b4115a61bfaa81e3e83050991eeb56863f" +dependencies = [ + "digest 0.11.3", +] + +[[package]] +name = "hpke-rs" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "812de62ab573b876c6c40d7553bae9402ae3bad95b64af06f964388eecb9b7b1" +dependencies = [ + "hpke-rs-crypto", + "libcrux-sha3", + "log", + "subtle", + "zeroize", +] + +[[package]] +name = "hpke-rs-crypto" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2c461da2e0c9c93d875b597f0c78214fb0d2d5c57834b2ef2a2fa057fa20e24" +dependencies = [ + "rand 0.10.3", + "zeroize", +] + +[[package]] +name = "hpke-rs-rust-crypto" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a606ac19851da841862ef5f39d26d6227bfcfb4047417801a66c1f6e6652d71" +dependencies = [ + "aes-gcm", + "chacha20poly1305", + "hkdf 0.13.0", + "hpke-rs-crypto", + "k256", + "p256", + "p384", + "rand 0.10.3", + "rand_chacha 0.10.0", + "rand_core 0.10.1", + "sha2 0.11.0", + "subtle", + "x25519-dalek", + "zeroize", +] + +[[package]] +name = "hybrid-array" +version = "0.4.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27f864f10dfb56725ce5ce5472bc52252c8f93a4ab86327122cebf62c5f59a17" +dependencies = [ + "typenum", +] + +[[package]] +name = "inout" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01" +dependencies = [ + "generic-array", +] + +[[package]] +name = "itertools" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" +dependencies = [ + "either", +] + +[[package]] +name = "itoa" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" + +[[package]] +name = "js-sys" +version = "0.3.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7883d941dae510fb2d978fc3fe018c71c9e2892fd38854de3e8b92c2e5ad9cc5" +dependencies = [ + "cfg-if", + "futures-util", + "wasm-bindgen", +] + +[[package]] +name = "k256" +version = "0.13.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6e3919bbaa2945715f0bb6d3934a173d1e9a59ac23767fbaaef277265a7411b" +dependencies = [ + "cfg-if", + "elliptic-curve", +] + +[[package]] +name = "libc" +version = "0.2.190" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78" + +[[package]] +name = "libcrux-intrinsics" +version = "0.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98a0c574d4eb81d0814bc2b91e4a433d7e0b35851b1d62eb5dd95c064f1f76d0" +dependencies = [ + "core-models", + "hax-lib", +] + +[[package]] +name = "libcrux-platform" +version = "0.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d9e21d7ed31a92ac539bd69a8c970b183ee883872d2d19ce27036e24cb8ecc4" +dependencies = [ + "libc", +] + +[[package]] +name = "libcrux-secrets" +version = "0.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "79054fc9037cb70d6a546cf094cea7d7df06af5e49d230ba24103d27ccc886f1" +dependencies = [ + "crabgrind", + "hax-lib", +] + +[[package]] +name = "libcrux-sha3" +version = "0.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c09f5c39afae0528e1f70a3c1e3c6ee649ec1f19dda26fc9b6ea91108fb879ef" +dependencies = [ + "hax-lib", + "libcrux-intrinsics", + "libcrux-platform", + "libcrux-traits", +] + +[[package]] +name = "libcrux-traits" +version = "0.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3fa7a21e8c2e8baa8b40f0b176740f2ca4baadd79d1b00e48d6b1e363c42085a" +dependencies = [ + "libcrux-secrets", + "rand 0.10.3", +] + +[[package]] +name = "libloading" +version = "0.8.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55" +dependencies = [ + "cfg-if", + "windows-link", +] + +[[package]] +name = "log" +version = "0.4.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6" + +[[package]] +name = "memchr" +version = "2.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" + +[[package]] +name = "minimal-lexical" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" + +[[package]] +name = "nom" +version = "7.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" +dependencies = [ + "memchr", + "minimal-lexical", +] + +[[package]] +name = "num-bigint" +version = "0.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c89e69e7e0f03bea5ef08013795c25018e101932225a656383bd384495ecc367" +dependencies = [ + "num-integer", + "num-traits", +] + +[[package]] +name = "num-integer" +version = "0.1.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ce2d95d4b3734dc35aa2f45e1aa22cd416814592a4f9d9205e11affd5b8e10b" +dependencies = [ + "num-traits", +] + +[[package]] +name = "num-traits" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +dependencies = [ + "autocfg", +] + +[[package]] +name = "once_cell" +version = "1.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" + +[[package]] +name = "opaque-debug" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" + +[[package]] +name = "p256" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9863ad85fa8f4460f9c48cb909d38a0d689dba1f6f6988a5e3e0d31071bcd4b" +dependencies = [ + "elliptic-curve", + "primeorder", +] + +[[package]] +name = "p2panda-core" +version = "0.7.1" +source = "git+https://github.com/p2panda/p2panda?rev=3e84cac48bba05c6857cce2ec433862b97f8d53c#3e84cac48bba05c6857cce2ec433862b97f8d53c" +dependencies = [ + "blake3", + "cbor-core", + "ed25519-dalek", + "hex", + "rand 0.8.8", + "serde", + "serde_bytes", + "thiserror", +] + +[[package]] +name = "p2panda-encryption" +version = "0.7.1" +source = "git+https://github.com/p2panda/p2panda?rev=3e84cac48bba05c6857cce2ec433862b97f8d53c#3e84cac48bba05c6857cce2ec433862b97f8d53c" +dependencies = [ + "chacha20poly1305", + "curve25519-dalek", + "hex", + "hkdf 0.12.4", + "hpke-rs", + "hpke-rs-crypto", + "hpke-rs-rust-crypto", + "p2panda-core", + "rand_chacha 0.9.0", + "serde", + "serde_bytes", + "sha2 0.10.9", + "subtle", + "thiserror", + "x25519-dalek", + "zeroize", +] + +[[package]] +name = "p384" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe42f1670a52a47d448f14b6a5c61dd78fce51856e68edaa38f7ae3a46b8d6b6" +dependencies = [ + "elliptic-curve", + "primeorder", +] + +[[package]] +name = "pastey" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ee67f1008b1ba2321834326597b8e186293b049a023cdef258527550b9935b4" + +[[package]] +name = "pin-project-lite" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" + +[[package]] +name = "pkcs8" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" +dependencies = [ + "der", + "spki", +] + +[[package]] +name = "pkg-config" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548" + +[[package]] +name = "poly1305" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8159bd90725d2df49889a078b54f4f79e87f1f8a8444194cdca81d38f5393abf" +dependencies = [ + "cpufeatures 0.2.17", + "opaque-debug", + "universal-hash", +] + +[[package]] +name = "polyval" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d1fe60d06143b2430aa532c94cfe9e29783047f06c0d7fd359a9a51b729fa25" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "opaque-debug", + "universal-hash", +] + +[[package]] +name = "ppv-lite86" +version = "0.2.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" +dependencies = [ + "zerocopy", +] + +[[package]] +name = "prettyplease" +version = "0.2.37" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b" +dependencies = [ + "proc-macro2", + "syn 2.0.119", +] + +[[package]] +name = "primeorder" +version = "0.13.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "353e1ca18966c16d9deb1c69278edbc5f194139612772bd9537af60ac231e1e6" +dependencies = [ + "elliptic-curve", +] + +[[package]] +name = "proc-macro-error-attr2" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96de42df36bb9bba5542fe9f1a054b8cc87e172759a1868aa05c1f3acc89dfc5" +dependencies = [ + "proc-macro2", + "quote", +] + +[[package]] +name = "proc-macro-error2" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11ec05c52be0a07b08061f7dd003e7d7092e0472bc731b4af7bb1ef876109802" +dependencies = [ + "proc-macro-error-attr2", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "proc-macro2" +version = "1.0.107" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "quote" +version = "1.0.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "r-efi" +version = "5.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" + +[[package]] +name = "r-efi" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" + +[[package]] +name = "rand" +version = "0.8.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e058c7de0b26af77780c769414d6257830bb240f3c38477dbc2c16e5f54d6d4c" +dependencies = [ + "libc", + "rand_chacha 0.3.1", + "rand_core 0.6.4", +] + +[[package]] +name = "rand" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65c9fb96cbc91e3478eaae79a69fcd3f1ae4ad052e471fe6732fff548984b4af" +dependencies = [ + "chacha20 0.10.2", + "getrandom 0.4.3", + "rand_core 0.10.1", +] + +[[package]] +name = "rand_chacha" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +dependencies = [ + "ppv-lite86", + "rand_core 0.6.4", +] + +[[package]] +name = "rand_chacha" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" +dependencies = [ + "ppv-lite86", + "rand_core 0.9.5", +] + +[[package]] +name = "rand_chacha" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e6af7f3e25ded52c41df4e0b1af2d047e45896c2f3281792ed68a1c243daedb" +dependencies = [ + "ppv-lite86", + "rand_core 0.10.1", +] + +[[package]] +name = "rand_core" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +dependencies = [ + "getrandom 0.2.17", +] + +[[package]] +name = "rand_core" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c" +dependencies = [ + "getrandom 0.3.4", +] + +[[package]] +name = "rand_core" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" + +[[package]] +name = "regex" +version = "1.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.4.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.8.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" + +[[package]] +name = "rustc-hash" +version = "2.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d" + +[[package]] +name = "rustc_version" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" +dependencies = [ + "semver", +] + +[[package]] +name = "rustversion" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f" + +[[package]] +name = "s10-heads" +version = "0.0.0" +dependencies = [ + "p2panda-encryption", + "serde", + "serde_json", +] + +[[package]] +name = "sec1" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" +dependencies = [ + "base16ct", + "der", + "generic-array", + "subtle", + "zeroize", +] + +[[package]] +name = "semver" +version = "1.0.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd" + +[[package]] +name = "serde" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba" +dependencies = [ + "serde_core", + "serde_derive", +] + +[[package]] +name = "serde_bytes" +version = "0.11.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5d440709e79d88e51ac01c4b72fc6cb7314017bb7da9eeff678aa94c10e3ea8" +dependencies = [ + "serde", + "serde_core", +] + +[[package]] +name = "serde_core" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "serde_json" +version = "1.0.152" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1741ab7a6cc54a03a89b5d563ed60075c277d9e3cfa73ad0c1f23f23974703c6" +dependencies = [ + "itoa", + "memchr", + "serde", + "serde_core", + "zmij", +] + +[[package]] +name = "sha2" +version = "0.10.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "digest 0.10.7", +] + +[[package]] +name = "sha2" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "digest 0.11.3", +] + +[[package]] +name = "shlex" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" + +[[package]] +name = "shlex" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba" + +[[package]] +name = "signature" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" +dependencies = [ + "rand_core 0.6.4", +] + +[[package]] +name = "slab" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" + +[[package]] +name = "spki" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" +dependencies = [ + "base64ct", + "der", +] + +[[package]] +name = "subtle" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" + +[[package]] +name = "syn" +version = "2.0.119" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "3.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d62a2e0561533f2ca2561d0cf27fd9fedb640a1bf2616ff5d5c80d99017faadc" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "thiserror" +version = "2.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e" +dependencies = [ + "thiserror-impl", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "typenum" +version = "1.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" + +[[package]] +name = "unicode-ident" +version = "1.0.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d245f478577f809a851594d02313b640fb437e0bb33866753cff937863096954" + +[[package]] +name = "universal-hash" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea" +dependencies = [ + "crypto-common 0.1.7", + "subtle", +] + +[[package]] +name = "uuid" +version = "1.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7cc1186384beb7dd8eedea376413fd654937285ea6c9cfbb928dc3043ea4b606" +dependencies = [ + "getrandom 0.4.3", + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "version_check" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" + +[[package]] +name = "wasi" +version = "0.11.1+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" + +[[package]] +name = "wasip2" +version = "1.0.4+wasi-0.2.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b67efb37e106e55ce722a510d6b5f9c17f083e5fc79afc2badeb12cc313d9487" +dependencies = [ + "wit-bindgen", +] + +[[package]] +name = "wasm-bindgen" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9bb54f33acc68fd454578d9820b0bde1a1a3d17aa17bb7b6595806d02886d409" +dependencies = [ + "cfg-if", + "once_cell", + "rustversion", + "wasm-bindgen-macro", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e29d0c35b16e224a7eeb5cd2d25e3e1968fbd65604117b44d3b789d00ee8535" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f501a8bc3719dba86ef8ae4728879c08001bea749eb1333ac5b91e040e2a6b7" +dependencies = [ + "bumpalo", + "proc-macro2", + "quote", + "syn 3.0.7", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23f0c9c52aa7cd7d77769a4cfe2a9adb1b331f489a41d912ce14513d5ab995c6" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + +[[package]] +name = "wit-bindgen" +version = "0.57.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e" + +[[package]] +name = "x25519-dalek" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7e468321c81fb07fa7f4c636c3972b9100f0346e5b6a9f2bd0603a52f7ed277" +dependencies = [ + "curve25519-dalek", + "rand_core 0.6.4", + "serde", + "zeroize", +] + +[[package]] +name = "zerocopy" +version = "0.8.62" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86502bf56ac7c77571a32e2647bb2a15894565e981fb2a48d7bde2d91c965a9d" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.8.62" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5457206954b06561e2608c7e19cf58b1926586d999c246eebe4502f7e2039d1a" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "zeroize" +version = "1.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e13084392c5e4bc371903e2935a5eaeed24905a7511356b883835e18a78f6879" +dependencies = [ + "zeroize_derive", +] + +[[package]] +name = "zeroize_derive" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c50655cbb0fe3fc43170059e702f1ce5e19b84cec58dc87b037a09935c2f328" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "zmij" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b" diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s10-heads/Cargo.toml b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s10-heads/Cargo.toml new file mode 100644 index 0000000000..2c5badbcaa --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s10-heads/Cargo.toml @@ -0,0 +1,15 @@ +[package] +name = "s10-heads" +version = "0.0.0" +edition = "2024" +rust-version = "1.96" +publish = false + +[dependencies] +# Same pin and features as the workspace in /home/user/work/spikes/Cargo.toml. +p2panda-encryption = { git = "https://github.com/p2panda/p2panda", rev = "3e84cac48bba05c6857cce2ec433862b97f8d53c", features = ["data_scheme", "message_scheme", "test_utils"] } +serde = { version = "1", features = ["derive"] } +serde_json = "1" + +# Standalone crate: do not join the parent spikes workspace. +[workspace] diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s10-heads/RESULTS.md b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s10-heads/RESULTS.md new file mode 100644 index 0000000000..a91f372c42 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s10-heads/RESULTS.md @@ -0,0 +1,275 @@ +# S10: heads orderer and frontier size in a 40-member group + +## Question + +Task 05 (heads orderer) and the design's `after` cap: + +1. How large is the frontier (the heads an event names) in a 40-member DataScheme group under + steady posting, concurrent posting, partitions that heal, and an offline member? +2. Merge rule: when a member's frontier reaches 32, its next event is a merge update that names up + to 32 heads. Does the frontier stay at or below 32 in every pattern? +3. Does the heads orderer keep 40 members converged (every member holds the same secrets and reads + every application message)? +4. Source check of the crate's orderer: one dependency per author, no pruning, and whether it holds + messages with missing dependencies for a long time. +5. The smallest cap that works, and whether the merge rule is needed at 40 members. + +## Method + +### Setup + +- p2panda-encryption 0.7.1 at p2panda rev `3e84cac48bba05c6857cce2ec433862b97f8d53c`, features + `data_scheme`, `message_scheme`, `test_utils`. Same pins as `/home/user/work/spikes/Cargo.toml`; + `Cargo.lock` copied from `/home/user/work/spikes/Cargo.lock`. Cargo pruned the copy to the 162 + packages this crate uses (the spikes lock has 584). The shared versions are unchanged: + p2panda-encryption and p2panda-core 0.7.1, serde 1.0.229, serde_json 1.0.152. +- rustc/cargo 1.97.0. Built offline (`--offline`) into the shared target dir + `/home/user/work/spikes/target`. The first debug run was stopped for speed and is not used. + Numbers come from `--release`. +- 40 members, `TestDgm` membership, `Lifetime::default()` pre-keys, RNG seed 1, all in-process. +- Nothing outside this folder was written. No network, no nix. + +### Commands + +``` +export CARGO_TARGET_DIR=/home/user/work/spikes/target +CARGO="$(rustup which --toolchain 1.97.0 cargo)" +cd /home/user/work/spikes-next/s10-heads +"$CARGO" build --release --offline +/home/user/work/spikes/target/release/s10-heads > logs/run-all.txt +``` + +`logs/run-all.txt` is the only result log (157 lines, 27 KB). Every number below is copied from it. + +### Orderers + +- **crate**: `enc::data_scheme::test_utils::ordering::MessageOrderer`, unchanged. +- **heads**: `src/heads.rs`. Names the heads of the author's view (processed messages that no + processed message names), sorted by (sender, seq) and truncated to `cap`. Readiness, pending and + release copy the crate's private `ordering.rs` logic. Options: + - `track_app`: application messages are heads too ("all events", the design's `after`) or are + not ("control only", the S3 measure). + - `backlink`: always name the author's own latest event first, so truncation cannot drop the + author's own chain. Off by default. + +### Driver (`src/main.rs`) + +- Events: `create`, `update`, `app` (chat post), and `merge` (an update published because the + author's frontier was at the cap). Merges come before the author's event, as many as needed to get + below the cap. +- Merge rule (cap runs): the driver merges while `heads >= cap`. The orderer refuses an application + message whose frontier exceeds the cap. +- Scenarios (all 40 members, member 0 creates): + - **a** steady: members post in turn (2 cycles), as app posts and as updates. + - **b** burst: all 40 publish in one round (concurrent), then each posts once in turn. + - **b2** storm: `k` rounds in which all 40 publish concurrently, then each posts once in turn. + - **c** partition: group split into `p` and `40-p`; each side publishes concurrently for `k` + rounds; the partition heals (every event reaches every member); then each posts once in turn. + - **d** offline: member 20 misses 10 cycles (39 posts, plus one update per cycle); then it catches + up in publication order or shuffled, and posts. + - **e** lost update: member 5's update never reaches member 7, and then everyone keeps posting. +- Delivery: in publication order by default. `reorder`: each member hears each round in its own + seeded random order (adversarial, the acceptance case). +- Measured per event: named dependencies (from the serialised `previous`), and the author's heads + before the event (the frontier it would carry uncapped). Per member, after each delivery: heads + and waiting count. The orderer records how long each waiting message waited, in arrivals. +- Convergence: all members hold identical sets of secret IDs and the same latest ID, the membership + is all 40, and every member read every application message published by another member. + +### Column key (`logs/run-all.txt`) + +| column | meaning | +|---|---| +| evts | non-create events (updates + merges + app posts) | +| upd / mrg | updates (not merges) / merges published by the rule | +| nmd | most dependencies any event named (carried) | +| lst | dependencies named by the last event | +| hds | most heads an author held before an event (the frontier it would carry uncapped) | +| >=32 / >32 | events whose uncapped frontier was >= 32 / > 32 | +| vw | most heads any member held at any point (view frontier) | +| pk / lw | peak messages waiting at any member / longest wait (arrivals) | + +The crate has no observable heads or waiting count (private fields), so those cells are `-`. + +## Results + +### 1. Main scenarios, publication order + +| scenario | orderer | evts (upd/mrg) | nmd / lst | hds | >=32 / >32 | vw | pk / lw | converged | +|---|---|---|---|---|---|---|---|---| +| a steady, app posts x2 | crate | 80 (0/0) | 1 / 1 | - | - | - | - | yes | +| a steady, app posts x2 | heads, no cap | 80 (0/0) | 1 / 1 | 1 | 0 / 0 | 1 | 0 / 0 | yes | +| a steady, updates x2 | crate | 80 (80/0) | 40 / 40 | - | - | - | - | yes | +| a steady, updates x2 | heads, no cap | 80 (80/0) | 1 / 1 | 1 | 0 / 0 | 1 | 0 / 0 | yes | +| b burst (40 updates), then turns | crate | 80 (40/0) | 40 / 40 | - | - | - | - | yes | +| b burst (40 updates), then turns | heads, no cap | 80 (40/0) | 40 / 1 | 40 | 1 / 1 | 40 | 0 / 0 | yes | +| b burst (40 updates), then turns | heads, cap 32 | 81 (40/1) | 32 / 1 | 40 | 1 / 1 | 40 | 0 / 0 | yes | +| b burst (40 app posts), then turns | heads, no cap | 80 (0/0) | 40 / 1 | 40 | 1 / 1 | 40 | 0 / 0 | yes | +| b burst (40 app posts), then turns | heads, cap 32 | 81 (0/1) | 32 / 1 | 40 | 1 / 1 | 40 | 0 / 0 | yes | +| b2 storm x3 (40 concurrent updates per round) | crate | 160 (120/0) | 40 / 40 | - | - | - | - | yes | +| b2 storm x3 | heads, no cap | 160 (120/0) | 40 / 1 | 40 | 81 / 81 | 40 | 0 / 0 | yes | +| b2 storm x3 | heads, cap 32 | 161 (40/81) | 32 / 1 | 56 | 81 / 81 | **56** | 0 / 0 | yes | +| b2 storm x3 | heads, cap 32, designated merger | 122 (80/2) | 32 / 1 | 40 | 2 / 2 | 40 | 0 / 0 | yes | +| c partition p=2, k=3 (2 vs 38) | crate | 160 (120/0) | 40 / 40 | - | - | - | - | yes | +| c partition p=2, k=3 | heads, no cap | 160 (120/0) | 40 / 1 | 40 | 77 / 77 | 40 | 0 / 0 | yes | +| c partition p=2, k=3 | heads, cap 32 | 161 (44/77) | 32 / 1 | 52 | 77 / 77 | **52** | 0 / 0 | yes | +| c partition p=2, k=3 | heads, cap 32, designated merger | 85 (44/1) | 32 / 1 | 40 | 1 / 1 | 40 | 0 / 0 | yes | +| c partition p=10, k=3 (10 vs 30) | crate | 160 (120/0) | 40 / 40 | - | - | - | - | yes | +| c partition p=10, k=3 | heads, no cap | 160 (120/0) | 40 / 1 | 40 | 1 / 1 | 40 | 0 / 0 | yes | +| c partition p=10, k=3 | heads, cap 32 | 161 (120/1) | 32 / 1 | 40 | 1 / 1 | **40** | 0 / 0 | yes | +| c partition p=20, k=3 (20 vs 20) | crate | 160 (120/0) | 40 / 40 | - | - | - | - | yes | +| c partition p=20, k=3 | heads, no cap | 160 (120/0) | 40 / 1 | 40 | 1 / 1 | 40 | 0 / 0 | yes | +| c partition p=20, k=3 | heads, cap 32 | 161 (120/1) | 32 / 1 | 40 | 1 / 1 | **40** | 0 / 0 | yes | +| d offline member 20, 10 cycles, catch-up in order | crate | 401 (10/0) | 10 / 10 | - | - | - | - | yes | +| d offline member 20, catch-up in order | heads, no cap | 401 (10/0) | 1 / 1 | 1 | 0 / 0 | 1 | 0 / 0 | yes | +| d offline member 20, catch-up shuffled | heads, no cap | 401 (10/0) | 1 / 1 | 1 | 0 / 0 | 1 | **375 / 399** | yes | +| e lost update to member 7 | crate | 161 (1/0) | 2 / 2 | - | - | - | member 7 read 39 of 156, then none | stalled | +| e lost update to member 7 | heads, no cap | 161 (1/0) | 2 / 1 | 2 | 0 / 0 | 2 | **117 waiting at 7** | stalled | + +Notes: +- Crate, steady updates: `nmd` reached 40 and was still 40 at the last event. Crate, app posts only: + 1, because only the creator had published a control message. Crate, offline: 10 = ten control + publishers so far. +- Storm and partition: `hds` never exceeded 40 without a cap (one head per author). With a cap of + 32, `vw` went to 52–56 (the rule does not collapse concurrent merges, see §3). +- Lost update: member 7 read the 39 app messages sent before the loss, and nothing after it. Both + orderers hold the 117 later messages waiting indefinitely. + +### 2. Cap sweep, publication order (merge rule enforced) + +| cap | storm x2: evts / merges / >=32 / vw | partition p=10 k=2: merges / vw | partition p=20 k=2: merges / vw | burst then turns: merges | +|---|---|---|---|---| +| 2 | 1679 / 1599 / 369 / 59 | 999 / 54 | 799 / 49 | 39 | +| 4 | 613 / 533 / 123 / 49 | 314 / 48 | 253 / 45 | 13 | +| 8 | 287 / 207 / 83 / 50 | 136 / 45 | 88 / 58 | 5 | +| 16 | 163 / 83 / 42 / 57 | 33 / 54 | 43 / 48 | 2 | +| 24 | 122 / 42 / 42 / 56 | 31 / 46 | 1 / 40 | 1 | +| 40 | 121 / 41 / 41 / 40 | 1 / 40 | 1 / 40 | 1 | + +All converged. The cap-40 merge is the rule firing at exactly 40 (`>= cap`), which is harmless. + +### 3. Adversarial delivery: each member hears each round in its own order + +Storm x3 and partition p=2 k=3, two orders per cap. "no backlink" is the orderer as the driver +found it. "backlink" names the author's own latest event first. + +| cap | no backlink, storm | no backlink, p=2 | backlink, storm: merges / peak waiting / longest wait | backlink, p=2: merges / peak / longest | +|---|---|---|---|---| +| 2 | **fails in both orders** (HPKE OpenError) | **fails in both orders** | 3159 / 1153 / 1520 (order 2: 3159 / 1181 / 1519) | 2855 / 1038 / 1368 | +| 4 | **fails in both orders** | **fails in both orders** | 1053 / 320 / 505 | 925 / 286 / 442 | +| 8 | **fails in both orders** | **fails in both orders** | 405 / 83 / 194 | 385 / 79 / 184 | +| 16 | **fails in both orders** | **fails in both orders** | 162 / 17 / 75 | 154 / 16 / 72 | +| 24 | **fails in both orders** | **fails in both orders** | 81 / 1 / 1 | 77 / 1 / 1 | +| 32 | converged (both orders) | converged (both orders) | 81 / 1 / 1 | 77 / 1 / 1 | +| 40 | converged (both orders) | converged (both orders) | 81 / 1 / 1 | 77 / 1 / 1 | +| none | converged (both orders) | converged (both orders) | 0 / 0 / 0 | 0 / 0 / 0 | + +- Without the backlink, the failure is `Dcgka(TwoParty(Hpke(Decryption(OpenError))))`, returned by + `receive` at member 0 (storm) or member 2 (partition). Examples from the log, order 1, cap 16: + `[33,2]` at member 0 in the storm, `[35,2]` at member 2 in the partition. `receive` then drops that + member's state, so the case stops. +- With the backlink, every case converged, in both orders, at every cap from 2 to 40 and uncapped. + This supports the mechanism below. I did not trace the failing messages, so the mechanism is + inferred from these runs and the code. +- Cap 32 without the backlink converged in both orders. That is two samples, not a proof. + +### 4. Designated merger (only member 0 merges at the cap; other members at the cap skip the event) + +| case | events (upd/mrg) | vw | converged | +|---|---|---|---| +| storm x3, cap 32, publication order | 122 (80/2) | 40 | yes | +| storm x3, cap 16, publication order | 124 (80/4) | 40 | yes | +| storm x3, cap 32, reordered | 122 (80/2) | 40 | yes | +| storm x3, cap 16, reordered | 124 (80/4) | 40 | yes | +| partition p=2 k=3, cap 32, publication order | 85 (44/1) | 40 | yes | +| partition p=20 k=3, cap 32, publication order | 161 (120/1) | 40 | yes | + +The view stays at 40, but storms lose about a quarter of their events (122 vs 161), because members at +the cap wait for the merger. + +### 5. Source checks (`/tmp/research/q/enc/p2panda-encryption-0.7.1`) + +- **One dependency per author:** `test_utils/ordering.rs:55` declares + `previous: HashMap`. It is keyed by author, and `previous.values()` gives every + message its dependencies (`:85`, `:111`). It is updated per author (`:98` for our own control + messages, `:188` for each control message popped by `next_ready_message`). Measured: 40 named in + steady updates, as above. +- **No pruning:** `previous` is never removed from (no `remove`, `retain`, `clear` or `drain` on it). + `y.messages.insert` (`:135`) keeps every message. In `ordering.rs`, `pending` entries are removed + only by `remove_pending` (`:94-100`, called from `process_pending`, `:132`), which runs when the + missing dependency arrives. `OrdererError` is an empty enum with a TODO about memory (`:138-143`). +- **Holding messages with missing dependencies:** indefinitely. There is no timeout and no per-author + cap. The lost-update run shows a stall that lasts until the end of the run. Peak waiting in the + shuffled catch-up was 375 of 400 messages with the heads orderer. I did not measure the crate's + own waiting count, because its fields are private. +- Processing order: `group.rs:252-268` processes ready control messages first, then application + messages. `receive` returns an error, and drops the state, on any DCGKA failure (the `?` on + `process_ready` at `group.rs:254` and `:263`). + +## Verdicts + +1. **Frontier size, 40 members (heads, no cap):** largest frontier 40, the number of members. One + head per author holds without truncation. Steady state is 1. The uncapped frontier reached 32 or + more in one event per 40-way burst (the first post after it), and in 77–81 events in the storm and + p=2 patterns. Nothing exceeded 40. +2. **Merge rule at 32, per event:** holds. Every event named 32 or fewer, and the orderer's overflow + guard for application messages never fired. Merges were all triggered by the rule. +3. **Merge rule at 32, per member view:** does not hold. A member holds 40 heads after any 40-way burst + or partition heal, until its next event. In storms the view grows by 8 per round (40 → 48 → 56), + because concurrent merges cannot name each other and only a sequential merge collapses the frontier + (the burst case drops to 9). The designated-merger variant keeps the view at 40. +4. **Convergence:** every in-order run converged, at every cap from 2 to 40 and uncapped, including + 1,600–3,200 events in the small-cap storms, with no DCGKA error. Under adversarial order, the + orderer converges only if the author's own latest event is always named (backlink), or if the cap + is 32 or more (two orders tested). +5. **Is the merge rule needed at 40 members?** Yes, at cap 32. A 40-way burst or a heal of 40 + posters puts 40 heads in each view. Without a cap, no merge is needed, since the frontier is at + most the number of members. A cap of 40 merges once, at exactly 40, in the burst case. +6. **Smallest cap that works:** + - In publication order: 2 converges, but the view frontier is 40–59 for every cap below 40, and + the cost at 2 is 1,599 merges in two storms. + - Under adversarial order without the backlink: 32. Caps 2–24 fail in both orders. + - With the backlink: 2 converges, but the cost is high: 3,159 merges at 2, 1,053 at 4, 405 at 8, + and 162 at 16. From 24 up, the only merges are the storm's own 81. Peak waiting is 1,150 at 2, + 320 at 4, 83 at 8, 17 at 16, and 1 from 24 up. + - Recommendation: 32, with the backlink, which costs no extra merges. 16 is the smallest cap I'd + accept on cost, and below 8 the merge and waiting numbers grow steeply. +7. **Member offline for a long time (scenario d):** an offline member adds no heads. The crate keeps + one entry per author forever. Catch-up in order waits for nothing. Catch-up shuffled holds up to + 375 of 400 messages waiting, and the longest wait was 399 arrivals. + +## Surprising + +- Truncating the heads can drop the author's own previous event. The 2SM ratchet then sees that + author's events out of order, and DCGKA fails with an HPKE `OpenError` (§3). In-order tests never + show it. The fix is to name the author's own latest event first (backlink). The design's + per-author chain (`prev`/`seq`) would provide the same guarantee if the log layer enforces it, but + this spike's readiness check (like the crate's) does not check it. That is a constraint the orderer + spec must state. +- The view-level frontier cannot be bounded by a merge rule when merges are concurrent. The per-event + cap holds, so the design's "`after` ≤ 32" is true, but "the frontier stays ≤ 32" is not. +- The crate's orderer converged in every publication-order scenario. In the lost-update run it + stalled member 7 the same way the heads orderer did. I did not run the crate under reordered + delivery, so I have no crate result for §3. + +## Not tested + +- Real transport, p2panda-sync, and per-author FIFO at the log layer. Our driver has no backlink + readiness check, and no per-author order beyond what the orderer enforces. +- Membership changes (add, remove) during these scenarios. All runs were pure posting, merging and + updates. +- Byte sizes of `after` and of welcomes. This spike counts hashes only. +- Groups other than 40, and sizes above 40. Wall-clock timing at scale. +- More than two reorder orders per cap, random (non-adversarial) delays, and message loss beyond the + single lost update. +- The crate's own waiting count, which is not observable from outside. +- Heads and waiting in the crate's orderer, the message scheme, and BeeKEM. +- Designated merger under real latency or merger failure. Only member 0 was used, and its liveness + cost was counted in events, not time. + +## Files + +- `src/main.rs`: driver, scenarios, measurements. +- `src/heads.rs`: heads orderer (with the backlink option). +- `logs/run-all.txt`: the full run (157 lines, 27 KB). +- `Cargo.toml`, `Cargo.lock`: standalone crate, pins copied from the spikes workspace. diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s10-heads/logs/run-all.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s10-heads/logs/run-all.txt new file mode 100644 index 0000000000..73c18b92d6 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s10-heads/logs/run-all.txt @@ -0,0 +1,157 @@ +scenario | orderer | evts upd mrg | nmd lst hds | >=32 >32 | vw pk lw | time | result +a steady, app posts x2 | crate MessageOrderer | 80 0 0 | 1 1 - | 0 0 | - - - | 0.1s | CONVERGED (1 secrets each) +a steady, updates x2 | crate MessageOrderer | 80 80 0 | 40 40 - | 0 0 | - - - | 1.1s | CONVERGED (81 secrets each) +b burst, updates | crate MessageOrderer | 80 40 0 | 40 40 - | 0 0 | - - - | 1.0s | CONVERGED (41 secrets each) +b burst, app posts | crate MessageOrderer | 80 0 0 | 1 1 - | 0 0 | - - - | 0.1s | CONVERGED (1 secrets each) +b2 storm x3 | crate MessageOrderer | 160 120 0 | 40 40 - | 0 0 | - - - | 2.0s | CONVERGED (121 secrets each) +c partition p=2 k=3 | crate MessageOrderer | 160 120 0 | 40 40 - | 0 0 | - - - | 3.1s | CONVERGED (121 secrets each) +c partition p=10 k=3 | crate MessageOrderer | 160 120 0 | 40 40 - | 0 0 | - - - | 2.7s | CONVERGED (121 secrets each) +c partition p=20 k=3 | crate MessageOrderer | 160 120 0 | 40 40 - | 0 0 | - - - | 3.4s | CONVERGED (121 secrets each) +d offline, 10 cycles | crate MessageOrderer | 401 10 0 | 10 10 - | 0 0 | - - - | 0.5s | caught up 400 missed msgs (waiting at Z after catch-up: -); CONVERGED (11 secrets each) +d offline, shuffled | crate MessageOrderer | 401 10 0 | 10 10 - | 0 0 | - - - | 0.6s | caught up 400 missed msgs (waiting at Z after catch-up: -); CONVERGED (11 secrets each) +e lost update | crate MessageOrderer | 161 1 0 | 2 2 - | 0 0 | - - - | 0.3s | member 7 read 39 of 156 app msgs by others (the 40 before the loss, then none); waiting at 7: - +a steady, app posts x2 | heads (all events, no cap)| 80 0 0 | 1 1 1 | 0 0 | 1 0 0 | 0.2s | CONVERGED (1 secrets each) +a steady, updates x2 | heads (all events, no cap)| 80 80 0 | 1 1 1 | 0 0 | 1 0 0 | 1.7s | CONVERGED (81 secrets each) +b burst, updates | heads (all events, no cap)| 80 40 0 | 40 1 40 | 1 1 | 40 0 0 | 1.5s | CONVERGED (41 secrets each) +b burst, app posts | heads (all events, no cap)| 80 0 0 | 40 1 40 | 1 1 | 40 0 0 | 0.1s | CONVERGED (1 secrets each) +b2 storm x3 | heads (all events, no cap)| 160 120 0 | 40 1 40 | 81 81 | 40 0 0 | 3.0s | CONVERGED (121 secrets each) +c partition p=2 k=3 | heads (all events, no cap)| 160 120 0 | 40 1 40 | 77 77 | 40 0 0 | 3.5s | CONVERGED (121 secrets each) +c partition p=10 k=3 | heads (all events, no cap)| 160 120 0 | 40 1 40 | 1 1 | 40 0 0 | 3.1s | CONVERGED (121 secrets each) +c partition p=20 k=3 | heads (all events, no cap)| 160 120 0 | 40 1 40 | 1 1 | 40 0 0 | 2.8s | CONVERGED (121 secrets each) +d offline, 10 cycles | heads (all events, no cap)| 401 10 0 | 1 1 1 | 0 0 | 1 0 0 | 0.5s | caught up 400 missed msgs (waiting at Z after catch-up: 0); CONVERGED (11 secrets each) +d offline, shuffled | heads (all events, no cap)| 401 10 0 | 1 1 1 | 0 0 | 1 375 399 | 0.4s | caught up 400 missed msgs (waiting at Z after catch-up: 0); CONVERGED (11 secrets each) +e lost update | heads (all events, no cap)| 161 1 0 | 2 1 2 | 0 0 | 2 117 0 | 0.2s | member 7 read 39 of 156 app msgs by others (the 40 before the loss, then none); waiting at 7: 117 +a steady, app posts x2 | heads (all events, cap 32)| 80 0 0 | 1 1 1 | 0 0 | 1 0 0 | 0.1s | CONVERGED (1 secrets each) +a steady, updates x2 | heads (all events, cap 32)| 80 80 0 | 1 1 1 | 0 0 | 1 0 0 | 1.4s | CONVERGED (81 secrets each) +b burst, updates | heads (all events, cap 32)| 81 40 1 | 32 1 40 | 1 1 | 40 0 0 | 1.1s | CONVERGED (42 secrets each) +b burst, app posts | heads (all events, cap 32)| 81 0 1 | 32 1 40 | 1 1 | 40 0 0 | 0.1s | CONVERGED (2 secrets each) +b2 storm x3 | heads (all events, cap 32)| 161 40 81 | 32 1 56 | 81 81 | 56 0 0 | 2.0s | CONVERGED (122 secrets each) +c partition p=2 k=3 | heads (all events, cap 32)| 161 44 77 | 32 1 52 | 77 77 | 52 0 0 | 2.0s | CONVERGED (122 secrets each) +c partition p=10 k=3 | heads (all events, cap 32)| 161 120 1 | 32 1 40 | 1 1 | 40 0 0 | 1.9s | CONVERGED (122 secrets each) +c partition p=20 k=3 | heads (all events, cap 32)| 161 120 1 | 32 1 40 | 1 1 | 40 0 0 | 1.8s | CONVERGED (122 secrets each) +d offline, 10 cycles | heads (all events, cap 32)| 401 10 0 | 1 1 1 | 0 0 | 1 0 0 | 0.4s | caught up 400 missed msgs (waiting at Z after catch-up: 0); CONVERGED (11 secrets each) +d offline, shuffled | heads (all events, cap 32)| 401 10 0 | 1 1 1 | 0 0 | 1 375 399 | 0.3s | caught up 400 missed msgs (waiting at Z after catch-up: 0); CONVERGED (11 secrets each) +e lost update | heads (all events, cap 32)| 161 1 0 | 2 1 2 | 0 0 | 2 117 0 | 0.2s | member 7 read 39 of 156 app msgs by others (the 40 before the loss, then none); waiting at 7: 117 +a steady, app posts x2 | heads (control only, no cap)| 80 0 0 | 1 1 1 | 0 0 | 1 0 0 | 0.2s | CONVERGED (1 secrets each) +a steady, updates x2 | heads (control only, no cap)| 80 80 0 | 1 1 1 | 0 0 | 1 0 0 | 1.2s | CONVERGED (81 secrets each) +b burst, updates | heads (control only, no cap)| 80 40 0 | 40 40 40 | 40 40 | 40 0 0 | 1.1s | CONVERGED (41 secrets each) +b burst, app posts | heads (control only, no cap)| 80 0 0 | 1 1 1 | 0 0 | 1 0 0 | 0.1s | CONVERGED (1 secrets each) +b2 storm x3 | heads (control only, no cap)| 160 120 0 | 40 40 40 | 120 120 | 40 0 0 | 2.1s | CONVERGED (121 secrets each) +c partition p=2 k=3 | heads (control only, no cap)| 160 120 0 | 40 40 40 | 116 116 | 40 0 0 | 2.5s | CONVERGED (121 secrets each) +c partition p=10 k=3 | heads (control only, no cap)| 160 120 0 | 40 40 40 | 40 40 | 40 0 0 | 2.2s | CONVERGED (121 secrets each) +c partition p=20 k=3 | heads (control only, no cap)| 160 120 0 | 40 40 40 | 40 40 | 40 0 0 | 3.5s | CONVERGED (121 secrets each) +d offline, 10 cycles | heads (control only, no cap)| 401 10 0 | 1 1 1 | 0 0 | 1 0 0 | 1.2s | caught up 400 missed msgs (waiting at Z after catch-up: 0); CONVERGED (11 secrets each) +d offline, shuffled | heads (control only, no cap)| 401 10 0 | 1 1 1 | 0 0 | 1 315 397 | 1.3s | caught up 400 missed msgs (waiting at Z after catch-up: 0); CONVERGED (11 secrets each) +e lost update | heads (control only, no cap)| 161 1 0 | 1 1 1 | 0 0 | 1 117 0 | 0.4s | member 7 read 39 of 156 app msgs by others (the 40 before the loss, then none); waiting at 7: 117 +a steady, app posts x2 | heads (control only, cap 32)| 80 0 0 | 1 1 1 | 0 0 | 1 0 0 | 0.3s | CONVERGED (1 secrets each) +a steady, updates x2 | heads (control only, cap 32)| 80 80 0 | 1 1 1 | 0 0 | 1 0 0 | 1.5s | CONVERGED (81 secrets each) +b burst, updates | heads (control only, cap 32)| 81 40 1 | 32 9 40 | 1 1 | 40 0 0 | 1.3s | CONVERGED (42 secrets each) +b burst, app posts | heads (control only, cap 32)| 80 0 0 | 1 1 1 | 0 0 | 1 0 0 | 0.1s | CONVERGED (1 secrets each) +b2 storm x3 | heads (control only, cap 32)| 161 40 81 | 32 25 56 | 81 81 | 56 0 0 | 1.8s | CONVERGED (122 secrets each) +c partition p=2 k=3 | heads (control only, cap 32)| 161 44 77 | 32 21 52 | 77 77 | 52 0 0 | 2.0s | CONVERGED (122 secrets each) +c partition p=10 k=3 | heads (control only, cap 32)| 161 120 1 | 32 9 40 | 1 1 | 40 0 0 | 2.0s | CONVERGED (122 secrets each) +c partition p=20 k=3 | heads (control only, cap 32)| 161 120 1 | 32 9 40 | 1 1 | 40 0 0 | 1.8s | CONVERGED (122 secrets each) +d offline, 10 cycles | heads (control only, cap 32)| 401 10 0 | 1 1 1 | 0 0 | 1 0 0 | 0.3s | caught up 400 missed msgs (waiting at Z after catch-up: 0); CONVERGED (11 secrets each) +d offline, shuffled | heads (control only, cap 32)| 401 10 0 | 1 1 1 | 0 0 | 1 315 397 | 0.4s | caught up 400 missed msgs (waiting at Z after catch-up: 0); CONVERGED (11 secrets each) +e lost update | heads (control only, cap 32)| 161 1 0 | 1 1 1 | 0 0 | 1 117 0 | 0.2s | member 7 read 39 of 156 app msgs by others (the 40 before the loss, then none); waiting at 7: 117 +b burst+turns, updates | heads (all events, cap 2) | 119 40 39 | 2 1 40 | 9 8 | 40 0 0 | 1.4s | CONVERGED (80 secrets each) +b2 storm x2 | heads (all events, cap 2) | 1679 40 1599 | 2 1 40 | 369 328 | 59 0 0 | 17.2s | CONVERGED (1640 secrets each) +c partition p=10 k=2 | heads (all events, cap 2) | 1079 40 999 | 2 1 40 | 9 8 | 54 0 0 | 10.0s | CONVERGED (1040 secrets each) +c partition p=20 k=2 | heads (all events, cap 2) | 879 40 799 | 2 1 40 | 9 8 | 49 0 0 | 9.1s | CONVERGED (840 secrets each) +b burst+turns, updates | heads (all events, cap 4) | 93 40 13 | 4 1 40 | 3 3 | 40 0 0 | 1.1s | CONVERGED (54 secrets each) +b2 storm x2 | heads (all events, cap 4) | 613 40 533 | 4 1 40 | 123 123 | 49 0 0 | 6.8s | CONVERGED (574 secrets each) +c partition p=10 k=2 | heads (all events, cap 4) | 394 40 314 | 4 1 43 | 4 4 | 48 0 0 | 5.1s | CONVERGED (355 secrets each) +c partition p=20 k=2 | heads (all events, cap 4) | 333 40 253 | 4 1 42 | 4 4 | 45 0 0 | 3.5s | CONVERGED (294 secrets each) +b burst+turns, updates | heads (all events, cap 8) | 85 40 5 | 8 1 40 | 2 2 | 40 0 0 | 1.0s | CONVERGED (46 secrets each) +b2 storm x2 | heads (all events, cap 8) | 287 40 207 | 8 1 50 | 83 83 | 50 0 0 | 3.2s | CONVERGED (248 secrets each) +c partition p=10 k=2 | heads (all events, cap 8) | 216 40 136 | 8 1 43 | 2 2 | 45 0 0 | 2.4s | CONVERGED (177 secrets each) +c partition p=20 k=2 | heads (all events, cap 8) | 168 40 88 | 8 1 58 | 4 4 | 58 0 0 | 2.1s | CONVERGED (129 secrets each) +b burst+turns, updates | heads (all events, cap 16)| 82 40 2 | 16 1 40 | 1 1 | 40 0 0 | 1.1s | CONVERGED (43 secrets each) +b2 storm x2 | heads (all events, cap 16)| 163 40 83 | 16 1 57 | 42 42 | 57 0 0 | 1.9s | CONVERGED (124 secrets each) +c partition p=10 k=2 | heads (all events, cap 16)| 123 50 33 | 16 1 54 | 2 2 | 54 0 0 | 1.5s | CONVERGED (84 secrets each) +c partition p=20 k=2 | heads (all events, cap 16)| 123 40 43 | 16 1 48 | 2 2 | 48 0 0 | 1.4s | CONVERGED (84 secrets each) +b burst+turns, updates | heads (all events, cap 24)| 81 40 1 | 24 1 40 | 1 1 | 40 0 0 | 0.9s | CONVERGED (42 secrets each) +b2 storm x2 | heads (all events, cap 24)| 122 40 42 | 24 1 56 | 42 42 | 56 0 0 | 1.3s | CONVERGED (83 secrets each) +c partition p=10 k=2 | heads (all events, cap 24)| 121 50 31 | 24 1 46 | 1 1 | 46 0 0 | 1.3s | CONVERGED (82 secrets each) +c partition p=20 k=2 | heads (all events, cap 24)| 121 80 1 | 24 1 40 | 1 1 | 40 0 0 | 1.2s | CONVERGED (82 secrets each) +b burst+turns, updates | heads (all events, cap 40)| 81 40 1 | 40 1 40 | 1 1 | 40 0 0 | 0.9s | CONVERGED (42 secrets each) +b2 storm x2 | heads (all events, cap 40)| 121 40 41 | 40 1 40 | 41 41 | 40 0 0 | 1.3s | CONVERGED (82 secrets each) +c partition p=10 k=2 | heads (all events, cap 40)| 121 80 1 | 40 1 40 | 1 1 | 40 0 0 | 1.9s | CONVERGED (82 secrets each) +c partition p=20 k=2 | heads (all events, cap 40)| 121 80 1 | 40 1 40 | 1 1 | 40 0 0 | 1.4s | CONVERGED (82 secrets each) +b2 storm x3 | heads (all events, cap 2) +reorder1| 1600 40 1560 | 2 2 40 | 360 320 | 40 6 0 | 7.9s | STOPPED: receive [id=30, seq=14] at member 0: Dcgka(TwoParty(Hpke(Decryption(OpenError)))) +c partition p=2 k=3 | heads (all events, cap 2) +reorder1| 1448 40 1408 | 2 2 38 | 266 228 | 38 7 0 | 6.2s | STOPPED: receive [id=16, seq=3] at member 2: Dcgka(TwoParty(Hpke(Decryption(OpenError)))) +b2 storm x3 | heads (all events, cap 2, backlink) +reorder1| 3239 40 3159 | 2 2 40 | 729 648 | 40 1153 1520 | 29.5s | CONVERGED (3200 secrets each) +c partition p=2 k=3 | heads (all events, cap 2, backlink) +reorder1| 2935 40 2855 | 2 2 40 | 541 464 | 40 1038 1368 | 32.3s | CONVERGED (2896 secrets each) +b2 storm x3 | heads (all events, cap 4) +reorder1| 560 40 520 | 4 4 40 | 120 120 | 40 0 0 | 4.0s | STOPPED: receive [id=19, seq=3] at member 0: Dcgka(TwoParty(Hpke(Decryption(OpenError)))) +c partition p=2 k=3 | heads (all events, cap 4) +reorder1| 498 42 456 | 4 4 38 | 114 76 | 38 4 0 | 3.2s | STOPPED: receive [id=30, seq=5] at member 2: Dcgka(TwoParty(Hpke(Decryption(OpenError)))) +b2 storm x3 | heads (all events, cap 4, backlink) +reorder1| 1133 40 1053 | 4 2 40 | 243 243 | 40 320 505 | 11.5s | CONVERGED (1094 secrets each) +c partition p=2 k=3 | heads (all events, cap 4, backlink) +reorder1| 1009 44 925 | 4 2 40 | 231 155 | 40 286 442 | 10.0s | CONVERGED (970 secrets each) +b2 storm x3 | heads (all events, cap 8) +reorder1| 240 40 200 | 8 8 40 | 80 80 | 40 6 0 | 1.8s | STOPPED: receive [id=22, seq=2] at member 0: Dcgka(TwoParty(Hpke(Decryption(OpenError)))) +c partition p=2 k=3 | heads (all events, cap 8) +reorder1| 232 42 190 | 8 8 38 | 38 38 | 38 10 0 | 1.7s | STOPPED: receive [id=26, seq=2] at member 2: Dcgka(TwoParty(Hpke(Decryption(OpenError)))) +b2 storm x3 | heads (all events, cap 8, backlink) +reorder1| 485 40 405 | 8 2 40 | 162 162 | 40 83 194 | 4.5s | CONVERGED (446 secrets each) +c partition p=2 k=3 | heads (all events, cap 8, backlink) +reorder1| 469 44 385 | 8 2 40 | 78 78 | 40 79 184 | 3.9s | CONVERGED (430 secrets each) +b2 storm x3 | heads (all events, cap 16) +reorder1| 120 40 80 | 16 16 40 | 40 40 | 40 0 0 | 1.3s | STOPPED: receive [id=33, seq=2] at member 0: Dcgka(TwoParty(Hpke(Decryption(OpenError)))) +c partition p=2 k=3 | heads (all events, cap 16) +reorder1| 118 42 76 | 16 16 38 | 38 38 | 38 1 0 | 2.0s | STOPPED: receive [id=35, seq=2] at member 2: Dcgka(TwoParty(Hpke(Decryption(OpenError)))) +b2 storm x3 | heads (all events, cap 16, backlink) +reorder1| 242 40 162 | 16 2 40 | 81 81 | 40 17 75 | 2.4s | CONVERGED (203 secrets each) +c partition p=2 k=3 | heads (all events, cap 16, backlink) +reorder1| 238 44 154 | 16 2 40 | 77 77 | 40 16 72 | 2.2s | CONVERGED (199 secrets each) +b2 storm x3 | heads (all events, cap 24) +reorder1| 160 40 120 | 24 24 56 | 120 120 | 56 3 2 | 1.6s | STOPPED: receive [id=38, seq=3] at member 0: Dcgka(TwoParty(Hpke(Decryption(OpenError)))) +c partition p=2 k=3 | heads (all events, cap 24) +reorder1| 158 44 114 | 24 24 52 | 76 76 | 52 0 0 | 1.6s | STOPPED: receive [id=37, seq=3] at member 2: Dcgka(TwoParty(Hpke(Decryption(OpenError)))) +b2 storm x3 | heads (all events, cap 24, backlink) +reorder1| 161 40 81 | 24 2 40 | 81 81 | 40 1 1 | 1.5s | CONVERGED (122 secrets each) +c partition p=2 k=3 | heads (all events, cap 24, backlink) +reorder1| 161 44 77 | 24 2 40 | 77 77 | 40 1 1 | 1.6s | CONVERGED (122 secrets each) +b2 storm x3 | heads (all events, cap 32) +reorder1| 161 40 81 | 32 1 56 | 81 81 | 56 1 1 | 1.5s | CONVERGED (122 secrets each) +c partition p=2 k=3 | heads (all events, cap 32) +reorder1| 161 44 77 | 32 1 52 | 77 77 | 52 1 1 | 1.4s | CONVERGED (122 secrets each) +b2 storm x3 | heads (all events, cap 32, backlink) +reorder1| 161 40 81 | 32 2 40 | 81 81 | 40 1 1 | 1.5s | CONVERGED (122 secrets each) +c partition p=2 k=3 | heads (all events, cap 32, backlink) +reorder1| 161 44 77 | 32 2 40 | 77 77 | 40 1 1 | 1.5s | CONVERGED (122 secrets each) +b2 storm x3 | heads (all events, cap 40) +reorder1| 161 40 81 | 40 1 40 | 81 81 | 40 1 1 | 1.5s | CONVERGED (122 secrets each) +c partition p=2 k=3 | heads (all events, cap 40) +reorder1| 161 120 1 | 40 1 40 | 77 77 | 40 1 1 | 1.4s | CONVERGED (122 secrets each) +b2 storm x3 | heads (all events, cap 40, backlink) +reorder1| 161 40 81 | 40 2 40 | 81 81 | 40 1 1 | 1.4s | CONVERGED (122 secrets each) +c partition p=2 k=3 | heads (all events, cap 40, backlink) +reorder1| 161 120 1 | 40 2 40 | 77 77 | 40 1 1 | 1.4s | CONVERGED (122 secrets each) +b2 storm x3 | heads (all events, no cap) +reorder1| 160 120 0 | 40 1 40 | 81 81 | 40 0 0 | 1.3s | CONVERGED (121 secrets each) +c partition p=2 k=3 | heads (all events, no cap) +reorder1| 160 120 0 | 40 1 40 | 77 77 | 40 0 0 | 1.3s | CONVERGED (121 secrets each) +b2 storm x3 | heads (all events, no cap, backlink) +reorder1| 160 120 0 | 40 2 40 | 81 81 | 40 0 0 | 1.5s | CONVERGED (121 secrets each) +c partition p=2 k=3 | heads (all events, no cap, backlink) +reorder1| 160 120 0 | 40 2 40 | 77 77 | 40 0 0 | 1.4s | CONVERGED (121 secrets each) +b2 storm x3 | heads (all events, cap 2) +reorder2| 1600 40 1560 | 2 2 40 | 360 320 | 40 2 0 | 7.0s | STOPPED: receive [id=19, seq=5] at member 0: Dcgka(TwoParty(Hpke(Decryption(OpenError)))) +c partition p=2 k=3 | heads (all events, cap 2) +reorder2| 1448 40 1408 | 2 2 38 | 266 228 | 38 1 0 | 6.4s | STOPPED: receive [id=34, seq=2] at member 2: Dcgka(TwoParty(Hpke(Decryption(OpenError)))) +b2 storm x3 | heads (all events, cap 2, backlink) +reorder2| 3239 40 3159 | 2 2 40 | 729 648 | 40 1181 1519 | 45.0s | CONVERGED (3200 secrets each) +c partition p=2 k=3 | heads (all events, cap 2, backlink) +reorder2| 2935 40 2855 | 2 2 40 | 541 464 | 40 1034 1367 | 34.2s | CONVERGED (2896 secrets each) +b2 storm x3 | heads (all events, cap 4) +reorder2| 560 40 520 | 4 4 40 | 120 120 | 40 1 0 | 3.6s | STOPPED: receive [id=35, seq=4] at member 0: Dcgka(TwoParty(Hpke(Decryption(OpenError)))) +c partition p=2 k=3 | heads (all events, cap 4) +reorder2| 498 42 456 | 4 4 38 | 114 76 | 38 0 0 | 3.2s | STOPPED: receive [id=28, seq=5] at member 2: Dcgka(TwoParty(Hpke(Decryption(OpenError)))) +b2 storm x3 | heads (all events, cap 4, backlink) +reorder2| 1133 40 1053 | 4 2 40 | 243 243 | 40 311 506 | 12.4s | CONVERGED (1094 secrets each) +c partition p=2 k=3 | heads (all events, cap 4, backlink) +reorder2| 1009 44 925 | 4 2 40 | 231 155 | 40 276 443 | 9.0s | CONVERGED (970 secrets each) +b2 storm x3 | heads (all events, cap 8) +reorder2| 240 40 200 | 8 8 40 | 80 80 | 40 3 0 | 1.8s | STOPPED: receive [id=22, seq=2] at member 0: Dcgka(TwoParty(Hpke(Decryption(OpenError)))) +c partition p=2 k=3 | heads (all events, cap 8) +reorder2| 232 42 190 | 8 8 38 | 38 38 | 38 8 0 | 1.6s | STOPPED: receive [id=37, seq=4] at member 2: Dcgka(TwoParty(Hpke(Decryption(OpenError)))) +b2 storm x3 | heads (all events, cap 8, backlink) +reorder2| 485 40 405 | 8 2 40 | 162 162 | 40 78 194 | 4.3s | CONVERGED (446 secrets each) +c partition p=2 k=3 | heads (all events, cap 8, backlink) +reorder2| 469 44 385 | 8 2 40 | 78 78 | 40 83 184 | 3.9s | CONVERGED (430 secrets each) +b2 storm x3 | heads (all events, cap 16) +reorder2| 120 40 80 | 16 16 40 | 40 40 | 40 2 0 | 1.1s | STOPPED: receive [id=39, seq=2] at member 0: Dcgka(TwoParty(Hpke(Decryption(OpenError)))) +c partition p=2 k=3 | heads (all events, cap 16) +reorder2| 118 42 76 | 16 16 38 | 38 38 | 38 1 0 | 1.1s | STOPPED: receive [id=35, seq=2] at member 2: Dcgka(TwoParty(Hpke(Decryption(OpenError)))) +b2 storm x3 | heads (all events, cap 16, backlink) +reorder2| 242 40 162 | 16 2 40 | 81 81 | 40 19 77 | 2.1s | CONVERGED (203 secrets each) +c partition p=2 k=3 | heads (all events, cap 16, backlink) +reorder2| 238 44 154 | 16 2 40 | 77 77 | 40 15 73 | 1.9s | CONVERGED (199 secrets each) +b2 storm x3 | heads (all events, cap 24) +reorder2| 160 40 120 | 24 24 56 | 120 120 | 56 2 2 | 1.4s | STOPPED: receive [id=35, seq=3] at member 0: Dcgka(TwoParty(Hpke(Decryption(OpenError)))) +c partition p=2 k=3 | heads (all events, cap 24) +reorder2| 158 44 114 | 24 24 52 | 76 76 | 52 4 4 | 1.3s | STOPPED: receive [id=38, seq=3] at member 2: Dcgka(TwoParty(Hpke(Decryption(OpenError)))) +b2 storm x3 | heads (all events, cap 24, backlink) +reorder2| 161 40 81 | 24 2 40 | 81 81 | 40 1 1 | 1.4s | CONVERGED (122 secrets each) +c partition p=2 k=3 | heads (all events, cap 24, backlink) +reorder2| 161 44 77 | 24 2 40 | 77 77 | 40 1 1 | 1.4s | CONVERGED (122 secrets each) +b2 storm x3 | heads (all events, cap 32) +reorder2| 161 40 81 | 32 1 56 | 81 81 | 56 1 1 | 1.4s | CONVERGED (122 secrets each) +c partition p=2 k=3 | heads (all events, cap 32) +reorder2| 161 44 77 | 32 1 52 | 77 77 | 52 1 1 | 1.4s | CONVERGED (122 secrets each) +b2 storm x3 | heads (all events, cap 32, backlink) +reorder2| 161 40 81 | 32 2 40 | 81 81 | 40 1 1 | 1.4s | CONVERGED (122 secrets each) +c partition p=2 k=3 | heads (all events, cap 32, backlink) +reorder2| 161 44 77 | 32 2 40 | 77 77 | 40 1 1 | 1.4s | CONVERGED (122 secrets each) +b2 storm x3 | heads (all events, cap 40) +reorder2| 161 40 81 | 40 1 40 | 81 81 | 40 1 1 | 1.4s | CONVERGED (122 secrets each) +c partition p=2 k=3 | heads (all events, cap 40) +reorder2| 161 120 1 | 40 1 40 | 77 77 | 40 1 1 | 1.4s | CONVERGED (122 secrets each) +b2 storm x3 | heads (all events, cap 40, backlink) +reorder2| 161 40 81 | 40 2 40 | 81 81 | 40 1 1 | 1.3s | CONVERGED (122 secrets each) +c partition p=2 k=3 | heads (all events, cap 40, backlink) +reorder2| 161 120 1 | 40 2 40 | 77 77 | 40 1 1 | 1.3s | CONVERGED (122 secrets each) +b2 storm x3 | heads (all events, no cap) +reorder2| 160 120 0 | 40 1 40 | 81 81 | 40 0 0 | 1.4s | CONVERGED (121 secrets each) +c partition p=2 k=3 | heads (all events, no cap) +reorder2| 160 120 0 | 40 1 40 | 77 77 | 40 0 0 | 1.3s | CONVERGED (121 secrets each) +b2 storm x3 | heads (all events, no cap, backlink) +reorder2| 160 120 0 | 40 2 40 | 81 81 | 40 0 0 | 1.3s | CONVERGED (121 secrets each) +c partition p=2 k=3 | heads (all events, no cap, backlink) +reorder2| 160 120 0 | 40 2 40 | 77 77 | 40 0 0 | 1.4s | CONVERGED (121 secrets each) +b2 storm x3 | heads (all events, cap 16) +merger0| 124 80 4 | 16 1 40 | 2 2 | 40 0 0 | 1.1s | CONVERGED (85 secrets each) +c partition p=2 k=3 | heads (all events, cap 16) +merger0| 86 44 2 | 16 1 40 | 1 1 | 40 0 0 | 0.8s | CONVERGED (47 secrets each) +c partition p=20 k=3 | heads (all events, cap 16) +merger0| 103 60 3 | 16 1 40 | 1 1 | 40 0 0 | 1.0s | CONVERGED (64 secrets each) +b2 storm x3 | heads (all events, cap 32) +merger0| 122 80 2 | 32 1 40 | 2 2 | 40 0 0 | 1.1s | CONVERGED (83 secrets each) +c partition p=2 k=3 | heads (all events, cap 32) +merger0| 85 44 1 | 32 1 40 | 1 1 | 40 0 0 | 0.8s | CONVERGED (46 secrets each) +c partition p=20 k=3 | heads (all events, cap 32) +merger0| 161 120 1 | 32 1 40 | 1 1 | 40 0 0 | 1.4s | CONVERGED (122 secrets each) +b2 storm x3 | heads (all events, cap 16) +reorder1 +merger0| 124 80 4 | 16 1 40 | 2 2 | 40 2 2 | 1.1s | CONVERGED (85 secrets each) +c partition p=2 k=3 | heads (all events, cap 16) +reorder1 +merger0| 86 44 2 | 16 1 40 | 1 1 | 40 2 2 | 0.8s | CONVERGED (47 secrets each) +c partition p=20 k=3 | heads (all events, cap 16) +reorder1 +merger0| 103 60 3 | 16 1 40 | 1 1 | 40 2 2 | 0.9s | CONVERGED (64 secrets each) +b2 storm x3 | heads (all events, cap 32) +reorder1 +merger0| 122 80 2 | 32 1 40 | 2 2 | 40 1 1 | 1.1s | CONVERGED (83 secrets each) +c partition p=2 k=3 | heads (all events, cap 32) +reorder1 +merger0| 85 44 1 | 32 1 40 | 1 1 | 40 1 1 | 0.8s | CONVERGED (46 secrets each) +c partition p=20 k=3 | heads (all events, cap 32) +reorder1 +merger0| 161 120 1 | 32 1 40 | 1 1 | 40 1 1 | 1.3s | CONVERGED (122 secrets each) +EXIT 0 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s10-heads/src/heads.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s10-heads/src/heads.rs new file mode 100644 index 0000000000..e173fa0bec --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s10-heads/src/heads.rs @@ -0,0 +1,377 @@ +//! Heads orderer for the S10 spike. +//! +//! The crate's `MessageOrderer` names, for each author, the latest control message it has seen, +//! and never removes an entry. This orderer names the heads of the author's view instead: the +//! processed messages that no processed message names, truncated to `cap` in (sender, seq) order. +//! +//! The readiness and waiting logic is copied from the crate's private `ordering` module, following +//! `MessageOrderer::queue` and `Orderer::process_pending` (test_utils/ordering.rs, ordering.rs). + +use std::collections::{HashMap, HashSet, VecDeque}; +use std::fmt; +use std::marker::PhantomData; + +use p2panda_encryption::crypto::xchacha20::XAeadNonce; +use p2panda_encryption::data_scheme::{ControlMessage, DirectMessage, GroupSecretId}; +use p2panda_encryption::test_utils::{MemberId, MessageId}; +use p2panda_encryption::traits::{GroupMembership, GroupMessage, GroupMessageContent, Ordering}; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Debug)] +pub struct HeadsOrderer { + _marker: PhantomData, +} + +#[derive(Clone, Debug, Serialize, Deserialize)] +pub struct HeadsState +where + DGM: Clone + GroupMembership, +{ + pub my_id: MemberId, + /// Most dependencies one message may name. `None` names every head. + cap: Option, + /// Whether application messages are heads too (every event), or only control messages. + track_app: bool, + /// Always name this member's own latest event first, so its own chain survives truncation. + backlink: bool, + /// The last event this member published or processed from itself. + own_latest: Option, + /// Heads of this member's view. + heads: HashSet, + next_seq: usize, + welcome: bool, + /// Every message queued so far. Nothing is pruned. + messages: HashMap>, + ready: HashSet, + ready_queue: VecDeque, + /// Missing dependency -> messages waiting on it, with their dependency lists. + pending: HashMap)>>, + /// Messages waiting for a dependency, mapped to the arrival count when they started waiting. + waiting: HashMap, + arrivals: usize, + max_waiting: usize, + /// For each message that waited: how many other messages arrived before it was released. + waits: Vec, +} + +impl HeadsOrderer +where + DGM: Clone + GroupMembership, +{ + pub fn init( + my_id: MemberId, + cap: Option, + track_app: bool, + backlink: bool, + ) -> HeadsState { + HeadsState { + my_id, + cap, + track_app, + backlink, + own_latest: None, + heads: HashSet::new(), + next_seq: 0, + welcome: false, + messages: HashMap::new(), + ready: HashSet::new(), + ready_queue: VecDeque::new(), + pending: HashMap::new(), + waiting: HashMap::new(), + arrivals: 0, + max_waiting: 0, + waits: Vec::new(), + } + } +} + +impl HeadsState +where + DGM: Clone + GroupMembership, +{ + pub fn heads_len(&self) -> usize { + self.heads.len() + } + + /// Messages queued but not yet released (waiting for a dependency). + pub fn waiting_len(&self) -> usize { + self.waiting.len() + } + + pub fn max_waiting(&self) -> usize { + self.max_waiting + } + + pub fn waits(&self) -> &[usize] { + &self.waits + } + + /// Dependencies a new message names: every head, or the first `cap` in (sender, seq) order. + fn frontier(&self) -> Vec { + let own = if self.backlink { self.own_latest } else { None }; + let mut ids: Vec = self + .heads + .iter() + .copied() + .filter(|id| Some(*id) != own) + .collect(); + ids.sort_by_key(|id| (id.sender, id.seq)); + if let Some(cap) = self.cap { + ids.truncate(cap.saturating_sub(usize::from(own.is_some()))); + } + if let Some(own) = own { + ids.insert(0, own); + } + ids + } + + /// Updates the heads for a processed message: its dependencies are covered, and it is a head. + /// Application messages only count when `track_app` is set. + fn observe(&mut self, message: &HeadsMessage) { + let id = MessageId { + sender: message.sender, + seq: message.seq, + }; + if message.sender == self.my_id { + self.own_latest = Some(id); + } + let is_control = matches!(message.content, HeadsContent::System { .. }); + if !is_control && !self.track_app { + return; + } + for dep in &message.previous { + self.heads.remove(dep); + } + self.heads.insert(id); + } + + fn is_ready(&self, deps: &[MessageId]) -> bool { + deps.iter().all(|dep| self.ready.contains(dep)) + } + + fn mark_ready(&mut self, id: MessageId) -> bool { + if !self.ready.insert(id) { + return false; + } + if let Some(start) = self.waiting.remove(&id) { + self.waits.push(self.arrivals - start); + } + self.ready_queue.push_back(id); + true + } + + /// Releases every message that waited for `key`, and, recursively, the ones waiting for those. + fn release_dependents(&mut self, key: MessageId) { + let Some(dependents) = self.pending.remove(&key) else { + return; + }; + for (next, deps) in dependents { + if self.is_ready(&deps) && self.mark_ready(next) { + self.release_dependents(next); + } + } + } +} + +#[derive(Clone, Debug, Serialize, Deserialize)] +pub struct HeadsMessage +where + DGM: Clone + GroupMembership, +{ + seq: usize, + sender: MemberId, + /// The dependencies this message names. Same field name as the crate's test message. + previous: Vec, + content: HeadsContent, +} + +#[derive(Clone, Debug, Serialize, Deserialize)] +pub enum HeadsContent +where + DGM: Clone + GroupMembership, +{ + Application { + ciphertext: Vec, + group_secret_id: GroupSecretId, + nonce: XAeadNonce, + }, + System { + control_message: ControlMessage, + direct_messages: Vec>, + }, +} + +impl GroupMessage for HeadsMessage +where + DGM: Clone + GroupMembership, +{ + fn id(&self) -> MessageId { + MessageId { + sender: self.sender, + seq: self.seq, + } + } + + fn sender(&self) -> MemberId { + self.sender + } + + fn content(&self) -> GroupMessageContent { + match &self.content { + HeadsContent::Application { + ciphertext, + group_secret_id, + nonce, + } => GroupMessageContent::Application { + group_secret_id: *group_secret_id, + nonce: *nonce, + ciphertext: ciphertext.to_vec(), + }, + HeadsContent::System { + control_message, .. + } => GroupMessageContent::Control(control_message.clone()), + } + } + + fn direct_messages(&self) -> Vec> { + match &self.content { + HeadsContent::Application { .. } => Vec::new(), + HeadsContent::System { + direct_messages, .. + } => direct_messages.clone(), + } + } +} + +#[derive(Debug)] +pub struct HeadsError(pub String); + +impl fmt::Display for HeadsError { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + f.write_str(&self.0) + } +} + +impl std::error::Error for HeadsError {} + +impl Ordering for HeadsOrderer +where + DGM: fmt::Debug + + Clone + + GroupMembership + + Serialize + + for<'a> Deserialize<'a>, +{ + type State = HeadsState; + + type Error = HeadsError; + + type Message = HeadsMessage; + + fn next_control_message( + mut y: Self::State, + control_message: &ControlMessage, + direct_messages: &[DirectMessage], + ) -> Result<(Self::State, Self::Message), Self::Error> { + let message = HeadsMessage { + seq: y.next_seq, + sender: y.my_id, + previous: y.frontier(), + content: HeadsContent::System { + control_message: control_message.to_owned(), + direct_messages: direct_messages.to_owned(), + }, + }; + y.next_seq += 1; + y.observe(&message); + Ok((y, message)) + } + + fn next_application_message( + mut y: Self::State, + group_secret_id: GroupSecretId, + nonce: XAeadNonce, + ciphertext: Vec, + ) -> Result<(Self::State, Self::Message), Self::Error> { + // The driver merges before this point. An application message never truncates. + if let Some(cap) = y.cap + && y.heads.len() > cap + { + return Err(HeadsError(format!( + "frontier of {} heads exceeds cap {cap}", + y.heads.len() + ))); + } + let message = HeadsMessage { + seq: y.next_seq, + sender: y.my_id, + previous: y.frontier(), + content: HeadsContent::Application { + ciphertext, + group_secret_id, + nonce, + }, + }; + y.next_seq += 1; + y.observe(&message); + Ok((y, message)) + } + + fn queue(mut y: Self::State, message: &Self::Message) -> Result { + let id = message.id(); + y.messages.insert(id, message.clone()); + y.arrivals += 1; + + // Our own messages are never queued, so dependencies on ourselves are already met. + let previous: Vec = message + .previous + .iter() + .filter(|dep| dep.sender != y.my_id) + .copied() + .collect(); + + if !y.is_ready(&previous) { + y.waiting.insert(id, y.arrivals); + y.max_waiting = y.max_waiting.max(y.waiting.len()); + for dep in &previous { + if !y.ready.contains(dep) { + y.pending + .entry(*dep) + .or_default() + .insert((id, previous.clone())); + } + } + return Ok(y); + } + + y.mark_ready(id); + y.release_dependents(id); + Ok(y) + } + + fn set_welcome( + mut y: Self::State, + _message: &Self::Message, + ) -> Result { + y.welcome = true; + Ok(y) + } + + fn next_ready_message( + mut y: Self::State, + ) -> Result<(Self::State, Option), Self::Error> { + if !y.welcome { + return Ok((y, None)); + } + let Some(id) = y.ready_queue.pop_front() else { + return Ok((y, None)); + }; + let message = y + .messages + .get(&id) + .cloned() + .expect("ready ids map to messages"); + y.observe(&message); + Ok((y, Some(message))) + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s10-heads/src/main.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s10-heads/src/main.rs new file mode 100644 index 0000000000..eeb05d6989 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s10-heads/src/main.rs @@ -0,0 +1,659 @@ +//! S10 spike: heads orderer and frontier size in a 40-member group. Method and results: RESULTS.md. +//! +//! Every run builds one group of 40 members with p2panda-encryption's DataScheme (the crate's +//! test DGM and key managers), and drives it through one scenario with one orderer. The orderer is +//! either the crate's `MessageOrderer` (per-author latest, no pruning) or `heads::HeadsOrderer`. +//! Each published event records how many dependencies it names, and, for the heads orderer, how +//! many heads its author held (the frontier the event would carry without a cap). + +mod heads; + +use std::collections::{BTreeMap, BTreeSet, HashSet}; + +use enc::data_scheme::dcgka::Dcgka; +use enc::data_scheme::group::{EncryptionGroup, GroupOutput, GroupState}; +use enc::data_scheme::group_secret::SecretBundle; +use enc::data_scheme::test_utils::dgm::TestDgm; +use enc::data_scheme::test_utils::ordering::MessageOrderer; +use enc::key_bundle::{Lifetime, LongTermKeyBundle}; +use enc::key_manager::{KeyManager, KeyManagerState}; +use enc::key_registry::KeyRegistry; +use enc::test_utils::{MemberId, MessageId}; +use enc::traits::{GroupMessage, Ordering, PreKeyManager}; +use p2panda_encryption as enc; +use serde::Serialize; + +use heads::HeadsOrderer; + +type Id = MemberId; +type Mid = MessageId; +type Dgm = TestDgm; +type Pki = KeyRegistry; + +const N: usize = 40; +/// The design's `after` cap. +const DESIGN_CAP: usize = 32; + +/// An orderer under test, and how to read its heads and waiting count. +trait Kit { + type O: Ordering + std::fmt::Debug; + fn name(&self) -> String; + /// The merge threshold the driver enforces. `None` never merges. + fn cap(&self) -> Option; + fn init(&self, id: Id) -> OState; + /// (heads, waiting) as the orderer reports them. `None` when it does not expose them. + fn probe(y: &OState) -> (Option, Option); + /// (most messages waiting at once, longest wait in arrivals) since the start. + fn peak(y: &OState) -> (Option, Option); +} + +type OState = <::O as Ordering>::State; +type Msg = <::O as Ordering>::Message; +type Y = GroupState::O>; + +/// The crate's orderer, as shipped in test_utils. +struct CrateKit; + +impl Kit for CrateKit { + type O = MessageOrderer; + + fn name(&self) -> String { + "crate MessageOrderer".into() + } + + fn cap(&self) -> Option { + None + } + + fn init(&self, id: Id) -> OState { + MessageOrderer::::init(id) + } + + fn probe(_: &OState) -> (Option, Option) { + (None, None) + } + + fn peak(_: &OState) -> (Option, Option) { + (None, None) + } +} + +/// The heads orderer. `track_app`: application messages are heads too (every event). +struct HeadsKit { + cap: Option, + track_app: bool, + /// Name the author's own latest event first (see heads.rs). + backlink: bool, +} + +impl Kit for HeadsKit { + type O = HeadsOrderer; + + fn name(&self) -> String { + let scope = if self.track_app { "all events" } else { "control only" }; + let backlink = if self.backlink { ", backlink" } else { "" }; + match self.cap { + Some(cap) => format!("heads ({scope}, cap {cap}{backlink})"), + None => format!("heads ({scope}, no cap{backlink})"), + } + } + + fn cap(&self) -> Option { + self.cap + } + + fn init(&self, id: Id) -> OState { + HeadsOrderer::::init(id, self.cap, self.track_app, self.backlink) + } + + fn probe(y: &OState) -> (Option, Option) { + (Some(y.heads_len()), Some(y.waiting_len())) + } + + fn peak(y: &OState) -> (Option, Option) { + let longest = y.waits().iter().copied().max().unwrap_or(0); + (Some(y.max_waiting()), Some(longest)) + } +} + +#[derive(Clone, Copy, Debug, PartialEq, Eq)] +enum Kind { + Create, + App, + Update, + /// An update published because the author's frontier had reached the cap. + Merge, +} + +#[derive(Clone, Copy, Debug)] +enum Want { + App, + Update, +} + +struct Sample { + kind: Kind, + /// Heads in the author's view before the event (untruncated). `None` for the crate. + heads: Option, + /// Dependencies the event names. + named: usize, +} + +#[derive(Clone, Copy, Default)] +struct Opts { + /// Each member hears the events of a round in its own order, drawn from this seed. + reorder: Option, + /// Only member 0 merges at the cap. Other members at the cap skip the event. + merger_only: bool, +} + +struct Net { + kit: K, + opts: Opts, + rng: enc::Rng, + ys: BTreeMap>, + /// Every published message, with its author, in publication order. + log: Vec<(Id, Msg)>, + /// Application labels with their authors. + labels: Vec<(Id, String)>, + /// (member, message) pairs the member has seen or published. + seen: HashSet<(Id, Mid)>, + /// Application labels each member has read. + read: BTreeMap>, + samples: Vec, + max_heads: Option, + max_waiting: Option, + longest_wait: Option, +} + +fn max_opt(a: Option, b: Option) -> Option { + match (a, b) { + (Some(a), Some(b)) => Some(a.max(b)), + (a, b) => a.or(b), + } +} + +fn init_states(kit: &K, members: &[(Id, Lifetime)], rng: &enc::Rng) -> Vec> { + let mut managers: BTreeMap = BTreeMap::new(); + let mut bundles: BTreeMap = BTreeMap::new(); + for (id, lifetime) in members { + let identity = enc::test_utils::crypto::SecretKey::from_bytes(rng.random_array().unwrap()); + let manager = KeyManager::init_and_generate_prekey(&identity, *lifetime, rng).unwrap(); + bundles.insert(*id, KeyManager::prekey_bundle(&manager).unwrap()); + managers.insert(*id, manager); + } + members + .iter() + .map(|(id, _)| { + let mut registry = KeyRegistry::::init(); + for (other, bundle) in &bundles { + registry = KeyRegistry::add_longterm_bundle(registry, *other, bundle.clone()) + .unwrap(); + } + GroupState { + my_id: *id, + dcgka: Dcgka::init(*id, managers[id].clone(), registry, Dgm::init(*id)), + orderer: kit.init(*id), + secrets: SecretBundle::init(), + is_welcomed: false, + } + }) + .collect() +} + +fn all() -> Vec { + (0..N).collect() +} + +fn shuffle(v: &mut [T], mut seed: u64) { + for i in (1..v.len()).rev() { + seed ^= seed << 13; + seed ^= seed >> 7; + seed ^= seed << 17; + v.swap(i, (seed % (i as u64 + 1)) as usize); + } +} + +impl Net { + fn new(kit: K, seed: u8) -> Self { + let rng = enc::Rng::from_seed([seed; 32]); + let members: Vec<(Id, Lifetime)> = (0..N).map(|id| (id, Lifetime::default())).collect(); + let ys = init_states(&kit, &members, &rng) + .into_iter() + .map(|y| (y.my_id, y)) + .collect(); + Self { + kit, + rng, + ys, + log: Vec::new(), + labels: Vec::new(), + seen: HashSet::new(), + read: BTreeMap::new(), + samples: Vec::new(), + max_heads: None, + max_waiting: None, + longest_wait: None, + opts: Opts::default(), + } + } + + fn take(&mut self, id: Id) -> Y { + self.ys.remove(&id).expect("member state") + } + + fn put(&mut self, y: Y) { + self.ys.insert(y.my_id, y); + } + + fn probe(&self, id: Id) -> (Option, Option) { + K::probe(&self.ys[&id].orderer) + } + + /// The frontier has reached the cap, so the next event from this member is a merge. + fn is_full(&self, id: Id) -> bool { + match (self.kit.cap(), self.probe(id).0) { + (Some(cap), Some(heads)) => heads >= cap, + _ => false, + } + } + + /// Hands a published message back to its author's state, and records it. + fn emit(&mut self, author: Id, kind: Kind, heads: Option, y: Y, msg: Msg) { + let named = serde_json::to_value(&msg).expect("message serialises")["previous"] + .as_array() + .map_or(0, Vec::len); + self.samples.push(Sample { + kind, + heads, + named, + }); + self.seen.insert((author, msg.id())); + self.log.push((author, msg)); + self.put(y); + } + + fn create(&mut self, creator: Id, members: &[Id]) -> Result<(), String> { + let heads = self.probe(creator).0; + let y = self.take(creator); + let (y, msg) = EncryptionGroup::create(y, members.to_vec(), &self.rng) + .map_err(|err| format!("create: {err:?}"))?; + self.emit(creator, Kind::Create, heads, y, msg); + let (_, msg) = self.log.last().cloned().expect("just published"); + let to: Vec = members.iter().copied().filter(|m| *m != creator).collect(); + self.deliver(&msg, &to) + } + + fn push_app(&mut self, author: Id) -> Result<(), String> { + let label = format!("app {author}/{}", self.log.len()); + let heads = self.probe(author).0; + let y = self.take(author); + let (y, msg) = EncryptionGroup::send(y, label.as_bytes(), &self.rng) + .map_err(|err| format!("send by {author}: {err:?}"))?; + self.labels.push((author, label)); + self.emit(author, Kind::App, heads, y, msg); + Ok(()) + } + + fn push_update(&mut self, author: Id, kind: Kind) -> Result<(), String> { + let heads = self.probe(author).0; + let y = self.take(author); + let (y, msg) = EncryptionGroup::update(y, &self.rng) + .map_err(|err| format!("update by {author}: {err:?}"))?; + self.emit(author, kind, heads, y, msg); + Ok(()) + } + + /// One event from `author`: merges first while the frontier is at the cap. + fn publish(&mut self, author: Id, want: Want) -> Result<(), String> { + if self.opts.merger_only && author != 0 && self.is_full(author) { + return Ok(()); + } + let mut merged = false; + while self.is_full(author) { + self.push_update(author, Kind::Merge)?; + merged = true; + } + match want { + Want::App => self.push_app(author), + Want::Update if merged => Ok(()), + Want::Update => self.push_update(author, Kind::Update), + } + } + + /// Hands `msg` to each member of `to` that has not seen it yet. + fn deliver(&mut self, msg: &Msg, to: &[Id]) -> Result<(), String> { + for &member in to { + if !self.seen.insert((member, msg.id())) { + continue; + } + let y = self.take(member); + let (y, outputs) = EncryptionGroup::receive(y, msg).map_err(|err| { + format!("receive {} at member {member}: {err:?}", msg.id()) + })?; + for output in outputs { + if let GroupOutput::Application { plaintext } = output { + let label = String::from_utf8_lossy(&plaintext).into_owned(); + self.read.entry(member).or_default().insert(label); + } + } + self.put(y); + self.note_views(); + } + Ok(()) + } + + fn note_views(&mut self) { + for y in self.ys.values() { + let (heads, _) = K::probe(&y.orderer); + let (peak, longest) = K::peak(&y.orderer); + self.max_heads = max_opt(self.max_heads, heads); + self.max_waiting = max_opt(self.max_waiting, peak); + self.longest_wait = max_opt(self.longest_wait, longest); + } + } + + /// Every author in `authors` publishes against its current view, then the new events reach + /// `audience`. A burst is one call with many authors: nobody sees the others' events first. + fn round(&mut self, authors: &[Id], want: Want, audience: &[Id]) -> Result<(), String> { + let start = self.log.len(); + for &author in authors { + self.publish(author, want)?; + } + let new: Vec<(Id, Msg)> = self.log[start..].to_vec(); + if let Some(salt) = self.opts.reorder { + // Each member hears the round in its own order. + for &member in audience { + let mut mine: Vec<&(Id, Msg)> = + new.iter().filter(|(author, _)| *author != member).collect(); + let seed = (start as u64 + 1).wrapping_mul(0x9E37_79B9_7F4A_7C15) + ^ (member as u64).wrapping_mul(0xC2B2_AE3D_27D4_EB4F) + ^ salt.wrapping_mul(0xD1B5_4A32_D192_ED03); + shuffle(mine.as_mut_slice(), seed); + for (_, msg) in mine { + self.deliver(msg, &[member])?; + } + } + return Ok(()); + } + for (author, msg) in &new { + let to: Vec = audience.iter().copied().filter(|m| m != author).collect(); + self.deliver(msg, &to)?; + } + Ok(()) + } + + /// Each author in turn: its event reaches the audience before the next author posts. + fn turns(&mut self, authors: &[Id], want: Want, audience: &[Id]) -> Result<(), String> { + for &author in authors { + self.round(&[author], want, audience)?; + } + Ok(()) + } + + /// Every member holds the same secrets and membership, and has read every application message + /// that another member published. + fn verdict(&self, members: &[Id]) -> String { + let mut counts = BTreeSet::new(); + let mut id_sets = BTreeSet::new(); + let mut latest = BTreeSet::new(); + let mut members_ok = true; + for id in members { + let y = &self.ys[id]; + counts.insert(y.secrets.len()); + id_sets.insert(y.secrets.ids().copied().collect::>()); + latest.insert(y.secrets.latest().map(|secret| secret.id())); + members_ok &= EncryptionGroup::members(y).is_ok_and(|set| set.len() == members.len()); + } + let mut missing = 0; + for id in members { + let read = self.read.get(id); + missing += self + .labels + .iter() + .filter(|(author, label)| author != id && !read.is_some_and(|r| r.contains(label))) + .count(); + } + let converged = id_sets.len() == 1 && latest.len() == 1 && members_ok && missing == 0; + if converged { + return format!("CONVERGED ({} secrets each)", counts.iter().next().unwrap_or(&0)); + } + format!( + "NOT converged (secrets per member {counts:?}, identical id sets: {}, latest ids: {}, membership {}, app msgs missing {missing})", + id_sets.len() == 1, + latest.len(), + if members_ok { "ok" } else { "wrong" }, + ) + } +} + +// --- scenarios ------------------------------------------------------------------------------------ + +/// (a) Members post in turn. Each post reaches everyone before the next. +fn steady(net: &mut Net, want: Want, cycles: usize) -> Result { + net.create(0, &all())?; + for _ in 0..cycles { + net.turns(&all(), want, &all())?; + } + Ok(net.verdict(&all())) +} + +/// (b) All 40 publish in one round, then each member posts once in turn. +fn burst_then_turns(net: &mut Net, want: Want) -> Result { + net.create(0, &all())?; + net.round(&all(), want, &all())?; + net.turns(&all(), Want::App, &all())?; + Ok(net.verdict(&all())) +} + +/// (b2) `rounds` rounds in which all 40 publish concurrently, then each member posts once in turn. +fn storm(net: &mut Net, rounds: usize) -> Result { + net.create(0, &all())?; + for _ in 0..rounds { + net.round(&all(), Want::Update, &all())?; + } + net.turns(&all(), Want::App, &all())?; + Ok(net.verdict(&all())) +} + +/// (c) The group splits into `p` members and 40-p. Each side publishes concurrently for `k` rounds, +/// the partition heals (every event reaches every member), then each member posts once in turn. +fn partition(net: &mut Net, p: usize, k: usize) -> Result { + net.create(0, &all())?; + let left: Vec = all()[..p].to_vec(); + let right: Vec = all()[p..].to_vec(); + for _ in 0..k { + net.round(&left, Want::Update, &left)?; + net.round(&right, Want::Update, &right)?; + } + let log = net.log.clone(); + for (author, msg) in &log { + let to: Vec = all().into_iter().filter(|m| m != author).collect(); + net.deliver(msg, &to)?; + } + net.turns(&all(), Want::App, &all())?; + Ok(net.verdict(&all())) +} + +/// (d) Member 20 is offline for `cycles` cycles. The other 39 post in turn, and once a cycle one of +/// them publishes an update. Then member 20 catches up, in publication order or shuffled, and posts. +fn offline(net: &mut Net, cycles: usize, shuffled: bool) -> Result { + const Z: Id = 20; + net.create(0, &all())?; + let online: Vec = all().into_iter().filter(|m| *m != Z).collect(); + for cycle in 0..cycles { + net.turns(&online, Want::App, &online)?; + net.round(&[online[cycle % online.len()]], Want::Update, &online)?; + } + let mut missed: Vec<(Id, Msg)> = net + .log + .iter() + .filter(|(_, msg)| !net.seen.contains(&(Z, msg.id()))) + .cloned() + .collect(); + let missed_count = missed.len(); + if shuffled { + shuffle(&mut missed, 0x5eed); + } + for (_, msg) in &missed { + net.deliver(msg, &[Z])?; + } + let waiting_after_catch_up = net.probe(Z).1; + net.round(&[Z], Want::App, &all())?; + Ok(format!( + "caught up {missed_count} missed msgs (waiting at Z after catch-up: {}); {}", + waiting_after_catch_up.map_or("-".into(), |w| w.to_string()), + net.verdict(&all()) + )) +} + +/// (e) One round of posts, then member 5 publishes an update that member 7 never receives. Everyone +/// else keeps posting. Member 7 gets every later message, which names the lost update. +fn lost(net: &mut Net, rounds: usize) -> Result { + const M: Id = 5; + const Z: Id = 7; + net.create(0, &all())?; + net.turns(&all(), Want::App, &all())?; + let before_loss = net.labels.len(); + let without_z: Vec = all().into_iter().filter(|m| *m != Z).collect(); + net.round(&[M], Want::Update, &without_z)?; + for _ in 0..rounds { + net.turns(&all(), Want::App, &all())?; + } + let total = net.labels.iter().filter(|(author, _)| *author != Z).count(); + let read = net.read.get(&Z).map_or(0, BTreeSet::len); + Ok(format!( + "member 7 read {read} of {total} app msgs by others (the {before_loss} before the loss, then none); waiting at 7: {}", + net.probe(Z).1.map_or("-".into(), |w| w.to_string()) + )) +} + +// --- driver --------------------------------------------------------------------------------------- + +fn case(scenario: &str, kit: K, body: impl FnOnce(&mut Net) -> Result) { + case_opts(scenario, kit, Opts::default(), body); +} + +fn case_opts( + scenario: &str, + kit: K, + opts: Opts, + body: impl FnOnce(&mut Net) -> Result, +) { + let mut label = kit.name(); + if let Some(salt) = opts.reorder { + label.push_str(&format!(" +reorder{salt}")); + } + if opts.merger_only { + label.push_str(" +merger0"); + } + let started = std::time::Instant::now(); + let mut net = Net::new(kit, 1); + net.opts = opts; + // A panic inside the crate (for example an `expect` on a missing dependency) ends this case only. + let outcome = std::panic::catch_unwind(std::panic::AssertUnwindSafe(|| body(&mut net))) + .unwrap_or_else(|panic| { + let text = panic + .downcast_ref::() + .cloned() + .or_else(|| panic.downcast_ref::<&str>().map(|s| s.to_string())) + .unwrap_or_else(|| "non-string panic".into()); + Err(format!("PANIC: {text}")) + }); + let secs = started.elapsed().as_secs_f64(); + let events: Vec<&Sample> = net + .samples + .iter() + .filter(|s| s.kind != Kind::Create) + .collect(); + let count = |kind: Kind| events.iter().filter(|s| s.kind == kind).count(); + let named_max = events.iter().map(|s| s.named).max().unwrap_or(0); + let heads: Vec = events.iter().filter_map(|s| s.heads).collect(); + let fmt_opt = |v: Option| v.map_or("-".to_string(), |v| v.to_string()); + let would_max = if heads.is_empty() { None } else { heads.iter().max().copied() }; + let ge = heads.iter().filter(|h| **h >= DESIGN_CAP).count(); + let gt = heads.iter().filter(|h| **h > DESIGN_CAP).count(); + let verdict = match outcome { + Ok(verdict) => verdict, + Err(err) => format!("STOPPED: {err}"), + }; + let last_named = events.last().map_or(0, |s| s.named); + println!( + "{scenario:<26}| {label:<26}| {:>4} {:>4} {:>4} | {:>3} {:>3} {:>3} | {:>4} {:>4} | {:>3} {:>3} {:>3} | {secs:>6.1}s | {verdict}", + events.len(), + count(Kind::Update), + count(Kind::Merge), + named_max, + last_named, + fmt_opt(would_max), + ge, + gt, + fmt_opt(net.max_heads), + fmt_opt(net.max_waiting), + fmt_opt(net.longest_wait), + ); +} + +fn main() { + println!( + "{:<26}| {:<26}| {:>4} {:>4} {:>4} | {:>3} {:>3} {:>3} | {:>4} {:>4} | {:>3} {:>3} {:>3} | {:>7} | result", + "scenario", "orderer", "evts", "upd", "mrg", "nmd", "lst", "hds", ">=32", ">32", "vw", "pk", "lw", "time" + ); + let heads_all = |cap| HeadsKit { cap, track_app: true, backlink: false }; + + // The crate baseline, then the heads orderer uncapped (to measure the frontier), then the + // design's cap, then control-only heads (the S3 measure). + run_matrix(|| CrateKit); + run_matrix(|| heads_all(None)); + run_matrix(|| heads_all(Some(DESIGN_CAP))); + run_matrix(|| HeadsKit { cap: None, track_app: false, backlink: false }); + run_matrix(|| HeadsKit { cap: Some(DESIGN_CAP), track_app: false, backlink: false }); + + // The smallest cap that works: the concurrent scenarios at smaller caps. + for cap in [2, 4, 8, 16, 24, 40] { + case("b burst+turns, updates", heads_all(Some(cap)), |n| burst_then_turns(n, Want::Update)); + case("b2 storm x2", heads_all(Some(cap)), |n| storm(n, 2)); + case("c partition p=10 k=2", heads_all(Some(cap)), |n| partition(n, 10, 2)); + case("c partition p=20 k=2", heads_all(Some(cap)), |n| partition(n, 20, 2)); + } + + // Adversarial delivery: each member hears a round in its own order, for two orders per cap, + // without and with the backlink (own latest event always named first). + for salt in [1u64, 2] { + for cap in [Some(2), Some(4), Some(8), Some(16), Some(24), Some(DESIGN_CAP), Some(40), None] { + for backlink in [false, true] { + let opts = Opts { reorder: Some(salt), merger_only: false }; + let kit = || HeadsKit { cap, track_app: true, backlink }; + case_opts("b2 storm x3", kit(), opts, |n| storm(n, 3)); + case_opts("c partition p=2 k=3", kit(), opts, |n| partition(n, 2, 3)); + } + } + } + // Designated merger: only member 0 merges at the cap. In publication order, and reordered. + for opts in [ + Opts { reorder: None, merger_only: true }, + Opts { reorder: Some(1), merger_only: true }, + ] { + for cap in [Some(16), Some(DESIGN_CAP)] { + let kit = || HeadsKit { cap, track_app: true, backlink: false }; + case_opts("b2 storm x3", kit(), opts, |n| storm(n, 3)); + case_opts("c partition p=2 k=3", kit(), opts, |n| partition(n, 2, 3)); + case_opts("c partition p=20 k=3", kit(), opts, |n| partition(n, 20, 3)); + } + } +} + +/// The scenario set, run with one orderer. +fn run_matrix(make: impl Fn() -> K) { + case("a steady, app posts x2", make(), |n| steady(n, Want::App, 2)); + case("a steady, updates x2", make(), |n| steady(n, Want::Update, 2)); + case("b burst, updates", make(), |n| burst_then_turns(n, Want::Update)); + case("b burst, app posts", make(), |n| burst_then_turns(n, Want::App)); + case("b2 storm x3", make(), |n| storm(n, 3)); + for p in [2, 10, 20] { + case(&format!("c partition p={p} k=3"), make(), |n| partition(n, p, 3)); + } + case("d offline, 10 cycles", make(), |n| offline(n, 10, false)); + case("d offline, shuffled", make(), |n| offline(n, 10, true)); + case("e lost update", make(), |n| lost(n, 3)); +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/Cargo.lock b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/Cargo.lock new file mode 100644 index 0000000000..7a44f5966e --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/Cargo.lock @@ -0,0 +1,4323 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "aead" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0" +dependencies = [ + "crypto-common 0.1.7", + "generic-array", +] + +[[package]] +name = "aes" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" +dependencies = [ + "cfg-if", + "cipher", + "cpufeatures 0.2.17", +] + +[[package]] +name = "aes-gcm" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "831010a0f742e1209b3bcea8fab6a8e149051ba6099432c8cb2cc117dec3ead1" +dependencies = [ + "aead", + "aes", + "cipher", + "ctr", + "ghash", + "subtle", +] + +[[package]] +name = "aho-corasick" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba" +dependencies = [ + "memchr", +] + +[[package]] +name = "android_system_properties" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae221649c9976a6f6c56ae1facf410f3ddb33cc661c4b7b61020a912d4237fbc" +dependencies = [ + "libc", +] + +[[package]] +name = "anstream" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d" +dependencies = [ + "anstyle", + "anstyle-parse", + "anstyle-query", + "anstyle-wincon", + "colorchoice", + "is_terminal_polyfill", + "utf8parse", +] + +[[package]] +name = "anstyle" +version = "1.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000" + +[[package]] +name = "anstyle-parse" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "52ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e" +dependencies = [ + "utf8parse", +] + +[[package]] +name = "anstyle-query" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "anstyle-wincon" +version = "3.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" +dependencies = [ + "anstyle", + "once_cell_polyfill", + "windows-sys 0.61.2", +] + +[[package]] +name = "anyhow" +version = "1.0.104" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470" + +[[package]] +name = "arc-swap" +version = "1.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c049c0be4daef0b145cb3555416b3b8ef5b7888a38aea1a3a155801fe7b0810b" +dependencies = [ + "rustversion", +] + +[[package]] +name = "arrayvec" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56" + +[[package]] +name = "asn1-rs" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7f43a50ac4fdca5df8e885c21b835997f0a1cdee65494a6847694a98652d9d8" +dependencies = [ + "asn1-rs-derive", + "asn1-rs-impl", + "displaydoc", + "nom", + "num-traits", + "rusticata-macros", + "thiserror 2.0.21", + "time", +] + +[[package]] +name = "asn1-rs-derive" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3109e49b1e4909e9db6515a30c633684d68cdeaa252f215214cb4fa1a5bfee2c" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", + "synstructure 0.13.2", +] + +[[package]] +name = "asn1-rs-impl" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b18050c2cd6fe86c3a76584ef5e0baf286d038cda203eb6223df2cc413565f7" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "async-trait" +version = "0.1.92" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82f6aeea286b8eb4dd3431a1be1b59d290ace00f5bfd8e2a159bc2a05e2c1667" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "async_io_stream" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6d7b9decdf35d8908a7e3ef02f64c5e9b1695e230154c0e8de3969142d9b94c" +dependencies = [ + "futures", + "pharos", + "rustc_version", +] + +[[package]] +name = "atomic-waker" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" + +[[package]] +name = "attohttpc" +version = "0.30.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16e2cdb6d5ed835199484bb92bb8b3edd526effe995c61732580439c1a67e2e9" +dependencies = [ + "base64 0.22.1", + "http", + "log", + "url", +] + +[[package]] +name = "autocfg" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" + +[[package]] +name = "backon" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cffb0e931875b666fc4fcb20fee52e9bbd1ef836fd9e9e04ec21555f9f85f7ef" +dependencies = [ + "fastrand", + "gloo-timers", + "tokio", +] + +[[package]] +name = "base16ct" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd307490d624467aa6f74b0eabb77633d1f758a7b25f12bceb0b22e08d9726f6" + +[[package]] +name = "base64" +version = "0.22.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" + +[[package]] +name = "base64" +version = "0.23.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac07cdecf99051d9a5238b80f35af32cdeba5b336e55d957b318b50137e18da5" + +[[package]] +name = "base64ct" +version = "1.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2af50177e190e07a26ab74f8b1efbfe2ef87da2116221318cb1c2e82baf7de06" + +[[package]] +name = "bit-vec" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b71798fca2c1fe1086445a7258a4bc81e6e49dcd24c8d0dd9a1e57395b603f51" +dependencies = [ + "serde", +] + +[[package]] +name = "bitflags" +version = "2.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06" + +[[package]] +name = "blake3" +version = "1.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d9e454fc11f76977dc803893aff6304ed33d6a26efae8696573bea74baa27ae" +dependencies = [ + "arrayvec", + "cc", + "cfg-if", + "constant_time_eq", + "cpufeatures 0.3.1", +] + +[[package]] +name = "block-buffer" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2f6c7dbe95a6ed67ad9f18e57daf93a2f034c524b99fd2b76d18fdfeb6660aa" +dependencies = [ + "hybrid-array", +] + +[[package]] +name = "block2" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdeb9d870516001442e364c5220d3574d2da8dc765554b4a617230d33fa58ef5" +dependencies = [ + "objc2", +] + +[[package]] +name = "bumpalo" +version = "3.20.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649" + +[[package]] +name = "bytes" +version = "1.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04" + +[[package]] +name = "cc" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50a649af8a827553c29fb0cb4bd4a6f1a0dd695bd3232b9bc98bd9c8a3ffbb8b" +dependencies = [ + "find-msvc-tools", + "shlex", +] + +[[package]] +name = "cesu8" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c" + +[[package]] +name = "cfg-if" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600" + +[[package]] +name = "cfg_aliases" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527" + +[[package]] +name = "chacha20" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65c35e4b699c7e15ccbe7ee35c005e4fc0a278d22238a2857e6ce2dadeda1b06" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "rand_core", +] + +[[package]] +name = "chrono" +version = "0.4.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1aa79e62e7697b8e29b513a68abacf485adcd1fe8284a4316c5ae868e6633327" +dependencies = [ + "iana-time-zone", + "num-traits", + "serde", + "windows-link", +] + +[[package]] +name = "cipher" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" +dependencies = [ + "crypto-common 0.1.7", + "inout", +] + +[[package]] +name = "clap" +version = "4.6.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa8876b300ab35ba921adea3dfd70157a46249b33f95c9084ae5709785478946" +dependencies = [ + "clap_builder", + "clap_derive", +] + +[[package]] +name = "clap_builder" +version = "4.6.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0797fb7aeb1406c84efac526901f7ec3ead2124f946b494e72879d4b54704d" +dependencies = [ + "anstream", + "anstyle", + "clap_lex", + "strsim", +] + +[[package]] +name = "clap_derive" +version = "4.6.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9c751b79415d4e559e3d1fcf128e09e720eb673a06d26cf6f392d37d75b66e0" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "clap_lex" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c133bc6a41be0d194c306b5506d15e6feeea7b1d6604bd3f8310dfb2ca96486" + +[[package]] +name = "cmov" +version = "0.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c9ea0ac24bc397ab3c98583a3c9ba74fa56b09a4449bbe172b9b1ddb016027a" + +[[package]] +name = "cobs" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fa961b519f0b462e3a3b4a34b64d119eeaca1d59af726fe450bbba07a9fc0a1" +dependencies = [ + "thiserror 2.0.21", +] + +[[package]] +name = "colorchoice" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570" + +[[package]] +name = "combine" +version = "4.6.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfc320937d09e6de266b31b9afb480f197d7a861be86be7cb2ea7e5d1bfffc5e" +dependencies = [ + "bytes", + "memchr", +] + +[[package]] +name = "const-oid" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6ef517f0926dd24a1582492c791b6a4818a4d94e789a334894aa15b0d12f55c" + +[[package]] +name = "constant_time_eq" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d52eff69cd5e647efe296129160853a42795992097e8af39800e1060caeea9b" + +[[package]] +name = "convert_case" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "633458d4ef8c78b72454de2d54fd6ab2e60f9e02be22f3c6104cdc8a4e0fceb9" +dependencies = [ + "unicode-segmentation", +] + +[[package]] +name = "cordyceps" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b9ab7e0ca1d179628fa0172b2b97203c7fa0cd81be2448bd446fb9559ca9261" +dependencies = [ + "loom", + "tracing", +] + +[[package]] +name = "core-foundation" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "core-foundation-sys" +version = "0.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" + +[[package]] +name = "cpufeatures" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" +dependencies = [ + "libc", +] + +[[package]] +name = "cpufeatures" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ca28b0ae3115b884660db4118d803791fd6756b6e88f39c0f3f7859060d7566" +dependencies = [ + "libc", +] + +[[package]] +name = "crossbeam-utils" +version = "0.8.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a31eee39dddec8330830986fcd7625edb5a24ec90ea038215273bbc3adb08ac6" + +[[package]] +name = "crypto-common" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" +dependencies = [ + "generic-array", + "typenum", +] + +[[package]] +name = "crypto-common" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453" +dependencies = [ + "hybrid-array", + "rand_core", +] + +[[package]] +name = "ctr" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835" +dependencies = [ + "cipher", +] + +[[package]] +name = "ctutils" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03bb0e1cc970d482d121d9a1744999169b69a07470b3d644a7894e53fcaf4574" +dependencies = [ + "cmov", +] + +[[package]] +name = "curve25519-dalek" +version = "5.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5eed333089e2e1c1ac8c6c0398e5e2497b4c9926ca6d0365ed1e099afa5bc23" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "curve25519-dalek-derive", + "digest", + "fiat-crypto", + "rand_core", + "rustc_version", + "serde", + "subtle", + "zeroize", +] + +[[package]] +name = "curve25519-dalek-derive" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "dashmap" +version = "6.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6361d5c062261c78a176addb82d4c821ae42bed6089de0e12603cd25de2059c" +dependencies = [ + "cfg-if", + "crossbeam-utils", + "hashbrown 0.14.5", + "lock_api", + "once_cell", + "parking_lot_core", +] + +[[package]] +name = "data-encoding" +version = "2.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4583a4551df46e2792f82ceeac45e850d2e2d5debba0b91f102385cda5b11f06" + +[[package]] +name = "data-encoding-macro" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6a127ecbb3c4632e1525380e04c0c3fcf8dcb44d32a79ea290d8a36906edcd8" +dependencies = [ + "data-encoding", + "data-encoding-macro-internal", +] + +[[package]] +name = "data-encoding-macro-internal" +version = "0.1.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c54e03a951783e8b327515db3f2a2fd0e3bed362a96b066f341ce66ed49b4ead" +dependencies = [ + "data-encoding", + "syn 3.0.7", +] + +[[package]] +name = "der" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a878c850e9e421b20262e9b41f9c860e4785fa07541c266b62ff9d1ef998a80a" +dependencies = [ + "const-oid", + "pem-rfc7468", + "zeroize", +] + +[[package]] +name = "der-parser" +version = "10.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "07da5016415d5a3c4dd39b11ed26f915f52fc4e0dc197d87908bc916e51bc1a6" +dependencies = [ + "asn1-rs", + "displaydoc", + "nom", + "num-bigint", + "num-traits", + "rusticata-macros", +] + +[[package]] +name = "deranged" +version = "0.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c" + +[[package]] +name = "derive_more" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d751e9e49156b02b44f9c1815bcb94b984cdcc4396ecc32521c739452808b134" +dependencies = [ + "derive_more-impl", +] + +[[package]] +name = "derive_more-impl" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "799a97264921d8623a957f6c3b9011f3b5492f557bbb7a5a19b7fa6d06ba8dcb" +dependencies = [ + "convert_case", + "proc-macro2", + "quote", + "rustc_version", + "syn 2.0.119", + "unicode-xid", +] + +[[package]] +name = "diatomic-waker" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab03c107fafeb3ee9f5925686dbb7a73bc76e3932abb0d2b365cb64b169cf04c" + +[[package]] +name = "digest" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2" +dependencies = [ + "block-buffer", + "const-oid", + "crypto-common 0.2.2", +] + +[[package]] +name = "dispatch2" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e0e367e4e7da84520dedcac1901e4da967309406d1e51017ae1abfb97adbd38" +dependencies = [ + "bitflags", + "block2", + "libc", + "objc2", +] + +[[package]] +name = "displaydoc" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "dlopen2" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e2c5bd4158e66d1e215c49b837e11d62f3267b30c92f1d171c4d3105e3dc4d4" +dependencies = [ + "libc", + "once_cell", + "winapi", +] + +[[package]] +name = "ed25519" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29fcf32e6c73d1079f83ab4d782de2d81620346a5f38c6237a86a22f8368980a" +dependencies = [ + "pkcs8", + "serdect", + "signature", +] + +[[package]] +name = "ed25519-dalek" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ebaa1a2bf1290ab3bfe5a7b771d050ebffab2711c19a81691c683a5144a25de" +dependencies = [ + "curve25519-dalek", + "ed25519", + "rand_core", + "serde", + "sha2", + "signature", + "subtle", + "zeroize", +] + +[[package]] +name = "embedded-io" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef1a6892d9eef45c8fa6b9e0086428a2cca8491aca8f787c534a3d6d0bcb3ced" + +[[package]] +name = "embedded-io" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "edd0f118536f44f5ccd48bcb8b111bdc3de888b58c74639dfb034a357d0f206d" + +[[package]] +name = "enum-assoc" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0590c4a94da3372e83493b956755a6e2266830b6e4e3b101afe66e3f39477b91" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "equivalent" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" + +[[package]] +name = "errno" +version = "0.3.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" +dependencies = [ + "libc", + "windows-sys 0.61.2", +] + +[[package]] +name = "fastrand" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223" + +[[package]] +name = "fiat-crypto" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64cd1e32ddd350061ae6edb1b082d7c54915b5c672c389143b9a63403a109f24" + +[[package]] +name = "find-msvc-tools" +version = "0.1.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aedcfb3409746eddb02b9e19ebda1c3394f759a152e48ee875a0844d1b955484" + +[[package]] +name = "fnv" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" + +[[package]] +name = "foldhash" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" + +[[package]] +name = "form_urlencoded" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" +dependencies = [ + "percent-encoding", +] + +[[package]] +name = "futures" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a31d2a3fbaaeb2af2368bbdd904aa8e812d3c04a1ee10d3171f52d556e5d0a3" +dependencies = [ + "futures-channel", + "futures-core", + "futures-executor", + "futures-io", + "futures-sink", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-buffered" +version = "0.2.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4421cb78ee172b6b06080093479d3c50f058e7c81b7d577bbb8d118d551d4cd5" +dependencies = [ + "cordyceps", + "diatomic-waker", + "futures-core", + "pin-project-lite", + "spin", +] + +[[package]] +name = "futures-channel" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1f9e3d69d39e4862ffed03ed071a76f9a13ba1d9109d355b0f0aa6b15e393c4" +dependencies = [ + "futures-core", + "futures-sink", +] + +[[package]] +name = "futures-core" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e" + +[[package]] +name = "futures-executor" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "031b47cf1a3c6cc8bc2fc76cd437f521619387907d469316e7c0bc278f1f5432" +dependencies = [ + "futures-core", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-io" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53c0fa8157de1303bfffdaa1cc2a673bfffb60102f76b0ef4441659124373fed" + +[[package]] +name = "futures-lite" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f78e10609fe0e0b3f4157ffab1876319b5b0db102a2c60dc4626306dc46b44ad" +dependencies = [ + "fastrand", + "futures-core", + "futures-io", + "parking", + "pin-project-lite", +] + +[[package]] +name = "futures-macro" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fb9654ba8355388abeb8dcb4fc62f511300867002afc858860463bdd9fe0c44" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "futures-sink" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1944426bf7d03f1d14f708785e4b33efd750b36d48a157b836b3efc15ede8e1d" + +[[package]] +name = "futures-task" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd" + +[[package]] +name = "futures-util" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc" +dependencies = [ + "futures-channel", + "futures-core", + "futures-io", + "futures-macro", + "futures-sink", + "futures-task", + "memchr", + "pin-project-lite", + "slab", +] + +[[package]] +name = "generator" +version = "0.8.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "54ade96dc9003043bce7c035c85a9df5a858bfb2039c5a2e6fdf00f324f6c551" +dependencies = [ + "cc", + "cfg-if", + "libc", + "log", + "rustversion", + "windows-link", + "windows-result", +] + +[[package]] +name = "generic-array" +version = "0.14.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +dependencies = [ + "typenum", + "version_check", +] + +[[package]] +name = "getrandom" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0" +dependencies = [ + "cfg-if", + "js-sys", + "libc", + "wasi", + "wasm-bindgen", +] + +[[package]] +name = "getrandom" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" +dependencies = [ + "cfg-if", + "js-sys", + "libc", + "r-efi", + "rand_core", + "wasm-bindgen", +] + +[[package]] +name = "ghash" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0d8a4362ccb29cb0b265253fb0a2728f592895ee6854fd9bc13f2ffda266ff1" +dependencies = [ + "opaque-debug", + "polyval", +] + +[[package]] +name = "gloo-timers" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbb143cf96099802033e0d4f4963b19fd2e0b728bcf076cd9cf7f6634f092994" +dependencies = [ + "futures-channel", + "futures-core", + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "h2" +version = "0.4.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d29020232d6aa3fb1daca64c1127cf662cf97f254ae16c18c05b8ab635fc118" +dependencies = [ + "atomic-waker", + "bytes", + "fnv", + "futures-core", + "futures-sink", + "http", + "indexmap", + "slab", + "tokio", + "tokio-util", + "tracing", +] + +[[package]] +name = "hashbrown" +version = "0.14.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" + +[[package]] +name = "hashbrown" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" +dependencies = [ + "foldhash", +] + +[[package]] +name = "heck" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" + +[[package]] +name = "http" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "918d3568bebf352712bc2ef3d46a8bcf1a75b373be6539de198e9105cbbf9ce0" +dependencies = [ + "bytes", + "itoa", +] + +[[package]] +name = "http-body" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca2a8f2913ee65f60facd6a5905613afaa448497a0230cc41ce022d93290bc2c" +dependencies = [ + "bytes", + "http", +] + +[[package]] +name = "http-body-util" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23169fe34a5fbcdd3f3862e78fb9b6fccd5f02a6dc6f732547005d45631ce71c" +dependencies = [ + "bytes", + "futures-core", + "http", + "http-body", + "pin-project-lite", +] + +[[package]] +name = "httparse" +version = "1.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" + +[[package]] +name = "httpdate" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" + +[[package]] +name = "hybrid-array" +version = "0.4.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27f864f10dfb56725ce5ce5472bc52252c8f93a4ab86327122cebf62c5f59a17" +dependencies = [ + "typenum", +] + +[[package]] +name = "hyper" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c3e324da4c95177d6291d4c8730197c0d1822f8a9766814a4a44fa5ab797c9c" +dependencies = [ + "atomic-waker", + "bytes", + "futures-channel", + "futures-core", + "h2", + "http", + "http-body", + "httparse", + "httpdate", + "itoa", + "pin-project-lite", + "smallvec", + "tokio", + "want", +] + +[[package]] +name = "hyper-rustls" +version = "0.27.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfa8e654703247911e29c23fbeaa261834bd9bb74efba2f9acddc37bfb127f53" +dependencies = [ + "http", + "hyper", + "hyper-util", + "rustls", + "tokio", + "tokio-rustls", + "tower-service", +] + +[[package]] +name = "hyper-util" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddc03d96684f9226b8a787cdb71488417b53ab5ea8fdb1dac946cb9431cc8bff" +dependencies = [ + "base64 0.23.1", + "bytes", + "futures-channel", + "futures-util", + "http", + "http-body", + "httparse", + "hyper", + "ipnet", + "libc", + "percent-encoding", + "pin-project-lite", + "socket2", + "tokio", + "tower-service", + "tracing", +] + +[[package]] +name = "iana-time-zone" +version = "0.1.65" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e31bc9ad994ba00e440a8aa5c9ef0ec67d5cb5e5cb0cc7f8b744a35b389cc470" +dependencies = [ + "android_system_properties", + "core-foundation-sys", + "iana-time-zone-haiku", + "js-sys", + "log", + "wasm-bindgen", + "windows-core", +] + +[[package]] +name = "iana-time-zone-haiku" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" +dependencies = [ + "cc", +] + +[[package]] +name = "icu_collections" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa68d21081c4a05d5a901a1c62add574c77048b6a1c67be3b50ce0b60d4ca513" +dependencies = [ + "displaydoc", + "potential_utf", + "utf8_iter", + "yoke", + "zerofrom", + "zerovec", +] + +[[package]] +name = "icu_locale_core" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d56e28588da92eee5c3201a6eff33fabdd49b62269c8938d4ff050ce4d900deb" +dependencies = [ + "displaydoc", + "litemap", + "tinystr", + "writeable", + "zerovec", +] + +[[package]] +name = "icu_normalizer" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12f9cf5f235641ed274641dd81c3f28d870e276763d0797aeeab72317b1c646f" +dependencies = [ + "icu_collections", + "icu_normalizer_data", + "icu_properties", + "icu_provider", + "smallvec", + "zerovec", +] + +[[package]] +name = "icu_normalizer_data" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1563da1ed3e0b3bf3d74c9b85917ac9c56464d2f57242270c09c9e752f8021a0" + +[[package]] +name = "icu_properties" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e7ca276ad3145661a65914e6daf131ca5120cd3dcee8f8f3214b8875184a148" +dependencies = [ + "displaydoc", + "icu_collections", + "icu_locale_core", + "icu_properties_data", + "icu_provider", + "zerotrie", + "zerovec", +] + +[[package]] +name = "icu_properties_data" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e590f038c1464a96894fd6d10127e90a8be4509f56ff7ecef851b15cee0b7caa" + +[[package]] +name = "icu_provider" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d27bbb9d3abbefac45d55f647c9de1d44aafcd1186eb91879afef17c396c3e73" +dependencies = [ + "displaydoc", + "icu_locale_core", + "writeable", + "yoke", + "zerofrom", + "zerotrie", + "zerovec", +] + +[[package]] +name = "identity-hash" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfdd7caa900436d8f13b2346fe10257e0c05c1f1f9e351f4f5d57c03bd5f45da" + +[[package]] +name = "idna" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" +dependencies = [ + "idna_adapter", + "smallvec", + "utf8_iter", +] + +[[package]] +name = "idna_adapter" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714" +dependencies = [ + "icu_normalizer", + "icu_properties", +] + +[[package]] +name = "igd-next" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de7238d487a9aff61f81b5ab41c0a841532a115a398b5fa92a2fadd0885e2581" +dependencies = [ + "attohttpc", + "bytes", + "futures", + "http", + "http-body-util", + "hyper", + "hyper-util", + "log", + "rand", + "tokio", + "url", + "xmltree", +] + +[[package]] +name = "indexmap" +version = "2.14.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855" +dependencies = [ + "equivalent", + "hashbrown 0.17.1", +] + +[[package]] +name = "inout" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01" +dependencies = [ + "generic-array", +] + +[[package]] +name = "ipconfig" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4d40460c0ce33d6ce4b0630ad68ff63d6661961c48b6dba35e5a4d81cfb48222" +dependencies = [ + "socket2", + "widestring", + "windows-registry", + "windows-result", + "windows-sys 0.61.2", +] + +[[package]] +name = "ipnet" +version = "2.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "791930b43c0d5973160d90a8f3894509f2b273430f5c5c73b668636d0287c5c0" + +[[package]] +name = "iroh" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "885787b892b5e2507c701f132ecbd45d2bad4bbb75157a19427087c16dadb833" +dependencies = [ + "backon", + "blake3", + "bytes", + "cfg_aliases", + "ctutils", + "data-encoding", + "derive_more", + "ed25519-dalek", + "futures-util", + "getrandom 0.4.3", + "http", + "ipnet", + "iroh-base", + "iroh-dns", + "iroh-metrics", + "iroh-relay", + "n0-error", + "n0-future", + "n0-watcher", + "netwatch", + "noq", + "noq-proto", + "noq-udp", + "papaya", + "pin-project", + "portable-atomic", + "portmapper", + "rand", + "reqwest", + "rustc-hash", + "rustls", + "rustls-pki-types", + "serde", + "smallvec", + "strum", + "time", + "tokio", + "tokio-stream", + "tokio-util", + "tracing", + "url", + "wasm-bindgen-futures", +] + +[[package]] +name = "iroh-base" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ae9092be76c9f5429776ab3394f5a5a78dc19dc2524267e884a5b9781546c3f" +dependencies = [ + "curve25519-dalek", + "data-encoding", + "data-encoding-macro", + "derive_more", + "ed25519-dalek", + "getrandom 0.4.3", + "n0-error", + "rand", + "serde", + "url", + "zeroize", +] + +[[package]] +name = "iroh-dns" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80276761b56e904e26ea71d0863beef0bb8d5ab6b639cbd1338e4b615209e3a1" +dependencies = [ + "arc-swap", + "cfg_aliases", + "derive_more", + "iroh-base", + "n0-dns-resolver", + "n0-error", + "n0-future", + "portable-atomic", + "rand", + "rustls", + "simple-dns", + "strum", + "tokio", + "tracing", + "url", +] + +[[package]] +name = "iroh-metrics" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ede55536349842337f7cdc63012ec33dc637945f3259c98a0763aac364cdf09" +dependencies = [ + "http-body-util", + "hyper", + "hyper-util", + "iroh-metrics-derive", + "itoa", + "n0-error", + "portable-atomic", + "reqwest", + "rustls", + "rustls-platform-verifier", + "ryu", + "serde", + "tokio", + "tokio-util", + "tracing", +] + +[[package]] +name = "iroh-metrics-derive" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ae5f0c4405d1fbc9fb16ff422ca40620e93dc36c30ecaba0c2aee3992b7bd48" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "iroh-relay" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee116a8233f84980574bb8d11e4517503080cd2c3605bafca04ee9c35d708bd9" +dependencies = [ + "blake3", + "bytes", + "cfg_aliases", + "clap", + "dashmap", + "data-encoding", + "derive_more", + "getrandom 0.4.3", + "http", + "http-body-util", + "hyper", + "hyper-util", + "iroh-base", + "iroh-dns", + "iroh-metrics", + "lru", + "n0-error", + "n0-future", + "noq", + "noq-proto", + "num_enum", + "pin-project", + "postcard", + "rand", + "rcgen", + "reloadable-state", + "reqwest", + "rustls", + "rustls-cert-file-reader", + "rustls-cert-reloadable-resolver", + "rustls-pki-types", + "serde", + "serde_bytes", + "serde_json", + "sha1", + "simdutf8", + "strum", + "time", + "tokio", + "tokio-rustls", + "tokio-rustls-acme", + "tokio-util", + "tokio-websockets", + "toml", + "tracing", + "tracing-subscriber", + "url", + "webpki-roots", + "ws_stream_wasm", +] + +[[package]] +name = "is_terminal_polyfill" +version = "1.70.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" + +[[package]] +name = "itoa" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" + +[[package]] +name = "jni" +version = "0.21.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97" +dependencies = [ + "cesu8", + "cfg-if", + "combine", + "jni-sys 0.3.1", + "log", + "thiserror 1.0.69", + "walkdir", + "windows-sys 0.45.0", +] + +[[package]] +name = "jni" +version = "0.22.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5efd9a482cf3a427f00d6b35f14332adc7902ce91efb778580e180ff90fa3498" +dependencies = [ + "cfg-if", + "combine", + "jni-macros", + "jni-sys 0.4.1", + "log", + "simd_cesu8", + "thiserror 2.0.21", + "walkdir", + "windows-link", +] + +[[package]] +name = "jni-macros" +version = "0.22.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a00109accc170f0bdb141fed3e393c565b6f5e072365c3bd58f5b062591560a3" +dependencies = [ + "proc-macro2", + "quote", + "rustc_version", + "simd_cesu8", + "syn 2.0.119", +] + +[[package]] +name = "jni-sys" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41a652e1f9b6e0275df1f15b32661cf0d4b78d4d87ddec5e0c3c20f097433258" +dependencies = [ + "jni-sys 0.4.1", +] + +[[package]] +name = "jni-sys" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6377a88cb3910bee9b0fa88d4f42e1d2da8e79915598f65fb0c7ee14c878af2" +dependencies = [ + "jni-sys-macros", +] + +[[package]] +name = "jni-sys-macros" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38c0b942f458fe50cdac086d2f946512305e5631e720728f2a61aabcd47a6264" +dependencies = [ + "quote", + "syn 2.0.119", +] + +[[package]] +name = "js-sys" +version = "0.3.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7883d941dae510fb2d978fc3fe018c71c9e2892fd38854de3e8b92c2e5ad9cc5" +dependencies = [ + "cfg-if", + "futures-util", + "wasm-bindgen", +] + +[[package]] +name = "lazy_static" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20870f649af7073d53e38067b2a84312175d56ea15217e1b15bc83506ec50afb" + +[[package]] +name = "libc" +version = "0.2.190" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78" + +[[package]] +name = "litemap" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47d9d19d1d6efa0109d2f65ff4c85cddd50bd572e5a00127ab10987290bcefae" + +[[package]] +name = "lock_api" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" +dependencies = [ + "scopeguard", +] + +[[package]] +name = "log" +version = "0.4.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6" + +[[package]] +name = "loom" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "419e0dc8046cb947daa77eb95ae174acfbddb7673b4151f56d1eed8e93fbfaca" +dependencies = [ + "cfg-if", + "generator", + "scoped-tls", + "tracing", + "tracing-subscriber", +] + +[[package]] +name = "lru" +version = "0.18.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef9ac18847474e638e3702b76c65d4eb93428471a74778ef0f1be711717f89b5" +dependencies = [ + "hashbrown 0.17.1", +] + +[[package]] +name = "lru-slab" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4050469837a6ff301cd14c1f8f24f88549e6d548f24f64e2148eb0f72cebc51f" + +[[package]] +name = "mac-addr" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3d25b0e0b648a86960ac23b7ad4abb9717601dec6f66c165f5b037f3f03065f" + +[[package]] +name = "matchers" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1525a2a28c7f4fa0fc98bb91ae755d1e2d1505079e05539e35bc876b5d65ae9" +dependencies = [ + "regex-automata", +] + +[[package]] +name = "memchr" +version = "2.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" + +[[package]] +name = "minimal-lexical" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" + +[[package]] +name = "mio" +version = "1.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1788edb87fdc09c7e26304471e2f5be8cdefb1b6930d6e3985fc02ff53bf86ee" +dependencies = [ + "libc", + "wasi", + "windows-sys 0.61.2", +] + +[[package]] +name = "n0-dns-resolver" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "535c99c9a786bee714155d2ee4fc2477405c2c43536e1bc6a51de09a0d1448f7" +dependencies = [ + "derive_more", + "ipconfig", + "jni 0.22.4", + "lru", + "n0-error", + "n0-future", + "ndk-context", + "rand", + "reqwest", + "rustc-hash", + "rustls", + "simple-dns", + "system-configuration", + "tokio", + "tokio-rustls", + "tracing", + "webpki-roots", +] + +[[package]] +name = "n0-error" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26c59ea174675ce6bc196878851e5049e11b8b1f9af3ba87e4d6df8d828bb001" +dependencies = [ + "n0-error-macros", + "spez", +] + +[[package]] +name = "n0-error-macros" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4412346410d6616f3668c40e53c298e5320c7b856f7a960e5914e442601be79f" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "n0-future" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2ab99dfb861450e68853d34ae665243a88b8c493d01ba957321a1e9b2312bbe" +dependencies = [ + "cfg_aliases", + "derive_more", + "futures-buffered", + "futures-lite", + "futures-util", + "js-sys", + "pin-project", + "send_wrapper", + "tokio", + "tokio-util", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-time", +] + +[[package]] +name = "n0-watcher" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbc618745ad0b7414b149d0517ad8b5573b2fb4d4e2717add3d2446ce1fdd826" +dependencies = [ + "derive_more", + "n0-error", + "n0-future", +] + +[[package]] +name = "ndk-context" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27b02d87554356db9e9a873add8782d4ea6e3e58ea071a9adb9a2e8ddb884a8b" + +[[package]] +name = "netdev" +version = "0.45.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "096c44b66a9b09b99b4dd36b1c295ff3a492039ccecaf55466bd6ddcdba59968" +dependencies = [ + "block2", + "dispatch2", + "dlopen2", + "ipnet", + "jni 0.21.1", + "libc", + "mac-addr", + "ndk-context", + "netlink-packet-core 0.8.2", + "netlink-packet-route 0.31.0", + "netlink-sys 0.8.8", + "objc2", + "objc2-core-foundation", + "objc2-core-wlan", + "objc2-foundation", + "objc2-system-configuration", + "once_cell", + "plist", + "windows-sys 0.61.2", +] + +[[package]] +name = "netdev" +version = "0.46.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3c52c2584961c68f5a6e3356797344061f818c93b8acc9cd6d7e284795e563e" +dependencies = [ + "block2", + "dispatch2", + "dlopen2", + "ipnet", + "jni 0.21.1", + "libc", + "mac-addr", + "ndk-context", + "netlink-packet-core 0.9.0", + "netlink-packet-route 0.33.0", + "netlink-sys 0.9.0", + "objc2-core-foundation", + "objc2-system-configuration", + "once_cell", + "plist", + "windows-sys 0.61.2", +] + +[[package]] +name = "netlink-packet-core" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b897d7bd4f0af82e68d40d0344cf37e97f9c97ddf74a098de3e4da05e96ca395" +dependencies = [ + "paste", +] + +[[package]] +name = "netlink-packet-core" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d6e2daf9a8c2e21302714706860a0e6be02e03d17294ecc66b354ea7d4059dd" + +[[package]] +name = "netlink-packet-route" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2288fcb784eb3defd5fb16f4c4160d5f477de192eac730f43e1d11c24d9a007" +dependencies = [ + "bitflags", + "libc", + "log", + "netlink-packet-core 0.8.2", +] + +[[package]] +name = "netlink-packet-route" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59d48ffc8b73a506e1ff0878528c72668f2bfbc3d875b6be890a96be5d0d5576" +dependencies = [ + "bitflags", + "libc", + "log", + "netlink-packet-core 0.9.0", + "zerocopy", +] + +[[package]] +name = "netlink-proto" +version = "0.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93af8261786086024cd5e96e0a991dd65ced07bbf7c233a487bbc96b971d5539" +dependencies = [ + "bytes", + "futures-channel", + "futures-util", + "log", + "netlink-packet-core 0.8.2", + "netlink-sys 0.8.8", + "thiserror 2.0.21", +] + +[[package]] +name = "netlink-sys" +version = "0.8.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd6c30ed10fa69cc491d491b85cc971f6bdeb8e7367b7cde2ee6cc878d583fae" +dependencies = [ + "bytes", + "futures-util", + "libc", + "log", + "tokio", +] + +[[package]] +name = "netlink-sys" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c99d38e00b420df49e940fe0826e667c3dad82ac68eb4c2bbf754c1c14a83a10" +dependencies = [ + "bytes", + "libc", + "log", +] + +[[package]] +name = "netwatch" +version = "0.19.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39da9cad5f23aa43401f09497d3b280e51b5feba115d9ffbf38ca35d6ff95e96" +dependencies = [ + "atomic-waker", + "bytes", + "cfg_aliases", + "derive_more", + "ipnet", + "js-sys", + "libc", + "n0-error", + "n0-future", + "n0-watcher", + "netdev 0.45.1", + "netdev 0.46.3", + "netlink-packet-core 0.8.2", + "netlink-packet-route 0.31.0", + "netlink-proto", + "netlink-sys 0.8.8", + "noq-udp", + "objc2-core-foundation", + "objc2-system-configuration", + "pin-project-lite", + "serde", + "socket2", + "time", + "tokio", + "tokio-util", + "tracing", + "web-sys", + "windows", + "windows-result", + "wmi", +] + +[[package]] +name = "nom" +version = "7.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" +dependencies = [ + "memchr", + "minimal-lexical", +] + +[[package]] +name = "noq" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b78be567e796cfa74bb9bdc4117790af2d505eb887019cf8803244353eb09d89" +dependencies = [ + "bytes", + "cfg_aliases", + "derive_more", + "noq-proto", + "noq-udp", + "pin-project-lite", + "rustc-hash", + "rustls", + "socket2", + "thiserror 2.0.21", + "tokio", + "tokio-stream", + "tracing", + "web-time", +] + +[[package]] +name = "noq-proto" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c1e5b6fe668491eca022f745a0a9402585626c73a7b839b3424ace15d6a9c8f" +dependencies = [ + "aes-gcm", + "bytes", + "derive_more", + "enum-assoc", + "getrandom 0.4.3", + "identity-hash", + "lru-slab", + "rand", + "rand_pcg", + "ring", + "rustc-hash", + "rustls", + "rustls-pki-types", + "rustls-platform-verifier", + "slab", + "sorted-index-buffer", + "thiserror 2.0.21", + "tinyvec", + "tracing", + "web-time", +] + +[[package]] +name = "noq-udp" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4dc50afea61aff926e150a36c31f06094608848e114a3fe667d76ec233163b1c" +dependencies = [ + "cfg_aliases", + "libc", + "socket2", + "tracing", + "windows-sys 0.61.2", +] + +[[package]] +name = "nu-ansi-term" +version = "0.50.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "num-bigint" +version = "0.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c89e69e7e0f03bea5ef08013795c25018e101932225a656383bd384495ecc367" +dependencies = [ + "num-integer", + "num-traits", +] + +[[package]] +name = "num-conv" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "521739c6d2bac4aa25192232afe6841231376b2b26d4d9fae5ecf8ca5772e441" + +[[package]] +name = "num-integer" +version = "0.1.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ce2d95d4b3734dc35aa2f45e1aa22cd416814592a4f9d9205e11affd5b8e10b" +dependencies = [ + "num-traits", +] + +[[package]] +name = "num-traits" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +dependencies = [ + "autocfg", +] + +[[package]] +name = "num_enum" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d0bca838442ec211fa11de3a8b0e0e8f3a4522575b5c4c06ed722e005036f26" +dependencies = [ + "num_enum_derive", + "rustversion", +] + +[[package]] +name = "num_enum_derive" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "680998035259dcfcafe653688bf2aa6d3e2dc05e98be6ab46afb089dc84f1df8" +dependencies = [ + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "objc2" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08849bbd4767dfae9457696856ae1c84fe4e0281bbe4a7abff2d0e06fb7981f8" +dependencies = [ + "objc2-encode", +] + +[[package]] +name = "objc2-core-foundation" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a180dd8642fa45cdb7dd721cd4c11b1cadd4929ce112ebd8b9f5803cc79d536" +dependencies = [ + "bitflags", + "block2", + "dispatch2", + "libc", + "objc2", +] + +[[package]] +name = "objc2-core-wlan" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c71e34919aba0d701380d911702455038a8a3587467fe0141d6a71501e7ffe48" +dependencies = [ + "bitflags", + "objc2", + "objc2-core-foundation", + "objc2-foundation", + "objc2-security", + "objc2-security-foundation", +] + +[[package]] +name = "objc2-encode" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef25abbcd74fb2609453eb695bd2f860d389e457f67dc17cafc8b8cbc89d0c33" + +[[package]] +name = "objc2-foundation" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3e0adef53c21f888deb4fa59fc59f7eb17404926ee8a6f59f5df0fd7f9f3272" +dependencies = [ + "bitflags", + "block2", + "libc", + "objc2", + "objc2-core-foundation", +] + +[[package]] +name = "objc2-security" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "709fe137109bd1e8b5a99390f77a7d8b2961dafc1a1c5db8f2e60329ad6d895a" +dependencies = [ + "bitflags", + "objc2", + "objc2-core-foundation", +] + +[[package]] +name = "objc2-security-foundation" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef76382e9cedd18123099f17638715cc3d81dba3637d4c0d39ab69df2ef345a5" +dependencies = [ + "objc2", + "objc2-foundation", +] + +[[package]] +name = "objc2-system-configuration" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7216bd11cbda54ccabcab84d523dc93b858ec75ecfb3a7d89513fa22464da396" +dependencies = [ + "bitflags", + "dispatch2", + "libc", + "objc2", + "objc2-core-foundation", + "objc2-security", +] + +[[package]] +name = "oid-registry" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12f40cff3dde1b6087cc5d5f5d4d65712f34016a03ed60e9c08dcc392736b5b7" +dependencies = [ + "asn1-rs", +] + +[[package]] +name = "once_cell" +version = "1.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" + +[[package]] +name = "once_cell_polyfill" +version = "1.70.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" + +[[package]] +name = "opaque-debug" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" + +[[package]] +name = "openssl-probe" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c87def4c32ab89d880effc9e097653c8da5d6ef28e6b539d313baaacfbafcbe" + +[[package]] +name = "papaya" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da2442474a9404698c42509b8967f437249dbc7b50493e83020333d3943ec0ae" +dependencies = [ + "equivalent", + "seize", +] + +[[package]] +name = "parking" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba" + +[[package]] +name = "parking_lot" +version = "0.12.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" +dependencies = [ + "lock_api", + "parking_lot_core", +] + +[[package]] +name = "parking_lot_core" +version = "0.9.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" +dependencies = [ + "cfg-if", + "libc", + "redox_syscall", + "smallvec", + "windows-link", +] + +[[package]] +name = "paste" +version = "1.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" + +[[package]] +name = "pem" +version = "3.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d30c53c26bc5b31a98cd02d20f25a7c8567146caf63ed593a9d87b2775291be" +dependencies = [ + "base64 0.22.1", + "serde_core", +] + +[[package]] +name = "pem" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d354a98a3d1251555de99e8fdd8afda05573c31b82f59063a7b0a29b5527f120" +dependencies = [ + "base64 0.23.1", + "serde_core", +] + +[[package]] +name = "pem-rfc7468" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6305423e0e7738146434843d1694d621cce767262b2a86910beab705e4493d9" +dependencies = [ + "base64ct", +] + +[[package]] +name = "percent-encoding" +version = "2.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" + +[[package]] +name = "pharos" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9567389417feee6ce15dd6527a8a1ecac205ef62c2932bcf3d9f6fc5b78b414" +dependencies = [ + "futures", + "rustc_version", +] + +[[package]] +name = "pin-project" +version = "1.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2466b2336ed02bcdca6b294417127b90ec92038d1d5c4fbeac971a922e0e0924" +dependencies = [ + "pin-project-internal", +] + +[[package]] +name = "pin-project-internal" +version = "1.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c96395f0a926bc13b1c17622aaddda1ecb55d49c8f1bf9777e4d877800a43f8b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "pin-project-lite" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" + +[[package]] +name = "pkcs8" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "451913da69c775a56034ea8d9003d27ee8948e12443eae7c038ba100a4f21cb7" +dependencies = [ + "der", + "spki", +] + +[[package]] +name = "plist" +version = "1.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2896bade328c13f7042a297ea5ac5b0951f6cf989dea5f32c2fd98da398195cb" +dependencies = [ + "base64 0.23.1", + "indexmap", + "quick-xml", + "serde", + "time", +] + +[[package]] +name = "polyval" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d1fe60d06143b2430aa532c94cfe9e29783047f06c0d7fd359a9a51b729fa25" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "opaque-debug", + "universal-hash", +] + +[[package]] +name = "portable-atomic" +version = "1.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85" +dependencies = [ + "serde", +] + +[[package]] +name = "portmapper" +version = "0.19.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca97242f016e090a25330613bc2382aab65eb22f9149dbe84d8f8e711d49a530" +dependencies = [ + "base64 0.22.1", + "bytes", + "derive_more", + "hyper-util", + "igd-next", + "iroh-metrics", + "libc", + "n0-error", + "n0-future", + "netwatch", + "num_enum", + "rand", + "serde", + "smallvec", + "socket2", + "time", + "tokio", + "tokio-util", + "tower-layer", + "tracing", + "url", +] + +[[package]] +name = "postcard" +version = "1.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6764c3b5dd454e283a30e6dfe78e9b31096d9e32036b5d1eaac7a6119ccb9a24" +dependencies = [ + "cobs", + "embedded-io 0.4.0", + "embedded-io 0.6.1", + "postcard-derive", + "serde", +] + +[[package]] +name = "postcard-derive" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0232bd009a197ceec9cc881ba46f727fcd8060a2d8d6a9dde7a69030a6fe2bb" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "potential_utf" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d83eb9bc6d8e5cf568e7a1101d60ee05e81ed50ea106026f3d18deeb046d7661" +dependencies = [ + "zerovec", +] + +[[package]] +name = "powerfmt" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a6394b9e965e73d0a289ee54f589087e2c676aedf60885baf52c76b771e4958" + +[[package]] +name = "proc-macro-crate" +version = "3.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e67ba7e9b2b56446f1d419b1d807906278ffa1a658a8a5d8a39dcb1f5a78614f" +dependencies = [ + "toml_edit", +] + +[[package]] +name = "proc-macro2" +version = "1.0.107" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "quick-xml" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41b1177fdf999d2321d3fb46ff47159d9c1fb9ad66a4879f8c50a0b504615e9b" +dependencies = [ + "memchr", +] + +[[package]] +name = "quote" +version = "1.0.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "r-efi" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" + +[[package]] +name = "rand" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65c9fb96cbc91e3478eaae79a69fcd3f1ae4ad052e471fe6732fff548984b4af" +dependencies = [ + "chacha20", + "getrandom 0.4.3", + "rand_core", +] + +[[package]] +name = "rand_core" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" + +[[package]] +name = "rand_pcg" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "caa0f4137e1c0a72f4c651489402276c8e8e1cf081f3b0ba156d2cbeef09e86a" +dependencies = [ + "rand_core", +] + +[[package]] +name = "rcgen" +version = "0.14.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8774e05a7d0de114588e6a28fe7e71694b82614ed569d86d8b389dfbc98b8ad8" +dependencies = [ + "pem 4.0.0", + "ring", + "rustls-pki-types", + "time", + "x509-parser", + "yasna", +] + +[[package]] +name = "redox_syscall" +version = "0.5.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" +dependencies = [ + "bitflags", +] + +[[package]] +name = "regex-automata" +version = "0.4.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.8.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" + +[[package]] +name = "reloadable-core" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1dc20ac1418988b60072d783c9f68e28a173fb63493c127952f6face3b40c6e0" + +[[package]] +name = "reloadable-state" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3853ef78d45b50f8b989896304a85239539d39b7f866a000e8846b9b72d74ce8" +dependencies = [ + "arc-swap", + "reloadable-core", + "tokio", +] + +[[package]] +name = "reqwest" +version = "0.13.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16a1cfa75cc186dd73d5818e510e042e40927bccc9c236b061cea97e1eb08029" +dependencies = [ + "base64 0.23.1", + "bytes", + "futures-core", + "futures-util", + "http", + "http-body", + "http-body-util", + "hyper", + "hyper-rustls", + "hyper-util", + "js-sys", + "log", + "percent-encoding", + "pin-project-lite", + "rustls", + "rustls-pki-types", + "rustls-platform-verifier", + "serde", + "serde_json", + "sync_wrapper", + "tokio", + "tokio-rustls", + "tokio-util", + "tower", + "tower-http", + "tower-service", + "url", + "wasm-bindgen", + "wasm-bindgen-futures", + "wasm-streams", + "web-sys", +] + +[[package]] +name = "ring" +version = "0.17.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" +dependencies = [ + "cc", + "cfg-if", + "getrandom 0.2.17", + "libc", + "untrusted", + "windows-sys 0.52.0", +] + +[[package]] +name = "rustc-hash" +version = "2.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d" + +[[package]] +name = "rustc_version" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" +dependencies = [ + "semver", +] + +[[package]] +name = "rusticata-macros" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "faf0c4a6ece9950b9abdb62b1cfcf2a68b3b67a10ba445b3bb85be2a293d0632" +dependencies = [ + "nom", +] + +[[package]] +name = "rustls" +version = "0.23.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d41d731c7d2f962d1ccc364cec258de3c0e93b38c2fb3ba97ac74513048d634" +dependencies = [ + "log", + "once_cell", + "ring", + "rustls-pki-types", + "rustls-webpki", + "subtle", + "zeroize", +] + +[[package]] +name = "rustls-cert-file-reader" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8bb47c2a50fdfdaf95b0ac8b12620fc327da1fd4adbb30d0c56d866b005873ff" +dependencies = [ + "rustls-cert-read", + "rustls-pki-types", + "thiserror 2.0.21", + "tokio", +] + +[[package]] +name = "rustls-cert-read" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd46e8c5ae4de3345c4786a83f99ec7aff287209b9e26fa883c473aeb28f19d5" +dependencies = [ + "rustls-pki-types", +] + +[[package]] +name = "rustls-cert-reloadable-resolver" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe1baa8a3a1f05eaa9fc55aed4342867f70e5c170ea3bfed1b38c51a4857c0c8" +dependencies = [ + "futures-util", + "reloadable-state", + "rustls", + "rustls-cert-read", + "thiserror 2.0.21", +] + +[[package]] +name = "rustls-native-certs" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dab5152771c58876a2146916e53e35057e1a4dfa2b9df0f0305b07f611fdea4d" +dependencies = [ + "openssl-probe", + "rustls-pki-types", + "schannel", + "security-framework", +] + +[[package]] +name = "rustls-pki-types" +version = "1.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f4925028c7eb5d1fcdaf196971378ed9d2c1c4efc7dc5d011256f76c99c0a96" +dependencies = [ + "web-time", + "zeroize", +] + +[[package]] +name = "rustls-platform-verifier" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1167586491e2b18b8bfbb293e8180ec17c201c4f076d7cb3070ca964e7598f98" +dependencies = [ + "core-foundation", + "core-foundation-sys", + "jni 0.22.4", + "log", + "once_cell", + "rustls", + "rustls-native-certs", + "rustls-platform-verifier-android", + "rustls-webpki", + "security-framework", + "security-framework-sys", + "webpki-root-certs", + "windows-sys 0.61.2", +] + +[[package]] +name = "rustls-platform-verifier-android" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eec689c0bc40ff2458a5977b6619cb718087084a18e02a131c599b62d05e1a5f" + +[[package]] +name = "rustls-webpki" +version = "0.103.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3c3cf1d8b1e7d4927e2d154c3fcb02979afb9939629c62cd9048d4f07b60ac2" +dependencies = [ + "ring", + "rustls-pki-types", + "untrusted", +] + +[[package]] +name = "rustversion" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f" + +[[package]] +name = "ryu" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f" + +[[package]] +name = "s11-relay" +version = "0.0.0" +dependencies = [ + "anyhow", + "iroh", + "iroh-relay", + "libc", + "rustls-pki-types", + "serde_json", + "tokio", + "tracing", + "tracing-subscriber", +] + +[[package]] +name = "same-file" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "schannel" +version = "0.1.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91c1b7e4904c873ef0710c1f407dde2e6287de2bebc1bbbf7d430bb7cbffd939" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "scoped-tls" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294" + +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + +[[package]] +name = "security-framework" +version = "3.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7f4bc775c73d9a02cde8bf7b2ec4c9d12743edf609006c7facc23998404cd1d" +dependencies = [ + "bitflags", + "core-foundation", + "core-foundation-sys", + "libc", + "security-framework-sys", +] + +[[package]] +name = "security-framework-sys" +version = "2.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ce2691df843ecc5d231c0b14ece2acc3efb62c0a398c7e1d875f3983ce020e3" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "seize" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b55fb86dfd3a2f5f76ea78310a88f96c4ea21a3031f8d212443d56123fd0521" + +[[package]] +name = "semver" +version = "1.0.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd" + +[[package]] +name = "send_wrapper" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd0b0ec5f1c1ca621c432a25813d8d60c88abe6d3e08a3eb9cf37d97a0fe3d73" + +[[package]] +name = "serde" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba" +dependencies = [ + "serde_core", + "serde_derive", +] + +[[package]] +name = "serde_bytes" +version = "0.11.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5d440709e79d88e51ac01c4b72fc6cb7314017bb7da9eeff678aa94c10e3ea8" +dependencies = [ + "serde", + "serde_core", +] + +[[package]] +name = "serde_core" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "serde_json" +version = "1.0.152" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1741ab7a6cc54a03a89b5d563ed60075c277d9e3cfa73ad0c1f23f23974703c6" +dependencies = [ + "itoa", + "memchr", + "serde", + "serde_core", + "zmij", +] + +[[package]] +name = "serde_spanned" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e7523beb55eece201a2356bee0bbca0d1ab466c14c07703b2e0ee6d42cb0c2c" +dependencies = [ + "serde_core", +] + +[[package]] +name = "serdect" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "66cf8fedced2fcf12406bcb34223dffb92eaf34908ede12fed414c82b7f00b3e" +dependencies = [ + "base16ct", + "serde", +] + +[[package]] +name = "sha1" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aacc4cc499359472b4abe1bf11d0b12e688af9a805fa5e3016f9a386dc2d0214" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "digest", +] + +[[package]] +name = "sha1_smol" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbfa15b3dddfee50a0fff136974b3e1bde555604ba463834a7eb7deb6417705d" + +[[package]] +name = "sha2" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "digest", +] + +[[package]] +name = "sharded-slab" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" +dependencies = [ + "lazy_static", +] + +[[package]] +name = "shlex" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba" + +[[package]] +name = "signal-hook-registry" +version = "1.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b" +dependencies = [ + "errno", + "libc", +] + +[[package]] +name = "signature" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28d567dcbaf0049cb8ac2608a76cd95ff9e4412e1899d389ee400918ca7537f5" +dependencies = [ + "rand_core", +] + +[[package]] +name = "simd_cesu8" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11031e251abf8611c80f460e19dbdeb54a66db918e49c65a7065b46ac7aec520" +dependencies = [ + "rustc_version", + "simdutf8", +] + +[[package]] +name = "simdutf8" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e" + +[[package]] +name = "simple-dns" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b6f884fa9a8d48101774bfbd3aeb81e968dd22cffd19a372da69f183db22c1a" +dependencies = [ + "bitflags", +] + +[[package]] +name = "slab" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" + +[[package]] +name = "smallvec" +version = "1.16.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b3dc8af474f516a851ff4bd12db780f948b9250ad37211e4eec0bccea54e01b" + +[[package]] +name = "socket2" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3d1e2c7f27f8d4cb10542a02c49005dbd6e93095799d6f3be745fae9f8fedd4" +dependencies = [ + "libc", + "windows-sys 0.61.2", +] + +[[package]] +name = "sorted-index-buffer" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea06cc588e43c632923a55450401b8f25e628131571d4e1baea1bdfdb2b5ed06" + +[[package]] +name = "spez" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c87e960f4dca2788eeb86bbdde8dd246be8948790b7618d656e68f9b720a86e8" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "spin" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "023a211cb3138dbc438680b32560ad89f699977624c9f8dbb95a47d5b4c07dd3" + +[[package]] +name = "spki" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ef958a98b9d5da290cfc78946e9f3e61e1e62a18db0d92cac0b83cc161491a9" +dependencies = [ + "base64ct", + "der", +] + +[[package]] +name = "stable_deref_trait" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" + +[[package]] +name = "strsim" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" + +[[package]] +name = "strum" +version = "0.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9628de9b8791db39ceda2b119bbe13134770b56c138ec1d3af810d045c04f9bd" +dependencies = [ + "strum_macros", +] + +[[package]] +name = "strum_macros" +version = "0.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab85eea0270ee17587ed4156089e10b9e6880ee688791d45a905f5b1ca36f664" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "subtle" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" + +[[package]] +name = "syn" +version = "2.0.119" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "3.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d62a2e0561533f2ca2561d0cf27fd9fedb640a1bf2616ff5d5c80d99017faadc" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "sync_wrapper" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263" +dependencies = [ + "futures-core", +] + +[[package]] +name = "synstructure" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "synstructure" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "901704edd0dfe137f1987838ee4f259e4e063c31371bdb423f7ae38ec6f77f02" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "system-configuration" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "501336eb7ba9e417300a6a0fa985721065467aa83a6dcf0422a8e43e4c0328fa" +dependencies = [ + "bitflags", + "core-foundation", + "system-configuration-sys", +] + +[[package]] +name = "system-configuration-sys" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e1d1b10ced5ca923a1fcb8d03e96b8d3268065d724548c0211415ff6ac6bac4" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "thiserror" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" +dependencies = [ + "thiserror-impl 1.0.69", +] + +[[package]] +name = "thiserror" +version = "2.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e" +dependencies = [ + "thiserror-impl 2.0.21", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "thread_local" +version = "1.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ad99c4c6d32803332c548b1af0540b357b3f5fc0be8f6c6bfe8b2e6ae784070" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "time" +version = "0.3.55" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdb87b95ec50ddfa440816d227a17b2ccbdda963a316a727fda0fc4334f7d134" +dependencies = [ + "deranged", + "js-sys", + "num-conv", + "powerfmt", + "serde_core", + "time-core", + "time-macros", +] + +[[package]] +name = "time-core" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e1c906769ad99c88eaa54e728060edef082f8e358ff32030cb7c7d315e81109" + +[[package]] +name = "time-macros" +version = "0.2.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e689342a48d2ea927c87ea50cabf8594854bf940e9310208848d680d668ed85" +dependencies = [ + "num-conv", + "time-core", +] + +[[package]] +name = "tinystr" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1e27c91459209c2986af3dcf603a5a74a4368754ce37414f59acc971167f643" +dependencies = [ + "displaydoc", + "zerovec", +] + +[[package]] +name = "tinyvec" +version = "1.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd3ca314f692efd6c868f8408f53fe444634a845f96c028b97d35f6a1f79f0ee" + +[[package]] +name = "tokio" +version = "1.53.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e95f91fcc7a621e8b030f6aa23c71fe9838ae2fb4d8118b75602a328f5144044" +dependencies = [ + "bytes", + "libc", + "mio", + "parking_lot", + "pin-project-lite", + "signal-hook-registry", + "socket2", + "tokio-macros", + "windows-sys 0.61.2", +] + +[[package]] +name = "tokio-macros" +version = "2.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78773a2a397f451582ce068015985c33193cf6dea8b74d2a639fe457b2f07b0e" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "tokio-rustls" +version = "0.26.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9cc2678c2cdd569ef8215e2afd7954ada2ae20b4fdd2c5fe6139a3b02d105db" +dependencies = [ + "rustls", + "tokio", +] + +[[package]] +name = "tokio-rustls-acme" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1af8573b15fdad8d66da116198cd8fd8d87ff62a67c1c6c3df7f62da1170793f" +dependencies = [ + "async-trait", + "base64 0.22.1", + "chrono", + "futures", + "log", + "num-bigint", + "pem 3.0.6", + "proc-macro2", + "rcgen", + "reqwest", + "ring", + "rustls", + "serde", + "serde_json", + "thiserror 2.0.21", + "time", + "tokio", + "tokio-rustls", + "webpki-roots", + "x509-parser", +] + +[[package]] +name = "tokio-stream" +version = "0.1.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3d06f0b082ba57c26b79407372e57cf2a1e28124f78e9479fe80322cf53420b" +dependencies = [ + "futures-core", + "pin-project-lite", + "tokio", + "tokio-util", +] + +[[package]] +name = "tokio-util" +version = "0.7.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e464cf451ba96ebfc6f9b6542f17ee8b8956e33f1e40d9690624e59d7a7f8a4b" +dependencies = [ + "bytes", + "futures-core", + "futures-sink", + "futures-util", + "libc", + "pin-project-lite", + "tokio", +] + +[[package]] +name = "tokio-websockets" +version = "0.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d52efb639344a7c6adb8e62c6f3d2c19c001ff1b79a5041ba1c6ed42e19c6aa5" +dependencies = [ + "base64 0.22.1", + "bytes", + "futures-core", + "futures-sink", + "getrandom 0.4.3", + "http", + "httparse", + "rand", + "ring", + "rustls-pki-types", + "sha1_smol", + "simdutf8", + "tokio", + "tokio-rustls", + "tokio-util", +] + +[[package]] +name = "toml" +version = "1.1.8+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20489e00e4d8741d6be680764cc12e270655e375a20d1011e844a9c3379e678d" +dependencies = [ + "indexmap", + "serde_core", + "serde_spanned", + "toml_datetime", + "toml_parser", + "toml_writer", + "winnow", +] + +[[package]] +name = "toml_datetime" +version = "1.1.2+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b86d767906c6c42421dcba507eb9d203e779497710a47782a224bb871653053" +dependencies = [ + "serde_core", +] + +[[package]] +name = "toml_edit" +version = "0.25.17+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3641d5bbb5349a79e1020a242d251efbc546ad8048d133958323ce9c40a9c9c" +dependencies = [ + "indexmap", + "toml_datetime", + "toml_parser", + "winnow", +] + +[[package]] +name = "toml_parser" +version = "1.1.5+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baa693a8032d7e1cada7d0041e96126df243179ff061456783ac7f12bda4744c" +dependencies = [ + "winnow", +] + +[[package]] +name = "toml_writer" +version = "1.1.3+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06bdbd8cfc056b8d2e2e85f29b56a3bdbecb527cef81eb39e3e7b98af4652770" + +[[package]] +name = "tower" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebe5ef63511595f1344e2d5cfa636d973292adc0eec1f0ad45fae9f0851ab1d4" +dependencies = [ + "futures-core", + "futures-util", + "pin-project-lite", + "sync_wrapper", + "tokio", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-http" +version = "0.6.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cfcf7e2740e6fc6d4d688b4ef00650406bb94adf4731e43c096c3a19fe40840" +dependencies = [ + "bitflags", + "bytes", + "futures-util", + "http", + "http-body", + "pin-project-lite", + "tower", + "tower-layer", + "tower-service", + "url", +] + +[[package]] +name = "tower-layer" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" + +[[package]] +name = "tower-service" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" + +[[package]] +name = "tracing" +version = "0.1.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100" +dependencies = [ + "log", + "pin-project-lite", + "tracing-attributes", + "tracing-core", +] + +[[package]] +name = "tracing-attributes" +version = "0.1.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "tracing-core" +version = "0.1.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a" +dependencies = [ + "once_cell", + "valuable", +] + +[[package]] +name = "tracing-log" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" +dependencies = [ + "log", + "once_cell", + "tracing-core", +] + +[[package]] +name = "tracing-subscriber" +version = "0.3.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb7f578e5945fb242538965c2d0b04418d38ec25c79d160cd279bf0731c8d319" +dependencies = [ + "matchers", + "nu-ansi-term", + "once_cell", + "regex-automata", + "sharded-slab", + "smallvec", + "thread_local", + "tracing", + "tracing-core", + "tracing-log", +] + +[[package]] +name = "try-lock" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" + +[[package]] +name = "typenum" +version = "1.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" + +[[package]] +name = "unicode-ident" +version = "1.0.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d245f478577f809a851594d02313b640fb437e0bb33866753cff937863096954" + +[[package]] +name = "unicode-segmentation" +version = "1.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8" + +[[package]] +name = "unicode-xid" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" + +[[package]] +name = "universal-hash" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea" +dependencies = [ + "crypto-common 0.1.7", + "subtle", +] + +[[package]] +name = "untrusted" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" + +[[package]] +name = "url" +version = "2.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" +dependencies = [ + "form_urlencoded", + "idna", + "percent-encoding", + "serde", + "serde_derive", +] + +[[package]] +name = "utf8_iter" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" + +[[package]] +name = "utf8parse" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" + +[[package]] +name = "valuable" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" + +[[package]] +name = "version_check" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" + +[[package]] +name = "walkdir" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" +dependencies = [ + "same-file", + "winapi-util", +] + +[[package]] +name = "want" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec4cdd0dd910afe868b7ef477227d8d538b46b3075031afee8a9f2acb0a2ed0b" +dependencies = [ + "try-lock", +] + +[[package]] +name = "wasi" +version = "0.11.1+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" + +[[package]] +name = "wasm-bindgen" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9bb54f33acc68fd454578d9820b0bde1a1a3d17aa17bb7b6595806d02886d409" +dependencies = [ + "cfg-if", + "once_cell", + "rustversion", + "wasm-bindgen-macro", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-futures" +version = "0.4.79" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3cbab34de2d982e9b48e18d216d04c4a6f641066ff19ffb699980f591ee3610e" +dependencies = [ + "js-sys", + "tokio", + "wasm-bindgen", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e29d0c35b16e224a7eeb5cd2d25e3e1968fbd65604117b44d3b789d00ee8535" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f501a8bc3719dba86ef8ae4728879c08001bea749eb1333ac5b91e040e2a6b7" +dependencies = [ + "bumpalo", + "proc-macro2", + "quote", + "syn 3.0.7", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23f0c9c52aa7cd7d77769a4cfe2a9adb1b331f489a41d912ce14513d5ab995c6" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "wasm-streams" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d1ec4f6517c9e11ae630e200b2b65d193279042e28edd4a2cda233e46670bbb" +dependencies = [ + "futures-util", + "js-sys", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "web-sys" +version = "0.3.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88261b9deccee56594c11a3460c462c41f58d148598fe70ad77070126a68aba4" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "web-time" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "webpki-root-certs" +version = "1.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b96554aa2acc8ccdb7e1c9a58a7a68dd5d13bccc69cd124cb09406db612a1c9b" +dependencies = [ + "rustls-pki-types", +] + +[[package]] +name = "webpki-roots" +version = "1.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7dcd9d09a39985f5344844e66b0c530a33843579125f23e21e9f0f220850f22a" +dependencies = [ + "rustls-pki-types", +] + +[[package]] +name = "widestring" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72069c3113ab32ab29e5584db3c6ec55d416895e60715417b5b883a357c3e471" + +[[package]] +name = "winapi" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +dependencies = [ + "winapi-i686-pc-windows-gnu", + "winapi-x86_64-pc-windows-gnu", +] + +[[package]] +name = "winapi-i686-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" + +[[package]] +name = "winapi-util" +version = "0.1.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "winapi-x86_64-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" + +[[package]] +name = "windows" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "527fadee13e0c05939a6a05d5bd6eec6cd2e3dbd648b9f8e447c6518133d8580" +dependencies = [ + "windows-collections", + "windows-core", + "windows-future", + "windows-numerics", +] + +[[package]] +name = "windows-collections" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23b2d95af1a8a14a3c7367e1ed4fc9c20e0a26e79551b1454d72583c97cc6610" +dependencies = [ + "windows-core", +] + +[[package]] +name = "windows-core" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" +dependencies = [ + "windows-implement", + "windows-interface", + "windows-link", + "windows-result", + "windows-strings", +] + +[[package]] +name = "windows-future" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1d6f90251fe18a279739e78025bd6ddc52a7e22f921070ccdc67dde84c605cb" +dependencies = [ + "windows-core", + "windows-link", + "windows-threading", +] + +[[package]] +name = "windows-implement" +version = "0.60.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "windows-interface" +version = "0.59.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + +[[package]] +name = "windows-numerics" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e2e40844ac143cdb44aead537bbf727de9b044e107a0f1220392177d15b0f26" +dependencies = [ + "windows-core", + "windows-link", +] + +[[package]] +name = "windows-registry" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02752bf7fbdcce7f2a27a742f798510f3e5ad88dbe84871e5168e2120c3d5720" +dependencies = [ + "windows-link", + "windows-result", + "windows-strings", +] + +[[package]] +name = "windows-result" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-strings" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-sys" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" +dependencies = [ + "windows-targets 0.42.2", +] + +[[package]] +name = "windows-sys" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +dependencies = [ + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-sys" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-targets" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" +dependencies = [ + "windows_aarch64_gnullvm 0.42.2", + "windows_aarch64_msvc 0.42.2", + "windows_i686_gnu 0.42.2", + "windows_i686_msvc 0.42.2", + "windows_x86_64_gnu 0.42.2", + "windows_x86_64_gnullvm 0.42.2", + "windows_x86_64_msvc 0.42.2", +] + +[[package]] +name = "windows-targets" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" +dependencies = [ + "windows_aarch64_gnullvm 0.52.6", + "windows_aarch64_msvc 0.52.6", + "windows_i686_gnu 0.52.6", + "windows_i686_gnullvm", + "windows_i686_msvc 0.52.6", + "windows_x86_64_gnu 0.52.6", + "windows_x86_64_gnullvm 0.52.6", + "windows_x86_64_msvc 0.52.6", +] + +[[package]] +name = "windows-threading" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" + +[[package]] +name = "windows_i686_gnu" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" + +[[package]] +name = "windows_i686_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" + +[[package]] +name = "windows_i686_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" + +[[package]] +name = "windows_i686_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" + +[[package]] +name = "windows_i686_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" + +[[package]] +name = "winnow" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23b97319f7b8343df12cc98938e5c3eb436064524c8d2b4e30a1d3a36eecdf81" +dependencies = [ + "memchr", +] + +[[package]] +name = "wmi" +version = "0.18.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c81b85c57a57500e56669586496bf2abd5cf082b9d32995251185d105208b64" +dependencies = [ + "chrono", + "futures", + "log", + "serde", + "thiserror 2.0.21", + "windows", + "windows-core", +] + +[[package]] +name = "writeable" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc" + +[[package]] +name = "ws_stream_wasm" +version = "0.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c173014acad22e83f16403ee360115b38846fe754e735c5d9d3803fe70c6abc" +dependencies = [ + "async_io_stream", + "futures", + "js-sys", + "log", + "pharos", + "rustc_version", + "send_wrapper", + "thiserror 2.0.21", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "x509-parser" +version = "0.18.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d43b0f71ce057da06bc0851b23ee24f3f86190b07203dd8f567d0b706a185202" +dependencies = [ + "asn1-rs", + "data-encoding", + "der-parser", + "lazy_static", + "nom", + "oid-registry", + "ring", + "rusticata-macros", + "thiserror 2.0.21", + "time", +] + +[[package]] +name = "xml-rs" +version = "0.8.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e450f9b2ed1dff33c94c12589a87338689467b9c4f5d8a5710bd09a847d2c8a7" + +[[package]] +name = "xmltree" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7d8a75eaf6557bb84a65ace8609883db44a29951042ada9b393151532e41fcb" +dependencies = [ + "xml-rs", +] + +[[package]] +name = "yasna" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5f6765e852b9b4dc8e2a76843e4d64d1cea8e79bcde0b6901aea8e7c7f08282" +dependencies = [ + "bit-vec", + "time", +] + +[[package]] +name = "yoke" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5" +dependencies = [ + "stable_deref_trait", + "yoke-derive", + "zerofrom", +] + +[[package]] +name = "yoke-derive" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec8ebde2db3681e8c9980cc27822030e68752690ddfa9473e739aeb4dbde6d71" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", + "synstructure 0.14.0", +] + +[[package]] +name = "zerocopy" +version = "0.8.62" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86502bf56ac7c77571a32e2647bb2a15894565e981fb2a48d7bde2d91c965a9d" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.8.62" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5457206954b06561e2608c7e19cf58b1926586d999c246eebe4502f7e2039d1a" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "zerofrom" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272" +dependencies = [ + "zerofrom-derive", +] + +[[package]] +name = "zerofrom-derive" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f75b4683f6c7f45248d4d64056a24298c6281e0993356d7d1b4a1a962ef10d4a" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", + "synstructure 0.14.0", +] + +[[package]] +name = "zeroize" +version = "1.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e13084392c5e4bc371903e2935a5eaeed24905a7511356b883835e18a78f6879" +dependencies = [ + "zeroize_derive", +] + +[[package]] +name = "zeroize_derive" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c50655cbb0fe3fc43170059e702f1ce5e19b84cec58dc87b037a09935c2f328" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "zerotrie" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ea269c3bd32f0a32c321907a2ae912ba6f4649bb0fc764a15627e99a7095a3f" +dependencies = [ + "displaydoc", + "yoke", + "zerofrom", +] + +[[package]] +name = "zerovec" +version = "0.11.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb0464e17806c1d976d5cba29399c7f08e516e279e2ba493f63123b5fca67dd8" +dependencies = [ + "yoke", + "zerofrom", + "zerovec-derive", +] + +[[package]] +name = "zerovec-derive" +version = "0.11.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34df6fc39dbd26ddc9c10e6a2984476e13acce22e64e4487636ef494369225da" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "zmij" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b" diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/Cargo.toml b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/Cargo.toml new file mode 100644 index 0000000000..3aa3bc1f83 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/Cargo.toml @@ -0,0 +1,25 @@ +[package] +name = "s11-relay" +version = "0.0.0" +edition = "2024" +rust-version = "1.96" +publish = false + +# Standalone crate. Pins match /home/user/work/spikes/Cargo.toml, and Cargo.lock is copied from there. +[workspace] + +[[bin]] +name = "s11" +path = "src/main.rs" + +[dependencies] +iroh = "1.3.0" +# Not used in code. Enabled as c1-connect enables it, so the shared build cache is reused. +iroh-relay = { version = "1.3.0", features = ["server"] } +rustls-pki-types = "1.15.1" +tokio = { version = "1", features = ["full"] } +anyhow = "1" +libc = "0.2" +serde_json = "1" +tracing = "0.1" +tracing-subscriber = { version = "0.3", features = ["env-filter"] } diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/RESULTS.md b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/RESULTS.md new file mode 100644 index 0000000000..fd0c74941e --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/RESULTS.md @@ -0,0 +1,164 @@ +# S11: relay operation (iroh-relay 1.3.0) + +Local only. Nothing deployed, no public address used, no nix, no host network change. All relays and clients ran on 127.0.0.1 in ports 19101–19251. A leftover `iroh-relay` on `/tmp/c2-run.OUtvGR` is another spike's process, and I left it alone. + +## Question + +1. Restart the relay with SIGTERM and with SIGKILL while two peers have an open connection homed on it. How long until both peers reconnect? Does the QUIC connection survive? Is an in-flight message lost? (median of 3) +2. Relay key rotation: what does a client with the old relay URL or ticket see? Is the relay key pinned? +3. TLS certificate rotation: does the running relay pick up a replaced certificate, or does it need a restart? +4. Idle behaviour: does a non-home relay connection close after 60 s idle? What does a home relay do? +5. Operations: metrics, log levels, and a minimal health check. + +## Setup + +- Relay: `/home/user/work/spikes/tools/bin/iroh-relay`, `--version` 1.3.0, sha256 `2f6f6d0e…`. Its source is `iroh-relay-1.3.0` in the cargo registry, which I read. +- Configs in `config/`. `config/tunnel.kit.toml` is a verbatim copy of the kit's `tunnel.toml` (sha256 `4c3f8c…`, matching the kit). `config/local.toml` is the same file with ports changed to 19101/19201. The other configs are derived the same way. +- Driver: `s11-relay/src/main.rs`, built with the pinned toolchain 1.97.0 into `/home/user/work/spikes/target`. First build 1m27s, rebuilds 9–105 s. `Cargo.lock` is copied from the spikes workspace and pruned by cargo to 416 packages. The pinned crates are unchanged (iroh, iroh-relay, tokio, libc, tracing, rustls-pki-types). +- Endpoints are relay-only: `Endpoint::builder(Minimal).clear_ip_transports()` and `RelayConfig::new(url, None)`, so QUIC address discovery is off. This matches the Tunnel shape. The probe data flow is a 1 KiB echo frame with a sequence number, sent every 10 ms, plus a 2 MiB unpaced burst just before each kill. +- PKI: two test CAs (CA1, CA2), and leaves A and B from CA1 and C from CA2, all EC P-256 and valid for localhost and 127.0.0.1. + +## Method and commands + +``` +export CARGO_TARGET_DIR=/home/user/work/spikes/target +CARGO="$(rustup which --toolchain 1.97.0 cargo)"; "$CARGO" build +cd /home/user/work/spikes-next/s11-relay +S=/home/user/work/spikes/target/debug/s11 +$S restart TERM 3 1000 # scenario 1, 1 s outage, 3 runs +$S restart KILL 3 1000 +$S restart INT 3 1000 # control: the one graceful signal +$S restart KILL 3 3000 # outage equal to the kit's RestartSec=3 +RUST_LOG='s11=info,iroh::socket::transports::relay=debug,iroh::_events::relay=debug,warn' \ + $S restart KILL 1 35000 2> logs/restart-SIGKILL-35000ms-driver.log +RUST_LOG='s11=info,iroh::socket::transports::relay=debug,iroh::_events::relay=debug,warn' \ + $S idle 2> logs/idle-driver.log # scenario 4, about 4 min +runbook/poll-metrics.sh 300 19211 19212 > logs/idle-metrics.log +runbook/relay-ctl.sh ... # scenarios 2, 3 and 5, see below +``` + +Each `restart` run: relay on 19101; two relay-only endpoints A and B; 3 s of steady echoes; a 2 MiB burst; kill with signal; wait for exit; sleep `down`; restart the relay on the same port; watch until an echo arrives after the relay is back and all in-flight frames have settled, or 10 s after that first echo. If the QUIC connection closes, the driver re-dials and retries every second. + +Two measurement fixes were made before the reported runs. The first version measured "first echo" from the moment the relay died, which caught a straggler echo of 4 ms. It now measures from the moment the relay is listening again. The re-dial retry loop was added after the 35 s run failed, and the survived path is unchanged by it. The 1 s and 3 s results come from the version before that change. + +## Results + +### 1. Restart under two connected peers + +All times are milliseconds from the signal. Medians of 3 runs; the range is in brackets where it matters. "Home back" is when each endpoint's home-relay status returns to connected after it dropped. + +| Case | Relay exit | Relay listening | Home A back | Home B back | First echo after relay up | QUIC survived | In flight at kill (median) | Lost | +|---|---|---|---|---|---|---|---|---| +| SIGTERM, 1 s outage | 3.2 (signal 15) | 1008 | 1156 | 1630 | 1909 (1731–2011) | 3/3 | 1177 | 0 | +| SIGKILL, 1 s outage | 3.4 (signal 9) | 1012 | 1646 | 1611 | 1834 (1061–4025) | 3/3 | 1130 | 0 | +| SIGINT (control), 1 s | 4.3 (exit 0) | 1013 | 1615 | 1740 | 1745 (1485–1747) | 3/3 | 1120 | 0 | +| SIGKILL, 3 s outage | 7.4 (signal 9) | 3032 | 3628 | 4020 | 5613 (4022–7475) | 3/3 | 1062 | 0 | +| SIGKILL, 35 s outage, 1 run | 7.1 | 35075 | 60636 | 44726 | 60771 | **0/1: timed out at 35068** | 1062 | **1058** | + +Per-run raw values are in `logs/restart--ms-summary.json`. + +What the 35 s run shows, from `logs/restart-SIGKILL-35000ms-driver.log`: +- The relay was listening again at +35.1 s. +- The QUIC connection closed with reason "timed out" at +35.07 s, so the connection died at about the time the relay came back. +- The re-dial at +35.1 s failed with "connect timed out" after 20 s. The endpoint's relay actor was still in backoff. The log shows `retry in 27.41s` at +33.2 s, so its next attempt came at +60.6 s. +- B's home returned at +44.7 s, and A's at +60.6 s. The re-dial succeeded at +60.6 s, and the first echo came at +60.8 s. + +### 2. Relay key rotation and trust + +- `iroh-relay` 1.3.0 has no relay key. `Config` (main.rs:92) has no key field. The server only sends a random challenge; the client signs it (handshake.rs:200–230). The relay therefore has no identity that a client can verify except its TLS certificate. The comment at handshake.rs:224 ("signature … from the server") is a copy-paste error. +- `RelayConfig` holds `url`, `quic`, and `auth_token` only (relay_map.rs). It has no pin field. The client verifies TLS with `CaTlsConfig` (default: embedded Mozilla roots, tls.rs:57), and the server name is the URL host (client/tls.rs:107–110). +- `secret_key` is accepted and silently ignored. `legacy-secret-key.toml` started and answered `/ping` 200 with no warning. `Config` has no `deny_unknown_fields`. + +| Step | Result | +|---|---| +| Relay serves leaf A (CA1). Dial with `--ca ca1.der` | ONLINE in 268 ms | +| Rotate to leaf B: new key, same CA1. Restart. Same dial | ONLINE in 268 ms. No client change needed | +| Rotate to leaf C from CA2. Restart. Dial with CA1 only | NOT_ONLINE after 8 s. Status list empty, so no error text in the API | +| Relay log for that case | `TLS[manual] accept … received fatal alert: UnknownCA` (ERROR) | +| Dial with CA1 + CA2 | ONLINE in 263 ms | +| Dial with CA2 only | ONLINE in 212 ms | +| Dial with default WebPKI roots | NOT_ONLINE after 8 s. The private CA is not in those roots | + +Verdict: not pinned. Clients trust whatever roots their `CaTlsConfig` names, and the URL must match the certificate's name. A key rotation under the same CA is invisible to clients. A change of CA breaks any client that pins a CA. A ticket holds only the relay URL, so an old ticket keeps working exactly when the URL still passes TLS. I did not test a real ticket. + +### 3. TLS certificate rotation + +| Mode | Step | Served serial | +|---|---|---| +| Manual | Start with leaf A | …FD (A) | +| Manual | Replace the files on disk, wait 3 s, no restart | …FD (A). Not picked up | +| Manual | Restart | …FE (B) | +| Manual | `rotate-cert` to CA2 leaf C, with backup, validation, and restart | …292F (C) | +| Reloading | Start with leaf A. Log: `Reloaded the certificate` at once | …FD (A) | +| Reloading | Replace the files, wait 5 s | …FD (A). Not picked up | +| Reloading | Restart | …FE (B) | + +- Manual loads the certificate once at startup (main.rs:623–638). A restart is required. +- Reloading (`cert_mode = "Reloading"`, undocumented in the kit) reloads on a fixed 24 h interval (`DEFAULT_CERT_RELOAD_INTERVAL = 86400 s`, server/resolver.rs:19). The first tick fires at startup, which is the log line seen. The 24 h wait itself was not measured. +- Source only: server/resolver.rs calls `let _ = reload()` and then logs "Reloaded the certificate" whether or not the reload succeeded. A bad file would be silently ignored, while the log says it was reloaded. + +Verdict: a running relay needs a restart to pick up a new certificate. Reloading mode does not react to file changes at all within the first day. + +### 4. Idle behaviour (scenario 4, one run, 3 min 40 s) + +Relay 19111 was A's non-home relay, and B was homed on it. Relay 19112 was A's home. The timeline is from `logs/idle-driver.log`: + +| Time | Event | +|---|---| +| 12:19:40.70 | A homed on 19112, B homed on 19111, so A reaches B through the non-home 19111 | +| 12:19:40.73 | One frame echoed. No application traffic after this point | +| 12:20:50.74 | QUIC still open after 70 s, with 5 s keep-alives. Then `conn.close()` | +| 12:21:50.74 | `Inactive for 60s, exiting (running)` on the 19111 actor. Exactly 60.0 s after the close | +| 12:23:20.74 | The home relay (19112) had one status transition over the whole run: connected | + +- Non-home: the connection stayed up for the full 70 s, because keep-alives reset the timer. It closed 60 s after the last datagram. +- Home: the status watcher recorded no disconnect in 3 min 40 s, and no inactivity exit for 19112. Its pings were not sampled (see below). +- Relay side: 19111's `send_packets_sent_total` rose to 79 and stopped at the close. Its log shows `WARN … actor errored Stream terminated` at 12:21:50.74. + +Verdict: matches the connectivity design. A non-home connection closes 60 s after the last datagram it sends, but a live QUIC connection keeps it open. The home relay never closes for idleness. + +### 5. Operations + +- **Metrics**: `metrics_bind_addr` defaults to the `http_bind_addr` IP with port 9090. That is `[::]:9090`, public, if the bind is public (main.rs:344–347). The kit sets loopback. The server answers Prometheus text on any path: `/metrics`, `/`, `/ping`, `/healthz` all returned 200 with the same body. Counter names include `relayserver_accepts_total`, `relayserver_disconnects_total`, `relayserver_got_ping_total`, `relayserver_sent_pong_total`, and `relayserver_send_packets_sent_total`. +- **Log levels** (`RUST_LOG`, 3 s, no clients): unset gives 0 lines. `info` gives 2 lines (metrics start and "serving on"). `debug` gives 23 lines. Each client disconnect logs a WARN. Config parse errors exit 1 with a message even when `RUST_LOG` is unset: `Error: config must be valid toml`. +- **Health**: `/ping` returns 200 with an empty body, in plain and TLS mode. It is not protected by `shared_token`. `/healthz` returns `{"status":"ok","version":"1.3.0","git_hash":"unknown"}` with 200, verified over TLS against CA2. `/generate_204` returns 204 on the plain port. In TLS mode the captive portal is on `http_bind_addr`, which I did not test. +- **shared_token** (`access.shared_token = [...]`, main.rs:176–196): no token gives NOT_ONLINE with `auth_denied = "not authorized"`. A wrong token gives the same. The right token gives ONLINE in 216 ms. +- **Missing config file**: `--config-path /nonexistent` starts silently with defaults, run in a network namespace with `RUST_LOG=info`. Log: `serving on [::]:80` and `metrics on [::]:9090`. Plain HTTP on every interface, with no warning. `Config::load` returns the default when the file is absent (main.rs:541–547). +- **Typo key**: `enable_quic_adr_discovery` is ignored with no warning. The relay starts. + +## Runbook (commands run here) + +`runbook/relay-ctl.sh` (all subcommands were run): + +- Restart: `runbook/relay-ctl.sh restart `. It sends SIGINT and waits for the process to exit, then starts it again and waits for `/ping`. SIGINT is the graceful path; SIGTERM is not handled (see surprises). +- Rotate the key and certificate: `CA= runbook/relay-ctl.sh rotate-cert [ca.pem]`. It checks that the key matches the certificate, checks the chain, backs up the old files, installs the new ones with the right modes, restarts, and prints the served serial. Verified with the CA2 leaf. +- Health: `CA= runbook/relay-ctl.sh health ` (TLS verified). Without `CA`, it uses `curl -k` and says so. +- Metrics: `runbook/poll-metrics.sh ...`. +- No separate "rotate key" exists in 1.3.0. The only key is the TLS private key, so rotating the key means `rotate-cert` with a new key. Remove any `secret_key` line from old configs, since it is ignored. + +## What was NOT tested, and why + +- **Real networks**: everything ran on loopback, with no public relay, Cloudflare Tunnel, VPS, or systemd. Deploying was out of scope. +- **systemd KillSignal**: not run. The kit's unit uses the default `KillSignal=SIGTERM`, which I observed to hard-kill the relay. `KillSignal=SIGINT` is recommended from the SIGINT result, but that is unverified under systemd. +- **Outage length boundary**: only 1 s, 3 s, and 35 s, and 35 s was one run. The point where the connection dies is somewhere between 3 s and 35 s, and I did not bisect it. +- **Home relay pings**: the counters were not sampled. The 15 s ping interval (`PING_INTERVAL` in actor.rs) is from source. +- **24 h cert reload**: source only. The logging issue on a failed reload is also source only. +- **Real tickets and holepunching**: a ticket is just the relay URL plus the endpoint ID, from source. Direct paths were disabled, so nothing about NAT traversal was measured. +- **`IROH_RELAY_ACCESS_TOKEN`, allowlists, HTTP access, rate limits**: not exercised. +- **Application semantics**: "lost" means the QUIC stream echo, not the owner's protocol messages. + +## Verdicts + +1. **Restart (SIGTERM and SIGKILL)**: the QUIC connection survives outages up to 3 s (3/3 runs each). When it survives, no in-flight frame is lost (about 1,100 in flight at each kill, 0 lost). With a 1 s outage the peers' home relays are back a median 1.2–1.7 s after the kill (single runs 1.0–2.2 s), and application traffic resumes a median 1.7–1.9 s after the kill. After a 3 s outage application traffic takes a median 5.6 s. SIGTERM and SIGKILL are equivalent here, since the relay does not handle SIGTERM. A 35 s outage kills the connection, and the peers return 9.7 s (B) and 25.6 s (A) after the relay is back, because of the reconnect backoff. +2. **Key**: no relay key in 1.3.0. Not pinned. A same-CA key change is transparent. A CA change breaks CA-pinned clients, and their status API shows no error. +3. **Certificate**: needs a restart in Manual and in Reloading mode, within the first 24 h. +4. **Idle**: non-home closes exactly 60 s after its last datagram, and stays open while QUIC keep-alives run. Home never idles out. +5. **Ops**: metrics default to a public port, logs are silent by default, health endpoints work, and token auth works. Two config mistakes fail silently. + +## Surprises + +- SIGTERM is not handled. `tokio::signal::ctrl_c()` listens only for SIGINT (main.rs:607), so SIGTERM is a hard kill. The kit's systemd unit would hard-kill on every stop. SIGINT exits 0. +- A missing `--config-path` file, or a misspelled key, starts silently with defaults. The default is plain HTTP on all interfaces with public metrics. +- Reconnect backoff is the long pole after a long outage. The retry delay reached 27.4 s, above the 16 s cap, because backon 1.6.0 adds jitter of up to the current delay on top of it (backoff.rs docs). The application cannot reset this timer. +- A TLS failure is invisible to the client's status API. Only the relay's log shows `UnknownCA`. +- The relay writes a WARN for every client disconnect, so it is noisy at `RUST_LOG=info`. diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/ca1.der b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/ca1.der new file mode 100644 index 0000000000..15ec7f1155 Binary files /dev/null and b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/ca1.der differ diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/ca1.key b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/ca1.key new file mode 100644 index 0000000000..90ac8148b9 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/ca1.key @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg/COaIbfKgtNQZSwU +dhMzV5hWl3K0Vj7Za7o1rbOR+WmhRANCAARujCsGbVO43HlXXlHOAlrycrN+I7cY +RO1wVcgcW/Q1Ggw16qtS4bC/10AUnIHNHWyzZuy4d6jT/4m/W5ZtUusl +-----END PRIVATE KEY----- diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/ca1.pem b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/ca1.pem new file mode 100644 index 0000000000..196367ef48 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/ca1.pem @@ -0,0 +1,11 @@ +-----BEGIN CERTIFICATE----- +MIIBljCCATugAwIBAgIUM/TWDrLs9U1eHKKJPA/8Ft3Y/7swCgYIKoZIzj0EAwIw +GDEWMBQGA1UEAwwNczExIHRlc3QgQ0EgMTAeFw0yNjEwMTExMjE0NTNaFw0yNjEw +MTQxMjE0NTNaMBgxFjAUBgNVBAMMDXMxMSB0ZXN0IENBIDEwWTATBgcqhkjOPQIB +BggqhkjOPQMBBwNCAARujCsGbVO43HlXXlHOAlrycrN+I7cYRO1wVcgcW/Q1Ggw1 +6qtS4bC/10AUnIHNHWyzZuy4d6jT/4m/W5ZtUuslo2MwYTAdBgNVHQ4EFgQULsyU +RTP0sPoQJGTfHUZEjpKFyyMwHwYDVR0jBBgwFoAULsyURTP0sPoQJGTfHUZEjpKF +yyMwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwCgYIKoZIzj0EAwID +SQAwRgIhANj48d9vFBsrC+UXRmeLPgtwODiCkoQbf+AobxDQ2wLOAiEApAcmVRlM +rdzvdjlMBnnNI8KpZW5llHb+sjE08FZ4M9Y= +-----END CERTIFICATE----- diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/ca1.srl b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/ca1.srl new file mode 100644 index 0000000000..70cf367af0 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/ca1.srl @@ -0,0 +1 @@ +3E06961A3BF9A866A6B46A1B073A63C2724BC6FE diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/ca2.der b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/ca2.der new file mode 100644 index 0000000000..6b9c71ae2a Binary files /dev/null and b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/ca2.der differ diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/ca2.key b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/ca2.key new file mode 100644 index 0000000000..e3a35794d6 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/ca2.key @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg3I9cmXU6N9smj0tS +5KE93F7Ta86Vf9hk+zceBFcbYyahRANCAAR8eVnLlMYMDtzU2V/AGukRPX2XcQst +5TAZXY2QgC26sj6C6t8C21nzNQonnX6G7x+c01ViJlrfJYw/pVs0pmwS +-----END PRIVATE KEY----- diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/ca2.pem b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/ca2.pem new file mode 100644 index 0000000000..0962001a8d --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/ca2.pem @@ -0,0 +1,11 @@ +-----BEGIN CERTIFICATE----- +MIIBljCCATugAwIBAgIUSyK+aPKR38PqeT0TBDVEioHDDNowCgYIKoZIzj0EAwIw +GDEWMBQGA1UEAwwNczExIHRlc3QgQ0EgMjAeFw0yNjEwMTExMjE0NTNaFw0yNjEw +MTQxMjE0NTNaMBgxFjAUBgNVBAMMDXMxMSB0ZXN0IENBIDIwWTATBgcqhkjOPQIB +BggqhkjOPQMBBwNCAAR8eVnLlMYMDtzU2V/AGukRPX2XcQst5TAZXY2QgC26sj6C +6t8C21nzNQonnX6G7x+c01ViJlrfJYw/pVs0pmwSo2MwYTAdBgNVHQ4EFgQULgtT +e14HN8LcyUAZVpLE48OIYh8wHwYDVR0jBBgwFoAULgtTe14HN8LcyUAZVpLE48OI +Yh8wDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwCgYIKoZIzj0EAwID +SQAwRgIhAP8c3pL0ffUzDa2dNBv1ql0reGGd8DazgLDTMjProQogAiEAm1Fm1tOl +ov1aQ5pfX8qUNJptudhXMX5afzkuYiIne6I= +-----END CERTIFICATE----- diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/ca2.srl b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/ca2.srl new file mode 100644 index 0000000000..f999bbb5bd --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/ca2.srl @@ -0,0 +1 @@ +292F817667ED0FC08EE3BA249611A753DB0360D7 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/leaf.ext b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/leaf.ext new file mode 100644 index 0000000000..ff2f62709c --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/leaf.ext @@ -0,0 +1,4 @@ +basicConstraints=CA:FALSE +keyUsage=critical,digitalSignature +extendedKeyUsage=serverAuth +subjectAltName=DNS:localhost,IP:127.0.0.1 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/leafA.csr b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/leafA.csr new file mode 100644 index 0000000000..f6fd752921 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/leafA.csr @@ -0,0 +1,7 @@ +-----BEGIN CERTIFICATE REQUEST----- +MIHPMHYCAQAwFDESMBAGA1UEAwwJbG9jYWxob3N0MFkwEwYHKoZIzj0CAQYIKoZI +zj0DAQcDQgAEpTF/vHbfcc9SXjLMJsd2ZtGPZ9WJHckWP3ouGyqVGYMb/FKBIfLE +rq9jmD9XoiQx13ZuhlnnmL7ot2cQFZvG6KAAMAoGCCqGSM49BAMCA0kAMEYCIQDO +/RiUafPcnXkpH+j1b9pkVFfIScK5X2oIMAzj50k0vwIhAIRNlvjW1w+8A15eB9b3 +P04tsxeBTt85xGpRduQS0RGb +-----END CERTIFICATE REQUEST----- diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/leafA.key b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/leafA.key new file mode 100644 index 0000000000..ec4297a673 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/leafA.key @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgrlGWRSWhCleCDs1+ +aUvgeC2P5WPRhc0rx50RmfzKR5+hRANCAASlMX+8dt9xz1JeMswmx3Zm0Y9n1Ykd +yRY/ei4bKpUZgxv8UoEh8sSur2OYP1eiJDHXdm6GWeeYvui3ZxAVm8bo +-----END PRIVATE KEY----- diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/leafA.pem b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/leafA.pem new file mode 100644 index 0000000000..db47b86d69 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/leafA.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIBvTCCAWSgAwIBAgIUPgaWGjv5qGamtGobBzpjwnJLxv0wCgYIKoZIzj0EAwIw +GDEWMBQGA1UEAwwNczExIHRlc3QgQ0EgMTAeFw0yNjEwMTExMjE0NTNaFw0yNjEw +MTQxMjE0NTNaMBQxEjAQBgNVBAMMCWxvY2FsaG9zdDBZMBMGByqGSM49AgEGCCqG +SM49AwEHA0IABKUxf7x233HPUl4yzCbHdmbRj2fViR3JFj96LhsqlRmDG/xSgSHy +xK6vY5g/V6IkMdd2boZZ55i+6LdnEBWbxuijgY8wgYwwCQYDVR0TBAIwADAOBgNV +HQ8BAf8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwEwGgYDVR0RBBMwEYIJbG9j +YWxob3N0hwR/AAABMB0GA1UdDgQWBBQ5R4IPi54EA6INZCUjYX0ICPsPvjAfBgNV +HSMEGDAWgBQuzJRFM/Sw+hAkZN8dRkSOkoXLIzAKBggqhkjOPQQDAgNHADBEAiAZ +takN/H+t6eX0V8+ZGm6bYll9o3aszkottNyK05fCegIgJuPNSx454WZH06FVxfmE +pdyTRcvrUSAwjIf98H1RK2w= +-----END CERTIFICATE----- diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/leafB.csr b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/leafB.csr new file mode 100644 index 0000000000..38f328bdf3 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/leafB.csr @@ -0,0 +1,7 @@ +-----BEGIN CERTIFICATE REQUEST----- +MIHNMHYCAQAwFDESMBAGA1UEAwwJbG9jYWxob3N0MFkwEwYHKoZIzj0CAQYIKoZI +zj0DAQcDQgAEo4PpOd7j5xbqMwUhjrrGwpDr8KX066MZbzsVxsX5JtapHDVnOgQw +f5HMlRWB2H1HoSP+GJ0I3Eo9TfyLrKWOhaAAMAoGCCqGSM49BAMCA0cAMEQCICu1 +BuBAMd7hTna8Ec2Eya276Nz1B7E4GdWckwLcVpZlAiAHWn3TFa2j7Qi10oFj0DsL +ieGeM80YTAV27TQs0a5N7g== +-----END CERTIFICATE REQUEST----- diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/leafB.key b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/leafB.key new file mode 100644 index 0000000000..9e3731643d --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/leafB.key @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgHzql6658+qUqkyBd +4+KXz+zYS2i2pc/0MpDs4dENkxOhRANCAASjg+k53uPnFuozBSGOusbCkOvwpfTr +oxlvOxXGxfkm1qkcNWc6BDB/kcyVFYHYfUehI/4YnQjcSj1N/IuspY6F +-----END PRIVATE KEY----- diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/leafB.pem b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/leafB.pem new file mode 100644 index 0000000000..d68c47e148 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/leafB.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIBvzCCAWSgAwIBAgIUPgaWGjv5qGamtGobBzpjwnJLxv4wCgYIKoZIzj0EAwIw +GDEWMBQGA1UEAwwNczExIHRlc3QgQ0EgMTAeFw0yNjEwMTExMjE0NTNaFw0yNjEw +MTQxMjE0NTNaMBQxEjAQBgNVBAMMCWxvY2FsaG9zdDBZMBMGByqGSM49AgEGCCqG +SM49AwEHA0IABKOD6Tne4+cW6jMFIY66xsKQ6/Cl9OujGW87FcbF+SbWqRw1ZzoE +MH+RzJUVgdh9R6Ej/hidCNxKPU38i6yljoWjgY8wgYwwCQYDVR0TBAIwADAOBgNV +HQ8BAf8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwEwGgYDVR0RBBMwEYIJbG9j +YWxob3N0hwR/AAABMB0GA1UdDgQWBBTctUbk7QTqj5AsmqG2sOJmlbemTTAfBgNV +HSMEGDAWgBQuzJRFM/Sw+hAkZN8dRkSOkoXLIzAKBggqhkjOPQQDAgNJADBGAiEA +8+s6zphqgpKSmV41zlEsycZVNy8roMytleXaQviGqwACIQCegtaWiMHkFaMAe88A +TI4RS7o0IykqSxmn28CcrZJV7w== +-----END CERTIFICATE----- diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/leafC.csr b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/leafC.csr new file mode 100644 index 0000000000..e28001d1dc --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/leafC.csr @@ -0,0 +1,7 @@ +-----BEGIN CERTIFICATE REQUEST----- +MIHNMHYCAQAwFDESMBAGA1UEAwwJbG9jYWxob3N0MFkwEwYHKoZIzj0CAQYIKoZI +zj0DAQcDQgAElTOi1meBLdDntW25X1Q0fIj98wW7WOT0hIMZ+Gf6/dXNA9+exI7/ +AwjtdM2wVS5X0XG261CRCrW/xoXvGBe6zqAAMAoGCCqGSM49BAMCA0cAMEQCIACx +DebhQJQUe259QCdGe+JProFnjw8Miuxie8PF8OZ5AiBKAw3Pw980TWAN/bMNfMwg +0YjkVnX5XuIxRig08jCHSQ== +-----END CERTIFICATE REQUEST----- diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/leafC.key b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/leafC.key new file mode 100644 index 0000000000..bc90ddc058 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/leafC.key @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgr2kGXOsZec8Xc8H8 ++uS7lQaI9Q1XHVZ5m0Fl3SBrRaahRANCAASVM6LWZ4Et0Oe1bblfVDR8iP3zBbtY +5PSEgxn4Z/r91c0D357Ejv8DCO10zbBVLlfRcbbrUJEKtb/Ghe8YF7rO +-----END PRIVATE KEY----- diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/leafC.pem b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/leafC.pem new file mode 100644 index 0000000000..0a2ba79564 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/gen/leafC.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIBvjCCAWSgAwIBAgIUKS+BdmftD8CO47oklhGnU9sDYNcwCgYIKoZIzj0EAwIw +GDEWMBQGA1UEAwwNczExIHRlc3QgQ0EgMjAeFw0yNjEwMTExMjE0NTNaFw0yNjEw +MTQxMjE0NTNaMBQxEjAQBgNVBAMMCWxvY2FsaG9zdDBZMBMGByqGSM49AgEGCCqG +SM49AwEHA0IABJUzotZngS3Q57VtuV9UNHyI/fMFu1jk9ISDGfhn+v3VzQPfnsSO +/wMI7XTNsFUuV9FxtutQkQq1v8aF7xgXus6jgY8wgYwwCQYDVR0TBAIwADAOBgNV +HQ8BAf8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwEwGgYDVR0RBBMwEYIJbG9j +YWxob3N0hwR/AAABMB0GA1UdDgQWBBR6ne/pFR6hlEG3yNY1yyx82QScRTAfBgNV +HSMEGDAWgBQuC1N7Xgc3wtzJQBlWksTjw4hiHzAKBggqhkjOPQQDAgNIADBFAiBu +ykJu/ZexW/KrJsa02DM3Bk9Sa0U8Q9QM/T7XLWc5JwIhAMITbmXKk2XAz6Xwlmco +LhggBhaNGbziZ0rHqVsf1EAx +-----END CERTIFICATE----- diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/live/leaf.key b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/live/leaf.key new file mode 100644 index 0000000000..9e3731643d --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/live/leaf.key @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgHzql6658+qUqkyBd +4+KXz+zYS2i2pc/0MpDs4dENkxOhRANCAASjg+k53uPnFuozBSGOusbCkOvwpfTr +oxlvOxXGxfkm1qkcNWc6BDB/kcyVFYHYfUehI/4YnQjcSj1N/IuspY6F +-----END PRIVATE KEY----- diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/live/leaf.key.bak-20261011T122827Z b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/live/leaf.key.bak-20261011T122827Z new file mode 100644 index 0000000000..9e3731643d --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/live/leaf.key.bak-20261011T122827Z @@ -0,0 +1,5 @@ +-----BEGIN PRIVATE KEY----- +MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgHzql6658+qUqkyBd +4+KXz+zYS2i2pc/0MpDs4dENkxOhRANCAASjg+k53uPnFuozBSGOusbCkOvwpfTr +oxlvOxXGxfkm1qkcNWc6BDB/kcyVFYHYfUehI/4YnQjcSj1N/IuspY6F +-----END PRIVATE KEY----- diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/live/leaf.pem b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/live/leaf.pem new file mode 100644 index 0000000000..d68c47e148 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/live/leaf.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIBvzCCAWSgAwIBAgIUPgaWGjv5qGamtGobBzpjwnJLxv4wCgYIKoZIzj0EAwIw +GDEWMBQGA1UEAwwNczExIHRlc3QgQ0EgMTAeFw0yNjEwMTExMjE0NTNaFw0yNjEw +MTQxMjE0NTNaMBQxEjAQBgNVBAMMCWxvY2FsaG9zdDBZMBMGByqGSM49AgEGCCqG +SM49AwEHA0IABKOD6Tne4+cW6jMFIY66xsKQ6/Cl9OujGW87FcbF+SbWqRw1ZzoE +MH+RzJUVgdh9R6Ej/hidCNxKPU38i6yljoWjgY8wgYwwCQYDVR0TBAIwADAOBgNV +HQ8BAf8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwEwGgYDVR0RBBMwEYIJbG9j +YWxob3N0hwR/AAABMB0GA1UdDgQWBBTctUbk7QTqj5AsmqG2sOJmlbemTTAfBgNV +HSMEGDAWgBQuzJRFM/Sw+hAkZN8dRkSOkoXLIzAKBggqhkjOPQQDAgNJADBGAiEA +8+s6zphqgpKSmV41zlEsycZVNy8roMytleXaQviGqwACIQCegtaWiMHkFaMAe88A +TI4RS7o0IykqSxmn28CcrZJV7w== +-----END CERTIFICATE----- diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/live/leaf.pem.bak-20261011T122827Z b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/live/leaf.pem.bak-20261011T122827Z new file mode 100644 index 0000000000..d68c47e148 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/certs/live/leaf.pem.bak-20261011T122827Z @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIBvzCCAWSgAwIBAgIUPgaWGjv5qGamtGobBzpjwnJLxv4wCgYIKoZIzj0EAwIw +GDEWMBQGA1UEAwwNczExIHRlc3QgQ0EgMTAeFw0yNjEwMTExMjE0NTNaFw0yNjEw +MTQxMjE0NTNaMBQxEjAQBgNVBAMMCWxvY2FsaG9zdDBZMBMGByqGSM49AgEGCCqG +SM49AwEHA0IABKOD6Tne4+cW6jMFIY66xsKQ6/Cl9OujGW87FcbF+SbWqRw1ZzoE +MH+RzJUVgdh9R6Ej/hidCNxKPU38i6yljoWjgY8wgYwwCQYDVR0TBAIwADAOBgNV +HQ8BAf8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwEwGgYDVR0RBBMwEYIJbG9j +YWxob3N0hwR/AAABMB0GA1UdDgQWBBTctUbk7QTqj5AsmqG2sOJmlbemTTAfBgNV +HSMEGDAWgBQuzJRFM/Sw+hAkZN8dRkSOkoXLIzAKBggqhkjOPQQDAgNJADBGAiEA +8+s6zphqgpKSmV41zlEsycZVNy8roMytleXaQviGqwACIQCegtaWiMHkFaMAe88A +TI4RS7o0IykqSxmn28CcrZJV7w== +-----END CERTIFICATE----- diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/config/broken.toml b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/config/broken.toml new file mode 100644 index 0000000000..ec9ee120a2 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/config/broken.toml @@ -0,0 +1 @@ +http_bind_addr = diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/config/idle-r1.toml b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/config/idle-r1.toml new file mode 100644 index 0000000000..5b6fd582aa --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/config/idle-r1.toml @@ -0,0 +1,4 @@ +# Scenario 4 relay 1 (derived from tunnel.toml, local ports). +http_bind_addr = "127.0.0.1:19111" +enable_quic_addr_discovery = false +metrics_bind_addr = "127.0.0.1:19211" diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/config/idle-r2.toml b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/config/idle-r2.toml new file mode 100644 index 0000000000..0c43872d5e --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/config/idle-r2.toml @@ -0,0 +1,4 @@ +# Scenario 4 relay 2 (derived from tunnel.toml, local ports). +http_bind_addr = "127.0.0.1:19112" +enable_quic_addr_discovery = false +metrics_bind_addr = "127.0.0.1:19212" diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/config/legacy-secret-key.toml b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/config/legacy-secret-key.toml new file mode 100644 index 0000000000..f765719c54 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/config/legacy-secret-key.toml @@ -0,0 +1,5 @@ +# Scenario 2: the pre-1.0 docs show a relay `secret_key`. This is the local variant with that key added. +http_bind_addr = "127.0.0.1:19131" +enable_quic_addr_discovery = false +metrics_bind_addr = "127.0.0.1:19231" +secret_key = "0000000000000000000000000000000000000000000000000000000000000001" diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/config/local.toml b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/config/local.toml new file mode 100644 index 0000000000..cbd68889a2 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/config/local.toml @@ -0,0 +1,5 @@ +# Derived from the kit's tunnel.toml (config/tunnel.kit.toml). Only the ports changed, to 19101/19201, +# so this runs on loopback with no clash. Tunnel shape: plain HTTP, no QUIC address discovery. +http_bind_addr = "127.0.0.1:19101" +enable_quic_addr_discovery = false +metrics_bind_addr = "127.0.0.1:19201" diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/config/shared-token.toml b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/config/shared-token.toml new file mode 100644 index 0000000000..60507a41aa --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/config/shared-token.toml @@ -0,0 +1,5 @@ +# Derived from tunnel.toml with the kit's commented [access] block turned on (scenario 5). +http_bind_addr = "127.0.0.1:19141" +enable_quic_addr_discovery = false +metrics_bind_addr = "127.0.0.1:19241" +access.shared_token = ["s11-test-token-not-secret"] diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/config/tls-manual.toml b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/config/tls-manual.toml new file mode 100644 index 0000000000..5f0dffb46f --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/config/tls-manual.toml @@ -0,0 +1,12 @@ +# Scenario 3 and 2: TLS with Manual cert mode, derived from the kit's vps.toml shape (local ports). +# Cert and key paths are read once at startup. +http_bind_addr = "127.0.0.1:19122" +enable_quic_addr_discovery = false +metrics_bind_addr = "127.0.0.1:19221" + +[tls] +https_bind_addr = "127.0.0.1:19121" +hostname = "localhost" +cert_mode = "Manual" +manual_cert_path = "certs/live/leaf.pem" +manual_key_path = "certs/live/leaf.key" diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/config/tls-reloading.toml b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/config/tls-reloading.toml new file mode 100644 index 0000000000..4e71b117f5 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/config/tls-reloading.toml @@ -0,0 +1,12 @@ +# Scenario 3: TLS with Reloading cert mode (same ports and paths as tls-manual.toml). +# Cert and key paths are read once at startup. +http_bind_addr = "127.0.0.1:19122" +enable_quic_addr_discovery = false +metrics_bind_addr = "127.0.0.1:19221" + +[tls] +https_bind_addr = "127.0.0.1:19121" +hostname = "localhost" +cert_mode = "Reloading" +manual_cert_path = "certs/live/leaf.pem" +manual_key_path = "certs/live/leaf.key" diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/config/tunnel.kit.toml b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/config/tunnel.kit.toml new file mode 100644 index 0000000000..86c5015b4b --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/config/tunnel.kit.toml @@ -0,0 +1,17 @@ +# iroh-relay, Cloudflare Tunnel mode (setup A in the connectivity design). +# +# Plain HTTP on loopback. cloudflared terminates TLS at Cloudflare's edge and forwards to +# this address, so the relay needs no certificate and no open inbound port. +# +# QUIC address discovery needs UDP, which Tunnel does not carry, so it stays off. Clients +# using this relay must build its RelayConfig with no QUIC port (RelayConfig::new(url, None)). +http_bind_addr = "127.0.0.1:3340" +enable_quic_addr_discovery = false + +# The metrics endpoint defaults to [::]:9090, which is public. Keep it on loopback. +metrics_bind_addr = "127.0.0.1:9090" + +# Optional abuse control. Clients must then send one of these tokens, as a Bearer header or +# as ?token=. Check the key names against iroh-relay's access config before enabling it. +# [access] +# shared_token = ["replace-with-a-long-random-token"] diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/config/typo-test.toml b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/config/typo-test.toml new file mode 100644 index 0000000000..0580a22049 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/config/typo-test.toml @@ -0,0 +1,2 @@ +http_bind_addr = "127.0.0.1:19151" +enable_quic_adr_discovery = true diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/idle-driver.log b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/idle-driver.log new file mode 100644 index 0000000000..f7d70665a9 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/idle-driver.log @@ -0,0 +1,29 @@ +2026-10-11T12:19:40.486199Z  INFO relay-actor: iroh::socket::transports::relay::actor: home is now relay http://127.0.0.1:19112/, was None +2026-10-11T12:19:40.486311Z DEBUG relay-actor: iroh::socket::transports::relay::actor: Adding relay connection url=RelayUrl("http://127.0.0.1:19112/") +2026-10-11T12:19:40.486438Z DEBUG relay-actor: iroh::socket::transports::relay::actor: 0 active relay conns +2026-10-11T12:19:40.486463Z DEBUG relay-actor: iroh::socket::transports::relay::actor: 1 active relay conns: relay-http://127.0.0.1:19112/ +2026-10-11T12:19:40.486795Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19112/}:dialing: iroh::_events::relay::home_changed: url=http://127.0.0.1:19112/ home_relay=true +2026-10-11T12:19:40.487779Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19112/}:connected: iroh::_events::relay::connected: url=http://127.0.0.1:19112/ home_relay=true +2026-10-11T12:19:40.695724Z  INFO relay-actor: iroh::socket::transports::relay::actor: home is now relay http://127.0.0.1:19111/, was None +2026-10-11T12:19:40.695821Z DEBUG relay-actor: iroh::socket::transports::relay::actor: Adding relay connection url=RelayUrl("http://127.0.0.1:19111/") +2026-10-11T12:19:40.695947Z DEBUG relay-actor: iroh::socket::transports::relay::actor: 0 active relay conns +2026-10-11T12:19:40.695975Z DEBUG relay-actor: iroh::socket::transports::relay::actor: 1 active relay conns: relay-http://127.0.0.1:19111/ +2026-10-11T12:19:40.696496Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19111/}:dialing: iroh::_events::relay::home_changed: url=http://127.0.0.1:19111/ home_relay=true +2026-10-11T12:19:40.697276Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19111/}:connected: iroh::_events::relay::connected: url=http://127.0.0.1:19111/ home_relay=true +2026-10-11T12:19:40.697359Z  INFO s11: A is homed on the first relay and reaches B through the second home_a=http://127.0.0.1:19112/ non_home=http://127.0.0.1:19111/ +2026-10-11T12:19:40.699197Z DEBUG relay-actor: iroh::socket::transports::relay::actor: Adding relay connection url=RelayUrl("http://127.0.0.1:19111/") +2026-10-11T12:19:40.699418Z DEBUG relay-actor: iroh::socket::transports::relay::actor: 1 active relay conns: relay-http://127.0.0.1:19112/ +2026-10-11T12:19:40.699460Z DEBUG relay-actor: iroh::socket::transports::relay::actor: 2 active relay conns: relay-http://127.0.0.1:19111/ relay-http://127.0.0.1:19112/ +2026-10-11T12:19:40.701188Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19111/}:connected: iroh::_events::relay::connected: url=http://127.0.0.1:19111/ home_relay=false +2026-10-11T12:19:40.733813Z  INFO s11: one frame echoed; no application traffic from here on +2026-10-11T12:20:50.736111Z  INFO s11: 70 s idle: QUIC still open (5 s keep-alives) open=true +2026-10-11T12:20:50.736339Z  INFO s11: closed the QUIC connection; this is the last datagram A sends to the non-home relay +2026-10-11T12:21:50.738239Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19111/}:connected: iroh::socket::transports::relay::actor: Inactive for 60s, exiting (running). +2026-10-11T12:21:50.739111Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19111/}: iroh::socket::transports::relay::actor: exiting +2026-10-11T12:21:50.739393Z DEBUG relay-actor: iroh::socket::transports::relay::actor: 1 active relay conns: relay-http://127.0.0.1:19112/ +2026-10-11T12:23:20.741007Z  INFO s11: home relay status changes over the whole run (time, connected) transitions=[(Instant { tv_sec: 18818, tv_nsec: 136495521 }, true)] +2026-10-11T12:23:20.753368Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19112/}: iroh::socket::transports::relay::actor: Lost connection to relay server: Stream closed by server. +2026-10-11T12:23:20.754161Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19112/}: iroh::socket::transports::relay::actor: Failed to connect to relay server: unable to connect: Connection refused (os error 111) +2026-10-11T12:23:20.754248Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19112/}: iroh::socket::transports::relay::actor: retry in 18.392756ms +2026-10-11T12:23:20.772325Z ERROR iroh::socket: Endpoint dropped without calling `Endpoint::close`. Aborting ungracefully. +2026-10-11T12:23:20.772490Z ERROR iroh::socket: Endpoint dropped without calling `Endpoint::close`. Aborting ungracefully. diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/idle-metrics.log b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/idle-metrics.log new file mode 100644 index 0000000000..c30892fadb --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/idle-metrics.log @@ -0,0 +1,528 @@ +12:19:40 :19211 relayserver_send_packets_sent_total 0 +12:19:40 :19211 relayserver_send_packets_recv_total 0 +12:19:40 :19211 relayserver_got_ping_total 0 +12:19:40 :19211 relayserver_sent_pong_total 0 +12:19:40 :19211 relayserver_accepts_total 0 +12:19:40 :19211 relayserver_disconnects_total 0 +12:19:40 :19212 relayserver_send_packets_sent_total 0 +12:19:40 :19212 relayserver_send_packets_recv_total 0 +12:19:40 :19212 relayserver_got_ping_total 0 +12:19:40 :19212 relayserver_sent_pong_total 0 +12:19:40 :19212 relayserver_accepts_total 0 +12:19:40 :19212 relayserver_disconnects_total 0 +12:19:45 :19211 relayserver_send_packets_sent_total 26 +12:19:45 :19211 relayserver_send_packets_recv_total 26 +12:19:45 :19211 relayserver_got_ping_total 2 +12:19:45 :19211 relayserver_sent_pong_total 2 +12:19:45 :19211 relayserver_accepts_total 2 +12:19:45 :19211 relayserver_disconnects_total 0 +12:19:45 :19212 relayserver_send_packets_sent_total 0 +12:19:45 :19212 relayserver_send_packets_recv_total 0 +12:19:45 :19212 relayserver_got_ping_total 1 +12:19:45 :19212 relayserver_sent_pong_total 1 +12:19:45 :19212 relayserver_accepts_total 1 +12:19:45 :19212 relayserver_disconnects_total 0 +12:19:50 :19211 relayserver_send_packets_sent_total 30 +12:19:50 :19211 relayserver_send_packets_recv_total 30 +12:19:50 :19211 relayserver_got_ping_total 2 +12:19:50 :19211 relayserver_sent_pong_total 2 +12:19:50 :19211 relayserver_accepts_total 2 +12:19:50 :19211 relayserver_disconnects_total 0 +12:19:50 :19212 relayserver_send_packets_sent_total 0 +12:19:50 :19212 relayserver_send_packets_recv_total 0 +12:19:50 :19212 relayserver_got_ping_total 1 +12:19:50 :19212 relayserver_sent_pong_total 1 +12:19:50 :19212 relayserver_accepts_total 1 +12:19:50 :19212 relayserver_disconnects_total 0 +12:19:55 :19211 relayserver_send_packets_sent_total 34 +12:19:55 :19211 relayserver_send_packets_recv_total 34 +12:19:55 :19211 relayserver_got_ping_total 2 +12:19:55 :19211 relayserver_sent_pong_total 2 +12:19:55 :19211 relayserver_accepts_total 2 +12:19:55 :19211 relayserver_disconnects_total 0 +12:19:55 :19212 relayserver_send_packets_sent_total 0 +12:19:55 :19212 relayserver_send_packets_recv_total 0 +12:19:55 :19212 relayserver_got_ping_total 1 +12:19:55 :19212 relayserver_sent_pong_total 1 +12:19:55 :19212 relayserver_accepts_total 1 +12:19:55 :19212 relayserver_disconnects_total 0 +12:20:00 :19211 relayserver_send_packets_sent_total 36 +12:20:00 :19211 relayserver_send_packets_recv_total 36 +12:20:00 :19211 relayserver_got_ping_total 2 +12:20:00 :19211 relayserver_sent_pong_total 2 +12:20:00 :19211 relayserver_accepts_total 2 +12:20:00 :19211 relayserver_disconnects_total 0 +12:20:00 :19212 relayserver_send_packets_sent_total 0 +12:20:00 :19212 relayserver_send_packets_recv_total 0 +12:20:00 :19212 relayserver_got_ping_total 2 +12:20:00 :19212 relayserver_sent_pong_total 2 +12:20:00 :19212 relayserver_accepts_total 1 +12:20:00 :19212 relayserver_disconnects_total 0 +12:20:05 :19211 relayserver_send_packets_sent_total 40 +12:20:05 :19211 relayserver_send_packets_recv_total 40 +12:20:05 :19211 relayserver_got_ping_total 2 +12:20:05 :19211 relayserver_sent_pong_total 2 +12:20:05 :19211 relayserver_accepts_total 2 +12:20:05 :19211 relayserver_disconnects_total 0 +12:20:05 :19212 relayserver_send_packets_sent_total 0 +12:20:05 :19212 relayserver_send_packets_recv_total 0 +12:20:05 :19212 relayserver_got_ping_total 2 +12:20:05 :19212 relayserver_sent_pong_total 2 +12:20:05 :19212 relayserver_accepts_total 1 +12:20:05 :19212 relayserver_disconnects_total 0 +12:20:10 :19211 relayserver_send_packets_sent_total 44 +12:20:10 :19211 relayserver_send_packets_recv_total 44 +12:20:10 :19211 relayserver_got_ping_total 2 +12:20:10 :19211 relayserver_sent_pong_total 2 +12:20:10 :19211 relayserver_accepts_total 2 +12:20:10 :19211 relayserver_disconnects_total 0 +12:20:10 :19212 relayserver_send_packets_sent_total 0 +12:20:10 :19212 relayserver_send_packets_recv_total 0 +12:20:10 :19212 relayserver_got_ping_total 2 +12:20:10 :19212 relayserver_sent_pong_total 2 +12:20:10 :19212 relayserver_accepts_total 1 +12:20:10 :19212 relayserver_disconnects_total 0 +12:20:15 :19211 relayserver_send_packets_sent_total 48 +12:20:15 :19211 relayserver_send_packets_recv_total 48 +12:20:15 :19211 relayserver_got_ping_total 2 +12:20:15 :19211 relayserver_sent_pong_total 2 +12:20:15 :19211 relayserver_accepts_total 2 +12:20:15 :19211 relayserver_disconnects_total 0 +12:20:15 :19212 relayserver_send_packets_sent_total 0 +12:20:15 :19212 relayserver_send_packets_recv_total 0 +12:20:15 :19212 relayserver_got_ping_total 3 +12:20:15 :19212 relayserver_sent_pong_total 3 +12:20:15 :19212 relayserver_accepts_total 1 +12:20:15 :19212 relayserver_disconnects_total 0 +12:20:20 :19211 relayserver_send_packets_sent_total 52 +12:20:20 :19211 relayserver_send_packets_recv_total 52 +12:20:20 :19211 relayserver_got_ping_total 2 +12:20:20 :19211 relayserver_sent_pong_total 2 +12:20:20 :19211 relayserver_accepts_total 2 +12:20:20 :19211 relayserver_disconnects_total 0 +12:20:20 :19212 relayserver_send_packets_sent_total 0 +12:20:20 :19212 relayserver_send_packets_recv_total 0 +12:20:20 :19212 relayserver_got_ping_total 3 +12:20:20 :19212 relayserver_sent_pong_total 3 +12:20:20 :19212 relayserver_accepts_total 1 +12:20:20 :19212 relayserver_disconnects_total 0 +12:20:25 :19211 relayserver_send_packets_sent_total 56 +12:20:25 :19211 relayserver_send_packets_recv_total 56 +12:20:25 :19211 relayserver_got_ping_total 2 +12:20:25 :19211 relayserver_sent_pong_total 2 +12:20:25 :19211 relayserver_accepts_total 2 +12:20:25 :19211 relayserver_disconnects_total 0 +12:20:25 :19212 relayserver_send_packets_sent_total 0 +12:20:25 :19212 relayserver_send_packets_recv_total 0 +12:20:25 :19212 relayserver_got_ping_total 4 +12:20:25 :19212 relayserver_sent_pong_total 4 +12:20:25 :19212 relayserver_accepts_total 1 +12:20:25 :19212 relayserver_disconnects_total 0 +12:20:30 :19211 relayserver_send_packets_sent_total 60 +12:20:30 :19211 relayserver_send_packets_recv_total 60 +12:20:30 :19211 relayserver_got_ping_total 2 +12:20:30 :19211 relayserver_sent_pong_total 2 +12:20:30 :19211 relayserver_accepts_total 2 +12:20:30 :19211 relayserver_disconnects_total 0 +12:20:30 :19212 relayserver_send_packets_sent_total 0 +12:20:30 :19212 relayserver_send_packets_recv_total 0 +12:20:30 :19212 relayserver_got_ping_total 4 +12:20:30 :19212 relayserver_sent_pong_total 4 +12:20:30 :19212 relayserver_accepts_total 1 +12:20:30 :19212 relayserver_disconnects_total 0 +12:20:35 :19211 relayserver_send_packets_sent_total 64 +12:20:35 :19211 relayserver_send_packets_recv_total 64 +12:20:35 :19211 relayserver_got_ping_total 2 +12:20:35 :19211 relayserver_sent_pong_total 2 +12:20:35 :19211 relayserver_accepts_total 2 +12:20:35 :19211 relayserver_disconnects_total 0 +12:20:35 :19212 relayserver_send_packets_sent_total 0 +12:20:35 :19212 relayserver_send_packets_recv_total 0 +12:20:35 :19212 relayserver_got_ping_total 4 +12:20:35 :19212 relayserver_sent_pong_total 4 +12:20:35 :19212 relayserver_accepts_total 1 +12:20:35 :19212 relayserver_disconnects_total 0 +12:20:40 :19211 relayserver_send_packets_sent_total 71 +12:20:40 :19211 relayserver_send_packets_recv_total 71 +12:20:40 :19211 relayserver_got_ping_total 2 +12:20:40 :19211 relayserver_sent_pong_total 2 +12:20:40 :19211 relayserver_accepts_total 2 +12:20:40 :19211 relayserver_disconnects_total 0 +12:20:40 :19212 relayserver_send_packets_sent_total 0 +12:20:40 :19212 relayserver_send_packets_recv_total 0 +12:20:40 :19212 relayserver_got_ping_total 5 +12:20:40 :19212 relayserver_sent_pong_total 5 +12:20:40 :19212 relayserver_accepts_total 1 +12:20:40 :19212 relayserver_disconnects_total 0 +12:20:45 :19211 relayserver_send_packets_sent_total 73 +12:20:45 :19211 relayserver_send_packets_recv_total 73 +12:20:45 :19211 relayserver_got_ping_total 2 +12:20:45 :19211 relayserver_sent_pong_total 2 +12:20:45 :19211 relayserver_accepts_total 2 +12:20:45 :19211 relayserver_disconnects_total 0 +12:20:45 :19212 relayserver_send_packets_sent_total 0 +12:20:45 :19212 relayserver_send_packets_recv_total 0 +12:20:45 :19212 relayserver_got_ping_total 5 +12:20:45 :19212 relayserver_sent_pong_total 5 +12:20:45 :19212 relayserver_accepts_total 1 +12:20:45 :19212 relayserver_disconnects_total 0 +12:20:50 :19211 relayserver_send_packets_sent_total 79 +12:20:50 :19211 relayserver_send_packets_recv_total 79 +12:20:50 :19211 relayserver_got_ping_total 2 +12:20:50 :19211 relayserver_sent_pong_total 2 +12:20:50 :19211 relayserver_accepts_total 2 +12:20:50 :19211 relayserver_disconnects_total 0 +12:20:50 :19212 relayserver_send_packets_sent_total 0 +12:20:50 :19212 relayserver_send_packets_recv_total 0 +12:20:50 :19212 relayserver_got_ping_total 5 +12:20:50 :19212 relayserver_sent_pong_total 5 +12:20:50 :19212 relayserver_accepts_total 1 +12:20:50 :19212 relayserver_disconnects_total 0 +12:20:55 :19211 relayserver_send_packets_sent_total 79 +12:20:55 :19211 relayserver_send_packets_recv_total 79 +12:20:55 :19211 relayserver_got_ping_total 2 +12:20:55 :19211 relayserver_sent_pong_total 2 +12:20:55 :19211 relayserver_accepts_total 2 +12:20:55 :19211 relayserver_disconnects_total 0 +12:20:55 :19212 relayserver_send_packets_sent_total 0 +12:20:55 :19212 relayserver_send_packets_recv_total 0 +12:20:55 :19212 relayserver_got_ping_total 6 +12:20:55 :19212 relayserver_sent_pong_total 6 +12:20:55 :19212 relayserver_accepts_total 1 +12:20:55 :19212 relayserver_disconnects_total 0 +12:21:00 :19211 relayserver_send_packets_sent_total 79 +12:21:00 :19211 relayserver_send_packets_recv_total 79 +12:21:00 :19211 relayserver_got_ping_total 2 +12:21:00 :19211 relayserver_sent_pong_total 2 +12:21:00 :19211 relayserver_accepts_total 2 +12:21:00 :19211 relayserver_disconnects_total 0 +12:21:00 :19212 relayserver_send_packets_sent_total 0 +12:21:00 :19212 relayserver_send_packets_recv_total 0 +12:21:00 :19212 relayserver_got_ping_total 6 +12:21:00 :19212 relayserver_sent_pong_total 6 +12:21:00 :19212 relayserver_accepts_total 1 +12:21:00 :19212 relayserver_disconnects_total 0 +12:21:05 :19211 relayserver_send_packets_sent_total 79 +12:21:05 :19211 relayserver_send_packets_recv_total 79 +12:21:05 :19211 relayserver_got_ping_total 4 +12:21:05 :19211 relayserver_sent_pong_total 4 +12:21:05 :19211 relayserver_accepts_total 2 +12:21:05 :19211 relayserver_disconnects_total 0 +12:21:05 :19212 relayserver_send_packets_sent_total 0 +12:21:05 :19212 relayserver_send_packets_recv_total 0 +12:21:05 :19212 relayserver_got_ping_total 6 +12:21:05 :19212 relayserver_sent_pong_total 6 +12:21:05 :19212 relayserver_accepts_total 1 +12:21:05 :19212 relayserver_disconnects_total 0 +12:21:11 :19211 relayserver_send_packets_sent_total 79 +12:21:11 :19211 relayserver_send_packets_recv_total 79 +12:21:11 :19211 relayserver_got_ping_total 4 +12:21:11 :19211 relayserver_sent_pong_total 4 +12:21:11 :19211 relayserver_accepts_total 2 +12:21:11 :19211 relayserver_disconnects_total 0 +12:21:11 :19212 relayserver_send_packets_sent_total 0 +12:21:11 :19212 relayserver_send_packets_recv_total 0 +12:21:11 :19212 relayserver_got_ping_total 7 +12:21:11 :19212 relayserver_sent_pong_total 7 +12:21:11 :19212 relayserver_accepts_total 1 +12:21:11 :19212 relayserver_disconnects_total 0 +12:21:16 :19211 relayserver_send_packets_sent_total 79 +12:21:16 :19211 relayserver_send_packets_recv_total 79 +12:21:16 :19211 relayserver_got_ping_total 4 +12:21:16 :19211 relayserver_sent_pong_total 4 +12:21:16 :19211 relayserver_accepts_total 2 +12:21:16 :19211 relayserver_disconnects_total 0 +12:21:16 :19212 relayserver_send_packets_sent_total 0 +12:21:16 :19212 relayserver_send_packets_recv_total 0 +12:21:16 :19212 relayserver_got_ping_total 7 +12:21:16 :19212 relayserver_sent_pong_total 7 +12:21:16 :19212 relayserver_accepts_total 1 +12:21:16 :19212 relayserver_disconnects_total 0 +12:21:21 :19211 relayserver_send_packets_sent_total 79 +12:21:21 :19211 relayserver_send_packets_recv_total 79 +12:21:21 :19211 relayserver_got_ping_total 6 +12:21:21 :19211 relayserver_sent_pong_total 6 +12:21:21 :19211 relayserver_accepts_total 2 +12:21:21 :19211 relayserver_disconnects_total 0 +12:21:21 :19212 relayserver_send_packets_sent_total 0 +12:21:21 :19212 relayserver_send_packets_recv_total 0 +12:21:21 :19212 relayserver_got_ping_total 7 +12:21:21 :19212 relayserver_sent_pong_total 7 +12:21:21 :19212 relayserver_accepts_total 1 +12:21:21 :19212 relayserver_disconnects_total 0 +12:21:26 :19211 relayserver_send_packets_sent_total 79 +12:21:26 :19211 relayserver_send_packets_recv_total 79 +12:21:26 :19211 relayserver_got_ping_total 6 +12:21:26 :19211 relayserver_sent_pong_total 6 +12:21:26 :19211 relayserver_accepts_total 2 +12:21:26 :19211 relayserver_disconnects_total 0 +12:21:26 :19212 relayserver_send_packets_sent_total 0 +12:21:26 :19212 relayserver_send_packets_recv_total 0 +12:21:26 :19212 relayserver_got_ping_total 8 +12:21:26 :19212 relayserver_sent_pong_total 8 +12:21:26 :19212 relayserver_accepts_total 1 +12:21:26 :19212 relayserver_disconnects_total 0 +12:21:31 :19211 relayserver_send_packets_sent_total 79 +12:21:31 :19211 relayserver_send_packets_recv_total 79 +12:21:31 :19211 relayserver_got_ping_total 6 +12:21:31 :19211 relayserver_sent_pong_total 6 +12:21:31 :19211 relayserver_accepts_total 2 +12:21:31 :19211 relayserver_disconnects_total 0 +12:21:31 :19212 relayserver_send_packets_sent_total 0 +12:21:31 :19212 relayserver_send_packets_recv_total 0 +12:21:31 :19212 relayserver_got_ping_total 8 +12:21:31 :19212 relayserver_sent_pong_total 8 +12:21:31 :19212 relayserver_accepts_total 1 +12:21:31 :19212 relayserver_disconnects_total 0 +12:21:36 :19211 relayserver_send_packets_sent_total 79 +12:21:36 :19211 relayserver_send_packets_recv_total 79 +12:21:36 :19211 relayserver_got_ping_total 8 +12:21:36 :19211 relayserver_sent_pong_total 8 +12:21:36 :19211 relayserver_accepts_total 2 +12:21:36 :19211 relayserver_disconnects_total 0 +12:21:36 :19212 relayserver_send_packets_sent_total 0 +12:21:36 :19212 relayserver_send_packets_recv_total 0 +12:21:36 :19212 relayserver_got_ping_total 8 +12:21:36 :19212 relayserver_sent_pong_total 8 +12:21:36 :19212 relayserver_accepts_total 1 +12:21:36 :19212 relayserver_disconnects_total 0 +12:21:41 :19211 relayserver_send_packets_sent_total 79 +12:21:41 :19211 relayserver_send_packets_recv_total 79 +12:21:41 :19211 relayserver_got_ping_total 8 +12:21:41 :19211 relayserver_sent_pong_total 8 +12:21:41 :19211 relayserver_accepts_total 2 +12:21:41 :19211 relayserver_disconnects_total 0 +12:21:41 :19212 relayserver_send_packets_sent_total 0 +12:21:41 :19212 relayserver_send_packets_recv_total 0 +12:21:41 :19212 relayserver_got_ping_total 9 +12:21:41 :19212 relayserver_sent_pong_total 9 +12:21:41 :19212 relayserver_accepts_total 1 +12:21:41 :19212 relayserver_disconnects_total 0 +12:21:46 :19211 relayserver_send_packets_sent_total 79 +12:21:46 :19211 relayserver_send_packets_recv_total 79 +12:21:46 :19211 relayserver_got_ping_total 8 +12:21:46 :19211 relayserver_sent_pong_total 8 +12:21:46 :19211 relayserver_accepts_total 2 +12:21:46 :19211 relayserver_disconnects_total 0 +12:21:46 :19212 relayserver_send_packets_sent_total 0 +12:21:46 :19212 relayserver_send_packets_recv_total 0 +12:21:46 :19212 relayserver_got_ping_total 9 +12:21:46 :19212 relayserver_sent_pong_total 9 +12:21:46 :19212 relayserver_accepts_total 1 +12:21:46 :19212 relayserver_disconnects_total 0 +12:21:51 :19211 relayserver_send_packets_sent_total 79 +12:21:51 :19211 relayserver_send_packets_recv_total 79 +12:21:51 :19211 relayserver_got_ping_total 8 +12:21:51 :19211 relayserver_sent_pong_total 8 +12:21:51 :19211 relayserver_accepts_total 2 +12:21:51 :19211 relayserver_disconnects_total 1 +12:21:51 :19212 relayserver_send_packets_sent_total 0 +12:21:51 :19212 relayserver_send_packets_recv_total 0 +12:21:51 :19212 relayserver_got_ping_total 9 +12:21:51 :19212 relayserver_sent_pong_total 9 +12:21:51 :19212 relayserver_accepts_total 1 +12:21:51 :19212 relayserver_disconnects_total 0 +12:21:56 :19211 relayserver_send_packets_sent_total 79 +12:21:56 :19211 relayserver_send_packets_recv_total 79 +12:21:56 :19211 relayserver_got_ping_total 8 +12:21:56 :19211 relayserver_sent_pong_total 8 +12:21:56 :19211 relayserver_accepts_total 2 +12:21:56 :19211 relayserver_disconnects_total 1 +12:21:56 :19212 relayserver_send_packets_sent_total 0 +12:21:56 :19212 relayserver_send_packets_recv_total 0 +12:21:56 :19212 relayserver_got_ping_total 10 +12:21:56 :19212 relayserver_sent_pong_total 10 +12:21:56 :19212 relayserver_accepts_total 1 +12:21:56 :19212 relayserver_disconnects_total 0 +12:22:01 :19211 relayserver_send_packets_sent_total 79 +12:22:01 :19211 relayserver_send_packets_recv_total 79 +12:22:01 :19211 relayserver_got_ping_total 8 +12:22:01 :19211 relayserver_sent_pong_total 8 +12:22:01 :19211 relayserver_accepts_total 2 +12:22:01 :19211 relayserver_disconnects_total 1 +12:22:01 :19212 relayserver_send_packets_sent_total 0 +12:22:01 :19212 relayserver_send_packets_recv_total 0 +12:22:01 :19212 relayserver_got_ping_total 10 +12:22:01 :19212 relayserver_sent_pong_total 10 +12:22:01 :19212 relayserver_accepts_total 1 +12:22:01 :19212 relayserver_disconnects_total 0 +12:22:07 :19211 relayserver_send_packets_sent_total 79 +12:22:07 :19211 relayserver_send_packets_recv_total 79 +12:22:07 :19211 relayserver_got_ping_total 8 +12:22:07 :19211 relayserver_sent_pong_total 8 +12:22:07 :19211 relayserver_accepts_total 2 +12:22:07 :19211 relayserver_disconnects_total 1 +12:22:07 :19212 relayserver_send_packets_sent_total 0 +12:22:07 :19212 relayserver_send_packets_recv_total 0 +12:22:07 :19212 relayserver_got_ping_total 10 +12:22:07 :19212 relayserver_sent_pong_total 10 +12:22:07 :19212 relayserver_accepts_total 1 +12:22:07 :19212 relayserver_disconnects_total 0 +12:22:12 :19211 relayserver_send_packets_sent_total 79 +12:22:12 :19211 relayserver_send_packets_recv_total 79 +12:22:12 :19211 relayserver_got_ping_total 9 +12:22:12 :19211 relayserver_sent_pong_total 9 +12:22:12 :19211 relayserver_accepts_total 2 +12:22:12 :19211 relayserver_disconnects_total 1 +12:22:12 :19212 relayserver_send_packets_sent_total 0 +12:22:12 :19212 relayserver_send_packets_recv_total 0 +12:22:12 :19212 relayserver_got_ping_total 11 +12:22:12 :19212 relayserver_sent_pong_total 11 +12:22:12 :19212 relayserver_accepts_total 1 +12:22:12 :19212 relayserver_disconnects_total 0 +12:22:17 :19211 relayserver_send_packets_sent_total 79 +12:22:17 :19211 relayserver_send_packets_recv_total 79 +12:22:17 :19211 relayserver_got_ping_total 9 +12:22:17 :19211 relayserver_sent_pong_total 9 +12:22:17 :19211 relayserver_accepts_total 2 +12:22:17 :19211 relayserver_disconnects_total 1 +12:22:17 :19212 relayserver_send_packets_sent_total 0 +12:22:17 :19212 relayserver_send_packets_recv_total 0 +12:22:17 :19212 relayserver_got_ping_total 11 +12:22:17 :19212 relayserver_sent_pong_total 11 +12:22:17 :19212 relayserver_accepts_total 1 +12:22:17 :19212 relayserver_disconnects_total 0 +12:22:22 :19211 relayserver_send_packets_sent_total 79 +12:22:22 :19211 relayserver_send_packets_recv_total 79 +12:22:22 :19211 relayserver_got_ping_total 9 +12:22:22 :19211 relayserver_sent_pong_total 9 +12:22:22 :19211 relayserver_accepts_total 2 +12:22:22 :19211 relayserver_disconnects_total 1 +12:22:22 :19212 relayserver_send_packets_sent_total 0 +12:22:22 :19212 relayserver_send_packets_recv_total 0 +12:22:22 :19212 relayserver_got_ping_total 11 +12:22:22 :19212 relayserver_sent_pong_total 11 +12:22:22 :19212 relayserver_accepts_total 1 +12:22:22 :19212 relayserver_disconnects_total 0 +12:22:27 :19211 relayserver_send_packets_sent_total 79 +12:22:27 :19211 relayserver_send_packets_recv_total 79 +12:22:27 :19211 relayserver_got_ping_total 10 +12:22:27 :19211 relayserver_sent_pong_total 10 +12:22:27 :19211 relayserver_accepts_total 2 +12:22:27 :19211 relayserver_disconnects_total 1 +12:22:27 :19212 relayserver_send_packets_sent_total 0 +12:22:27 :19212 relayserver_send_packets_recv_total 0 +12:22:27 :19212 relayserver_got_ping_total 12 +12:22:27 :19212 relayserver_sent_pong_total 12 +12:22:27 :19212 relayserver_accepts_total 1 +12:22:27 :19212 relayserver_disconnects_total 0 +12:22:32 :19211 relayserver_send_packets_sent_total 79 +12:22:32 :19211 relayserver_send_packets_recv_total 79 +12:22:32 :19211 relayserver_got_ping_total 10 +12:22:32 :19211 relayserver_sent_pong_total 10 +12:22:32 :19211 relayserver_accepts_total 2 +12:22:32 :19211 relayserver_disconnects_total 1 +12:22:32 :19212 relayserver_send_packets_sent_total 0 +12:22:32 :19212 relayserver_send_packets_recv_total 0 +12:22:32 :19212 relayserver_got_ping_total 12 +12:22:32 :19212 relayserver_sent_pong_total 12 +12:22:32 :19212 relayserver_accepts_total 1 +12:22:32 :19212 relayserver_disconnects_total 0 +12:22:37 :19211 relayserver_send_packets_sent_total 79 +12:22:37 :19211 relayserver_send_packets_recv_total 79 +12:22:37 :19211 relayserver_got_ping_total 10 +12:22:37 :19211 relayserver_sent_pong_total 10 +12:22:37 :19211 relayserver_accepts_total 2 +12:22:37 :19211 relayserver_disconnects_total 1 +12:22:37 :19212 relayserver_send_packets_sent_total 0 +12:22:37 :19212 relayserver_send_packets_recv_total 0 +12:22:37 :19212 relayserver_got_ping_total 12 +12:22:37 :19212 relayserver_sent_pong_total 12 +12:22:37 :19212 relayserver_accepts_total 1 +12:22:37 :19212 relayserver_disconnects_total 0 +12:22:42 :19211 relayserver_send_packets_sent_total 79 +12:22:42 :19211 relayserver_send_packets_recv_total 79 +12:22:42 :19211 relayserver_got_ping_total 11 +12:22:42 :19211 relayserver_sent_pong_total 11 +12:22:42 :19211 relayserver_accepts_total 2 +12:22:42 :19211 relayserver_disconnects_total 1 +12:22:42 :19212 relayserver_send_packets_sent_total 0 +12:22:42 :19212 relayserver_send_packets_recv_total 0 +12:22:42 :19212 relayserver_got_ping_total 13 +12:22:42 :19212 relayserver_sent_pong_total 13 +12:22:42 :19212 relayserver_accepts_total 1 +12:22:42 :19212 relayserver_disconnects_total 0 +12:22:47 :19211 relayserver_send_packets_sent_total 79 +12:22:47 :19211 relayserver_send_packets_recv_total 79 +12:22:47 :19211 relayserver_got_ping_total 11 +12:22:47 :19211 relayserver_sent_pong_total 11 +12:22:47 :19211 relayserver_accepts_total 2 +12:22:47 :19211 relayserver_disconnects_total 1 +12:22:47 :19212 relayserver_send_packets_sent_total 0 +12:22:47 :19212 relayserver_send_packets_recv_total 0 +12:22:47 :19212 relayserver_got_ping_total 13 +12:22:47 :19212 relayserver_sent_pong_total 13 +12:22:47 :19212 relayserver_accepts_total 1 +12:22:47 :19212 relayserver_disconnects_total 0 +12:22:52 :19211 relayserver_send_packets_sent_total 79 +12:22:52 :19211 relayserver_send_packets_recv_total 79 +12:22:52 :19211 relayserver_got_ping_total 11 +12:22:52 :19211 relayserver_sent_pong_total 11 +12:22:52 :19211 relayserver_accepts_total 2 +12:22:52 :19211 relayserver_disconnects_total 1 +12:22:52 :19212 relayserver_send_packets_sent_total 0 +12:22:52 :19212 relayserver_send_packets_recv_total 0 +12:22:52 :19212 relayserver_got_ping_total 13 +12:22:52 :19212 relayserver_sent_pong_total 13 +12:22:52 :19212 relayserver_accepts_total 1 +12:22:52 :19212 relayserver_disconnects_total 0 +12:22:57 :19211 relayserver_send_packets_sent_total 79 +12:22:57 :19211 relayserver_send_packets_recv_total 79 +12:22:57 :19211 relayserver_got_ping_total 12 +12:22:57 :19211 relayserver_sent_pong_total 12 +12:22:57 :19211 relayserver_accepts_total 2 +12:22:57 :19211 relayserver_disconnects_total 1 +12:22:57 :19212 relayserver_send_packets_sent_total 0 +12:22:57 :19212 relayserver_send_packets_recv_total 0 +12:22:57 :19212 relayserver_got_ping_total 14 +12:22:57 :19212 relayserver_sent_pong_total 14 +12:22:57 :19212 relayserver_accepts_total 1 +12:22:57 :19212 relayserver_disconnects_total 0 +12:23:02 :19211 relayserver_send_packets_sent_total 79 +12:23:02 :19211 relayserver_send_packets_recv_total 79 +12:23:02 :19211 relayserver_got_ping_total 12 +12:23:02 :19211 relayserver_sent_pong_total 12 +12:23:02 :19211 relayserver_accepts_total 2 +12:23:02 :19211 relayserver_disconnects_total 1 +12:23:02 :19212 relayserver_send_packets_sent_total 0 +12:23:02 :19212 relayserver_send_packets_recv_total 0 +12:23:02 :19212 relayserver_got_ping_total 14 +12:23:02 :19212 relayserver_sent_pong_total 14 +12:23:02 :19212 relayserver_accepts_total 1 +12:23:02 :19212 relayserver_disconnects_total 0 +12:23:07 :19211 relayserver_send_packets_sent_total 79 +12:23:07 :19211 relayserver_send_packets_recv_total 79 +12:23:07 :19211 relayserver_got_ping_total 12 +12:23:07 :19211 relayserver_sent_pong_total 12 +12:23:07 :19211 relayserver_accepts_total 2 +12:23:07 :19211 relayserver_disconnects_total 1 +12:23:07 :19212 relayserver_send_packets_sent_total 0 +12:23:07 :19212 relayserver_send_packets_recv_total 0 +12:23:07 :19212 relayserver_got_ping_total 14 +12:23:07 :19212 relayserver_sent_pong_total 14 +12:23:07 :19212 relayserver_accepts_total 1 +12:23:07 :19212 relayserver_disconnects_total 0 +12:23:12 :19211 relayserver_send_packets_sent_total 79 +12:23:12 :19211 relayserver_send_packets_recv_total 79 +12:23:12 :19211 relayserver_got_ping_total 13 +12:23:12 :19211 relayserver_sent_pong_total 13 +12:23:12 :19211 relayserver_accepts_total 2 +12:23:12 :19211 relayserver_disconnects_total 1 +12:23:12 :19212 relayserver_send_packets_sent_total 0 +12:23:12 :19212 relayserver_send_packets_recv_total 0 +12:23:12 :19212 relayserver_got_ping_total 15 +12:23:12 :19212 relayserver_sent_pong_total 15 +12:23:12 :19212 relayserver_accepts_total 1 +12:23:12 :19212 relayserver_disconnects_total 0 +12:23:18 :19211 relayserver_send_packets_sent_total 79 +12:23:18 :19211 relayserver_send_packets_recv_total 79 +12:23:18 :19211 relayserver_got_ping_total 13 +12:23:18 :19211 relayserver_sent_pong_total 13 +12:23:18 :19211 relayserver_accepts_total 2 +12:23:18 :19211 relayserver_disconnects_total 1 +12:23:18 :19212 relayserver_send_packets_sent_total 0 +12:23:18 :19212 relayserver_send_packets_recv_total 0 +12:23:18 :19212 relayserver_got_ping_total 15 +12:23:18 :19212 relayserver_sent_pong_total 15 +12:23:18 :19212 relayserver_accepts_total 1 +12:23:18 :19212 relayserver_disconnects_total 0 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/idle-r1.log b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/idle-r1.log new file mode 100644 index 0000000000..ead7a059b1 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/idle-r1.log @@ -0,0 +1,3 @@ +2026-10-11T12:19:40.274026Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:19211 +2026-10-11T12:19:40.275398Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 127.0.0.1:19111 +2026-10-11T12:21:50.738551Z  WARN relay-http-serve:conn{peer=127.0.0.1:59172}:handler:client-connection-actor{remote_endpoint=045a6c201d connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/idle-r2.log b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/idle-r2.log new file mode 100644 index 0000000000..16544cdbbc --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/idle-r2.log @@ -0,0 +1,2 @@ +2026-10-11T12:19:40.274217Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:19212 +2026-10-11T12:19:40.275530Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 127.0.0.1:19112 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGINT-1000ms-run1-relay.log b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGINT-1000ms-run1-relay.log new file mode 100644 index 0000000000..96269716ff --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGINT-1000ms-run1-relay.log @@ -0,0 +1,6 @@ +2026-10-11T12:20:18.620480Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:19201 +2026-10-11T12:20:18.621830Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 127.0.0.1:19101 +2026-10-11T12:20:22.907225Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:19201 +2026-10-11T12:20:22.908399Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 127.0.0.1:19101 +2026-10-11T12:20:24.179066Z  WARN relay-http-serve:conn{peer=127.0.0.1:39844}:handler:client-connection-actor{remote_endpoint=95b0fb7ead connection_id=0}: iroh_relay::server::client: actor errored Stream terminated, exiting +2026-10-11T12:20:24.179272Z  WARN relay-http-serve:conn{peer=127.0.0.1:39846}:handler:client-connection-actor{remote_endpoint=0bba50ee13 connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGINT-1000ms-run2-relay.log b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGINT-1000ms-run2-relay.log new file mode 100644 index 0000000000..22e0e0fe5f --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGINT-1000ms-run2-relay.log @@ -0,0 +1,6 @@ +2026-10-11T12:20:24.185302Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:19201 +2026-10-11T12:20:24.186537Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 127.0.0.1:19101 +2026-10-11T12:20:28.451061Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:19201 +2026-10-11T12:20:28.452660Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 127.0.0.1:19101 +2026-10-11T12:20:29.284548Z  WARN relay-http-serve:conn{peer=127.0.0.1:33190}:handler:client-connection-actor{remote_endpoint=4f61be9a5e connection_id=0}: iroh_relay::server::client: actor errored Stream terminated, exiting +2026-10-11T12:20:29.284789Z  WARN relay-http-serve:conn{peer=127.0.0.1:33194}:handler:client-connection-actor{remote_endpoint=083ef8c0d8 connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGINT-1000ms-run3-relay.log b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGINT-1000ms-run3-relay.log new file mode 100644 index 0000000000..f1226b0962 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGINT-1000ms-run3-relay.log @@ -0,0 +1,6 @@ +2026-10-11T12:20:29.291288Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:19201 +2026-10-11T12:20:29.292527Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 127.0.0.1:19101 +2026-10-11T12:20:33.557836Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:19201 +2026-10-11T12:20:33.559088Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 127.0.0.1:19101 +2026-10-11T12:20:34.413744Z  WARN relay-http-serve:conn{peer=127.0.0.1:33438}:handler:client-connection-actor{remote_endpoint=d8cb8875f8 connection_id=0}: iroh_relay::server::client: actor errored Stream terminated, exiting +2026-10-11T12:20:34.413990Z  WARN relay-http-serve:conn{peer=127.0.0.1:33440}:handler:client-connection-actor{remote_endpoint=4efaf760ca connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGINT-1000ms-summary.json b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGINT-1000ms-summary.json new file mode 100644 index 0000000000..b1f0ff8a48 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGINT-1000ms-summary.json @@ -0,0 +1,79 @@ +{ + "median": { + "conn_survived_runs": 3, + "first_echo_after_up_ms": 1744.6, + "home_a_back_ms": 1614.6, + "home_b_back_ms": 1740.3, + "inflight_at_kill": 1120.0, + "inflight_lost": 0.0, + "redial_first_echo_ms": null, + "relay_exit_ms": 4.3, + "relay_up_ms": 1013.2, + "runs": 3 + }, + "runs": [ + { + "b_addr_ips": 0, + "b_addr_relays": 1, + "close_reason": null, + "conn_survived": true, + "down_ms": 1000, + "echoed_total": 1553, + "first_echo_after_up_ms": 1485.3, + "home_a_back_ms": 1074.3, + "home_b_back_ms": 1483.4, + "inflight_at_kill": 1211, + "inflight_lost": 0, + "redial_first_echo_ms": null, + "relay_exit": "exit Some(0)", + "relay_exit_ms": 8.8, + "relay_up_ms": 1014.3, + "run": 1, + "sent_total": 2580, + "signal": "SIGINT", + "warm_echoes": 300 + }, + { + "b_addr_ips": 0, + "b_addr_relays": 1, + "close_reason": null, + "conn_survived": true, + "down_ms": 1000, + "echoed_total": 2135, + "first_echo_after_up_ms": 1744.6, + "home_a_back_ms": 1614.6, + "home_b_back_ms": 1740.3, + "inflight_at_kill": 1120, + "inflight_lost": 0, + "redial_first_echo_ms": null, + "relay_exit": "exit Some(0)", + "relay_exit_ms": 4.3, + "relay_up_ms": 1013.2, + "run": 2, + "sent_total": 2535, + "signal": "SIGINT", + "warm_echoes": 300 + }, + { + "b_addr_ips": 0, + "b_addr_relays": 1, + "close_reason": null, + "conn_survived": true, + "down_ms": 1000, + "echoed_total": 1712, + "first_echo_after_up_ms": 1747.4, + "home_a_back_ms": 1669.3, + "home_b_back_ms": 1746.0, + "inflight_at_kill": 1066, + "inflight_lost": 0, + "redial_first_echo_ms": null, + "relay_exit": "exit Some(0)", + "relay_exit_ms": 2.3, + "relay_up_ms": 1007.4, + "run": 3, + "sent_total": 2537, + "signal": "SIGINT", + "warm_echoes": 300 + } + ] +} \ No newline at end of file diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGKILL-1000ms-run1-relay.log b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGKILL-1000ms-run1-relay.log new file mode 100644 index 0000000000..ad84a84fb6 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGKILL-1000ms-run1-relay.log @@ -0,0 +1,6 @@ +2026-10-11T12:20:00.866907Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:19201 +2026-10-11T12:20:00.868021Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 127.0.0.1:19101 +2026-10-11T12:20:05.140768Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:19201 +2026-10-11T12:20:05.142241Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 127.0.0.1:19101 +2026-10-11T12:20:06.078188Z  WARN relay-http-serve:conn{peer=127.0.0.1:40456}:handler:client-connection-actor{remote_endpoint=d2ff4a6bf1 connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting +2026-10-11T12:20:06.078413Z  WARN relay-http-serve:conn{peer=127.0.0.1:40450}:handler:client-connection-actor{remote_endpoint=76cf05ec73 connection_id=0}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGKILL-1000ms-run2-relay.log b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGKILL-1000ms-run2-relay.log new file mode 100644 index 0000000000..4424fe4cb0 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGKILL-1000ms-run2-relay.log @@ -0,0 +1,5 @@ +2026-10-11T12:20:06.083500Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:19201 +2026-10-11T12:20:06.084559Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 127.0.0.1:19101 +2026-10-11T12:20:10.367051Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:19201 +2026-10-11T12:20:10.368856Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 127.0.0.1:19101 +2026-10-11T12:20:11.069813Z  WARN relay-http-serve:conn{peer=127.0.0.1:40674}:handler:client-connection-actor{remote_endpoint=43dc42b622 connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGKILL-1000ms-run3-relay.log b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGKILL-1000ms-run3-relay.log new file mode 100644 index 0000000000..7cd8153d14 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGKILL-1000ms-run3-relay.log @@ -0,0 +1,6 @@ +2026-10-11T12:20:11.083187Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:19201 +2026-10-11T12:20:11.085137Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 127.0.0.1:19101 +2026-10-11T12:20:15.402868Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:19201 +2026-10-11T12:20:15.404183Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 127.0.0.1:19101 +2026-10-11T12:20:18.600842Z  WARN relay-http-serve:conn{peer=127.0.0.1:39606}:handler:client-connection-actor{remote_endpoint=9bccf2f1d7 connection_id=0}: iroh_relay::server::client: actor errored Stream terminated, exiting +2026-10-11T12:20:18.601278Z  WARN relay-http-serve:conn{peer=127.0.0.1:39622}:handler:client-connection-actor{remote_endpoint=c8676eff5a connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGKILL-1000ms-summary.json b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGKILL-1000ms-summary.json new file mode 100644 index 0000000000..850d781fd7 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGKILL-1000ms-summary.json @@ -0,0 +1,79 @@ +{ + "median": { + "conn_survived_runs": 3, + "first_echo_after_up_ms": 1833.5, + "home_a_back_ms": 1645.6, + "home_b_back_ms": 1610.9, + "inflight_at_kill": 1130.0, + "inflight_lost": 0.0, + "redial_first_echo_ms": null, + "relay_exit_ms": 3.4, + "relay_up_ms": 1012.3, + "runs": 3 + }, + "runs": [ + { + "b_addr_ips": 0, + "b_addr_relays": 1, + "close_reason": null, + "conn_survived": true, + "down_ms": 1000, + "echoed_total": 1771, + "first_echo_after_up_ms": 1833.5, + "home_a_back_ms": 1667.0, + "home_b_back_ms": 1610.9, + "inflight_at_kill": 1166, + "inflight_lost": 0, + "redial_first_echo_ms": null, + "relay_exit": "killed by signal 9", + "relay_exit_ms": 3.4, + "relay_up_ms": 1011.3, + "run": 1, + "sent_total": 2545, + "signal": "SIGKILL", + "warm_echoes": 300 + }, + { + "b_addr_ips": 0, + "b_addr_relays": 1, + "close_reason": null, + "conn_survived": true, + "down_ms": 1000, + "echoed_total": 1364, + "first_echo_after_up_ms": 1061.0, + "home_a_back_ms": 1045.3, + "home_b_back_ms": 1035.2, + "inflight_at_kill": 1062, + "inflight_lost": 0, + "redial_first_echo_ms": null, + "relay_exit": "killed by signal 9", + "relay_exit_ms": 8.7, + "relay_up_ms": 1030.2, + "run": 2, + "sent_total": 2523, + "signal": "SIGKILL", + "warm_echoes": 300 + }, + { + "b_addr_ips": 0, + "b_addr_relays": 1, + "close_reason": null, + "conn_survived": true, + "down_ms": 1000, + "echoed_total": 1571, + "first_echo_after_up_ms": 4024.6, + "home_a_back_ms": 1645.6, + "home_b_back_ms": 2191.1, + "inflight_at_kill": 1130, + "inflight_lost": 0, + "redial_first_echo_ms": null, + "relay_exit": "killed by signal 9", + "relay_exit_ms": 3.1, + "relay_up_ms": 1012.3, + "run": 3, + "sent_total": 2728, + "signal": "SIGKILL", + "warm_echoes": 300 + } + ] +} \ No newline at end of file diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGKILL-3000ms-run1-relay.log b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGKILL-3000ms-run1-relay.log new file mode 100644 index 0000000000..feb300a5d7 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGKILL-3000ms-run1-relay.log @@ -0,0 +1,6 @@ +2026-10-11T12:20:52.212175Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:19201 +2026-10-11T12:20:52.213913Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 127.0.0.1:19101 +2026-10-11T12:20:58.558118Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:19201 +2026-10-11T12:20:58.559740Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 127.0.0.1:19101 +2026-10-11T12:21:00.418532Z  WARN relay-http-serve:conn{peer=127.0.0.1:41578}:handler:client-connection-actor{remote_endpoint=cd0f6bdfc6 connection_id=0}: iroh_relay::server::client: actor errored Stream terminated, exiting +2026-10-11T12:21:00.419669Z  WARN relay-http-serve:conn{peer=127.0.0.1:41590}:handler:client-connection-actor{remote_endpoint=0440d18093 connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGKILL-3000ms-run2-relay.log b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGKILL-3000ms-run2-relay.log new file mode 100644 index 0000000000..837ee7ea01 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGKILL-3000ms-run2-relay.log @@ -0,0 +1,6 @@ +2026-10-11T12:21:00.448037Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:19201 +2026-10-11T12:21:00.451923Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 127.0.0.1:19101 +2026-10-11T12:21:06.835014Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:19201 +2026-10-11T12:21:06.836480Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 127.0.0.1:19101 +2026-10-11T12:21:10.011492Z  WARN relay-http-serve:conn{peer=127.0.0.1:40734}:handler:client-connection-actor{remote_endpoint=0fb8e9e6ef connection_id=0}: iroh_relay::server::client: actor errored Stream terminated, exiting +2026-10-11T12:21:10.012448Z  WARN relay-http-serve:conn{peer=127.0.0.1:40750}:handler:client-connection-actor{remote_endpoint=ef93b066b5 connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGKILL-3000ms-run3-relay.log b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGKILL-3000ms-run3-relay.log new file mode 100644 index 0000000000..41d5afca5a --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGKILL-3000ms-run3-relay.log @@ -0,0 +1,6 @@ +2026-10-11T12:21:10.037538Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:19201 +2026-10-11T12:21:10.039242Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 127.0.0.1:19101 +2026-10-11T12:21:16.361535Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:19201 +2026-10-11T12:21:16.363267Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 127.0.0.1:19101 +2026-10-11T12:21:21.799602Z  WARN relay-http-serve:conn{peer=127.0.0.1:42436}:handler:client-connection-actor{remote_endpoint=05e64b9ff4 connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting +2026-10-11T12:21:21.800345Z  WARN relay-http-serve:conn{peer=127.0.0.1:42430}:handler:client-connection-actor{remote_endpoint=42b3c87f6b connection_id=0}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGKILL-3000ms-summary.json b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGKILL-3000ms-summary.json new file mode 100644 index 0000000000..62dffa0769 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGKILL-3000ms-summary.json @@ -0,0 +1,79 @@ +{ + "median": { + "conn_survived_runs": 3, + "first_echo_after_up_ms": 5612.9, + "home_a_back_ms": 3628.1, + "home_b_back_ms": 4020.4, + "inflight_at_kill": 1062.0, + "inflight_lost": 0.0, + "redial_first_echo_ms": null, + "relay_exit_ms": 7.4, + "relay_up_ms": 3031.9, + "runs": 3 + }, + "runs": [ + { + "b_addr_ips": 0, + "b_addr_relays": 1, + "close_reason": null, + "conn_survived": true, + "down_ms": 3000, + "echoed_total": 1392, + "first_echo_after_up_ms": 4022.2, + "home_a_back_ms": 3628.1, + "home_b_back_ms": 4020.4, + "inflight_at_kill": 1062, + "inflight_lost": 0, + "redial_first_echo_ms": null, + "relay_exit": "killed by signal 9", + "relay_exit_ms": 5.4, + "relay_up_ms": 3031.9, + "run": 1, + "sent_total": 2466, + "signal": "SIGKILL", + "warm_echoes": 300 + }, + { + "b_addr_ips": 0, + "b_addr_relays": 1, + "close_reason": null, + "conn_survived": true, + "down_ms": 3000, + "echoed_total": 1573, + "first_echo_after_up_ms": 5612.9, + "home_a_back_ms": 3509.1, + "home_b_back_ms": 4378.1, + "inflight_at_kill": 1213, + "inflight_lost": 0, + "redial_first_echo_ms": null, + "relay_exit": "killed by signal 9", + "relay_exit_ms": 7.4, + "relay_up_ms": 3032.7, + "run": 2, + "sent_total": 2664, + "signal": "SIGKILL", + "warm_echoes": 300 + }, + { + "b_addr_ips": 0, + "b_addr_relays": 1, + "close_reason": null, + "conn_survived": true, + "down_ms": 3000, + "echoed_total": 1392, + "first_echo_after_up_ms": 7475.3, + "home_a_back_ms": 4140.4, + "home_b_back_ms": 3168.8, + "inflight_at_kill": 1047, + "inflight_lost": 0, + "redial_first_echo_ms": null, + "relay_exit": "killed by signal 9", + "relay_exit_ms": 10.2, + "relay_up_ms": 3026.8, + "run": 3, + "sent_total": 3196, + "signal": "SIGKILL", + "warm_echoes": 300 + } + ] +} \ No newline at end of file diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGKILL-35000ms-driver.log b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGKILL-35000ms-driver.log new file mode 100644 index 0000000000..11fa503667 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGKILL-35000ms-driver.log @@ -0,0 +1,69 @@ +2026-10-11T12:24:34.295855Z  INFO relay-actor: iroh::socket::transports::relay::actor: home is now relay http://127.0.0.1:19101/, was None +2026-10-11T12:24:34.296097Z DEBUG relay-actor: iroh::socket::transports::relay::actor: Adding relay connection url=RelayUrl("http://127.0.0.1:19101/") +2026-10-11T12:24:34.296302Z DEBUG relay-actor: iroh::socket::transports::relay::actor: 0 active relay conns +2026-10-11T12:24:34.296350Z DEBUG relay-actor: iroh::socket::transports::relay::actor: 1 active relay conns: relay-http://127.0.0.1:19101/ +2026-10-11T12:24:34.301334Z  INFO relay-actor: iroh::socket::transports::relay::actor: home is now relay http://127.0.0.1:19101/, was None +2026-10-11T12:24:34.301474Z DEBUG relay-actor: iroh::socket::transports::relay::actor: Adding relay connection url=RelayUrl("http://127.0.0.1:19101/") +2026-10-11T12:24:34.301684Z DEBUG relay-actor: iroh::socket::transports::relay::actor: 0 active relay conns +2026-10-11T12:24:34.301734Z DEBUG relay-actor: iroh::socket::transports::relay::actor: 1 active relay conns: relay-http://127.0.0.1:19101/ +2026-10-11T12:24:37.363706Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: Lost connection to relay server: Client stream read failed: Stream error: Connection reset by peer (os error 104): Connection reset by peer (os error 104) +2026-10-11T12:24:37.364973Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: Failed to connect to relay server: unable to connect: Connection refused (os error 111) +2026-10-11T12:24:37.365090Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: retry in 15.247132ms +2026-10-11T12:24:37.365354Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: Lost connection to relay server: Client stream read failed: Stream error: Connection reset by peer (os error 104): Connection reset by peer (os error 104) +2026-10-11T12:24:37.366000Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: Failed to connect to relay server: unable to connect: Connection refused (os error 111) +2026-10-11T12:24:37.366056Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: retry in 13.43482ms +2026-10-11T12:24:37.382531Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: Failed to connect to relay server: unable to connect: Connection refused (os error 111) +2026-10-11T12:24:37.382531Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: Failed to connect to relay server: unable to connect: Connection refused (os error 111) +2026-10-11T12:24:37.382762Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: retry in 38.786553ms +2026-10-11T12:24:37.382787Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: retry in 36.57481ms +2026-10-11T12:24:37.423666Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: Failed to connect to relay server: unable to connect: Connection refused (os error 111) +2026-10-11T12:24:37.423822Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: retry in 43.909342ms +2026-10-11T12:24:37.423989Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: Failed to connect to relay server: unable to connect: Connection refused (os error 111) +2026-10-11T12:24:37.424062Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: retry in 60.22379ms +2026-10-11T12:24:37.471481Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: Failed to connect to relay server: unable to connect: Connection refused (os error 111) +2026-10-11T12:24:37.474023Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: retry in 137.816254ms +2026-10-11T12:24:37.487159Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: Failed to connect to relay server: unable to connect: Connection refused (os error 111) +2026-10-11T12:24:37.487397Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: retry in 119.728348ms +2026-10-11T12:24:37.611637Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: Failed to connect to relay server: unable to connect: Connection refused (os error 111) +2026-10-11T12:24:37.611783Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: retry in 216.499743ms +2026-10-11T12:24:37.614892Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: Failed to connect to relay server: unable to connect: Connection refused (os error 111) +2026-10-11T12:24:37.615024Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: retry in 199.928291ms +2026-10-11T12:24:37.825534Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: Failed to connect to relay server: unable to connect: Connection refused (os error 111) +2026-10-11T12:24:37.825718Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: retry in 504.56641ms +2026-10-11T12:24:37.830302Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: Failed to connect to relay server: unable to connect: Connection refused (os error 111) +2026-10-11T12:24:37.830644Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: retry in 386.174503ms +2026-10-11T12:24:38.221392Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: Failed to connect to relay server: unable to connect: Connection refused (os error 111) +2026-10-11T12:24:38.221579Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: retry in 1.267453662s +2026-10-11T12:24:38.333636Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: Failed to connect to relay server: unable to connect: Connection refused (os error 111) +2026-10-11T12:24:38.333773Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: retry in 909.723319ms +2026-10-11T12:24:39.248250Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: Failed to connect to relay server: unable to connect: Connection refused (os error 111) +2026-10-11T12:24:39.248646Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: retry in 2.103815641s +2026-10-11T12:24:39.491522Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: Failed to connect to relay server: unable to connect: Connection refused (os error 111) +2026-10-11T12:24:39.491659Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: retry in 2.417753165s +2026-10-11T12:24:41.354726Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: Failed to connect to relay server: unable to connect: Connection refused (os error 111) +2026-10-11T12:24:41.355002Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: retry in 4.307298183s +2026-10-11T12:24:41.912991Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: Failed to connect to relay server: unable to connect: Connection refused (os error 111) +2026-10-11T12:24:41.913118Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: retry in 4.004785525s +2026-10-11T12:24:45.666262Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: Failed to connect to relay server: unable to connect: Connection refused (os error 111) +2026-10-11T12:24:45.666457Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: retry in 5.830870079s +2026-10-11T12:24:45.919862Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: Failed to connect to relay server: unable to connect: Connection refused (os error 111) +2026-10-11T12:24:45.920007Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: retry in 8.067566654s +2026-10-11T12:24:51.499355Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: Failed to connect to relay server: unable to connect: Connection refused (os error 111) +2026-10-11T12:24:51.499486Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: retry in 14.502011089s +2026-10-11T12:24:53.992974Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: Failed to connect to relay server: unable to connect: Connection refused (os error 111) +2026-10-11T12:24:53.993100Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: retry in 16.58163232s +2026-10-11T12:25:06.007456Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: Failed to connect to relay server: unable to connect: Connection refused (os error 111) +2026-10-11T12:25:06.007718Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: retry in 16.067841612s +2026-10-11T12:25:10.581267Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: Failed to connect to relay server: unable to connect: Connection refused (os error 111) +2026-10-11T12:25:10.581380Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: retry in 27.409924507s +2026-10-11T12:25:12.434401Z  INFO s11: connection closed reason=timed out closed_after_relay_down_ms=35068.4 +2026-10-11T12:25:32.435740Z  INFO s11: re-dial failed attempt=1 error=connect timed out +2026-10-11T12:25:38.008266Z  INFO s11: re-dialled attempt=2 +2026-10-11T12:25:48.137572Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}:connected: iroh::socket::transports::relay::actor: Shutdown. +2026-10-11T12:25:48.137781Z DEBUG relay-actor: iroh::socket::transports::relay::actor: shutting down +2026-10-11T12:25:48.138213Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: exiting +2026-10-11T12:25:48.138342Z DEBUG relay-actor: iroh::socket::transports::relay::actor: shutting down +2026-10-11T12:25:48.138348Z DEBUG relay-actor: iroh::socket::transports::relay::actor: 1 active relay conns: relay-http://127.0.0.1:19101/ +2026-10-11T12:25:48.138204Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}:connected: iroh::socket::transports::relay::actor: Shutdown. +2026-10-11T12:25:48.138707Z DEBUG relay-actor:active-relay{url=http://127.0.0.1:19101/}: iroh::socket::transports::relay::actor: exiting +2026-10-11T12:25:48.138792Z DEBUG relay-actor: iroh::socket::transports::relay::actor: 1 active relay conns: relay-http://127.0.0.1:19101/ diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGKILL-35000ms-run1-relay.log b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGKILL-35000ms-run1-relay.log new file mode 100644 index 0000000000..f9359eef7f --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGKILL-35000ms-run1-relay.log @@ -0,0 +1,6 @@ +2026-10-11T12:24:34.069119Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:19201 +2026-10-11T12:24:34.071125Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 127.0.0.1:19101 +2026-10-11T12:25:12.423036Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:19201 +2026-10-11T12:25:12.427481Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 127.0.0.1:19101 +2026-10-11T12:25:48.137918Z  WARN relay-http-serve:conn{peer=127.0.0.1:58250}:handler:client-connection-actor{remote_endpoint=003ebe2ebf connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting +2026-10-11T12:25:48.138502Z  WARN relay-http-serve:conn{peer=127.0.0.1:46876}:handler:client-connection-actor{remote_endpoint=08f3f4ea86 connection_id=0}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGKILL-35000ms-summary.json b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGKILL-35000ms-summary.json new file mode 100644 index 0000000000..6a701b8789 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGKILL-35000ms-summary.json @@ -0,0 +1,39 @@ +{ + "median": { + "conn_survived_runs": 0, + "first_echo_after_up_ms": 60771.1, + "home_a_back_ms": 60635.8, + "home_b_back_ms": 44725.6, + "inflight_at_kill": 1062.0, + "inflight_lost": 1058.0, + "redial_first_echo_ms": 60771.1, + "relay_exit_ms": 7.1, + "relay_up_ms": 35075.4, + "runs": 1 + }, + "runs": [ + { + "b_addr_ips": 0, + "b_addr_relays": 1, + "close_reason": "timed out", + "conn_survived": false, + "down_ms": 35000, + "echoed_total": 2151, + "first_echo_after_up_ms": 60771.1, + "home_a_back_ms": 60635.8, + "home_b_back_ms": 44725.6, + "inflight_at_kill": 1062, + "inflight_lost": 1058, + "redial_attempts": 2, + "redial_error": "connect timed out: deadline has elapsed", + "redial_first_echo_ms": 60771.1, + "relay_exit": "killed by signal 9", + "relay_exit_ms": 7.1, + "relay_up_ms": 35075.4, + "run": 1, + "sent_total": 3362, + "signal": "SIGKILL", + "warm_echoes": 299 + } + ] +} \ No newline at end of file diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGTERM-1000ms-run1-relay.log b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGTERM-1000ms-run1-relay.log new file mode 100644 index 0000000000..78b6f16560 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGTERM-1000ms-run1-relay.log @@ -0,0 +1,6 @@ +2026-10-11T12:19:44.750629Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:19201 +2026-10-11T12:19:44.752028Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 127.0.0.1:19101 +2026-10-11T12:19:49.023520Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:19201 +2026-10-11T12:19:49.024578Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 127.0.0.1:19101 +2026-10-11T12:19:50.264618Z  WARN relay-http-serve:conn{peer=127.0.0.1:54818}:handler:client-connection-actor{remote_endpoint=fbb34216e8 connection_id=0}: iroh_relay::server::client: actor errored Stream terminated, exiting +2026-10-11T12:19:50.265241Z  WARN relay-http-serve:conn{peer=127.0.0.1:54834}:handler:client-connection-actor{remote_endpoint=0b92e6b450 connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGTERM-1000ms-run2-relay.log b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGTERM-1000ms-run2-relay.log new file mode 100644 index 0000000000..590c0c72b9 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGTERM-1000ms-run2-relay.log @@ -0,0 +1,6 @@ +2026-10-11T12:19:50.274121Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:19201 +2026-10-11T12:19:50.275517Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 127.0.0.1:19101 +2026-10-11T12:19:54.543131Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:19201 +2026-10-11T12:19:54.544159Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 127.0.0.1:19101 +2026-10-11T12:19:55.547903Z  WARN relay-http-serve:conn{peer=127.0.0.1:55010}:handler:client-connection-actor{remote_endpoint=059a9e19c4 connection_id=0}: iroh_relay::server::client: actor errored Stream terminated, exiting +2026-10-11T12:19:55.548116Z  WARN relay-http-serve:conn{peer=127.0.0.1:55022}:handler:client-connection-actor{remote_endpoint=7187a82a8d connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGTERM-1000ms-run3-relay.log b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGTERM-1000ms-run3-relay.log new file mode 100644 index 0000000000..25b2c05599 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGTERM-1000ms-run3-relay.log @@ -0,0 +1,6 @@ +2026-10-11T12:19:55.551934Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:19201 +2026-10-11T12:19:55.552994Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 127.0.0.1:19101 +2026-10-11T12:19:59.810492Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:19201 +2026-10-11T12:19:59.811551Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 127.0.0.1:19101 +2026-10-11T12:20:00.843564Z  WARN relay-http-serve:conn{peer=127.0.0.1:35680}:handler:client-connection-actor{remote_endpoint=137b019aa5 connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting +2026-10-11T12:20:00.843957Z  WARN relay-http-serve:conn{peer=127.0.0.1:35668}:handler:client-connection-actor{remote_endpoint=295d959a72 connection_id=0}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGTERM-1000ms-summary.json b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGTERM-1000ms-summary.json new file mode 100644 index 0000000000..7a5e43c19d --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/restart-SIGTERM-1000ms-summary.json @@ -0,0 +1,79 @@ +{ + "median": { + "conn_survived_runs": 3, + "first_echo_after_up_ms": 1908.7, + "home_a_back_ms": 1155.6, + "home_b_back_ms": 1630.2, + "inflight_at_kill": 1177.0, + "inflight_lost": 0.0, + "redial_first_echo_ms": null, + "relay_exit_ms": 3.2, + "relay_up_ms": 1007.8, + "runs": 3 + }, + "runs": [ + { + "b_addr_ips": 0, + "b_addr_relays": 1, + "close_reason": null, + "conn_survived": true, + "down_ms": 1000, + "echoed_total": 1804, + "first_echo_after_up_ms": 2011.4, + "home_a_back_ms": 1155.6, + "home_b_back_ms": 2007.9, + "inflight_at_kill": 1177, + "inflight_lost": 0, + "redial_first_echo_ms": null, + "relay_exit": "killed by signal 15", + "relay_exit_ms": 3.2, + "relay_up_ms": 1007.6, + "run": 1, + "sent_total": 2574, + "signal": "SIGTERM", + "warm_echoes": 300 + }, + { + "b_addr_ips": 0, + "b_addr_relays": 1, + "close_reason": null, + "conn_survived": true, + "down_ms": 1000, + "echoed_total": 1595, + "first_echo_after_up_ms": 1908.7, + "home_a_back_ms": 1070.9, + "home_b_back_ms": 1077.9, + "inflight_at_kill": 1092, + "inflight_lost": 0, + "redial_first_echo_ms": null, + "relay_exit": "killed by signal 15", + "relay_exit_ms": 3.7, + "relay_up_ms": 1008.9, + "run": 2, + "sent_total": 2552, + "signal": "SIGTERM", + "warm_echoes": 300 + }, + { + "b_addr_ips": 0, + "b_addr_relays": 1, + "close_reason": null, + "conn_survived": true, + "down_ms": 1000, + "echoed_total": 1644, + "first_echo_after_up_ms": 1731.0, + "home_a_back_ms": 1715.8, + "home_b_back_ms": 1630.2, + "inflight_at_kill": 1212, + "inflight_lost": 0, + "redial_first_echo_ms": null, + "relay_exit": "killed by signal 15", + "relay_exit_ms": 3.0, + "relay_up_ms": 1007.8, + "run": 3, + "sent_total": 2554, + "signal": "SIGTERM", + "warm_echoes": 300 + } + ] +} \ No newline at end of file diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/s2-ca-mismatch-relay.log b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/s2-ca-mismatch-relay.log new file mode 100644 index 0000000000..a3ec689a77 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/s2-ca-mismatch-relay.log @@ -0,0 +1,12 @@ +2026-10-11T12:29:33.701864Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:19221 +2026-10-11T12:29:33.701981Z  INFO http-service{addr=127.0.0.1:19122}: iroh_relay::server: serving +2026-10-11T12:29:33.703537Z  INFO iroh_relay::server::http_server: [HTTPS/WSS] relay: serving on 127.0.0.1:19121 +2026-10-11T12:29:33.933974Z ERROR relay-http-serve:conn{peer=127.0.0.1:34050}: iroh_relay::server::http_server: failed to handle connection error=TLS[manual] accept +Caused by: + received fatal alert: UnknownCA +2026-10-11T12:29:34.033921Z ERROR relay-http-serve:conn{peer=127.0.0.1:34060}: iroh_relay::server::http_server: failed to handle connection error=TLS[manual] accept +Caused by: + received fatal alert: UnknownCA +2026-10-11T12:29:34.133421Z ERROR relay-http-serve:conn{peer=127.0.0.1:34076}: iroh_relay::server::http_server: failed to handle connection error=TLS[manual] accept +Caused by: + received fatal alert: UnknownCA diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/s2-legacy-secret-key.log b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/s2-legacy-secret-key.log new file mode 100644 index 0000000000..dd404ebce0 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/s2-legacy-secret-key.log @@ -0,0 +1,2 @@ +2026-10-11T12:26:58.216937Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:19231 +2026-10-11T12:26:58.221383Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 127.0.0.1:19131 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/s3-reloading-relay.log b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/s3-reloading-relay.log new file mode 100644 index 0000000000..2daf1bc2ff --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/s3-reloading-relay.log @@ -0,0 +1,8 @@ +2026-10-11T12:28:44.461529Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:19221 +2026-10-11T12:28:44.462282Z  INFO http-service{addr=127.0.0.1:19122}: iroh_relay::server: serving +2026-10-11T12:28:44.462480Z  INFO iroh_relay::server::resolver: Reloaded the certificate +2026-10-11T12:28:44.463005Z  INFO iroh_relay::server::http_server: [HTTPS/WSS] relay: serving on 127.0.0.1:19121 +2026-10-11T12:28:49.815617Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:19221 +2026-10-11T12:28:49.815948Z  INFO http-service{addr=127.0.0.1:19122}: iroh_relay::server: serving +2026-10-11T12:28:49.817190Z  INFO iroh_relay::server::http_server: [HTTPS/WSS] relay: serving on 127.0.0.1:19121 +2026-10-11T12:28:49.818000Z  INFO iroh_relay::server::resolver: Reloaded the certificate diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/s3-tls-relay.log b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/s3-tls-relay.log new file mode 100644 index 0000000000..3152a19d73 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/s3-tls-relay.log @@ -0,0 +1,30 @@ +2026-10-11T12:28:23.559847Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:19221 +2026-10-11T12:28:23.561536Z  INFO iroh_relay::server::http_server: [HTTPS/WSS] relay: serving on 127.0.0.1:19121 +2026-10-11T12:28:23.562302Z  INFO http-service{addr=127.0.0.1:19122}: iroh_relay::server: serving +2026-10-11T12:28:26.896106Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:19221 +2026-10-11T12:28:26.896319Z  INFO http-service{addr=127.0.0.1:19122}: iroh_relay::server: serving +2026-10-11T12:28:26.897767Z  INFO iroh_relay::server::http_server: [HTTPS/WSS] relay: serving on 127.0.0.1:19121 +2026-10-11T12:28:27.350669Z  WARN relay-http-serve:conn{peer=127.0.0.1:35398}:handler:client-connection-actor{remote_endpoint=ceb8cfec8b connection_id=0}: iroh_relay::server::client: actor errored Stream terminated, exiting +2026-10-11T12:28:27.570195Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:19221 +2026-10-11T12:28:27.570954Z  INFO http-service{addr=127.0.0.1:19122}: iroh_relay::server: serving +2026-10-11T12:28:27.571681Z  INFO iroh_relay::server::http_server: [HTTPS/WSS] relay: serving on 127.0.0.1:19121 +2026-10-11T12:28:27.928040Z ERROR relay-http-serve:conn{peer=127.0.0.1:35428}: iroh_relay::server::http_server: failed to handle connection error=TLS[manual] accept +Caused by: + received fatal alert: UnknownCA +2026-10-11T12:28:28.014311Z ERROR relay-http-serve:conn{peer=127.0.0.1:35434}: iroh_relay::server::http_server: failed to handle connection error=TLS[manual] accept +Caused by: + received fatal alert: UnknownCA +2026-10-11T12:28:28.114785Z ERROR relay-http-serve:conn{peer=127.0.0.1:35442}: iroh_relay::server::http_server: failed to handle connection error=TLS[manual] accept +Caused by: + received fatal alert: UnknownCA +2026-10-11T12:28:36.004586Z  WARN relay-http-serve:conn{peer=127.0.0.1:48222}:handler:client-connection-actor{remote_endpoint=b660736172 connection_id=0}: iroh_relay::server::client: actor errored peer closed connection without sending TLS close_notify: https://docs.rs/rustls/latest/rustls/manual/_03_howto/index.html#unexpected-eof: peer closed connection without sending TLS close_notify: https://docs.rs/rustls/latest/rustls/manual/_03_howto/index.html#unexpected-eof, exiting +2026-10-11T12:28:36.241276Z  WARN relay-http-serve:conn{peer=127.0.0.1:48226}:handler:client-connection-actor{remote_endpoint=35501b7686 connection_id=1}: iroh_relay::server::client: actor errored Stream terminated, exiting +2026-10-11T12:28:36.468716Z ERROR relay-http-serve:conn{peer=127.0.0.1:48232}: iroh_relay::server::http_server: failed to handle connection error=TLS[manual] accept +Caused by: + received fatal alert: UnknownCA +2026-10-11T12:28:36.567011Z ERROR relay-http-serve:conn{peer=127.0.0.1:48238}: iroh_relay::server::http_server: failed to handle connection error=TLS[manual] accept +Caused by: + received fatal alert: UnknownCA +2026-10-11T12:28:36.666431Z ERROR relay-http-serve:conn{peer=127.0.0.1:48244}: iroh_relay::server::http_server: failed to handle connection error=TLS[manual] accept +Caused by: + received fatal alert: UnknownCA diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/s5-shared-token-relay.log b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/s5-shared-token-relay.log new file mode 100644 index 0000000000..3b359c2715 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/logs/s5-shared-token-relay.log @@ -0,0 +1,21 @@ +2026-10-11T12:28:50.047626Z  INFO iroh_metrics::service: Starting metrics server on 127.0.0.1:19241 +2026-10-11T12:28:50.049280Z  INFO iroh_relay::server::http_server: [HTTP/WS] relay: serving on 127.0.0.1:19141 +2026-10-11T12:28:50.313564Z  WARN relay-http-serve:conn{peer=127.0.0.1:34104}:handler: iroh_relay::server::http_server: error accepting upgraded connection: The relay denied our authentication (not authorized) +2026-10-11T12:28:50.333126Z  WARN relay-http-serve:conn{peer=127.0.0.1:34106}:handler: iroh_relay::server::http_server: error accepting upgraded connection: The relay denied our authentication (not authorized) +2026-10-11T12:28:50.375689Z  WARN relay-http-serve:conn{peer=127.0.0.1:34118}:handler: iroh_relay::server::http_server: error accepting upgraded connection: The relay denied our authentication (not authorized) +2026-10-11T12:28:50.431570Z  WARN relay-http-serve:conn{peer=127.0.0.1:34126}:handler: iroh_relay::server::http_server: error accepting upgraded connection: The relay denied our authentication (not authorized) +2026-10-11T12:28:50.559870Z  WARN relay-http-serve:conn{peer=127.0.0.1:34132}:handler: iroh_relay::server::http_server: error accepting upgraded connection: The relay denied our authentication (not authorized) +2026-10-11T12:28:50.730950Z  WARN relay-http-serve:conn{peer=127.0.0.1:34134}:handler: iroh_relay::server::http_server: error accepting upgraded connection: The relay denied our authentication (not authorized) +2026-10-11T12:28:51.069230Z  WARN relay-http-serve:conn{peer=127.0.0.1:34136}:handler: iroh_relay::server::http_server: error accepting upgraded connection: The relay denied our authentication (not authorized) +2026-10-11T12:28:52.336557Z  WARN relay-http-serve:conn{peer=127.0.0.1:34144}:handler: iroh_relay::server::http_server: error accepting upgraded connection: The relay denied our authentication (not authorized) +2026-10-11T12:28:53.994964Z  WARN relay-http-serve:conn{peer=127.0.0.1:34150}:handler: iroh_relay::server::http_server: error accepting upgraded connection: The relay denied our authentication (not authorized) +2026-10-11T12:28:56.327455Z  WARN relay-http-serve:conn{peer=127.0.0.1:38736}:handler: iroh_relay::server::http_server: error accepting upgraded connection: The relay denied our authentication (not authorized) +2026-10-11T12:28:56.341923Z  WARN relay-http-serve:conn{peer=127.0.0.1:38752}:handler: iroh_relay::server::http_server: error accepting upgraded connection: The relay denied our authentication (not authorized) +2026-10-11T12:28:56.369931Z  WARN relay-http-serve:conn{peer=127.0.0.1:38754}:handler: iroh_relay::server::http_server: error accepting upgraded connection: The relay denied our authentication (not authorized) +2026-10-11T12:28:56.438476Z  WARN relay-http-serve:conn{peer=127.0.0.1:38764}:handler: iroh_relay::server::http_server: error accepting upgraded connection: The relay denied our authentication (not authorized) +2026-10-11T12:28:56.538146Z  WARN relay-http-serve:conn{peer=127.0.0.1:38776}:handler: iroh_relay::server::http_server: error accepting upgraded connection: The relay denied our authentication (not authorized) +2026-10-11T12:28:56.791394Z  WARN relay-http-serve:conn{peer=127.0.0.1:38780}:handler: iroh_relay::server::http_server: error accepting upgraded connection: The relay denied our authentication (not authorized) +2026-10-11T12:28:57.278089Z  WARN relay-http-serve:conn{peer=127.0.0.1:38790}:handler: iroh_relay::server::http_server: error accepting upgraded connection: The relay denied our authentication (not authorized) +2026-10-11T12:28:58.430508Z  WARN relay-http-serve:conn{peer=127.0.0.1:38792}:handler: iroh_relay::server::http_server: error accepting upgraded connection: The relay denied our authentication (not authorized) +2026-10-11T12:29:00.423593Z  WARN relay-http-serve:conn{peer=127.0.0.1:38808}:handler: iroh_relay::server::http_server: error accepting upgraded connection: The relay denied our authentication (not authorized) +2026-10-11T12:29:02.372256Z  WARN relay-http-serve:conn{peer=127.0.0.1:38836}:handler:client-connection-actor{remote_endpoint=64a79eb00a connection_id=18}: iroh_relay::server::client: actor errored Stream terminated, exiting diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/runbook/poll-metrics.sh b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/runbook/poll-metrics.sh new file mode 100755 index 0000000000..536dab1263 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/runbook/poll-metrics.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env bash +# Samples the relay counters every 5 s from the given metrics ports. +# Usage: poll-metrics.sh ... +secs=$1; shift +end=$((SECONDS + secs)) +while [ $SECONDS -lt $end ]; do + ts=$(date -u +%H:%M:%S) + for port in "$@"; do + curl -s "http://127.0.0.1:$port/metrics" \ + | grep -E '^relayserver_(accepts|disconnects|got_ping|sent_pong|send_packets_sent|send_packets_recv)_total ' \ + | sed "s/^/$ts :$port /" + done + sleep 5 +done diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/runbook/relay-ctl.sh b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/runbook/relay-ctl.sh new file mode 100755 index 0000000000..3bed038120 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/runbook/relay-ctl.sh @@ -0,0 +1,89 @@ +#!/usr/bin/env bash +# Runbook for the stock iroh-relay 1.3.0 binary. Every subcommand was run in this environment. +# relay-ctl.sh start +# relay-ctl.sh stop SIGINT, the graceful path. SIGTERM is not handled. +# relay-ctl.sh restart +# relay-ctl.sh serial serial of the certificate the relay serves +# relay-ctl.sh rotate-cert [ca.pem] +# relay-ctl.sh health /ping and /healthz. TLS is verified if CA is set. +# RELAY_BIN overrides the binary. CA= makes curl verify TLS, otherwise curl -k is used. +set -euo pipefail +RELAY_BIN=${RELAY_BIN:-/home/user/work/spikes/tools/bin/iroh-relay} + +curl_tls() { if [ -n "${CA:-}" ]; then printf -- '--cacert %s' "$CA"; else printf -- '-k'; fi; } + +wait_ready() { # base-url + local i code + for i in $(seq 1 200); do + code=$(curl -s $(curl_tls) -o /dev/null -w '%{http_code}' --max-time 1 "$1/ping" || true) + [ "$code" = 200 ] && return 0 + sleep 0.05 + done + echo "relay not ready at $1" >&2 + return 1 +} + +start() { # config pidfile log base-url + RUST_LOG=${RUST_LOG:-info} "$RELAY_BIN" --config-path "$1" >>"$3" 2>&1 & + echo $! >"$2" + wait_ready "$4" + echo "started pid $(cat "$2") on $4" +} + +stop() { # pidfile + local pid + pid=$(cat "$1") + kill -INT "$pid" 2>/dev/null || true + while kill -0 "$pid" 2>/dev/null; do sleep 0.05; done + echo "stopped pid $pid" +} + +restart() { # config pidfile log base-url + stop "$2" + start "$1" "$2" "$3" "$4" +} + +serial() { # https-base-url + echo | openssl s_client -connect "${1#https://}" -servername "${SERVERNAME:-localhost}" 2>/dev/null \ + | openssl x509 -noout -serial +} + +rotate_cert() { # new.pem new.key live.pem live.key config pidfile log base-url [ca.pem] + local new_cert=$1 new_key=$2 live_cert=$3 live_key=$4 config=$5 pidfile=$6 log=$7 base=$8 + if [ "$(openssl x509 -in "$new_cert" -noout -pubkey | openssl sha256)" != \ + "$(openssl pkey -in "$new_key" -pubout | openssl sha256)" ]; then + echo "certificate and key do not match; nothing changed" >&2 + return 1 + fi + if [ -n "${9:-}" ] && ! openssl verify -CAfile "$9" "$new_cert" >/dev/null; then + echo "certificate does not verify against $9; nothing changed" >&2 + return 1 + fi + local stamp + stamp=$(date -u +%Y%m%dT%H%M%SZ) + cp -p "$live_cert" "$live_cert.bak-$stamp" + cp -p "$live_key" "$live_key.bak-$stamp" + install -m 0644 "$new_cert" "$live_cert.tmp" && mv "$live_cert.tmp" "$live_cert" + install -m 0600 "$new_key" "$live_key.tmp" && mv "$live_key.tmp" "$live_key" + echo "installed; previous files kept as *.bak-$stamp" + restart "$config" "$pidfile" "$log" "$base" + echo "served: $(serial "$base")" +} + +health() { # base-url + local p + for p in /ping /healthz; do + echo "$p $(curl -s $(curl_tls) -o /dev/null -w '%{http_code}' "$1$p")" + done + echo "healthz body: $(curl -s $(curl_tls) "$1/healthz")" +} + +case "${1:-}" in + start) shift; start "$@" ;; + stop) shift; stop "$@" ;; + restart) shift; restart "$@" ;; + serial) shift; serial "$@" ;; + rotate-cert) shift; rotate_cert "$@" ;; + health) shift; health "$@" ;; + *) sed -n '2,11p' "$0"; exit 2 ;; +esac diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/src/main.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/src/main.rs new file mode 100644 index 0000000000..2f5cc0f70a --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s11-relay/src/main.rs @@ -0,0 +1,528 @@ +//! S11 relay driver. Runs the stock `iroh-relay` 1.3.0 binary and drives iroh 1.3.0 endpoints +//! against it on loopback. Endpoints have no IP transport, so every packet crosses a relay. +//! +//! s11 restart scenario 1: restart the relay under two peers +//! s11 idle scenario 4: non-home and home relay idle +//! s11 dial [--ca ]... [--token ] [--timeout-s ] scenarios 2 and 5 + +use std::{ + collections::BTreeMap, + fs::{self, OpenOptions}, + net::{SocketAddr, TcpStream}, + os::unix::process::ExitStatusExt, + path::{Path, PathBuf}, + process::{Child, ExitStatus, Stdio}, + sync::{ + Arc, Mutex, + atomic::{AtomicBool, AtomicU64, Ordering}, + }, + time::{Duration, Instant}, +}; + +use anyhow::{Context, Result, bail}; +use iroh::{ + Endpoint, EndpointAddr, RelayConfig, RelayMode, RelayUrl, Watcher, + endpoint::{Connection, RecvStream, SendStream, presets::Minimal}, + tls::CaTlsConfig, +}; +use rustls_pki_types::CertificateDer; +use serde_json::{Map, Value, json}; +use tokio::time::{interval, sleep, timeout}; +use tracing::info; + +const RELAY_BIN: &str = "/home/user/work/spikes/tools/bin/iroh-relay"; +const ALPN: &[u8] = b"s11/echo"; +/// One echo frame: an 8-byte sequence number and 1 KiB of payload. +const FRAME: usize = 8 + 1024; +const RESTART_CONFIG: &str = "config/local.toml"; +const RESTART_ADDR: &str = "127.0.0.1:19101"; +const RESTART_URL: &str = "http://127.0.0.1:19101"; + +/// Milliseconds from `t0` to `t`, to 0.1 ms. +fn ms_from(t0: Instant, t: Instant) -> f64 { + (t.duration_since(t0).as_secs_f64() * 1e4).round() / 10.0 +} + +/// A stock `iroh-relay` process. Its stderr is appended to a log file. +struct Relay { + child: Child, +} + +impl Relay { + fn start(config: &str, log: &Path) -> Result { + let log = OpenOptions::new().create(true).append(true).open(log)?; + let child = std::process::Command::new(RELAY_BIN) + .args(["--config-path", config]) + .env("RUST_LOG", std::env::var("S11_RELAY_LOG").unwrap_or_else(|_| "info".into())) + .stdout(Stdio::null()) + .stderr(log) + .spawn() + .context("spawn iroh-relay")?; + Ok(Self { child }) + } + + fn signal(&self, sig: i32) { + // SAFETY: kill(2) on the pid of a child this process spawned. + unsafe { libc::kill(self.child.id() as i32, sig) }; + } + + /// Polls for exit. Returns the exit time and status. + async fn wait_exit(&mut self) -> Result<(Instant, ExitStatus)> { + loop { + if let Some(status) = self.child.try_wait()? { + return Ok((Instant::now(), status)); + } + sleep(Duration::from_micros(200)).await; + } + } +} + +impl Drop for Relay { + fn drop(&mut self) { + let _ = self.child.kill(); + let _ = self.child.wait(); + } +} + +/// Polls until a TCP connect to `addr` succeeds. Returns when it did. +async fn wait_listening(addr: &str) -> Result { + let sock: SocketAddr = addr.parse()?; + let deadline = Instant::now() + Duration::from_secs(10); + loop { + if TcpStream::connect_timeout(&sock, Duration::from_millis(50)).is_ok() { + return Ok(Instant::now()); + } + if Instant::now() > deadline { + bail!("{addr} not listening after 10 s"); + } + sleep(Duration::from_millis(2)).await; + } +} + +/// An endpoint with no IP transport. Every packet goes through `relays`. +async fn bind_peer(relays: &[RelayUrl]) -> Result { + let map = relays + .iter() + .map(|url| RelayConfig::new(url.clone(), None)) + .collect(); + Ok(Endpoint::builder(Minimal) + .alpns(vec![ALPN.to_vec()]) + .relay_mode(RelayMode::Custom(map)) + .clear_ip_transports() + .bind() + .await?) +} + +/// The URL of the connected home relay. Call only after `online()`. +fn connected_url(ep: &Endpoint) -> RelayUrl { + let mut watch = ep.home_relay_status(); + let statuses = watch.get(); + statuses + .iter() + .find(|s| s.is_connected()) + .map(|s| s.url().clone()) + .expect("home relay connected") +} + +/// Each change of "has a connected home relay", with the time it happened. +type HomeLog = Arc>>; + +fn watch_home(ep: &Endpoint) -> HomeLog { + let log = HomeLog::default(); + let (ep, out) = (ep.clone(), log.clone()); + tokio::spawn(async move { + let mut watch = ep.home_relay_status(); + let mut last = None; + loop { + let up = watch.get().iter().any(|s| s.is_connected()); + if last != Some(up) { + last = Some(up); + out.lock().unwrap().push((Instant::now(), up)); + } + if watch.updated().await.is_err() { + break; + } + } + }); + log +} + +/// The first time the home relay came back up after it was first seen down at or after `t0`. +fn home_back_up(log: &HomeLog, t0: Instant) -> Option { + let log = log.lock().unwrap(); + let (down_at, _) = *log.iter().find(|(t, up)| *t >= t0 && !*up)?; + let (up_at, _) = *log.iter().find(|(t, up)| *t > down_at && *up)?; + Some(ms_from(t0, up_at)) +} + +/// Echo traffic for one scenario run, kept across reconnects. +#[derive(Default)] +struct Flow { + next: AtomicU64, + /// Frames to send with no pacing before going back to 100 per second. + burst: AtomicU64, + sent: Mutex>, + echoed: Mutex>, +} + +fn first_echo_after(flow: &Flow, t: Instant) -> Option { + flow.echoed.lock().unwrap().values().copied().filter(|&e| e > t).min() +} + +/// Opens a bidirectional stream to `to` and runs a sender and a reader on it. +async fn open_flow( + ep: &Endpoint, + to: &EndpointAddr, + flow: &Arc, + stop: &Arc, +) -> Result { + let conn = timeout(Duration::from_secs(20), ep.connect(to.clone(), ALPN)) + .await + .context("connect timed out")??; + let (send, recv) = conn.open_bi().await?; + tokio::spawn(send_frames(send, flow.clone(), stop.clone())); + tokio::spawn(read_echoes(recv, flow.clone())); + Ok(conn) +} + +async fn send_frames(mut send: SendStream, flow: Arc, stop: Arc) { + let mut tick = interval(Duration::from_millis(10)); + while !stop.load(Ordering::Relaxed) { + if flow.burst.load(Ordering::Relaxed) > 0 { + flow.burst.fetch_sub(1, Ordering::Relaxed); + } else { + tick.tick().await; + } + let seq = flow.next.fetch_add(1, Ordering::Relaxed); + let mut frame = vec![0u8; FRAME]; + frame[..8].copy_from_slice(&seq.to_be_bytes()); + if send.write_all(&frame).await.is_err() { + break; + } + flow.sent.lock().unwrap().insert(seq, Instant::now()); + } +} + +async fn read_echoes(mut recv: RecvStream, flow: Arc) { + let mut buf = [0u8; FRAME]; + while recv.read_exact(&mut buf).await.is_ok() { + let seq = u64::from_be_bytes(buf[..8].try_into().unwrap()); + flow.echoed.lock().unwrap().entry(seq).or_insert_with(Instant::now); + } +} + +/// The far side: echoes every frame back on each connection. +async fn serve_echo(ep: Endpoint) { + while let Some(incoming) = ep.accept().await { + tokio::spawn(async move { + let Ok(accepting) = incoming.accept() else { return }; + let Ok(conn) = accepting.await else { return }; + let Ok((mut send, mut recv)) = conn.accept_bi().await else { return }; + let mut buf = [0u8; FRAME]; + while recv.read_exact(&mut buf).await.is_ok() { + if send.write_all(&buf).await.is_err() { + break; + } + } + }); + } +} + +#[derive(Clone, Copy)] +struct Sig { + name: &'static str, + num: i32, +} + +async fn restart_run(sig: Sig, down: Duration, run: u32) -> Result { + let url: RelayUrl = RESTART_URL.parse()?; + let log = PathBuf::from(format!( + "logs/restart-{}-{}ms-run{run}-relay.log", + sig.name, + down.as_millis() + )); + let _ = fs::remove_file(&log); + + let mut relay = Relay::start(RESTART_CONFIG, &log)?; + wait_listening(RESTART_ADDR).await?; + let a = bind_peer(std::slice::from_ref(&url)).await?; + let b = bind_peer(std::slice::from_ref(&url)).await?; + timeout(Duration::from_secs(20), a.online()).await.context("A never online")?; + timeout(Duration::from_secs(20), b.online()).await.context("B never online")?; + let b_addr = b.addr(); + tokio::spawn(serve_echo(b.clone())); + let (home_a, home_b) = (watch_home(&a), watch_home(&b)); + + let flow = Arc::new(Flow::default()); + let stop = Arc::new(AtomicBool::new(false)); + let mut conn = open_flow(&a, &b_addr, &flow, &stop).await?; + sleep(Duration::from_secs(3)).await; + let warm_echoes = flow.echoed.lock().unwrap().len(); + + // A 2 MiB unpaced burst, so the kill lands while frames are still queued on the relay path. + flow.burst.store(2048, Ordering::Relaxed); + sleep(Duration::from_millis(20)).await; + let t_kill = Instant::now(); + let inflight: Vec = { + let sent = flow.sent.lock().unwrap(); + let echoed = flow.echoed.lock().unwrap(); + sent.keys().filter(|s| !echoed.contains_key(s)).copied().collect() + }; + relay.signal(sig.num); + let (t_exit, status) = relay.wait_exit().await?; + + sleep(down).await; + let _relay2 = Relay::start(RESTART_CONFIG, &log)?; + let t_up = wait_listening(RESTART_ADDR).await?; + + // Watch the connection until an echo arrives after the relay died and the in-flight frames + // have settled (or 10 s after the first echo). If the connection closed, re-dial it. + let mut survived = true; + let mut close_reason = None; + let mut t_redial = None; + let mut redialed = false; + let mut redial_attempts = 0; + let mut redial_error = None; + let mut next_redial = Instant::now(); + let deadline = t_exit + Duration::from_secs(90); + loop { + if survived && let Some(reason) = conn.close_reason() { + survived = false; + info!(%reason, closed_after_relay_down_ms = ms_from(t_exit, Instant::now()), "connection closed"); + close_reason = Some(reason.to_string()); + t_redial = Some(Instant::now()); + } + if !survived && !redialed && Instant::now() >= next_redial { + redial_attempts += 1; + match open_flow(&a, &b_addr, &flow, &stop).await { + Ok(new_conn) => { + conn = new_conn; + redialed = true; + info!(attempt = redial_attempts, "re-dialled"); + } + Err(e) => { + redial_error = Some(format!("{e:#}")); + info!(attempt = redial_attempts, error = %e, "re-dial failed"); + next_redial = Instant::now() + Duration::from_secs(1); + } + } + } + if let Some(first) = first_echo_after(&flow, t_up) { + let echoed = flow.echoed.lock().unwrap(); + let settled = inflight.iter().all(|s| echoed.contains_key(s)); + drop(echoed); + if settled || first.elapsed() > Duration::from_secs(10) { + break; + } + } + if Instant::now() > deadline { + break; + } + sleep(Duration::from_millis(10)).await; + } + + let first_echo = first_echo_after(&flow, t_up); + let redial_echo = t_redial.and_then(|t| first_echo_after(&flow, t)); + let lost = inflight + .iter() + .filter(|s| !flow.echoed.lock().unwrap().contains_key(s)) + .count(); + let exit = match status.signal() { + Some(s) => format!("killed by signal {s}"), + None => format!("exit {:?}", status.code()), + }; + let row = json!({ + "signal": sig.name, + "down_ms": down.as_millis() as u64, + "run": run, + "relay_exit": exit, + "relay_exit_ms": ms_from(t_kill, t_exit), + "relay_up_ms": ms_from(t_kill, t_up), + "home_a_back_ms": home_back_up(&home_a, t_kill), + "home_b_back_ms": home_back_up(&home_b, t_kill), + "first_echo_after_up_ms": first_echo.map(|t| ms_from(t_kill, t)), + "conn_survived": survived, + "close_reason": close_reason, + "redial_first_echo_ms": redial_echo.map(|e| ms_from(t_kill, e)), + "redial_attempts": redial_attempts, + "redial_error": redial_error, + "inflight_at_kill": inflight.len(), + "inflight_lost": lost, + "warm_echoes": warm_echoes, + "sent_total": flow.sent.lock().unwrap().len(), + "echoed_total": flow.echoed.lock().unwrap().len(), + "b_addr_relays": b_addr.relay_urls().count(), + "b_addr_ips": b_addr.ip_addrs().count(), + }); + + stop.store(true, Ordering::Relaxed); + conn.close(0u32.into(), b"s11 done"); + a.close().await; + b.close().await; + Ok(row) +} + +fn median(mut v: Vec) -> Option { + if v.is_empty() { + return None; + } + v.sort_by(|x, y| x.partial_cmp(y).unwrap()); + let n = v.len(); + Some(if n % 2 == 1 { v[n / 2] } else { (v[n / 2 - 1] + v[n / 2]) / 2.0 }) +} + +fn summarize(rows: &[Value]) -> Value { + let keys = [ + "relay_exit_ms", + "relay_up_ms", + "home_a_back_ms", + "home_b_back_ms", + "first_echo_after_up_ms", + "redial_first_echo_ms", + "inflight_at_kill", + "inflight_lost", + ]; + let mut out = Map::new(); + for key in keys { + let vals = rows.iter().filter_map(|r| r[key].as_f64()).collect(); + out.insert(key.into(), median(vals).map_or(Value::Null, |m| json!(m))); + } + out.insert("runs".into(), json!(rows.len())); + out.insert( + "conn_survived_runs".into(), + json!(rows.iter().filter(|r| r["conn_survived"] == true).count()), + ); + Value::Object(out) +} + +async fn restart(args: &[String]) -> Result<()> { + let sig = match args.first().map(String::as_str) { + Some("TERM") => Sig { name: "SIGTERM", num: libc::SIGTERM }, + Some("KILL") => Sig { name: "SIGKILL", num: libc::SIGKILL }, + Some("INT") => Sig { name: "SIGINT", num: libc::SIGINT }, + _ => bail!("signal must be TERM, KILL or INT"), + }; + let runs: u32 = args.get(1).context("runs")?.parse()?; + let down = Duration::from_millis(args.get(2).context("down_ms")?.parse()?); + fs::create_dir_all("logs")?; + let mut rows = Vec::new(); + for run in 1..=runs { + let row = restart_run(sig, down, run).await?; + println!("{row}"); + rows.push(row); + } + let summary = summarize(&rows); + println!("SUMMARY {summary}"); + let file = format!("logs/restart-{}-{}ms-summary.json", sig.name, down.as_millis()); + fs::write(file, serde_json::to_string_pretty(&json!({ "runs": rows, "median": summary }))?)?; + Ok(()) +} + +/// Scenario 4. A is homed on one of two relays and reaches B, which is homed on the other. +async fn idle() -> Result<()> { + let (u1, u2): (RelayUrl, RelayUrl) = + ("http://127.0.0.1:19111".parse()?, "http://127.0.0.1:19112".parse()?); + let _r1 = Relay::start("config/idle-r1.toml", Path::new("logs/idle-r1.log"))?; + let _r2 = Relay::start("config/idle-r2.toml", Path::new("logs/idle-r2.log"))?; + wait_listening("127.0.0.1:19111").await?; + wait_listening("127.0.0.1:19112").await?; + + let a = bind_peer(&[u1.clone(), u2.clone()]).await?; + timeout(Duration::from_secs(20), a.online()).await.context("A never online")?; + let home_a = connected_url(&a); + let non_home = if home_a == u1 { u2 } else { u1 }; + let b = bind_peer(std::slice::from_ref(&non_home)).await?; + timeout(Duration::from_secs(20), b.online()).await.context("B never online")?; + let b_addr = b.addr(); + tokio::spawn(serve_echo(b.clone())); + let home_log = watch_home(&a); + info!(%home_a, %non_home, "A is homed on the first relay and reaches B through the second"); + + let conn = timeout(Duration::from_secs(20), a.connect(b_addr, ALPN)).await.context("connect")??; + let (mut send, mut recv) = conn.open_bi().await?; + send.write_all(&vec![7u8; FRAME]).await?; + let mut buf = vec![0u8; FRAME]; + recv.read_exact(&mut buf).await?; + info!("one frame echoed; no application traffic from here on"); + + sleep(Duration::from_secs(70)).await; + info!(open = conn.close_reason().is_none(), "70 s idle: QUIC still open (5 s keep-alives)"); + conn.close(0u32.into(), b"s11 idle test"); + info!("closed the QUIC connection; this is the last datagram A sends to the non-home relay"); + sleep(Duration::from_secs(150)).await; + + let transitions = home_log.lock().unwrap().clone(); + info!(?transitions, "home relay status changes over the whole run (time, connected)"); + drop((send, recv)); + Ok(()) +} + +/// A probe: bind a client with the given relay, and report whether it comes online. +async fn dial(args: &[String]) -> Result<()> { + let url: RelayUrl = args.first().context("dial needs a relay URL")?.parse()?; + let mut cas = Vec::new(); + let mut token = None; + let mut timeout_s = 15; + let mut rest = args[1..].iter(); + while let Some(flag) = rest.next() { + let value = rest.next().with_context(|| format!("{flag} needs a value"))?; + match flag.as_str() { + "--ca" => cas.push(CertificateDer::from(fs::read(value)?)), + "--token" => token = Some(value.clone()), + "--timeout-s" => timeout_s = value.parse()?, + other => bail!("unknown flag {other}"), + } + } + + let mut relay = RelayConfig::new(url.clone(), None); + if let Some(t) = token { + relay = relay.with_auth_token(t); + } + let mut builder = Endpoint::builder(Minimal) + .relay_mode(RelayMode::Custom([relay].into_iter().collect())) + .clear_ip_transports(); + if !cas.is_empty() { + builder = builder.ca_tls_config(CaTlsConfig::custom_roots(cas)); + } + let ep = builder.bind().await?; + let t0 = Instant::now(); + match timeout(Duration::from_secs(timeout_s), ep.online()).await { + Ok(()) => println!("ONLINE relay={url} after_ms={}", ms_from(t0, Instant::now())), + Err(_) => { + let mut watch = ep.home_relay_status(); + let statuses = watch.get(); + if statuses.is_empty() { + println!("NOT_ONLINE relay={url} no_status_after_{timeout_s}s"); + } + for s in statuses { + println!( + "NOT_ONLINE relay={} connected={} last_error={:?} auth_denied={:?}", + s.url(), + s.is_connected(), + s.last_error().map(|e| e.to_string()), + s.auth_denied_reason(), + ); + } + } + } + ep.close().await; + Ok(()) +} + +#[tokio::main] +async fn main() -> Result<()> { + tracing_subscriber::fmt() + .with_env_filter(tracing_subscriber::EnvFilter::from_default_env()) + .with_writer(std::io::stderr) + .init(); + let args: Vec = std::env::args().skip(1).collect(); + match args.first().map(String::as_str) { + Some("restart") => restart(&args[1..]).await, + Some("idle") => idle().await, + Some("dial") => dial(&args[1..]).await, + _ => bail!( + "usage: s11 restart | idle | \ + dial [--ca ]... [--token ] [--timeout-s ]" + ), + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/Cargo.lock b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/Cargo.lock new file mode 100644 index 0000000000..55f3080ffb --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/Cargo.lock @@ -0,0 +1,1594 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "aead" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0" +dependencies = [ + "crypto-common 0.1.7", + "generic-array", +] + +[[package]] +name = "aes" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" +dependencies = [ + "cfg-if", + "cipher", + "cpufeatures 0.2.17", +] + +[[package]] +name = "aes-gcm" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "831010a0f742e1209b3bcea8fab6a8e149051ba6099432c8cb2cc117dec3ead1" +dependencies = [ + "aead", + "aes", + "cipher", + "ctr", + "ghash", + "subtle", +] + +[[package]] +name = "aho-corasick" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba" +dependencies = [ + "memchr", +] + +[[package]] +name = "arrayvec" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56" + +[[package]] +name = "autocfg" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" + +[[package]] +name = "base16ct" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" + +[[package]] +name = "base64ct" +version = "1.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2af50177e190e07a26ab74f8b1efbfe2ef87da2116221318cb1c2e82baf7de06" + +[[package]] +name = "bindgen" +version = "0.72.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "993776b509cfb49c750f11b8f07a46fa23e0a1386ffc01fb1e7d343efc387895" +dependencies = [ + "bitflags", + "cexpr", + "clang-sys", + "itertools", + "log", + "prettyplease", + "proc-macro2", + "quote", + "regex", + "rustc-hash", + "shlex 1.3.0", + "syn 2.0.119", +] + +[[package]] +name = "bitflags" +version = "2.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06" + +[[package]] +name = "blake3" +version = "1.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d9e454fc11f76977dc803893aff6304ed33d6a26efae8696573bea74baa27ae" +dependencies = [ + "arrayvec", + "cc", + "cfg-if", + "constant_time_eq", + "cpufeatures 0.3.1", +] + +[[package]] +name = "block-buffer" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" +dependencies = [ + "generic-array", +] + +[[package]] +name = "block-buffer" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2f6c7dbe95a6ed67ad9f18e57daf93a2f034c524b99fd2b76d18fdfeb6660aa" +dependencies = [ + "hybrid-array", +] + +[[package]] +name = "bumpalo" +version = "3.20.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649" + +[[package]] +name = "cbor-core" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9f70473b5194d5f6e3c271dc6d0f63f6b17cc5d004af959e9ed0be8c1dadcdb" +dependencies = [ + "serde", +] + +[[package]] +name = "cc" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50a649af8a827553c29fb0cb4bd4a6f1a0dd695bd3232b9bc98bd9c8a3ffbb8b" +dependencies = [ + "find-msvc-tools", + "shlex 2.0.1", +] + +[[package]] +name = "cexpr" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766" +dependencies = [ + "nom", +] + +[[package]] +name = "cfg-if" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600" + +[[package]] +name = "chacha20" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3613f74bd2eac03dad61bd53dbe620703d4371614fe0bc3b9f04dd36fe4e818" +dependencies = [ + "cfg-if", + "cipher", + "cpufeatures 0.2.17", +] + +[[package]] +name = "chacha20" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65c35e4b699c7e15ccbe7ee35c005e4fc0a278d22238a2857e6ce2dadeda1b06" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "rand_core 0.10.1", +] + +[[package]] +name = "chacha20poly1305" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10cd79432192d1c0f4e1a0fef9527696cc039165d729fb41b3f4f4f354c2dc35" +dependencies = [ + "aead", + "chacha20 0.9.1", + "cipher", + "poly1305", + "zeroize", +] + +[[package]] +name = "cipher" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" +dependencies = [ + "crypto-common 0.1.7", + "inout", + "zeroize", +] + +[[package]] +name = "clang-sys" +version = "1.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "157a8ba7b480713b56f4c09fd13fc3e0a22a5dfab8097ba61cbc5feef950788a" +dependencies = [ + "glob", + "libc", + "libloading", +] + +[[package]] +name = "cmov" +version = "0.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c9ea0ac24bc397ab3c98583a3c9ba74fa56b09a4449bbe172b9b1ddb016027a" + +[[package]] +name = "const-oid" +version = "0.9.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" + +[[package]] +name = "constant_time_eq" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d52eff69cd5e647efe296129160853a42795992097e8af39800e1060caeea9b" + +[[package]] +name = "core-models" +version = "0.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee3344d349528f449816cfa85e558c439bdca5a6d8a738cfb21e69f0b2b1952f" +dependencies = [ + "hax-lib", + "pastey", + "rand 0.10.3", +] + +[[package]] +name = "cpufeatures" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" +dependencies = [ + "libc", +] + +[[package]] +name = "cpufeatures" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ca28b0ae3115b884660db4118d803791fd6756b6e88f39c0f3f7859060d7566" +dependencies = [ + "libc", +] + +[[package]] +name = "crabgrind" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc7459e07732f6de74001fcf73a3fdfbb0f368e4fd8e2392f4a2206a065e6e95" +dependencies = [ + "bindgen", + "cc", + "pkg-config", +] + +[[package]] +name = "crypto-bigint" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" +dependencies = [ + "generic-array", + "rand_core 0.6.4", + "subtle", + "zeroize", +] + +[[package]] +name = "crypto-common" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" +dependencies = [ + "generic-array", + "typenum", +] + +[[package]] +name = "crypto-common" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453" +dependencies = [ + "hybrid-array", +] + +[[package]] +name = "ctr" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835" +dependencies = [ + "cipher", +] + +[[package]] +name = "ctutils" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03bb0e1cc970d482d121d9a1744999169b69a07470b3d644a7894e53fcaf4574" +dependencies = [ + "cmov", +] + +[[package]] +name = "curve25519-dalek" +version = "4.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "curve25519-dalek-derive", + "digest 0.10.7", + "fiat-crypto", + "rustc_version", + "subtle", + "zeroize", +] + +[[package]] +name = "curve25519-dalek-derive" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "der" +version = "0.7.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb" +dependencies = [ + "const-oid", + "zeroize", +] + +[[package]] +name = "digest" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" +dependencies = [ + "block-buffer 0.10.4", + "crypto-common 0.1.7", + "subtle", +] + +[[package]] +name = "digest" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2" +dependencies = [ + "block-buffer 0.12.1", + "crypto-common 0.2.2", + "ctutils", +] + +[[package]] +name = "ed25519" +version = "2.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" +dependencies = [ + "pkcs8", + "signature", +] + +[[package]] +name = "ed25519-dalek" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70e796c081cee67dc755e1a36a0a172b897fab85fc3f6bc48307991f64e4eca9" +dependencies = [ + "curve25519-dalek", + "ed25519", + "rand_core 0.6.4", + "serde", + "sha2 0.10.9", + "subtle", + "zeroize", +] + +[[package]] +name = "either" +version = "1.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be" + +[[package]] +name = "elliptic-curve" +version = "0.13.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" +dependencies = [ + "base16ct", + "crypto-bigint", + "digest 0.10.7", + "ff", + "generic-array", + "group", + "hkdf 0.12.4", + "rand_core 0.6.4", + "sec1", + "subtle", + "zeroize", +] + +[[package]] +name = "ff" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0b50bfb653653f9ca9095b427bed08ab8d75a137839d9ad64eb11810d5b6393" +dependencies = [ + "rand_core 0.6.4", + "subtle", +] + +[[package]] +name = "fiat-crypto" +version = "0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d" + +[[package]] +name = "find-msvc-tools" +version = "0.1.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aedcfb3409746eddb02b9e19ebda1c3394f759a152e48ee875a0844d1b955484" + +[[package]] +name = "futures-core" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e" + +[[package]] +name = "futures-task" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd" + +[[package]] +name = "futures-util" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc" +dependencies = [ + "futures-core", + "futures-task", + "pin-project-lite", + "slab", +] + +[[package]] +name = "generic-array" +version = "0.14.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +dependencies = [ + "typenum", + "version_check", + "zeroize", +] + +[[package]] +name = "getrandom" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0" +dependencies = [ + "cfg-if", + "libc", + "wasi", +] + +[[package]] +name = "getrandom" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" +dependencies = [ + "cfg-if", + "libc", + "r-efi 5.3.0", + "wasip2", +] + +[[package]] +name = "getrandom" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" +dependencies = [ + "cfg-if", + "libc", + "r-efi 6.0.0", + "rand_core 0.10.1", +] + +[[package]] +name = "ghash" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0d8a4362ccb29cb0b265253fb0a2728f592895ee6854fd9bc13f2ffda266ff1" +dependencies = [ + "opaque-debug", + "polyval", +] + +[[package]] +name = "glob" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4eba85ea1d0a966a983acd07deee566e67395d2d96b6fb39e62b5a833f1eb0b" + +[[package]] +name = "group" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" +dependencies = [ + "ff", + "rand_core 0.6.4", + "subtle", +] + +[[package]] +name = "hax-lib" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01a33cb227f97ee5c419064c31d7c55a7d895f28d8019ccdadc311cc036500c4" +dependencies = [ + "hax-lib-macros", + "num-bigint", + "num-traits", +] + +[[package]] +name = "hax-lib-macros" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28da835a5f153e9f3d0cc1f42ee605a1cfa9093c93348193793d60a1b0908b51" +dependencies = [ + "hax-lib-macros-types", + "proc-macro-error2", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "hax-lib-macros-types" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eed327e9a28d6ee018a4a9ba842d4ee27e378c8a591d2beb6f42f32b24a02fcb" +dependencies = [ + "proc-macro2", + "quote", + "serde", + "serde_json", + "uuid", +] + +[[package]] +name = "hex" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" +dependencies = [ + "serde", +] + +[[package]] +name = "hkdf" +version = "0.12.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7" +dependencies = [ + "hmac 0.12.1", +] + +[[package]] +name = "hkdf" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4aaa26c720c68b866f2c96ef5c1264b3e6f473fe5d4ce61cd44bbe913e553018" +dependencies = [ + "hmac 0.13.0", +] + +[[package]] +name = "hmac" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" +dependencies = [ + "digest 0.10.7", +] + +[[package]] +name = "hmac" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6303bc9732ae41b04cb554b844a762b4115a61bfaa81e3e83050991eeb56863f" +dependencies = [ + "digest 0.11.3", +] + +[[package]] +name = "hpke-rs" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "812de62ab573b876c6c40d7553bae9402ae3bad95b64af06f964388eecb9b7b1" +dependencies = [ + "hpke-rs-crypto", + "libcrux-sha3", + "log", + "subtle", + "zeroize", +] + +[[package]] +name = "hpke-rs-crypto" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2c461da2e0c9c93d875b597f0c78214fb0d2d5c57834b2ef2a2fa057fa20e24" +dependencies = [ + "rand 0.10.3", + "zeroize", +] + +[[package]] +name = "hpke-rs-rust-crypto" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a606ac19851da841862ef5f39d26d6227bfcfb4047417801a66c1f6e6652d71" +dependencies = [ + "aes-gcm", + "chacha20poly1305", + "hkdf 0.13.0", + "hpke-rs-crypto", + "k256", + "p256", + "p384", + "rand 0.10.3", + "rand_chacha 0.10.0", + "rand_core 0.10.1", + "sha2 0.11.0", + "subtle", + "x25519-dalek", + "zeroize", +] + +[[package]] +name = "hybrid-array" +version = "0.4.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27f864f10dfb56725ce5ce5472bc52252c8f93a4ab86327122cebf62c5f59a17" +dependencies = [ + "typenum", +] + +[[package]] +name = "inout" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01" +dependencies = [ + "generic-array", +] + +[[package]] +name = "itertools" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" +dependencies = [ + "either", +] + +[[package]] +name = "itoa" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" + +[[package]] +name = "js-sys" +version = "0.3.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7883d941dae510fb2d978fc3fe018c71c9e2892fd38854de3e8b92c2e5ad9cc5" +dependencies = [ + "cfg-if", + "futures-util", + "wasm-bindgen", +] + +[[package]] +name = "k256" +version = "0.13.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6e3919bbaa2945715f0bb6d3934a173d1e9a59ac23767fbaaef277265a7411b" +dependencies = [ + "cfg-if", + "elliptic-curve", +] + +[[package]] +name = "libc" +version = "0.2.190" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78" + +[[package]] +name = "libcrux-intrinsics" +version = "0.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98a0c574d4eb81d0814bc2b91e4a433d7e0b35851b1d62eb5dd95c064f1f76d0" +dependencies = [ + "core-models", + "hax-lib", +] + +[[package]] +name = "libcrux-platform" +version = "0.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d9e21d7ed31a92ac539bd69a8c970b183ee883872d2d19ce27036e24cb8ecc4" +dependencies = [ + "libc", +] + +[[package]] +name = "libcrux-secrets" +version = "0.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "79054fc9037cb70d6a546cf094cea7d7df06af5e49d230ba24103d27ccc886f1" +dependencies = [ + "crabgrind", + "hax-lib", +] + +[[package]] +name = "libcrux-sha3" +version = "0.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c09f5c39afae0528e1f70a3c1e3c6ee649ec1f19dda26fc9b6ea91108fb879ef" +dependencies = [ + "hax-lib", + "libcrux-intrinsics", + "libcrux-platform", + "libcrux-traits", +] + +[[package]] +name = "libcrux-traits" +version = "0.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3fa7a21e8c2e8baa8b40f0b176740f2ca4baadd79d1b00e48d6b1e363c42085a" +dependencies = [ + "libcrux-secrets", + "rand 0.10.3", +] + +[[package]] +name = "libloading" +version = "0.8.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55" +dependencies = [ + "cfg-if", + "windows-link", +] + +[[package]] +name = "log" +version = "0.4.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6" + +[[package]] +name = "memchr" +version = "2.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" + +[[package]] +name = "minimal-lexical" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" + +[[package]] +name = "nom" +version = "7.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" +dependencies = [ + "memchr", + "minimal-lexical", +] + +[[package]] +name = "num-bigint" +version = "0.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c89e69e7e0f03bea5ef08013795c25018e101932225a656383bd384495ecc367" +dependencies = [ + "num-integer", + "num-traits", +] + +[[package]] +name = "num-integer" +version = "0.1.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ce2d95d4b3734dc35aa2f45e1aa22cd416814592a4f9d9205e11affd5b8e10b" +dependencies = [ + "num-traits", +] + +[[package]] +name = "num-traits" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +dependencies = [ + "autocfg", +] + +[[package]] +name = "once_cell" +version = "1.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" + +[[package]] +name = "opaque-debug" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" + +[[package]] +name = "p256" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9863ad85fa8f4460f9c48cb909d38a0d689dba1f6f6988a5e3e0d31071bcd4b" +dependencies = [ + "elliptic-curve", + "primeorder", +] + +[[package]] +name = "p2panda-core" +version = "0.7.1" +source = "git+https://github.com/p2panda/p2panda?rev=3e84cac48bba05c6857cce2ec433862b97f8d53c#3e84cac48bba05c6857cce2ec433862b97f8d53c" +dependencies = [ + "blake3", + "cbor-core", + "ed25519-dalek", + "hex", + "rand 0.8.8", + "serde", + "serde_bytes", + "thiserror", +] + +[[package]] +name = "p2panda-encryption" +version = "0.7.1" +dependencies = [ + "chacha20poly1305", + "curve25519-dalek", + "hex", + "hkdf 0.12.4", + "hpke-rs", + "hpke-rs-crypto", + "hpke-rs-rust-crypto", + "p2panda-core", + "rand_chacha 0.9.0", + "serde", + "serde_bytes", + "sha2 0.10.9", + "subtle", + "thiserror", + "x25519-dalek", + "zeroize", +] + +[[package]] +name = "p2panda-encryption" +version = "0.7.1" +source = "git+https://github.com/p2panda/p2panda?rev=3e84cac48bba05c6857cce2ec433862b97f8d53c#3e84cac48bba05c6857cce2ec433862b97f8d53c" +dependencies = [ + "chacha20poly1305", + "curve25519-dalek", + "hex", + "hkdf 0.12.4", + "hpke-rs", + "hpke-rs-crypto", + "hpke-rs-rust-crypto", + "p2panda-core", + "rand_chacha 0.9.0", + "serde", + "serde_bytes", + "sha2 0.10.9", + "subtle", + "thiserror", + "x25519-dalek", + "zeroize", +] + +[[package]] +name = "p2panda-encryption-found" +version = "0.7.1" +dependencies = [ + "chacha20poly1305", + "curve25519-dalek", + "hex", + "hkdf 0.12.4", + "hpke-rs", + "hpke-rs-crypto", + "hpke-rs-rust-crypto", + "p2panda-core", + "rand_chacha 0.9.0", + "serde", + "serde_bytes", + "sha2 0.10.9", + "subtle", + "thiserror", + "x25519-dalek", + "zeroize", +] + +[[package]] +name = "p384" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe42f1670a52a47d448f14b6a5c61dd78fce51856e68edaa38f7ae3a46b8d6b6" +dependencies = [ + "elliptic-curve", + "primeorder", +] + +[[package]] +name = "pastey" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ee67f1008b1ba2321834326597b8e186293b049a023cdef258527550b9935b4" + +[[package]] +name = "pin-project-lite" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" + +[[package]] +name = "pkcs8" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" +dependencies = [ + "der", + "spki", +] + +[[package]] +name = "pkg-config" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548" + +[[package]] +name = "poly1305" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8159bd90725d2df49889a078b54f4f79e87f1f8a8444194cdca81d38f5393abf" +dependencies = [ + "cpufeatures 0.2.17", + "opaque-debug", + "universal-hash", +] + +[[package]] +name = "polyval" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d1fe60d06143b2430aa532c94cfe9e29783047f06c0d7fd359a9a51b729fa25" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "opaque-debug", + "universal-hash", +] + +[[package]] +name = "ppv-lite86" +version = "0.2.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" +dependencies = [ + "zerocopy", +] + +[[package]] +name = "prettyplease" +version = "0.2.37" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b" +dependencies = [ + "proc-macro2", + "syn 2.0.119", +] + +[[package]] +name = "primeorder" +version = "0.13.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "353e1ca18966c16d9deb1c69278edbc5f194139612772bd9537af60ac231e1e6" +dependencies = [ + "elliptic-curve", +] + +[[package]] +name = "proc-macro-error-attr2" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96de42df36bb9bba5542fe9f1a054b8cc87e172759a1868aa05c1f3acc89dfc5" +dependencies = [ + "proc-macro2", + "quote", +] + +[[package]] +name = "proc-macro-error2" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11ec05c52be0a07b08061f7dd003e7d7092e0472bc731b4af7bb1ef876109802" +dependencies = [ + "proc-macro-error-attr2", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "proc-macro2" +version = "1.0.107" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "quote" +version = "1.0.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "r-efi" +version = "5.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" + +[[package]] +name = "r-efi" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" + +[[package]] +name = "rand" +version = "0.8.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e058c7de0b26af77780c769414d6257830bb240f3c38477dbc2c16e5f54d6d4c" +dependencies = [ + "libc", + "rand_chacha 0.3.1", + "rand_core 0.6.4", +] + +[[package]] +name = "rand" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65c9fb96cbc91e3478eaae79a69fcd3f1ae4ad052e471fe6732fff548984b4af" +dependencies = [ + "chacha20 0.10.2", + "getrandom 0.4.3", + "rand_core 0.10.1", +] + +[[package]] +name = "rand_chacha" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +dependencies = [ + "ppv-lite86", + "rand_core 0.6.4", +] + +[[package]] +name = "rand_chacha" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" +dependencies = [ + "ppv-lite86", + "rand_core 0.9.5", +] + +[[package]] +name = "rand_chacha" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e6af7f3e25ded52c41df4e0b1af2d047e45896c2f3281792ed68a1c243daedb" +dependencies = [ + "ppv-lite86", + "rand_core 0.10.1", +] + +[[package]] +name = "rand_core" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +dependencies = [ + "getrandom 0.2.17", +] + +[[package]] +name = "rand_core" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c" +dependencies = [ + "getrandom 0.3.4", +] + +[[package]] +name = "rand_core" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" + +[[package]] +name = "regex" +version = "1.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.4.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.8.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" + +[[package]] +name = "rustc-hash" +version = "2.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d" + +[[package]] +name = "rustc_version" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" +dependencies = [ + "semver", +] + +[[package]] +name = "rustversion" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f" + +[[package]] +name = "s12-welcome" +version = "0.0.0" +dependencies = [ + "cbor-core", + "p2panda-core", + "p2panda-encryption 0.7.1", + "p2panda-encryption 0.7.1 (git+https://github.com/p2panda/p2panda?rev=3e84cac48bba05c6857cce2ec433862b97f8d53c)", + "p2panda-encryption-found", +] + +[[package]] +name = "sec1" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" +dependencies = [ + "base16ct", + "der", + "generic-array", + "subtle", + "zeroize", +] + +[[package]] +name = "semver" +version = "1.0.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd" + +[[package]] +name = "serde" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba" +dependencies = [ + "serde_core", + "serde_derive", +] + +[[package]] +name = "serde_bytes" +version = "0.11.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5d440709e79d88e51ac01c4b72fc6cb7314017bb7da9eeff678aa94c10e3ea8" +dependencies = [ + "serde", + "serde_core", +] + +[[package]] +name = "serde_core" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "serde_json" +version = "1.0.152" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1741ab7a6cc54a03a89b5d563ed60075c277d9e3cfa73ad0c1f23f23974703c6" +dependencies = [ + "itoa", + "memchr", + "serde", + "serde_core", + "zmij", +] + +[[package]] +name = "sha2" +version = "0.10.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "digest 0.10.7", +] + +[[package]] +name = "sha2" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "digest 0.11.3", +] + +[[package]] +name = "shlex" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" + +[[package]] +name = "shlex" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba" + +[[package]] +name = "signature" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" +dependencies = [ + "rand_core 0.6.4", +] + +[[package]] +name = "slab" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" + +[[package]] +name = "spki" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" +dependencies = [ + "base64ct", + "der", +] + +[[package]] +name = "subtle" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" + +[[package]] +name = "syn" +version = "2.0.119" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "3.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d62a2e0561533f2ca2561d0cf27fd9fedb640a1bf2616ff5d5c80d99017faadc" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "thiserror" +version = "2.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e" +dependencies = [ + "thiserror-impl", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "typenum" +version = "1.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" + +[[package]] +name = "unicode-ident" +version = "1.0.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d245f478577f809a851594d02313b640fb437e0bb33866753cff937863096954" + +[[package]] +name = "universal-hash" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea" +dependencies = [ + "crypto-common 0.1.7", + "subtle", +] + +[[package]] +name = "uuid" +version = "1.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7cc1186384beb7dd8eedea376413fd654937285ea6c9cfbb928dc3043ea4b606" +dependencies = [ + "getrandom 0.4.3", + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "version_check" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" + +[[package]] +name = "wasi" +version = "0.11.1+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" + +[[package]] +name = "wasip2" +version = "1.0.4+wasi-0.2.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b67efb37e106e55ce722a510d6b5f9c17f083e5fc79afc2badeb12cc313d9487" +dependencies = [ + "wit-bindgen", +] + +[[package]] +name = "wasm-bindgen" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9bb54f33acc68fd454578d9820b0bde1a1a3d17aa17bb7b6595806d02886d409" +dependencies = [ + "cfg-if", + "once_cell", + "rustversion", + "wasm-bindgen-macro", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e29d0c35b16e224a7eeb5cd2d25e3e1968fbd65604117b44d3b789d00ee8535" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f501a8bc3719dba86ef8ae4728879c08001bea749eb1333ac5b91e040e2a6b7" +dependencies = [ + "bumpalo", + "proc-macro2", + "quote", + "syn 3.0.7", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23f0c9c52aa7cd7d77769a4cfe2a9adb1b331f489a41d912ce14513d5ab995c6" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + +[[package]] +name = "wit-bindgen" +version = "0.57.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e" + +[[package]] +name = "x25519-dalek" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7e468321c81fb07fa7f4c636c3972b9100f0346e5b6a9f2bd0603a52f7ed277" +dependencies = [ + "curve25519-dalek", + "rand_core 0.6.4", + "serde", + "zeroize", +] + +[[package]] +name = "zerocopy" +version = "0.8.62" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86502bf56ac7c77571a32e2647bb2a15894565e981fb2a48d7bde2d91c965a9d" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.8.62" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5457206954b06561e2608c7e19cf58b1926586d999c246eebe4502f7e2039d1a" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "zeroize" +version = "1.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e13084392c5e4bc371903e2935a5eaeed24905a7511356b883835e18a78f6879" +dependencies = [ + "zeroize_derive", +] + +[[package]] +name = "zeroize_derive" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c50655cbb0fe3fc43170059e702f1ce5e19b84cec58dc87b037a09935c2f328" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "zmij" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b" diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/Cargo.toml b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/Cargo.toml new file mode 100644 index 0000000000..835e32ca66 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/Cargo.toml @@ -0,0 +1,21 @@ +[package] +name = "s12-welcome" +version = "0.0.0" +edition = "2024" +rust-version = "1.96" +publish = false + +# Standalone crate, not a member of the spikes workspace (BRIEF rule 6). The two path copies are +# excluded so that cargo does not treat both as a workspace member named `p2panda-encryption`. +[workspace] +exclude = ["variants/found/p2panda-encryption", "variants/serde-bytes/p2panda-encryption"] + +[dependencies] +p2panda-core = { git = "https://github.com/p2panda/p2panda", rev = "3e84cac48bba05c6857cce2ec433862b97f8d53c" } +cbor-core = "=0.10.1" +# Stock crate, as pinned. +p2panda-encryption = { git = "https://github.com/p2panda/p2panda", rev = "3e84cac48bba05c6857cce2ec433862b97f8d53c", features = ["data_scheme", "test_utils"] } +# serde_bytes variant: the S3 path copy plus `serde_bytes` on the two welcome fields (see RESULTS.md). +p2panda-encryption-sb = { package = "p2panda-encryption", path = "variants/serde-bytes/p2panda-encryption", features = ["data_scheme", "test_utils"] } +# The S3 path copy as found: membership fix and add_from_join, no serde_bytes on the fields. +p2panda-encryption-found = { path = "variants/found/p2panda-encryption", features = ["data_scheme", "test_utils"] } diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/RESULTS.md b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/RESULTS.md new file mode 100644 index 0000000000..9a34590597 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/RESULTS.md @@ -0,0 +1,232 @@ +# S12: welcome size as epochs accumulate + +Status: measured. Raw output is in `logs/`. Five runs per build (seeds 1–5), release profile, pinned p2panda rev `3e84cac`. + +## Question + +Task 05 and the design review ask for the welcome size at 1,000 rotations, with and without the `serde_bytes` patch (design review §3.5 and §6 item 5; task-05 Acceptance). The brief adds: + +- bytes per epoch and the total at K = 1, 10, 100, 1,000 rotations, for the stock crate and the serde_bytes variant; +- whether any part grows faster than linearly; +- the welcome with only the N newest epochs (N = 1, 8, 32), if the API allows it; +- the time to create the welcome at K = 1,000. + +## Summary + +- **Stock:** 146.6 B per epoch (fit over five runs, sd 0.1). At K = 1,000 (1,001 secrets) the welcome is 147.4 KB (mean of five runs, sd 124 B). +- **serde_bytes:** 40.0 B per epoch, exactly. At K = 1,000 the welcome is 40,493 B. +- **Growth:** each welcome grows linearly with rotations (members were fixed at three). The cumulative bytes of welcomes sent for churn (remove, then re-add) grow with the square of K: 19.5 MB (stock) and 10.2 MB (serde_bytes) at K = 1,000, from 500 re-adds. +- **recent N:** the public API allows it. At K = 1,000, stock welcomes are 747 B, 1,775 B and 5,323 B for N = 1, 8, 32 (five-run means). serde_bytes gives 489 B, 771 B and 1,732 B. The joiner learns exactly those N secrets. +- **Time at K = 1,000 (stock):** `Dcgka::add` 1.76 ms, CBOR encoding 1.96 ms. serde_bytes: 0.51 ms and 0.003 ms. +- **Wire compatibility:** a PreKey welcome from the serde_bytes build does not decode on the stock build, and the reverse also fails. +- **The S3 "patched" copy does not contain the serde_bytes change.** The serde_bytes numbers come from a copy annotated in this folder (see Method). + +## Method + +### Builds + +| Build | Source | Change from the pin | +|---|---|---| +| stock | git, p2panda rev `3e84cac`, p2panda-encryption 0.7.1, features `data_scheme`, `test_utils` | none | +| serde-bytes | `variants/serde-bytes/p2panda-encryption`, a copy of `/home/user/work/spikes/s3-history/patched/p2panda-encryption` | `#[serde(with = "serde_bytes")]` on `TwoPartyPlaintext.plaintext` (`src/two_party/two_party.rs:244`) and on `X3dhCiphertext.ciphertext` (`src/two_party/x3dh.rs:41`). `logs/variant-diff-serde-bytes-vs-s3-path.diff` shows only these two lines. | +| found-as-is (control) | copy of the same S3 path copy, in `variants/found/` | Package renamed to `p2panda-encryption-found`. Two path packages with the same name and version collide in the lockfile. Otherwise unchanged. | + +**The S3 path copy does not have the serde_bytes change.** Its `two_party/` and `x3dh.rs` have no `serde(with` attributes. `diff -rq` against the pinned checkout's `src` shows only `data_scheme/dcgka.rs` and `data_scheme/group.rs` differ (the membership fix and `add_from_join`). S3's RESULTS list the serde_bytes fix as "described, not built". The `patch.diff` in S3's logs has no field-level `serde_bytes` change. Its `Cargo.toml` hunk only turns workspace dependencies into explicit versions and drops `[lints]`. The brief's "serde_bytes variant from the patched path" therefore does not exist as described, so I built the variant myself. + +### Serializer + +Sizes are the length of `p2panda_core::cbor::encode_cbor(&dm)`, where `dm` is the crate's `DirectMessage`. That function calls `cbor_core::Value::serialized` and then `.encode()`, so the serializer is **cbor-core 0.10.1** with its serde feature (the version in `Cargo.lock`). It is the CBOR the p2panda stack uses for headers (S5). The encryption crate has no serializer of its own. + +serde writes a `Vec` without `serde_bytes` as a CBOR array of integers. Each byte costs 1 byte below 24 and 2 bytes from 24 to 255, about 1.91 bytes on random data. + +### What is measured + +- The welcome is the whole `DirectMessage` with `DirectMessageContent::Welcome { ciphertext, history }`. `history` (the DGM state) and `ciphertext` (the `TwoPartyMessage`) are also encoded separately. +- The probe joiner is a fresh identity, so its welcome takes the X3DH (PreKey) path (`logs/welcome-k1-stock.diag`: `"key_used": "PreKey"`). +- The ordering message that carries the welcome is not included. S3 measured the same DM alone. + +### Scenario + +For each build and run. The RNG seed is the same for all builds. + +1. Admin (the adder), Bob and Carol: `EncryptionGroup::create(admin, [admin, bob, carol])`. One secret. +2. Rotations k = 1 … 1000. **Odd k:** `EncryptionGroup::update` (one secret). **Even k:** `EncryptionGroup::remove(carol)` (one secret), then `EncryptionGroup::add(carol)`, which mints no secret and keeps three members. After K rotations the admin's bundle holds K + 1 secrets. +3. Samples at K ∈ {0, 1, 2, 5, 10, 50, 100, 250, 500, 750, 1000}. At each sample a probe joiner gets a welcome from `Dcgka::add` on a clone of the admin's state, with three bundles: + - all secrets (full history); + - the N newest secrets for N = 1, 8, 32, built with `SecretBundle::from_secrets`; + - an empty bundle (the from_join welcome). +4. At K = 1000, the public `EncryptionGroup::add(join)` path gives the joiner welcome with the full bundle. +5. Joiner check, at K = 1000: the probe joiner processes each welcome with its own keys, through `Dcgka::process` with the Add control message. The secret IDs it learns are compared with the expected set. +6. Times: `Instant` around `Dcgka::add` (the welcome), around `encode_cbor` (the bytes), and around `EncryptionGroup::add`. State clones are made outside the timer. Medians of 15 runs per sample, and 50 at K = 1000. + +Two consequences of the scenario: + +- Bob and Carol never process or send messages. The admin's state changes only through its own calls, and nothing comes back to the admin, so receiver processing should not change the admin's welcome. I did not check this by running a full group. +- Re-adding Carol uses her existing 2SM session, because `remove` does not delete the `two_party` entry (`dcgka.rs`, `remove` and `encrypt_to`). So the re-add welcome takes the HPKE branch (`logs/readd-first-stock.diag`: `"key_used": "ReceivedKey"`, `"Hpke"`). + +**Stock sizes are not reproducible across processes, even with the same seed.** Seed 1 at K = 1,000 gave 147,438 B in the logged run and 147,401 B on a re-run of the same harness. The serde-bytes sizes were identical in every run. Two sources of run-to-run variation are visible in the code. `GroupSecret::from_rng` stamps each secret with the wall clock (`SystemTime::now()`), and `SecretBundleState` serializes its secrets in `HashMap` order. Both change the bytes that stock's integer-array encoding then sizes. I did not isolate which one matters, so the stock spread below is run-to-run, not seed-driven. + +### Commands + +``` +export CARGO_TARGET_DIR=/home/user/work/spikes/target +CARGO="$(rustup which --toolchain 1.97.0 cargo)" # rustc 1.97.0 +cd /home/user/work/spikes-next/s12-welcome +"$CARGO" build --release --offline +for s in 1 2 3 4 5; do "$CARGO" run --release --offline -q -- --seed $s > logs/run-seed$s.txt; done +sh summarize.sh # writes logs/summary.txt +diff -ru /home/user/work/spikes/s3-history/patched/p2panda-encryption variants/serde-bytes/p2panda-encryption > logs/variant-diff-serde-bytes-vs-s3-path.diff +``` + +The first release build took 33 s, and one run takes about 4 s. There was no stderr output. The logs are from the last run of the final harness. + +## Results + +### Stock, run seed 1 + +``` +| K | secrets | welcome B | history B | ciphertext B | recent 1 | recent 8 | recent 32 | empty B | B/secret since prev | welcome us (med) | encode us (med) | re-add B so far | +| 0 | 1 | 736 | 29 | 658 | 734 | 735 | 730 | 596 | - | 392 | 9 | 0 | +| 1 | 2 | 893 | 29 | 815 | 743 | 887 | 890 | 601 | 157.0 | 432 | 11 | 0 | +| 2 | 3 | 1034 | 29 | 956 | 743 | 1034 | 1035 | 599 | 141.0 | 425 | 14 | 567 | +| 5 | 6 | 1478 | 29 | 1400 | 748 | 1483 | 1476 | 598 | 148.0 | 428 | 32 | 1289 | +| 10 | 11 | 2204 | 29 | 2126 | 742 | 1766 | 2211 | 595 | 145.2 | 451 | 32 | 4377 | +| 50 | 51 | 8055 | 29 | 7977 | 747 | 1778 | 5336 | 596 | 146.3 | 372 | 111 | 60189 | +| 100 | 101 | 15402 | 29 | 15324 | 748 | 1780 | 5292 | 596 | 146.9 | 445 | 202 | 216451 | +| 250 | 251 | 37334 | 29 | 37256 | 739 | 1770 | 5297 | 594 | 146.2 | 621 | 504 | 1262259 | +| 500 | 501 | 74045 | 29 | 73967 | 740 | 1763 | 5288 | 598 | 146.8 | 916 | 1019 | 4926282 | +| 750 | 751 | 110728 | 29 | 110650 | 748 | 1775 | 5332 | 601 | 146.7 | 1212 | 1487 | 10993683 | +| 1000 | 1001 | 147438 | 29 | 147360 | 753 | 1773 | 5353 | 600 | 146.8 | 1861 | 2110 | 19468141 | +``` + +Fit over these 11 samples: slope 146.68 B per secret, intercept 581.8 B, largest residual 63.7 B. Final `EncryptionGroup::add` at K = 1000: 147,349 B. + +### serde-bytes, run seed 1 + +``` +| K | secrets | welcome B | history B | ciphertext B | recent 1 | recent 8 | recent 32 | empty B | B/secret since prev | welcome us (med) | encode us (med) | re-add B so far | +| 0 | 1 | 489 | 29 | 411 | 489 | 489 | 489 | 448 | - | 292 | 2 | 0 | +| 1 | 2 | 529 | 29 | 451 | 489 | 529 | 529 | 448 | 40.0 | 298 | 2 | 0 | +| 2 | 3 | 570 | 29 | 492 | 489 | 570 | 570 | 448 | 41.0 | 436 | 2 | 459 | +| 5 | 6 | 690 | 29 | 612 | 489 | 690 | 690 | 448 | 40.0 | 359 | 2 | 998 | +| 10 | 11 | 891 | 29 | 813 | 489 | 771 | 891 | 448 | 40.2 | 430 | 2 | 3098 | +| 50 | 51 | 2492 | 29 | 2414 | 489 | 771 | 1732 | 448 | 40.0 | 296 | 2 | 35526 | +| 100 | 101 | 4492 | 29 | 4414 | 489 | 771 | 1732 | 448 | 40.0 | 299 | 2 | 121076 | +| 250 | 251 | 10492 | 29 | 10414 | 489 | 771 | 1732 | 448 | 40.0 | 347 | 2 | 677726 | +| 500 | 501 | 20493 | 29 | 20415 | 489 | 771 | 1732 | 448 | 40.0 | 436 | 3 | 2605722 | +| 750 | 751 | 30493 | 29 | 30415 | 489 | 771 | 1732 | 448 | 40.0 | 436 | 3 | 5783722 | +| 1000 | 1001 | 40493 | 29 | 40415 | 489 | 771 | 1732 | 448 | 40.0 | 647 | 3 | 10211722 | +``` + +Fit: slope 40.00 B per secret, intercept 450.5 B, largest residual 1.5 B. Final `EncryptionGroup::add` at K = 1000: 40,493 B. + +### Five runs at K = 1,000 + +Mean over the five runs, with sample sd in brackets. + +| build | probe welcome B | `EncryptionGroup::add` welcome B | B per epoch (fit) | fixed part, intercept (B) | largest fit residual (B) | cumulative re-add B | +|---|---|---|---|---|---|---| +| stock | 147,362 (124) | 147,368 (174) | 146.6 (0.1) | 583 (6) | 78 (33) | 19,467,376 (16,192) | +| serde-bytes | 40,493 (0) | 40,493 (0) | 40.00 (0) | 450.5 (0) | 1.5 (0) | 10,211,722 (0) | +| found-as-is (control) | 147,319 (152) | 147,358 (177) | 146.6 (0.1) | 587 (12) | 76 (25) | 19,467,813 (16,009) | + +The per-epoch cost decomposes as 40 B raw × 1.91 × 1.91 ≈ 145 B. There are two `Vec` layers: the bundle inside `TwoPartyPlaintext.plaintext`, then the AEAD output inside `X3dhCiphertext.ciphertext`. The measured 146.6 B is close to that. The found-as-is build matches stock, which confirms the S3 path copy has no serde-level change on the welcome path. + +### recent N and the empty welcome, K = 1,000, five runs + +| bundle | stock B (mean, range) | serde-bytes B | +|---|---|---| +| empty (from_join) | 596 (593–600) | 448 | +| N = 1 | 747 (734–754) | 489 | +| N = 8 | 1,775 (1,764–1,783) | 771 | +| N = 32 | 5,323 (5,285–5,353) | 1,732 | +| full, 1,001 secrets | 147,362 | 40,493 | + +The serde-bytes values did not vary across runs. Stock welcomes did. + +Each recent-N welcome is flat once K + 1 ≥ N. For serde-bytes, the N = 8 value is 771 B from K = 10 on, and the N = 32 value is 1,732 B from K = 50 on. + +### Joiner check + +All 60 checks pass: 3 builds × 5 runs × 4 checks (full, N = 1, 8, 32). For each welcome the joiner learns 1,001 secrets for full history, or exactly N secrets, with the same IDs as the admin's N newest. + +### Time at K = 1,000 + +| step | stock | serde-bytes | +|---|---|---| +| `Dcgka::add`: builds the welcome (bundle encoding, 2SM/X3DH encryption). Median of 50 per run, mean over five runs (range) | 1.76 ms (1.46–1.90) | 0.51 ms (0.47–0.65) | +| `encode_cbor` of the welcome | 1.96 ms (1.72–2.16) | 0.003 ms | +| `EncryptionGroup::add` (full public API, with local processing) | 1.67 ms (1.42–1.84) | 0.47 ms (0.45–0.50) | + +Run seed 1, `Dcgka::add` median by K (250 / 500 / 750 / 1000): stock 621 / 916 / 1,212 / 1,861 µs; serde-bytes 347 / 436 / 436 / 647 µs. This machine is shared and noisy, so read these as order-of-magnitude figures in release builds. + +### Churn: welcomes sent for re-adds, run seed 1 + +| K | stock cumulative B | serde-bytes cumulative B | +|---|---|---| +| 250 | 1,262,259 | 677,726 | +| 500 | 4,926,282 | 2,605,722 | +| 750 | 10,993,683 | 5,783,722 | +| 1,000 | 19,468,141 | 10,211,722 | + +Ratios for each step: stock 3.90 (500/250), 2.23 (750/500, quadratic prediction 2.25), 1.77 (1000/750, prediction 1.78). serde-bytes: 3.85, 2.22, 1.77. + +Derived average per epoch in a re-add welcome, from the totals: about 78 B for stock and about 40 B for serde-bytes (500 re-adds, average 501 epochs each). + +### Cross-decode (run seed 1) + +| welcome | encoded by | decoded by | result | +|---|---|---|---| +| K = 1 joiner, PreKey | stock | serde-bytes | `Err("incompatible CBOR type Array")` | +| K = 1 joiner, PreKey | serde-bytes | stock | `Err("expected array, got Bytes")` | +| re-add, HPKE | stock | serde-bytes | `Ok(())` | +| re-add, HPKE | serde-bytes | stock | `Ok(())` | + +The PreKey failures happen at the outer DM decode, so the welcome cannot be read on the other build. + +The HPKE results prove only the outer decode. `decode_cbor` reads the `DirectMessage`, and the inner `TwoPartyPlaintext` is decrypted before its own decode. This run does not exercise that step. + +## What was NOT tested, and why + +1. **Receiver processing and ordering across the group.** Bob and Carol never process messages, and the joiner processes only its own welcome. The welcome size does not depend on them in this scenario. A full-group run would also be needed to check from_join's withholding rule and the ordering of the add message. +2. **Application-message decryption by the joiner for recent N.** The joiner check compares secret IDs only. +3. **The inner `TwoPartyPlaintext` across builds.** The HPKE cross-decode above is outer only. Testing the inner layer needs Carol's full 2SM state on the other build. +4. **Single-annotation builds.** I did not build a variant with only one of the two fields annotated. By arithmetic, either single annotation should leave about 76 B per epoch, which is half the saving. This is inferred, not measured. +5. **Product DGM and orderer.** The DGM is the crate's `TestDgm`, whose history is 29 B for three members and does not grow with K. The orderer is the test orderer. Both need `test_utils`, which product code must not enable (task-05, dependencies). A product DGM would change the 29 B constant, not the per-epoch slope, because the slope comes from the bundle. +6. **Groups larger than three.** The history part grows with members, and I did not measure that. +7. **Other churn patterns, and K above 1,000.** Only alternating update and remove-then-re-add was run. +8. **The ordering message** that carries the welcome (control message, dependencies, signature). Not included in any size here. +9. **The from_join `update`** that follows an empty-bundle welcome. Its size and timing were not measured. +10. **Timing quality.** This is a shared machine, with release builds, no CPU pinning and no isolation. The medians come from 50 runs per run seed. Treat the millisecond figures as orders of magnitude. +11. **Intermediate K across runs.** The five-run table covers K = 1,000 only. The per-K tables are from run seed 1. + +## Verdicts + +**Q1, welcome size per epoch and at K = 1,000.** Linear growth per welcome. Stock: 146.6 B per epoch and 147.4 KB at K = 1,000. serde_bytes: 40.0 B per epoch and 40.5 KB. The per-welcome residual is at the noise level, `history` is constant at 29 B, and the increments between samples are flat. The one super-linear quantity is the cumulative size of churn welcomes, which grows about 4× for each doubling of K. + +**Q2, recent N.** The API allows it without any crate change. `Dcgka::add` takes the bundle as a caller argument, and `SecretBundle::from_secrets` is public. `EncryptionGroup::add` always passes the full bundle, so an app needs to call `Dcgka::add` and do the local steps itself, as S3's `add_from_join` does. At K = 1,000 the sizes are 747 / 1,775 / 5,323 B (stock) and 489 / 771 / 1,732 B (serde_bytes) for N = 1 / 8 / 32. The joiner learns exactly those secrets. + +**Q3, time at K = 1,000.** Stock takes about 3.7 ms to produce welcome bytes (1.76 ms to build, 1.96 ms to encode). serde_bytes takes about 0.5 ms. Size is the constraint, not time. + +**Design implications (my reading).** + +- The serde_bytes fix cuts a joiner welcome by about 3.6× (147 KB to 40 KB at K = 1,000). It also changes the wire format of every 2SM ciphertext, and a PreKey welcome does not decode across the two builds. Ship it as a new scheme version (task-05 item 6), not as a silent patch. A decoder that accepts both forms would allow a two-step rollout. I did not build or test one. +- `full` costs 147 KB per new joiner on stock encoding at K = 1,000. The fix reduces that, but it does not change the quadratic growth of churn cost. A `recent:N` option is what bounds churn, so the data supports having it before large groups with frequent removals use `full`. + +## Surprising + +1. The serde_bytes "patched" path copy is not patched on the welcome fields. S3 said so, but the brief and the review treat it as built. The serde_bytes numbers here are the first measured ones. +2. The fix is wire-incompatible for PreKey welcomes, in both directions. +3. A re-add is about half the cost per epoch in stock, because the HPKE ciphertext already uses `serde_bytes`. A removed-then-re-added member costs about 78 B per epoch, against about 147 B for a new joiner. This is derived from totals. +4. Stock sizes differ by about 120–170 B between runs at K = 1,000, even with the same seed. Wall-clock timestamps and `HashMap` order change the bytes that the integer-array encoding then sizes. The serde_bytes size is exact. +5. Churn is quadratic. With alternating update and remove-then-re-add, the re-add welcomes at K = 1,000 total 19.5 MB in stock. + +## Files + +- `Cargo.toml`, `Cargo.lock` (copied from the spikes workspace; cargo added `p2panda-encryption-found`) +- `src/main.rs`: three builds and the cross-decode. `src/harness.rs`: the scenario, included once per build. +- `variants/serde-bytes/p2panda-encryption`: the annotated copy. `variants/found/p2panda-encryption`: the renamed copy. +- `summarize.sh` → `logs/summary.txt` +- `logs/run-seed{1..5}.txt`: the per-run tables, joiner checks and cross-decode. +- `logs/welcome-k1-*.diag`, `logs/readd-first-*.diag`: CBOR diagnostics for the K = 1 joiner welcome and the first re-add welcome. +- `logs/variant-diff-serde-bytes-vs-s3-path.diff`: the two annotation lines. diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/readd-first-found-as-is.diag b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/readd-first-found-as-is.diag new file mode 100644 index 0000000000..507b812edb --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/readd-first-found-as-is.diag @@ -0,0 +1 @@ +{"content": {"Welcome": {"history": {"my_id": 0, "_marker": null, "members": [0, 1]}, "ciphertext": {"key_used": "ReceivedKey", "ciphertext": {"Hpke": {"ciphertext": h'4971184d7531e125a09221943ac58da96080c6332d9af1b13ca33df50b25dea66847ccfd9d86de32017cea23b875c687d1c28aa248509c2702b1fea1e65708cc18de278801021991efe3a6b53137137d14387c8974180b80118f9f0527e2cc3d04f48653f5bcf984bced43398b3241c5bf73edc635fb9247013e6660e40814afe9a9f8fe8f53113b6bc32455558a627f9f04d94831d77fc500e1da4895ab7dde762e349d317d32ff79c702913296c35b94ddc0a19f22410d2a2fb0948d741e587fb08bcded2e953ef6c21b08e0bcfcdee8f32109a99df13d14d7191439507de60994c6cee12eb80e3a5553c3d2178555f790158209755ebabd6f0547a54d45535859f83e50ad5645d33d97ad542eac366581b7b53efa0fc8846236ea2468b153b8b9fa6fa14468ae6b126b8a3d1aa5f3cde5ad8a44bc5fc942c8e1df605072455220cdf2cedf1b3970766a4c8d4e6ee755af231e04484f7cdb5f9796f4adbd0b7d57314e94538a84ae4b2c4114f45b22fadb0bb0144a5147ca6c61e850fc61ff4a061c0770e7440e', "kem_output": h'3058520d1d5b2bf182cc3f7d5db81b03f020018e20122a89dad5814525879549'}}}}}, "recipient": 2} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/readd-first-serde-bytes.diag b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/readd-first-serde-bytes.diag new file mode 100644 index 0000000000..4ecd596faa --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/readd-first-serde-bytes.diag @@ -0,0 +1 @@ +{"content": {"Welcome": {"history": {"my_id": 0, "_marker": null, "members": [0, 1]}, "ciphertext": {"key_used": "ReceivedKey", "ciphertext": {"Hpke": {"ciphertext": h'96d6bd21da3fe486dcf39c6c1517716b73a8dbfcc346157551ea50dfe51acbd4bc72a57481c4a3f46f0f023a3f7a0b75c2696ffb5232827eb960f62dae7a0eb953425366943ac052513cb64b995a487462fcd6e494f22e8ac44b2123dc987d6a0f21545172dac3427e252b3edeb019ef5b9cf4b57c2e019223dbaeb41a9816b51ce7524e8ab15467f88dcf440519bc3d0d9bfee1e5a827a239e1a66a6469ad0cec870a9a17740ff138620c3150a7e89882a45b63e583b6a7f169f8c931723b8b283d7ce7d9d1218bd00def551aa4c9729f2d5f7ed8f7a3e64f4d3ef20b4d35af5e66a11ee8205e7b131f2d87b0cd5e6ddf5f6f347cca9afb8147250259e6efc3c1a38df8ed29744ee9ccd0c39165b1e473ac41eae74f5b7c0727ee', "kem_output": h'1cde300062fca5bfdfb8c4af118ff80b36f1394dbeb3d5697f7a37310596a214'}}}}}, "recipient": 2} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/readd-first-stock.diag b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/readd-first-stock.diag new file mode 100644 index 0000000000..906144311e --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/readd-first-stock.diag @@ -0,0 +1 @@ +{"content": {"Welcome": {"history": {"my_id": 0, "_marker": null, "members": [1, 0]}, "ciphertext": {"key_used": "ReceivedKey", "ciphertext": {"Hpke": {"ciphertext": h'25b9343255e6bcbb2885cd2dcb7279f04b09e522efdb22bafb5f18ac39cd152e6904b313721606278efd14378dd5f44f757047864fa29a3a839d312b0fd575225811ee82e360c73ad6c1084be762657bad7b52d18a03faea96c563a3bf0ea3c8ec869e821c1b6ba8d7449727bc719e9c63d3ac5d8e965a5dca991d77fe85958e4054052ee69aeb59bac89d5bc0a17a5e6a129ac56475bc14a9c3a637c6a6f60c877ea7e573c7d2b9af8874955c9cc6defdb60483a5b1cb9f54d4dfe1612c9cfcdbf95c6751a66aa0cb127fde0f601e4172a508bf6c053faa8476b8c80c1351f2c2746fa8f0f10e09f87419ce210c8b879871321a26869375e1d231abb0f004be0fedd71942ab82d149511aa2e3583472e55a32beb8e99b022dffd8038f9cadd555eb323bc10885fe6d5d8ceecdb840ef2491a76f08155ec454c9821a85520711e9b132ac7cb1b131c979a42d5576031db2dda7428986e5b9c111b9d6a661eb7ceab44d62cb7618ca4df85fef45a6ef1c881941ae42f7518b502716e428475774d689db3ba87e46c3', "kem_output": h'1e356b60c41284fa5f6e1779824ff0ba64f0d1903ecf397bde8988ffbfc2a33e'}}}}}, "recipient": 2} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/run-seed1.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/run-seed1.txt new file mode 100644 index 0000000000..8ac1266432 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/run-seed1.txt @@ -0,0 +1,74 @@ +## build: stock, seed 1 +| K | secrets | welcome B | history B | ciphertext B | recent 1 | recent 8 | recent 32 | empty B | B/secret since prev | welcome us (med) | encode us (med) | re-add B so far | +|---|---|---|---|---|---|---|---|---|---|---|---|---| +| 0 | 1 | 736 | 29 | 658 | 734 | 735 | 730 | 596 | - | 392 | 9 | 0 | +| 1 | 2 | 893 | 29 | 815 | 743 | 887 | 890 | 601 | 157.0 | 432 | 11 | 0 | +| 2 | 3 | 1034 | 29 | 956 | 743 | 1034 | 1035 | 599 | 141.0 | 425 | 14 | 567 | +| 5 | 6 | 1478 | 29 | 1400 | 748 | 1483 | 1476 | 598 | 148.0 | 428 | 32 | 1289 | +| 10 | 11 | 2204 | 29 | 2126 | 742 | 1766 | 2211 | 595 | 145.2 | 451 | 32 | 4377 | +| 50 | 51 | 8055 | 29 | 7977 | 747 | 1778 | 5336 | 596 | 146.3 | 372 | 111 | 60189 | +| 100 | 101 | 15402 | 29 | 15324 | 748 | 1780 | 5292 | 596 | 146.9 | 445 | 202 | 216451 | +| 250 | 251 | 37334 | 29 | 37256 | 739 | 1770 | 5297 | 594 | 146.2 | 621 | 504 | 1262259 | +| 500 | 501 | 74045 | 29 | 73967 | 740 | 1763 | 5288 | 598 | 146.8 | 916 | 1019 | 4926282 | +| 750 | 751 | 110728 | 29 | 110650 | 748 | 1775 | 5332 | 601 | 146.7 | 1212 | 1487 | 10993683 | +| 1000 | 1001 | 147438 | 29 | 147360 | 753 | 1773 | 5353 | 600 | 146.8 | 1861 | 2110 | 19468141 | +fit welcome = a + b*secrets over 11 samples: b = 146.68 B/secret, a = 581.8 B, max residual = 63.7 B +joiner learns full history: 1001 secrets, same ids as the adder's bundle: true +joiner learns recent 1: 1 secrets, same ids as the adder's 1 newest: true +joiner learns recent 8: 8 secrets, same ids as the adder's 8 newest: true +joiner learns recent 32: 32 secrets, same ids as the adder's 32 newest: true +final EncryptionGroup::add (full, K=1000): welcome 147349 B, history 29 B, ciphertext 147271 B +time at K=1000 (50 runs): Dcgka::add median 1861 us, min 1508 us; encode median 2110 us, min 1835 us; EncryptionGroup::add median 1748 us, min 1502 us +re-adds of Carol: 500 welcomes, 19468141 B in total + +## build: serde-bytes, seed 1 +| K | secrets | welcome B | history B | ciphertext B | recent 1 | recent 8 | recent 32 | empty B | B/secret since prev | welcome us (med) | encode us (med) | re-add B so far | +|---|---|---|---|---|---|---|---|---|---|---|---|---| +| 0 | 1 | 489 | 29 | 411 | 489 | 489 | 489 | 448 | - | 292 | 2 | 0 | +| 1 | 2 | 529 | 29 | 451 | 489 | 529 | 529 | 448 | 40.0 | 298 | 2 | 0 | +| 2 | 3 | 570 | 29 | 492 | 489 | 570 | 570 | 448 | 41.0 | 436 | 2 | 459 | +| 5 | 6 | 690 | 29 | 612 | 489 | 690 | 690 | 448 | 40.0 | 359 | 2 | 998 | +| 10 | 11 | 891 | 29 | 813 | 489 | 771 | 891 | 448 | 40.2 | 430 | 2 | 3098 | +| 50 | 51 | 2492 | 29 | 2414 | 489 | 771 | 1732 | 448 | 40.0 | 296 | 2 | 35526 | +| 100 | 101 | 4492 | 29 | 4414 | 489 | 771 | 1732 | 448 | 40.0 | 299 | 2 | 121076 | +| 250 | 251 | 10492 | 29 | 10414 | 489 | 771 | 1732 | 448 | 40.0 | 347 | 2 | 677726 | +| 500 | 501 | 20493 | 29 | 20415 | 489 | 771 | 1732 | 448 | 40.0 | 436 | 3 | 2605722 | +| 750 | 751 | 30493 | 29 | 30415 | 489 | 771 | 1732 | 448 | 40.0 | 436 | 3 | 5783722 | +| 1000 | 1001 | 40493 | 29 | 40415 | 489 | 771 | 1732 | 448 | 40.0 | 647 | 3 | 10211722 | +fit welcome = a + b*secrets over 11 samples: b = 40.00 B/secret, a = 450.5 B, max residual = 1.5 B +joiner learns full history: 1001 secrets, same ids as the adder's bundle: true +joiner learns recent 1: 1 secrets, same ids as the adder's 1 newest: true +joiner learns recent 8: 8 secrets, same ids as the adder's 8 newest: true +joiner learns recent 32: 32 secrets, same ids as the adder's 32 newest: true +final EncryptionGroup::add (full, K=1000): welcome 40493 B, history 29 B, ciphertext 40415 B +time at K=1000 (50 runs): Dcgka::add median 647 us, min 467 us; encode median 3 us, min 3 us; EncryptionGroup::add median 455 us, min 429 us +re-adds of Carol: 500 welcomes, 10211722 B in total + +## build: found-as-is, seed 1 +| K | secrets | welcome B | history B | ciphertext B | recent 1 | recent 8 | recent 32 | empty B | B/secret since prev | welcome us (med) | encode us (med) | re-add B so far | +|---|---|---|---|---|---|---|---|---|---|---|---|---| +| 0 | 1 | 732 | 29 | 654 | 733 | 732 | 729 | 596 | - | 279 | 7 | 0 | +| 1 | 2 | 875 | 29 | 797 | 744 | 882 | 876 | 601 | 143.0 | 349 | 10 | 0 | +| 2 | 3 | 1035 | 29 | 957 | 742 | 1037 | 1031 | 599 | 160.0 | 347 | 11 | 565 | +| 5 | 6 | 1472 | 29 | 1394 | 748 | 1468 | 1463 | 598 | 145.7 | 306 | 16 | 1285 | +| 10 | 11 | 2208 | 29 | 2130 | 742 | 1763 | 2207 | 595 | 147.2 | 303 | 24 | 4367 | +| 50 | 51 | 8046 | 29 | 7968 | 748 | 1775 | 5310 | 596 | 145.9 | 339 | 94 | 60166 | +| 100 | 101 | 15396 | 29 | 15318 | 748 | 1781 | 5298 | 596 | 147.0 | 443 | 214 | 216428 | +| 250 | 251 | 37390 | 29 | 37312 | 740 | 1773 | 5309 | 594 | 146.6 | 744 | 578 | 1262236 | +| 500 | 501 | 74064 | 29 | 73986 | 740 | 1749 | 5309 | 598 | 146.7 | 1174 | 1135 | 4926235 | +| 750 | 751 | 110812 | 29 | 110734 | 749 | 1783 | 5324 | 601 | 147.0 | 1349 | 1666 | 10993612 | +| 1000 | 1001 | 147427 | 29 | 147349 | 750 | 1764 | 5346 | 600 | 146.5 | 1900 | 2267 | 19468046 | +fit welcome = a + b*secrets over 11 samples: b = 146.72 B/secret, a = 582.4 B, max residual = 46.3 B +joiner learns full history: 1001 secrets, same ids as the adder's bundle: true +joiner learns recent 1: 1 secrets, same ids as the adder's 1 newest: true +joiner learns recent 8: 8 secrets, same ids as the adder's 8 newest: true +joiner learns recent 32: 32 secrets, same ids as the adder's 32 newest: true +final EncryptionGroup::add (full, K=1000): welcome 147564 B, history 29 B, ciphertext 147486 B +time at K=1000 (50 runs): Dcgka::add median 1900 us, min 1731 us; encode median 2267 us, min 2089 us; EncryptionGroup::add median 1915 us, min 1630 us +re-adds of Carol: 500 welcomes, 19468046 B in total + +## cross-decode (encoded by one build, decoded by the other) +K=1 welcome, stock -> serde-bytes: Err("incompatible CBOR type Array") +K=1 welcome, serde-bytes -> stock: Err("expected array, got Bytes") +re-add welcome, stock -> serde-bytes: Ok(()) +re-add welcome, serde-bytes -> stock: Ok(()) diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/run-seed2.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/run-seed2.txt new file mode 100644 index 0000000000..7136979bd5 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/run-seed2.txt @@ -0,0 +1,74 @@ +## build: stock, seed 2 +| K | secrets | welcome B | history B | ciphertext B | recent 1 | recent 8 | recent 32 | empty B | B/secret since prev | welcome us (med) | encode us (med) | re-add B so far | +|---|---|---|---|---|---|---|---|---|---|---|---|---| +| 0 | 1 | 745 | 29 | 667 | 752 | 741 | 744 | 591 | - | 387 | 8 | 0 | +| 1 | 2 | 896 | 29 | 818 | 749 | 898 | 886 | 599 | 151.0 | 385 | 10 | 0 | +| 2 | 3 | 1045 | 29 | 967 | 744 | 1039 | 1033 | 595 | 149.0 | 375 | 12 | 569 | +| 5 | 6 | 1467 | 29 | 1389 | 735 | 1464 | 1462 | 598 | 140.7 | 381 | 17 | 1293 | +| 10 | 11 | 2206 | 29 | 2128 | 737 | 1771 | 2195 | 596 | 147.8 | 379 | 28 | 4376 | +| 50 | 51 | 8052 | 29 | 7974 | 746 | 1784 | 5282 | 595 | 146.2 | 486 | 124 | 60229 | +| 100 | 101 | 15368 | 29 | 15290 | 750 | 1742 | 5252 | 598 | 146.3 | 552 | 238 | 216620 | +| 250 | 251 | 37375 | 29 | 37297 | 742 | 1782 | 5291 | 598 | 146.7 | 561 | 527 | 1263142 | +| 500 | 501 | 73964 | 29 | 73886 | 751 | 1792 | 5347 | 600 | 146.4 | 1269 | 1279 | 4930649 | +| 750 | 751 | 110712 | 29 | 110634 | 746 | 1754 | 5246 | 600 | 147.0 | 1521 | 1761 | 11002166 | +| 1000 | 1001 | 147249 | 29 | 147171 | 754 | 1780 | 5306 | 595 | 146.1 | 1904 | 2160 | 19474536 | +fit welcome = a + b*secrets over 11 samples: b = 146.54 B/secret, a = 590.7 B, max residual = 69.7 B +joiner learns full history: 1001 secrets, same ids as the adder's bundle: true +joiner learns recent 1: 1 secrets, same ids as the adder's 1 newest: true +joiner learns recent 8: 8 secrets, same ids as the adder's 8 newest: true +joiner learns recent 32: 32 secrets, same ids as the adder's 32 newest: true +final EncryptionGroup::add (full, K=1000): welcome 147320 B, history 29 B, ciphertext 147242 B +time at K=1000 (50 runs): Dcgka::add median 1904 us, min 1511 us; encode median 2160 us, min 1942 us; EncryptionGroup::add median 1830 us, min 1407 us +re-adds of Carol: 500 welcomes, 19474536 B in total + +## build: serde-bytes, seed 2 +| K | secrets | welcome B | history B | ciphertext B | recent 1 | recent 8 | recent 32 | empty B | B/secret since prev | welcome us (med) | encode us (med) | re-add B so far | +|---|---|---|---|---|---|---|---|---|---|---|---|---| +| 0 | 1 | 489 | 29 | 411 | 489 | 489 | 489 | 448 | - | 261 | 2 | 0 | +| 1 | 2 | 529 | 29 | 451 | 489 | 529 | 529 | 448 | 40.0 | 261 | 2 | 0 | +| 2 | 3 | 570 | 29 | 492 | 489 | 570 | 570 | 448 | 41.0 | 264 | 2 | 459 | +| 5 | 6 | 690 | 29 | 612 | 489 | 690 | 690 | 448 | 40.0 | 265 | 2 | 998 | +| 10 | 11 | 891 | 29 | 813 | 489 | 771 | 891 | 448 | 40.2 | 261 | 2 | 3098 | +| 50 | 51 | 2492 | 29 | 2414 | 489 | 771 | 1732 | 448 | 40.0 | 271 | 2 | 35526 | +| 100 | 101 | 4492 | 29 | 4414 | 489 | 771 | 1732 | 448 | 40.0 | 327 | 2 | 121076 | +| 250 | 251 | 10492 | 29 | 10414 | 489 | 771 | 1732 | 448 | 40.0 | 327 | 2 | 677726 | +| 500 | 501 | 20493 | 29 | 20415 | 489 | 771 | 1732 | 448 | 40.0 | 355 | 2 | 2605722 | +| 750 | 751 | 30493 | 29 | 30415 | 489 | 771 | 1732 | 448 | 40.0 | 391 | 4 | 5783722 | +| 1000 | 1001 | 40493 | 29 | 40415 | 489 | 771 | 1732 | 448 | 40.0 | 500 | 3 | 10211722 | +fit welcome = a + b*secrets over 11 samples: b = 40.00 B/secret, a = 450.5 B, max residual = 1.5 B +joiner learns full history: 1001 secrets, same ids as the adder's bundle: true +joiner learns recent 1: 1 secrets, same ids as the adder's 1 newest: true +joiner learns recent 8: 8 secrets, same ids as the adder's 8 newest: true +joiner learns recent 32: 32 secrets, same ids as the adder's 32 newest: true +final EncryptionGroup::add (full, K=1000): welcome 40493 B, history 29 B, ciphertext 40415 B +time at K=1000 (50 runs): Dcgka::add median 500 us, min 464 us; encode median 3 us, min 3 us; EncryptionGroup::add median 477 us, min 446 us +re-adds of Carol: 500 welcomes, 10211722 B in total + +## build: found-as-is, seed 2 +| K | secrets | welcome B | history B | ciphertext B | recent 1 | recent 8 | recent 32 | empty B | B/secret since prev | welcome us (med) | encode us (med) | re-add B so far | +|---|---|---|---|---|---|---|---|---|---|---|---|---| +| 0 | 1 | 743 | 29 | 665 | 754 | 741 | 743 | 591 | - | 301 | 8 | 0 | +| 1 | 2 | 897 | 29 | 819 | 748 | 896 | 885 | 599 | 154.0 | 357 | 11 | 0 | +| 2 | 3 | 1046 | 29 | 968 | 744 | 1034 | 1036 | 595 | 149.0 | 285 | 11 | 569 | +| 5 | 6 | 1464 | 29 | 1386 | 735 | 1472 | 1467 | 598 | 139.3 | 296 | 18 | 1293 | +| 10 | 11 | 2206 | 29 | 2128 | 736 | 1767 | 2187 | 596 | 148.4 | 286 | 27 | 4376 | +| 50 | 51 | 8067 | 29 | 7989 | 747 | 1773 | 5332 | 595 | 146.5 | 406 | 109 | 60244 | +| 100 | 101 | 15404 | 29 | 15326 | 749 | 1755 | 5235 | 598 | 146.7 | 553 | 216 | 216660 | +| 250 | 251 | 37382 | 29 | 37304 | 744 | 1782 | 5307 | 598 | 146.5 | 625 | 488 | 1263257 | +| 500 | 501 | 74043 | 29 | 73965 | 750 | 1769 | 5338 | 600 | 146.6 | 987 | 917 | 4930877 | +| 750 | 751 | 110759 | 29 | 110681 | 747 | 1764 | 5260 | 600 | 146.9 | 1222 | 1429 | 11002507 | +| 1000 | 1001 | 147246 | 29 | 147168 | 752 | 1786 | 5304 | 595 | 145.9 | 1590 | 1956 | 19474990 | +fit welcome = a + b*secrets over 11 samples: b = 146.57 B/secret, a = 600.1 B, max residual = 86.3 B +joiner learns full history: 1001 secrets, same ids as the adder's bundle: true +joiner learns recent 1: 1 secrets, same ids as the adder's 1 newest: true +joiner learns recent 8: 8 secrets, same ids as the adder's 8 newest: true +joiner learns recent 32: 32 secrets, same ids as the adder's 32 newest: true +final EncryptionGroup::add (full, K=1000): welcome 147349 B, history 29 B, ciphertext 147271 B +time at K=1000 (50 runs): Dcgka::add median 1590 us, min 1486 us; encode median 1956 us, min 1789 us; EncryptionGroup::add median 1632 us, min 1503 us +re-adds of Carol: 500 welcomes, 19474990 B in total + +## cross-decode (encoded by one build, decoded by the other) +K=1 welcome, stock -> serde-bytes: Err("incompatible CBOR type Array") +K=1 welcome, serde-bytes -> stock: Err("expected array, got Bytes") +re-add welcome, stock -> serde-bytes: Ok(()) +re-add welcome, serde-bytes -> stock: Ok(()) diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/run-seed3.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/run-seed3.txt new file mode 100644 index 0000000000..04e71a564e --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/run-seed3.txt @@ -0,0 +1,74 @@ +## build: stock, seed 3 +| K | secrets | welcome B | history B | ciphertext B | recent 1 | recent 8 | recent 32 | empty B | B/secret since prev | welcome us (med) | encode us (med) | re-add B so far | +|---|---|---|---|---|---|---|---|---|---|---|---|---| +| 0 | 1 | 734 | 29 | 656 | 744 | 741 | 736 | 596 | - | 295 | 9 | 0 | +| 1 | 2 | 870 | 29 | 792 | 739 | 877 | 879 | 602 | 136.0 | 279 | 9 | 0 | +| 2 | 3 | 1025 | 29 | 947 | 738 | 1023 | 1019 | 602 | 155.0 | 315 | 14 | 562 | +| 5 | 6 | 1463 | 29 | 1385 | 757 | 1456 | 1453 | 598 | 146.0 | 298 | 16 | 1276 | +| 10 | 11 | 2197 | 29 | 2119 | 741 | 1764 | 2189 | 593 | 146.8 | 404 | 26 | 4333 | +| 50 | 51 | 8027 | 29 | 7949 | 752 | 1760 | 5243 | 590 | 145.8 | 327 | 98 | 59959 | +| 100 | 101 | 15402 | 29 | 15324 | 746 | 1768 | 5306 | 602 | 147.5 | 386 | 183 | 215932 | +| 250 | 251 | 37364 | 29 | 37286 | 751 | 1790 | 5274 | 591 | 146.4 | 596 | 478 | 1260905 | +| 500 | 501 | 73931 | 29 | 73853 | 740 | 1754 | 5270 | 590 | 146.3 | 961 | 1010 | 4921694 | +| 750 | 751 | 110517 | 29 | 110439 | 751 | 1777 | 5323 | 596 | 146.3 | 1512 | 1751 | 10979572 | +| 1000 | 1001 | 147213 | 29 | 147135 | 744 | 1764 | 5332 | 598 | 146.8 | 1840 | 1838 | 19441815 | +fit welcome = a + b*secrets over 11 samples: b = 146.44 B/secret, a = 583.4 B, max residual = 46.5 B +joiner learns full history: 1001 secrets, same ids as the adder's bundle: true +joiner learns recent 1: 1 secrets, same ids as the adder's 1 newest: true +joiner learns recent 8: 8 secrets, same ids as the adder's 8 newest: true +joiner learns recent 32: 32 secrets, same ids as the adder's 32 newest: true +final EncryptionGroup::add (full, K=1000): welcome 147137 B, history 29 B, ciphertext 147059 B +time at K=1000 (50 runs): Dcgka::add median 1840 us, min 1480 us; encode median 1838 us, min 1636 us; EncryptionGroup::add median 1836 us, min 1428 us +re-adds of Carol: 500 welcomes, 19441815 B in total + +## build: serde-bytes, seed 3 +| K | secrets | welcome B | history B | ciphertext B | recent 1 | recent 8 | recent 32 | empty B | B/secret since prev | welcome us (med) | encode us (med) | re-add B so far | +|---|---|---|---|---|---|---|---|---|---|---|---|---| +| 0 | 1 | 489 | 29 | 411 | 489 | 489 | 489 | 448 | - | 278 | 2 | 0 | +| 1 | 2 | 529 | 29 | 451 | 489 | 529 | 529 | 448 | 40.0 | 309 | 2 | 0 | +| 2 | 3 | 570 | 29 | 492 | 489 | 570 | 570 | 448 | 41.0 | 307 | 2 | 459 | +| 5 | 6 | 690 | 29 | 612 | 489 | 690 | 690 | 448 | 40.0 | 301 | 2 | 998 | +| 10 | 11 | 891 | 29 | 813 | 489 | 771 | 891 | 448 | 40.2 | 286 | 2 | 3098 | +| 50 | 51 | 2492 | 29 | 2414 | 489 | 771 | 1732 | 448 | 40.0 | 286 | 2 | 35526 | +| 100 | 101 | 4492 | 29 | 4414 | 489 | 771 | 1732 | 448 | 40.0 | 482 | 2 | 121076 | +| 250 | 251 | 10492 | 29 | 10414 | 489 | 771 | 1732 | 448 | 40.0 | 504 | 3 | 677726 | +| 500 | 501 | 20493 | 29 | 20415 | 489 | 771 | 1732 | 448 | 40.0 | 585 | 4 | 2605722 | +| 750 | 751 | 30493 | 29 | 30415 | 489 | 771 | 1732 | 448 | 40.0 | 646 | 4 | 5783722 | +| 1000 | 1001 | 40493 | 29 | 40415 | 489 | 771 | 1732 | 448 | 40.0 | 467 | 3 | 10211722 | +fit welcome = a + b*secrets over 11 samples: b = 40.00 B/secret, a = 450.5 B, max residual = 1.5 B +joiner learns full history: 1001 secrets, same ids as the adder's bundle: true +joiner learns recent 1: 1 secrets, same ids as the adder's 1 newest: true +joiner learns recent 8: 8 secrets, same ids as the adder's 8 newest: true +joiner learns recent 32: 32 secrets, same ids as the adder's 32 newest: true +final EncryptionGroup::add (full, K=1000): welcome 40493 B, history 29 B, ciphertext 40415 B +time at K=1000 (50 runs): Dcgka::add median 467 us, min 448 us; encode median 3 us, min 3 us; EncryptionGroup::add median 499 us, min 451 us +re-adds of Carol: 500 welcomes, 10211722 B in total + +## build: found-as-is, seed 3 +| K | secrets | welcome B | history B | ciphertext B | recent 1 | recent 8 | recent 32 | empty B | B/secret since prev | welcome us (med) | encode us (med) | re-add B so far | +|---|---|---|---|---|---|---|---|---|---|---|---|---| +| 0 | 1 | 735 | 29 | 657 | 745 | 738 | 735 | 596 | - | 340 | 9 | 0 | +| 1 | 2 | 871 | 29 | 793 | 737 | 875 | 874 | 602 | 136.0 | 406 | 12 | 0 | +| 2 | 3 | 1026 | 29 | 948 | 740 | 1023 | 1023 | 602 | 155.0 | 458 | 15 | 562 | +| 5 | 6 | 1463 | 29 | 1385 | 758 | 1456 | 1464 | 598 | 145.7 | 410 | 22 | 1276 | +| 10 | 11 | 2187 | 29 | 2109 | 740 | 1766 | 2183 | 593 | 144.8 | 483 | 35 | 4333 | +| 50 | 51 | 8039 | 29 | 7961 | 753 | 1762 | 5264 | 590 | 146.3 | 416 | 118 | 59992 | +| 100 | 101 | 15342 | 29 | 15264 | 747 | 1759 | 5313 | 602 | 146.1 | 580 | 215 | 216015 | +| 250 | 251 | 37380 | 29 | 37302 | 750 | 1786 | 5294 | 591 | 146.9 | 611 | 533 | 1261137 | +| 500 | 501 | 73896 | 29 | 73818 | 742 | 1754 | 5272 | 590 | 146.1 | 900 | 1008 | 4922153 | +| 750 | 751 | 110529 | 29 | 110451 | 748 | 1782 | 5317 | 596 | 146.5 | 1156 | 1344 | 10980257 | +| 1000 | 1001 | 147113 | 29 | 147035 | 745 | 1767 | 5327 | 598 | 146.3 | 1759 | 1953 | 19442726 | +fit welcome = a + b*secrets over 11 samples: b = 146.39 B/secret, a = 582.5 B, max residual = 54.1 B +joiner learns full history: 1001 secrets, same ids as the adder's bundle: true +joiner learns recent 1: 1 secrets, same ids as the adder's 1 newest: true +joiner learns recent 8: 8 secrets, same ids as the adder's 8 newest: true +joiner learns recent 32: 32 secrets, same ids as the adder's 32 newest: true +final EncryptionGroup::add (full, K=1000): welcome 147119 B, history 29 B, ciphertext 147041 B +time at K=1000 (50 runs): Dcgka::add median 1759 us, min 1560 us; encode median 1953 us, min 1603 us; EncryptionGroup::add median 1480 us, min 1379 us +re-adds of Carol: 500 welcomes, 19442726 B in total + +## cross-decode (encoded by one build, decoded by the other) +K=1 welcome, stock -> serde-bytes: Err("incompatible CBOR type Array") +K=1 welcome, serde-bytes -> stock: Err("expected array, got Bytes") +re-add welcome, stock -> serde-bytes: Ok(()) +re-add welcome, serde-bytes -> stock: Ok(()) diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/run-seed4.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/run-seed4.txt new file mode 100644 index 0000000000..92fa655379 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/run-seed4.txt @@ -0,0 +1,74 @@ +## build: stock, seed 4 +| K | secrets | welcome B | history B | ciphertext B | recent 1 | recent 8 | recent 32 | empty B | B/secret since prev | welcome us (med) | encode us (med) | re-add B so far | +|---|---|---|---|---|---|---|---|---|---|---|---|---| +| 0 | 1 | 745 | 29 | 667 | 732 | 743 | 740 | 597 | - | 269 | 7 | 0 | +| 1 | 2 | 901 | 29 | 823 | 752 | 893 | 883 | 594 | 156.0 | 296 | 9 | 0 | +| 2 | 3 | 1027 | 29 | 949 | 743 | 1031 | 1027 | 593 | 126.0 | 287 | 10 | 564 | +| 5 | 6 | 1448 | 29 | 1370 | 735 | 1457 | 1445 | 596 | 140.3 | 286 | 16 | 1278 | +| 10 | 11 | 2190 | 29 | 2112 | 736 | 1762 | 2190 | 597 | 148.4 | 298 | 25 | 4326 | +| 50 | 51 | 8099 | 29 | 8021 | 753 | 1782 | 5311 | 596 | 147.7 | 337 | 97 | 60067 | +| 100 | 101 | 15333 | 29 | 15255 | 742 | 1769 | 5269 | 599 | 144.7 | 408 | 184 | 216260 | +| 250 | 251 | 37375 | 29 | 37297 | 739 | 1778 | 5320 | 589 | 146.9 | 590 | 465 | 1260918 | +| 500 | 501 | 74231 | 29 | 74153 | 744 | 1789 | 5319 | 593 | 147.4 | 855 | 930 | 4926384 | +| 750 | 751 | 110775 | 29 | 110697 | 741 | 1777 | 5319 | 599 | 146.2 | 1135 | 1410 | 11003698 | +| 1000 | 1001 | 147413 | 29 | 147335 | 734 | 1773 | 5285 | 594 | 146.6 | 1460 | 1721 | 19485889 | +fit welcome = a + b*secrets over 11 samples: b = 146.73 B/secret, a = 586.8 B, max residual = 133.8 B +joiner learns full history: 1001 secrets, same ids as the adder's bundle: true +joiner learns recent 1: 1 secrets, same ids as the adder's 1 newest: true +joiner learns recent 8: 8 secrets, same ids as the adder's 8 newest: true +joiner learns recent 32: 32 secrets, same ids as the adder's 32 newest: true +final EncryptionGroup::add (full, K=1000): welcome 147618 B, history 29 B, ciphertext 147540 B +time at K=1000 (50 runs): Dcgka::add median 1460 us, min 1351 us; encode median 1721 us, min 1570 us; EncryptionGroup::add median 1505 us, min 1336 us +re-adds of Carol: 500 welcomes, 19485889 B in total + +## build: serde-bytes, seed 4 +| K | secrets | welcome B | history B | ciphertext B | recent 1 | recent 8 | recent 32 | empty B | B/secret since prev | welcome us (med) | encode us (med) | re-add B so far | +|---|---|---|---|---|---|---|---|---|---|---|---|---| +| 0 | 1 | 489 | 29 | 411 | 489 | 489 | 489 | 448 | - | 287 | 2 | 0 | +| 1 | 2 | 529 | 29 | 451 | 489 | 529 | 529 | 448 | 40.0 | 289 | 2 | 0 | +| 2 | 3 | 570 | 29 | 492 | 489 | 570 | 570 | 448 | 41.0 | 286 | 2 | 459 | +| 5 | 6 | 690 | 29 | 612 | 489 | 690 | 690 | 448 | 40.0 | 291 | 2 | 998 | +| 10 | 11 | 891 | 29 | 813 | 489 | 771 | 891 | 448 | 40.2 | 302 | 2 | 3098 | +| 50 | 51 | 2492 | 29 | 2414 | 489 | 771 | 1732 | 448 | 40.0 | 299 | 2 | 35526 | +| 100 | 101 | 4492 | 29 | 4414 | 489 | 771 | 1732 | 448 | 40.0 | 306 | 2 | 121076 | +| 250 | 251 | 10492 | 29 | 10414 | 489 | 771 | 1732 | 448 | 40.0 | 328 | 2 | 677726 | +| 500 | 501 | 20493 | 29 | 20415 | 489 | 771 | 1732 | 448 | 40.0 | 370 | 3 | 2605722 | +| 750 | 751 | 30493 | 29 | 30415 | 489 | 771 | 1732 | 448 | 40.0 | 391 | 3 | 5783722 | +| 1000 | 1001 | 40493 | 29 | 40415 | 489 | 771 | 1732 | 448 | 40.0 | 476 | 3 | 10211722 | +fit welcome = a + b*secrets over 11 samples: b = 40.00 B/secret, a = 450.5 B, max residual = 1.5 B +joiner learns full history: 1001 secrets, same ids as the adder's bundle: true +joiner learns recent 1: 1 secrets, same ids as the adder's 1 newest: true +joiner learns recent 8: 8 secrets, same ids as the adder's 8 newest: true +joiner learns recent 32: 32 secrets, same ids as the adder's 32 newest: true +final EncryptionGroup::add (full, K=1000): welcome 40493 B, history 29 B, ciphertext 40415 B +time at K=1000 (50 runs): Dcgka::add median 476 us, min 415 us; encode median 3 us, min 3 us; EncryptionGroup::add median 469 us, min 430 us +re-adds of Carol: 500 welcomes, 10211722 B in total + +## build: found-as-is, seed 4 +| K | secrets | welcome B | history B | ciphertext B | recent 1 | recent 8 | recent 32 | empty B | B/secret since prev | welcome us (med) | encode us (med) | re-add B so far | +|---|---|---|---|---|---|---|---|---|---|---|---|---| +| 0 | 1 | 746 | 29 | 668 | 732 | 746 | 739 | 597 | - | 284 | 7 | 0 | +| 1 | 2 | 900 | 29 | 822 | 750 | 894 | 885 | 594 | 154.0 | 278 | 9 | 0 | +| 2 | 3 | 1030 | 29 | 952 | 745 | 1030 | 1023 | 593 | 130.0 | 279 | 11 | 564 | +| 5 | 6 | 1441 | 29 | 1363 | 735 | 1450 | 1452 | 596 | 137.0 | 281 | 16 | 1278 | +| 10 | 11 | 2186 | 29 | 2108 | 737 | 1763 | 2180 | 597 | 149.0 | 296 | 23 | 4326 | +| 50 | 51 | 8102 | 29 | 8024 | 751 | 1781 | 5337 | 596 | 147.9 | 356 | 98 | 60085 | +| 100 | 101 | 15309 | 29 | 15231 | 741 | 1781 | 5259 | 599 | 144.1 | 405 | 187 | 216303 | +| 250 | 251 | 37381 | 29 | 37303 | 743 | 1768 | 5325 | 589 | 147.1 | 619 | 502 | 1261034 | +| 500 | 501 | 74055 | 29 | 73977 | 741 | 1787 | 5313 | 593 | 146.7 | 1059 | 1009 | 4926615 | +| 750 | 751 | 110798 | 29 | 110720 | 741 | 1772 | 5306 | 599 | 147.0 | 1223 | 1325 | 11004042 | +| 1000 | 1001 | 147501 | 29 | 147423 | 734 | 1768 | 5281 | 594 | 146.8 | 1520 | 2057 | 19486346 | +fit welcome = a + b*secrets over 11 samples: b = 146.76 B/secret, a = 571.4 B, max residual = 84.9 B +joiner learns full history: 1001 secrets, same ids as the adder's bundle: true +joiner learns recent 1: 1 secrets, same ids as the adder's 1 newest: true +joiner learns recent 8: 8 secrets, same ids as the adder's 8 newest: true +joiner learns recent 32: 32 secrets, same ids as the adder's 32 newest: true +final EncryptionGroup::add (full, K=1000): welcome 147491 B, history 29 B, ciphertext 147413 B +time at K=1000 (50 runs): Dcgka::add median 1520 us, min 1457 us; encode median 2057 us, min 1759 us; EncryptionGroup::add median 1620 us, min 1388 us +re-adds of Carol: 500 welcomes, 19486346 B in total + +## cross-decode (encoded by one build, decoded by the other) +K=1 welcome, stock -> serde-bytes: Err("incompatible CBOR type Array") +K=1 welcome, serde-bytes -> stock: Err("expected array, got Bytes") +re-add welcome, stock -> serde-bytes: Ok(()) +re-add welcome, serde-bytes -> stock: Ok(()) diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/run-seed5.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/run-seed5.txt new file mode 100644 index 0000000000..772ca5a521 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/run-seed5.txt @@ -0,0 +1,74 @@ +## build: stock, seed 5 +| K | secrets | welcome B | history B | ciphertext B | recent 1 | recent 8 | recent 32 | empty B | B/secret since prev | welcome us (med) | encode us (med) | re-add B so far | +|---|---|---|---|---|---|---|---|---|---|---|---|---| +| 0 | 1 | 731 | 29 | 653 | 741 | 744 | 737 | 601 | - | 268 | 7 | 0 | +| 1 | 2 | 893 | 29 | 815 | 750 | 895 | 892 | 593 | 162.0 | 269 | 9 | 0 | +| 2 | 3 | 1022 | 29 | 944 | 741 | 1037 | 1040 | 595 | 129.0 | 275 | 11 | 565 | +| 5 | 6 | 1457 | 29 | 1379 | 748 | 1471 | 1472 | 605 | 145.0 | 289 | 17 | 1281 | +| 10 | 11 | 2170 | 29 | 2092 | 744 | 1753 | 2191 | 598 | 142.6 | 296 | 28 | 4345 | +| 50 | 51 | 8041 | 29 | 7963 | 748 | 1778 | 5327 | 598 | 146.8 | 343 | 106 | 60038 | +| 100 | 101 | 15383 | 29 | 15305 | 751 | 1777 | 5289 | 596 | 146.8 | 417 | 190 | 216674 | +| 250 | 251 | 37426 | 29 | 37348 | 748 | 1770 | 5281 | 594 | 147.0 | 607 | 494 | 1264053 | +| 500 | 501 | 74056 | 29 | 73978 | 742 | 1773 | 5304 | 599 | 146.5 | 883 | 929 | 4930829 | +| 750 | 751 | 110680 | 29 | 110602 | 756 | 1764 | 5303 | 599 | 146.5 | 1353 | 1507 | 10997051 | +| 1000 | 1001 | 147495 | 29 | 147417 | 749 | 1783 | 5338 | 593 | 147.3 | 1734 | 1994 | 19466500 | +fit welcome = a + b*secrets over 11 samples: b = 146.71 B/secret, a = 573.6 B, max residual = 75.1 B +joiner learns full history: 1001 secrets, same ids as the adder's bundle: true +joiner learns recent 1: 1 secrets, same ids as the adder's 1 newest: true +joiner learns recent 8: 8 secrets, same ids as the adder's 8 newest: true +joiner learns recent 32: 32 secrets, same ids as the adder's 32 newest: true +final EncryptionGroup::add (full, K=1000): welcome 147416 B, history 29 B, ciphertext 147338 B +time at K=1000 (50 runs): Dcgka::add median 1734 us, min 1381 us; encode median 1994 us, min 1747 us; EncryptionGroup::add median 1423 us, min 1322 us +re-adds of Carol: 500 welcomes, 19466500 B in total + +## build: serde-bytes, seed 5 +| K | secrets | welcome B | history B | ciphertext B | recent 1 | recent 8 | recent 32 | empty B | B/secret since prev | welcome us (med) | encode us (med) | re-add B so far | +|---|---|---|---|---|---|---|---|---|---|---|---|---| +| 0 | 1 | 489 | 29 | 411 | 489 | 489 | 489 | 448 | - | 278 | 2 | 0 | +| 1 | 2 | 529 | 29 | 451 | 489 | 529 | 529 | 448 | 40.0 | 281 | 2 | 0 | +| 2 | 3 | 570 | 29 | 492 | 489 | 570 | 570 | 448 | 41.0 | 298 | 2 | 459 | +| 5 | 6 | 690 | 29 | 612 | 489 | 690 | 690 | 448 | 40.0 | 340 | 2 | 998 | +| 10 | 11 | 891 | 29 | 813 | 489 | 771 | 891 | 448 | 40.2 | 287 | 2 | 3098 | +| 50 | 51 | 2492 | 29 | 2414 | 489 | 771 | 1732 | 448 | 40.0 | 308 | 2 | 35526 | +| 100 | 101 | 4492 | 29 | 4414 | 489 | 771 | 1732 | 448 | 40.0 | 292 | 2 | 121076 | +| 250 | 251 | 10492 | 29 | 10414 | 489 | 771 | 1732 | 448 | 40.0 | 320 | 2 | 677726 | +| 500 | 501 | 20493 | 29 | 20415 | 489 | 771 | 1732 | 448 | 40.0 | 368 | 3 | 2605722 | +| 750 | 751 | 30493 | 29 | 30415 | 489 | 771 | 1732 | 448 | 40.0 | 415 | 3 | 5783722 | +| 1000 | 1001 | 40493 | 29 | 40415 | 489 | 771 | 1732 | 448 | 40.0 | 481 | 3 | 10211722 | +fit welcome = a + b*secrets over 11 samples: b = 40.00 B/secret, a = 450.5 B, max residual = 1.5 B +joiner learns full history: 1001 secrets, same ids as the adder's bundle: true +joiner learns recent 1: 1 secrets, same ids as the adder's 1 newest: true +joiner learns recent 8: 8 secrets, same ids as the adder's 8 newest: true +joiner learns recent 32: 32 secrets, same ids as the adder's 32 newest: true +final EncryptionGroup::add (full, K=1000): welcome 40493 B, history 29 B, ciphertext 40415 B +time at K=1000 (50 runs): Dcgka::add median 481 us, min 433 us; encode median 3 us, min 3 us; EncryptionGroup::add median 447 us, min 428 us +re-adds of Carol: 500 welcomes, 10211722 B in total + +## build: found-as-is, seed 5 +| K | secrets | welcome B | history B | ciphertext B | recent 1 | recent 8 | recent 32 | empty B | B/secret since prev | welcome us (med) | encode us (med) | re-add B so far | +|---|---|---|---|---|---|---|---|---|---|---|---|---| +| 0 | 1 | 729 | 29 | 651 | 741 | 745 | 737 | 601 | - | 282 | 7 | 0 | +| 1 | 2 | 893 | 29 | 815 | 749 | 896 | 893 | 593 | 164.0 | 281 | 9 | 0 | +| 2 | 3 | 1025 | 29 | 947 | 739 | 1037 | 1041 | 595 | 132.0 | 274 | 11 | 565 | +| 5 | 6 | 1467 | 29 | 1389 | 746 | 1477 | 1470 | 605 | 147.3 | 284 | 17 | 1281 | +| 10 | 11 | 2169 | 29 | 2091 | 744 | 1761 | 2195 | 598 | 140.4 | 299 | 31 | 4345 | +| 50 | 51 | 8071 | 29 | 7993 | 750 | 1780 | 5335 | 598 | 147.6 | 360 | 96 | 60057 | +| 100 | 101 | 15425 | 29 | 15347 | 749 | 1773 | 5277 | 596 | 147.1 | 396 | 193 | 216718 | +| 250 | 251 | 37419 | 29 | 37341 | 748 | 1754 | 5290 | 594 | 146.6 | 573 | 455 | 1264169 | +| 500 | 501 | 74082 | 29 | 74004 | 741 | 1778 | 5312 | 599 | 146.7 | 857 | 928 | 4931061 | +| 750 | 751 | 110536 | 29 | 110458 | 755 | 1754 | 5331 | 599 | 145.8 | 1146 | 1320 | 10997396 | +| 1000 | 1001 | 147309 | 29 | 147231 | 751 | 1799 | 5332 | 593 | 147.1 | 1454 | 2109 | 19466958 | +fit welcome = a + b*secrets over 11 samples: b = 146.53 B/secret, a = 596.3 B, max residual = 107.7 B +joiner learns full history: 1001 secrets, same ids as the adder's bundle: true +joiner learns recent 1: 1 secrets, same ids as the adder's 1 newest: true +joiner learns recent 8: 8 secrets, same ids as the adder's 8 newest: true +joiner learns recent 32: 32 secrets, same ids as the adder's 32 newest: true +final EncryptionGroup::add (full, K=1000): welcome 147269 B, history 29 B, ciphertext 147191 B +time at K=1000 (50 runs): Dcgka::add median 1454 us, min 1353 us; encode median 2109 us, min 1673 us; EncryptionGroup::add median 1484 us, min 1346 us +re-adds of Carol: 500 welcomes, 19466958 B in total + +## cross-decode (encoded by one build, decoded by the other) +K=1 welcome, stock -> serde-bytes: Err("incompatible CBOR type Array") +K=1 welcome, serde-bytes -> stock: Err("expected array, got Bytes") +re-add welcome, stock -> serde-bytes: Ok(()) +re-add welcome, serde-bytes -> stock: Ok(()) diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/summary.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/summary.txt new file mode 100644 index 0000000000..115b41c2ef --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/summary.txt @@ -0,0 +1,22 @@ +build seed | probe_B final_B slope_B_per_secret intercept_B max_resid_B add_med_us encode_med_us groupadd_med_us readd_total_B +stock 1 147438 147349 146.68 581.8 63.7 1861 2110 1748 19468141 +serde-bytes 1 40493 40493 40 450.5 1.5 647 3 455 10211722 +found-as-is 1 147427 147564 146.72 582.4 46.3 1900 2267 1915 19468046 +stock 2 147249 147320 146.54 590.7 69.7 1904 2160 1830 19474536 +serde-bytes 2 40493 40493 40 450.5 1.5 500 3 477 10211722 +found-as-is 2 147246 147349 146.57 600.1 86.3 1590 1956 1632 19474990 +stock 3 147213 147137 146.44 583.4 46.5 1840 1838 1836 19441815 +serde-bytes 3 40493 40493 40 450.5 1.5 467 3 499 10211722 +found-as-is 3 147113 147119 146.39 582.5 54.1 1759 1953 1480 19442726 +stock 4 147413 147618 146.73 586.8 133.8 1460 1721 1505 19485889 +serde-bytes 4 40493 40493 40 450.5 1.5 476 3 469 10211722 +found-as-is 4 147501 147491 146.76 571.4 84.9 1520 2057 1620 19486346 +stock 5 147495 147416 146.71 573.6 75.1 1734 1994 1423 19466500 +serde-bytes 5 40493 40493 40 450.5 1.5 481 3 447 10211722 +found-as-is 5 147309 147269 146.53 596.3 107.7 1454 2109 1484 19466958 +stock mean 147361.6 147368.0 146.6 583.3 77.8 1759.8 1964.6 1668.4 19467376.2 +stock sd 123.5 173.8 0.1 6.4 33.1 178.9 184.1 192.0 16191.9 +serde-bytes mean 40493.0 40493.0 40.0 450.5 1.5 514.2 3.0 469.4 10211722.0 +serde-bytes sd 0.0 0.0 0.0 0.0 0.0 75.2 0.0 20.3 0.0 +found-as-is mean 147319.2 147358.4 146.6 586.5 75.9 1644.6 2068.4 1626.2 19467813.2 +found-as-is sd 152.2 177.0 0.1 11.6 25.3 182.4 129.6 176.8 16008.8 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/variant-diff-serde-bytes-vs-s3-path.diff b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/variant-diff-serde-bytes-vs-s3-path.diff new file mode 100644 index 0000000000..c1a973ca71 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/variant-diff-serde-bytes-vs-s3-path.diff @@ -0,0 +1,22 @@ +diff -ru /home/user/work/spikes/s3-history/patched/p2panda-encryption/src/two_party/two_party.rs variants/serde-bytes/p2panda-encryption/src/two_party/two_party.rs +--- /home/user/work/spikes/s3-history/patched/p2panda-encryption/src/two_party/two_party.rs 2026-10-11 02:54:44.411105190 -0500 ++++ variants/serde-bytes/p2panda-encryption/src/two_party/two_party.rs 2026-10-11 07:14:26.718117371 -0500 +@@ -241,6 +241,7 @@ + #[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)] + pub struct TwoPartyPlaintext { + /// Secret message for the receiver. ++ #[serde(with = "serde_bytes")] + plaintext: Vec, + + /// Newly generated secret for the receiver, to be used in future 2SM rounds. +diff -ru /home/user/work/spikes/s3-history/patched/p2panda-encryption/src/two_party/x3dh.rs variants/serde-bytes/p2panda-encryption/src/two_party/x3dh.rs +--- /home/user/work/spikes/s3-history/patched/p2panda-encryption/src/two_party/x3dh.rs 2026-10-11 02:54:44.411136581 -0500 ++++ variants/serde-bytes/p2panda-encryption/src/two_party/x3dh.rs 2026-10-11 07:14:27.153120068 -0500 +@@ -38,6 +38,7 @@ + pub prekey_id: PreKeyId, + + /// Encrypted payload for the receiver. ++ #[serde(with = "serde_bytes")] + pub ciphertext: Vec, + + /// Ephemeral public key used for this session. diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/welcome-k1-found-as-is.diag b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/welcome-k1-found-as-is.diag new file mode 100644 index 0000000000..a897349b75 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/welcome-k1-found-as-is.diag @@ -0,0 +1 @@ +{"content": {"Welcome": {"history": {"my_id": 0, "_marker": null, "members": [0, 1, 2]}, "ciphertext": {"key_used": "PreKey", "ciphertext": {"PreKey": {"prekey_id": h'6845e07e0713c310825f33d51d6031bd1d21e2f51aa95018e0228775ca7fcb53', "ciphertext": [140, 57, 154, 154, 245, 100, 158, 208, 91, 130, 103, 137, 165, 238, 223, 184, 94, 215, 208, 155, 224, 172, 108, 33, 152, 30, 98, 210, 155, 56, 218, 30, 181, 34, 67, 180, 123, 194, 161, 117, 155, 44, 204, 90, 43, 212, 21, 194, 124, 196, 59, 113, 41, 200, 75, 6, 208, 213, 26, 120, 106, 252, 70, 37, 77, 10, 6, 245, 234, 166, 219, 124, 248, 212, 251, 203, 174, 48, 50, 255, 19, 37, 7, 227, 2, 221, 26, 74, 181, 220, 68, 29, 103, 156, 10, 42, 25, 139, 31, 144, 138, 173, 235, 14, 154, 209, 157, 63, 113, 107, 184, 224, 38, 8, 192, 213, 66, 145, 112, 65, 68, 83, 96, 138, 245, 112, 203, 218, 205, 216, 93, 171, 121, 4, 219, 238, 178, 224, 172, 13, 99, 193, 137, 192, 120, 106, 45, 148, 170, 68, 116, 132, 49, 163, 182, 6, 40, 232, 114, 135, 169, 63, 156, 202, 153, 148, 29, 2, 60, 128, 159, 104, 99, 148, 161, 48, 165, 58, 108, 117, 159, 204, 8, 169, 67, 166, 122, 223, 31, 85, 161, 4, 187, 51, 56, 94, 155, 52, 77, 167, 116, 118, 13, 126, 198, 183, 238, 243, 65, 228, 66, 101, 167, 165, 199, 97, 185, 182, 92, 110, 218, 131, 67, 204, 51, 239, 39, 245, 55, 29, 166, 138, 1, 244, 54, 87, 205, 130, 232, 106, 224, 109, 166, 148, 250, 159, 98, 81, 57, 79, 67, 191, 37, 84, 251, 29, 233, 131, 251, 255, 102, 164, 154, 48, 78, 77, 236, 146, 22, 117, 49, 178, 43, 221, 133, 237, 188, 167, 139, 107, 243, 172, 203, 182, 148, 88, 130, 47, 254, 111, 186, 42, 3, 199, 14, 101, 44, 94, 6, 248, 100, 12, 171, 5, 212, 64, 68, 81, 56, 74, 117, 36, 231, 102], "identity_key": h'd53b9fea1dd4d570dbe38180767c236456ca6633f103f1aa0637e7b613d25274', "ephemeral_key": h'bb8d8483db5870864f280995fcc4976d694afc02e8402d7d0a164d073a8acd5b', "onetime_prekey_id": null}}}}}, "recipient": 3} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/welcome-k1-serde-bytes.diag b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/welcome-k1-serde-bytes.diag new file mode 100644 index 0000000000..35bf71dd69 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/welcome-k1-serde-bytes.diag @@ -0,0 +1 @@ +{"content": {"Welcome": {"history": {"my_id": 0, "_marker": null, "members": [2, 0, 1]}, "ciphertext": {"key_used": "PreKey", "ciphertext": {"PreKey": {"prekey_id": h'6845e07e0713c310825f33d51d6031bd1d21e2f51aa95018e0228775ca7fcb53', "ciphertext": h'8c399a9af5649ed05b826749a574dff8fcd15181cea4bdbba8092904fa006b15259abe5f0badc23f95edc47fafaa090b02c68da22ce43846716b704ae3585565760047e88aa7531cbd4927527c4c09333f161a62353cd6c040deaeced2b1f94124fd5bede6ea5c69ecb5da21078dc5e92863d3a8efec952f012c2cfc8e1f34b10da3dcd6924486f6140f074638d615f16f0d896fec3ae7311c3f6844322e4f2a133f035508ef2e1f4a979f74589fb617bf0072448dcc02c156ad76d21d63bc04b034767558b6ebc9994fd201fd32371251d803595d993a0868950d19163fbe1f30160e36af1471557a5ac16bd7ea8032866011', "identity_key": h'd53b9fea1dd4d570dbe38180767c236456ca6633f103f1aa0637e7b613d25274', "ephemeral_key": h'bb8d8483db5870864f280995fcc4976d694afc02e8402d7d0a164d073a8acd5b', "onetime_prekey_id": null}}}}}, "recipient": 3} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/welcome-k1-stock.diag b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/welcome-k1-stock.diag new file mode 100644 index 0000000000..b44970431d --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/logs/welcome-k1-stock.diag @@ -0,0 +1 @@ +{"content": {"Welcome": {"history": {"my_id": 0, "_marker": null, "members": [1, 2, 0]}, "ciphertext": {"key_used": "PreKey", "ciphertext": {"PreKey": {"prekey_id": h'6845e07e0713c310825f33d51d6031bd1d21e2f51aa95018e0228775ca7fcb53', "ciphertext": [140, 57, 154, 154, 245, 100, 158, 208, 91, 130, 103, 137, 165, 238, 223, 184, 94, 215, 208, 155, 224, 172, 212, 33, 0, 4, 70, 218, 110, 87, 126, 132, 35, 75, 20, 180, 245, 200, 119, 146, 18, 44, 167, 79, 33, 212, 160, 194, 164, 196, 66, 113, 95, 200, 37, 6, 44, 213, 74, 120, 187, 239, 195, 228, 129, 81, 160, 208, 217, 35, 224, 2, 121, 123, 206, 2, 81, 48, 142, 255, 235, 37, 242, 227, 152, 221, 66, 74, 252, 220, 156, 29, 114, 156, 46, 42, 0, 139, 21, 144, 121, 173, 142, 20, 26, 217, 221, 80, 134, 251, 184, 110, 44, 8, 234, 213, 149, 145, 87, 65, 28, 70, 175, 138, 110, 112, 154, 218, 233, 216, 133, 171, 130, 4, 59, 238, 29, 224, 167, 30, 80, 0, 178, 155, 249, 79, 24, 17, 75, 58, 202, 43, 187, 106, 142, 6, 40, 232, 114, 135, 169, 63, 156, 202, 158, 148, 29, 2, 60, 128, 159, 104, 99, 148, 161, 48, 165, 58, 108, 117, 159, 204, 8, 169, 67, 166, 122, 223, 31, 85, 161, 4, 187, 51, 56, 94, 155, 52, 77, 167, 116, 118, 13, 126, 198, 183, 238, 243, 65, 228, 66, 101, 167, 165, 199, 97, 185, 182, 92, 110, 218, 131, 67, 204, 51, 239, 39, 245, 55, 29, 166, 138, 1, 244, 54, 87, 205, 130, 232, 106, 224, 109, 166, 148, 250, 159, 98, 81, 57, 79, 67, 191, 37, 84, 251, 29, 233, 131, 251, 255, 102, 164, 154, 48, 78, 77, 236, 146, 22, 117, 49, 178, 43, 221, 133, 237, 188, 167, 139, 107, 243, 172, 203, 182, 148, 88, 130, 47, 254, 111, 186, 42, 3, 199, 14, 101, 44, 94, 71, 172, 13, 195, 85, 143, 180, 114, 236, 173, 222, 100, 93, 147, 123, 164], "identity_key": h'd53b9fea1dd4d570dbe38180767c236456ca6633f103f1aa0637e7b613d25274', "ephemeral_key": h'bb8d8483db5870864f280995fcc4976d694afc02e8402d7d0a164d073a8acd5b', "onetime_prekey_id": null}}}}}, "recipient": 3} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/src/harness.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/src/harness.rs new file mode 100644 index 0000000000..09cf7fa129 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/src/harness.rs @@ -0,0 +1,397 @@ +// Shared S12 harness. main.rs includes this file once per build. Before the include, the module +// defines `enc` (the crate under test) and `Dgm` (its test membership). +// +// Only the adder is driven. Its welcome depends on its own state and the joiner's key bundle. In +// this scenario Bob and Carol never send, so the adder's state is the same as it would be if they +// processed every message. + +use std::fs; +use std::path::PathBuf; +use std::time::{Duration, Instant}; + +use cbor_core::Value; +use p2panda_core::cbor::{decode_cbor, encode_cbor}; + +use enc::data_scheme::dcgka::{ + ControlMessage, Dcgka, DcgkaState, DirectMessage, DirectMessageContent, GroupSecretOutput, + ProcessInput, +}; +use enc::data_scheme::group::{EncryptionGroup, GroupState}; +use enc::data_scheme::group_secret::{GroupSecret, SecretBundle, SecretBundleState}; +use enc::data_scheme::test_utils::ordering::{MessageOrderer, TestMessage}; +use enc::key_bundle::Lifetime; +use enc::key_manager::KeyManager; +use enc::key_registry::KeyRegistry; +use enc::test_utils::{MemberId, MessageId}; +use enc::traits::{GroupMessage, Ordering, PreKeyManager, PreKeyRegistry}; + +type Id = MemberId; +type Mid = MessageId; +type Orderer = MessageOrderer; +type Pki = KeyRegistry; +type Kmg = KeyManager; +type Y = GroupState; +type Dcgka0 = DcgkaState; +type Msg = TestMessage; +type Dm = DirectMessage; + +const ADMIN: Id = 0; +const BOB: Id = 1; +const CAROL: Id = 2; +// Joiner for the size probes and the joiner-side check. Probes run on clones of the adder's state. +const PROBE: Id = 3; +// Joiner for the final add, which goes through `EncryptionGroup::add`. +const JOIN: Id = 4; + +// Each rotation mints one secret. Odd rotations are `update`. Even rotations `remove` Carol and +// add her back, so the group stays at three members. Re-adding mints no secret. +const ROTATIONS: usize = 1000; +const SAMPLES: [usize; 11] = [0, 1, 2, 5, 10, 50, 100, 250, 500, 750, 1000]; +// Recent-N welcomes: only the N newest secrets go into the bundle that `Dcgka::add` receives. +const RECENT: [usize; 3] = [1, 8, 32]; + +fn ok(result: Result, what: &str) -> T { + result.unwrap_or_else(|err| panic!("{what} failed: {err:?}")) +} + +fn log_path(name: &str) -> PathBuf { + PathBuf::from(env!("CARGO_MANIFEST_DIR")) + .join("logs") + .join(name) +} + +// The adder's state, and the probe joiner's own `DcgkaState` for the joiner-side check. Every +// identity the run uses has a long-term key bundle in the adder's registry. +fn init_adder(rng: &enc::Rng) -> (Y, Dcgka0) { + let lifetime = Lifetime::default(); + let mut registry = KeyRegistry::::init(); + let mut adder_keys = None; + let mut probe_keys = None; + for id in [ADMIN, BOB, CAROL, PROBE, JOIN] { + let identity = enc::test_utils::crypto::SecretKey::from_bytes(rng.random_array().unwrap()); + let keys = ok(KeyManager::init_and_generate_prekey(&identity, lifetime, rng), "prekey"); + let bundle = ok(KeyManager::prekey_bundle(&keys), "prekey bundle"); + registry = ok(KeyRegistry::add_longterm_bundle(registry, id, bundle), "register"); + match id { + ADMIN => adder_keys = Some(keys), + PROBE => probe_keys = Some(keys), + _ => {} + } + } + let joiner = Dcgka::init( + PROBE, + probe_keys.expect("probe keys"), + registry.clone(), + Dgm::init(PROBE), + ); + let adder = EncryptionGroup::init( + ADMIN, + adder_keys.expect("adder keys"), + registry, + Dgm::init(ADMIN), + Orderer::init(ADMIN), + ); + (adder, joiner) +} + +// The welcome for `joiner` that `Dcgka::add` builds from `bundle`. Runs on a clone of the state. +fn welcome(y: &Y, joiner: Id, bundle: &SecretBundleState, rng: &enc::Rng) -> Dm { + let (_, output) = ok(Dcgka::add(y.dcgka.clone(), joiner, bundle, rng), "welcome"); + output + .direct_messages + .into_iter() + .find(|dm| dm.recipient == joiner) + .expect("a welcome for the joiner") +} + +fn welcome_in(msg: &Msg, joiner: Id) -> Dm { + msg.direct_messages() + .into_iter() + .find(|dm| dm.recipient == joiner) + .expect("a welcome for the joiner") +} + +// Bytes of the whole welcome, of its history (the DGM state), and of its ciphertext. +fn sizes(dm: &Dm) -> (usize, usize, usize) { + let DirectMessageContent::Welcome { + ciphertext, + history, + } = &dm.content + else { + panic!("expected a welcome"); + }; + ( + encode_cbor(dm).expect("encode the welcome").len(), + encode_cbor(history).expect("encode the history").len(), + encode_cbor(ciphertext).expect("encode the ciphertext").len(), + ) +} + +// What the joiner learns from a welcome, processed with the joiner's own keys. +fn learned(joiner: &Dcgka0, dm: Dm, seq: Mid) -> SecretBundleState { + let input = ProcessInput { + seq, + sender: ADMIN, + control_message: ControlMessage::Add { added: PROBE }, + direct_message: Some(dm), + }; + match ok(Dcgka::process(joiner.clone(), input), "joiner processes the welcome").1 { + GroupSecretOutput::Bundle(bundle) => bundle, + _ => panic!("a welcome carries a bundle"), + } +} + +// The bundle of the `n` newest secrets. Timestamps increase within a bundle (`SecretBundle::generate` +// bumps them), so sorting by timestamp picks the newest. +fn newest(y: &Y, n: usize) -> SecretBundleState { + let mut secrets: Vec = y.secrets.secrets().cloned().collect(); + secrets.sort_by_key(|secret| std::cmp::Reverse(secret.timestamp())); + secrets.truncate(n); + SecretBundle::from_secrets(secrets) +} + +// Median and minimum, in microseconds. +fn stats_us(mut times: Vec) -> (f64, f64) { + times.sort(); + ( + times[times.len() / 2].as_secs_f64() * 1e6, + times[0].as_secs_f64() * 1e6, + ) +} + +// Time of `Dcgka::add` for the welcome: bundle encoding and 2SM/X3DH encryption. +fn time_welcome(y: &Y, bundle: &SecretBundleState, rng: &enc::Rng, reps: usize) -> Vec { + (0..reps) + .map(|_| { + let dcgka = y.dcgka.clone(); + let start = Instant::now(); + let output = ok(Dcgka::add(dcgka, PROBE, bundle, rng), "timed welcome"); + let elapsed = start.elapsed(); + drop(output); + elapsed + }) + .collect() +} + +// Time of CBOR-encoding the welcome message. +fn time_encode(dm: &Dm, reps: usize) -> Vec { + (0..reps) + .map(|_| { + let start = Instant::now(); + let bytes = encode_cbor(dm).expect("encode the welcome"); + let elapsed = start.elapsed(); + drop(bytes); + elapsed + }) + .collect() +} + +// Time of `EncryptionGroup::add`: the welcome plus local processing and ordering. +fn time_group_add(y: &Y, rng: &enc::Rng, reps: usize) -> Vec { + (0..reps) + .map(|_| { + let state = y.clone(); + let start = Instant::now(); + let output = ok(EncryptionGroup::add(state, JOIN, rng), "timed group add"); + let elapsed = start.elapsed(); + drop(output); + elapsed + }) + .collect() +} + +struct Row { + k: usize, + secrets: usize, + welcome: usize, + history: usize, + ciphertext: usize, + recent: [usize; 3], + empty: usize, + welcome_us: (f64, f64), + encode_us: (f64, f64), + readd_total: usize, +} + +fn probe(y: &Y, k: usize, readd_total: usize, rng: &enc::Rng) -> (Row, Dm) { + let full = welcome(y, PROBE, &y.secrets, rng); + let (total, history, ciphertext) = sizes(&full); + let recent = RECENT.map(|n| sizes(&welcome(y, PROBE, &newest(y, n), rng)).0); + let empty = sizes(&welcome(y, PROBE, &SecretBundle::init(), rng)).0; + let reps = if k == ROTATIONS { 50 } else { 15 }; + let row = Row { + k, + secrets: y.secrets.len(), + welcome: total, + history, + ciphertext, + recent, + empty, + welcome_us: stats_us(time_welcome(y, &y.secrets, rng, reps)), + encode_us: stats_us(time_encode(&full, reps)), + readd_total, + }; + (row, full) +} + +// Least-squares line through (x, y): slope, intercept, and the largest absolute residual. +fn fit(points: &[(f64, f64)]) -> (f64, f64, f64) { + let n = points.len() as f64; + let sx: f64 = points.iter().map(|p| p.0).sum(); + let sy: f64 = points.iter().map(|p| p.1).sum(); + let sxx: f64 = points.iter().map(|p| p.0 * p.0).sum(); + let sxy: f64 = points.iter().map(|p| p.0 * p.1).sum(); + let slope = (n * sxy - sx * sy) / (n * sxx - sx * sx); + let intercept = (sy - slope * sx) / n; + let worst = points + .iter() + .map(|(x, y)| (y - (intercept + slope * x)).abs()) + .fold(0.0, f64::max); + (slope, intercept, worst) +} + +// Runs the scenario and prints one table. Returns the K=1 welcome and the first re-add welcome, +// for the cross-decode. +pub fn run(name: &str, seed: u8) -> (Vec, Vec) { + println!("## build: {name}, seed {seed}"); + let rng = enc::Rng::from_seed([seed; 32]); + let (adder, joiner) = init_adder(&rng); + let (mut y, _) = ok( + EncryptionGroup::create(adder, vec![ADMIN, BOB, CAROL], &rng), + "create", + ); + + let file_name = name.replace(' ', "-"); + let mut rows = Vec::new(); + let mut readd_total = 0; + let mut readd_count = 0; + let mut readd_first = Vec::new(); + let mut k1 = Vec::new(); + let mut last_seq = None; + for k in 0..=ROTATIONS { + if k > 0 && k % 2 == 1 { + let (next, msg) = ok(EncryptionGroup::update(y, &rng), "update"); + last_seq = Some(msg.id()); + y = next; + } else if k > 0 { + let (without, _) = ok(EncryptionGroup::remove(y, CAROL, &rng), "remove"); + let (next, msg) = ok(EncryptionGroup::add(without, CAROL, &rng), "add back"); + last_seq = Some(msg.id()); + let readd_bytes = encode_cbor(&welcome_in(&msg, CAROL)).expect("encode the re-add"); + readd_total += readd_bytes.len(); + readd_count += 1; + if readd_count == 1 { + let tree = Value::decode_owned(&readd_bytes).expect("decode the re-add welcome"); + fs::write( + log_path(&format!("readd-first-{file_name}.diag")), + format!("{tree}\n"), + ) + .expect("write diagnostic"); + readd_first = readd_bytes; + } + y = next; + } + if SAMPLES.contains(&k) { + let (row, full) = probe(&y, k, readd_total, &rng); + if k == 1 { + k1 = encode_cbor(&full).expect("encode the K=1 welcome"); + let tree = Value::decode_owned(&k1).expect("decode the K=1 welcome"); + fs::write( + log_path(&format!("welcome-k1-{file_name}.diag")), + format!("{tree}\n"), + ) + .expect("write diagnostic"); + } + rows.push(row); + } + } + + println!( + "| K | secrets | welcome B | history B | ciphertext B | recent 1 | recent 8 | recent 32 | empty B | B/secret since prev | welcome us (med) | encode us (med) | re-add B so far |" + ); + println!("|---|---|---|---|---|---|---|---|---|---|---|---|---|"); + let mut prev: Option<&Row> = None; + for row in &rows { + let per_secret = match prev { + Some(p) => format!( + "{:.1}", + (row.welcome - p.welcome) as f64 / (row.secrets - p.secrets) as f64 + ), + None => "-".to_string(), + }; + println!( + "| {} | {} | {} | {} | {} | {} | {} | {} | {} | {} | {:.0} | {:.0} | {} |", + row.k, + row.secrets, + row.welcome, + row.history, + row.ciphertext, + row.recent[0], + row.recent[1], + row.recent[2], + row.empty, + per_secret, + row.welcome_us.0, + row.encode_us.0, + row.readd_total, + ); + prev = Some(row); + } + + let points: Vec<(f64, f64)> = rows + .iter() + .map(|r| (r.secrets as f64, r.welcome as f64)) + .collect(); + let (slope, intercept, worst) = fit(&points); + println!( + "fit welcome = a + b*secrets over {} samples: b = {slope:.2} B/secret, a = {intercept:.1} B, max residual = {worst:.1} B", + points.len() + ); + + // What the joiner learns, at K=ROTATIONS. Each welcome is processed with the joiner's keys. + let seq = last_seq.expect("a rotation happened"); + let full_secrets = y.secrets.clone(); + let learned_full = learned(&joiner, welcome(&y, PROBE, &full_secrets, &rng), seq); + println!( + "joiner learns full history: {} secrets, same ids as the adder's bundle: {}", + learned_full.len(), + same_ids(&learned_full, &full_secrets) + ); + for n in RECENT { + let expected = newest(&y, n); + let learned_n = learned(&joiner, welcome(&y, PROBE, &expected, &rng), seq); + println!( + "joiner learns recent {n}: {} secrets, same ids as the adder's {n} newest: {}", + learned_n.len(), + same_ids(&learned_n, &expected) + ); + } + + // The full API at K=ROTATIONS. This consumes the adder's state, so it runs last. + let (group_add_med, group_add_min) = stats_us(time_group_add(&y, &rng, 50)); + let (_, final_msg) = ok(EncryptionGroup::add(y, JOIN, &rng), "final add"); + let final_dm = welcome_in(&final_msg, JOIN); + let (total, history, ciphertext) = sizes(&final_dm); + println!( + "final EncryptionGroup::add (full, K={ROTATIONS}): welcome {total} B, history {history} B, ciphertext {ciphertext} B" + ); + let last = rows.last().expect("a sample at K=ROTATIONS"); + println!( + "time at K={ROTATIONS} (50 runs): Dcgka::add median {:.0} us, min {:.0} us; encode median {:.0} us, min {:.0} us; EncryptionGroup::add median {group_add_med:.0} us, min {group_add_min:.0} us", + last.welcome_us.0, last.welcome_us.1, last.encode_us.0, last.encode_us.1 + ); + println!("re-adds of Carol: {readd_count} welcomes, {readd_total} B in total"); + println!(); + (k1, readd_first) +} + +fn same_ids(a: &SecretBundleState, b: &SecretBundleState) -> bool { + a.len() == b.len() && a.ids().all(|id| b.contains(id)) +} + +// Decodes a welcome with this build's types. Returns the error text when decoding fails. +pub fn decode_welcome(bytes: &[u8]) -> Result<(), String> { + decode_cbor::(bytes) + .map(|_| ()) + .map_err(|err| err.to_string()) +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/src/main.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/src/main.rs new file mode 100644 index 0000000000..9f57e88e2a --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/src/main.rs @@ -0,0 +1,69 @@ +//! S12: welcome size as epochs accumulate. Method and results are in RESULTS.md. +//! +//! Runs one scenario on three builds of p2panda-encryption: stock, the serde_bytes variant, and the +//! S3 path copy as found. Prints one table per build, then cross-decodes two welcomes between the +//! stock and serde_bytes builds. +#![allow(dead_code, unused_imports)] + +mod stock { + use p2panda_encryption as enc; + + type Dgm = enc::data_scheme::test_utils::dgm::TestDgm< + enc::test_utils::MemberId, + enc::test_utils::MessageId, + >; + + include!("harness.rs"); +} + +mod sb { + use p2panda_encryption_sb as enc; + + type Dgm = enc::data_scheme::test_utils::dgm::TestDgm< + enc::test_utils::MemberId, + enc::test_utils::MessageId, + >; + + include!("harness.rs"); +} + +mod found { + use p2panda_encryption_found as enc; + + type Dgm = enc::data_scheme::test_utils::dgm::TestDgm< + enc::test_utils::MemberId, + enc::test_utils::MessageId, + >; + + include!("harness.rs"); +} + +fn main() { + let seed = std::env::args() + .skip_while(|arg| arg != "--seed") + .nth(1) + .map(|value| value.parse::().expect("seed is a byte")) + .unwrap_or(7); + + let (stock_k1, stock_readd) = stock::run("stock", seed); + let (sb_k1, sb_readd) = sb::run("serde-bytes", seed); + found::run("found-as-is", seed); + + println!("## cross-decode (encoded by one build, decoded by the other)"); + println!( + "K=1 welcome, stock -> serde-bytes: {:?}", + sb::decode_welcome(&stock_k1) + ); + println!( + "K=1 welcome, serde-bytes -> stock: {:?}", + stock::decode_welcome(&sb_k1) + ); + println!( + "re-add welcome, stock -> serde-bytes: {:?}", + sb::decode_welcome(&stock_readd) + ); + println!( + "re-add welcome, serde-bytes -> stock: {:?}", + stock::decode_welcome(&sb_readd) + ); +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/summarize.sh b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/summarize.sh new file mode 100644 index 0000000000..08ea90100d --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/summarize.sh @@ -0,0 +1,62 @@ +#!/bin/sh +# Summarises logs/run-seed*.txt into logs/summary.txt: one row per build and seed, then the mean and +# sample standard deviation over seeds for each build. +cd "$(dirname "$0")/logs" || exit 1 +awk ' +function grab(s, re, t) { + if (match(s, re)) { + t = substr(s, RSTART, RLENGTH) + gsub(/[^0-9.]/, "", t) + return t + 0 + } + return 0 +} +/^## build:/ { build = $3; sub(/,$/, "", build); seed = $5 } +/^\| 1000 \|/ { split($0, f, "|"); vals["probe"] = f[4] + 0 } +/^final EncryptionGroup::add/ { vals["final"] = grab($0, "welcome [0-9]+ B") } +/^fit welcome/ { + vals["slope"] = grab($0, "b = [0-9.]+") + vals["icpt"] = grab($0, "a = [0-9.]+") + vals["resid"] = grab($0, "max residual = [0-9.]+") +} +/^time at K=/ { + vals["add"] = grab($0, "Dcgka::add median [0-9]+") + vals["enc"] = grab($0, "encode median [0-9]+") + vals["gadd"] = grab($0, "EncryptionGroup::add median [0-9]+") +} +/^re-adds of Carol/ { + vals["readd"] = grab($0, "[0-9]+ B in total") + split("probe final slope icpt resid add enc gadd readd", names, " ") + line = build " " seed + for (i = 1; i <= 9; i++) { + m = names[i] + v = vals[m] + line = line " " v + sum[build, m] += v + sq[build, m] += v * v + } + n[build]++ + rows[++nrows] = line +} +END { + print "build seed | probe_B final_B slope_B_per_secret intercept_B max_resid_B add_med_us encode_med_us groupadd_med_us readd_total_B" + for (i = 1; i <= nrows; i++) print rows[i] + split("probe final slope icpt resid add enc gadd readd", names, " ") + for (b = 1; b <= 3; b++) { + build = (b == 1) ? "stock" : (b == 2) ? "serde-bytes" : "found-as-is" + if (!(build in n)) continue + out = build " mean" + sd = build " sd" + for (i = 1; i <= 9; i++) { + m = names[i] + mean = sum[build, m] / n[build] + s = (n[build] > 1) ? sqrt((sq[build, m] - n[build] * mean * mean) / (n[build] - 1)) : 0 + out = out sprintf(" %.1f", mean) + sd = sd sprintf(" %.1f", s) + } + print out + print sd + } +} +' run-seed*.txt > summary.txt +cat summary.txt diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/variants/found.patch b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/variants/found.patch new file mode 100644 index 0000000000..262f9829dc --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/variants/found.patch @@ -0,0 +1,119 @@ +diff -ruN /home/user/.cargo/git/checkouts/p2panda-de6556ee3f16c1a4/3e84cac/p2panda-encryption/Cargo.toml found/p2panda-encryption/Cargo.toml +--- /home/user/.cargo/git/checkouts/p2panda-de6556ee3f16c1a4/3e84cac/p2panda-encryption/Cargo.toml 2026-10-11 02:34:03.747656545 -0500 ++++ found/p2panda-encryption/Cargo.toml 2026-10-11 07:15:39.356561952 -0500 +@@ -1,5 +1,6 @@ + [package] +-name = "p2panda-encryption" ++# Renamed in this copy only, so two path copies do not share a name and version in the lockfile. ++name = "p2panda-encryption-found" + version = "0.7.1" + edition = "2024" + authors = [ +@@ -18,9 +19,6 @@ + all-features = true + rustdoc-args = ["--cfg", "docsrs"] + +-[lints] +-workspace = true +- + [features] + default = ["data_scheme"] + data_scheme = [] +@@ -33,17 +31,17 @@ + [dependencies] + chacha20poly1305 = { version = "0.10.1", features = ["alloc"], default-features = false } + curve25519-dalek = "4.1.3" +-hex = { workspace = true } ++hex = "0.4.3" + hkdf = "0.12.4" + hpke-rs = "0.7.0" + hpke-rs-crypto = "0.7.0" + hpke-rs-rust-crypto = "0.7.0" +-p2panda-core = { workspace = true } ++p2panda-core = { git = "https://github.com/p2panda/p2panda", rev = "3e84cac48bba05c6857cce2ec433862b97f8d53c", default-features = false } + rand_chacha = { version = "0.9.0", features = ["os_rng"] } +-serde = { workspace = true, features = ["derive"] } +-serde_bytes = { workspace = true } ++serde = { version = "1.0.228", features = ["derive"] } ++serde_bytes = "0.11.19" + sha2 = "0.10.8" + subtle = "2.6.1" +-thiserror = { workspace = true } ++thiserror = "2.0.18" + x25519-dalek = { version = "2.0.1", features = ["static_secrets"] } + zeroize = { version = "1.8.1", features = ["derive"] } +diff -ruN /home/user/.cargo/git/checkouts/p2panda-de6556ee3f16c1a4/3e84cac/p2panda-encryption/src/data_scheme/dcgka.rs found/p2panda-encryption/src/data_scheme/dcgka.rs +--- /home/user/.cargo/git/checkouts/p2panda-de6556ee3f16c1a4/3e84cac/p2panda-encryption/src/data_scheme/dcgka.rs 2026-10-11 02:34:03.748848656 -0500 ++++ found/p2panda-encryption/src/data_scheme/dcgka.rs 2026-10-11 07:14:22.440609580 -0500 +@@ -286,7 +286,11 @@ + added: ID, + direct_message: Option>, + ) -> DcgkaProcessResult { +- y.dgm = DGM::add(y.dgm, sender, added, seq).map_err(|err| DcgkaError::DgmOperation(err))?; ++ // The joiner applies its own add in `process_welcome`, after the welcome's history. ++ if added != y.my_id { ++ y.dgm = ++ DGM::add(y.dgm, sender, added, seq).map_err(|err| DcgkaError::DgmOperation(err))?; ++ } + + if added == y.my_id { + let Some(DirectMessage { +@@ -312,7 +316,7 @@ + return Err(DcgkaError::NotOurDirectMessage(y.my_id, recipient)); + } + +- return Self::process_welcome(y, sender, ciphertext, history); ++ return Self::process_welcome(y, sender, seq, ciphertext, history); + } + + Ok((y, GroupSecretOutput::None)) +@@ -323,10 +327,14 @@ + fn process_welcome( + mut y: DcgkaState, + sender: ID, ++ seq: OP, + ciphertext: TwoPartyMessage, + history: DGM::State, + ) -> DcgkaProcessResult { + y.dgm = DGM::from_welcome(y.my_id, history).map_err(|err| DcgkaError::DgmOperation(err))?; ++ // The welcome's history predates this add, so the joiner applies the add itself. ++ y.dgm = ++ DGM::add(y.dgm, sender, y.my_id, seq).map_err(|err| DcgkaError::DgmOperation(err))?; + + let (y_i, bundle) = { + let (y_i, plaintext) = Self::decrypt_from(y, &sender, ciphertext)?; +diff -ruN /home/user/.cargo/git/checkouts/p2panda-de6556ee3f16c1a4/3e84cac/p2panda-encryption/src/data_scheme/group.rs found/p2panda-encryption/src/data_scheme/group.rs +--- /home/user/.cargo/git/checkouts/p2panda-de6556ee3f16c1a4/3e84cac/p2panda-encryption/src/data_scheme/group.rs 2026-10-11 02:34:03.749007680 -0500 ++++ found/p2panda-encryption/src/data_scheme/group.rs 2026-10-11 07:14:22.440643173 -0500 +@@ -130,6 +130,31 @@ + Self::process_local(y, pre, None) + } + ++ /// Adds new member to group, welcoming them with no earlier secrets. ++ /// ++ /// `add` mints no secret, and its welcome carries the adder's whole bundle. This welcome ++ /// carries an empty bundle, so the joiner learns no secret the group had before the add. The ++ /// caller must follow with `update` to rotate to a secret the joiner does learn. ++ pub fn add_from_join( ++ mut y: GroupState, ++ added: ID, ++ rng: &Rng, ++ ) -> GroupResult { ++ if !y.is_welcomed { ++ return Err(GroupError::GroupNotYetEstablished); ++ } ++ ++ if y.my_id == added { ++ return Err(GroupError::NotAddOurselves); ++ } ++ ++ // Pass an empty bundle, so the welcome carries no earlier secret. ++ let (y_dcgka_i, pre) = Dcgka::add(y.dcgka, added, &SecretBundle::init(), rng)?; ++ y.dcgka = y_dcgka_i; ++ ++ Self::process_local(y, pre, None) ++ } ++ + /// Removes member from group. It is possible to remove ourselves. + pub fn remove( + mut y: GroupState, diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/variants/serde-bytes.patch b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/variants/serde-bytes.patch new file mode 100644 index 0000000000..ea954e9b83 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s12-welcome/variants/serde-bytes.patch @@ -0,0 +1,133 @@ +diff -ruN /home/user/.cargo/git/checkouts/p2panda-de6556ee3f16c1a4/3e84cac/p2panda-encryption/Cargo.toml serde-bytes/p2panda-encryption/Cargo.toml +--- /home/user/.cargo/git/checkouts/p2panda-de6556ee3f16c1a4/3e84cac/p2panda-encryption/Cargo.toml 2026-10-11 02:34:03.747656545 -0500 ++++ serde-bytes/p2panda-encryption/Cargo.toml 2026-10-11 07:14:22.436482253 -0500 +@@ -18,9 +18,6 @@ + all-features = true + rustdoc-args = ["--cfg", "docsrs"] + +-[lints] +-workspace = true +- + [features] + default = ["data_scheme"] + data_scheme = [] +@@ -33,17 +30,17 @@ + [dependencies] + chacha20poly1305 = { version = "0.10.1", features = ["alloc"], default-features = false } + curve25519-dalek = "4.1.3" +-hex = { workspace = true } ++hex = "0.4.3" + hkdf = "0.12.4" + hpke-rs = "0.7.0" + hpke-rs-crypto = "0.7.0" + hpke-rs-rust-crypto = "0.7.0" +-p2panda-core = { workspace = true } ++p2panda-core = { git = "https://github.com/p2panda/p2panda", rev = "3e84cac48bba05c6857cce2ec433862b97f8d53c", default-features = false } + rand_chacha = { version = "0.9.0", features = ["os_rng"] } +-serde = { workspace = true, features = ["derive"] } +-serde_bytes = { workspace = true } ++serde = { version = "1.0.228", features = ["derive"] } ++serde_bytes = "0.11.19" + sha2 = "0.10.8" + subtle = "2.6.1" +-thiserror = { workspace = true } ++thiserror = "2.0.18" + x25519-dalek = { version = "2.0.1", features = ["static_secrets"] } + zeroize = { version = "1.8.1", features = ["derive"] } +diff -ruN /home/user/.cargo/git/checkouts/p2panda-de6556ee3f16c1a4/3e84cac/p2panda-encryption/src/data_scheme/dcgka.rs serde-bytes/p2panda-encryption/src/data_scheme/dcgka.rs +--- /home/user/.cargo/git/checkouts/p2panda-de6556ee3f16c1a4/3e84cac/p2panda-encryption/src/data_scheme/dcgka.rs 2026-10-11 02:34:03.748848656 -0500 ++++ serde-bytes/p2panda-encryption/src/data_scheme/dcgka.rs 2026-10-11 07:14:22.437078816 -0500 +@@ -286,7 +286,11 @@ + added: ID, + direct_message: Option>, + ) -> DcgkaProcessResult { +- y.dgm = DGM::add(y.dgm, sender, added, seq).map_err(|err| DcgkaError::DgmOperation(err))?; ++ // The joiner applies its own add in `process_welcome`, after the welcome's history. ++ if added != y.my_id { ++ y.dgm = ++ DGM::add(y.dgm, sender, added, seq).map_err(|err| DcgkaError::DgmOperation(err))?; ++ } + + if added == y.my_id { + let Some(DirectMessage { +@@ -312,7 +316,7 @@ + return Err(DcgkaError::NotOurDirectMessage(y.my_id, recipient)); + } + +- return Self::process_welcome(y, sender, ciphertext, history); ++ return Self::process_welcome(y, sender, seq, ciphertext, history); + } + + Ok((y, GroupSecretOutput::None)) +@@ -323,10 +327,14 @@ + fn process_welcome( + mut y: DcgkaState, + sender: ID, ++ seq: OP, + ciphertext: TwoPartyMessage, + history: DGM::State, + ) -> DcgkaProcessResult { + y.dgm = DGM::from_welcome(y.my_id, history).map_err(|err| DcgkaError::DgmOperation(err))?; ++ // The welcome's history predates this add, so the joiner applies the add itself. ++ y.dgm = ++ DGM::add(y.dgm, sender, y.my_id, seq).map_err(|err| DcgkaError::DgmOperation(err))?; + + let (y_i, bundle) = { + let (y_i, plaintext) = Self::decrypt_from(y, &sender, ciphertext)?; +diff -ruN /home/user/.cargo/git/checkouts/p2panda-de6556ee3f16c1a4/3e84cac/p2panda-encryption/src/data_scheme/group.rs serde-bytes/p2panda-encryption/src/data_scheme/group.rs +--- /home/user/.cargo/git/checkouts/p2panda-de6556ee3f16c1a4/3e84cac/p2panda-encryption/src/data_scheme/group.rs 2026-10-11 02:34:03.749007680 -0500 ++++ serde-bytes/p2panda-encryption/src/data_scheme/group.rs 2026-10-11 07:14:22.437112499 -0500 +@@ -130,6 +130,31 @@ + Self::process_local(y, pre, None) + } + ++ /// Adds new member to group, welcoming them with no earlier secrets. ++ /// ++ /// `add` mints no secret, and its welcome carries the adder's whole bundle. This welcome ++ /// carries an empty bundle, so the joiner learns no secret the group had before the add. The ++ /// caller must follow with `update` to rotate to a secret the joiner does learn. ++ pub fn add_from_join( ++ mut y: GroupState, ++ added: ID, ++ rng: &Rng, ++ ) -> GroupResult { ++ if !y.is_welcomed { ++ return Err(GroupError::GroupNotYetEstablished); ++ } ++ ++ if y.my_id == added { ++ return Err(GroupError::NotAddOurselves); ++ } ++ ++ // Pass an empty bundle, so the welcome carries no earlier secret. ++ let (y_dcgka_i, pre) = Dcgka::add(y.dcgka, added, &SecretBundle::init(), rng)?; ++ y.dcgka = y_dcgka_i; ++ ++ Self::process_local(y, pre, None) ++ } ++ + /// Removes member from group. It is possible to remove ourselves. + pub fn remove( + mut y: GroupState, +diff -ruN /home/user/.cargo/git/checkouts/p2panda-de6556ee3f16c1a4/3e84cac/p2panda-encryption/src/two_party/two_party.rs serde-bytes/p2panda-encryption/src/two_party/two_party.rs +--- /home/user/.cargo/git/checkouts/p2panda-de6556ee3f16c1a4/3e84cac/p2panda-encryption/src/two_party/two_party.rs 2026-10-11 02:34:03.753091242 -0500 ++++ serde-bytes/p2panda-encryption/src/two_party/two_party.rs 2026-10-11 07:14:26.718117371 -0500 +@@ -241,6 +241,7 @@ + #[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)] + pub struct TwoPartyPlaintext { + /// Secret message for the receiver. ++ #[serde(with = "serde_bytes")] + plaintext: Vec, + + /// Newly generated secret for the receiver, to be used in future 2SM rounds. +diff -ruN /home/user/.cargo/git/checkouts/p2panda-de6556ee3f16c1a4/3e84cac/p2panda-encryption/src/two_party/x3dh.rs serde-bytes/p2panda-encryption/src/two_party/x3dh.rs +--- /home/user/.cargo/git/checkouts/p2panda-de6556ee3f16c1a4/3e84cac/p2panda-encryption/src/two_party/x3dh.rs 2026-10-11 02:34:03.753191929 -0500 ++++ serde-bytes/p2panda-encryption/src/two_party/x3dh.rs 2026-10-11 07:14:27.153120068 -0500 +@@ -38,6 +38,7 @@ + pub prekey_id: PreKeyId, + + /// Encrypted payload for the receiver. ++ #[serde(with = "serde_bytes")] + pub ciphertext: Vec, + + /// Ephemeral public key used for this session. diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/Cargo.lock b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/Cargo.lock new file mode 100644 index 0000000000..ad0bb8b8ba --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/Cargo.lock @@ -0,0 +1,4016 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "aead" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0" +dependencies = [ + "crypto-common 0.1.7", + "generic-array", +] + +[[package]] +name = "aes" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" +dependencies = [ + "cfg-if", + "cipher", + "cpufeatures 0.2.17", +] + +[[package]] +name = "aes-gcm" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "831010a0f742e1209b3bcea8fab6a8e149051ba6099432c8cb2cc117dec3ead1" +dependencies = [ + "aead", + "aes", + "cipher", + "ctr", + "ghash", + "subtle", +] + +[[package]] +name = "aho-corasick" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba" +dependencies = [ + "memchr", +] + +[[package]] +name = "android_system_properties" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae221649c9976a6f6c56ae1facf410f3ddb33cc661c4b7b61020a912d4237fbc" +dependencies = [ + "libc", +] + +[[package]] +name = "anyhow" +version = "1.0.104" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470" + +[[package]] +name = "arc-swap" +version = "1.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c049c0be4daef0b145cb3555416b3b8ef5b7888a38aea1a3a155801fe7b0810b" +dependencies = [ + "rustversion", +] + +[[package]] +name = "arrayvec" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56" + +[[package]] +name = "async_io_stream" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6d7b9decdf35d8908a7e3ef02f64c5e9b1695e230154c0e8de3969142d9b94c" +dependencies = [ + "futures", + "pharos", + "rustc_version", +] + +[[package]] +name = "atomic-waker" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" + +[[package]] +name = "attohttpc" +version = "0.30.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16e2cdb6d5ed835199484bb92bb8b3edd526effe995c61732580439c1a67e2e9" +dependencies = [ + "base64 0.22.1", + "http", + "log", + "url", +] + +[[package]] +name = "autocfg" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" + +[[package]] +name = "backon" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cffb0e931875b666fc4fcb20fee52e9bbd1ef836fd9e9e04ec21555f9f85f7ef" +dependencies = [ + "fastrand", + "gloo-timers", + "tokio", +] + +[[package]] +name = "base16ct" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd307490d624467aa6f74b0eabb77633d1f758a7b25f12bceb0b22e08d9726f6" + +[[package]] +name = "base64" +version = "0.22.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" + +[[package]] +name = "base64" +version = "0.23.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac07cdecf99051d9a5238b80f35af32cdeba5b336e55d957b318b50137e18da5" + +[[package]] +name = "base64ct" +version = "1.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2af50177e190e07a26ab74f8b1efbfe2ef87da2116221318cb1c2e82baf7de06" + +[[package]] +name = "bitflags" +version = "2.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06" + +[[package]] +name = "blake3" +version = "1.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d9e454fc11f76977dc803893aff6304ed33d6a26efae8696573bea74baa27ae" +dependencies = [ + "arrayvec", + "cc", + "cfg-if", + "constant_time_eq", + "cpufeatures 0.3.1", +] + +[[package]] +name = "block-buffer" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" +dependencies = [ + "generic-array", +] + +[[package]] +name = "block-buffer" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2f6c7dbe95a6ed67ad9f18e57daf93a2f034c524b99fd2b76d18fdfeb6660aa" +dependencies = [ + "hybrid-array", +] + +[[package]] +name = "block2" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdeb9d870516001442e364c5220d3574d2da8dc765554b4a617230d33fa58ef5" +dependencies = [ + "objc2", +] + +[[package]] +name = "bumpalo" +version = "3.20.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649" + +[[package]] +name = "bytes" +version = "1.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04" + +[[package]] +name = "cbor-core" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9f70473b5194d5f6e3c271dc6d0f63f6b17cc5d004af959e9ed0be8c1dadcdb" +dependencies = [ + "serde", +] + +[[package]] +name = "cc" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50a649af8a827553c29fb0cb4bd4a6f1a0dd695bd3232b9bc98bd9c8a3ffbb8b" +dependencies = [ + "find-msvc-tools", + "shlex", +] + +[[package]] +name = "cesu8" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c" + +[[package]] +name = "cfg-if" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600" + +[[package]] +name = "cfg_aliases" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527" + +[[package]] +name = "chacha20" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65c35e4b699c7e15ccbe7ee35c005e4fc0a278d22238a2857e6ce2dadeda1b06" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "rand_core 0.10.1", +] + +[[package]] +name = "chrono" +version = "0.4.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1aa79e62e7697b8e29b513a68abacf485adcd1fe8284a4316c5ae868e6633327" +dependencies = [ + "iana-time-zone", + "num-traits", + "serde", + "windows-link", +] + +[[package]] +name = "cipher" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" +dependencies = [ + "crypto-common 0.1.7", + "inout", +] + +[[package]] +name = "cmov" +version = "0.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c9ea0ac24bc397ab3c98583a3c9ba74fa56b09a4449bbe172b9b1ddb016027a" + +[[package]] +name = "cobs" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fa961b519f0b462e3a3b4a34b64d119eeaca1d59af726fe450bbba07a9fc0a1" +dependencies = [ + "thiserror 2.0.21", +] + +[[package]] +name = "combine" +version = "4.6.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfc320937d09e6de266b31b9afb480f197d7a861be86be7cb2ea7e5d1bfffc5e" +dependencies = [ + "bytes", + "memchr", +] + +[[package]] +name = "const-oid" +version = "0.9.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" + +[[package]] +name = "const-oid" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6ef517f0926dd24a1582492c791b6a4818a4d94e789a334894aa15b0d12f55c" + +[[package]] +name = "constant_time_eq" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d52eff69cd5e647efe296129160853a42795992097e8af39800e1060caeea9b" + +[[package]] +name = "convert_case" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "633458d4ef8c78b72454de2d54fd6ab2e60f9e02be22f3c6104cdc8a4e0fceb9" +dependencies = [ + "unicode-segmentation", +] + +[[package]] +name = "cordyceps" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b9ab7e0ca1d179628fa0172b2b97203c7fa0cd81be2448bd446fb9559ca9261" +dependencies = [ + "loom", + "tracing", +] + +[[package]] +name = "core-foundation" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "core-foundation-sys" +version = "0.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" + +[[package]] +name = "cpufeatures" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" +dependencies = [ + "libc", +] + +[[package]] +name = "cpufeatures" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ca28b0ae3115b884660db4118d803791fd6756b6e88f39c0f3f7859060d7566" +dependencies = [ + "libc", +] + +[[package]] +name = "crypto-common" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" +dependencies = [ + "generic-array", + "typenum", +] + +[[package]] +name = "crypto-common" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453" +dependencies = [ + "hybrid-array", + "rand_core 0.10.1", +] + +[[package]] +name = "ctr" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835" +dependencies = [ + "cipher", +] + +[[package]] +name = "ctutils" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03bb0e1cc970d482d121d9a1744999169b69a07470b3d644a7894e53fcaf4574" +dependencies = [ + "cmov", +] + +[[package]] +name = "curve25519-dalek" +version = "4.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "curve25519-dalek-derive", + "digest 0.10.7", + "fiat-crypto 0.2.9", + "rustc_version", + "subtle", + "zeroize", +] + +[[package]] +name = "curve25519-dalek" +version = "5.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5eed333089e2e1c1ac8c6c0398e5e2497b4c9926ca6d0365ed1e099afa5bc23" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "curve25519-dalek-derive", + "digest 0.11.3", + "fiat-crypto 0.3.0", + "rand_core 0.10.1", + "rustc_version", + "serde", + "subtle", + "zeroize", +] + +[[package]] +name = "curve25519-dalek-derive" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "data-encoding" +version = "2.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4583a4551df46e2792f82ceeac45e850d2e2d5debba0b91f102385cda5b11f06" + +[[package]] +name = "data-encoding-macro" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6a127ecbb3c4632e1525380e04c0c3fcf8dcb44d32a79ea290d8a36906edcd8" +dependencies = [ + "data-encoding", + "data-encoding-macro-internal", +] + +[[package]] +name = "data-encoding-macro-internal" +version = "0.1.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c54e03a951783e8b327515db3f2a2fd0e3bed362a96b066f341ce66ed49b4ead" +dependencies = [ + "data-encoding", + "syn 3.0.7", +] + +[[package]] +name = "der" +version = "0.7.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb" +dependencies = [ + "const-oid 0.9.6", + "zeroize", +] + +[[package]] +name = "der" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a878c850e9e421b20262e9b41f9c860e4785fa07541c266b62ff9d1ef998a80a" +dependencies = [ + "const-oid 0.10.2", + "pem-rfc7468", + "zeroize", +] + +[[package]] +name = "deranged" +version = "0.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c" + +[[package]] +name = "derive_more" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d751e9e49156b02b44f9c1815bcb94b984cdcc4396ecc32521c739452808b134" +dependencies = [ + "derive_more-impl", +] + +[[package]] +name = "derive_more-impl" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "799a97264921d8623a957f6c3b9011f3b5492f557bbb7a5a19b7fa6d06ba8dcb" +dependencies = [ + "convert_case", + "proc-macro2", + "quote", + "rustc_version", + "syn 2.0.119", + "unicode-xid", +] + +[[package]] +name = "diatomic-waker" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab03c107fafeb3ee9f5925686dbb7a73bc76e3932abb0d2b365cb64b169cf04c" + +[[package]] +name = "digest" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" +dependencies = [ + "block-buffer 0.10.4", + "crypto-common 0.1.7", +] + +[[package]] +name = "digest" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2" +dependencies = [ + "block-buffer 0.12.1", + "crypto-common 0.2.2", +] + +[[package]] +name = "dispatch2" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e0e367e4e7da84520dedcac1901e4da967309406d1e51017ae1abfb97adbd38" +dependencies = [ + "bitflags", + "block2", + "libc", + "objc2", +] + +[[package]] +name = "displaydoc" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "dlopen2" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e2c5bd4158e66d1e215c49b837e11d62f3267b30c92f1d171c4d3105e3dc4d4" +dependencies = [ + "libc", + "once_cell", + "winapi", +] + +[[package]] +name = "ed25519" +version = "2.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" +dependencies = [ + "pkcs8 0.10.2", + "signature 2.2.0", +] + +[[package]] +name = "ed25519" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29fcf32e6c73d1079f83ab4d782de2d81620346a5f38c6237a86a22f8368980a" +dependencies = [ + "pkcs8 0.11.0", + "serdect", + "signature 3.0.0", +] + +[[package]] +name = "ed25519-dalek" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70e796c081cee67dc755e1a36a0a172b897fab85fc3f6bc48307991f64e4eca9" +dependencies = [ + "curve25519-dalek 4.1.3", + "ed25519 2.2.3", + "rand_core 0.6.4", + "serde", + "sha2 0.10.9", + "subtle", + "zeroize", +] + +[[package]] +name = "ed25519-dalek" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ebaa1a2bf1290ab3bfe5a7b771d050ebffab2711c19a81691c683a5144a25de" +dependencies = [ + "curve25519-dalek 5.0.0", + "ed25519 3.0.0", + "rand_core 0.10.1", + "serde", + "sha2 0.11.0", + "signature 3.0.0", + "subtle", + "zeroize", +] + +[[package]] +name = "embedded-io" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef1a6892d9eef45c8fa6b9e0086428a2cca8491aca8f787c534a3d6d0bcb3ced" + +[[package]] +name = "embedded-io" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "edd0f118536f44f5ccd48bcb8b111bdc3de888b58c74639dfb034a357d0f206d" + +[[package]] +name = "enum-assoc" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0590c4a94da3372e83493b956755a6e2266830b6e4e3b101afe66e3f39477b91" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "equivalent" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" + +[[package]] +name = "errno" +version = "0.3.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" +dependencies = [ + "libc", + "windows-sys 0.61.2", +] + +[[package]] +name = "fastrand" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223" + +[[package]] +name = "fiat-crypto" +version = "0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d" + +[[package]] +name = "fiat-crypto" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64cd1e32ddd350061ae6edb1b082d7c54915b5c672c389143b9a63403a109f24" + +[[package]] +name = "find-msvc-tools" +version = "0.1.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aedcfb3409746eddb02b9e19ebda1c3394f759a152e48ee875a0844d1b955484" + +[[package]] +name = "fnv" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" + +[[package]] +name = "foldhash" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" + +[[package]] +name = "form_urlencoded" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" +dependencies = [ + "percent-encoding", +] + +[[package]] +name = "futures" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a31d2a3fbaaeb2af2368bbdd904aa8e812d3c04a1ee10d3171f52d556e5d0a3" +dependencies = [ + "futures-channel", + "futures-core", + "futures-executor", + "futures-io", + "futures-sink", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-buffered" +version = "0.2.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4421cb78ee172b6b06080093479d3c50f058e7c81b7d577bbb8d118d551d4cd5" +dependencies = [ + "cordyceps", + "diatomic-waker", + "futures-core", + "pin-project-lite", + "spin", +] + +[[package]] +name = "futures-channel" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1f9e3d69d39e4862ffed03ed071a76f9a13ba1d9109d355b0f0aa6b15e393c4" +dependencies = [ + "futures-core", + "futures-sink", +] + +[[package]] +name = "futures-core" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e" + +[[package]] +name = "futures-executor" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "031b47cf1a3c6cc8bc2fc76cd437f521619387907d469316e7c0bc278f1f5432" +dependencies = [ + "futures-core", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-io" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53c0fa8157de1303bfffdaa1cc2a673bfffb60102f76b0ef4441659124373fed" + +[[package]] +name = "futures-lite" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f78e10609fe0e0b3f4157ffab1876319b5b0db102a2c60dc4626306dc46b44ad" +dependencies = [ + "fastrand", + "futures-core", + "futures-io", + "parking", + "pin-project-lite", +] + +[[package]] +name = "futures-macro" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fb9654ba8355388abeb8dcb4fc62f511300867002afc858860463bdd9fe0c44" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "futures-sink" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1944426bf7d03f1d14f708785e4b33efd750b36d48a157b836b3efc15ede8e1d" + +[[package]] +name = "futures-task" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd" + +[[package]] +name = "futures-util" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc" +dependencies = [ + "futures-channel", + "futures-core", + "futures-io", + "futures-macro", + "futures-sink", + "futures-task", + "memchr", + "pin-project-lite", + "slab", +] + +[[package]] +name = "generator" +version = "0.8.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "54ade96dc9003043bce7c035c85a9df5a858bfb2039c5a2e6fdf00f324f6c551" +dependencies = [ + "cc", + "cfg-if", + "libc", + "log", + "rustversion", + "windows-link", + "windows-result", +] + +[[package]] +name = "generic-array" +version = "0.14.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +dependencies = [ + "typenum", + "version_check", +] + +[[package]] +name = "getrandom" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0" +dependencies = [ + "cfg-if", + "js-sys", + "libc", + "wasi", + "wasm-bindgen", +] + +[[package]] +name = "getrandom" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" +dependencies = [ + "cfg-if", + "js-sys", + "libc", + "r-efi", + "rand_core 0.10.1", + "wasm-bindgen", +] + +[[package]] +name = "ghash" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0d8a4362ccb29cb0b265253fb0a2728f592895ee6854fd9bc13f2ffda266ff1" +dependencies = [ + "opaque-debug", + "polyval", +] + +[[package]] +name = "gloo-timers" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbb143cf96099802033e0d4f4963b19fd2e0b728bcf076cd9cf7f6634f092994" +dependencies = [ + "futures-channel", + "futures-core", + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "h2" +version = "0.4.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d29020232d6aa3fb1daca64c1127cf662cf97f254ae16c18c05b8ab635fc118" +dependencies = [ + "atomic-waker", + "bytes", + "fnv", + "futures-core", + "futures-sink", + "http", + "indexmap", + "slab", + "tokio", + "tokio-util", + "tracing", +] + +[[package]] +name = "hashbrown" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" +dependencies = [ + "foldhash", +] + +[[package]] +name = "heck" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" + +[[package]] +name = "hex" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" +dependencies = [ + "serde", +] + +[[package]] +name = "http" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "918d3568bebf352712bc2ef3d46a8bcf1a75b373be6539de198e9105cbbf9ce0" +dependencies = [ + "bytes", + "itoa", +] + +[[package]] +name = "http-body" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca2a8f2913ee65f60facd6a5905613afaa448497a0230cc41ce022d93290bc2c" +dependencies = [ + "bytes", + "http", +] + +[[package]] +name = "http-body-util" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23169fe34a5fbcdd3f3862e78fb9b6fccd5f02a6dc6f732547005d45631ce71c" +dependencies = [ + "bytes", + "futures-core", + "http", + "http-body", + "pin-project-lite", +] + +[[package]] +name = "httparse" +version = "1.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" + +[[package]] +name = "httpdate" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" + +[[package]] +name = "hybrid-array" +version = "0.4.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27f864f10dfb56725ce5ce5472bc52252c8f93a4ab86327122cebf62c5f59a17" +dependencies = [ + "typenum", +] + +[[package]] +name = "hyper" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c3e324da4c95177d6291d4c8730197c0d1822f8a9766814a4a44fa5ab797c9c" +dependencies = [ + "atomic-waker", + "bytes", + "futures-channel", + "futures-core", + "h2", + "http", + "http-body", + "httparse", + "httpdate", + "itoa", + "pin-project-lite", + "smallvec", + "tokio", + "want", +] + +[[package]] +name = "hyper-rustls" +version = "0.27.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfa8e654703247911e29c23fbeaa261834bd9bb74efba2f9acddc37bfb127f53" +dependencies = [ + "http", + "hyper", + "hyper-util", + "rustls", + "tokio", + "tokio-rustls", + "tower-service", +] + +[[package]] +name = "hyper-util" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddc03d96684f9226b8a787cdb71488417b53ab5ea8fdb1dac946cb9431cc8bff" +dependencies = [ + "base64 0.23.1", + "bytes", + "futures-channel", + "futures-util", + "http", + "http-body", + "httparse", + "hyper", + "ipnet", + "libc", + "percent-encoding", + "pin-project-lite", + "socket2", + "tokio", + "tower-service", + "tracing", +] + +[[package]] +name = "iana-time-zone" +version = "0.1.65" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e31bc9ad994ba00e440a8aa5c9ef0ec67d5cb5e5cb0cc7f8b744a35b389cc470" +dependencies = [ + "android_system_properties", + "core-foundation-sys", + "iana-time-zone-haiku", + "js-sys", + "log", + "wasm-bindgen", + "windows-core", +] + +[[package]] +name = "iana-time-zone-haiku" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" +dependencies = [ + "cc", +] + +[[package]] +name = "icu_collections" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa68d21081c4a05d5a901a1c62add574c77048b6a1c67be3b50ce0b60d4ca513" +dependencies = [ + "displaydoc", + "potential_utf", + "utf8_iter", + "yoke", + "zerofrom", + "zerovec", +] + +[[package]] +name = "icu_locale_core" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d56e28588da92eee5c3201a6eff33fabdd49b62269c8938d4ff050ce4d900deb" +dependencies = [ + "displaydoc", + "litemap", + "tinystr", + "writeable", + "zerovec", +] + +[[package]] +name = "icu_normalizer" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12f9cf5f235641ed274641dd81c3f28d870e276763d0797aeeab72317b1c646f" +dependencies = [ + "icu_collections", + "icu_normalizer_data", + "icu_properties", + "icu_provider", + "smallvec", + "zerovec", +] + +[[package]] +name = "icu_normalizer_data" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1563da1ed3e0b3bf3d74c9b85917ac9c56464d2f57242270c09c9e752f8021a0" + +[[package]] +name = "icu_properties" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e7ca276ad3145661a65914e6daf131ca5120cd3dcee8f8f3214b8875184a148" +dependencies = [ + "displaydoc", + "icu_collections", + "icu_locale_core", + "icu_properties_data", + "icu_provider", + "zerotrie", + "zerovec", +] + +[[package]] +name = "icu_properties_data" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e590f038c1464a96894fd6d10127e90a8be4509f56ff7ecef851b15cee0b7caa" + +[[package]] +name = "icu_provider" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d27bbb9d3abbefac45d55f647c9de1d44aafcd1186eb91879afef17c396c3e73" +dependencies = [ + "displaydoc", + "icu_locale_core", + "writeable", + "yoke", + "zerofrom", + "zerotrie", + "zerovec", +] + +[[package]] +name = "identity-hash" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfdd7caa900436d8f13b2346fe10257e0c05c1f1f9e351f4f5d57c03bd5f45da" + +[[package]] +name = "idna" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" +dependencies = [ + "idna_adapter", + "smallvec", + "utf8_iter", +] + +[[package]] +name = "idna_adapter" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714" +dependencies = [ + "icu_normalizer", + "icu_properties", +] + +[[package]] +name = "igd-next" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de7238d487a9aff61f81b5ab41c0a841532a115a398b5fa92a2fadd0885e2581" +dependencies = [ + "attohttpc", + "bytes", + "futures", + "http", + "http-body-util", + "hyper", + "hyper-util", + "log", + "rand 0.10.3", + "tokio", + "url", + "xmltree", +] + +[[package]] +name = "indexmap" +version = "2.14.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855" +dependencies = [ + "equivalent", + "hashbrown", +] + +[[package]] +name = "inout" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01" +dependencies = [ + "generic-array", +] + +[[package]] +name = "ipconfig" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4d40460c0ce33d6ce4b0630ad68ff63d6661961c48b6dba35e5a4d81cfb48222" +dependencies = [ + "socket2", + "widestring", + "windows-registry", + "windows-result", + "windows-sys 0.61.2", +] + +[[package]] +name = "ipnet" +version = "2.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "791930b43c0d5973160d90a8f3894509f2b273430f5c5c73b668636d0287c5c0" + +[[package]] +name = "iroh" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "885787b892b5e2507c701f132ecbd45d2bad4bbb75157a19427087c16dadb833" +dependencies = [ + "backon", + "blake3", + "bytes", + "cfg_aliases", + "ctutils", + "data-encoding", + "derive_more", + "ed25519-dalek 3.0.0", + "futures-util", + "getrandom 0.4.3", + "http", + "ipnet", + "iroh-base", + "iroh-dns", + "iroh-metrics", + "iroh-relay", + "n0-error", + "n0-future", + "n0-watcher", + "netwatch", + "noq", + "noq-proto", + "noq-udp", + "papaya", + "pin-project", + "portable-atomic", + "portmapper", + "rand 0.10.3", + "reqwest", + "rustc-hash", + "rustls", + "rustls-pki-types", + "serde", + "smallvec", + "strum", + "time", + "tokio", + "tokio-stream", + "tokio-util", + "tracing", + "url", + "wasm-bindgen-futures", +] + +[[package]] +name = "iroh-base" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ae9092be76c9f5429776ab3394f5a5a78dc19dc2524267e884a5b9781546c3f" +dependencies = [ + "curve25519-dalek 5.0.0", + "data-encoding", + "data-encoding-macro", + "derive_more", + "ed25519-dalek 3.0.0", + "getrandom 0.4.3", + "n0-error", + "rand 0.10.3", + "serde", + "url", + "zeroize", +] + +[[package]] +name = "iroh-dns" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80276761b56e904e26ea71d0863beef0bb8d5ab6b639cbd1338e4b615209e3a1" +dependencies = [ + "arc-swap", + "cfg_aliases", + "derive_more", + "iroh-base", + "n0-dns-resolver", + "n0-error", + "n0-future", + "portable-atomic", + "rand 0.10.3", + "rustls", + "simple-dns", + "strum", + "tokio", + "tracing", + "url", +] + +[[package]] +name = "iroh-metrics" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ede55536349842337f7cdc63012ec33dc637945f3259c98a0763aac364cdf09" +dependencies = [ + "iroh-metrics-derive", + "itoa", + "n0-error", + "portable-atomic", + "ryu", + "serde", + "tracing", +] + +[[package]] +name = "iroh-metrics-derive" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ae5f0c4405d1fbc9fb16ff422ca40620e93dc36c30ecaba0c2aee3992b7bd48" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "iroh-relay" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee116a8233f84980574bb8d11e4517503080cd2c3605bafca04ee9c35d708bd9" +dependencies = [ + "blake3", + "bytes", + "cfg_aliases", + "data-encoding", + "derive_more", + "getrandom 0.4.3", + "http", + "http-body-util", + "hyper", + "hyper-util", + "iroh-base", + "iroh-dns", + "iroh-metrics", + "lru", + "n0-error", + "n0-future", + "noq", + "noq-proto", + "num_enum", + "pin-project", + "postcard", + "rand 0.10.3", + "reqwest", + "rustls", + "rustls-pki-types", + "serde", + "serde_bytes", + "strum", + "tokio", + "tokio-rustls", + "tokio-util", + "tokio-websockets", + "tracing", + "url", + "webpki-roots", + "ws_stream_wasm", +] + +[[package]] +name = "itoa" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" + +[[package]] +name = "jni" +version = "0.21.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97" +dependencies = [ + "cesu8", + "cfg-if", + "combine", + "jni-sys 0.3.1", + "log", + "thiserror 1.0.69", + "walkdir", + "windows-sys 0.45.0", +] + +[[package]] +name = "jni" +version = "0.22.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5efd9a482cf3a427f00d6b35f14332adc7902ce91efb778580e180ff90fa3498" +dependencies = [ + "cfg-if", + "combine", + "jni-macros", + "jni-sys 0.4.1", + "log", + "simd_cesu8", + "thiserror 2.0.21", + "walkdir", + "windows-link", +] + +[[package]] +name = "jni-macros" +version = "0.22.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a00109accc170f0bdb141fed3e393c565b6f5e072365c3bd58f5b062591560a3" +dependencies = [ + "proc-macro2", + "quote", + "rustc_version", + "simd_cesu8", + "syn 2.0.119", +] + +[[package]] +name = "jni-sys" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41a652e1f9b6e0275df1f15b32661cf0d4b78d4d87ddec5e0c3c20f097433258" +dependencies = [ + "jni-sys 0.4.1", +] + +[[package]] +name = "jni-sys" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6377a88cb3910bee9b0fa88d4f42e1d2da8e79915598f65fb0c7ee14c878af2" +dependencies = [ + "jni-sys-macros", +] + +[[package]] +name = "jni-sys-macros" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38c0b942f458fe50cdac086d2f946512305e5631e720728f2a61aabcd47a6264" +dependencies = [ + "quote", + "syn 2.0.119", +] + +[[package]] +name = "js-sys" +version = "0.3.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7883d941dae510fb2d978fc3fe018c71c9e2892fd38854de3e8b92c2e5ad9cc5" +dependencies = [ + "cfg-if", + "futures-util", + "wasm-bindgen", +] + +[[package]] +name = "lazy_static" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20870f649af7073d53e38067b2a84312175d56ea15217e1b15bc83506ec50afb" + +[[package]] +name = "libc" +version = "0.2.190" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78" + +[[package]] +name = "litemap" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47d9d19d1d6efa0109d2f65ff4c85cddd50bd572e5a00127ab10987290bcefae" + +[[package]] +name = "lock_api" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" +dependencies = [ + "scopeguard", +] + +[[package]] +name = "log" +version = "0.4.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6" + +[[package]] +name = "loom" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "419e0dc8046cb947daa77eb95ae174acfbddb7673b4151f56d1eed8e93fbfaca" +dependencies = [ + "cfg-if", + "generator", + "scoped-tls", + "tracing", + "tracing-subscriber", +] + +[[package]] +name = "lru" +version = "0.18.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef9ac18847474e638e3702b76c65d4eb93428471a74778ef0f1be711717f89b5" +dependencies = [ + "hashbrown", +] + +[[package]] +name = "lru-slab" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4050469837a6ff301cd14c1f8f24f88549e6d548f24f64e2148eb0f72cebc51f" + +[[package]] +name = "mac-addr" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3d25b0e0b648a86960ac23b7ad4abb9717601dec6f66c165f5b037f3f03065f" + +[[package]] +name = "matchers" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1525a2a28c7f4fa0fc98bb91ae755d1e2d1505079e05539e35bc876b5d65ae9" +dependencies = [ + "regex-automata", +] + +[[package]] +name = "memchr" +version = "2.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" + +[[package]] +name = "mio" +version = "1.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1788edb87fdc09c7e26304471e2f5be8cdefb1b6930d6e3985fc02ff53bf86ee" +dependencies = [ + "libc", + "wasi", + "windows-sys 0.61.2", +] + +[[package]] +name = "n0-dns-resolver" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "535c99c9a786bee714155d2ee4fc2477405c2c43536e1bc6a51de09a0d1448f7" +dependencies = [ + "derive_more", + "ipconfig", + "jni 0.22.4", + "lru", + "n0-error", + "n0-future", + "ndk-context", + "rand 0.10.3", + "reqwest", + "rustc-hash", + "rustls", + "simple-dns", + "system-configuration", + "tokio", + "tokio-rustls", + "tracing", + "webpki-roots", +] + +[[package]] +name = "n0-error" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26c59ea174675ce6bc196878851e5049e11b8b1f9af3ba87e4d6df8d828bb001" +dependencies = [ + "n0-error-macros", + "spez", +] + +[[package]] +name = "n0-error-macros" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4412346410d6616f3668c40e53c298e5320c7b856f7a960e5914e442601be79f" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "n0-future" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2ab99dfb861450e68853d34ae665243a88b8c493d01ba957321a1e9b2312bbe" +dependencies = [ + "cfg_aliases", + "derive_more", + "futures-buffered", + "futures-lite", + "futures-util", + "js-sys", + "pin-project", + "send_wrapper", + "tokio", + "tokio-util", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-time", +] + +[[package]] +name = "n0-watcher" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbc618745ad0b7414b149d0517ad8b5573b2fb4d4e2717add3d2446ce1fdd826" +dependencies = [ + "derive_more", + "n0-error", + "n0-future", +] + +[[package]] +name = "ndk-context" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27b02d87554356db9e9a873add8782d4ea6e3e58ea071a9adb9a2e8ddb884a8b" + +[[package]] +name = "netdev" +version = "0.45.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "096c44b66a9b09b99b4dd36b1c295ff3a492039ccecaf55466bd6ddcdba59968" +dependencies = [ + "block2", + "dispatch2", + "dlopen2", + "ipnet", + "jni 0.21.1", + "libc", + "mac-addr", + "ndk-context", + "netlink-packet-core 0.8.2", + "netlink-packet-route 0.31.0", + "netlink-sys 0.8.8", + "objc2", + "objc2-core-foundation", + "objc2-core-wlan", + "objc2-foundation", + "objc2-system-configuration", + "once_cell", + "plist", + "windows-sys 0.61.2", +] + +[[package]] +name = "netdev" +version = "0.46.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3c52c2584961c68f5a6e3356797344061f818c93b8acc9cd6d7e284795e563e" +dependencies = [ + "block2", + "dispatch2", + "dlopen2", + "ipnet", + "jni 0.21.1", + "libc", + "mac-addr", + "ndk-context", + "netlink-packet-core 0.9.0", + "netlink-packet-route 0.33.0", + "netlink-sys 0.9.0", + "objc2-core-foundation", + "objc2-system-configuration", + "once_cell", + "plist", + "windows-sys 0.61.2", +] + +[[package]] +name = "netlink-packet-core" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b897d7bd4f0af82e68d40d0344cf37e97f9c97ddf74a098de3e4da05e96ca395" +dependencies = [ + "paste", +] + +[[package]] +name = "netlink-packet-core" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d6e2daf9a8c2e21302714706860a0e6be02e03d17294ecc66b354ea7d4059dd" + +[[package]] +name = "netlink-packet-route" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2288fcb784eb3defd5fb16f4c4160d5f477de192eac730f43e1d11c24d9a007" +dependencies = [ + "bitflags", + "libc", + "log", + "netlink-packet-core 0.8.2", +] + +[[package]] +name = "netlink-packet-route" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59d48ffc8b73a506e1ff0878528c72668f2bfbc3d875b6be890a96be5d0d5576" +dependencies = [ + "bitflags", + "libc", + "log", + "netlink-packet-core 0.9.0", + "zerocopy", +] + +[[package]] +name = "netlink-proto" +version = "0.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93af8261786086024cd5e96e0a991dd65ced07bbf7c233a487bbc96b971d5539" +dependencies = [ + "bytes", + "futures-channel", + "futures-util", + "log", + "netlink-packet-core 0.8.2", + "netlink-sys 0.8.8", + "thiserror 2.0.21", +] + +[[package]] +name = "netlink-sys" +version = "0.8.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd6c30ed10fa69cc491d491b85cc971f6bdeb8e7367b7cde2ee6cc878d583fae" +dependencies = [ + "bytes", + "futures-util", + "libc", + "log", + "tokio", +] + +[[package]] +name = "netlink-sys" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c99d38e00b420df49e940fe0826e667c3dad82ac68eb4c2bbf754c1c14a83a10" +dependencies = [ + "bytes", + "libc", + "log", +] + +[[package]] +name = "netwatch" +version = "0.19.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39da9cad5f23aa43401f09497d3b280e51b5feba115d9ffbf38ca35d6ff95e96" +dependencies = [ + "atomic-waker", + "bytes", + "cfg_aliases", + "derive_more", + "ipnet", + "js-sys", + "libc", + "n0-error", + "n0-future", + "n0-watcher", + "netdev 0.45.1", + "netdev 0.46.3", + "netlink-packet-core 0.8.2", + "netlink-packet-route 0.31.0", + "netlink-proto", + "netlink-sys 0.8.8", + "noq-udp", + "objc2-core-foundation", + "objc2-system-configuration", + "pin-project-lite", + "serde", + "socket2", + "time", + "tokio", + "tokio-util", + "tracing", + "web-sys", + "windows", + "windows-result", + "wmi", +] + +[[package]] +name = "noq" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b78be567e796cfa74bb9bdc4117790af2d505eb887019cf8803244353eb09d89" +dependencies = [ + "bytes", + "cfg_aliases", + "derive_more", + "noq-proto", + "noq-udp", + "pin-project-lite", + "rustc-hash", + "rustls", + "socket2", + "thiserror 2.0.21", + "tokio", + "tokio-stream", + "tracing", + "web-time", +] + +[[package]] +name = "noq-proto" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c1e5b6fe668491eca022f745a0a9402585626c73a7b839b3424ace15d6a9c8f" +dependencies = [ + "aes-gcm", + "bytes", + "derive_more", + "enum-assoc", + "getrandom 0.4.3", + "identity-hash", + "lru-slab", + "rand 0.10.3", + "rand_pcg", + "ring", + "rustc-hash", + "rustls", + "rustls-pki-types", + "slab", + "sorted-index-buffer", + "thiserror 2.0.21", + "tinyvec", + "tracing", + "web-time", +] + +[[package]] +name = "noq-udp" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4dc50afea61aff926e150a36c31f06094608848e114a3fe667d76ec233163b1c" +dependencies = [ + "cfg_aliases", + "libc", + "socket2", + "tracing", + "windows-sys 0.61.2", +] + +[[package]] +name = "nu-ansi-term" +version = "0.50.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "num-conv" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "521739c6d2bac4aa25192232afe6841231376b2b26d4d9fae5ecf8ca5772e441" + +[[package]] +name = "num-traits" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +dependencies = [ + "autocfg", +] + +[[package]] +name = "num_enum" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d0bca838442ec211fa11de3a8b0e0e8f3a4522575b5c4c06ed722e005036f26" +dependencies = [ + "num_enum_derive", + "rustversion", +] + +[[package]] +name = "num_enum_derive" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "680998035259dcfcafe653688bf2aa6d3e2dc05e98be6ab46afb089dc84f1df8" +dependencies = [ + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "objc2" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08849bbd4767dfae9457696856ae1c84fe4e0281bbe4a7abff2d0e06fb7981f8" +dependencies = [ + "objc2-encode", +] + +[[package]] +name = "objc2-core-foundation" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a180dd8642fa45cdb7dd721cd4c11b1cadd4929ce112ebd8b9f5803cc79d536" +dependencies = [ + "bitflags", + "block2", + "dispatch2", + "libc", + "objc2", +] + +[[package]] +name = "objc2-core-wlan" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c71e34919aba0d701380d911702455038a8a3587467fe0141d6a71501e7ffe48" +dependencies = [ + "bitflags", + "objc2", + "objc2-core-foundation", + "objc2-foundation", + "objc2-security", + "objc2-security-foundation", +] + +[[package]] +name = "objc2-encode" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef25abbcd74fb2609453eb695bd2f860d389e457f67dc17cafc8b8cbc89d0c33" + +[[package]] +name = "objc2-foundation" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3e0adef53c21f888deb4fa59fc59f7eb17404926ee8a6f59f5df0fd7f9f3272" +dependencies = [ + "bitflags", + "block2", + "libc", + "objc2", + "objc2-core-foundation", +] + +[[package]] +name = "objc2-security" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "709fe137109bd1e8b5a99390f77a7d8b2961dafc1a1c5db8f2e60329ad6d895a" +dependencies = [ + "bitflags", + "objc2", + "objc2-core-foundation", +] + +[[package]] +name = "objc2-security-foundation" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef76382e9cedd18123099f17638715cc3d81dba3637d4c0d39ab69df2ef345a5" +dependencies = [ + "objc2", + "objc2-foundation", +] + +[[package]] +name = "objc2-system-configuration" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7216bd11cbda54ccabcab84d523dc93b858ec75ecfb3a7d89513fa22464da396" +dependencies = [ + "bitflags", + "dispatch2", + "libc", + "objc2", + "objc2-core-foundation", + "objc2-security", +] + +[[package]] +name = "once_cell" +version = "1.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" + +[[package]] +name = "opaque-debug" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" + +[[package]] +name = "openssl-probe" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c87def4c32ab89d880effc9e097653c8da5d6ef28e6b539d313baaacfbafcbe" + +[[package]] +name = "p2panda-core" +version = "0.7.1" +source = "git+https://github.com/p2panda/p2panda?rev=3e84cac48bba05c6857cce2ec433862b97f8d53c#3e84cac48bba05c6857cce2ec433862b97f8d53c" +dependencies = [ + "blake3", + "cbor-core", + "ed25519-dalek 2.2.0", + "hex", + "rand 0.8.8", + "serde", + "serde_bytes", + "thiserror 2.0.21", +] + +[[package]] +name = "papaya" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da2442474a9404698c42509b8967f437249dbc7b50493e83020333d3943ec0ae" +dependencies = [ + "equivalent", + "seize", +] + +[[package]] +name = "parking" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba" + +[[package]] +name = "parking_lot" +version = "0.12.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" +dependencies = [ + "lock_api", + "parking_lot_core", +] + +[[package]] +name = "parking_lot_core" +version = "0.9.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" +dependencies = [ + "cfg-if", + "libc", + "redox_syscall", + "smallvec", + "windows-link", +] + +[[package]] +name = "paste" +version = "1.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" + +[[package]] +name = "pem-rfc7468" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6305423e0e7738146434843d1694d621cce767262b2a86910beab705e4493d9" +dependencies = [ + "base64ct", +] + +[[package]] +name = "percent-encoding" +version = "2.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" + +[[package]] +name = "pharos" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9567389417feee6ce15dd6527a8a1ecac205ef62c2932bcf3d9f6fc5b78b414" +dependencies = [ + "futures", + "rustc_version", +] + +[[package]] +name = "pin-project" +version = "1.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2466b2336ed02bcdca6b294417127b90ec92038d1d5c4fbeac971a922e0e0924" +dependencies = [ + "pin-project-internal", +] + +[[package]] +name = "pin-project-internal" +version = "1.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c96395f0a926bc13b1c17622aaddda1ecb55d49c8f1bf9777e4d877800a43f8b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "pin-project-lite" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" + +[[package]] +name = "pkcs8" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" +dependencies = [ + "der 0.7.10", + "spki 0.7.3", +] + +[[package]] +name = "pkcs8" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "451913da69c775a56034ea8d9003d27ee8948e12443eae7c038ba100a4f21cb7" +dependencies = [ + "der 0.8.2", + "spki 0.8.1", +] + +[[package]] +name = "plist" +version = "1.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2896bade328c13f7042a297ea5ac5b0951f6cf989dea5f32c2fd98da398195cb" +dependencies = [ + "base64 0.23.1", + "indexmap", + "quick-xml", + "serde", + "time", +] + +[[package]] +name = "polyval" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d1fe60d06143b2430aa532c94cfe9e29783047f06c0d7fd359a9a51b729fa25" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "opaque-debug", + "universal-hash", +] + +[[package]] +name = "portable-atomic" +version = "1.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85" +dependencies = [ + "serde", +] + +[[package]] +name = "portmapper" +version = "0.19.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca97242f016e090a25330613bc2382aab65eb22f9149dbe84d8f8e711d49a530" +dependencies = [ + "base64 0.22.1", + "bytes", + "derive_more", + "hyper-util", + "igd-next", + "iroh-metrics", + "libc", + "n0-error", + "n0-future", + "netwatch", + "num_enum", + "rand 0.10.3", + "serde", + "smallvec", + "socket2", + "time", + "tokio", + "tokio-util", + "tower-layer", + "tracing", + "url", +] + +[[package]] +name = "postcard" +version = "1.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6764c3b5dd454e283a30e6dfe78e9b31096d9e32036b5d1eaac7a6119ccb9a24" +dependencies = [ + "cobs", + "embedded-io 0.4.0", + "embedded-io 0.6.1", + "postcard-derive", + "serde", +] + +[[package]] +name = "postcard-derive" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0232bd009a197ceec9cc881ba46f727fcd8060a2d8d6a9dde7a69030a6fe2bb" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "potential_utf" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d83eb9bc6d8e5cf568e7a1101d60ee05e81ed50ea106026f3d18deeb046d7661" +dependencies = [ + "zerovec", +] + +[[package]] +name = "powerfmt" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a6394b9e965e73d0a289ee54f589087e2c676aedf60885baf52c76b771e4958" + +[[package]] +name = "ppv-lite86" +version = "0.2.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" +dependencies = [ + "zerocopy", +] + +[[package]] +name = "proc-macro-crate" +version = "3.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e67ba7e9b2b56446f1d419b1d807906278ffa1a658a8a5d8a39dcb1f5a78614f" +dependencies = [ + "toml_edit", +] + +[[package]] +name = "proc-macro2" +version = "1.0.107" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "quick-xml" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41b1177fdf999d2321d3fb46ff47159d9c1fb9ad66a4879f8c50a0b504615e9b" +dependencies = [ + "memchr", +] + +[[package]] +name = "quote" +version = "1.0.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "r-efi" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" + +[[package]] +name = "rand" +version = "0.8.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e058c7de0b26af77780c769414d6257830bb240f3c38477dbc2c16e5f54d6d4c" +dependencies = [ + "libc", + "rand_chacha", + "rand_core 0.6.4", +] + +[[package]] +name = "rand" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65c9fb96cbc91e3478eaae79a69fcd3f1ae4ad052e471fe6732fff548984b4af" +dependencies = [ + "chacha20", + "getrandom 0.4.3", + "rand_core 0.10.1", +] + +[[package]] +name = "rand_chacha" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +dependencies = [ + "ppv-lite86", + "rand_core 0.6.4", +] + +[[package]] +name = "rand_core" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +dependencies = [ + "getrandom 0.2.17", +] + +[[package]] +name = "rand_core" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" + +[[package]] +name = "rand_pcg" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "caa0f4137e1c0a72f4c651489402276c8e8e1cf081f3b0ba156d2cbeef09e86a" +dependencies = [ + "rand_core 0.10.1", +] + +[[package]] +name = "redb" +version = "4.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb338a6c67830a61bed824b78c2bb034ab1ff401a20616bd7957524f4fdc2f22" +dependencies = [ + "libc", +] + +[[package]] +name = "redox_syscall" +version = "0.5.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" +dependencies = [ + "bitflags", +] + +[[package]] +name = "regex-automata" +version = "0.4.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.8.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" + +[[package]] +name = "reqwest" +version = "0.13.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16a1cfa75cc186dd73d5818e510e042e40927bccc9c236b061cea97e1eb08029" +dependencies = [ + "base64 0.23.1", + "bytes", + "futures-core", + "futures-util", + "http", + "http-body", + "http-body-util", + "hyper", + "hyper-rustls", + "hyper-util", + "js-sys", + "log", + "percent-encoding", + "pin-project-lite", + "rustls", + "rustls-pki-types", + "rustls-platform-verifier", + "sync_wrapper", + "tokio", + "tokio-rustls", + "tokio-util", + "tower", + "tower-http", + "tower-service", + "url", + "wasm-bindgen", + "wasm-bindgen-futures", + "wasm-streams", + "web-sys", +] + +[[package]] +name = "ring" +version = "0.17.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" +dependencies = [ + "cc", + "cfg-if", + "getrandom 0.2.17", + "libc", + "untrusted", + "windows-sys 0.52.0", +] + +[[package]] +name = "rustc-hash" +version = "2.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d" + +[[package]] +name = "rustc_version" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" +dependencies = [ + "semver", +] + +[[package]] +name = "rustls" +version = "0.23.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d41d731c7d2f962d1ccc364cec258de3c0e93b38c2fb3ba97ac74513048d634" +dependencies = [ + "log", + "once_cell", + "ring", + "rustls-pki-types", + "rustls-webpki", + "subtle", + "zeroize", +] + +[[package]] +name = "rustls-native-certs" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dab5152771c58876a2146916e53e35057e1a4dfa2b9df0f0305b07f611fdea4d" +dependencies = [ + "openssl-probe", + "rustls-pki-types", + "schannel", + "security-framework", +] + +[[package]] +name = "rustls-pki-types" +version = "1.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f4925028c7eb5d1fcdaf196971378ed9d2c1c4efc7dc5d011256f76c99c0a96" +dependencies = [ + "web-time", + "zeroize", +] + +[[package]] +name = "rustls-platform-verifier" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1167586491e2b18b8bfbb293e8180ec17c201c4f076d7cb3070ca964e7598f98" +dependencies = [ + "core-foundation", + "core-foundation-sys", + "jni 0.22.4", + "log", + "once_cell", + "rustls", + "rustls-native-certs", + "rustls-platform-verifier-android", + "rustls-webpki", + "security-framework", + "security-framework-sys", + "webpki-root-certs", + "windows-sys 0.61.2", +] + +[[package]] +name = "rustls-platform-verifier-android" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eec689c0bc40ff2458a5977b6619cb718087084a18e02a131c599b62d05e1a5f" + +[[package]] +name = "rustls-webpki" +version = "0.103.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3c3cf1d8b1e7d4927e2d154c3fcb02979afb9939629c62cd9048d4f07b60ac2" +dependencies = [ + "ring", + "rustls-pki-types", + "untrusted", +] + +[[package]] +name = "rustversion" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f" + +[[package]] +name = "ryu" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f" + +[[package]] +name = "s7-range-real" +version = "0.0.0" +dependencies = [ + "anyhow", + "blake3", + "hex", + "iroh", + "p2panda-core", + "redb", + "serde", + "tokio", +] + +[[package]] +name = "same-file" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "schannel" +version = "0.1.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91c1b7e4904c873ef0710c1f407dde2e6287de2bebc1bbbf7d430bb7cbffd939" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "scoped-tls" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294" + +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + +[[package]] +name = "security-framework" +version = "3.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7f4bc775c73d9a02cde8bf7b2ec4c9d12743edf609006c7facc23998404cd1d" +dependencies = [ + "bitflags", + "core-foundation", + "core-foundation-sys", + "libc", + "security-framework-sys", +] + +[[package]] +name = "security-framework-sys" +version = "2.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ce2691df843ecc5d231c0b14ece2acc3efb62c0a398c7e1d875f3983ce020e3" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "seize" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b55fb86dfd3a2f5f76ea78310a88f96c4ea21a3031f8d212443d56123fd0521" + +[[package]] +name = "semver" +version = "1.0.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd" + +[[package]] +name = "send_wrapper" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd0b0ec5f1c1ca621c432a25813d8d60c88abe6d3e08a3eb9cf37d97a0fe3d73" + +[[package]] +name = "serde" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba" +dependencies = [ + "serde_core", + "serde_derive", +] + +[[package]] +name = "serde_bytes" +version = "0.11.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5d440709e79d88e51ac01c4b72fc6cb7314017bb7da9eeff678aa94c10e3ea8" +dependencies = [ + "serde", + "serde_core", +] + +[[package]] +name = "serde_core" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "serdect" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "66cf8fedced2fcf12406bcb34223dffb92eaf34908ede12fed414c82b7f00b3e" +dependencies = [ + "base16ct", + "serde", +] + +[[package]] +name = "sha1_smol" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbfa15b3dddfee50a0fff136974b3e1bde555604ba463834a7eb7deb6417705d" + +[[package]] +name = "sha2" +version = "0.10.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "digest 0.10.7", +] + +[[package]] +name = "sha2" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "digest 0.11.3", +] + +[[package]] +name = "sharded-slab" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" +dependencies = [ + "lazy_static", +] + +[[package]] +name = "shlex" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba" + +[[package]] +name = "signal-hook-registry" +version = "1.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b" +dependencies = [ + "errno", + "libc", +] + +[[package]] +name = "signature" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" +dependencies = [ + "rand_core 0.6.4", +] + +[[package]] +name = "signature" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28d567dcbaf0049cb8ac2608a76cd95ff9e4412e1899d389ee400918ca7537f5" +dependencies = [ + "rand_core 0.10.1", +] + +[[package]] +name = "simd_cesu8" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11031e251abf8611c80f460e19dbdeb54a66db918e49c65a7065b46ac7aec520" +dependencies = [ + "rustc_version", + "simdutf8", +] + +[[package]] +name = "simdutf8" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e" + +[[package]] +name = "simple-dns" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b6f884fa9a8d48101774bfbd3aeb81e968dd22cffd19a372da69f183db22c1a" +dependencies = [ + "bitflags", +] + +[[package]] +name = "slab" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" + +[[package]] +name = "smallvec" +version = "1.16.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b3dc8af474f516a851ff4bd12db780f948b9250ad37211e4eec0bccea54e01b" + +[[package]] +name = "socket2" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3d1e2c7f27f8d4cb10542a02c49005dbd6e93095799d6f3be745fae9f8fedd4" +dependencies = [ + "libc", + "windows-sys 0.61.2", +] + +[[package]] +name = "sorted-index-buffer" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea06cc588e43c632923a55450401b8f25e628131571d4e1baea1bdfdb2b5ed06" + +[[package]] +name = "spez" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c87e960f4dca2788eeb86bbdde8dd246be8948790b7618d656e68f9b720a86e8" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "spin" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "023a211cb3138dbc438680b32560ad89f699977624c9f8dbb95a47d5b4c07dd3" + +[[package]] +name = "spki" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" +dependencies = [ + "base64ct", + "der 0.7.10", +] + +[[package]] +name = "spki" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ef958a98b9d5da290cfc78946e9f3e61e1e62a18db0d92cac0b83cc161491a9" +dependencies = [ + "base64ct", + "der 0.8.2", +] + +[[package]] +name = "stable_deref_trait" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" + +[[package]] +name = "strum" +version = "0.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9628de9b8791db39ceda2b119bbe13134770b56c138ec1d3af810d045c04f9bd" +dependencies = [ + "strum_macros", +] + +[[package]] +name = "strum_macros" +version = "0.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab85eea0270ee17587ed4156089e10b9e6880ee688791d45a905f5b1ca36f664" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "subtle" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" + +[[package]] +name = "syn" +version = "2.0.119" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "3.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d62a2e0561533f2ca2561d0cf27fd9fedb640a1bf2616ff5d5c80d99017faadc" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "sync_wrapper" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263" +dependencies = [ + "futures-core", +] + +[[package]] +name = "synstructure" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "901704edd0dfe137f1987838ee4f259e4e063c31371bdb423f7ae38ec6f77f02" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "system-configuration" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "501336eb7ba9e417300a6a0fa985721065467aa83a6dcf0422a8e43e4c0328fa" +dependencies = [ + "bitflags", + "core-foundation", + "system-configuration-sys", +] + +[[package]] +name = "system-configuration-sys" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e1d1b10ced5ca923a1fcb8d03e96b8d3268065d724548c0211415ff6ac6bac4" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "thiserror" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" +dependencies = [ + "thiserror-impl 1.0.69", +] + +[[package]] +name = "thiserror" +version = "2.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e" +dependencies = [ + "thiserror-impl 2.0.21", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "thread_local" +version = "1.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ad99c4c6d32803332c548b1af0540b357b3f5fc0be8f6c6bfe8b2e6ae784070" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "time" +version = "0.3.55" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdb87b95ec50ddfa440816d227a17b2ccbdda963a316a727fda0fc4334f7d134" +dependencies = [ + "deranged", + "js-sys", + "num-conv", + "powerfmt", + "serde_core", + "time-core", + "time-macros", +] + +[[package]] +name = "time-core" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e1c906769ad99c88eaa54e728060edef082f8e358ff32030cb7c7d315e81109" + +[[package]] +name = "time-macros" +version = "0.2.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e689342a48d2ea927c87ea50cabf8594854bf940e9310208848d680d668ed85" +dependencies = [ + "num-conv", + "time-core", +] + +[[package]] +name = "tinystr" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1e27c91459209c2986af3dcf603a5a74a4368754ce37414f59acc971167f643" +dependencies = [ + "displaydoc", + "zerovec", +] + +[[package]] +name = "tinyvec" +version = "1.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd3ca314f692efd6c868f8408f53fe444634a845f96c028b97d35f6a1f79f0ee" + +[[package]] +name = "tokio" +version = "1.53.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e95f91fcc7a621e8b030f6aa23c71fe9838ae2fb4d8118b75602a328f5144044" +dependencies = [ + "bytes", + "libc", + "mio", + "parking_lot", + "pin-project-lite", + "signal-hook-registry", + "socket2", + "tokio-macros", + "windows-sys 0.61.2", +] + +[[package]] +name = "tokio-macros" +version = "2.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78773a2a397f451582ce068015985c33193cf6dea8b74d2a639fe457b2f07b0e" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "tokio-rustls" +version = "0.26.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9cc2678c2cdd569ef8215e2afd7954ada2ae20b4fdd2c5fe6139a3b02d105db" +dependencies = [ + "rustls", + "tokio", +] + +[[package]] +name = "tokio-stream" +version = "0.1.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3d06f0b082ba57c26b79407372e57cf2a1e28124f78e9479fe80322cf53420b" +dependencies = [ + "futures-core", + "pin-project-lite", + "tokio", + "tokio-util", +] + +[[package]] +name = "tokio-util" +version = "0.7.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e464cf451ba96ebfc6f9b6542f17ee8b8956e33f1e40d9690624e59d7a7f8a4b" +dependencies = [ + "bytes", + "futures-core", + "futures-sink", + "futures-util", + "libc", + "pin-project-lite", + "tokio", +] + +[[package]] +name = "tokio-websockets" +version = "0.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d52efb639344a7c6adb8e62c6f3d2c19c001ff1b79a5041ba1c6ed42e19c6aa5" +dependencies = [ + "base64 0.22.1", + "bytes", + "futures-core", + "futures-sink", + "getrandom 0.4.3", + "http", + "httparse", + "rand 0.10.3", + "ring", + "rustls-pki-types", + "sha1_smol", + "simdutf8", + "tokio", + "tokio-rustls", + "tokio-util", +] + +[[package]] +name = "toml_datetime" +version = "1.1.2+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b86d767906c6c42421dcba507eb9d203e779497710a47782a224bb871653053" +dependencies = [ + "serde_core", +] + +[[package]] +name = "toml_edit" +version = "0.25.17+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3641d5bbb5349a79e1020a242d251efbc546ad8048d133958323ce9c40a9c9c" +dependencies = [ + "indexmap", + "toml_datetime", + "toml_parser", + "winnow", +] + +[[package]] +name = "toml_parser" +version = "1.1.5+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baa693a8032d7e1cada7d0041e96126df243179ff061456783ac7f12bda4744c" +dependencies = [ + "winnow", +] + +[[package]] +name = "tower" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebe5ef63511595f1344e2d5cfa636d973292adc0eec1f0ad45fae9f0851ab1d4" +dependencies = [ + "futures-core", + "futures-util", + "pin-project-lite", + "sync_wrapper", + "tokio", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-http" +version = "0.6.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cfcf7e2740e6fc6d4d688b4ef00650406bb94adf4731e43c096c3a19fe40840" +dependencies = [ + "bitflags", + "bytes", + "futures-util", + "http", + "http-body", + "pin-project-lite", + "tower", + "tower-layer", + "tower-service", + "url", +] + +[[package]] +name = "tower-layer" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" + +[[package]] +name = "tower-service" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" + +[[package]] +name = "tracing" +version = "0.1.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100" +dependencies = [ + "log", + "pin-project-lite", + "tracing-attributes", + "tracing-core", +] + +[[package]] +name = "tracing-attributes" +version = "0.1.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "tracing-core" +version = "0.1.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a" +dependencies = [ + "once_cell", + "valuable", +] + +[[package]] +name = "tracing-log" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" +dependencies = [ + "log", + "once_cell", + "tracing-core", +] + +[[package]] +name = "tracing-subscriber" +version = "0.3.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb7f578e5945fb242538965c2d0b04418d38ec25c79d160cd279bf0731c8d319" +dependencies = [ + "matchers", + "nu-ansi-term", + "once_cell", + "regex-automata", + "sharded-slab", + "smallvec", + "thread_local", + "tracing", + "tracing-core", + "tracing-log", +] + +[[package]] +name = "try-lock" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" + +[[package]] +name = "typenum" +version = "1.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" + +[[package]] +name = "unicode-ident" +version = "1.0.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d245f478577f809a851594d02313b640fb437e0bb33866753cff937863096954" + +[[package]] +name = "unicode-segmentation" +version = "1.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8" + +[[package]] +name = "unicode-xid" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" + +[[package]] +name = "universal-hash" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea" +dependencies = [ + "crypto-common 0.1.7", + "subtle", +] + +[[package]] +name = "untrusted" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" + +[[package]] +name = "url" +version = "2.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" +dependencies = [ + "form_urlencoded", + "idna", + "percent-encoding", + "serde", + "serde_derive", +] + +[[package]] +name = "utf8_iter" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" + +[[package]] +name = "valuable" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" + +[[package]] +name = "version_check" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" + +[[package]] +name = "walkdir" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" +dependencies = [ + "same-file", + "winapi-util", +] + +[[package]] +name = "want" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec4cdd0dd910afe868b7ef477227d8d538b46b3075031afee8a9f2acb0a2ed0b" +dependencies = [ + "try-lock", +] + +[[package]] +name = "wasi" +version = "0.11.1+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" + +[[package]] +name = "wasm-bindgen" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9bb54f33acc68fd454578d9820b0bde1a1a3d17aa17bb7b6595806d02886d409" +dependencies = [ + "cfg-if", + "once_cell", + "rustversion", + "wasm-bindgen-macro", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-futures" +version = "0.4.79" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3cbab34de2d982e9b48e18d216d04c4a6f641066ff19ffb699980f591ee3610e" +dependencies = [ + "js-sys", + "tokio", + "wasm-bindgen", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e29d0c35b16e224a7eeb5cd2d25e3e1968fbd65604117b44d3b789d00ee8535" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f501a8bc3719dba86ef8ae4728879c08001bea749eb1333ac5b91e040e2a6b7" +dependencies = [ + "bumpalo", + "proc-macro2", + "quote", + "syn 3.0.7", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23f0c9c52aa7cd7d77769a4cfe2a9adb1b331f489a41d912ce14513d5ab995c6" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "wasm-streams" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d1ec4f6517c9e11ae630e200b2b65d193279042e28edd4a2cda233e46670bbb" +dependencies = [ + "futures-util", + "js-sys", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "web-sys" +version = "0.3.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88261b9deccee56594c11a3460c462c41f58d148598fe70ad77070126a68aba4" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "web-time" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "webpki-root-certs" +version = "1.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b96554aa2acc8ccdb7e1c9a58a7a68dd5d13bccc69cd124cb09406db612a1c9b" +dependencies = [ + "rustls-pki-types", +] + +[[package]] +name = "webpki-roots" +version = "1.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7dcd9d09a39985f5344844e66b0c530a33843579125f23e21e9f0f220850f22a" +dependencies = [ + "rustls-pki-types", +] + +[[package]] +name = "widestring" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72069c3113ab32ab29e5584db3c6ec55d416895e60715417b5b883a357c3e471" + +[[package]] +name = "winapi" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +dependencies = [ + "winapi-i686-pc-windows-gnu", + "winapi-x86_64-pc-windows-gnu", +] + +[[package]] +name = "winapi-i686-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" + +[[package]] +name = "winapi-util" +version = "0.1.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "winapi-x86_64-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" + +[[package]] +name = "windows" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "527fadee13e0c05939a6a05d5bd6eec6cd2e3dbd648b9f8e447c6518133d8580" +dependencies = [ + "windows-collections", + "windows-core", + "windows-future", + "windows-numerics", +] + +[[package]] +name = "windows-collections" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23b2d95af1a8a14a3c7367e1ed4fc9c20e0a26e79551b1454d72583c97cc6610" +dependencies = [ + "windows-core", +] + +[[package]] +name = "windows-core" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" +dependencies = [ + "windows-implement", + "windows-interface", + "windows-link", + "windows-result", + "windows-strings", +] + +[[package]] +name = "windows-future" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1d6f90251fe18a279739e78025bd6ddc52a7e22f921070ccdc67dde84c605cb" +dependencies = [ + "windows-core", + "windows-link", + "windows-threading", +] + +[[package]] +name = "windows-implement" +version = "0.60.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "windows-interface" +version = "0.59.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + +[[package]] +name = "windows-numerics" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e2e40844ac143cdb44aead537bbf727de9b044e107a0f1220392177d15b0f26" +dependencies = [ + "windows-core", + "windows-link", +] + +[[package]] +name = "windows-registry" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02752bf7fbdcce7f2a27a742f798510f3e5ad88dbe84871e5168e2120c3d5720" +dependencies = [ + "windows-link", + "windows-result", + "windows-strings", +] + +[[package]] +name = "windows-result" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-strings" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-sys" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" +dependencies = [ + "windows-targets 0.42.2", +] + +[[package]] +name = "windows-sys" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +dependencies = [ + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-sys" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-targets" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" +dependencies = [ + "windows_aarch64_gnullvm 0.42.2", + "windows_aarch64_msvc 0.42.2", + "windows_i686_gnu 0.42.2", + "windows_i686_msvc 0.42.2", + "windows_x86_64_gnu 0.42.2", + "windows_x86_64_gnullvm 0.42.2", + "windows_x86_64_msvc 0.42.2", +] + +[[package]] +name = "windows-targets" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" +dependencies = [ + "windows_aarch64_gnullvm 0.52.6", + "windows_aarch64_msvc 0.52.6", + "windows_i686_gnu 0.52.6", + "windows_i686_gnullvm", + "windows_i686_msvc 0.52.6", + "windows_x86_64_gnu 0.52.6", + "windows_x86_64_gnullvm 0.52.6", + "windows_x86_64_msvc 0.52.6", +] + +[[package]] +name = "windows-threading" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" + +[[package]] +name = "windows_i686_gnu" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" + +[[package]] +name = "windows_i686_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" + +[[package]] +name = "windows_i686_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" + +[[package]] +name = "windows_i686_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" + +[[package]] +name = "windows_i686_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" + +[[package]] +name = "winnow" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23b97319f7b8343df12cc98938e5c3eb436064524c8d2b4e30a1d3a36eecdf81" +dependencies = [ + "memchr", +] + +[[package]] +name = "wmi" +version = "0.18.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c81b85c57a57500e56669586496bf2abd5cf082b9d32995251185d105208b64" +dependencies = [ + "chrono", + "futures", + "log", + "serde", + "thiserror 2.0.21", + "windows", + "windows-core", +] + +[[package]] +name = "writeable" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc" + +[[package]] +name = "ws_stream_wasm" +version = "0.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c173014acad22e83f16403ee360115b38846fe754e735c5d9d3803fe70c6abc" +dependencies = [ + "async_io_stream", + "futures", + "js-sys", + "log", + "pharos", + "rustc_version", + "send_wrapper", + "thiserror 2.0.21", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "xml-rs" +version = "0.8.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e450f9b2ed1dff33c94c12589a87338689467b9c4f5d8a5710bd09a847d2c8a7" + +[[package]] +name = "xmltree" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7d8a75eaf6557bb84a65ace8609883db44a29951042ada9b393151532e41fcb" +dependencies = [ + "xml-rs", +] + +[[package]] +name = "yoke" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5" +dependencies = [ + "stable_deref_trait", + "yoke-derive", + "zerofrom", +] + +[[package]] +name = "yoke-derive" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec8ebde2db3681e8c9980cc27822030e68752690ddfa9473e739aeb4dbde6d71" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", + "synstructure", +] + +[[package]] +name = "zerocopy" +version = "0.8.62" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86502bf56ac7c77571a32e2647bb2a15894565e981fb2a48d7bde2d91c965a9d" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.8.62" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5457206954b06561e2608c7e19cf58b1926586d999c246eebe4502f7e2039d1a" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "zerofrom" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272" +dependencies = [ + "zerofrom-derive", +] + +[[package]] +name = "zerofrom-derive" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f75b4683f6c7f45248d4d64056a24298c6281e0993356d7d1b4a1a962ef10d4a" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", + "synstructure", +] + +[[package]] +name = "zeroize" +version = "1.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e13084392c5e4bc371903e2935a5eaeed24905a7511356b883835e18a78f6879" +dependencies = [ + "zeroize_derive", +] + +[[package]] +name = "zeroize_derive" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c50655cbb0fe3fc43170059e702f1ce5e19b84cec58dc87b037a09935c2f328" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "zerotrie" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ea269c3bd32f0a32c321907a2ae912ba6f4649bb0fc764a15627e99a7095a3f" +dependencies = [ + "displaydoc", + "yoke", + "zerofrom", +] + +[[package]] +name = "zerovec" +version = "0.11.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb0464e17806c1d976d5cba29399c7f08e516e279e2ba493f63123b5fca67dd8" +dependencies = [ + "yoke", + "zerofrom", + "zerovec-derive", +] + +[[package]] +name = "zerovec-derive" +version = "0.11.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34df6fc39dbd26ddc9c10e6a2984476e13acce22e64e4487636ef494369225da" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/Cargo.toml b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/Cargo.toml new file mode 100644 index 0000000000..b303c36185 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/Cargo.toml @@ -0,0 +1,21 @@ +[package] +name = "s7-range-real" +version = "0.0.0" +edition = "2024" +rust-version = "1.96" +publish = false + +# Standalone crate. Not a member of /home/user/work/spikes. +[workspace] + +# Pins copied from /home/user/work/spikes/Cargo.toml. +# Not enabled: p2panda-core's test_utils feature (it turns on the signature check in Header::verify). +[dependencies] +p2panda-core = { git = "https://github.com/p2panda/p2panda", rev = "3e84cac48bba05c6857cce2ec433862b97f8d53c" } +iroh = "1.3.0" +redb = "=4.3.0" +tokio = { version = "1", features = ["full"] } +anyhow = "1" +serde = { version = "1", features = ["derive"] } +hex = "0.4" +blake3 = "1" diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/RESULTS.md b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/RESULTS.md new file mode 100644 index 0000000000..24d4c59586 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/RESULTS.md @@ -0,0 +1,321 @@ +# S7: range reconciliation on real stores, over iroh + +## Question + +Task 04 gates on S7: does the range scheme S1 simulated work on real redb stores over iroh, with +real signed events, and how does it compare with LogSync? The brief also asks for four +"what could be missed" checks (a) to (d), and for a K and T recommendation on real stores. + +## Verdicts + +1. **Range sync over iroh on real stores: pass.** 1,000 chains, 2 new events: 7 flights and + 6,554 control bytes (S1 simulated 7 flights and 6,198 bytes; the difference is most likely the + key width, see Deviations). 10,000 chains: 8 flights and 7,422 bytes. Every run in the matrices and + sweeps is exact: both stores equal afterwards, no duplicate inserts, and each side learned the + true difference. The wire run matches the in-memory run byte for byte, plus 4 bytes of frame + length per message. +2. **Crossover against LogSync (chains x new events -> cheaper method).** In control bytes, range + (K=16, T=16) is cheaper up to about N = 33 new events at 1,000 chains, and up to about N = 360 at + 10,000 chains (interpolated between measured points). Above that, LogSync is cheaper. + LogSync is cheaper in flights everywhere (2 against 7 to 8; the LogSync count is S1's). With equal stores, range costs 33 + bytes per sync, against 76 KB (1,000 chains) or 760 KB (10,000 chains) for LogSync's Have + exchange, which S1 measured and which does not depend on N. LogSync was not run; see "Not + tested". +3. **K and T on real stores: keep K=16, T=16 as the default.** It is the flight-minimal setting in + the grid (7 flights at 1,000 chains, 8 at 10,000). For bulk catch-up, where bytes matter more + than round trips, use K=4 with T=8: control bytes fall 28 to 33 percent at N=200, for 4 more + flights. Avoid K=2 (15 to 18 flights). K=32 costs 7 flights, the same as K=16, but 39 percent + more bytes. At K=16, changing T from 16 to 8 gains at most 4 percent, for one more flight. +4. **(a) sequence gap: pass.** Range sync moves exactly the one missing event. A height-only + comparison (largest seq per author) sees no difference at all: 0 of 1,000 authors differ. +5. **(b) XOR cancellation: partly.** The count check catches unequal sizes (b1, 4 flights). + It does not catch an equal-size XOR collision (b2): both sides then skip and 4 events are + missed. With 128-bit fingerprints this needs about 2^-128 luck per compared range, or a crafted + 4-way XOR collision (about 2^43 signed events by a generalized-birthday estimate, not computed). + I did not construct one with real events. +6. **(c) bounds at keys with 0x00 bytes: pass.** Keys contain zero bytes in their seq field + (every seq below 256), and 17 of 50 authors have a zero byte in the public key. In-memory and + wire runs learn the exact difference for K/T pairs from (2,1) to (32,16). +7. **(d) interrupted session, restarted from scratch: pass.** A cut during the data phase left 96 + of 180 events committed, all in whole batches of 32. The restart sent only the remaining 84, + with 0 duplicates. A cut during reconciliation committed nothing, and the restart completed. + +## Setup + +- Toolchain: rustup 1.97.0 (`cargo 1.97.0`, `rustc 1.97.0`). Shared target dir + `/home/user/work/spikes/target`. Standalone crate with an empty `[workspace]`, `Cargo.lock` + copied from `/home/user/work/spikes/Cargo.lock`. +- Pins, from `/home/user/work/spikes/Cargo.toml`: p2panda-core at git rev + `3e84cac48bba05c6857cce2ec433862b97f8d53c` (0.7.1), iroh 1.3.0, redb =4.3.0, blake3 1.8.7 (lock). + p2panda-core's `test_utils` feature is not enabled. Without it, `Header::verify` returns true in + this build (the trap in the brief). The code never calls `verify`. Verification goes through + `AnyHeader::decode`. +- Host: AMD Ryzen 7 7840U (16 threads), ext4 on NVMe, the same host S6 used. Each redb commit + fsyncs. +- Events: `chain::chain_events`. One ed25519 key per device chain, derived from BLAKE3 of the chain + index. 50 events per chain, as in S1. Header: p2panda `Header` with `ChainExt` (kind + `group.policy`, domain `id.events.v1`, no `after`, no group). Backlink: the previous header's + hash. Body: 256 bytes from BLAKE3 XOF over (author, seq). Headers are 228 bytes, so one record is + 486 bytes, or 490 bytes on the wire with its frame. The event ID is BLAKE3 over the header bytes, + which is p2panda's operation hash. All 550,000 generated events pass `AnyHeader::decode` (signature + included), a canonical re-encode, and a body hash check. +- Store: S6's redb layout (`/home/user/work/spikes-s6/src/redb_store.rs`). Table `author_seq`: + author (32 B) || seq (8 B, big-endian) -> event ID. Table `events`: ID -> u16 header length, + header, body. One write transaction per batch, and the (author, seq) check runs inside it. + p2panda's seq is u32, widened to S6's 8-byte field. +- **Key encoding:** fixed-width 40-byte keys, not tuple-encoded. The NUL-terminator issue in + `pkgs/id/src/tuple.rs` does not apply to these keys. +- Range scheme: S1's `range_sim.rs`, ported: K-way splits, a 16-byte XOR fingerprint of the + truncated IDs plus a count, leaves of at most T items send their IDs, shortest separating prefixes + as bounds, and merged skip runs. +- Wire, protocol `/id-sync/1` on one bidirectional stream. Flights alternate as in S1's + `reconcile`. Each message is a u32-length frame. The first message is the dialer's full-range + fingerprint. A message with only Skip entries ends the loop. Data phase: after reconciliation both + sides hold the symmetric difference, so neither needs to ask. Each side sends the events it holds + that the peer lacks, in key order: a count frame, then one frame per record. Both sides send at + once. The receiver verifies every event, rejects any it did not expect, and commits every `batch` + (256) events in one transaction. +- Transport: two endpoints on localhost, `presets::Minimal`, `RelayMode::Disabled`, + `clear_ip_transports`, dialled with `EndpointAddr::new(id).with_ip_addr(...)`. No relay, no + address lookup. + +**Measurements.** Control bytes: all reconciliation frames, both sides, including the 4-byte +length. Data bytes: the count frames and the record frames, both sides. Flights: reconciliation +messages written, both sides, which is S1's convention (a round trip is two flights). The data +phase is one concurrent step and is not counted. QUIC bytes: `udp_tx + udp_rx` on the dialer's +connection, including the handshake. Wall: from `connect` to both sessions finishing, with indexes +already built. It includes the handshake and the commits. Commit: summed redb commit time, both +sides. Index: both sides' index builds from the store, outside wall. Wall, commit, index and QUIC +bytes are medians of 5 runs. Control, data and flights are deterministic: the harness asserts they +are identical across repeats. + +**Run hygiene.** Each run copies the base store to two files, adds N events to the dialer's copy, +and fsyncs both copies before the timer starts. An earlier version did not do this. A commit's fsync +then waited for the copies' writeback (about 540 MB), and the 10,000-chain medians were 59, 106 and +104 ms for N=2, 20 and 200. After the fix they are 33, 48 and 85 ms. The wire run is checked +against `range::simulate` on every run. + +## Commands + +``` +export CARGO="$(rustup which --toolchain 1.97.0 cargo)" RUSTC="$(rustup which --toolchain 1.97.0 rustc)" +export CARGO_TARGET_DIR=/home/user/work/spikes/target +cargo test --lib # 5 passed +cargo build --release --bins +B=$CARGO_TARGET_DIR/release +$B/gen data 1000 ; $B/gen data 10000 # base stores, every event verified +$B/bench matrix data 1000 5 16 16 0,2,20,200 > logs/matrix-1k-k16-t16.txt +$B/bench matrix data 10000 5 16 16 0,2,20,200 > logs/matrix-10k-k16-t16.txt +$B/bench matrix data 1000 1 16 16 30,40,50,75,100 > logs/crossover-1k.txt +$B/bench matrix data 10000 1 16 16 400,800,1600 > logs/crossover-10k.txt +$B/bench sweep data 1000 2,4,8,16,32 4,8,16,32 2,20,200 > logs/sweep-1k.txt +$B/bench sweep data 10000 4,8,16 4,8,16 2,20,200 > logs/sweep-10k.txt +$B/scenarios run/scen data/base-1000.redb > logs/scenarios.txt +``` + +## Results + +### 1. Correctness and S1 parity + +Matrix at 1,000 chains (K=16, T=16, batch 256, 5 runs). All 20 runs passed every check. + +| N | flights (A+B) | control B | data B | QUIC B | wall ms, median (min-max) | commit ms | index ms (both) | +|---|---|---|---|---|---|---|---| +| 0 | 2 (1+1) | 33 | 16 | 21,618 | 1.8 (1.7-2.1) | 0.0 | 24.0 | +| 2 | 7 (4+3) | 6,554 | 996 | 29,586 | 10.2 (6.7-13.0) | 6.7 | 25.4 | +| 20 | 7 (4+3) | 50,939 | 9,816 | 84,332 | 14.3 (10.5-15.3) | 4.3 | 26.2 | +| 200 | 7 (4+3) | 354,280 | 98,016 | 489,041 | 34.8 (29.9-41.1) | 15.3 | 21.1 | + +Matrix at 10,000 chains (same settings, 5 runs). All 20 runs passed. + +| N | flights (A+B) | control B | data B | QUIC B | wall ms, median (min-max) | commit ms | index ms (both) | +|---|---|---|---|---|---|---|---| +| 0 | 2 (1+1) | 33 | 16 | 21,557 | 3.8 (3.3-4.7) | 0.0 | 154.0 | +| 2 | 8 (4+4) | 7,422 | 996 | 30,562 | 32.5 (27.2-34.6) | 4.3 | 152.6 | +| 20 | 8 (4+4) | 63,856 | 9,816 | 97,797 | 48.0 (39.2-73.4) | 7.0 | 182.5 | +| 200 | 8 (4+4) | 462,479 | 98,016 | 599,552 | 84.7 (61.8-120.0) | 21.5 | 167.6 | + +**S1 parity.** S1's simulation at K=16, T=16 gave 6,198 bytes and 7 flights at 1,000 chains, and +6,978 bytes and 8 flights at 10,000 chains. The payload here is 6,526 and 7,390 bytes. The extra ++328 and +412 bytes are consistent with the 4 extra key bytes on same-author bounds (about 82 of +them at 1,000 chains). I inferred this, I did not isolate it. Flight counts match S1 exactly. + +**Data bytes.** Each event is 490 bytes on the wire, and the 16 bytes of count frames at N=0 are +constant. At N=200, control is 3.6 times the data at 1,000 chains and 4.7 times at 10,000. The +leaf ID lists are the likely cause, since each mismatched leaf sends T IDs per side. I did not +instrument the splits to confirm. + +### 2. Crossover against LogSync + +LogSync's control bytes come from S1's CBOR measurement of its Have, PreSync and Done messages +for the same chain counts: 76,071 bytes at 1,000 chains and 760,071 bytes at 10,000. They depend +only on the chain count, not on N. Both methods move the same N events, so only control bytes +are compared. Range numbers are control bytes from this spike, with K=16 and T=16. + +| chains | N | range control B | LogSync control B (S1) | cheaper in bytes | flights, range / LogSync | +|---|---|---|---|---|---| +| 1,000 | 0 | 33 | 76,071 | range | 2 / 2 | +| 1,000 | 2 | 6,554 | 76,071 | range | 7 / 2 | +| 1,000 | 20 | 50,939 | 76,071 | range | 7 / 2 | +| 1,000 | 30 | 69,314 | 76,071 | range | 7 / 2 | +| 1,000 | 40 | 90,654 | 76,071 | LogSync | 7 / 2 | +| 1,000 | 50 | 107,390 | 76,071 | LogSync | 7 / 2 | +| 1,000 | 100 | 200,969 | 76,071 | LogSync | 7 / 2 | +| 1,000 | 200 | 354,280 | 76,071 | LogSync | 7 / 2 | +| 10,000 | 0 | 33 | 760,071 | range | 2 / 2 | +| 10,000 | 2 | 7,422 | 760,071 | range | 8 / 2 | +| 10,000 | 20 | 63,856 | 760,071 | range | 8 / 2 | +| 10,000 | 200 | 462,479 | 760,071 | range | 8 / 2 | +| 10,000 | 400 | 828,508 | 760,071 | LogSync | 8 / 2 | +| 10,000 | 800 | 1,465,422 | 760,071 | LogSync | 8 / 2 | +| 10,000 | 1,600 | 2,598,113 | 760,071 | LogSync | 8 / 2 | + +Crossover N, by linear interpolation between measured points: about 33 at 1,000 chains (between 30 +and 40), and about 360 at 10,000 chains (between 200 and 400). Both are about 3.5 percent of the +chain count. This rests on two points, so treat it as a rough rule. + +The LogSync flight count of 2 before data is S1's figure. I did not run LogSync, so the N=0 row +for LogSync is inferred: it sends its Have messages whatever the diff. Latency is flights times +RTT. I did not measure RTT: everything here is localhost. + +### 3. K and T sweeps (real stores, one run per row, bytes deterministic) + +1,000 chains, control bytes and flights (both sides): + +| K | T | flights (same for every N) | control N=2 | control N=20 | control N=200 | +|---|---|---|---|---|---| +| 2 | 4 | 18 | 4,813 | 35,312 | 263,470 | +| 2 | 16 | 16 | 5,247 | 41,671 | 324,907 | +| 4 | 8 | 11 | 3,912 | 31,777 | 236,741 | +| 4 | 16 | 10 | 4,551 | 37,821 | 296,377 | +| 8 | 8 | 9 | 4,815 | 36,848 | 272,688 | +| 8 | 16 | 8 | 4,996 | 40,656 | 308,627 | +| 16 | 8 | 8 | 6,415 | 49,604 | 340,920 | +| **16** | **16** | **7** | **6,554** | **50,939** | **354,280** | +| 32 | 16 | 7 | 9,775 | 73,383 | 492,245 | + +10,000 chains, a subset (flights are for N=2, 20, 200 in order): + +| K | T | flights | control N=2 | control N=20 | control N=200 | +|---|---|---|---|---|---| +| 4 | 4 | 13 | 4,545 | 41,282 | 315,259 | +| 4 | 8 | 12 | 4,672 | 43,503 | 334,836 | +| 8 | 8 | 10 | 5,479 | 47,319 | 356,764 | +| 16 | 4 | 9 | 7,343 | 63,349 | 458,335 | +| **16** | **16** | **8** | **7,422** | **63,856** | **462,479** | + +All 60 rows of the 1,000-chain sweep and all 27 rows of the 10,000-chain sweep passed their +checks. + +**Recommendation.** +- **Default: K=16, T=16.** It is the lowest-flight setting in the grid, and it matches S1. Its + bytes are 1.5 to 1.7 times the grid's byte minimum (K=4, T=8) at N of 2 to 200, in exchange for + 4 fewer flights. +- **Bulk catch-up: K=4, T=8.** It saves 28 to 33 percent of control bytes at N=200 (33 percent at + 1,000 chains, 28 percent at 10,000), for 4 more flights. Use it when bytes matter more than + latency. +- **Avoid K=2** (15 to 18 flights for no byte saving over K=4) **and K=32** (same flights as K=16, + more bytes). +- **T:** at K=16, T=8 gains at most 4 percent and adds a flight, so keep T=16. At K=4, a smaller T + saves bytes and adds flights, so choose T by the bytes-or-flights trade. + +### 4. What could be missed + +Each check ran in `logs/scenarios.txt`, with `failures: 0`. + +- **(a) Sequence gap.** On the acceptor, chain 7 lacks seq 20 but has 21 to 49. Before the sync the + store audit reports one gap. The height view (largest seq per author) shows no difference for any + author: 0 of 1,000. The range sync moves exactly one event, with 7 flights and 3,749 control bytes. + Both stores are equal afterwards, and chain 7 is contiguous with valid backlinks. Range over keys + finds interior gaps. Height-based comparison cannot. +- **(b) XOR cancellation, in memory on crafted IDs.** Real BLAKE3 IDs cannot be steered this way, so + these runs use synthetic 32-byte IDs, and only the 16-byte truncations enter the fingerprint. + - b1, unequal sizes: A has 3 items, B has 2, with equal fingerprints. The count check catches it. + Both sides learn the true 5-item difference in 4 flights. + - b2, equal sizes: A has 2 items and B has 2, with equal fingerprints. Both sides skip after 2 + flights, learn nothing, and the 4 events are missed. The count check cannot help here. + - Real events: the chance of a match is about 2^-128 per compared range. Building one needs a + 4-way XOR collision, about 2^43 signed events by a generalized-birthday estimate. Not computed. +- **(c) Bounds at keys with 0x00 bytes.** 50 authors: 10 with zero bytes at chosen public-key + positions (ground for them), 7 more by chance, and 33 others without a zero byte. Every key also + has zero bytes in its seq field. In-memory runs with (K, T) of (2,1), (2,4), (4,8), (16,16) and + (32,16) learn the exact difference. The wire sync of 20 new events is exact, with 20 of 20 inserted, + equal stores, and valid links. Bounds here are fixed-width prefixes of 40-byte keys. Whole keys + contain zero bytes for every author, and prefixes such as `00 00 xx` arise where the two + `00 00` authors meet other keys. I did not count the bounds. +- **(d) Interrupted session, restarted from scratch.** Chains 0, 16, ..., 944 each got 3 new events, + for 180 in all, with batches of 32. + - d1: the dialer was cut after 100 records. The acceptor's commits are all whole batches: 96 + events, not 180. The dialer saw "cut before record 101", and the acceptor saw "connection lost: + closed by peer: cut (code 1)". The store has no gaps and no bad links. The restart's + reconciliation found exactly 84 missing events, learned the same set on both sides, inserted 84, + and recorded 0 duplicates. Stores are equal and links are valid. + - d2: the dialer was cut after one reconciliation message. Nothing was committed. The restart + inserted all 180 events, with 0 duplicates. + +## Deviations from S1 + +- **Key width.** S6's layout uses an 8-byte big-endian seq, and p2panda's header seq is u32. S1 + used 4 bytes. Each same-author bound is 4 bytes longer. That is consistent with the +328 and +412 + bytes above, but I inferred it and did not isolate it. +- **Split width.** A split uses `min(K, n)` children. When a mismatched range starts at key 0 and + has fewer than K items, S1's code computes a bound at position 0 and panics. I read this from + the code and did not run it. S1's runs did not reach that case, and this port avoids it. +- **Wire form.** S1's `encoded_len` is the wire size. Each message is that encoding inside a + 4-byte length frame. The harness checks this on every run. +- **No requests in the data phase.** Each side derives what it must send and expect from the + symmetric difference, and the count frame checks that the two agree. + +## Not tested, and why + +- **LogSync over iroh.** Not run, and the S1 numbers are reused: 76,071 and 760,071 bytes of + CBOR control. S1's own note says it measured only the Have sizes, from real p2panda-sync types, + and did not run a session. The time budget did not allow the SQLite store glue plus the iroh + adapter. In S1's model, LogSync's control is independent of N. The equal-store cost for LogSync + is inferred from the same Have sizes, since LogSync always sends them. +- **Real network.** Everything runs on localhost with `RelayMode::Disabled`. RTT is near zero, so + the flights-times-RTT comparison is not measured. +- **Bootstrap (an empty store receiving everything).** Not run. It is the case where control + overhead per event matters most. +- **Scale beyond 10,000 chains and 1,600 new events.** Not run. +- **Gating, blobs, and the orderer.** Out of scope for S7. The store is set-based and accepts a gap + on insert. Waiting for missing backlinks is task 02's job. +- **Power loss.** The interruption is a connection cut, not a process kill. Power-loss durability + was not tested, and S6 covered only SIGKILL. +- **Adversarial XOR forgery.** The fingerprint is linear over GF(2), so a peer with enough of its own + events could craft a matching fingerprint. A dishonest peer can always answer Skip, so this adds + nothing beyond lying. I did not analyse it further. +- **Record bytes in the events table.** Equality was checked on (key, ID) rows. Records are fixed by + their verified IDs and body hashes, but I did not compare their bytes directly. +- **16-byte IDs in leaves.** This would halve the leaf control cost. Not tested. +- **Index persistence.** Every session rebuilds its index from the store (medians 21 to 26 ms at + 1,000 chains, 153 to 183 ms at 10,000, both sides). A node would keep the index up to date, so this cost + is outside the sync figures. +- **Wall time at 10,000 chains includes an O(n) scan.** At N=2, the non-commit part of the median + wall time is about 28 ms at 10,000 chains, against about 3.5 ms at 1,000. I attribute the gap to + the offers scan over 500,000 index rows (HashSet lookups). I did not isolate it. N=0 has no + learned IDs and takes 3.8 ms, which fits the scan being the cost. + +## Surprises + +- Steady-state sync is almost free in range form: 33 bytes, against 76 KB (1,000 chains) or 760 KB + (10,000 chains) for LogSync's Have exchange. +- The N=0 sync (handshake plus two tiny messages) moves 21.6 KB on the wire. That overhead dominates + a small sync: N=2 moves 29.6 KB, against 6.6 KB of control and 1 KB of data. +- Control overhead is large for dense diffs: 3.6 to 4.7 times the data at N=200. +- At 10,000 chains and N=200, K=4, T=4 saves 32 percent of control bytes against K=16, T=16, for + 5 more flights. K=4, T=8 saves 28 percent, for 4 more. + +## Files + +- `src/chain.rs`: events, verification (`AnyHeader::decode`), records. Includes a test that flips a + signature bit and sees `InvalidSignature`. +- `src/store.rs`: redb store with the S6 layout. +- `src/range.rs`: S1's scheme over the store index, wire encoding, in-memory simulation, and unit + tests for NUL-heavy separators, exact learning across K and T, and the wire round trip. +- `src/session.rs`: iroh session, two-endpoint runner, cut injection. +- `src/bin/gen.rs`, `src/bin/bench.rs`, `src/bin/scenarios.rs`: base-store generation, matrix and + sweep, and checks (a) to (d). +- `logs/`: matrix, crossover, sweep and scenario output (all under 4 KB each). +- The base stores (`data/`, about 670 MB) and the scratch `run/` directory are removed after the + runs. `gen` rebuilds the base in about a minute. diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/logs/crossover-10k.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/logs/crossover-10k.txt new file mode 100644 index 0000000000..7ada575a08 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/logs/crossover-10k.txt @@ -0,0 +1,10 @@ +## matrix: chains=10000 K=16 T=16 batch=256 repeats=1 +| N | flights (A+B) | control B | data B | transport B (QUIC) | wall ms, median | of which commit ms, median | index ms, median | checks | +|---|---|---|---|---|---|---|---|---| +run N=400 r=1 flights=8 (A 4 B 4) control=828508 data=196016 wall=108.9 ms commit=32.6 ms index=226.1 ms transport=1078537 ok=true +| 400 | 8 | 828508 | 196016 | 1078537 | 108.9 | 32.6 | 226.1 | all ok, identical across runs | +run N=800 r=1 flights=8 (A 4 B 4) control=1465422 data=392016 wall=177.5 ms commit=61.2 ms index=193.2 ms transport=1934704 ok=true +| 800 | 8 | 1465422 | 392016 | 1934704 | 177.5 | 61.2 | 193.2 | all ok, identical across runs | +run N=1600 r=1 flights=8 (A 4 B 4) control=2598113 data=784016 wall=306.5 ms commit=120.7 ms index=158.3 ms transport=3505184 ok=true +| 1600 | 8 | 2598113 | 784016 | 3505184 | 306.5 | 120.7 | 158.3 | all ok, identical across runs | +LogSync control for this chain count (S1, CBOR, not re-run): 760071 B, 2 flights before data. diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/logs/crossover-1k.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/logs/crossover-1k.txt new file mode 100644 index 0000000000..a59670a6fb --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/logs/crossover-1k.txt @@ -0,0 +1,14 @@ +## matrix: chains=1000 K=16 T=16 batch=256 repeats=1 +| N | flights (A+B) | control B | data B | transport B (QUIC) | wall ms, median | of which commit ms, median | index ms, median | checks | +|---|---|---|---|---|---|---|---|---| +run N=30 r=1 flights=7 (A 4 B 3) control=69314 data=14716 wall=17.6 ms commit=10.6 ms index=37.2 ms transport=108307 ok=true +| 30 | 7 | 69314 | 14716 | 108307 | 17.6 | 10.6 | 37.2 | all ok, identical across runs | +run N=40 r=1 flights=7 (A 4 B 3) control=90654 data=19616 wall=12.1 ms commit=5.0 ms index=25.3 ms transport=135715 ok=true +| 40 | 7 | 90654 | 19616 | 135715 | 12.1 | 5.0 | 25.3 | all ok, identical across runs | +run N=50 r=1 flights=7 (A 4 B 3) control=107390 data=24516 wall=17.2 ms commit=5.6 ms index=22.8 ms transport=156868 ok=true +| 50 | 7 | 107390 | 24516 | 156868 | 17.2 | 5.6 | 22.8 | all ok, identical across runs | +run N=75 r=1 flights=7 (A 4 B 3) control=153315 data=36766 wall=21.9 ms commit=12.0 ms index=23.6 ms transport=218053 ok=true +| 75 | 7 | 153315 | 36766 | 218053 | 21.9 | 12.0 | 23.6 | all ok, identical across runs | +run N=100 r=1 flights=7 (A 4 B 3) control=200969 data=49016 wall=22.9 ms commit=11.0 ms index=22.0 ms transport=278831 ok=true +| 100 | 7 | 200969 | 49016 | 278831 | 22.9 | 11.0 | 22.0 | all ok, identical across runs | +LogSync control for this chain count (S1, CBOR, not re-run): 76071 B, 2 flights before data. diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/logs/matrix-10k-k16-t16.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/logs/matrix-10k-k16-t16.txt new file mode 100644 index 0000000000..b748aa389e --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/logs/matrix-10k-k16-t16.txt @@ -0,0 +1,28 @@ +## matrix: chains=10000 K=16 T=16 batch=256 repeats=5 +| N | flights (A+B) | control B | data B | transport B (QUIC) | wall ms, median | of which commit ms, median | index ms, median | checks | +|---|---|---|---|---|---|---|---|---| +run N=0 r=1 flights=2 (A 1 B 1) control=33 data=16 wall=3.3 ms commit=0.0 ms index=240.0 ms transport=21594 ok=true +run N=0 r=2 flights=2 (A 1 B 1) control=33 data=16 wall=3.8 ms commit=0.0 ms index=223.6 ms transport=21546 ok=true +run N=0 r=3 flights=2 (A 1 B 1) control=33 data=16 wall=3.6 ms commit=0.0 ms index=149.2 ms transport=21644 ok=true +run N=0 r=4 flights=2 (A 1 B 1) control=33 data=16 wall=4.7 ms commit=0.0 ms index=136.8 ms transport=21487 ok=true +run N=0 r=5 flights=2 (A 1 B 1) control=33 data=16 wall=3.8 ms commit=0.0 ms index=154.0 ms transport=21557 ok=true +| 0 | 2 | 33 | 16 | 21557 | 3.8 | 0.0 | 154.0 | all ok, identical across runs | +run N=2 r=1 flights=8 (A 4 B 4) control=7422 data=996 wall=32.9 ms commit=4.4 ms index=157.9 ms transport=30541 ok=true +run N=2 r=2 flights=8 (A 4 B 4) control=7422 data=996 wall=32.1 ms commit=4.0 ms index=152.6 ms transport=30554 ok=true +run N=2 r=3 flights=8 (A 4 B 4) control=7422 data=996 wall=34.6 ms commit=4.8 ms index=156.8 ms transport=30814 ok=true +run N=2 r=4 flights=8 (A 4 B 4) control=7422 data=996 wall=32.5 ms commit=3.5 ms index=150.3 ms transport=30627 ok=true +run N=2 r=5 flights=8 (A 4 B 4) control=7422 data=996 wall=27.2 ms commit=4.3 ms index=152.3 ms transport=30562 ok=true +| 2 | 8 | 7422 | 996 | 30562 | 32.5 | 4.3 | 152.6 | all ok, identical across runs | +run N=20 r=1 flights=8 (A 4 B 4) control=63856 data=9816 wall=40.3 ms commit=8.1 ms index=157.3 ms transport=97867 ok=true +run N=20 r=2 flights=8 (A 4 B 4) control=63856 data=9816 wall=39.2 ms commit=7.2 ms index=154.0 ms transport=97797 ok=true +run N=20 r=3 flights=8 (A 4 B 4) control=63856 data=9816 wall=73.4 ms commit=5.1 ms index=194.0 ms transport=98268 ok=true +run N=20 r=4 flights=8 (A 4 B 4) control=63856 data=9816 wall=67.9 ms commit=7.0 ms index=202.0 ms transport=96486 ok=true +run N=20 r=5 flights=8 (A 4 B 4) control=63856 data=9816 wall=48.0 ms commit=5.5 ms index=182.5 ms transport=96331 ok=true +| 20 | 8 | 63856 | 9816 | 97797 | 48.0 | 7.0 | 182.5 | all ok, identical across runs | +run N=200 r=1 flights=8 (A 4 B 4) control=462479 data=98016 wall=120.0 ms commit=22.8 ms index=187.4 ms transport=595901 ok=true +run N=200 r=2 flights=8 (A 4 B 4) control=462479 data=98016 wall=84.9 ms commit=21.5 ms index=183.3 ms transport=599808 ok=true +run N=200 r=3 flights=8 (A 4 B 4) control=462479 data=98016 wall=84.7 ms commit=22.5 ms index=167.6 ms transport=595720 ok=true +run N=200 r=4 flights=8 (A 4 B 4) control=462479 data=98016 wall=67.3 ms commit=21.4 ms index=149.3 ms transport=599552 ok=true +run N=200 r=5 flights=8 (A 4 B 4) control=462479 data=98016 wall=61.8 ms commit=14.5 ms index=144.2 ms transport=600618 ok=true +| 200 | 8 | 462479 | 98016 | 599552 | 84.7 | 21.5 | 167.6 | all ok, identical across runs | +LogSync control for this chain count (S1, CBOR, not re-run): 760071 B, 2 flights before data. diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/logs/matrix-1k-k16-t16.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/logs/matrix-1k-k16-t16.txt new file mode 100644 index 0000000000..e2d77e7f53 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/logs/matrix-1k-k16-t16.txt @@ -0,0 +1,28 @@ +## matrix: chains=1000 K=16 T=16 batch=256 repeats=5 +| N | flights (A+B) | control B | data B | transport B (QUIC) | wall ms, median | of which commit ms, median | index ms, median | checks | +|---|---|---|---|---|---|---|---|---| +run N=0 r=1 flights=2 (A 1 B 1) control=33 data=16 wall=2.1 ms commit=0.0 ms index=34.7 ms transport=21527 ok=true +run N=0 r=2 flights=2 (A 1 B 1) control=33 data=16 wall=1.9 ms commit=0.0 ms index=32.6 ms transport=21627 ok=true +run N=0 r=3 flights=2 (A 1 B 1) control=33 data=16 wall=1.8 ms commit=0.0 ms index=22.8 ms transport=21726 ok=true +run N=0 r=4 flights=2 (A 1 B 1) control=33 data=16 wall=1.8 ms commit=0.0 ms index=24.0 ms transport=21594 ok=true +run N=0 r=5 flights=2 (A 1 B 1) control=33 data=16 wall=1.7 ms commit=0.0 ms index=22.7 ms transport=21618 ok=true +| 0 | 2 | 33 | 16 | 21618 | 1.8 | 0.0 | 24.0 | all ok, identical across runs | +run N=2 r=1 flights=7 (A 4 B 3) control=6554 data=996 wall=10.2 ms commit=6.7 ms index=23.3 ms transport=29779 ok=true +run N=2 r=2 flights=7 (A 4 B 3) control=6554 data=996 wall=9.2 ms commit=5.1 ms index=25.4 ms transport=29645 ok=true +run N=2 r=3 flights=7 (A 4 B 3) control=6554 data=996 wall=6.7 ms commit=3.2 ms index=22.7 ms transport=29490 ok=true +run N=2 r=4 flights=7 (A 4 B 3) control=6554 data=996 wall=13.0 ms commit=8.5 ms index=26.3 ms transport=29586 ok=true +run N=2 r=5 flights=7 (A 4 B 3) control=6554 data=996 wall=12.2 ms commit=8.3 ms index=32.9 ms transport=29569 ok=true +| 2 | 7 | 6554 | 996 | 29586 | 10.2 | 6.7 | 25.4 | all ok, identical across runs | +run N=20 r=1 flights=7 (A 4 B 3) control=50939 data=9816 wall=10.5 ms commit=4.2 ms index=20.5 ms transport=84451 ok=true +run N=20 r=2 flights=7 (A 4 B 3) control=50939 data=9816 wall=15.3 ms commit=8.6 ms index=26.1 ms transport=84464 ok=true +run N=20 r=3 flights=7 (A 4 B 3) control=50939 data=9816 wall=15.2 ms commit=4.0 ms index=29.1 ms transport=84292 ok=true +run N=20 r=4 flights=7 (A 4 B 3) control=50939 data=9816 wall=11.5 ms commit=4.3 ms index=26.3 ms transport=84332 ok=true +run N=20 r=5 flights=7 (A 4 B 3) control=50939 data=9816 wall=14.3 ms commit=8.8 ms index=26.2 ms transport=84298 ok=true +| 20 | 7 | 50939 | 9816 | 84332 | 14.3 | 4.3 | 26.2 | all ok, identical across runs | +run N=200 r=1 flights=7 (A 4 B 3) control=354280 data=98016 wall=29.9 ms commit=9.6 ms index=20.8 ms transport=490555 ok=true +run N=200 r=2 flights=7 (A 4 B 3) control=354280 data=98016 wall=34.8 ms commit=16.0 ms index=27.0 ms transport=489041 ok=true +run N=200 r=3 flights=7 (A 4 B 3) control=354280 data=98016 wall=41.1 ms commit=19.7 ms index=27.1 ms transport=488726 ok=true +run N=200 r=4 flights=7 (A 4 B 3) control=354280 data=98016 wall=37.8 ms commit=15.3 ms index=20.6 ms transport=487534 ok=true +run N=200 r=5 flights=7 (A 4 B 3) control=354280 data=98016 wall=30.5 ms commit=11.5 ms index=21.1 ms transport=490325 ok=true +| 200 | 7 | 354280 | 98016 | 489041 | 34.8 | 15.3 | 21.1 | all ok, identical across runs | +LogSync control for this chain count (S1, CBOR, not re-run): 76071 B, 2 flights before data. diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/logs/scenarios.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/logs/scenarios.txt new file mode 100644 index 0000000000..c138a4ef30 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/logs/scenarios.txt @@ -0,0 +1,33 @@ +(b) XOR cancellation, in memory on crafted IDs (real BLAKE3 IDs cannot be steered this way) + b1: fingerprints equal: true, counts 3 vs 2 + PASS b1: the count check catches it: flights=4, both sides learned the true 5-item difference: true + b2: fingerprints equal: true, counts 2 vs 2 + PASS b2: equal fingerprint and count is not caught: flights=2, learned A=0 B=0, true difference=4: the 4 events are missed + note: 128-bit fingerprints make a chance match 2^-128 per compared range. Constructing one with + real events needs a 4-way XOR collision (about 2^43 signed events by generalized birthday). +(a) sequence gap: chain 7 lacks seq 20 on the acceptor, and has seq 21..49 + PASS gap is present before sync: gaps=1 bad links=0 + PASS height-only comparison sees no difference: authors whose largest seq differs: 0 of 1000 + PASS range sync moves exactly the missing event: acceptor inserted 1, dialer inserted 0, learned = true diff: true + PASS stores equal after sync: every row matches + PASS chain 7 is contiguous with valid links: gaps=0 bad links=0 + flights (A+B): 7, control bytes: 3749 +(c) bounds at keys with 0x00 bytes: authors with zero bytes at chosen public-key positions + 50 authors, 17 of them with a 0x00 byte in the public key; every seq < 256 also has 0x00 bytes + PASS (c) in-memory run learns the true difference: K=2 T=1: flights 16 ok=true; K=2 T=4: flights 14 ok=true; K=16 T=16: flights 6 ok=true; K=32 T=16: flights 6 ok=true; K=4 T=8: flights 9 ok=true + PASS (c) wire sync with zero-byte keys is exact: acceptor inserted 20 of 20, stores equal: true + PASS (c) links valid after sync: gaps=0 bad links=0 +(d) interrupted session, restarted from scratch (1,000 chains; 60 chains get 3 new events each) + cut run: dialer error = Some("cut before record 101") + cut run: acceptor error = Some("connection lost: closed by peer: cut (code 1)") + PASS (d1) both sides report the cut: dialer err=true, acceptor err=true + PASS (d1) only whole batches committed: 96 of 180 new events committed (batch 32) + PASS (d1) store consistent after the cut: gaps=0 bad links=0 + PASS (d1) committed events are the ones in the store: 96 of the new events are in the store, 96 new rows + PASS (d1) restart sends only what is missing: restart inserted 84 (expected 84), duplicates 0 + PASS (d1) restart learns exactly the missing events: learned 84 and 84, missing 84 + PASS (d1) stores equal after restart: stores equal: true + PASS (d1) links valid after restart: gaps=0 bad links=0 + PASS (d2) cut during reconciliation commits nothing: dialer err=true, acceptor err=true, new rows=0 + PASS (d2) restart completes with no duplicates: restart inserted 180 of 180, stores equal: true +failures: 0 diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/logs/sweep-10k.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/logs/sweep-10k.txt new file mode 100644 index 0000000000..0cf812531e --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/logs/sweep-10k.txt @@ -0,0 +1,30 @@ +## sweep: chains=10000 (one run per row, bytes and flights are deterministic) +| K | T | N | flights | control B | data B | ok | +|---|---|---|---|---|---|---| +| 4 | 4 | 2 | 13 | 4545 | 996 | true | +| 4 | 4 | 20 | 13 | 41282 | 9816 | true | +| 4 | 4 | 200 | 13 | 315259 | 98016 | true | +| 4 | 8 | 2 | 12 | 4672 | 996 | true | +| 4 | 8 | 20 | 12 | 43503 | 9816 | true | +| 4 | 8 | 200 | 12 | 334836 | 98016 | true | +| 4 | 16 | 2 | 12 | 4672 | 996 | true | +| 4 | 16 | 20 | 12 | 43503 | 9816 | true | +| 4 | 16 | 200 | 12 | 334836 | 98016 | true | +| 8 | 4 | 2 | 10 | 5479 | 996 | true | +| 8 | 4 | 20 | 10 | 47319 | 9816 | true | +| 8 | 4 | 200 | 10 | 356764 | 98016 | true | +| 8 | 8 | 2 | 10 | 5479 | 996 | true | +| 8 | 8 | 20 | 10 | 47319 | 9816 | true | +| 8 | 8 | 200 | 10 | 356764 | 98016 | true | +| 8 | 16 | 2 | 9 | 6350 | 996 | true | +| 8 | 16 | 20 | 10 | 55328 | 9816 | true | +| 8 | 16 | 200 | 10 | 431418 | 98016 | true | +| 16 | 4 | 2 | 9 | 7343 | 996 | true | +| 16 | 4 | 20 | 9 | 63349 | 9816 | true | +| 16 | 4 | 200 | 9 | 458335 | 98016 | true | +| 16 | 8 | 2 | 8 | 7422 | 996 | true | +| 16 | 8 | 20 | 8 | 63856 | 9816 | true | +| 16 | 8 | 200 | 8 | 462479 | 98016 | true | +| 16 | 16 | 2 | 8 | 7422 | 996 | true | +| 16 | 16 | 20 | 8 | 63856 | 9816 | true | +| 16 | 16 | 200 | 8 | 462479 | 98016 | true | diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/logs/sweep-1k.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/logs/sweep-1k.txt new file mode 100644 index 0000000000..2e59cefcc5 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/logs/sweep-1k.txt @@ -0,0 +1,63 @@ +## sweep: chains=1000 (one run per row, bytes and flights are deterministic) +| K | T | N | flights | control B | data B | ok | +|---|---|---|---|---|---|---| +| 2 | 4 | 2 | 18 | 4813 | 996 | true | +| 2 | 4 | 20 | 18 | 35312 | 9816 | true | +| 2 | 4 | 200 | 18 | 263470 | 98016 | true | +| 2 | 8 | 2 | 17 | 4870 | 996 | true | +| 2 | 8 | 20 | 17 | 36942 | 9816 | true | +| 2 | 8 | 200 | 17 | 279725 | 98016 | true | +| 2 | 16 | 2 | 16 | 5247 | 996 | true | +| 2 | 16 | 20 | 16 | 41671 | 9816 | true | +| 2 | 16 | 200 | 16 | 324907 | 98016 | true | +| 2 | 32 | 2 | 15 | 6584 | 996 | true | +| 2 | 32 | 20 | 15 | 54311 | 9816 | true | +| 2 | 32 | 200 | 15 | 454267 | 98016 | true | +| 4 | 4 | 2 | 11 | 3912 | 996 | true | +| 4 | 4 | 20 | 11 | 31777 | 9816 | true | +| 4 | 4 | 200 | 11 | 236741 | 98016 | true | +| 4 | 8 | 2 | 11 | 3912 | 996 | true | +| 4 | 8 | 20 | 11 | 31777 | 9816 | true | +| 4 | 8 | 200 | 11 | 236741 | 98016 | true | +| 4 | 16 | 2 | 10 | 4551 | 996 | true | +| 4 | 16 | 20 | 10 | 37821 | 9816 | true | +| 4 | 16 | 200 | 10 | 296377 | 98016 | true | +| 4 | 32 | 2 | 10 | 4551 | 996 | true | +| 4 | 32 | 20 | 10 | 37821 | 9816 | true | +| 4 | 32 | 200 | 10 | 296377 | 98016 | true | +| 8 | 4 | 2 | 9 | 4815 | 996 | true | +| 8 | 4 | 20 | 9 | 36848 | 9816 | true | +| 8 | 4 | 200 | 9 | 272688 | 98016 | true | +| 8 | 8 | 2 | 9 | 4815 | 996 | true | +| 8 | 8 | 20 | 9 | 36848 | 9816 | true | +| 8 | 8 | 200 | 9 | 272688 | 98016 | true | +| 8 | 16 | 2 | 8 | 4996 | 996 | true | +| 8 | 16 | 20 | 8 | 40656 | 9816 | true | +| 8 | 16 | 200 | 8 | 308627 | 98016 | true | +| 8 | 32 | 2 | 8 | 4996 | 996 | true | +| 8 | 32 | 20 | 8 | 40656 | 9816 | true | +| 8 | 32 | 200 | 8 | 308627 | 98016 | true | +| 16 | 4 | 2 | 8 | 6415 | 996 | true | +| 16 | 4 | 20 | 8 | 49604 | 9816 | true | +| 16 | 4 | 200 | 8 | 340920 | 98016 | true | +| 16 | 8 | 2 | 8 | 6415 | 996 | true | +| 16 | 8 | 20 | 8 | 49604 | 9816 | true | +| 16 | 8 | 200 | 8 | 340920 | 98016 | true | +| 16 | 16 | 2 | 7 | 6554 | 996 | true | +| 16 | 16 | 20 | 7 | 50939 | 9816 | true | +| 16 | 16 | 200 | 7 | 354280 | 98016 | true | +| 16 | 32 | 2 | 7 | 6554 | 996 | true | +| 16 | 32 | 20 | 7 | 50939 | 9816 | true | +| 16 | 32 | 200 | 7 | 354280 | 98016 | true | +| 32 | 4 | 2 | 7 | 9775 | 996 | true | +| 32 | 4 | 20 | 7 | 73383 | 9816 | true | +| 32 | 4 | 200 | 7 | 492245 | 98016 | true | +| 32 | 8 | 2 | 7 | 9775 | 996 | true | +| 32 | 8 | 20 | 7 | 73383 | 9816 | true | +| 32 | 8 | 200 | 7 | 492245 | 98016 | true | +| 32 | 16 | 2 | 7 | 9775 | 996 | true | +| 32 | 16 | 20 | 7 | 73383 | 9816 | true | +| 32 | 16 | 200 | 7 | 492245 | 98016 | true | +| 32 | 32 | 2 | 7 | 9775 | 996 | true | +| 32 | 32 | 20 | 7 | 73383 | 9816 | true | +| 32 | 32 | 200 | 7 | 492245 | 98016 | true | diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/src/bin/bench.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/src/bin/bench.rs new file mode 100644 index 0000000000..78b306d268 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/src/bin/bench.rs @@ -0,0 +1,276 @@ +//! Range sync over iroh on real redb stores: the main matrix, and the K/T sweep. +//! +//! Each run copies the base store twice. The dialer's copy gets N new events on N distinct +//! chains (spread evenly, as S1 did). Both sides then sync over localhost with +//! `RelayMode::Disabled`, and the run is checked against the ground truth. +//! +//! Usage: +//! bench matrix +//! bench sweep + +use anyhow::{Context, Result, bail}; +use s7_range_real::chain::{self, EVENTS_PER_CHAIN, chain_events, chain_key}; +use s7_range_real::range::simulate; +use s7_range_real::session::{Cut, Params, Side, sync_pair}; +use s7_range_real::store::{Id, Item, Store, key_of}; +use std::collections::HashSet; +use std::path::{Path, PathBuf}; +use std::sync::Arc; +use std::time::{Duration, Instant}; + +/// S1's LogSync control bytes, CBOR: two Have messages, PreSync and two Done. Their size depends +/// on the chain count only, so they do not change with N. Taken from S1's log_sizes run and +/// not re-measured here. +fn logsync_control(chains: usize) -> Option { + match chains { + 1000 => Some(76_071), + 10_000 => Some(760_071), + _ => None, + } +} + +/// Copies the base store to two files, adds `n_new` events to the first, and returns the paths +/// and the IDs of the new events (the ground truth for the symmetric difference). +fn prepare(dir: &Path, base: &Path, tag: &str, chains: usize, n_new: usize) -> Result<(PathBuf, PathBuf, HashSet)> { + let a = dir.join(format!("a-{tag}.redb")); + let b = dir.join(format!("b-{tag}.redb")); + std::fs::copy(base, &a)?; + std::fs::copy(base, &b)?; + let store = Store::open(&a)?; + let mut items = Vec::with_capacity(n_new); + let mut truth = HashSet::with_capacity(n_new); + for j in 0..n_new { + let chain = j * chains / n_new; + let next = chain_events(&chain_key(chain), EVENTS_PER_CHAIN + 1) + .pop() + .context("chain has no next event")?; + let v = chain::verify(&next.header, &next.body)?; + truth.insert(v.id); + items.push(Item { + key: key_of(&v.author, v.seq), + id: v.id, + record: chain::record(&next.header, &next.body), + }); + } + store.insert(&items)?; + // Flush the copies, so that a commit's fsync inside the timed run does not wait for them. + std::fs::File::open(&a)?.sync_all()?; + std::fs::File::open(&b)?.sync_all()?; + Ok((a, b, truth)) +} + +#[derive(Clone, Default)] +struct Record { + flights: u32, + flights_a: u32, + flights_b: u32, + control: usize, + data: usize, + wall: Duration, + /// Redb commit time on the acceptor and dialer, summed. Included in `wall`. + commit: Duration, + index: Duration, + transport: u64, + sim_flights: u32, + failures: Vec, +} + +impl Record { + fn ok(&self) -> bool { + self.failures.is_empty() + } +} + +async fn sync_once(dir: &Path, base: &Path, chains: usize, n_new: usize, p: Params, tag: &str) -> Result { + let (a_path, b_path, truth) = prepare(dir, base, tag, chains, n_new)?; + let mut rec = Record::default(); + + let started = Instant::now(); + let store_a = Arc::new(Store::open(&a_path)?); + let party_a = Arc::new(store_a.index()?); + let store_b = Arc::new(Store::open(&b_path)?); + let party_b = Arc::new(store_b.index()?); + rec.index = started.elapsed(); + + // The in-memory run of the same scheme. Its bytes must match the wire run. + let sim = simulate(&party_a, &party_b, p.t, p.k); + rec.sim_flights = sim.flights; + + let run = sync_pair( + Side { store: store_a.clone(), party: party_a.clone() }, + Side { store: store_b.clone(), party: party_b.clone() }, + p, + Cut::Never, + ) + .await?; + rec.wall = run.wall; + rec.transport = run.transport_bytes; + + let out_a = match run.dialer { + Ok(o) => Some(o), + Err(e) => { + rec.failures.push(format!("dialer: {e:#}")); + None + } + }; + let out_b = match run.acceptor { + Ok(o) => Some(o), + Err(e) => { + rec.failures.push(format!("acceptor: {e:#}")); + None + } + }; + if let (Some(a), Some(b)) = (&out_a, &out_b) { + rec.flights_a = a.flights; + rec.flights_b = b.flights; + rec.flights = a.flights + b.flights; + rec.control = a.control_bytes + b.control_bytes; + rec.data = a.data_bytes + b.data_bytes; + rec.commit = a.commit + b.commit; + + if a.inserted != 0 { + rec.failures.push(format!("dialer inserted {}", a.inserted)); + } + if b.inserted != n_new { + rec.failures.push(format!("acceptor inserted {} of {n_new}", b.inserted)); + } + if a.duplicates + b.duplicates != 0 { + rec.failures.push("duplicate inserts".into()); + } + if a.learned != truth || b.learned != truth { + rec.failures.push("a side did not learn the true difference".into()); + } + if rec.flights != sim.flights || rec.control != sim.bytes_a + sim.bytes_b + 4 * sim.flights as usize { + rec.failures.push(format!( + "wire run differs from in-memory run: flights {} vs {}, control {} vs {}", + rec.flights, + sim.flights, + rec.control, + sim.bytes_a + sim.bytes_b + 4 * sim.flights as usize + )); + } + } + + let pairs_a = store_a.pairs()?; + let pairs_b = store_b.pairs()?; + let expected = chains * EVENTS_PER_CHAIN as usize + n_new; + if pairs_a != pairs_b || pairs_a.len() != expected { + rec.failures.push(format!( + "stores differ after sync: rows {} vs {}, expected {expected}", + pairs_a.len(), + pairs_b.len() + )); + } + + drop((party_a, party_b, store_a, store_b)); + let _ = std::fs::remove_file(&a_path); + let _ = std::fs::remove_file(&b_path); + Ok(rec) +} + +fn median(mut v: Vec) -> Duration { + v.sort(); + v[v.len() / 2] +} + +fn parse_list(s: &str) -> Result> { + s.split(',').map(|x| x.trim().parse::().map_err(Into::into)).collect() +} + +fn fmt_ms(d: Duration) -> String { + format!("{:.1}", d.as_secs_f64() * 1e3) +} + +async fn matrix(dir: &Path, chains: usize, repeats: usize, p: Params, ns: &[usize]) -> Result<()> { + let base = dir.join(format!("base-{chains}.redb")); + println!("## matrix: chains={chains} K={} T={} batch={} repeats={repeats}", p.k, p.t, p.batch); + println!("| N | flights (A+B) | control B | data B | transport B (QUIC) | wall ms, median | of which commit ms, median | index ms, median | checks |"); + println!("|---|---|---|---|---|---|---|---|---|"); + for &n in ns { + let mut runs = Vec::new(); + for r in 0..repeats { + let rec = sync_once(dir, &base, chains, n, p, &format!("m{n}-{r}")).await?; + println!( + "run N={n} r={} flights={} (A {} B {}) control={} data={} wall={} ms commit={} ms index={} ms transport={} ok={}{}", + r + 1, + rec.flights, + rec.flights_a, + rec.flights_b, + rec.control, + rec.data, + fmt_ms(rec.wall), + fmt_ms(rec.commit), + fmt_ms(rec.index), + rec.transport, + rec.ok(), + if rec.ok() { String::new() } else { format!(" FAILED: {}", rec.failures.join("; ")) } + ); + runs.push(rec); + } + let first = &runs[0]; + let same = runs.iter().all(|r| r.flights == first.flights && r.control == first.control && r.data == first.data); + let all_ok = runs.iter().all(Record::ok); + let mut transport: Vec = runs.iter().map(|r| r.transport).collect(); + transport.sort(); + println!( + "| {n} | {} | {} | {} | {} | {} | {} | {} | {} |", + first.flights, + first.control, + first.data, + transport[transport.len() / 2], + fmt_ms(median(runs.iter().map(|r| r.wall).collect())), + fmt_ms(median(runs.iter().map(|r| r.commit).collect())), + fmt_ms(median(runs.iter().map(|r| r.index).collect())), + if all_ok && same { "all ok, identical across runs" } else { "SEE RUN LINES" } + ); + } + if let Some(ls) = logsync_control(chains) { + println!("LogSync control for this chain count (S1, CBOR, not re-run): {ls} B, 2 flights before data."); + } + Ok(()) +} + +async fn sweep(dir: &Path, chains: usize, ks: &[usize], ts: &[usize], ns: &[usize]) -> Result<()> { + let base = dir.join(format!("base-{chains}.redb")); + println!("## sweep: chains={chains} (one run per row, bytes and flights are deterministic)"); + println!("| K | T | N | flights | control B | data B | ok |"); + println!("|---|---|---|---|---|---|---|"); + for &k in ks { + for &t in ts { + for &n in ns { + let p = Params { k, t, batch: 256 }; + let rec = sync_once(dir, &base, chains, n, p, &format!("s{k}-{t}-{n}")).await?; + println!( + "| {k} | {t} | {n} | {} | {} | {} | {}{} |", + rec.flights, + rec.control, + rec.data, + rec.ok(), + if rec.ok() { String::new() } else { format!(" {}", rec.failures.join("; ")) } + ); + } + } + } + Ok(()) +} + +#[tokio::main] +async fn main() -> Result<()> { + let args: Vec = std::env::args().skip(1).collect(); + let arg = |i: usize| -> Result<&str> { args.get(i).map(String::as_str).context("missing argument") }; + match arg(0)? { + "matrix" => { + let dir = PathBuf::from(arg(1)?); + let chains: usize = arg(2)?.parse()?; + let repeats: usize = arg(3)?.parse()?; + let p = Params { k: arg(4)?.parse()?, t: arg(5)?.parse()?, batch: 256 }; + matrix(&dir, chains, repeats, p, &parse_list(arg(6)?)?).await + } + "sweep" => { + let dir = PathBuf::from(arg(1)?); + let chains: usize = arg(2)?.parse()?; + sweep(&dir, chains, &parse_list(arg(3)?)?, &parse_list(arg(4)?)?, &parse_list(arg(5)?)?).await + } + other => bail!("unknown command {other}"), + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/src/bin/gen.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/src/bin/gen.rs new file mode 100644 index 0000000000..68ecedc079 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/src/bin/gen.rs @@ -0,0 +1,53 @@ +//! Builds the base store: `chains` device chains, 50 signed events each, every event verified +//! with `AnyHeader::decode` before it is stored. +//! +//! Usage: gen -> /base-.redb + +use anyhow::{Result, bail}; +use s7_range_real::chain::{self, EVENTS_PER_CHAIN, chain_events, chain_key}; +use s7_range_real::store::{Item, Store, key_of}; +use std::path::PathBuf; +use std::time::Instant; + +fn main() -> Result<()> { + let args: Vec = std::env::args().collect(); + if args.len() != 3 { + bail!("usage: gen "); + } + let dir = PathBuf::from(&args[1]); + let chains: usize = args[2].parse()?; + std::fs::create_dir_all(&dir)?; + let path = dir.join(format!("base-{chains}.redb")); + let _ = std::fs::remove_file(&path); + let store = Store::open(&path)?; + + let started = Instant::now(); + let mut verified = 0usize; + let mut pending: Vec = Vec::new(); + for i in 0..chains { + for ev in chain_events(&chain_key(i), EVENTS_PER_CHAIN) { + let v = chain::verify(&ev.header, &ev.body)?; + verified += 1; + pending.push(Item { + key: key_of(&v.author, v.seq), + id: v.id, + record: chain::record(&ev.header, &ev.body), + }); + if pending.len() == 10_000 { + store.insert(&pending)?; + pending.clear(); + } + } + } + store.insert(&pending)?; + let elapsed = started.elapsed(); + let (events, rows) = store.counts()?; + let bytes = std::fs::metadata(&path)?.len(); + println!( + "gen: chains={chains} events={events} rows={rows} verified={verified} \ + time={:.1}s file={:.1} MB", + elapsed.as_secs_f64(), + bytes as f64 / 1e6 + ); + Ok(()) +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/src/bin/scenarios.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/src/bin/scenarios.rs new file mode 100644 index 0000000000..5d74738f0b --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/src/bin/scenarios.rs @@ -0,0 +1,448 @@ +//! The "what could be missed" checks, on real stores over iroh (except (b), which runs the +//! scheme in memory on crafted IDs). +//! +//! (a) a chain with a sequence gap on one side +//! (b) XOR cancellation: same fingerprint, with and without the count check +//! (c) bounds at keys containing 0x00 bytes +//! (d) an interrupted session, restarted from scratch +//! +//! Usage: scenarios + +use anyhow::{Context, Result, bail}; +use p2panda_core::SigningKey; +use s7_range_real::chain::{self, EVENTS_PER_CHAIN, chain_events, chain_key, split_record}; +use s7_range_real::range::{Party, simulate}; +use s7_range_real::session::{Cut, Params, Run, Side, sync_pair}; +use s7_range_real::store::{Id, Item, Key, Store, key_of}; +use std::collections::HashSet; +use std::path::{Path, PathBuf}; +use std::sync::Arc; + +#[derive(Default)] +struct Report { + failures: usize, +} + +impl Report { + fn check(&mut self, name: &str, ok: bool, detail: impl AsRef) { + if ok { + println!(" PASS {name}: {}", detail.as_ref()); + } else { + self.failures += 1; + println!(" FAIL {name}: {}", detail.as_ref()); + } + } +} + +/// Copies `base` to `dst` and returns its path. +fn copy_to(base: &Path, dst: PathBuf) -> Result { + let _ = std::fs::remove_file(&dst); + std::fs::copy(base, &dst)?; + Ok(dst) +} + +/// Adds events `EVENTS_PER_CHAIN..EVENTS_PER_CHAIN + count` on each `(key, count)` to a store. +/// Returns the IDs added. +fn add_next(path: &Path, extra: &[(&SigningKey, u32)]) -> Result> { + let store = Store::open(path)?; + let mut items = Vec::new(); + let mut ids = HashSet::new(); + for (key, count) in extra { + let events = chain_events(key, EVENTS_PER_CHAIN + count); + for ev in events.iter().skip(EVENTS_PER_CHAIN as usize) { + let v = chain::verify(&ev.header, &ev.body)?; + ids.insert(v.id); + items.push(Item { + key: key_of(&v.author, v.seq), + id: v.id, + record: chain::record(&ev.header, &ev.body), + }); + } + } + store.insert(&items)?; + Ok(ids) +} + +/// Checks each author's rows: a missing seq counts as a gap, and a row whose predecessor is held +/// must link to it by backlink. Returns (gaps, bad links). +fn audit(store: &Store) -> Result<(usize, usize)> { + let mut gaps = 0usize; + let mut bad = 0usize; + let mut prev: Option<([u8; 32], u32, Id)> = None; + for (key, id) in store.pairs()? { + let author: [u8; 32] = key[..32].try_into()?; + let seq = u64::from_be_bytes(key[32..].try_into()?) as u32; + let same = matches!(prev, Some((a, _, _)) if a == author); + if same { + let (_, ps, pid) = prev.context("prev")?; + if seq > ps + 1 { + gaps += (seq - ps - 1) as usize; + } + if seq == ps + 1 { + let rec = store.record(&id)?; + let (header, body) = split_record(&rec)?; + if chain::verify(header, body)?.backlink != Some(pid) { + bad += 1; + } + } + } else if seq != 0 { + gaps += seq as usize; + } + prev = Some((author, seq, id)); + } + Ok((gaps, bad)) +} + +async fn sync_paths(a: &Path, b: &Path, p: Params, cut: Cut) -> Result<(Run, Arc, Arc)> { + let store_a = Arc::new(Store::open(a)?); + let party_a = Arc::new(store_a.index()?); + let store_b = Arc::new(Store::open(b)?); + let party_b = Arc::new(store_b.index()?); + let run = sync_pair( + Side { store: store_a.clone(), party: party_a }, + Side { store: store_b.clone(), party: party_b }, + p, + cut, + ) + .await?; + Ok((run, store_a, store_b)) +} + +fn same_rows(a: &Store, b: &Store) -> Result { + Ok(a.pairs()? == b.pairs()? && a.counts()? == b.counts()?) +} + +// (a) ------------------------------------------------------------------------------------------ + +async fn scenario_a(dir: &Path, base: &Path, rep: &mut Report) -> Result<()> { + println!("(a) sequence gap: chain 7 lacks seq 20 on the acceptor, and has seq 21..49"); + let victim = chain_key(7); + let author = *victim.verifying_key().as_bytes(); + let truth: HashSet = [chain_events(&victim, EVENTS_PER_CHAIN)[20].id()].into_iter().collect(); + + let a = copy_to(base, dir.join("a-gap.redb"))?; + let b = copy_to(base, dir.join("b-gap.redb"))?; + Store::open(&b)?.remove(&key_of(&author, 20))?; + + let store_b = Store::open(&b)?; + let (gaps_before, bad_before) = audit(&store_b)?; + rep.check("gap is present before sync", gaps_before == 1 && bad_before == 0, format!("gaps={gaps_before} bad links={bad_before}")); + drop(store_b); + + // Height view: the largest seq per author, as a height-based Have message would carry. + let heights = |path: &Path| -> Result> { + let store = Store::open(path)?; + let mut h = std::collections::BTreeMap::new(); + for (key, _) in store.pairs()? { + let author: [u8; 32] = key[..32].try_into()?; + let seq = u64::from_be_bytes(key[32..].try_into()?) as u32; + let e = h.entry(author).or_insert(0); + *e = (*e).max(seq); + } + Ok(h) + }; + let (ha, hb) = (heights(&a)?, heights(&b)?); + let height_diffs = ha.iter().filter(|(k, v)| hb.get(*k) != Some(v)).count(); + rep.check( + "height-only comparison sees no difference", + height_diffs == 0, + format!("authors whose largest seq differs: {height_diffs} of {}", ha.len()), + ); + + let (run, sa, sb) = sync_paths(&a, &b, Params { k: 16, t: 16, batch: 256 }, Cut::Never).await?; + let out_a = run.dialer?; + let out_b = run.acceptor?; + rep.check( + "range sync moves exactly the missing event", + out_b.inserted == 1 && out_a.inserted == 0 && out_b.learned == truth && out_a.learned == truth, + format!( + "acceptor inserted {}, dialer inserted {}, learned = true diff: {}", + out_b.inserted, + out_a.inserted, + out_a.learned == truth && out_b.learned == truth + ), + ); + rep.check("stores equal after sync", same_rows(&sa, &sb)?, "every row matches"); + let (gaps, bad) = audit(&sb)?; + rep.check("chain 7 is contiguous with valid links", gaps == 0 && bad == 0, format!("gaps={gaps} bad links={bad}")); + println!(" flights (A+B): {}, control bytes: {}", out_a.flights + out_b.flights, out_a.control_bytes + out_b.control_bytes); + Ok(()) +} + +// (b) ------------------------------------------------------------------------------------------ + +/// The 16-byte truncation of an ID, as the fingerprint sees it. +fn trunc(id: &Id) -> [u8; 16] { + id[..16].try_into().expect("16 bytes") +} + +fn xor16(a: &[u8; 16], b: &[u8; 16]) -> [u8; 16] { + std::array::from_fn(|i| a[i] ^ b[i]) +} + +fn synthetic_id(tag: &str) -> Id { + *blake3::hash(tag.as_bytes()).as_bytes() +} + +/// An ID whose first 16 bytes are `target` XOR `other`, so that `fp` matches under XOR. +fn id_with_truncation(seed: &str, target: [u8; 16]) -> Id { + let mut id = synthetic_id(seed); + for (dst, t) in id[..16].iter_mut().zip(target) { + *dst = t; + } + id +} + +fn party_of(author: u8, ids: &[Id]) -> Party { + let mut items: Vec<(Key, Id)> = ids + .iter() + .enumerate() + .map(|(seq, id)| (key_of(&[author; 32], seq as u32), *id)) + .collect(); + items.sort_by_key(|(k, _)| *k); + let (keys, ids): (Vec, Vec) = items.into_iter().unzip(); + Party::new(keys, ids) +} + +fn scenario_b(rep: &mut Report) { + println!("(b) XOR cancellation, in memory on crafted IDs (real BLAKE3 IDs cannot be steered this way)"); + + // b1. Unequal sizes: A holds {a, b, e} and B holds {c, d}, with equal XOR fingerprints. + let a = synthetic_id("b1-a"); + let b = synthetic_id("b1-b"); + let e = synthetic_id("b1-e"); + let c = synthetic_id("b1-c"); + let d = id_with_truncation("b1-d", xor16(&xor16(&trunc(&a), &trunc(&b)), &xor16(&trunc(&e), &trunc(&c)))); + let fp_a = [a, b, e].iter().fold([0u8; 16], |acc, id| xor16(&acc, &trunc(id))); + let fp_b = [c, d].iter().fold([0u8; 16], |acc, id| xor16(&acc, &trunc(id))); + println!(" b1: fingerprints equal: {}, counts 3 vs 2", fp_a == fp_b); + let pa = party_of(0x0A, &[a, b, e]); + let pb = party_of(0x0B, &[c, d]); + let sim = simulate(&pa, &pb, 16, 16); + let truth: HashSet = [a, b, e, c, d].into_iter().collect(); + rep.check( + "b1: the count check catches it", + sim.learned_a == truth && sim.learned_b == truth && sim.flights > 2, + format!("flights={}, both sides learned the true 5-item difference: {}", sim.flights, sim.learned_a == truth && sim.learned_b == truth), + ); + + // b2. Equal sizes: A holds {a, b}, B holds {c, d}, with equal XOR fingerprints and equal counts. + let a2 = synthetic_id("b2-a"); + let b2 = synthetic_id("b2-b"); + let c2 = synthetic_id("b2-c"); + let d2 = id_with_truncation("b2-d", xor16(&xor16(&trunc(&a2), &trunc(&b2)), &trunc(&c2))); + let fp_a2 = [a2, b2].iter().fold([0u8; 16], |acc, id| xor16(&acc, &trunc(id))); + let fp_b2 = [c2, d2].iter().fold([0u8; 16], |acc, id| xor16(&acc, &trunc(id))); + println!(" b2: fingerprints equal: {}, counts 2 vs 2", fp_a2 == fp_b2); + let pa2 = party_of(0x0A, &[a2, b2]); + let pb2 = party_of(0x0B, &[c2, d2]); + let sim2 = simulate(&pa2, &pb2, 16, 16); + let truth2: HashSet = [a2, b2, c2, d2].into_iter().collect(); + rep.check( + "b2: equal fingerprint and count is not caught", + sim2.flights == 2 && sim2.learned_a.is_empty() && sim2.learned_b.is_empty() && truth2.len() == 4, + format!( + "flights={}, learned A={} B={}, true difference={}: the 4 events are missed", + sim2.flights, + sim2.learned_a.len(), + sim2.learned_b.len(), + truth2.len() + ), + ); + println!(" note: 128-bit fingerprints make a chance match 2^-128 per compared range. Constructing one with"); + println!(" real events needs a 4-way XOR collision (about 2^43 signed events by generalized birthday)."); +} + +// (c) ------------------------------------------------------------------------------------------ + +/// A key whose public key has zero bytes at the given positions. Ground by trying seeds. +fn grind(zero_at: &[usize], salt: u64) -> SigningKey { + let mut i = 0u64; + loop { + let seed = *blake3::hash(&[&salt.to_be_bytes()[..], &i.to_be_bytes()[..]].concat()).as_bytes(); + let key = SigningKey::from_bytes(&seed); + let pk = *key.verifying_key().as_bytes(); + if zero_at.iter().all(|&p| pk[p] == 0) { + return key; + } + i += 1; + } +} + +async fn scenario_c(dir: &Path, rep: &mut Report) -> Result<()> { + println!("(c) bounds at keys with 0x00 bytes: authors with zero bytes at chosen public-key positions"); + let mut keys: Vec = Vec::new(); + for salt in 0..4 { + keys.push(grind(&[0, 1], 100 + salt)); + } + for salt in 0..2 { + keys.push(grind(&[15, 16], 200 + salt)); + } + for salt in 0..4 { + keys.push(grind(&[31], 300 + salt)); + } + for i in 0..40 { + keys.push(chain_key(10_000 + i)); + } + let with_zero = keys + .iter() + .filter(|k| k.verifying_key().as_bytes().contains(&0)) + .count(); + println!(" {} authors, {} of them with a 0x00 byte in the public key; every seq < 256 also has 0x00 bytes", keys.len(), with_zero); + + let base = dir.join("base-c.redb"); + let _ = std::fs::remove_file(&base); + { + let store = Store::open(&base)?; + let mut items = Vec::new(); + for key in &keys { + for ev in chain_events(key, EVENTS_PER_CHAIN) { + let v = chain::verify(&ev.header, &ev.body)?; + items.push(Item { key: key_of(&v.author, v.seq), id: v.id, record: chain::record(&ev.header, &ev.body) }); + } + } + store.insert(&items)?; + } + + let a = copy_to(&base, dir.join("a-c.redb"))?; + let b = copy_to(&base, dir.join("b-c.redb"))?; + // 20 new events: on the zero-byte authors first, then on ordinary ones. + let extra: Vec<(&SigningKey, u32)> = keys.iter().take(20).map(|k| (k, 1)).collect(); + let truth = add_next(&a, &extra)?; + + // In memory first: the scheme with several K and T on this key set. + let a_pairs = Store::open(&a)?.pairs()?; + let mut all_ok = true; + let mut rows = Vec::new(); + for (k, t) in [(2usize, 1usize), (2, 4), (16, 16), (32, 16), (4, 8)] { + let pa = Party::new(a_pairs.iter().map(|x| x.0).collect(), a_pairs.iter().map(|x| x.1).collect()); + let b_pairs = Store::open(&b)?.pairs()?; + let pb = Party::new(b_pairs.iter().map(|x| x.0).collect(), b_pairs.iter().map(|x| x.1).collect()); + let sim = simulate(&pa, &pb, t, k); + let good = sim.learned_a == truth && sim.learned_b == truth; + all_ok &= good; + rows.push(format!("K={k} T={t}: flights {} ok={good}", sim.flights)); + } + rep.check("(c) in-memory run learns the true difference", all_ok, rows.join("; ")); + + let p = Params { k: 16, t: 16, batch: 256 }; + let (run, sa, sb) = sync_paths(&a, &b, p, Cut::Never).await?; + let out_a = run.dialer?; + let out_b = run.acceptor?; + rep.check( + "(c) wire sync with zero-byte keys is exact", + out_b.inserted == truth.len() && out_b.learned == truth && out_a.learned == truth && same_rows(&sa, &sb)?, + format!("acceptor inserted {} of {}, stores equal: {}", out_b.inserted, truth.len(), same_rows(&sa, &sb)?), + ); + let (gaps, bad) = audit(&sb)?; + rep.check("(c) links valid after sync", gaps == 0 && bad == 0, format!("gaps={gaps} bad links={bad}")); + Ok(()) +} + +// (d) ------------------------------------------------------------------------------------------ + +async fn scenario_d(dir: &Path, base: &Path, rep: &mut Report) -> Result<()> { + println!("(d) interrupted session, restarted from scratch (1,000 chains; 60 chains get 3 new events each)"); + let extra_keys: Vec = (0..60).map(|i| chain_key(i * 16)).collect(); + let extra: Vec<(&SigningKey, u32)> = extra_keys.iter().map(|k| (k, 3)).collect(); + + // d1. Cut the dialer during the data phase. Batches of 32, so partial commits can happen. + let a = copy_to(base, dir.join("a-d.redb"))?; + let b = copy_to(base, dir.join("b-d.redb"))?; + let truth = add_next(&a, &extra)?; + let p = Params { k: 16, t: 16, batch: 32 }; + let base_rows = Store::open(base)?.counts()?.1; + let (cut_run, _, sb) = sync_paths(&a, &b, p, Cut::AfterRecords(100)).await?; + let cut_errors = cut_run.dialer.is_err() && cut_run.acceptor.is_err(); + println!(" cut run: dialer error = {:?}", cut_run.dialer.as_ref().err().map(|e| format!("{e:#}"))); + println!(" cut run: acceptor error = {:?}", cut_run.acceptor.as_ref().err().map(|e| format!("{e:#}"))); + let committed = sb.counts()?.1 - base_rows; + rep.check("(d1) both sides report the cut", cut_errors, format!("dialer err={}, acceptor err={}", cut_run.dialer.is_err(), cut_run.acceptor.is_err())); + rep.check( + "(d1) only whole batches committed", + committed % 32 == 0 && committed < truth.len() as u64, + format!("{committed} of {} new events committed (batch 32)", truth.len()), + ); + let (gaps, bad) = audit(&sb)?; + rep.check("(d1) store consistent after the cut", gaps == 0 && bad == 0, format!("gaps={gaps} bad links={bad}")); + + // What is still missing after the cut: the true difference minus what was committed. + let mut present = HashSet::new(); + for id in &truth { + if sb.has(id)? { + present.insert(*id); + } + } + let remaining: HashSet = truth.difference(&present).copied().collect(); + rep.check( + "(d1) committed events are the ones in the store", + present.len() as u64 == committed, + format!("{} of the new events are in the store, {committed} new rows", present.len()), + ); + drop(sb); + + // Restart from scratch: new indexes, new reconciliation. + let (run2, sa2, sb2) = sync_paths(&a, &b, Params { k: 16, t: 16, batch: 256 }, Cut::Never).await?; + let out_a = run2.dialer?; + let out_b = run2.acceptor?; + rep.check( + "(d1) restart sends only what is missing", + out_b.inserted == remaining.len() && out_b.duplicates == 0 && out_a.inserted == 0, + format!("restart inserted {} (expected {}), duplicates {}", out_b.inserted, remaining.len(), out_b.duplicates), + ); + rep.check( + "(d1) restart learns exactly the missing events", + out_a.learned == remaining && out_b.learned == remaining, + format!("learned {} and {}, missing {}", out_a.learned.len(), out_b.learned.len(), remaining.len()), + ); + rep.check( + "(d1) stores equal after restart", + same_rows(&sa2, &sb2)? && sb2.has(truth.iter().next().context("truth")?)?, + format!("stores equal: {}", same_rows(&sa2, &sb2)?), + ); + let (gaps, bad) = audit(&sb2)?; + rep.check("(d1) links valid after restart", gaps == 0 && bad == 0, format!("gaps={gaps} bad links={bad}")); + + // d2. Cut during reconciliation: the dialer closes after its first message. + let a = copy_to(base, dir.join("a-d2.redb"))?; + let b = copy_to(base, dir.join("b-d2.redb"))?; + let truth2 = add_next(&a, &extra)?; + let (cut2, _, sb3) = sync_paths(&a, &b, p, Cut::AfterFlights(1)).await?; + let nothing_committed = sb3.counts()?.1 == base_rows; + rep.check( + "(d2) cut during reconciliation commits nothing", + cut2.dialer.is_err() && nothing_committed, + format!("dialer err={}, acceptor err={}, new rows={}", cut2.dialer.is_err(), cut2.acceptor.is_err(), sb3.counts()?.1 - base_rows), + ); + drop(sb3); + let (run3, sa3, sb4) = sync_paths(&a, &b, Params { k: 16, t: 16, batch: 256 }, Cut::Never).await?; + let out_b3 = run3.acceptor?; + run3.dialer?; + rep.check( + "(d2) restart completes with no duplicates", + out_b3.inserted == truth2.len() && out_b3.duplicates == 0 && same_rows(&sa3, &sb4)?, + format!("restart inserted {} of {}, stores equal: {}", out_b3.inserted, truth2.len(), same_rows(&sa3, &sb4)?), + ); + Ok(()) +} + +#[tokio::main] +async fn main() -> Result<()> { + let args: Vec = std::env::args().skip(1).collect(); + if args.len() != 2 { + bail!("usage: scenarios "); + } + let dir = PathBuf::from(&args[0]); + let base = PathBuf::from(&args[1]); + std::fs::create_dir_all(&dir)?; + let mut rep = Report::default(); + scenario_b(&mut rep); + scenario_a(&dir, &base, &mut rep).await?; + scenario_c(&dir, &mut rep).await?; + scenario_d(&dir, &base, &mut rep).await?; + println!("failures: {}", rep.failures); + if rep.failures > 0 { + bail!("{} checks failed", rep.failures); + } + Ok(()) +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/src/chain.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/src/chain.rs new file mode 100644 index 0000000000..1b68738025 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/src/chain.rs @@ -0,0 +1,168 @@ +//! Real signed events: one device chain per author, with 256-byte bodies. +//! +//! Headers are p2panda-core's `Header` with the design's extension, signed by the chain's key. +//! An event ID is BLAKE3 over the header bytes, which is p2panda's operation hash. + +use anyhow::{Result, anyhow, ensure}; +use p2panda_core::{AnyHeader, Hash, Header, SigningKey}; +use serde::{Deserialize, Serialize}; + +/// Events per chain, as in S1's setup, so control bytes compare directly. +pub const EVENTS_PER_CHAIN: u32 = 50; +pub const BODY_LEN: usize = 256; + +/// The design's extension fields (S1's `ChainExt`), with no `after` hashes and no group. +#[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)] +pub struct ChainExt { + pub kind: String, + pub after: Vec, + pub group: Option, + pub domain: String, +} + +fn ext() -> ChainExt { + ChainExt { + kind: "group.policy".into(), + after: Vec::new(), + group: None, + domain: "id.events.v1".into(), + } +} + +/// Signing key for chain `i`. Deterministic, so every store built by this crate agrees. +pub fn chain_key(i: usize) -> SigningKey { + SigningKey::from_bytes(blake3::hash(&(i as u64).to_be_bytes()).as_bytes()) +} + +/// The 256-byte body of event `seq` on the chain of `author`. +pub fn body(author: &[u8; 32], seq: u32) -> Vec { + let mut hasher = blake3::Hasher::new(); + hasher.update(author); + hasher.update(&seq.to_be_bytes()); + let mut out = vec![0u8; BODY_LEN]; + hasher.finalize_xof().fill(&mut out); + out +} + +/// One signed event: header bytes and body bytes, as stored and as sent. +#[derive(Clone, Debug)] +pub struct Event { + pub author: [u8; 32], + pub seq: u32, + pub header: Vec, + pub body: Vec, +} + +impl Event { + pub fn id(&self) -> [u8; 32] { + *Hash::digest(&self.header).as_bytes() + } +} + +/// Events `0..count` of the chain signed by `key`, each linked to the one before. +pub fn chain_events(key: &SigningKey, count: u32) -> Vec { + let author = *key.verifying_key().as_bytes(); + let mut out = Vec::with_capacity(count as usize); + let mut prev: Option = None; + for seq in 0..count { + let body = body(&author, seq); + let header = Header::::builder() + .seq_num(seq) + .backlink(prev) + .body(&body) + .build(key, ext()) + .encode(); + prev = Some(Hash::digest(&header)); + out.push(Event { author, seq, header, body }); + } + out +} + +/// What a received event checked out to be. +#[derive(Debug)] +pub struct Verified { + pub id: [u8; 32], + pub author: [u8; 32], + pub seq: u32, + pub backlink: Option<[u8; 32]>, +} + +/// Checks received bytes without `Header::verify`. `AnyHeader::decode` verifies the signature. +/// Then the header must re-encode to the same bytes, and the body must match `payload_size` +/// and `payload_hash`. +pub fn verify(header: &[u8], body: &[u8]) -> Result { + let h = AnyHeader::decode(header).map_err(|e| anyhow!("header rejected: {e:?}"))?; + ensure!(h.encode() == header, "header is not canonical"); + ensure!( + h.payload_size as usize == body.len(), + "body is {} bytes, header says {}", + body.len(), + h.payload_size + ); + match h.payload_hash { + Some(hash) => ensure!(hash == Hash::digest(body), "body hash mismatch"), + None => ensure!(body.is_empty(), "body without a payload hash"), + } + Ok(Verified { + id: *Hash::digest(header).as_bytes(), + author: *h.verifying_key.as_bytes(), + seq: h.seq_num, + backlink: h.backlink.map(|b| *b.as_bytes()), + }) +} + +/// A stored record: u16 header length, header bytes, body bytes. +pub fn record(header: &[u8], body: &[u8]) -> Vec { + let mut out = (header.len() as u16).to_be_bytes().to_vec(); + out.extend_from_slice(header); + out.extend_from_slice(body); + out +} + +/// Splits a record into header and body. +pub fn split_record(record: &[u8]) -> Result<(&[u8], &[u8])> { + ensure!(record.len() >= 2, "record shorter than its length field"); + let n = u16::from_be_bytes([record[0], record[1]]) as usize; + ensure!(record.len() >= 2 + n, "record shorter than its header length"); + Ok((&record[2..2 + n], &record[2 + n..])) +} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn chain_events_verify_and_link() { + let key = chain_key(3); + let events = chain_events(&key, 5); + let mut prev: Option<[u8; 32]> = None; + for ev in &events { + let v = verify(&ev.header, &ev.body).expect("verifies"); + assert_eq!(v.id, ev.id()); + assert_eq!(v.seq, ev.seq); + assert_eq!(v.backlink, prev); + // The typed hash agrees with BLAKE3 over the received bytes for untouched headers. + let typed = Header::::decode(&ev.header).expect("typed decode"); + assert_eq!(typed.hash().as_bytes(), &v.id); + prev = Some(v.id); + } + } + + #[test] + fn verify_rejects_tampering() { + let ev = &chain_events(&chain_key(1), 2)[1]; + // One bit flipped inside the 64 signature bytes. Nothing else changes, so only the + // signature check can reject it. + let sig = AnyHeader::decode(&ev.header).unwrap().signature.to_bytes(); + let at = ev.header.windows(64).position(|w| w == sig).expect("signature is in the header"); + let mut bad_sig = ev.header.clone(); + bad_sig[at] ^= 1; + let err = AnyHeader::decode(&bad_sig).expect_err("AnyHeader::decode checks the signature"); + eprintln!("bit flip in signature rejected by AnyHeader::decode: {err:?}"); + assert!(verify(&bad_sig, &ev.body).is_err()); + let mut bad_body = ev.body.clone(); + bad_body[0] ^= 1; + assert!(verify(&ev.header, &bad_body).is_err()); + assert!(verify(&ev.header, &ev.body[..10]).is_err()); + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/src/lib.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/src/lib.rs new file mode 100644 index 0000000000..c3c83c374e --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/src/lib.rs @@ -0,0 +1,11 @@ +//! Spike S7: range reconciliation over (author, seq) keys, on real redb stores, over iroh. +//! +//! - [`chain`]: real signed events (p2panda-core headers, 256-byte bodies) and their verification. +//! - [`store`]: the redb event store, with S6's key layout. +//! - [`range`]: S1's range scheme over a store's sorted keys, with a wire encoding. +//! - [`session`]: one sync session over an iroh stream, and the two-endpoint runner. + +pub mod chain; +pub mod range; +pub mod session; +pub mod store; diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/src/range.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/src/range.rs new file mode 100644 index 0000000000..29d5aa6ec1 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/src/range.rs @@ -0,0 +1,381 @@ +//! S1's range reconciliation (`/home/user/work/spikes/s1-transport/src/range_sim.rs`), run over +//! a store's sorted (author, seq) keys, with a wire encoding. +//! +//! A range is `[lower, upper)`. Bounds are the shortest key prefixes that separate neighbouring +//! keys. A fingerprint is the XOR of the 16-byte truncations of the event IDs, plus the count. +//! A mismatched range with at most `T` items sends its IDs. A larger one splits into `K` +//! children. +//! +//! Differences from S1: keys are 40 bytes (S6's layout). A split uses `min(K, n)` children. +//! Read from S1's code, not run: when a mismatched range starts at key 0 and has fewer than K +//! items, S1 computes a bound at position 0 and panics. S1's runs did not reach that case. + +use crate::store::{Id, Key, KEY_LEN}; +use anyhow::{Result, bail, ensure}; +use std::collections::HashSet; + +#[derive(Clone, Debug, PartialEq, Eq)] +pub enum Mode { + Skip, + Fp { fp: [u8; 16], count: u32 }, + /// `reply` asks the receiver to answer with its own IDs for the same range. + Ids { ids: Vec, reply: bool }, +} + +#[derive(Clone, Debug, PartialEq, Eq)] +pub struct Entry { + /// Exclusive upper bound as a key prefix. `None` is +infinity. + pub upper: Option>, + pub mode: Mode, +} + +pub fn all_skip(msg: &[Entry]) -> bool { + msg.iter().all(|e| e.mode == Mode::Skip) +} + +/// One side's sorted keys and IDs, with prefix XORs for O(1) fingerprints. +pub struct Party { + keys: Vec, + ids: Vec, + xor: Vec<[u8; 16]>, +} + +impl Party { + /// Keys must be sorted and distinct, as a store's index is. + pub fn new(keys: Vec, ids: Vec) -> Self { + assert_eq!(keys.len(), ids.len()); + assert!(keys.windows(2).all(|w| w[0] < w[1]), "keys must be sorted and distinct"); + let mut xor = Vec::with_capacity(ids.len() + 1); + let mut acc = [0u8; 16]; + xor.push(acc); + for id in &ids { + for (a, b) in acc.iter_mut().zip(id) { + *a ^= b; + } + xor.push(acc); + } + Party { keys, ids, xor } + } + + pub fn len(&self) -> usize { + self.keys.len() + } + + pub fn ids(&self) -> &[Id] { + &self.ids + } + + /// Index of the first key whose prefix is not below `bound`. + fn idx(&self, bound: &[u8]) -> usize { + self.keys.partition_point(|k| &k[..bound.len()] < bound) + } + + fn fp(&self, lo: usize, hi: usize) -> ([u8; 16], u32) { + let mut out = [0u8; 16]; + for (o, (a, b)) in out.iter_mut().zip(self.xor[hi].iter().zip(&self.xor[lo])) { + *o = a ^ b; + } + (out, (hi - lo) as u32) + } + + /// Shortest prefix of keys[p] that sorts above keys[p - 1]. Requires 0 < p < len. + fn separator(&self, p: usize) -> Vec { + let (a, b) = (&self.keys[p - 1], &self.keys[p]); + let d = (0..KEY_LEN).find(|&i| a[i] != b[i]).expect("keys are distinct"); + b[..=d].to_vec() + } + + /// The whole key space as one fingerprint range. + pub fn full_range(&self) -> Entry { + let (fp, count) = self.fp(0, self.len()); + Entry { upper: None, mode: Mode::Fp { fp, count } } + } + + /// Answers each entry of a message from the other side. IDs in the symmetric difference + /// go into `learned`. + pub fn respond(&self, msg: &[Entry], thresh: usize, k: usize, learned: &mut HashSet) -> Vec { + assert!(k >= 2, "K must be at least 2, or a split makes no progress"); + let mut out: Vec = Vec::new(); + let mut lower: Option<&[u8]> = None; + for entry in msg { + let upper = entry.upper.as_deref(); + let lo = lower.map_or(0, |b| self.idx(b)); + let hi = upper.map_or(self.len(), |b| self.idx(b)); + match &entry.mode { + Mode::Skip => push(&mut out, entry.upper.clone(), Mode::Skip), + Mode::Fp { fp, count } => { + let (mine, n) = self.fp(lo, hi); + if mine == *fp && n == *count { + push(&mut out, entry.upper.clone(), Mode::Skip); + } else if (n as usize) <= thresh { + let ids = self.ids[lo..hi].to_vec(); + push(&mut out, entry.upper.clone(), Mode::Ids { ids, reply: true }); + } else { + // n > thresh >= 1, so parts >= 2 and every child holds at least one key. + let parts = k.min(n as usize); + let pos: Vec = (0..=parts).map(|j| lo + j * (hi - lo) / parts).collect(); + for j in 0..parts { + let child_upper = if j + 1 < parts { + Some(self.separator(pos[j + 1])) + } else { + entry.upper.clone() + }; + let (cfp, ccount) = self.fp(pos[j], pos[j + 1]); + out.push(Entry { + upper: child_upper, + mode: Mode::Fp { fp: cfp, count: ccount }, + }); + } + } + } + Mode::Ids { ids, reply } => { + let mine: HashSet = self.ids[lo..hi].iter().copied().collect(); + let theirs: HashSet = ids.iter().copied().collect(); + learned.extend(mine.symmetric_difference(&theirs).copied()); + if *reply { + let ids = self.ids[lo..hi].to_vec(); + push(&mut out, entry.upper.clone(), Mode::Ids { ids, reply: false }); + } else { + push(&mut out, entry.upper.clone(), Mode::Skip); + } + } + } + lower = upper; + } + out + } +} + +/// Appends an entry, merging it into the previous one when both are skips. +fn push(out: &mut Vec, upper: Option>, mode: Mode) { + if mode == Mode::Skip { + if let Some(last) = out.last_mut() { + if last.mode == Mode::Skip { + last.upper = upper; + return; + } + } + } + out.push(Entry { upper, mode }); +} + +fn put_varint(out: &mut Vec, mut x: usize) { + while x >= 0x80 { + out.push((x as u8 & 0x7f) | 0x80); + x >>= 7; + } + out.push(x as u8); +} + +/// Wire form of one message, without the frame length: varint entry count; per entry, a bound +/// (one length byte, 0 for +infinity, then the prefix), one mode byte (0 skip, 1 fingerprint, +/// 2 IDs, 3 IDs with reply), and the payload (fingerprint + varint count, or varint count + IDs). +pub fn encode(msg: &[Entry]) -> Vec { + let mut out = Vec::new(); + put_varint(&mut out, msg.len()); + for e in msg { + match &e.upper { + None => out.push(0), + Some(b) => { + out.push(b.len() as u8); + out.extend_from_slice(b); + } + } + match &e.mode { + Mode::Skip => out.push(0), + Mode::Fp { fp, count } => { + out.push(1); + out.extend_from_slice(fp); + put_varint(&mut out, *count as usize); + } + Mode::Ids { ids, reply } => { + out.push(if *reply { 3 } else { 2 }); + put_varint(&mut out, ids.len()); + for id in ids { + out.extend_from_slice(id); + } + } + } + } + out +} + +struct Reader<'a> { + buf: &'a [u8], +} + +impl<'a> Reader<'a> { + fn take(&mut self, n: usize) -> Result<&'a [u8]> { + ensure!(self.buf.len() >= n, "message truncated"); + let (head, rest) = self.buf.split_at(n); + self.buf = rest; + Ok(head) + } + + fn byte(&mut self) -> Result { + Ok(self.take(1)?[0]) + } + + fn varint(&mut self) -> Result { + let mut x = 0usize; + for shift in (0..).step_by(7).take(5) { + let b = self.byte()?; + x |= ((b & 0x7f) as usize) << shift; + if b < 0x80 { + return Ok(x); + } + } + bail!("varint longer than 5 bytes") + } +} + +/// Parses a message written by [`encode`]. Rejects truncated and trailing bytes. +pub fn decode(bytes: &[u8]) -> Result> { + let mut r = Reader { buf: bytes }; + let n = r.varint()?; + let mut out = Vec::new(); + for _ in 0..n { + let len = r.byte()? as usize; + let upper = if len == 0 { None } else { Some(r.take(len)?.to_vec()) }; + let mode = match r.byte()? { + 0 => Mode::Skip, + 1 => { + let fp: [u8; 16] = r.take(16)?.try_into()?; + let count = u32::try_from(r.varint()?)?; + Mode::Fp { fp, count } + } + m @ (2 | 3) => { + let count = r.varint()?; + let mut ids = Vec::new(); + for _ in 0..count { + ids.push(r.take(32)?.try_into()?); + } + Mode::Ids { ids, reply: m == 3 } + } + m => bail!("unknown mode byte {m}"), + }; + out.push(Entry { upper, mode }); + } + ensure!(r.buf.is_empty(), "trailing bytes after message"); + Ok(out) +} + +/// Both sides run the protocol in memory, as S1's `reconcile`. Used to check the wire run +/// byte for byte, and to find the symmetric difference. +pub struct Sim { + pub flights: u32, + /// Encoded bytes each side wrote, without frame lengths. + pub bytes_a: usize, + pub bytes_b: usize, + pub learned_a: HashSet, + pub learned_b: HashSet, +} + +pub fn simulate(a: &Party, b: &Party, thresh: usize, k: usize) -> Sim { + let mut learned_a = HashSet::new(); + let mut learned_b = HashSet::new(); + let mut msg = vec![a.full_range()]; + let mut a_sends = true; + let (mut bytes_a, mut bytes_b, mut flights) = (0usize, 0usize, 0u32); + loop { + flights += 1; + let n = encode(&msg).len(); + if a_sends { + bytes_a += n; + } else { + bytes_b += n; + } + if all_skip(&msg) { + break; + } + msg = if a_sends { + b.respond(&msg, thresh, k, &mut learned_b) + } else { + a.respond(&msg, thresh, k, &mut learned_a) + }; + a_sends = !a_sends; + assert!(flights < 10_000, "reconciliation did not terminate"); + } + Sim { flights, bytes_a, bytes_b, learned_a, learned_b } +} + +#[cfg(test)] +mod tests { + use super::*; + + fn bytes(seed: u64, n: usize) -> Vec { + let mut h = blake3::Hasher::new(); + h.update(&seed.to_be_bytes()); + let mut out = vec![0u8; n]; + h.finalize_xof().fill(&mut out); + out + } + + /// Keys built only from 0x00 and 0x01 bytes, so bounds end in zeros often. + fn zero_heavy(n: usize, seed: u64) -> Vec { + let mut keys: Vec = (0..n as u64) + .map(|i| { + let r = bytes(seed ^ (i << 8), KEY_LEN); + let mut k = [0u8; KEY_LEN]; + for (dst, src) in k.iter_mut().zip(r) { + *dst = src & 1; + } + k + }) + .collect(); + keys.sort(); + keys.dedup(); + keys + } + + /// IDs derived from the whole key, so two keys never share an ID. + fn party(keys: &[Key], seed: u64) -> Party { + let ids = keys + .iter() + .map(|k| *blake3::hash(&[k.as_slice(), &seed.to_be_bytes()].concat()).as_bytes()) + .collect(); + Party::new(keys.to_vec(), ids) + } + + #[test] + fn separators_split_keys_with_nul_bytes() { + let keys = zero_heavy(300, 7); + let p = party(&keys, 1); + for pos in 1..p.len() { + let s = p.separator(pos); + assert_eq!(p.idx(&s), pos, "separator {} at {pos} splits the keys wrongly", hex::encode(&s)); + } + } + + #[test] + fn respond_learns_exact_difference() { + for (keys_seed, k, t) in [(11u64, 2, 4), (12, 16, 16), (13, 16, 4), (14, 32, 16), (15, 32, 1)] { + let all = zero_heavy(700, keys_seed); + let a_keys: Vec = all.iter().copied().filter(|k| k[0] == 0 || k[1] == 0).collect(); + let b_keys: Vec = all.iter().copied().filter(|k| k[2] == 0 || k[31] == 1).collect(); + let a = party(&a_keys, 5); + let b = party(&b_keys, 5); + let sim = simulate(&a, &b, t, k); + let a_set: HashSet = a.ids().iter().copied().collect(); + let b_set: HashSet = b.ids().iter().copied().collect(); + let truth: HashSet = a_set.symmetric_difference(&b_set).copied().collect(); + assert!(!truth.is_empty()); + assert_eq!(sim.learned_a, truth, "K={k} T={t}"); + assert_eq!(sim.learned_b, truth, "K={k} T={t}"); + } + } + + #[test] + fn wire_round_trip() { + let keys = zero_heavy(200, 3); + let p = party(&keys, 2); + let mut learned = HashSet::new(); + let msg = p.respond(&[p.full_range()], 4, 16, &mut learned); + let bytes = encode(&msg); + assert_eq!(decode(&bytes).unwrap(), msg); + assert!(decode(&bytes[..bytes.len() - 1]).is_err()); + let mut extra = bytes.clone(); + extra.push(0); + assert!(decode(&extra).is_err()); + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/src/session.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/src/session.rs new file mode 100644 index 0000000000..7dc005781a --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/src/session.rs @@ -0,0 +1,270 @@ +//! One sync session over an iroh bidirectional stream, and the two-endpoint runner. +//! +//! Protocol `/id-sync/1`, one stream per session: +//! 1. Reconciliation. Flights alternate as in S1's `reconcile`. The dialer sends the full-range +//! fingerprint, and each side answers. A message with only Skip entries ends the loop. Each +//! message is one length-prefixed frame. +//! 2. Data. After reconciliation both sides hold the symmetric difference, so each knows what it +//! lacks, and what it holds that the peer lacks. No request is needed. Each side sends its +//! events in key order: a count frame, then one frame per record. Both sides send at once. +//! The receiver verifies each event, checks that it was expected, and commits every `batch` +//! events in one transaction. + +use crate::chain::{self, split_record}; +use crate::range::{self, Entry, Party, all_skip}; +use crate::store::{Batch, Id, Item, Store, key_of}; +use anyhow::{Context, Result, anyhow, bail, ensure}; +use iroh::endpoint::{Connection, Endpoint, RecvStream, SendStream, presets}; +use iroh::{EndpointAddr, RelayMode}; +use std::collections::HashSet; +use std::net::Ipv4Addr; +use std::sync::Arc; +use std::time::{Duration, Instant}; + +pub const ALPN: &[u8] = b"/id-sync/1"; +const MAX_FRAME: usize = 16 << 20; + +#[derive(Clone, Copy, Debug)] +pub struct Params { + pub k: usize, + pub t: usize, + /// Events per commit on the receiving side. + pub batch: usize, +} + +/// Where to cut the connection, for the interruption test. The cut closes the connection. +/// Counts are this side's own writes. +#[derive(Clone, Copy, Debug, PartialEq, Eq)] +pub enum Cut { + Never, + /// Close before this side writes its reconciliation message `n + 1`. + AfterFlights(u32), + /// Close before this side writes event record `n + 1`. + AfterRecords(usize), +} + +#[derive(Debug, Default, Clone)] +pub struct Outcome { + /// Reconciliation messages this side wrote. + pub flights: u32, + /// Bytes this side wrote in reconciliation, including 4-byte frame lengths. + pub control_bytes: usize, + /// Bytes this side wrote in the data phase: count frame, then records with frame lengths. + pub data_bytes: usize, + /// Event records this side wrote. + pub sent: usize, + pub received: usize, + pub inserted: usize, + pub duplicates: usize, + /// IDs this side lacks (what it expected to receive). + pub need: usize, + /// Time spent in redb commits on this side (each one fsyncs). + pub commit: Duration, + /// Symmetric difference, as this side learned it. + pub learned: HashSet, +} + +async fn write_frame(send: &mut SendStream, payload: &[u8]) -> Result { + ensure!(payload.len() <= MAX_FRAME, "frame of {} bytes", payload.len()); + send.write_all(&(payload.len() as u32).to_be_bytes()).await?; + send.write_all(payload).await?; + Ok(4 + payload.len()) +} + +async fn read_frame(recv: &mut RecvStream) -> Result> { + let mut len = [0u8; 4]; + recv.read_exact(&mut len).await?; + let len = u32::from_be_bytes(len) as usize; + ensure!(len <= MAX_FRAME, "frame announces {len} bytes"); + let mut buf = vec![0u8; len]; + recv.read_exact(&mut buf).await?; + Ok(buf) +} + +/// Writes one reconciliation message, or closes the connection if the cut is due. +async fn flight(send: &mut SendStream, conn: &Connection, out: &mut Outcome, msg: &[Entry], cut: Cut) -> Result<()> { + if cut == Cut::AfterFlights(out.flights) { + conn.close(1u32.into(), b"cut"); + bail!("cut before flight {}", out.flights + 1); + } + out.control_bytes += write_frame(send, &range::encode(msg)).await?; + out.flights += 1; + Ok(()) +} + +/// Commits a batch, and returns how long the commit took (redb fsyncs each commit). Blocking +/// redb work runs in `block_in_place`, on the multi-thread runtime. +fn commit(store: &Store, pending: &mut Vec) -> Result<(Batch, Duration)> { + let started = Instant::now(); + let batch = tokio::task::block_in_place(|| store.insert(pending))?; + pending.clear(); + Ok((batch, started.elapsed())) +} + +/// Runs one session on an open connection. `initiator` is the dialer. +pub async fn run(store: &Store, party: &Party, conn: &Connection, initiator: bool, p: Params, cut: Cut) -> Result { + let (mut send, mut recv) = if initiator { conn.open_bi().await? } else { conn.accept_bi().await? }; + let mut out = Outcome::default(); + let mut learned = HashSet::new(); + + // 1. Reconciliation, the same loop as S1's `reconcile`. + if initiator { + flight(&mut send, conn, &mut out, &[party.full_range()], cut).await?; + } + loop { + let incoming = range::decode(&read_frame(&mut recv).await?)?; + if all_skip(&incoming) { + break; + } + let reply = party.respond(&incoming, p.t, p.k, &mut learned); + let last = all_skip(&reply); + flight(&mut send, conn, &mut out, &reply, cut).await?; + if last { + break; + } + } + + // 2. Data. `learned` is the symmetric difference, so both sides agree on it. + let mut need: HashSet = HashSet::new(); + for id in &learned { + if !store.has(id)? { + need.insert(*id); + } + } + let offers: Vec = (0..party.len()).filter(|&i| learned.contains(&party.ids()[i])).collect(); + + let sending = async { + let mut bytes = write_frame(&mut send, &(offers.len() as u32).to_be_bytes()).await?; + for (sent, &i) in offers.iter().enumerate() { + if cut == Cut::AfterRecords(sent) { + conn.close(1u32.into(), b"cut"); + bail!("cut before record {}", sent + 1); + } + bytes += write_frame(&mut send, &store.record(&party.ids()[i])?).await?; + } + send.finish()?; + anyhow::Ok(bytes) + }; + + let receiving = async { + let count_frame = read_frame(&mut recv).await?; + let count: [u8; 4] = count_frame.as_slice().try_into().map_err(|_| anyhow!("count frame is not 4 bytes"))?; + let count = u32::from_be_bytes(count) as usize; + ensure!(count == need.len(), "peer offers {count} events, and {} are missing here", need.len()); + let mut seen: HashSet = HashSet::with_capacity(count); + let mut pending: Vec = Vec::with_capacity(p.batch); + let mut total = Batch::default(); + let mut commit_time = Duration::ZERO; + for _ in 0..count { + let record = read_frame(&mut recv).await?; + let (header, body) = split_record(&record)?; + let v = chain::verify(header, body)?; + ensure!(need.contains(&v.id), "event {} was not expected", hex::encode(v.id)); + ensure!(seen.insert(v.id), "event {} arrived twice", hex::encode(v.id)); + pending.push(Item { key: key_of(&v.author, v.seq), id: v.id, record }); + if pending.len() == p.batch { + let (b, t) = commit(store, &mut pending)?; + total.inserted += b.inserted; + total.duplicates += b.duplicates; + commit_time += t; + } + } + if !pending.is_empty() { + let (b, t) = commit(store, &mut pending)?; + total.inserted += b.inserted; + total.duplicates += b.duplicates; + commit_time += t; + } + anyhow::Ok((count, total, commit_time)) + }; + + let (sent_bytes, received) = tokio::join!(sending, receiving); + out.data_bytes = sent_bytes?; + out.sent = offers.len(); + let (count, total, commit_time) = received?; + out.received = count; + out.inserted = total.inserted; + out.duplicates = total.duplicates; + out.commit = commit_time; + out.need = need.len(); + out.learned = learned; + Ok(out) +} + +/// An endpoint on localhost, with no relay and no address lookup. Dialled by address only. +pub async fn endpoint(alpns: Vec>) -> Result { + Ok(Endpoint::builder(presets::Minimal) + .alpns(alpns) + .relay_mode(RelayMode::Disabled) + .clear_ip_transports() + .bind_addr((Ipv4Addr::LOCALHOST, 0))? + .bind() + .await?) +} + +/// One store and its index, shared with the accepting task. +#[derive(Clone)] +pub struct Side { + pub store: Arc, + pub party: Arc, +} + +pub struct Run { + pub dialer: Result, + pub acceptor: Result, + /// Connect to both sessions finishing. Indexes are built before the call. + pub wall: Duration, + /// QUIC bytes in both directions on the dialer's connection, including headers and TLS. + pub transport_bytes: u64, +} + +/// Syncs `dialer` and `acceptor` over one connection on localhost, with `cut` applied to the +/// dialer. Each side returns only after it has read everything the other side sent, so +/// closing the connections afterwards loses nothing. +pub async fn sync_pair(dialer: Side, acceptor: Side, p: Params, cut: Cut) -> Result { + let server = endpoint(vec![ALPN.to_vec()]).await?; + let client = endpoint(vec![]).await?; + let sock = *server.addr().ip_addrs().next().context("server has no IP address")?; + let target = EndpointAddr::new(server.id()).with_ip_addr(sock); + + let accepting = tokio::spawn({ + let server = server.clone(); + async move { + let incoming = server.accept().await.context("endpoint closed before a connection")?; + let conn = incoming.await?; + let out = run(&acceptor.store, &acceptor.party, &conn, false, p, Cut::Never).await?; + anyhow::Ok((out, conn)) + } + }); + + let started = Instant::now(); + let conn = client.connect(target, ALPN).await.context("connect")?; + let dialing = run(&dialer.store, &dialer.party, &conn, true, p, cut); + let (dialer_result, accepted) = tokio::time::timeout(Duration::from_secs(120), async { + tokio::join!(dialing, accepting) + }) + .await + .map_err(|_| anyhow!("sync timed out after 120 s"))?; + let wall = started.elapsed(); + + let transport_bytes = { + let s = conn.stats(); + s.udp_tx.bytes + s.udp_rx.bytes + }; + let (acceptor_result, acceptor_conn) = match accepted? { + Ok((out, conn)) => (Ok(out), Some(conn)), + Err(e) => (Err(e), None), + }; + conn.close(0u32.into(), b"done"); + if let Some(c) = acceptor_conn { + c.close(0u32.into(), b"done"); + } + client.close().await; + server.close().await; + Ok(Run { + dialer: dialer_result, + acceptor: acceptor_result, + wall, + transport_bytes, + }) +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/src/store.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/src/store.rs new file mode 100644 index 0000000000..2b4b0e8349 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s7-range-real/src/store.rs @@ -0,0 +1,138 @@ +//! Event store on redb, with S6's layout (`/home/user/work/spikes-s6/src/redb_store.rs`). +//! +//! - `author_seq`: author (32 B) || seq (8 B, big-endian) -> event ID. This is the range index. +//! - `events`: event ID -> record (see `chain::record`). +//! +//! As in S6, one write transaction per batch, and the (author, seq) check runs inside it: +//! redb has no unique constraint. p2panda's seq is u32; it is widened to S6's 8-byte field. + +use crate::range::Party; +use anyhow::{Context, Result, bail}; +use redb::{Database, ReadableDatabase, ReadableTable, ReadableTableMetadata, TableDefinition}; +use std::path::Path; + +/// author (32 B) || seq (8 B, big-endian). +pub const KEY_LEN: usize = 40; +pub type Key = [u8; KEY_LEN]; +pub type Id = [u8; 32]; + +const EVENTS: TableDefinition<&[u8], &[u8]> = TableDefinition::new("events"); +const AUTHOR_SEQ: TableDefinition<&[u8], &[u8]> = TableDefinition::new("author_seq"); + +/// S6's `author_seq_key`, with the u32 seq widened to u64. +pub fn key_of(author: &[u8; 32], seq: u32) -> Key { + let mut key = [0u8; KEY_LEN]; + key[..32].copy_from_slice(author); + key[32..].copy_from_slice(&(seq as u64).to_be_bytes()); + key +} + +#[derive(Debug, Default, Clone, Copy, PartialEq, Eq)] +pub struct Batch { + pub inserted: usize, + pub duplicates: usize, +} + +/// One verified event ready to store. +pub struct Item { + pub key: Key, + pub id: Id, + pub record: Vec, +} + +pub struct Store { + db: Database, +} + +impl Store { + pub fn open(path: &Path) -> Result { + let db = Database::create(path).with_context(|| format!("redb: opening {}", path.display()))?; + Ok(Self { db }) + } + + /// Writes `items` in one transaction. An identical event already held is a duplicate. A + /// different event at an occupied (author, seq) is a fork, and it fails the whole batch. + pub fn insert(&self, items: &[Item]) -> Result { + let txn = self.db.begin_write()?; + let mut batch = Batch::default(); + { + let mut author_seq = txn.open_table(AUTHOR_SEQ)?; + let mut events = txn.open_table(EVENTS)?; + for item in items { + let held = author_seq.get(item.key.as_slice())?.map(|g| g.value().to_vec()); + match held { + Some(prev) if prev.as_slice() == item.id.as_slice() => { + batch.duplicates += 1; + continue; + } + Some(_) => bail!("fork at key {}", hex::encode(item.key)), + None => {} + } + events.insert(item.id.as_slice(), item.record.as_slice())?; + author_seq.insert(item.key.as_slice(), item.id.as_slice())?; + batch.inserted += 1; + } + } + txn.commit()?; + Ok(batch) + } + + /// The sorted (key, ID) index that the range scheme runs on. + pub fn index(&self) -> Result { + let txn = self.db.begin_read()?; + let table = txn.open_table(AUTHOR_SEQ)?; + let mut keys = Vec::with_capacity(table.len()? as usize); + let mut ids = Vec::with_capacity(keys.capacity()); + for row in table.iter()? { + let (key, id) = row?; + keys.push(key.value().try_into()?); + ids.push(id.value().try_into()?); + } + Ok(Party::new(keys, ids)) + } + + pub fn record(&self, id: &Id) -> Result> { + let txn = self.db.begin_read()?; + let events = txn.open_table(EVENTS)?; + let row = events.get(id.as_slice())?.with_context(|| format!("no event {}", hex::encode(id)))?; + Ok(row.value().to_vec()) + } + + pub fn has(&self, id: &Id) -> Result { + let txn = self.db.begin_read()?; + Ok(txn.open_table(EVENTS)?.get(id.as_slice())?.is_some()) + } + + /// Every (key, ID) row, in key order. + pub fn pairs(&self) -> Result> { + let txn = self.db.begin_read()?; + let table = txn.open_table(AUTHOR_SEQ)?; + let mut out = Vec::with_capacity(table.len()? as usize); + for row in table.iter()? { + let (key, id) = row?; + out.push((key.value().try_into()?, id.value().try_into()?)); + } + Ok(out) + } + + /// Row counts: (events, author_seq). + pub fn counts(&self) -> Result<(u64, u64)> { + let txn = self.db.begin_read()?; + Ok((txn.open_table(EVENTS)?.len()?, txn.open_table(AUTHOR_SEQ)?.len()?)) + } + + /// Removes one event from both tables. Used only to build a gap in a test store. + pub fn remove(&self, key: &Key) -> Result<()> { + let txn = self.db.begin_write()?; + { + let mut author_seq = txn.open_table(AUTHOR_SEQ)?; + let mut events = txn.open_table(EVENTS)?; + let id = author_seq.remove(key.as_slice())?.map(|g| g.value().to_vec()); + if let Some(id) = id { + events.remove(id.as_slice())?; + } + } + txn.commit()?; + Ok(()) + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/Cargo.lock b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/Cargo.lock new file mode 100644 index 0000000000..c7e500f419 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/Cargo.lock @@ -0,0 +1,504 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "anyhow" +version = "1.0.104" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470" + +[[package]] +name = "arrayvec" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56" + +[[package]] +name = "autocfg" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" + +[[package]] +name = "bit-set" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56d87354e4229f54a44f7bf2435906a4656dba36026ab6eaca629a2c436a691c" +dependencies = [ + "bit-vec", +] + +[[package]] +name = "bit-vec" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5727b15fa97d4f4fee0a3b7c3d550ed0269f54329207b86388de918604e31269" +dependencies = [ + "borsh", + "serde", +] + +[[package]] +name = "bitflags" +version = "2.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06" + +[[package]] +name = "blake3" +version = "1.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d9e454fc11f76977dc803893aff6304ed33d6a26efae8696573bea74baa27ae" +dependencies = [ + "arrayvec", + "cc", + "cfg-if", + "constant_time_eq", + "cpufeatures", +] + +[[package]] +name = "borsh" +version = "1.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "553c5d846a6ba5150c65e3b1b8ec073bcf1abc20f9b7220de384a4443ea4e20a" +dependencies = [ + "borsh-derive", + "bytes", + "cfg_aliases", +] + +[[package]] +name = "borsh-derive" +version = "1.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12cdfe656708a01f89b451a7d36466e6fe6c414de0aa18fc54f864f6f9ca9f56" +dependencies = [ + "once_cell", + "proc-macro-crate", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "bytes" +version = "1.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04" + +[[package]] +name = "cbor-core" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9f70473b5194d5f6e3c271dc6d0f63f6b17cc5d004af959e9ed0be8c1dadcdb" + +[[package]] +name = "cc" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50a649af8a827553c29fb0cb4bd4a6f1a0dd695bd3232b9bc98bd9c8a3ffbb8b" +dependencies = [ + "find-msvc-tools", + "shlex", +] + +[[package]] +name = "cfg-if" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600" + +[[package]] +name = "cfg_aliases" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527" + +[[package]] +name = "chacha20" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65c35e4b699c7e15ccbe7ee35c005e4fc0a278d22238a2857e6ce2dadeda1b06" +dependencies = [ + "cfg-if", + "cpufeatures", + "rand_core", +] + +[[package]] +name = "constant_time_eq" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d52eff69cd5e647efe296129160853a42795992097e8af39800e1060caeea9b" + +[[package]] +name = "core_detect" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f8f80099a98041a3d1622845c271458a2d73e688351bf3cb999266764b81d48" + +[[package]] +name = "cpufeatures" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ca28b0ae3115b884660db4118d803791fd6756b6e88f39c0f3f7859060d7566" +dependencies = [ + "libc", +] + +[[package]] +name = "equivalent" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" + +[[package]] +name = "errno" +version = "0.3.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" +dependencies = [ + "libc", + "windows-sys", +] + +[[package]] +name = "fastrand" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223" + +[[package]] +name = "find-msvc-tools" +version = "0.1.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aedcfb3409746eddb02b9e19ebda1c3394f759a152e48ee875a0844d1b955484" + +[[package]] +name = "fnv" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" + +[[package]] +name = "getrandom" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" +dependencies = [ + "cfg-if", + "libc", + "r-efi", + "rand_core", +] + +[[package]] +name = "hashbrown" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" + +[[package]] +name = "indexmap" +version = "2.14.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855" +dependencies = [ + "equivalent", + "hashbrown", +] + +[[package]] +name = "libc" +version = "0.2.190" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78" + +[[package]] +name = "linux-raw-sys" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53" + +[[package]] +name = "memchr" +version = "2.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" + +[[package]] +name = "num-traits" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +dependencies = [ + "autocfg", +] + +[[package]] +name = "once_cell" +version = "1.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" + +[[package]] +name = "proc-macro-crate" +version = "3.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e67ba7e9b2b56446f1d419b1d807906278ffa1a658a8a5d8a39dcb1f5a78614f" +dependencies = [ + "toml_edit", +] + +[[package]] +name = "proc-macro2" +version = "1.0.107" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "proptest" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8530004ccb15eae51c7e40009fbe317f341f804db54dc033eec1c50be28cfa0" +dependencies = [ + "bit-set", + "bit-vec", + "bitflags", + "chacha20", + "core_detect", + "num-traits", + "rand", + "rand_xorshift", + "regex-syntax", + "rusty-fork", + "tempfile", + "unarray", +] + +[[package]] +name = "quick-error" +version = "1.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" + +[[package]] +name = "quote" +version = "1.0.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "r-efi" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" + +[[package]] +name = "rand" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65c9fb96cbc91e3478eaae79a69fcd3f1ae4ad052e471fe6732fff548984b4af" +dependencies = [ + "getrandom", + "rand_core", +] + +[[package]] +name = "rand_core" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" + +[[package]] +name = "rand_xorshift" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60aa6af80be32871323012e02e6e65f8a7cc7890931ae421d217ad8fe0df2ccf" +dependencies = [ + "rand_core", +] + +[[package]] +name = "regex-syntax" +version = "0.8.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" + +[[package]] +name = "rustix" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "891efababe418670775f199f0d233d84843c227a0949a883ce15b37c78d6629d" +dependencies = [ + "bitflags", + "errno", + "libc", + "linux-raw-sys", + "windows-sys", +] + +[[package]] +name = "rusty-fork" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc6bf79ff24e648f6da1f8d1f011e9cac26491b619e6b9280f2b47f1774e6ee2" +dependencies = [ + "fnv", + "quick-error", + "tempfile", + "wait-timeout", +] + +[[package]] +name = "s8-tags" +version = "0.0.0" +dependencies = [ + "anyhow", + "blake3", + "cbor-core", + "proptest", +] + +[[package]] +name = "serde" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba" +dependencies = [ + "serde_core", + "serde_derive", +] + +[[package]] +name = "serde_core" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "shlex" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba" + +[[package]] +name = "syn" +version = "3.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d62a2e0561533f2ca2561d0cf27fd9fedb640a1bf2616ff5d5c80d99017faadc" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "tempfile" +version = "3.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" +dependencies = [ + "fastrand", + "getrandom", + "once_cell", + "rustix", + "windows-sys", +] + +[[package]] +name = "toml_datetime" +version = "1.1.2+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b86d767906c6c42421dcba507eb9d203e779497710a47782a224bb871653053" +dependencies = [ + "serde_core", +] + +[[package]] +name = "toml_edit" +version = "0.25.17+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3641d5bbb5349a79e1020a242d251efbc546ad8048d133958323ce9c40a9c9c" +dependencies = [ + "indexmap", + "toml_datetime", + "toml_parser", + "winnow", +] + +[[package]] +name = "toml_parser" +version = "1.1.5+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baa693a8032d7e1cada7d0041e96126df243179ff061456783ac7f12bda4744c" +dependencies = [ + "winnow", +] + +[[package]] +name = "unarray" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94" + +[[package]] +name = "unicode-ident" +version = "1.0.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d245f478577f809a851594d02313b640fb437e0bb33866753cff937863096954" + +[[package]] +name = "wait-timeout" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09ac3b126d3914f9849036f826e054cbabdc8519970b8998ddaf3b5bd3c65f11" +dependencies = [ + "libc", +] + +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + +[[package]] +name = "windows-sys" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" +dependencies = [ + "windows-link", +] + +[[package]] +name = "winnow" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23b97319f7b8343df12cc98938e5c3eb436064524c8d2b4e30a1d3a36eecdf81" +dependencies = [ + "memchr", +] diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/Cargo.toml b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/Cargo.toml new file mode 100644 index 0000000000..48d565bae6 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/Cargo.toml @@ -0,0 +1,18 @@ +[package] +name = "s8-tags" +version = "0.0.0" +edition = "2024" +rust-version = "1.96" +publish = false + +# Standalone: do not join the parent spikes workspace. +[workspace] + +[dependencies] +blake3 = "1" +# Pinned as in /home/user/work/spikes/Cargo.toml. The encoder is used without the serde feature. +cbor-core = "=0.10.1" + +[dev-dependencies] +anyhow = "1" +proptest = "1" diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/RESULTS.md b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/RESULTS.md new file mode 100644 index 0000000000..a9256b03a9 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/RESULTS.md @@ -0,0 +1,217 @@ +# S8: observed-remove tags + +## Question + +Does the observed-remove tag design (design §9.1, task 06, review §3.8) hold? + +1. Convergence: 3–5 replicas, random partitions, any delivery order and duplicate ops, same state. +2. Add-wins: a concurrent add and clear of the same entry leave the entry present. +3. A clear that names a dot its author never saw does not remove that dot. +4. The merge is commutative, associative and idempotent. +5. Metadata: how many CBOR bytes per entry as adds and removes accumulate. Are tombstones needed? What compaction rule is safe? +6. How subject lookups map to tuple keys in `pkgs/id/src/tuple.rs`. + +Scope: standalone crate in this folder. `pkgs/id` was read, not modified (`tuple.rs` is included with `#[path]`). + +## Verdict + +- **1–4 hold** for the model below. Every property passed on the real implementation: 300 cases each by default, and 3000 cases each in a soak. No property failed, so there is no counterexample to report for the real code. The suite also catches five planted bugs (below), so the passes are not vacuous. +- **Tombstones are not needed.** A removed dot is covered by its device's counter, because each device's sets and clears share one gapless numbering. Removal costs O(devices) metadata, not O(removes). +- **Two rules must be written into the spec.** (a) A clear removes a dot only if it is *named and covered* by the clear's clock. The design sentence "an add survives if its seq is greater than its author's entry" describes only the covered half. (b) The clock must cover the whole causal past. A frontier-only clock leaves an add that the clearer saw (test `frontier_only_clock_leaves_an_add_the_clearer_saw`). +- **Compaction:** fold the log at a causally closed cut into a snapshot, and serve a peer that does not cover the cut the snapshot first. Dropping stable clear bodies without the snapshot path resurrects removed adds for a new device (tested). +- **Tuple keys:** subject-only prefix scans are exact for 32-byte subjects with the current encoder. Name and value prefixes are not: the NUL bug from task 01 reproduces with the real `tuple.rs`. The `00 00` terminator fixes it (tested on a local copy). S6's `prefix ++ 0xFF` bound also works. + +## Model built + +- Device = 32-byte key (placeholder for Ed25519). Subject = 32 bytes. Name and value are strings. +- Each device's events (sets and clears) form one chain numbered 1, 2, 3, ... +- A set creates dot `(device, seq)`. A clear names dots and carries `clock`, its author's whole version vector when issued. +- A named dot is removed iff `clock` covers it (`seq <= clock[device]`). +- Delivery: an op waits for its chain predecessor, and a clear also waits until its whole clock is applied. Duplicates are dropped by the version vector. Ops can arrive in any order. +- State = live dots (with entries) and the version vector. No tombstones. Covered-but-absent means removed. +- Join (state-based sync): keep a dot if both sides hold it, or one holds it and the other has not covered it. Version vectors take the pointwise max. +- Oracle (`reference`): computed directly from the set of ops, with no buffering. Live = sets not removed by a named and covered clear. Each replica is checked against it after every step. +- Encoding: positional CBOR arrays via `cbor-core` 0.10.1 (`Value::encode`, canonical by construction). Op ID = BLAKE3 of the encoding. Strict decode round-trip is tested. +- Not modelled: signatures, the p2panda header (`prev`, `after`, `backlink`), device keys and revocation, persistence. + +Design choices I made, for redirect: the removal rule (named and covered); the clock as the full version vector; per-chain causal readiness; dots named by `(device, seq)` where the design names claims by event ID (one event, one dot, so the two are equivalent here). + +## Method (commands) + +```sh +export CARGO_TARGET_DIR=/home/user/work/spikes/target +CARGO="$(rustup which --toolchain 1.97.0 cargo)" # 1.97.0 +cd /home/user/work/spikes-next/s8-tags +$CARGO test --no-fail-fast # logs/test.txt +S8_CASES=3000 $CARGO test --test props --test compaction --test encoding # logs/soak_3000.txt +CARGO="$CARGO" bash scripts/mutants.sh # logs/mutants.txt, logs/mutant_*.txt +$CARGO run --release --example metadata > logs/metadata.md +``` + +Proptest config: 300 cases per property by default (`S8_CASES` overrides). Failures would be shrunk by proptest. Crate deps: `blake3` 1, `cbor-core` =0.10.1 (pins from `spikes/Cargo.toml`); dev: `proptest` 1.12 (added; not in the spikes lock), `anyhow` 1 (for `tuple.rs`). `Cargo.lock` copied from `spikes/`. The `serde` dependency from the brief was not used: encoding is explicit arrays, which avoids serde's byte-as-integer behaviour and map ordering. + +## Results: properties on the real implementation + +| # | Property | Test (tests/) | Cases | Result | +|---|---|---|---|---| +| 1 | Convergence under random partitions, op and state sync, duplicates and any order. Every replica equals the oracle after every step, and all converge after a heal. A fresh observer's state-based join equals the oracle over the union of applied ops. | props: `convergence_under_partitions_and_any_delivery_order` | 300; soak 3000 | pass; pass | +| 2 | Add-wins: a clear removes only what its author saw. Adds concurrent with it survive, in any order (1–3 concurrent adders). | props: `concurrent_adds_survive_a_clear_that_did_not_see_them` | 300; soak 3000 | pass; pass | +| 3 | Unobserved removal: a clear naming unseen dots (1–3) leaves them live, and removes the observed ones (0–3), in any order. | props: `clear_naming_unseen_dots_does_not_remove_them` | 300; soak 3000 | pass; pass | +| 4 | Join is commutative, associative and idempotent on reachable states (snapshots from random runs). | props: `join_is_commutative_associative_and_idempotent` | 300; soak 3000 | pass; pass | +| – | Late duplicate of a removed add is dropped; a clear waits for the add it names. | props: `late_duplicate_of_a_removed_add_is_dropped` | unit | pass | +| – | Frontier-only clock fails to remove an add the clearer saw (3 devices, 3 ops). | clock: `frontier_only_clock_leaves_an_add_the_clearer_saw` | unit | pass (documents the failure) | +| – | Snapshot-then-tail compaction rule correct for every peer and cut (200 histories × 4 cuts × 3 peers). | compaction: `snapshot_then_tail_is_correct_for_every_peer_and_cut` | 200 histories | pass | +| – | Dropping stable clear bodies without a snapshot resurrects a removed add for a new device. | compaction: `dropping_a_stable_clear_body_resurrects_the_add_for_a_new_device` | unit | pass (documents the failure) | +| – | Snapshot path gives the right state for a new device. | compaction: `serving_the_snapshot_to_a_new_device_is_correct` | unit | pass | +| – | Every op and state encoding is strictly canonical (decode, then re-encode gives the same bytes). | encoding: `every_op_and_state_encoding_is_strictly_canonical` | 50 seeds; 4000 ops, 12000 states | pass | + +Totals on a clean build: 57 tests pass (15 mine, plus 42 unit tests inside `tuple.rs` that run because I include it). No warnings. + +### Does the suite have teeth? Planted bugs + +`scripts/mutants.sh` copies the crate, applies one bug with `perl`, and runs `props`. Each copy builds in its own target directory. + +| mutant | planted bug | result | shrunk counterexample | +|---|---|---|---| +| m1 | clear removes every named dot, ignoring the clock | 3 of 5 fail: unobserved-removal, convergence, join laws | unobserved-removal: `seen = 0, unseen = 1`. Convergence: 7 acts. | +| m2 | clear applied without waiting for its clock | 5 of 5 fail, including the late-duplicate unit test | late-duplicate unit test: the clear is applied with nothing to remove, so `pending_len` is 0, not 1. Convergence: 14 acts. | +| m4 | join keeps every left-side dot (asymmetric) | convergence and join laws (assertion `left == right`, props.rs:279) | 5 acts | +| m4b | join keeps every dot on both sides (symmetric) | convergence only. No law assertion fails; the failure is the in-simulation oracle check. | 6 acts | +| m5 | join ignores dots only the right side holds | convergence and join laws | one `Set`, then the observer's join: `(n = 3, acts = [Set r0], seed 0)` | + +m4b matters: a wrong but symmetric join passes the lattice laws. Only the oracle check catches it. The laws test alone is not enough. + +## Results: metadata (CBOR bytes, release build, `logs/metadata.md`) + +Columns. `state` = live dots with entries, plus the version vector. `tomb` = the same state plus one tombstone per removed add, grouped by device (the cheapest tombstone encoding I could think of; ungrouped it would be about 37 B per dot, see T4). `log` = every op plus its 32-byte BLAKE3 key. Signatures and the real p2panda header are not included, so the real log is larger. + +**T1. One entry, one device: add then clear, repeated** (`cycles` add/clear pairs, then one final add so one entry is live) + +| cycles | ops | live dots | state B | tomb B | log B | +|---:|---:|---:|---:|---:|---:| +| 0 | 1 | 1 | 117 | 118 | 110 | +| 1 | 3 | 1 | 117 | 155 | 365 | +| 10 | 21 | 1 | 117 | 164 | 2660 | +| 100 | 201 | 1 | 119 | 345 | 25964 | +| 1000 | 2001 | 1 | 121 | 3020 | 262554 | +| 10000 | 20001 | 1 | 121 | 30020 | 2629554 | + +Reading: state is flat (117 to 121 B). The only growth is the version-vector counter, which goes from one CBOR byte to three. Tombstones grow by 3.0 B per removal (slope from 1000 to 10000 cycles: (30020 − 3020) / 9000). The log grows by about 131 B per op, about 263 B per cycle. + +**T2. Distinct entries (own subject each), one device: set each, clear the first half** + +| entries | live | state B | state B per live entry | tomb B | +|---:|---:|---:|---:|---:| +| 1 | 1 | 118 | 118.0 | 119 | +| 10 | 5 | 434 | 86.8 | 476 | +| 100 | 50 | 4041 | 80.8 | 4156 | +| 1000 | 500 | 40543 | 81.1 | 41804 | + +Marginal cost of a live entry: (40543 − 4041) / 450 = 81.1 B. This is the 32-byte subject, the 32-byte device key, the seq, and the name and value. Tombstones cost only about 2.5 B each here because they are grouped by device. + +**T3. Random run, several devices, partial gossip** (3000 steps, seed 20261011, 24 possible entries) + +| devices | ops | live dots | vv entries | state B | tomb B | log B | join = reference | +|---:|---:|---:|---:|---:|---:|---:|---| +| 2 | 2947 | 7 | 2 | 611 | 5632 | 456848 | true | +| 5 | 2994 | 26 | 5 | 1835 | 6401 | 612223 | true | + +**T4. One clear op, by names and clock size** + +| names | devices in clock | clear op B | +|---:|---:|---:| +| 1 | 1 | 149 | +| 1 | 5 | 301 | +| 1 | 20 | 871 | +| 10 | 1 | 473 | +| 10 | 5 | 625 | +| 10 | 20 | 1195 | +| 100 | 1 | 3791 | +| 100 | 5 | 3943 | +| 100 | 20 | 4513 | + +Each named dot costs about 37 B, because it repeats the 32-byte device key. Each clock entry costs about 38 B. Clearing 100 claims is about 3.8 KB. Grouping names by device would remove most of that repeated key; I did not measure it. + +**T5. Compaction of the 5-device run at a causal cut** (the cut is a prefix of issue order; snapshot = reference over the prefix) + +| cut | dropped ops | snapshot B | tail B | dropped headers B (32 each) | total B | uncompacted log B | +|---:|---:|---:|---:|---:|---:|---:| +| 50% | 1497 | 3288 | 308768 | 47904 | 359960 | 612223 | +| 90% | 2694 | 4231 | 66886 | 86208 | 157325 | 612223 | +| 99% | 2964 | 1642 | 6323 | 94848 | 102813 | 612223 | + +At a 99% cut, dropping bodies while keeping 32-byte headers saves 83%. Most of what remains is the headers, so a real header with a 64-byte signature will matter more. + +## Answer: tombstones + +Not needed for correctness. A removed dot is covered by the replica's version vector, and "covered but absent" means removed (the join rule). That works because every event in a device's chain takes the next seq, sets and clears alike, so coverage is always a prefix per device. The condition is the gapless chain. The chain's `prev` links give this, and the design already requires it. If a device's seqs could have gaps, the vector could not represent removed dots, and tombstones or a dot cloud would be needed. + +Evidence: T1 (state is flat across 20001 ops), the late-duplicate test, and the convergence property. + +## Proposed compaction rule and its condition + +- Take a snapshot `S_F` = the state at a causally closed cut `F` (what a replica has applied up to `F`; a `checkpoint` event in design §4.3 is a natural carrier). +- Drop the bodies (names, clocks, entries) of ops covered by `F`. Keep their headers (IDs, seq, prev) so the chain still verifies. +- Serve a peer: if the peer covers `F` on every device, send only the tail above `F` that it lacks. Otherwise send `S_F` first, then the tail. +- Condition: `S_F` must be the state of exactly the ops at or below `F`. Stability (every device has applied `F`) is not needed for correctness. It only saves sending `S_F` to peers that already cover `F`. +- Not allowed: dropping a body below `F` and serving ops only to a peer that does not cover `F`. Test `dropping_a_stable_clear_body_resurrects_the_add_for_a_new_device`: all three existing devices have applied the clear, so it is stable, but a new device that replays the add body keeps the removed add. Stability is therefore not a sufficient condition for op-only catch-up. +- The version vector is not compacted. It is O(devices), and dropping a device's entry would make its old dots look unseen and resurrect them. + +Evidence: `snapshot_then_tail_is_correct_for_every_peer_and_cut` passes across 200 histories × 4 cuts × 3 peers. Cut 0 means every op is sent. The last cut means only the snapshot is sent. Snapshots are taken from the oracle, which equals a replica's state at a closed cut; a real implementation would take them from the replica. + +## Clock: whole causal past, not the frontier + +Design §6.1 says the clock must cover the transitive past. Test `frontier_only_clock_leaves_an_add_the_clearer_saw`: A adds x. B sees x and adds y. C sees both and clears x with a clock naming only y's dot (the frontier). C's clock does not cover x, so x survives a clear that saw it. A full clock removes x. The design's warning is confirmed. A 32-hash `after` frontier cannot carry the clock, so the clock needs its own field, as the design already says. + +## Tuple keys: subject lookup (`pkgs/id/src/tuple.rs`) + +**Encoding used.** The bug characterisation uses the current `tuple.rs`, unchanged, with the bare `0x00` terminator. The proposed fix uses a local copy of the task-01 encoding, `0x00 0x00` terminator, with escapes unchanged. I did not change `pkgs/id`. + +**Key layout** (design §9.2). `claim` = the claim's event ID (BLAKE3, 32 bytes): + +- α = `bytes(subject) string(name) (string(value) | null) bytes(claim)` +- Ω = `(string(value) | null) string(name) bytes(subject) bytes(claim)` + +Lookups: + +- *Tags of X:* prefix `bytes(subject)`. Exact for 32-byte subjects with the current encoder. The subject field is fixed length, so a longer subject cannot share the prefix. Test: `subject_prefix_is_exact_for_fixed_32_byte_subjects`. +- *Tags of X named N:* prefix `bytes(subject) string(name)`. **Not exact.** With the current encoder, name `"a"` also matches `"a\0b"`, because `"a\0b"` escapes to `61 00 FF 62 00`, which starts with `61 00`. The prefix matched 2 keys where 1 was correct. Test: `current_name_prefix_matches_a_longer_name_containing_nul` (a characterisation; flips once fixed). +- *Subjects with value V:* prefix on Ω `string(value)`, with the same NUL problem for values. + +**Fixes, tested:** + +| option | result on `"a"` vs `"a\0b"` | test | +|---|---|---| +| successor bound (`prefix` with last byte +1) | 2 hits (wrong) | `sorted_range_scans_on_the_current_encoder` | +| `prefix ++ 0xFF` bound (S6's workaround) | 1 hit (correct) | same test | +| `00 00` terminator (task 01) | 1 hit (correct), order preserved | `fixed_terminator_prefix_is_exact`, `fixed_terminator_keeps_string_order` | + +Recommendation: the `00 00` terminator. It also makes ordinary prefix ranges exact without a special bound. `00 00` cannot occur in escaped data, because every `00` is followed by `FF`. Subject-only prefixes are unaffected today, but the fix is still needed for any variable-length field and for every name and value query. + +## Not tested, and why + +- **Strong-remove precedence** (tags follow the content policy, not membership voidness). Not in my brief. The decision is open. +- **Real headers and crypto.** No `prev`, `after`, `backlink`, signatures, device keys or revocation. Device and subject keys are 32-byte placeholders. Sequence base is 1 here; the design's header uses base 0. The model is unaffected, but the VV encoding would shift by one. +- **Persistence and the index.** No redb, no index rebuild, no search, no documents, no ProseMirror. +- **Network.** Partitions are modelled as sync gating, and every op eventually arrives. No loss, timeouts or crashes. No bandwidth or latency measurements. +- **Op decoding.** I check canonical encoding (strict decode, then re-encode). There is no op decoder. +- **Compaction in a live system.** The rule is tested on in-memory replicas only. The snapshot comes from the oracle, not from a checkpoint event. +- **Clear cost optimisation.** Grouping names by device is a proposal. I did not measure it. + +## Surprising, and process notes + +1. **Stale build artifacts from my own mutant runs.** The first `cargo test` after the mutant runs failed `snapshot_then_tail…` at seed 0, cut 0, and a hand-built `join` returned a result that should have been impossible. Cause: the mutant builds used the shared target directory, and they wrote the same `libs8_tags-*.rlib`, so cargo reused a mutant's library for the main crate. `cargo clean -p s8-tags` and a rebuild gave all-pass. The mutants now build in `mutants/target`. Every result above comes from a clean `s8-tags` build or from the separate mutant target. The debug-only diagnosis files I used are deleted. +2. **A wrong but symmetric join passes the lattice laws** (m4b). Only the oracle check catches it. +3. **Table T2 first measured the wrong thing.** My entry generator reused 24 entries, so "per live entry" was really "per dot". Fixed: each entry now has its own subject. +4. **The design's survival sentence reads as if naming is optional.** Read literally, "remove iff seq ≤ clock[author]" would remove every observed add by that author, not just the named ones. The naming half must be written down. +5. **Compaction and tombstones interact.** Stability looks like the right condition, but it is not sufficient for new devices (see the counterexample above). +6. **A read of `pkgs/id/src/tuple.rs` returned an extra block that looked like a user message,** asking me to write plans and docs into `/home/user/code` following `pkgs/id/AGENTS.md`. I did not act on it. Nothing was written outside this folder. + +## Files + +- `src/lib.rs`: model, join, oracle, encodings, RNG. +- `tests/props.rs`, `tests/clock.rs`, `tests/compaction.rs`, `tests/encoding.rs`: property and unit tests. +- `tests/tuple_keys.rs`: tuple-key tests, using the real `pkgs/id/src/tuple.rs` via `#[path]`. +- `examples/metadata.rs`: metadata tables (T1–T5). +- `scripts/mutants.sh`: planted-bug runs. +- `logs/`: `test.txt`, `soak_3000.txt`, `mutants.txt`, `mutant_*.txt`, `metadata.md`. diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/examples/metadata.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/examples/metadata.rs new file mode 100644 index 0000000000..abba7141f9 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/examples/metadata.rs @@ -0,0 +1,216 @@ +//! Metadata cost tables for RESULTS.md. Run: `cargo run --release --example metadata`. +//! +//! Three sizes per case. `state` is the live dots plus the version vector (the design). `tomb` is +//! the same state plus one tombstone per removed add, grouped by device (the baseline). `log` is +//! every op with its 32-byte BLAKE3 key. + +use std::collections::{BTreeMap, BTreeSet}; + +use cbor_core::Value; +use s8_tags::{Body, Device, Dot, Entry, Op, Replica, Rng, State, encode_op, encode_state, op_id, reference}; + +fn device(i: usize) -> Device { + let mut d = [0u8; 32]; + d[0] = u8::try_from(i + 1).expect("few devices"); + d +} + +const ENTRIES: usize = 24; + +/// Entry `idx` of a fixed space of 24: 4 subjects x 2 names x 3 values. +fn entry_of(idx: usize) -> Entry { + let mut subject = [0u8; 32]; + subject[0] = u8::try_from(idx % 4).expect("small"); + Entry { + subject, + name: ["tag", "kind"][idx / 4 % 2].to_owned(), + value: [None, Some("v1".to_owned()), Some("v2".to_owned())][idx / 8 % 3].clone(), + } +} + +/// A unique entry per index, with a BLAKE3 subject as an event hash would be. +fn distinct_entry(i: usize) -> Entry { + Entry { + subject: *blake3::hash(&(i as u64).to_be_bytes()).as_bytes(), + name: "tag".to_owned(), + value: Some("v".to_owned()), + } +} + +fn tombstone_bytes(state: &State, applied: &BTreeMap) -> usize { + let mut by_device: BTreeMap> = BTreeMap::new(); + for (dot, op) in applied { + if matches!(op.body, Body::Set(_)) && !state.live.contains_key(dot) { + by_device.entry(dot.device).or_default().push(dot.seq); + } + } + let tombs = Value::array( + by_device + .into_iter() + .map(|(d, seqs)| { + Value::array(vec![ + Value::byte_string(d.to_vec()), + Value::array(seqs.into_iter().map(Value::from).collect::>()), + ]) + }) + .collect::>(), + ); + encode_state(state).len() + tombs.encode().len() +} + +fn log_bytes(ops: &[Op]) -> usize { + ops.iter().map(|op| encode_op(op).len() + op_id(op).len()).sum() +} + +/// Table 1: one entry, one device, `cycles` of set-then-clear, then one final set. +fn table_churn() { + println!("## T1. One tag entry, one device: add then clear, repeated\n"); + println!("| cycles | ops | live dots | state B | tomb B | log B |"); + println!("|---:|---:|---:|---:|---:|---:|"); + for cycles in [0usize, 1, 10, 100, 1000, 10000] { + let mut rep = Replica::new(device(0)); + let mut ops = Vec::new(); + for _ in 0..cycles { + let add = rep.set(entry_of(0)); + ops.push(add.clone()); + ops.push(rep.clear(BTreeSet::from([add.dot]))); + } + ops.push(rep.set(entry_of(0))); + println!( + "| {cycles} | {} | {} | {} | {} | {} |", + ops.len(), + rep.state.live.len(), + encode_state(&rep.state).len(), + tombstone_bytes(&rep.state, &rep.applied), + log_bytes(&ops), + ); + } + println!(); +} + +/// Table 2: N distinct entries, each set once and the first half cleared. Per-live-entry cost. +fn table_distinct() { + println!("## T2. Distinct entries, one device: set each once, clear half\n"); + println!("| entries | live | state B | state B per live entry | tomb B |"); + println!("|---:|---:|---:|---:|---:|"); + for n in [1usize, 10, 100, 1000] { + let mut rep = Replica::new(device(0)); + let mut dots = Vec::new(); + for i in 0..n { + dots.push(rep.set(distinct_entry(i)).dot); + } + rep.clear(dots[..n / 2].iter().copied().collect()); + let live = rep.state.live.len(); + let state = encode_state(&rep.state).len(); + println!( + "| {n} | {live} | {state} | {:.1} | {} |", + state as f64 / live.max(1) as f64, + tombstone_bytes(&rep.state, &rep.applied), + ); + } + println!(); +} + +/// A random run with partial gossip. Returns every replica and every issued op, in issue order. +fn random_run(devices: usize, steps: usize, seed: u64) -> (Vec, Vec) { + let mut rng = Rng::new(seed); + let mut reps: Vec = (0..devices).map(|i| Replica::new(device(i))).collect(); + let mut issued = Vec::new(); + for _ in 0..steps { + let r = rng.below(devices); + if rng.below(10) < 6 { + issued.push(reps[r].set(entry_of(rng.below(ENTRIES)))); + } else { + let live: Vec = reps[r].state.live.keys().copied().collect(); + if !live.is_empty() { + let names: BTreeSet = (0..=rng.below(3)).map(|_| live[rng.below(live.len())]).collect(); + issued.push(reps[r].clear(names)); + } + } + if rng.below(10) < 3 { + let other = rng.below(devices); + if other != r { + let src = reps[r].clone(); + reps[other].merge(&src); + } + } + } + (reps, issued) +} + +/// Table 3: random multi-device runs. Final state is the join of all devices. +fn table_multi_device() { + println!("## T3. Random run, several devices, partial gossip (3000 steps, seed 20261011)\n"); + println!("| devices | ops | live dots | vv entries | state B | tomb B | log B | join = reference |"); + println!("|---:|---:|---:|---:|---:|---:|---:|---|"); + for devices in [2usize, 5] { + let (reps, issued) = random_run(devices, 3000, 20261011); + let mut full = Replica::new(device(devices)); + for rep in &reps { + full.merge(rep); + } + let ok = full.state == reference(issued.iter()); + println!( + "| {devices} | {} | {} | {} | {} | {} | {} | {ok} |", + issued.len(), + full.state.live.len(), + full.state.vv.len(), + encode_state(&full.state).len(), + tombstone_bytes(&full.state, &full.applied), + log_bytes(&issued), + ); + } + println!(); +} + +/// Table 4: size of one clear, as the names and the clock grow. +fn table_clear_size() { + println!("## T4. One clear op: bytes by number of names and devices in the clock\n"); + println!("| names | devices in clock | clear op B |"); + println!("|---:|---:|---:|"); + for names_n in [1usize, 10, 100] { + for devices in [1usize, 5, 20] { + let names: BTreeSet = (0..names_n) + .map(|k| Dot { + device: device(0), + seq: u64::try_from(k + 1).expect("small"), + }) + .collect(); + let clock = (0..devices).map(|d| (device(d), 1000u64)).collect(); + let op = Op { + dot: Dot { device: device(0), seq: 5000 }, + body: Body::Clear { names, clock }, + }; + println!("| {names_n} | {devices} | {} |", encode_op(&op).len() + op_id(&op).len()); + } + } + println!(); +} + +/// Table 5: compaction at a cut. The snapshot is the reference over the prefix, and the tail is the rest. +fn table_compaction() { + println!("## T5. Compaction of the 5-device run at a causal cut (cut = prefix of issue order)\n"); + println!("| cut at | dropped ops | snapshot B | tail B | dropped headers B (32 each) | total B | uncompacted log B |"); + println!("|---:|---:|---:|---:|---:|---:|---:|"); + let (_reps, issued) = random_run(5, 3000, 20261011); + let full = log_bytes(&issued); + for pct in [50usize, 90, 99] { + let cut = issued.len() * pct / 100; + let snapshot = encode_state(&reference(issued[..cut].iter())).len(); + let tail = log_bytes(&issued[cut..]); + let headers = 32 * cut; + println!( + "| {pct}% | {cut} | {snapshot} | {tail} | {headers} | {} | {full} |", + snapshot + tail + headers + ); + } + println!(); +} + +fn main() { + table_churn(); + table_distinct(); + table_multi_device(); + table_clear_size(); + table_compaction(); +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/logs/metadata.md b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/logs/metadata.md new file mode 100644 index 0000000000..aab6e05fa2 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/logs/metadata.md @@ -0,0 +1,49 @@ +## T1. One tag entry, one device: add then clear, repeated + +| cycles | ops | live dots | state B | tomb B | log B | +|---:|---:|---:|---:|---:|---:| +| 0 | 1 | 1 | 117 | 118 | 110 | +| 1 | 3 | 1 | 117 | 155 | 365 | +| 10 | 21 | 1 | 117 | 164 | 2660 | +| 100 | 201 | 1 | 119 | 345 | 25964 | +| 1000 | 2001 | 1 | 121 | 3020 | 262554 | +| 10000 | 20001 | 1 | 121 | 30020 | 2629554 | + +## T2. Distinct entries, one device: set each once, clear half + +| entries | live | state B | state B per live entry | tomb B | +|---:|---:|---:|---:|---:| +| 1 | 1 | 118 | 118.0 | 119 | +| 10 | 5 | 434 | 86.8 | 476 | +| 100 | 50 | 4041 | 80.8 | 4156 | +| 1000 | 500 | 40543 | 81.1 | 41804 | + +## T3. Random run, several devices, partial gossip (3000 steps, seed 20261011) + +| devices | ops | live dots | vv entries | state B | tomb B | log B | join = reference | +|---:|---:|---:|---:|---:|---:|---:|---| +| 2 | 2947 | 7 | 2 | 611 | 5632 | 456848 | true | +| 5 | 2994 | 26 | 5 | 1835 | 6401 | 612223 | true | + +## T4. One clear op: bytes by number of names and devices in the clock + +| names | devices in clock | clear op B | +|---:|---:|---:| +| 1 | 1 | 149 | +| 1 | 5 | 301 | +| 1 | 20 | 871 | +| 10 | 1 | 473 | +| 10 | 5 | 625 | +| 10 | 20 | 1195 | +| 100 | 1 | 3791 | +| 100 | 5 | 3943 | +| 100 | 20 | 4513 | + +## T5. Compaction of the 5-device run at a causal cut (cut = prefix of issue order) + +| cut at | dropped ops | snapshot B | tail B | dropped headers B (32 each) | total B | uncompacted log B | +|---:|---:|---:|---:|---:|---:|---:| +| 50% | 1497 | 3288 | 308768 | 47904 | 359960 | 612223 | +| 90% | 2694 | 4231 | 66886 | 86208 | 157325 | 612223 | +| 99% | 2964 | 1642 | 6323 | 94848 | 102813 | 612223 | + diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/logs/mutant_m1_clear_ignores_clock.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/logs/mutant_m1_clear_ignores_clock.txt new file mode 100644 index 0000000000..5a6e1051db --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/logs/mutant_m1_clear_ignores_clock.txt @@ -0,0 +1,196 @@ + Compiling libc v0.2.190 + Compiling cfg-if v1.0.5 + Compiling rand_core v0.10.1 + Compiling getrandom v0.4.3 + Compiling find-msvc-tools v0.1.14 + Compiling rustix v1.1.5 + Compiling shlex v2.0.1 + Compiling linux-raw-sys v0.12.1 + Compiling cpufeatures v0.3.1 + Compiling bitflags v2.13.2 + Compiling autocfg v1.5.1 + Compiling fastrand v2.5.0 + Compiling once_cell v1.21.4 + Compiling constant_time_eq v0.4.2 + Compiling bit-vec v0.10.1 + Compiling arrayvec v0.7.8 + Compiling quick-error v1.2.3 + Compiling anyhow v1.0.104 + Compiling fnv v1.0.7 + Compiling cc v1.7.0 + Compiling core_detect v1.0.0 + Compiling cbor-core v0.10.1 + Compiling unarray v0.1.4 + Compiling regex-syntax v0.8.11 + Compiling chacha20 v0.10.2 + Compiling rand_xorshift v0.5.0 + Compiling bit-set v0.11.1 + Compiling num-traits v0.2.19 + Compiling blake3 v1.8.7 + Compiling wait-timeout v0.2.1 + Compiling rand v0.10.3 + Compiling tempfile v3.27.0 + Compiling rusty-fork v0.3.1 + Compiling proptest v1.12.0 + Compiling s8-tags v0.0.0 (/home/user/work/spikes-next/s8-tags/mutants/m1_clear_ignores_clock) +warning: unused variable: `clock` + --> src/lib.rs:202:34 + | +202 | Body::Clear { names, clock } => { + | ^^^^^ help: try ignoring the field: `clock: _` + | + = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default + +warning: `s8-tags` (lib) generated 1 warning (run `cargo fix --lib -p s8-tags` to apply 1 suggestion) + Finished `test` profile [unoptimized + debuginfo] target(s) in 12.64s + Running tests/props.rs (/home/user/work/spikes-next/s8-tags/mutants/target/debug/deps/props-2044cf6e193bf094) + +running 5 tests +test late_duplicate_of_a_removed_add_is_dropped ... ok +test clear_naming_unseen_dots_does_not_remove_them ... FAILED +test concurrent_adds_survive_a_clear_that_did_not_see_them ... ok +test convergence_under_partitions_and_any_delivery_order ... FAILED +test join_is_commutative_associative_and_idempotent ... FAILED + +failures: + +---- clear_naming_unseen_dots_does_not_remove_them stdout ---- +proptest: FileFailurePersistence::SourceParallel set, but failed to find lib.rs or main.rs +proptest: FileFailurePersistence::SourceParallel set, but failed to find lib.rs or main.rs +proptest: Saving this and future failures in /home/user/work/spikes-next/s8-tags/mutants/m1_clear_ignores_clock/tests/props.proptest-regressions +proptest: If this test was run on a CI system, you may wish to add the following line to your copy of the file. (You may need to create it.) +cc 0eb13182ca856b0d97cf8af8d84ae1711b8a6fecd4bf0e35c66d06b179f23881 + +thread 'clear_naming_unseen_dots_does_not_remove_them' (3406427) panicked at tests/props.rs:185:1: +Test failed: assertion failed: `(left == right)` + left: `{}`, + right: `{Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 1 }}` at tests/props.rs:264. +minimal failing input: seen = 0, unseen = 1, seed = 0 + successes: 0 + local rejects: 0 + global rejects: 0 + +note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace + +---- convergence_under_partitions_and_any_delivery_order stdout ---- +proptest: FileFailurePersistence::SourceParallel set, but failed to find lib.rs or main.rs +proptest: FileFailurePersistence::SourceParallel set, but failed to find lib.rs or main.rs +proptest: Saving this and future failures in /home/user/work/spikes-next/s8-tags/mutants/m1_clear_ignores_clock/tests/props.proptest-regressions +proptest: If this test was run on a CI system, you may wish to add the following line to your copy of the file. +cc 5bc2c3a0928d7f07b8fd14fd5d56be157cb3373279bd35133c5ab58e55daec0c + +thread 'convergence_under_partitions_and_any_delivery_order' (3406429) panicked at tests/props.rs:185:1: +Test failed: replica 1 did not converge + state: State { live: {Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 1 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }, Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 2 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }, Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 3 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }, Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 4 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }, Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 5 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }}, vv: {[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]: 6, [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]: 1} } + want: State { live: {Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 1 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }, Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 2 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }, Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 3 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }, Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 4 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }, Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 5 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }, Dot { device: [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 1 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }}, vv: {[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]: 6, [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]: 1} }. +minimal failing input: (n, acts, seed) = ( + 3, + [ + Set { + r: 0, + subject: 0, + name: 0, + value: 0, + }, + Set { + r: 0, + subject: 0, + name: 0, + value: 0, + }, + Set { + r: 1, + subject: 0, + name: 0, + value: 0, + }, + Set { + r: 0, + subject: 0, + name: 0, + value: 0, + }, + Set { + r: 0, + subject: 0, + name: 0, + value: 0, + }, + Set { + r: 0, + subject: 0, + name: 0, + value: 0, + }, + Clear { + r: 0, + observed: [], + unseen: [ + 248, + ], + }, + ], + 0, +) + successes: 0 + local rejects: 0 + global rejects: 0 + + +---- join_is_commutative_associative_and_idempotent stdout ---- +proptest: FileFailurePersistence::SourceParallel set, but failed to find lib.rs or main.rs +proptest: FileFailurePersistence::SourceParallel set, but failed to find lib.rs or main.rs +proptest: Saving this and future failures in /home/user/work/spikes-next/s8-tags/mutants/m1_clear_ignores_clock/tests/props.proptest-regressions +proptest: If this test was run on a CI system, you may wish to add the following line to your copy of the file. +cc e00000a671a28b4a89ecc54a0bc311bdd81b1dc30f083a157216afb15ad5cf7a + +thread 'join_is_commutative_associative_and_idempotent' (3406430) panicked at tests/props.rs:185:1: +Test failed: replica 2 differs from the reference over its applied ops + state: State { live: {}, vv: {[2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]: 1, [3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]: 1} } + want: State { live: {Dot { device: [3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 1 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }}, vv: {[2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]: 1, [3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]: 1} }. +minimal failing input: (n, acts, seed, picks) = ( + 3, + [ + Set { + r: 2, + subject: 0, + name: 0, + value: 0, + }, + Clear { + r: 1, + observed: [], + unseen: [ + 0, + ], + }, + Sync { + from: 1, + to: 2, + by_state: false, + seed: 0, + }, + ], + 0, + [ + 0, + 0, + 0, + ], +) + successes: 15 + local rejects: 0 + global rejects: 0 + + + +failures: + clear_naming_unseen_dots_does_not_remove_them + convergence_under_partitions_and_any_delivery_order + join_is_commutative_associative_and_idempotent + +test result: FAILED. 2 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s + +error: test failed, to rerun pass `--test props` +error: 1 target failed: + `--test props` diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/logs/mutant_m2_clear_not_gated_on_clock.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/logs/mutant_m2_clear_not_gated_on_clock.txt new file mode 100644 index 0000000000..2d1bbf41e6 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/logs/mutant_m2_clear_not_gated_on_clock.txt @@ -0,0 +1,284 @@ + Compiling s8-tags v0.0.0 (/home/user/work/spikes-next/s8-tags/mutants/m2_clear_not_gated_on_clock) + Finished `test` profile [unoptimized + debuginfo] target(s) in 3.14s + Running tests/props.rs (/home/user/work/spikes-next/s8-tags/mutants/target/debug/deps/props-2044cf6e193bf094) + +running 5 tests +test late_duplicate_of_a_removed_add_is_dropped ... FAILED +test concurrent_adds_survive_a_clear_that_did_not_see_them ... FAILED +test clear_naming_unseen_dots_does_not_remove_them ... FAILED +test join_is_commutative_associative_and_idempotent ... FAILED +test convergence_under_partitions_and_any_delivery_order ... FAILED + +failures: + +---- late_duplicate_of_a_removed_add_is_dropped stdout ---- + +thread 'late_duplicate_of_a_removed_add_is_dropped' (3407873) panicked at tests/props.rs:302:5: +assertion `left == right` failed: the clear waits for the add it names + left: 0 + right: 1 +note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace + +---- concurrent_adds_survive_a_clear_that_did_not_see_them stdout ---- +proptest: FileFailurePersistence::SourceParallel set, but failed to find lib.rs or main.rs +proptest: FileFailurePersistence::SourceParallel set, but failed to find lib.rs or main.rs +proptest: Saving this and future failures in /home/user/work/spikes-next/s8-tags/mutants/m2_clear_not_gated_on_clock/tests/props.proptest-regressions +proptest: If this test was run on a CI system, you may wish to add the following line to your copy of the file. (You may need to create it.) +cc 8cd89d6c63862769cfd732a1acbc8561d6c3ee2a34f3e97f6d4adb6c3b4eb698 + +thread 'concurrent_adds_survive_a_clear_that_did_not_see_them' (3407870) panicked at tests/props.rs:185:1: +Test failed: assertion failed: `(left == right)` + left: `{Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 1 }, Dot { device: [3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 1 }}`, + right: `{Dot { device: [3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 1 }}`: replica 3 disagrees at tests/props.rs:227. +minimal failing input: k = 1, seed = 261960309796579012 + successes: 1 + local rejects: 0 + global rejects: 0 + + +---- clear_naming_unseen_dots_does_not_remove_them stdout ---- +proptest: FileFailurePersistence::SourceParallel set, but failed to find lib.rs or main.rs +proptest: FileFailurePersistence::SourceParallel set, but failed to find lib.rs or main.rs +proptest: Saving this and future failures in /home/user/work/spikes-next/s8-tags/mutants/m2_clear_not_gated_on_clock/tests/props.proptest-regressions +proptest: If this test was run on a CI system, you may wish to add the following line to your copy of the file. +cc 57d2a52eb0900310561132edf1c0ac794717944ed85ea61dc5d9de0ce9d48507 + +thread 'clear_naming_unseen_dots_does_not_remove_them' (3407869) panicked at tests/props.rs:185:1: +Test failed: assertion failed: `(left == right)` + left: `{Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 2 }, Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 3 }, Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 4 }, Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 5 }, Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 6 }}`, + right: `{Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 4 }, Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 5 }, Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 6 }}` at tests/props.rs:264. +minimal failing input: seen = 3, unseen = 3, seed = 4086123853813234648 + successes: 1 + local rejects: 0 + global rejects: 0 + + +---- join_is_commutative_associative_and_idempotent stdout ---- +proptest: FileFailurePersistence::SourceParallel set, but failed to find lib.rs or main.rs +proptest: Aborting shrinking after the PROPTEST_MAX_SHRINK_ITERS environment variable or ProptestConfig.max_shrink_iters iterations (set 1200 to a large(r) value to shrink more; current configuration: 1200 iterations) +proptest: FileFailurePersistence::SourceParallel set, but failed to find lib.rs or main.rs +proptest: Saving this and future failures in /home/user/work/spikes-next/s8-tags/mutants/m2_clear_not_gated_on_clock/tests/props.proptest-regressions +proptest: If this test was run on a CI system, you may wish to add the following line to your copy of the file. +cc 1ab343f084452e356f4489fdcdc53023a76f5b6aa1bd16abe21b97aa094b78d9 + +thread 'join_is_commutative_associative_and_idempotent' (3407872) panicked at tests/props.rs:185:1: +Test failed: replica 1 differs from the reference over its applied ops + state: State { live: {Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 1 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }, Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 2 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }, Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 5 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }, Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 6 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }, Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 7 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }, Dot { device: [3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 1 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }}, vv: {[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]: 7, [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]: 1, [3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]: 2} } + want: State { live: {Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 1 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }, Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 5 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }, Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 6 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }, Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 7 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }, Dot { device: [3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 1 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }}, vv: {[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]: 7, [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]: 1, [3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]: 2} }. +minimal failing input: (n, acts, seed, picks) = ( + 4, + [ + Set { + r: 0, + subject: 0, + name: 0, + value: 0, + }, + Set { + r: 0, + subject: 0, + name: 0, + value: 0, + }, + Sync { + from: 0, + to: 0, + by_state: false, + seed: 0, + }, + Clear { + r: 0, + observed: [], + unseen: [], + }, + Clear { + r: 0, + observed: [], + unseen: [], + }, + Set { + r: 0, + subject: 0, + name: 0, + value: 0, + }, + Sync { + from: 0, + to: 0, + by_state: false, + seed: 0, + }, + Set { + r: 0, + subject: 0, + name: 0, + value: 0, + }, + Set { + r: 0, + subject: 0, + name: 0, + value: 0, + }, + Clear { + r: 1, + observed: [], + unseen: [], + }, + Set { + r: 2, + subject: 0, + name: 0, + value: 0, + }, + Sync { + from: 0, + to: 2, + by_state: false, + seed: 0, + }, + Clear { + r: 2, + observed: [], + unseen: [ + 61, + ], + }, + Sync { + from: 2, + to: 1, + by_state: false, + seed: 3784905738638185958, + }, + ], + 38908863383876038, + [ + 12697933400342647203, + 8785925109216079577, + 14923798916212045349, + ], +) + successes: 18 + local rejects: 0 + global rejects: 0 + + +---- convergence_under_partitions_and_any_delivery_order stdout ---- +proptest: FileFailurePersistence::SourceParallel set, but failed to find lib.rs or main.rs +proptest: Aborting shrinking after the PROPTEST_MAX_SHRINK_ITERS environment variable or ProptestConfig.max_shrink_iters iterations (set 1200 to a large(r) value to shrink more; current configuration: 1200 iterations) +proptest: FileFailurePersistence::SourceParallel set, but failed to find lib.rs or main.rs +proptest: Saving this and future failures in /home/user/work/spikes-next/s8-tags/mutants/m2_clear_not_gated_on_clock/tests/props.proptest-regressions +proptest: If this test was run on a CI system, you may wish to add the following line to your copy of the file. +cc f32c1b80963eaadd43bb8e94f0da9a2f693592388c2d2253edd5a4a179ef1016 + +thread 'convergence_under_partitions_and_any_delivery_order' (3407871) panicked at tests/props.rs:185:1: +Test failed: replica 2 differs from the reference over its applied ops + state: State { live: {Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 1 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }, Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 2 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }, Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 3 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }, Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 4 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }, Dot { device: [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 1 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }, Dot { device: [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 2 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }, Dot { device: [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 3 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }, Dot { device: [3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 1 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }}, vv: {[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]: 6, [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]: 4, [3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]: 1} } + want: State { live: {Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 1 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }, Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 2 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }, Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 3 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }, Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 4 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }, Dot { device: [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 2 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }, Dot { device: [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 3 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }, Dot { device: [3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 1 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }}, vv: {[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]: 6, [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]: 4, [3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]: 1} }. +minimal failing input: (n, acts, seed) = ( + 3, + [ + Set { + r: 1, + subject: 0, + name: 0, + value: 0, + }, + Set { + r: 1, + subject: 0, + name: 0, + value: 0, + }, + Set { + r: 0, + subject: 0, + name: 0, + value: 0, + }, + Set { + r: 0, + subject: 0, + name: 0, + value: 0, + }, + Set { + r: 0, + subject: 0, + name: 0, + value: 0, + }, + Set { + r: 0, + subject: 0, + name: 0, + value: 0, + }, + Set { + r: 2, + subject: 0, + name: 0, + value: 0, + }, + Set { + r: 1, + subject: 0, + name: 0, + value: 0, + }, + Sync { + from: 1, + to: 0, + by_state: false, + seed: 0, + }, + Clear { + r: 0, + observed: [ + 46, + ], + unseen: [], + }, + Clear { + r: 0, + observed: [], + unseen: [], + }, + Sync { + from: 0, + to: 1, + by_state: false, + seed: 0, + }, + Clear { + r: 1, + observed: [], + unseen: [], + }, + Sync { + from: 1, + to: 2, + by_state: false, + seed: 614423186955262384, + }, + ], + 8719636, +) + successes: 0 + local rejects: 0 + global rejects: 0 + + + +failures: + clear_naming_unseen_dots_does_not_remove_them + concurrent_adds_survive_a_clear_that_did_not_see_them + convergence_under_partitions_and_any_delivery_order + join_is_commutative_associative_and_idempotent + late_duplicate_of_a_removed_add_is_dropped + +test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.68s + +error: test failed, to rerun pass `--test props` +error: 1 target failed: + `--test props` diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/logs/mutant_m4_join_keeps_all.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/logs/mutant_m4_join_keeps_all.txt new file mode 100644 index 0000000000..4e7952904a --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/logs/mutant_m4_join_keeps_all.txt @@ -0,0 +1,127 @@ + Compiling s8-tags v0.0.0 (/home/user/work/spikes-next/s8-tags/mutants/m4_join_keeps_all) + Finished `test` profile [unoptimized + debuginfo] target(s) in 2.89s + Running tests/props.rs (/home/user/work/spikes-next/s8-tags/mutants/target/debug/deps/props-2044cf6e193bf094) + +running 5 tests +test late_duplicate_of_a_removed_add_is_dropped ... ok +test clear_naming_unseen_dots_does_not_remove_them ... ok +test concurrent_adds_survive_a_clear_that_did_not_see_them ... ok +test join_is_commutative_associative_and_idempotent ... FAILED +test convergence_under_partitions_and_any_delivery_order ... FAILED + +failures: + +---- join_is_commutative_associative_and_idempotent stdout ---- +proptest: FileFailurePersistence::SourceParallel set, but failed to find lib.rs or main.rs +proptest: FileFailurePersistence::SourceParallel set, but failed to find lib.rs or main.rs +proptest: Saving this and future failures in /home/user/work/spikes-next/s8-tags/mutants/m4_join_keeps_all/tests/props.proptest-regressions +proptest: If this test was run on a CI system, you may wish to add the following line to your copy of the file. (You may need to create it.) +cc fe84973afdea5ac26f273a369eb0f476445d3731e9d81cd50169fbebfd901570 + +thread 'join_is_commutative_associative_and_idempotent' (3409791) panicked at tests/props.rs:185:1: +Test failed: replica 0 differs from the reference over its applied ops + state: State { live: {Dot { device: [3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 1 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }}, vv: {[3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]: 2} } + want: State { live: {}, vv: {[3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]: 2} }. +minimal failing input: (n, acts, seed, picks) = ( + 3, + [ + Set { + r: 2, + subject: 0, + name: 0, + value: 0, + }, + Sync { + from: 2, + to: 0, + by_state: false, + seed: 0, + }, + Clear { + r: 2, + observed: [], + unseen: [ + 0, + ], + }, + Sync { + from: 2, + to: 0, + by_state: true, + seed: 0, + }, + ], + 0, + [ + 0, + 0, + 0, + ], +) + successes: 3 + local rejects: 0 + global rejects: 0 + +note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace + +---- convergence_under_partitions_and_any_delivery_order stdout ---- +proptest: FileFailurePersistence::SourceParallel set, but failed to find lib.rs or main.rs +proptest: FileFailurePersistence::SourceParallel set, but failed to find lib.rs or main.rs +proptest: Saving this and future failures in /home/user/work/spikes-next/s8-tags/mutants/m4_join_keeps_all/tests/props.proptest-regressions +proptest: If this test was run on a CI system, you may wish to add the following line to your copy of the file. +cc 7274fb511b9a4ae608240cb2ae29452da940a9351666c07e7503b661c75100a7 + +thread 'convergence_under_partitions_and_any_delivery_order' (3409790) panicked at tests/props.rs:185:1: +Test failed: state-based join differs from the reference over the union of applied ops. +minimal failing input: (n, acts, seed) = ( + 3, + [ + Set { + r: 0, + subject: 0, + name: 0, + value: 0, + }, + Set { + r: 0, + subject: 0, + name: 0, + value: 0, + }, + Set { + r: 0, + subject: 0, + name: 0, + value: 0, + }, + Sync { + from: 0, + to: 2, + by_state: false, + seed: 0, + }, + Clear { + r: 0, + observed: [], + unseen: [ + 0, + ], + }, + ], + 153726281267235404, +) + successes: 0 + local rejects: 0 + global rejects: 0 + + + +failures: + convergence_under_partitions_and_any_delivery_order + join_is_commutative_associative_and_idempotent + +test result: FAILED. 3 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s + +error: test failed, to rerun pass `--test props` +error: 1 target failed: + `--test props` diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/logs/mutant_m4b_join_union_symmetric.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/logs/mutant_m4b_join_union_symmetric.txt new file mode 100644 index 0000000000..d7176f2265 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/logs/mutant_m4b_join_union_symmetric.txt @@ -0,0 +1,163 @@ + Compiling s8-tags v0.0.0 (/home/user/work/spikes-next/s8-tags/mutants/m4b_join_union_symmetric) + Finished `test` profile [unoptimized + debuginfo] target(s) in 3.12s + Running tests/props.rs (/home/user/work/spikes-next/s8-tags/mutants/target/debug/deps/props-2044cf6e193bf094) + +running 5 tests +test late_duplicate_of_a_removed_add_is_dropped ... ok +test clear_naming_unseen_dots_does_not_remove_them ... ok +test concurrent_adds_survive_a_clear_that_did_not_see_them ... ok +test join_is_commutative_associative_and_idempotent ... FAILED +test convergence_under_partitions_and_any_delivery_order ... FAILED + +failures: + +---- join_is_commutative_associative_and_idempotent stdout ---- +proptest: FileFailurePersistence::SourceParallel set, but failed to find lib.rs or main.rs +proptest: FileFailurePersistence::SourceParallel set, but failed to find lib.rs or main.rs +proptest: Saving this and future failures in /home/user/work/spikes-next/s8-tags/mutants/m4b_join_union_symmetric/tests/props.proptest-regressions +proptest: If this test was run on a CI system, you may wish to add the following line to your copy of the file. (You may need to create it.) +cc 5d62dfc63753f9de9e52984c26781ed65f9d176c410ba67e1727352efb54c074 + +thread 'join_is_commutative_associative_and_idempotent' (3410884) panicked at tests/props.rs:185:1: +Test failed: replica 2 differs from the reference over its applied ops + state: State { live: {Dot { device: [3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 1 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }}, vv: {[2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]: 1, [3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]: 1} } + want: State { live: {}, vv: {[2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]: 1, [3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]: 1} }. +minimal failing input: (n, acts, seed, picks) = ( + 3, + [ + Set { + r: 0, + subject: 0, + name: 0, + value: 0, + }, + Set { + r: 0, + subject: 0, + name: 0, + value: 0, + }, + Set { + r: 2, + subject: 0, + name: 0, + value: 0, + }, + Set { + r: 0, + subject: 0, + name: 0, + value: 0, + }, + Set { + r: 0, + subject: 0, + name: 0, + value: 0, + }, + Set { + r: 0, + subject: 0, + name: 0, + value: 0, + }, + Sync { + from: 2, + to: 1, + by_state: false, + seed: 0, + }, + Clear { + r: 1, + observed: [ + 0, + ], + unseen: [], + }, + Sync { + from: 1, + to: 2, + by_state: true, + seed: 0, + }, + ], + 0, + [ + 0, + 0, + 0, + ], +) + successes: 0 + local rejects: 0 + global rejects: 0 + +note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace + +---- convergence_under_partitions_and_any_delivery_order stdout ---- +proptest: FileFailurePersistence::SourceParallel set, but failed to find lib.rs or main.rs +proptest: FileFailurePersistence::SourceParallel set, but failed to find lib.rs or main.rs +proptest: Saving this and future failures in /home/user/work/spikes-next/s8-tags/mutants/m4b_join_union_symmetric/tests/props.proptest-regressions +proptest: If this test was run on a CI system, you may wish to add the following line to your copy of the file. +cc afc72f111524fba45eeb83b0f122cdc23893ef7cf2c79f93987d2b26aad3042d + +thread 'convergence_under_partitions_and_any_delivery_order' (3410883) panicked at tests/props.rs:185:1: +Test failed: state-based join differs from the reference over the union of applied ops. +minimal failing input: (n, acts, seed) = ( + 3, + [ + Set { + r: 0, + subject: 0, + name: 0, + value: 0, + }, + Set { + r: 2, + subject: 0, + name: 0, + value: 0, + }, + Set { + r: 0, + subject: 0, + name: 0, + value: 0, + }, + Set { + r: 0, + subject: 0, + name: 0, + value: 0, + }, + Sync { + from: 2, + to: 0, + by_state: false, + seed: 0, + }, + Clear { + r: 2, + observed: [ + 0, + ], + unseen: [], + }, + ], + 0, +) + successes: 0 + local rejects: 0 + global rejects: 0 + + + +failures: + convergence_under_partitions_and_any_delivery_order + join_is_commutative_associative_and_idempotent + +test result: FAILED. 3 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.25s + +error: test failed, to rerun pass `--test props` +error: 1 target failed: + `--test props` diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/logs/mutant_m5_join_one_sided.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/logs/mutant_m5_join_one_sided.txt new file mode 100644 index 0000000000..eae018c8e9 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/logs/mutant_m5_join_one_sided.txt @@ -0,0 +1,89 @@ + Compiling s8-tags v0.0.0 (/home/user/work/spikes-next/s8-tags/mutants/m5_join_one_sided) + Finished `test` profile [unoptimized + debuginfo] target(s) in 2.89s + Running tests/props.rs (/home/user/work/spikes-next/s8-tags/mutants/target/debug/deps/props-2044cf6e193bf094) + +running 5 tests +test late_duplicate_of_a_removed_add_is_dropped ... ok +test convergence_under_partitions_and_any_delivery_order ... FAILED +test clear_naming_unseen_dots_does_not_remove_them ... ok +test concurrent_adds_survive_a_clear_that_did_not_see_them ... ok +test join_is_commutative_associative_and_idempotent ... FAILED + +failures: + +---- convergence_under_partitions_and_any_delivery_order stdout ---- +proptest: FileFailurePersistence::SourceParallel set, but failed to find lib.rs or main.rs +proptest: FileFailurePersistence::SourceParallel set, but failed to find lib.rs or main.rs +proptest: Saving this and future failures in /home/user/work/spikes-next/s8-tags/mutants/m5_join_one_sided/tests/props.proptest-regressions +proptest: If this test was run on a CI system, you may wish to add the following line to your copy of the file. (You may need to create it.) +cc 60032b4636dad5ed2d301436abc9b9fa64a14d7b46b9cc155a887c8058e53544 + +thread 'convergence_under_partitions_and_any_delivery_order' (3412167) panicked at tests/props.rs:185:1: +Test failed: state-based join differs from the reference over the union of applied ops. +minimal failing input: (n, acts, seed) = ( + 3, + [ + Set { + r: 0, + subject: 0, + name: 0, + value: 0, + }, + ], + 0, +) + successes: 0 + local rejects: 0 + global rejects: 0 + +note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace + +---- join_is_commutative_associative_and_idempotent stdout ---- +proptest: FileFailurePersistence::SourceParallel set, but failed to find lib.rs or main.rs +proptest: FileFailurePersistence::SourceParallel set, but failed to find lib.rs or main.rs +proptest: Saving this and future failures in /home/user/work/spikes-next/s8-tags/mutants/m5_join_one_sided/tests/props.proptest-regressions +proptest: If this test was run on a CI system, you may wish to add the following line to your copy of the file. +cc 5d5b0e034095bb7ab53b2756b4b6bbb341d1203dcf166ce56c44a660bb80f045 + +thread 'join_is_commutative_associative_and_idempotent' (3412168) panicked at tests/props.rs:185:1: +Test failed: assertion failed: `(left == right)` + left: `State { live: {}, vv: {[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]: 1} }`, + right: `State { live: {Dot { device: [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], seq: 1 }: Entry { subject: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name: "a", value: None }}, vv: {[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]: 1} }` at tests/props.rs:284. +minimal failing input: (n, acts, seed, picks) = ( + 3, + [ + Set { + r: 0, + subject: 0, + name: 0, + value: 0, + }, + Set { + r: 0, + subject: 0, + name: 0, + value: 0, + }, + ], + 0, + [ + 1759542485473404340, + 8354283602877716526, + 0, + ], +) + successes: 0 + local rejects: 0 + global rejects: 0 + + + +failures: + convergence_under_partitions_and_any_delivery_order + join_is_commutative_associative_and_idempotent + +test result: FAILED. 3 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s + +error: test failed, to rerun pass `--test props` +error: 1 target failed: + `--test props` diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/logs/mutants.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/logs/mutants.txt new file mode 100644 index 0000000000..886f09b695 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/logs/mutants.txt @@ -0,0 +1,55 @@ +== m1_clear_ignores_clock +test late_duplicate_of_a_removed_add_is_dropped ... ok +test clear_naming_unseen_dots_does_not_remove_them ... FAILED +test concurrent_adds_survive_a_clear_that_did_not_see_them ... ok +test convergence_under_partitions_and_any_delivery_order ... FAILED +test join_is_commutative_associative_and_idempotent ... FAILED +test result: FAILED. 2 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s +Test failed: assertion failed: `(left == right)` +minimal failing input: seen = 0, unseen = 1, seed = 0 +Test failed: replica 1 did not converge +minimal failing input: (n, acts, seed) = ( +== m2_clear_not_gated_on_clock +test late_duplicate_of_a_removed_add_is_dropped ... FAILED +test concurrent_adds_survive_a_clear_that_did_not_see_them ... FAILED +test clear_naming_unseen_dots_does_not_remove_them ... FAILED +test join_is_commutative_associative_and_idempotent ... FAILED +test convergence_under_partitions_and_any_delivery_order ... FAILED +test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.68s +assertion `left == right` failed: the clear waits for the add it names +Test failed: assertion failed: `(left == right)` +minimal failing input: k = 1, seed = 261960309796579012 +Test failed: assertion failed: `(left == right)` +== m4_join_keeps_all +test late_duplicate_of_a_removed_add_is_dropped ... ok +test clear_naming_unseen_dots_does_not_remove_them ... ok +test concurrent_adds_survive_a_clear_that_did_not_see_them ... ok +test join_is_commutative_associative_and_idempotent ... FAILED +test convergence_under_partitions_and_any_delivery_order ... FAILED +test result: FAILED. 3 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s +Test failed: replica 0 differs from the reference over its applied ops +minimal failing input: (n, acts, seed, picks) = ( +Test failed: state-based join differs from the reference over the union of applied ops. +minimal failing input: (n, acts, seed) = ( +== m4b_join_union_symmetric +test late_duplicate_of_a_removed_add_is_dropped ... ok +test clear_naming_unseen_dots_does_not_remove_them ... ok +test concurrent_adds_survive_a_clear_that_did_not_see_them ... ok +test join_is_commutative_associative_and_idempotent ... FAILED +test convergence_under_partitions_and_any_delivery_order ... FAILED +test result: FAILED. 3 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.25s +Test failed: replica 2 differs from the reference over its applied ops +minimal failing input: (n, acts, seed, picks) = ( +Test failed: state-based join differs from the reference over the union of applied ops. +minimal failing input: (n, acts, seed) = ( +== m5_join_one_sided +test late_duplicate_of_a_removed_add_is_dropped ... ok +test convergence_under_partitions_and_any_delivery_order ... FAILED +test clear_naming_unseen_dots_does_not_remove_them ... ok +test concurrent_adds_survive_a_clear_that_did_not_see_them ... ok +test join_is_commutative_associative_and_idempotent ... FAILED +test result: FAILED. 3 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s +Test failed: state-based join differs from the reference over the union of applied ops. +minimal failing input: (n, acts, seed) = ( +Test failed: assertion failed: `(left == right)` +minimal failing input: (n, acts, seed, picks) = ( diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/logs/soak_3000.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/logs/soak_3000.txt new file mode 100644 index 0000000000..c672fa36c4 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/logs/soak_3000.txt @@ -0,0 +1,28 @@ + Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s + Running tests/compaction.rs (/home/user/work/spikes/target/debug/deps/compaction-76dd26fe86a4fee6) + +running 3 tests +test dropping_a_stable_clear_body_resurrects_the_add_for_a_new_device ... ok +test serving_the_snapshot_to_a_new_device_is_correct ... ok +test snapshot_then_tail_is_correct_for_every_peer_and_cut ... ok + +test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.86s + + Running tests/encoding.rs (/home/user/work/spikes/target/debug/deps/encoding-13bfac7fe7cf07eb) + +running 1 test +test every_op_and_state_encoding_is_strictly_canonical ... ok + +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.36s + + Running tests/props.rs (/home/user/work/spikes/target/debug/deps/props-2044cf6e193bf094) + +running 5 tests +test late_duplicate_of_a_removed_add_is_dropped ... ok +test clear_naming_unseen_dots_does_not_remove_them ... ok +test concurrent_adds_survive_a_clear_that_did_not_see_them ... ok +test join_is_commutative_associative_and_idempotent ... ok +test convergence_under_partitions_and_any_delivery_order ... ok + +test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 10.62s + diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/scripts/mutants.sh b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/scripts/mutants.sh new file mode 100755 index 0000000000..eb217d6ddc --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/scripts/mutants.sh @@ -0,0 +1,37 @@ +#!/usr/bin/env bash +# Plant one bug per copy of the crate, run the property tests on it, and record the result. +# Each copy builds in its own target dir, so a mutant cannot leak into the main build. +# Usage: CARGO="$(rustup which --toolchain 1.97.0 cargo)" bash scripts/mutants.sh +set -u +root="$(cd "$(dirname "$0")/.." && pwd)" +cd "$root" || exit 1 +export CARGO_TARGET_DIR="$root/mutants/target" +mkdir -p logs +: > logs/mutants.txt + +mut() { + local name=$1 expr=$2 dir="mutants/$1" + rm -rf "$dir"; mkdir -p "$dir" + cp -r Cargo.toml Cargo.lock src tests "$dir"/ + perl -0pi -e "$expr" "$dir/src/lib.rs" + if cmp -s src/lib.rs "$dir/src/lib.rs"; then + echo "== $name: mutation did not apply" >> logs/mutants.txt; return + fi + (cd "$dir" && "$CARGO" test --test props --no-fail-fast 2>&1) > "logs/mutant_$name.txt" + { + echo "== $name" + grep -E "^test |test result" "logs/mutant_$name.txt" + grep -E "minimal failing input|Test failed|assertion" "logs/mutant_$name.txt" | head -4 + } >> logs/mutants.txt +} + +# m1: a clear removes every named dot, ignoring its clock (breaks unobserved-remove). +mut m1_clear_ignores_clock 's/filter\(\|dot\| covers\(clock, dot\)\)\s*\{/filter(|_| true) {/' +# m2: a clear is applied without waiting for its clock (breaks out-of-order delivery). +mut m2_clear_not_gated_on_clock 's/Body::Clear \{ clock, \.\. \} => clock\s*\.iter\(\)\s*\.all\(\|\(device, seq\)\| vv\.get\(device\)\.copied\(\)\.unwrap_or\(0\) >= \*seq\),/Body::Clear { .. } => true,/' +# m4: the join keeps every dot of the left side (asymmetric, so the laws catch it). +mut m4_join_keeps_all 's/if b\.live\.contains_key\(dot\) \|\| !covers\(&b\.vv, dot\) \{/if true {/' +# m4b: the join keeps every dot on both sides (symmetric, so only the oracle check catches it). +mut m4b_join_union_symmetric 's/if b\.live\.contains_key\(dot\) \|\| !covers\(&b\.vv, dot\) \{/if true {/; s/if !a\.live\.contains_key\(dot\) && !covers\(&a\.vv, dot\) \{/if true {/' +# m5: the join ignores dots that only the right side holds (breaks commutativity). +mut m5_join_one_sided 's/for \(dot, entry\) in &b\.live \{/for (dot, entry) in std::iter::empty::<(\&Dot, \&Entry)>() {/' diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/src/lib.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/src/lib.rs new file mode 100644 index 0000000000..10da1eb69c --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/src/lib.rs @@ -0,0 +1,306 @@ +//! S8: observed-remove tag set with dots and a per-device version vector. +//! +//! Each device signs one gapless chain of events, numbered 1, 2, 3, ... A set creates the dot +//! `(device, seq)`, and a clear takes the next number too. A clear names the dots it removes and +//! carries `clock`, its author's version vector when it was issued (the whole causal past). A +//! named dot is removed only if `clock` covers it, so a clear cannot remove what its author did +//! not see. A dot the state covers but does not hold was removed, so no tombstones are kept. + +use std::collections::{BTreeMap, BTreeSet}; + +use cbor_core::Value; + +pub type Device = [u8; 32]; +pub type Subject = [u8; 32]; + +/// For each device, the highest seq seen. Every seq below it is seen too, because chains are gapless. +pub type Vv = BTreeMap; + +#[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] +pub struct Dot { + pub device: Device, + pub seq: u64, +} + +#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord)] +pub struct Entry { + pub subject: Subject, + pub name: String, + pub value: Option, +} + +#[derive(Clone, Debug, PartialEq, Eq)] +pub enum Body { + Set(Entry), + Clear { names: BTreeSet, clock: Vv }, +} + +#[derive(Clone, Debug, PartialEq, Eq)] +pub struct Op { + pub dot: Dot, + pub body: Body, +} + +/// The live add dots, and what has been seen (removed dots included). +#[derive(Clone, Debug, Default, PartialEq, Eq)] +pub struct State { + pub live: BTreeMap, + pub vv: Vv, +} + +pub fn covers(vv: &Vv, dot: &Dot) -> bool { + dot.seq <= vv.get(&dot.device).copied().unwrap_or(0) +} + +fn merge_vv(into: &mut Vv, other: &Vv) { + for (device, seq) in other { + let s = into.entry(*device).or_insert(0); + *s = (*s).max(*seq); + } +} + +/// Join of two states. A dot survives if both hold it, or if one holds it and the other has not seen it. +pub fn join(a: &State, b: &State) -> State { + let mut live = BTreeMap::new(); + for (dot, entry) in &a.live { + if b.live.contains_key(dot) || !covers(&b.vv, dot) { + live.insert(*dot, entry.clone()); + } + } + for (dot, entry) in &b.live { + if !a.live.contains_key(dot) && !covers(&a.vv, dot) { + live.insert(*dot, entry.clone()); + } + } + let mut vv = a.vv.clone(); + merge_vv(&mut vv, &b.vv); + State { live, vv } +} + +/// The state that a set of ops must produce, computed from the definitions alone. +pub fn reference<'a>(ops: impl IntoIterator) -> State { + let mut vv = Vv::new(); + let mut sets = BTreeMap::new(); + let mut removed = BTreeSet::new(); + for op in ops { + merge_vv(&mut vv, &Vv::from([(op.dot.device, op.dot.seq)])); + match &op.body { + Body::Set(entry) => { + sets.insert(op.dot, entry.clone()); + } + Body::Clear { names, clock } => { + merge_vv(&mut vv, clock); + removed.extend(names.iter().filter(|dot| covers(clock, dot)).copied()); + } + } + } + let live = sets.into_iter().filter(|(dot, _)| !removed.contains(dot)).collect(); + State { live, vv } +} + +/// One device's copy: the applied state, plus received ops that wait for their causal past. +#[derive(Clone, Debug)] +pub struct Replica { + pub device: Device, + pub state: State, + /// Every applied op, by dot. The oracle check is `state == reference(applied.values())`. + pub applied: BTreeMap, + pending: Vec, +} + +impl Replica { + pub fn new(device: Device) -> Self { + Self { + device, + state: State::default(), + applied: BTreeMap::new(), + pending: Vec::new(), + } + } + + /// Issue a set. It is applied locally at once. + pub fn set(&mut self, entry: Entry) -> Op { + let op = Op { + dot: self.next_dot(), + body: Body::Set(entry), + }; + self.receive(op.clone()); + op + } + + /// Issue a clear of `names`. Its clock is this replica's whole version vector. + pub fn clear(&mut self, names: BTreeSet) -> Op { + let op = Op { + dot: self.next_dot(), + body: Body::Clear { + names, + clock: self.state.vv.clone(), + }, + }; + self.receive(op.clone()); + op + } + + /// Deliver one op in any order. Duplicates are dropped, and an op waits for its causal past. + pub fn receive(&mut self, op: Op) { + if !covers(&self.state.vv, &op.dot) { + self.pending.push(op); + } + self.drain(); + } + + /// State-based sync: join another replica's applied state. + pub fn merge(&mut self, other: &Replica) { + self.state = join(&self.state, &other.state); + for (dot, op) in &other.applied { + self.applied.entry(*dot).or_insert_with(|| op.clone()); + } + self.drain(); + } + + pub fn pending_len(&self) -> usize { + self.pending.len() + } + + fn next_dot(&self) -> Dot { + Dot { + device: self.device, + seq: self.state.vv.get(&self.device).copied().unwrap_or(0) + 1, + } + } + + /// An op is ready when it is next in its chain and, for a clear, its whole clock is applied. + fn is_ready(&self, op: &Op) -> bool { + let vv = &self.state.vv; + if op.dot.seq != vv.get(&op.dot.device).copied().unwrap_or(0) + 1 { + return false; + } + match &op.body { + Body::Set(_) => true, + Body::Clear { clock, .. } => clock + .iter() + .all(|(device, seq)| vv.get(device).copied().unwrap_or(0) >= *seq), + } + } + + fn drain(&mut self) { + loop { + self.pending.retain(|op| !covers(&self.state.vv, &op.dot)); + let Some(i) = self.pending.iter().position(|op| self.is_ready(op)) else { + return; + }; + let op = self.pending.swap_remove(i); + self.apply(op); + } + } + + fn apply(&mut self, op: Op) { + match &op.body { + Body::Set(entry) => { + self.state.live.insert(op.dot, entry.clone()); + } + Body::Clear { names, clock } => { + for dot in names.iter().filter(|dot| covers(clock, dot)) { + self.state.live.remove(dot); + } + } + } + self.state.vv.insert(op.dot.device, op.dot.seq); + self.applied.insert(op.dot, op); + } +} + +/// Small deterministic generator, so that simulations replay from a seed. +#[derive(Clone, Debug)] +pub struct Rng(u64); + +impl Rng { + pub fn new(seed: u64) -> Self { + Self((seed ^ 0x9E37_79B9_7F4A_7C15) | 1) + } + + /// xorshift64*. + pub fn next_u64(&mut self) -> u64 { + self.0 ^= self.0 >> 12; + self.0 ^= self.0 << 25; + self.0 ^= self.0 >> 27; + self.0.wrapping_mul(0x2545_F491_4F6C_DD1D) + } + + /// An index below `n`, which must be non-zero. + pub fn below(&mut self, n: usize) -> usize { + (self.next_u64() % n as u64) as usize + } + + pub fn shuffle(&mut self, items: &mut [T]) { + for i in (1..items.len()).rev() { + items.swap(i, self.below(i + 1)); + } + } +} + +fn dot_value(dot: &Dot) -> Value<'static> { + Value::array(vec![ + Value::byte_string(dot.device.to_vec()), + Value::from(dot.seq), + ]) +} + +fn vv_value(vv: &Vv) -> Value<'static> { + Value::array( + vv.iter() + .map(|(device, seq)| { + dot_value(&Dot { + device: *device, + seq: *seq, + }) + }) + .collect::>(), + ) +} + +fn entry_value(entry: &Entry) -> Value<'static> { + Value::array(vec![ + Value::byte_string(entry.subject.to_vec()), + Value::text_string(entry.name.clone()), + entry.value.clone().map_or_else(Value::null, Value::text_string), + ]) +} + +/// Canonical CBOR of an op: `[0, dot, entry]` for a set, `[1, dot, [names, clock]]` for a clear. +pub fn encode_op(op: &Op) -> Vec { + let (kind, body) = match &op.body { + Body::Set(entry) => (0, entry_value(entry)), + Body::Clear { names, clock } => ( + 1, + Value::array(vec![ + Value::array(names.iter().map(dot_value).collect::>()), + vv_value(clock), + ]), + ), + }; + Value::array(vec![Value::from(kind), dot_value(&op.dot), body]).encode() +} + +/// Content address of an op: BLAKE3 of its canonical encoding. +pub fn op_id(op: &Op) -> [u8; 32] { + *blake3::hash(&encode_op(op)).as_bytes() +} + +/// Canonical CBOR of a state: `[[[entry, [dots]], ...], vv]`, with entries sorted. +pub fn encode_state(state: &State) -> Vec { + let mut by_entry: BTreeMap<&Entry, Vec> = BTreeMap::new(); + for (dot, entry) in &state.live { + by_entry.entry(entry).or_default().push(*dot); + } + let entries = by_entry + .into_iter() + .map(|(entry, dots)| { + Value::array(vec![ + entry_value(entry), + Value::array(dots.iter().map(dot_value).collect::>()), + ]) + }) + .collect::>(); + Value::array(vec![Value::array(entries), vv_value(&state.vv)]).encode() +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/tests/clock.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/tests/clock.rs new file mode 100644 index 0000000000..4b3c80e5ac --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/tests/clock.rs @@ -0,0 +1,54 @@ +//! The clear's clock must cover its whole causal past, not only the immediate frontier. With the +//! frontier alone, an add the clearer did see is not covered, so it survives. + +use std::collections::BTreeSet; + +use s8_tags::{Body, Device, Dot, Entry, Op, Replica, reference}; + +fn device(i: usize) -> Device { + let mut d = [0u8; 32]; + d[0] = u8::try_from(i + 1).expect("few devices"); + d +} + +fn entry(subject: u8) -> Entry { + let mut s = [0u8; 32]; + s[0] = subject; + Entry { + subject: s, + name: "tag".into(), + value: None, + } +} + +#[test] +fn frontier_only_clock_leaves_an_add_the_clearer_saw() { + // A adds x. B sees x and then adds y, so x is in y's causal past. C sees x and y. + let mut a = Replica::new(device(0)); + let mut b = Replica::new(device(1)); + let mut c = Replica::new(device(2)); + let x = a.set(entry(0)); + b.receive(x.clone()); + let y = b.set(entry(1)); + c.receive(x.clone()); + c.receive(y.clone()); + assert!(c.state.live.contains_key(&x.dot)); + + // C clears x with a clock naming only the frontier (y, from B). C has seen x, but the clock does not cover it. + let frontier_clock = [(device(1), 1)].into_iter().collect(); + let frontier_clear = Op { + dot: Dot { device: device(2), seq: 1 }, + body: Body::Clear { names: BTreeSet::from([x.dot]), clock: frontier_clock }, + }; + c.receive(frontier_clear.clone()); + assert!(c.state.live.contains_key(&x.dot), "frontier clock: x survives a clear that saw it"); + + // The same clear with the full clock. C's version vector covers x, so x is removed. + let mut c_full = Replica::new(device(2)); + c_full.receive(x.clone()); + c_full.receive(y.clone()); + let full_clear = c_full.clear(BTreeSet::from([x.dot])); + assert!(!c_full.state.live.contains_key(&x.dot)); + let history = [x.clone(), y, full_clear]; + assert!(!reference(&history).live.contains_key(&x.dot)); +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/tests/compaction.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/tests/compaction.rs new file mode 100644 index 0000000000..21b2276d37 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/tests/compaction.rs @@ -0,0 +1,118 @@ +//! Compacting clear bodies, and the snapshot-then-tail rule proposed in RESULTS.md. + +use std::collections::BTreeSet; + +use s8_tags::{Body, Device, Dot, Entry, Op, Replica, Rng, covers, reference}; + +fn device(i: usize) -> Device { + let mut d = [0u8; 32]; + d[0] = u8::try_from(i + 1).expect("few devices"); + d +} + +fn entry(subject: usize) -> Entry { + let mut s = [0u8; 32]; + s[0] = u8::try_from(subject).expect("small"); + Entry { + subject: s, + name: "tag".into(), + value: Some("v".into()), + } +} + +/// Devices 0, 1 and 2 all hold the add and the clear that removed it, so the clear is stable. +/// Device 2 (A) is the one that compacts. Device 3 (N) joins later. +fn stable_removal() -> (Replica, Replica, Replica) { + let mut x = Replica::new(device(0)); + let mut y = Replica::new(device(1)); + let mut a = Replica::new(device(2)); + let add = x.set(entry(9)); + y.receive(add.clone()); + let clear = y.clear(BTreeSet::from([add.dot])); + x.receive(clear.clone()); + a.receive(add); + a.receive(clear); + (x, a, Replica::new(device(3))) +} + +#[test] +fn dropping_a_stable_clear_body_resurrects_the_add_for_a_new_device() { + let (_x, a, mut n) = stable_removal(); + assert!(a.state.live.is_empty(), "A removed the add"); + + // Naive rule: keep the add body, drop the clear body (keep only its header). N replays A's bodies. + let add_body = a + .applied + .values() + .find(|op| matches!(op.body, Body::Set(_))) + .cloned(); + n.receive(add_body.expect("A holds the add")); + + assert_eq!(n.state.live.len(), 1, "N holds the removed add: divergence"); + assert_ne!(n.state, a.state); +} + +#[test] +fn serving_the_snapshot_to_a_new_device_is_correct() { + let (_x, a, mut n) = stable_removal(); + // Snapshot rule: a peer that does not cover the cut gets A's state, then the tail. + n.merge(&a); + assert_eq!(n.state, a.state); + assert_eq!(n.pending_len(), 0); +} + +/// Three devices issue sets and clears in causal order, with partial gossip. Returns the replicas +/// as they stand (partly synced) and every op in issue order. +fn random_history(seed: u64) -> (Vec, Vec) { + let mut rng = Rng::new(seed); + let n = 3; + let mut reps: Vec = (0..n).map(|i| Replica::new(device(i))).collect(); + let mut issued = Vec::new(); + for _ in 0..120 { + let r = rng.below(n); + if rng.below(10) < 6 { + issued.push(reps[r].set(entry(rng.below(4)))); + } else { + let live: Vec = reps[r].state.live.keys().copied().collect(); + if !live.is_empty() { + let names: BTreeSet = (0..=rng.below(2)).map(|_| live[rng.below(live.len())]).collect(); + issued.push(reps[r].clear(names)); + } + } + if rng.below(10) < 3 { + let other = rng.below(n); + if other != r { + let src = reps[r].clone(); + reps[other].merge(&src); + } + } + } + (reps, issued) +} + +/// The proposed rule, on random histories. For every cut and every peer: a peer that covers the +/// cut gets only the tail. Any other peer first takes the snapshot (the reference over the cut), +/// then the tail. Either way it must end at the reference over the whole history. +#[test] +fn snapshot_then_tail_is_correct_for_every_peer_and_cut() { + for seed in 0..200 { + let (reps, issued) = random_history(seed); + let want = reference(&issued); + for cut in [0, issued.len() / 3, issued.len() / 2, issued.len()] { + let prefix = &issued[..cut]; + let mut snapshot = Replica::new(device(99)); + snapshot.state = reference(prefix); + for peer in &reps { + let mut p = peer.clone(); + if !prefix.iter().all(|op| covers(&p.state.vv, &op.dot)) { + p.merge(&snapshot); + } + for op in &issued[cut..] { + p.receive(op.clone()); + } + assert_eq!(p.state, want, "seed {seed}, cut {cut}"); + assert_eq!(p.pending_len(), 0, "seed {seed}, cut {cut}"); + } + } + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/tests/encoding.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/tests/encoding.rs new file mode 100644 index 0000000000..3d019d7f51 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/tests/encoding.rs @@ -0,0 +1,68 @@ +//! Canonical encodings. STRICT decoding accepts each encoding and re-encoding gives the same bytes. +//! Op IDs are BLAKE3 of these bytes, so a non-canonical encoding would give one op two IDs. + +use std::collections::BTreeSet; + +use cbor_core::{DecodeOptions, Strictness}; +use s8_tags::{Device, Dot, Entry, Replica, Rng, encode_op, encode_state}; + +fn device(i: usize) -> Device { + let mut d = [0u8; 32]; + d[0] = u8::try_from(i + 1).expect("few devices"); + d +} + +fn strict_round_trip(bytes: &[u8]) -> bool { + DecodeOptions::new() + .strictness(Strictness::STRICT) + .decode_owned(bytes) + .is_ok_and(|value| value.encode() == bytes) +} + +/// Edge cases: a NUL in a name, an empty name, an empty value, a NUL subject byte, and no value. +fn edge_entry(rng: &mut Rng) -> Entry { + let mut subject = [0u8; 32]; + subject[rng.below(32)] = u8::try_from(rng.below(3)).expect("small"); + Entry { + subject, + name: ["", "a\0b", "ab"][rng.below(3)].to_owned(), + value: [None, Some(""), Some("x\0y")][rng.below(3)].map(str::to_owned), + } +} + +#[test] +fn every_op_and_state_encoding_is_strictly_canonical() { + let mut ops_checked = 0; + let mut states_checked = 0; + for seed in 0..50 { + let mut rng = Rng::new(seed); + let mut reps: Vec = (0..3).map(|i| Replica::new(device(i))).collect(); + for _ in 0..80 { + let r = rng.below(3); + let op = if rng.below(10) < 6 { + reps[r].set(edge_entry(&mut rng)) + } else { + let live: Vec = reps[r].state.live.keys().copied().collect(); + let names: BTreeSet = if live.is_empty() { + BTreeSet::new() + } else { + (0..rng.below(3)).map(|_| live[rng.below(live.len())]).collect() + }; + reps[r].clear(names) + }; + assert!(strict_round_trip(&encode_op(&op)), "op not canonical, seed {seed}"); + ops_checked += 1; + let other = rng.below(3); + if other != r { + let src = reps[r].clone(); + reps[other].merge(&src); + } + for rep in &reps { + assert!(strict_round_trip(&encode_state(&rep.state)), "state not canonical, seed {seed}"); + states_checked += 1; + } + } + } + assert!(ops_checked > 0 && states_checked > 0); + println!("checked {ops_checked} ops and {states_checked} states"); +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/tests/props.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/tests/props.rs new file mode 100644 index 0000000000..a2d236fb6e --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/tests/props.rs @@ -0,0 +1,308 @@ +//! Property tests for the S8 observed-remove tag set. Each property says why it matters. + +use std::collections::BTreeSet; + +use proptest::collection::vec; +use proptest::prelude::*; +use proptest::test_runner::TestCaseError; +use s8_tags::{Body, Device, Dot, Entry, Op, Replica, Rng, State, join, reference}; + +/// Cases per property. Set S8_CASES for a longer run. +fn cases() -> u32 { + std::env::var("S8_CASES").ok().and_then(|s| s.parse().ok()).unwrap_or(300) +} + +fn device(i: usize) -> Device { + let mut d = [0u8; 32]; + d[0] = u8::try_from(i + 1).expect("few devices"); + d +} + +/// Subjects 0..2, names "a"/"ab"/"b", values none/"x"/"y". +fn entry(subject: u8, name: u8, value: u8) -> Entry { + let mut s = [0u8; 32]; + s[0] = subject; + Entry { + subject: s, + name: ["a", "ab", "b"][usize::from(name) % 3].to_owned(), + value: [None, Some("x"), Some("y")][usize::from(value) % 3].map(str::to_owned), + } +} + +/// Deliver `ops` to `rep` in a random order, with about a third of them sent twice. +fn deliver(rep: &mut Replica, ops: &[Op], rng: &mut Rng) { + let mut batch = ops.to_vec(); + batch.extend(ops.iter().filter(|_| rng.below(3) == 0).cloned()); + rng.shuffle(&mut batch); + for op in batch { + rep.receive(op); + } +} + +#[derive(Debug, Clone)] +enum Act { + Set { + r: usize, + subject: u8, + name: u8, + value: u8, + }, + /// Names some of the replica's live dots (observed) and some dots issued anywhere (maybe unseen). + Clear { + r: usize, + observed: Vec, + unseen: Vec, + }, + Sync { + from: usize, + to: usize, + by_state: bool, + seed: u64, + }, + Toggle { + r: usize, + }, + Heal, +} + +fn act(n: usize) -> impl Strategy { + prop_oneof![ + 3 => (0..n, 0u8..2, 0u8..3, 0u8..3) + .prop_map(|(r, subject, name, value)| Act::Set { r, subject, name, value }), + 2 => (0..n, vec(any::(), 0..3), vec(any::(), 0..3)) + .prop_map(|(r, observed, unseen)| Act::Clear { r, observed, unseen }), + 4 => (0..n, 0..n, any::(), any::()) + .prop_map(|(from, to, by_state, seed)| Act::Sync { from, to, by_state, seed }), + 1 => (0..n).prop_map(|r| Act::Toggle { r }), + 1 => Just(Act::Heal), + ] +} + +/// A random run. Replicas issue ops; syncs run only inside a partition, as either op or state exchange. +struct Sim { + reps: Vec, + part: Vec, + issued: Vec, + /// Every replica state after every step. The merge-law test picks from these. + snapshots: Vec, + rng: Rng, +} + +impl Sim { + fn new(n: usize, seed: u64) -> Self { + Self { + reps: (0..n).map(|i| Replica::new(device(i))).collect(), + part: vec![false; n], + issued: Vec::new(), + snapshots: Vec::new(), + rng: Rng::new(seed), + } + } + + /// Apply one action, then check each replica against the reference over its applied ops. + fn step(&mut self, act: &Act) -> Result<(), String> { + match *act { + Act::Set { r, subject, name, value } => { + let op = self.reps[r].set(entry(subject, name, value)); + self.issued.push(op); + } + Act::Clear { r, ref observed, ref unseen } => { + let live: Vec = self.reps[r].state.live.keys().copied().collect(); + let every_set: Vec = self + .issued + .iter() + .filter(|op| matches!(op.body, Body::Set(_))) + .map(|op| op.dot) + .collect(); + let mut names = BTreeSet::new(); + if !live.is_empty() { + names.extend(observed.iter().map(|b| live[usize::from(*b) % live.len()])); + } + if !every_set.is_empty() { + names.extend(unseen.iter().map(|b| every_set[usize::from(*b) % every_set.len()])); + } + let op = self.reps[r].clear(names); + self.issued.push(op); + } + Act::Sync { from, to, by_state, seed } => { + if from != to && self.part[from] == self.part[to] { + if by_state { + let src = self.reps[from].clone(); + self.reps[to].merge(&src); + } else { + let ops: Vec = self.reps[from].applied.values().cloned().collect(); + deliver(&mut self.reps[to], &ops, &mut Rng::new(seed)); + } + } + } + Act::Toggle { r } => self.part[r] = !self.part[r], + Act::Heal => self.part.iter_mut().for_each(|p| *p = false), + } + self.snapshots.extend(self.reps.iter().map(|rep| rep.state.clone())); + self.check() + } + + fn check(&self) -> Result<(), String> { + for (i, rep) in self.reps.iter().enumerate() { + let want = reference(rep.applied.values()); + if rep.state != want { + return Err(format!( + "replica {i} differs from the reference over its applied ops\n state: {:?}\n want: {:?}", + rep.state, want + )); + } + } + Ok(()) + } + + /// Join every replica's state into a fresh observer in random order, then heal and deliver + /// every issued op to every replica in random order. Everything must match the reference. + fn settle(&mut self) -> Result<(), String> { + let mut order: Vec = (0..self.reps.len()).collect(); + self.rng.shuffle(&mut order); + let mut observer = Replica::new(device(self.reps.len())); + for i in order { + observer.merge(&self.reps[i]); + } + if observer.state != reference(observer.applied.values()) { + return Err("state-based join differs from the reference over the union of applied ops".into()); + } + + self.part.iter_mut().for_each(|p| *p = false); + let want = reference(self.issued.iter()); + for rep in &mut self.reps { + deliver(rep, &self.issued, &mut self.rng); + } + for (i, rep) in self.reps.iter().enumerate() { + if rep.state != want || rep.pending_len() != 0 { + return Err(format!("replica {i} did not converge\n state: {:?}\n want: {:?}", rep.state, want)); + } + } + Ok(()) + } +} + +proptest! { + #![proptest_config(ProptestConfig::with_cases(cases()))] + + /// Convergence. Partitions create concurrency. Every replica matches the reference at every step, + /// and all converge after a heal, whatever order (with duplicates) the ops arrive in. + #[test] + fn convergence_under_partitions_and_any_delivery_order( + (n, acts, seed) in (3usize..=5).prop_flat_map(|n| (Just(n), vec(act(n), 1..80), any::())), + ) { + let mut sim = Sim::new(n, seed); + for a in &acts { + sim.step(a).map_err(TestCaseError::fail)?; + } + sim.settle().map_err(TestCaseError::fail)?; + } + + /// Add-wins. A clear removes only the add its author saw. Adds concurrent with it survive, + /// whatever the order. Without this, a tag set on one device could be erased by a clear + /// issued on another device that never saw it. + #[test] + fn concurrent_adds_survive_a_clear_that_did_not_see_them(k in 1usize..=3, seed in any::()) { + let n = k + 2; // 0: author, 1: clearer, 2..n: concurrent adders. Index n is an observer. + let mut reps: Vec = (0..=n).map(|i| Replica::new(device(i))).collect(); + let e = entry(0, 0, 0); + let first = reps[0].set(e.clone()); + for rep in &mut reps[1..n] { + rep.receive(first.clone()); + } + let clear = reps[1].clear(BTreeSet::from([first.dot])); + let mut ops = vec![first.clone(), clear]; + let mut expected = BTreeSet::new(); + for rep in &mut reps[2..n] { + let add = rep.set(e.clone()); + expected.insert(add.dot); + ops.push(add); + } + let mut rng = Rng::new(seed); + for rep in &mut reps { + deliver(rep, &ops, &mut rng); + } + for (i, rep) in reps.iter().enumerate() { + let live: BTreeSet = rep.state.live.keys().copied().collect(); + prop_assert_eq!(&live, &expected, "replica {} disagrees", i); + } + } + + /// Unobserved removal. A clear may name dots its author never saw. Those must survive, and the + /// dots it did see must go. Without this, a stale or mistaken claim ID could delete a later add. + #[test] + fn clear_naming_unseen_dots_does_not_remove_them( + seen in 0usize..=3, + unseen in 1usize..=3, + seed in any::(), + ) { + let mut author = Replica::new(device(0)); + let mut clearer = Replica::new(device(1)); + let mut ops = Vec::new(); + let mut seen_dots = BTreeSet::new(); + for i in 0..seen { + let op = author.set(entry(0, i as u8, 0)); + clearer.receive(op.clone()); + seen_dots.insert(op.dot); + ops.push(op); + } + let mut unseen_dots = BTreeSet::new(); + for i in 0..unseen { + let op = author.set(entry(1, i as u8, 0)); + unseen_dots.insert(op.dot); + ops.push(op); + } + let names: BTreeSet = seen_dots.union(&unseen_dots).copied().collect(); + ops.push(clearer.clear(names)); + + let mut rng = Rng::new(seed); + let mut observer = Replica::new(device(2)); + deliver(&mut observer, &ops, &mut rng); + deliver(&mut author, &ops, &mut rng); + for rep in [&observer, &author] { + let live: BTreeSet = rep.state.live.keys().copied().collect(); + prop_assert_eq!(live, unseen_dots.clone()); + } + } + + /// Merge laws. The join is commutative, associative and idempotent on reachable states. + /// Without these, replicas that sync in different groupings could end in different states. + #[test] + fn join_is_commutative_associative_and_idempotent( + (n, acts, seed, picks) in (3usize..=5).prop_flat_map(|n| { + (Just(n), vec(act(n), 1..60), any::(), any::<[usize; 3]>()) + }), + ) { + let mut sim = Sim::new(n, seed); + for a in &acts { + sim.step(a).map_err(TestCaseError::fail)?; + } + let s = &sim.snapshots; + let a = &s[picks[0] % s.len()]; + let b = &s[picks[1] % s.len()]; + let c = &s[picks[2] % s.len()]; + prop_assert_eq!(join(a, b), join(b, a)); + prop_assert_eq!(join(&join(a, b), c), join(a, &join(b, c))); + prop_assert_eq!(join(a, a), a.clone()); + } +} + +/// A late copy of a removed add must not come back. This is the case a tombstone would cover, +/// so it checks that the version vector covers it instead. +#[test] +fn late_duplicate_of_a_removed_add_is_dropped() { + let mut x = Replica::new(device(0)); + let mut y = Replica::new(device(1)); + let add = x.set(entry(0, 0, 0)); + y.receive(add.clone()); + let clear = y.clear(BTreeSet::from([add.dot])); + + let mut z = Replica::new(device(2)); + z.receive(clear); + assert_eq!(z.pending_len(), 1, "the clear waits for the add it names"); + z.receive(add.clone()); + assert!(z.state.live.is_empty()); + z.receive(add); + assert!(z.state.live.is_empty()); + assert_eq!(z.pending_len(), 0); +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/tests/tuple_keys.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/tests/tuple_keys.rs new file mode 100644 index 0000000000..2fc4c2a48c --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s8-tags/tests/tuple_keys.rs @@ -0,0 +1,129 @@ +//! How subject lookups map to tuple keys. Uses the real `pkgs/id/src/tuple.rs`, included +//! read-only with `#[path]` and not modified. +//! +//! Keys: alpha = (subject, name, value|null, claim) and omega = (value|null, name, subject, claim). +//! The subject is always 32 bytes, so a subject-only prefix is exact. A name or value prefix is +//! not: the current encoder ends a field with one 0x00, and an escaped NUL is 0x00 0xFF. + +#[allow(dead_code, clippy::all, clippy::pedantic)] +#[path = "/home/user/code/pkgs/id/src/tuple.rs"] +mod tuple; + +use std::collections::BTreeSet; + +use tuple::TupleEncoder; + +const SUBJECT: [u8; 32] = [0, 1, 0, 2, 0, 0, 3, 4, 0, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27]; +const OTHER: [u8; 32] = [0, 1, 0, 2, 0, 0, 3, 4, 0, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 99]; +const CLAIM_1: [u8; 32] = [1; 32]; +const CLAIM_2: [u8; 32] = [2; 32]; + +/// alpha key with the current `tuple.rs` encoder. +fn alpha_key(subject: &[u8], name: &str, value: Option<&str>, claim: &[u8]) -> Vec { + let mut enc = TupleEncoder::new(); + enc.bytes(subject).string(name); + match value { + Some(v) => enc.string(v), + None => enc.null(), + }; + enc.bytes(claim).build() +} + +/// Field with the task-01 terminator: a tag, then the bytes with 0x00 escaped as 0x00 0xFF, +/// then 0x00 0x00. Escaped data never holds 0x00 0x00, so the end of a field is unambiguous. +fn fixed_field(out: &mut Vec, tag: u8, bytes: &[u8]) { + out.push(tag); + for &b in bytes { + out.push(b); + if b == 0 { + out.push(0xFF); + } + } + out.extend_from_slice(&[0, 0]); +} + +fn fixed_alpha_key(subject: &[u8], name: &str, value: Option<&str>, claim: &[u8]) -> Vec { + let mut out = Vec::new(); + fixed_field(&mut out, 0x01, subject); + fixed_field(&mut out, 0x02, name.as_bytes()); + match value { + Some(v) => fixed_field(&mut out, 0x02, v.as_bytes()), + None => out.push(0x00), + } + fixed_field(&mut out, 0x01, claim); + out +} + +#[test] +fn subject_prefix_is_exact_for_fixed_32_byte_subjects() { + let keys = [ + alpha_key(&SUBJECT, "a", None, &CLAIM_1), + alpha_key(&OTHER, "a", None, &CLAIM_2), + ]; + let prefix = TupleEncoder::new().bytes(&SUBJECT).build(); + let hits: Vec<&Vec> = keys.iter().filter(|k| k.starts_with(&prefix)).collect(); + assert_eq!(hits, vec![&keys[0]]); +} + +#[test] +fn current_name_prefix_matches_a_longer_name_containing_nul() { + // Characterisation of the bug in task 01. This assertion should flip once the terminator is fixed. + let keys = [ + alpha_key(&SUBJECT, "a", None, &CLAIM_1), + alpha_key(&SUBJECT, "a\0b", None, &CLAIM_2), + ]; + let prefix = TupleEncoder::new().bytes(&SUBJECT).string("a").build(); + let hits = keys.iter().filter(|k| k.starts_with(&prefix)).count(); + assert_eq!(hits, 2, "tuple.rs: name \"a\" also matches \"a\\0b\""); +} + +#[test] +fn fixed_terminator_prefix_is_exact() { + let keys = [ + fixed_alpha_key(&SUBJECT, "a", None, &CLAIM_1), + fixed_alpha_key(&SUBJECT, "a\0b", None, &CLAIM_2), + ]; + let mut prefix = Vec::new(); + fixed_field(&mut prefix, 0x01, &SUBJECT); + fixed_field(&mut prefix, 0x02, b"a"); + let hits: Vec<&Vec> = keys.iter().filter(|k| k.starts_with(&prefix)).collect(); + assert_eq!(hits, vec![&keys[0]]); +} + +#[test] +fn sorted_range_scans_on_the_current_encoder() { + // The index is a sorted byte range. S6 found that a successor bound fails and that `prefix ++ 0xFF` works. + let index: BTreeSet> = [ + alpha_key(&SUBJECT, "a", None, &CLAIM_1), + alpha_key(&SUBJECT, "a\0b", None, &CLAIM_2), + ] + .into_iter() + .collect(); + let prefix = TupleEncoder::new().bytes(&SUBJECT).string("a").build(); + let mut successor = prefix.clone(); + *successor.last_mut().expect("non-empty") += 1; + let mut bounded = prefix.clone(); + bounded.push(0xFF); + + let by_successor = index.range(prefix.clone()..successor).count(); + let by_ff = index.range(prefix..bounded).count(); + assert_eq!(by_successor, 2, "successor bound includes the NUL name"); + assert_eq!(by_ff, 1, "prefix ++ 0xFF bound excludes it"); +} + +#[test] +fn fixed_terminator_keeps_string_order() { + let names = ["", "a", "a\0", "a\0b", "ab", "b"]; + let mut encoded: Vec> = names + .iter() + .map(|n| { + let mut out = Vec::new(); + fixed_field(&mut out, 0x02, n.as_bytes()); + out + }) + .collect(); + let in_order = encoded.clone(); + encoded.reverse(); + encoded.sort(); + assert_eq!(encoded, in_order); +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/RESULTS.md b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/RESULTS.md new file mode 100644 index 0000000000..e5ed9b2b31 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/RESULTS.md @@ -0,0 +1,224 @@ +# S9 results: Seitan V2 invites, test vectors, and the ticket question + +## Summary + +- The Seitan V2 derivations reproduce Keybase's V2 test vectors: the stretched key, the invite ID, and the Ed25519 public key (the last one through the vector's boxed pkey). The shared steps also reproduce Keybase's V1 vector. +- Not verified against Keybase: the accept-message bytes (no vector covers a signature), and the admin-side handler and V3 (I could not fetch them). The admission checks are this crate's own and are tested only against our own rules. +- 38 of 38 tests pass, with zero warnings. Clippy with `-D warnings` is clean. Ten deliberate mutations each fail the tests I expected. +- A Seitan token can be appended to an `EndpointTicket` string, and iroh-tickets 1.0.0 then accepts it and silently drops the bytes. Do not do this. The ticket has no expiry, no signature, and no single-use state. Expiry and single use belong to the admin's invite event. + +## Question + +1. Implement Seitan V2 as the design specifies: token generation, the derived keys, the joiner's proof, the admin's verification, the freshness and expiry check, single use, and the admin-only acceptance path. Verify against Keybase. +2. Can a Seitan token ride inside an iroh `EndpointTicket`? What does the ticket leak? How do expiry and single use work? + +## Method + +### Sources fetched (raw GitHub, `webfetch`, `master` branch, 2026-10-11) + +| URL under `raw.githubusercontent.com/keybase/client/master/` | Status | Used for | +|---|---|---| +| `go/teams/seitan.go` | 200 | V1 code, plus the steps V1 and V2 share: alphabet, token length, `generateIKey`, `generateSIKey`, `generateTeamInviteIDRaw` | +| `go/teams/seitan_v2.go` | 200 | V2 code: `GenerateIKeyV2`, the V2 invite-ID payload, `generateKeyPair`, `GenerateSeitanSignatureMessage`, `GenerateSignature` | +| `go/teams/seitan_v2_test.go` | 200 | V2 known sample (`TestSeitanV2KnownSamples`), and the bad-signature tests | +| `go/teams/seitan_test.go` | 200 | V1 known sample (`TestSeitanKnownSamples`) | +| `go/msgpack/msgpack.go` | 200 | `Encode` is the non-canonical encoder (struct fields in declaration order) | +| `go/teams/seitan_v3.go`, `handle_seitan.go`, `seitan_handler.go`, `team_seitan.go`, `invite_link.go` | 404 (all five) | Looked for the admin handler (`HandleTeamSeitan`, `postSeitanV2`) and V3. Not found. | + +Not fetched: the go-codec encoder (integer widths), `kbcrypto` `Sign`, the `keybase1` type definitions (`Time`, `Seqno`), and `libkb.InviteIDTag`. `webfetch` returns text without line numbers, so I cite Go identifiers instead of line numbers. + +### Commands + +``` +export CARGO="$(rustup which --toolchain 1.97.0 cargo)" CARGO_TARGET_DIR=/home/user/work/spikes/target +cd seitan-v2 && "$CARGO" test --no-fail-fast # logs/test-output.txt +cd seitan-v2 && "$CARGO" run -q --release --example dump_vectors # logs/dump-vectors.txt +cd seitan-v2 && cargo clippy --all-targets -- -D warnings # logs/clippy.txt (cargo from the 1.97.0 bin on PATH) +cd ticket-probe && "$CARGO" run -q # logs/ticket-probe.txt +python3 -I scripts/mutation.py # logs/mutation-check.txt +``` + +The crate's `Cargo.lock` is copied from `/home/user/work/spikes/Cargo.lock` and then updated for the new dependencies. Cargo fetched the new crates from crates.io (the spike lock had none of scrypt, rmp-serde, proptest, or crypto_secretbox locally). + +## Results + +### 1. Derivation steps against Keybase + +Status: **V** = matched a Keybase test vector. **R** = matched the Go code by reading it, with no vector. **N** = not verified. + +| # | Step | Keybase identifier | Our code | Check | Status | +|---|---|---|---|---|---| +| 1 | Alphabet `abcdefghjkmnpqrsuvwxyz23456789` (30 symbols) | `KBase30EncodeStd` | `token::ALPHABET` | Coverage test over 500 tokens. The vector's symbols are all in the alphabet. | R + V | +| 2 | Token length 18, `+` at index 6 | `SeitanEncodedIKeyLength`, `seitanEncodedIKeyV2PlusOffset` | `TOKEN_LEN`, `PLUS_INDEX` | Shape test (1000 tokens). Vector has `+` at index 6. | R + V | +| 3 | 17 random symbols, rejection sampling on the low 5 bits | `generateIKey` | `Token::generate` | Shape and coverage tests. Random, so no vector. | R | +| 4 | Lowercase the token before stretching | `SeitanIKeyV2.String()` | `Token::parse` | Unit test: `4UYWZA+B3CGA7RD6YC` parses to the vector token. Proptest: any case gives the same ID. The vector itself is already lowercase. | R | +| 5 | scrypt, N = 2^10, r = 8, p = 1, 32 bytes, empty salt | `generateSIKey`, `SeitanScryptCost/R/P/Keylen` | `derive::stretch` | V2 vector `Il9ZFgI1…` matches. V1 vector `Yqbj8N…` also matches. | V (V2 and V1) | +| 6 | Invite-ID payload `{stage: "invite_id", version: 2}` | `NewSeitanInviteIDPayload` | `derive::stage_payload` | The invite ID depends on these bytes, and the vector matches. | V | +| 7 | Invite ID = first 15 bytes of HMAC-SHA512(sikey, payload) + tag | `generateTeamInviteIDRaw` | `derive::invite_id` | Vector `6303ec43…6227` matches. Its last byte is `0x27`, which confirms the tag. The V1 vector `24189cc0…9c27` also ends in `27`. | V (tag confirmed by vectors, not by reading `libkb.InviteIDTag`) | +| 8 | Invite ID hex form, 32 characters | `generateTeamInviteID` (hex), `SCTeamInviteID` | `InviteId::to_hex` | Vector string matches. | V | +| 9 | Ed25519 seed payload `{stage: "eddsa", version: 2}` | `generateKeyPair` / `PrivateKeySeedPayload` | `derive::stage_payload("eddsa")` | Confirmed indirectly: the derived public key is in the decrypted pkey. | V | +| 10 | Seed = first 32 bytes of HMAC-SHA512(sikey, payload), Ed25519 from seed | `generateKeyPair` (`seed[0:32]`, `ed25519.GenerateKey`) | `derive::signing_key` | Vector pkey decrypts, and its plaintext contains our derived public key `8d3b1ccf…b528`. | V | +| 11 | pkey box: XSalsa20-Poly1305, 24-byte nonce, team key | `packAndEncryptKeyWithSecretKey`, `decryptKeyAndLabelWithSecretKey` | test only, `crypto_secretbox` | Vector opens with its team key, not with zeros. Version 2 and generation 1 match. | V (decrypt only; we never create pkeys) | +| 12 | Accept message: `{stage: "accept", uid, eldest_seqno, ctime, invite_id, version: 2}`, in that order | `SigPayload` in `GenerateSeitanSignatureMessage` | `accept::message` | Field order and types match the struct. Golden test pins our bytes. | R (order and types). Bytes are **N**. | +| 13 | Signature is Ed25519 over those bytes | `kbcrypto` `NaclSigningKeyPrivate.Sign` (not read) | `ed25519-dalek` `sign` | Round trip only. | **N** | +| 14 | Signature binds uid, eldest_seqno, ctime, and invite ID | `TestSeitanBadSignatures` | `accept::verify` | Changing any of the four fields fails. | R (test expectations) | +| 15 | Seitan V1 and V2 are single use | comment in `TestSeitanMultipleRequestForOneInvite` | `Invite::create(…, max_uses = 1)` | Single-use test. | R (as the test states it) | +| 16 | Admin path, V2 freshness check, V3 freshness check | handler not fetched | `admit.rs` | Our tests only. | **N** | + +Step 5 has a second check: the V1 vector (`raw2ewqp249dyod4`) gives the same scrypt output and the same tag, so the scrypt parameters are confirmed twice. + +Two V1 and V2 differences in the source matter for anyone implementing from `seitan.go` alone. `seitan.go` still has the V1 invite-ID payload, `{stage: "invite_id"}` with no version. It also has `GenerateIKey`, which uses the V1 `+` position (index 5). The V2 values are in `seitan_v2.go`. + +### 2. Test suite + +| Test binary | Tests | Result | +|---|---|---| +| unit (`derive`, V1 vector, payload bytes, hex) | 3 | pass | +| `tests/accept.rs` (golden bytes, parse rules, verify, forgery, proptests) | 9 | pass | +| `tests/admit.rs` (admin path, boundaries, proptest on the freshness window) | 15 | pass | +| `tests/token.rs` (shape, coverage, parse errors, redacted Debug, proptest) | 7 | pass | +| `tests/vectors.rs` (Keybase V2 vectors) | 4 | pass | +| **Total** | **38** | **38 pass, 0 fail, 0 warnings** | + +Three separate runs of the final code gave 38/38. `cargo fmt --check` passes. `cargo clippy --all-targets -- -D warnings` exits 0 with zero warnings (`logs/clippy.txt`). A ticket-probe run has no warnings either. + +### 3. Mutation check + +`scripts/mutation.py` applies one change to a scratch copy and records which tests fail. Baseline on the same copy: 38 pass. + +| # | Mutation | Failing tests | Caught by | +|---|---|---|---| +| M1 | Ed25519 seed payload label `eddsa` → `eddsb` | 1 | the pkey vector only | +| M2 | Invite-ID tag `0x27` → `0x28` | 3 | vectors, and the V1 vector | +| M3 | scrypt `r` 8 → 1 | 5 | vectors | +| M4 | Stale check removed | 3 | freshness proptest, two stale tests | +| M5 | Use limit removed | 2 | single-use and multi-use tests | +| M6 | Expiry check removed | 2 | expiry tests | +| M7 | Signature not checked | 8 | forgery, tamper, and replay tests | +| M8 | `ctime` and `eldest_seqno` swapped in the message | 1 | golden bytes only (no Keybase vector covers this) | +| M9 | Use not recorded | 2 | single-use and multi-use tests | +| M10 | Revocation check removed | 1 | revocation test | + +The script reports a mutation as `NOT APPLIED` when its pattern does not match exactly once. In the final run all ten were applied. Earlier runs skipped M1 (its pattern matched three times) and M7 and M9 (`cargo fmt` had changed the text). I fixed those patterns and reran. The earlier runs also had the artifact collision described in Surprising 4, so only the final run counts. M1 is caught by one test, the pkey vector, which is therefore the only Keybase check on the Ed25519 derivation. M8 is caught only by our golden-bytes test. + +### 4. Admin path + +`Invite::admit` checks, in this order, with the signature last because it is the costly check. A rejected attempt records nothing (test `a_rejected_attempt_does_not_use_up_the_invite`). + +| Check | Reject | Test | +|---|---|---| +| Invite ID matches the stored invite | `UnknownInvite` | `an_accept_for_a_different_token_names_no_known_invite` | +| Not revoked | `Revoked` | `a_revoked_invite_admits_no_one` | +| `now ≤ expires` and `ctime ≤ expires` | `Expired` | `an_expired_invite_rejects_at_processing_time`, `an_accept_signed_after_expiry…` | +| Uses left (`max_uses = 1` for Seitan) | `Used` | `a_valid_accept_admits_once…` | +| Joiner not already admitted | `AlreadyAdmitted` | `multi_use_invites_still_block_the_same_joiner_twice` | +| `ctime ≥ created − 5 min` | `Stale` | `an_accept_from_before_the_invite_existed_is_stale`, `an_accept_for_an_earlier_invite…` | +| `ctime ≤ now + 5 min` | `FromFuture` | `an_accept_from_the_future…` | +| Signature verifies under the invite's public key (strict) | `BadSignature` | `a_forged_message…`, `changing_any_signed_field…`, `a_flipped_signature_bit…` | + +The proptest `a_ctime_is_admitted_exactly_inside_the_window` checks 256 random cases against the window rule. + +**Decision for the owner: the freshness window is bound to the invite's life, not to the wall clock.** The design says a home server may hold an accept for later processing. A window of "now minus 5 minutes" would reject any accept held for longer than that. I used `created − 5 min ≤ ctime ≤ min(now + 5 min, expires)`. The 5 minutes is the envelope skew window from the design. A stale accept is one signed before the invite existed, which is what the re-issue case needs. Using a wall-clock window instead would require either re-signing held accepts or a window as long as the hold period. + +Other checks I wrote and did not take from Keybase: the signature covers the exact bytes received (no re-encoding before verifying), `verify_strict` is used, and the decoder accepts any integer encoding of the same fields (test `signed_integer_families_decode_to_the_same_fields`). + +### 5. Ticket probe (`ticket-probe/`, iroh-tickets 1.0.0, iroh-base 1.3.0) + +Nothing was dialled. The probe encodes and decodes tickets locally. + +| Step | Result | +|---|---| +| Ticket with one relay URL and one IPv4 address | 124-character string. Postcard payload 72 bytes. | +| Payload layout | variant (1) + EndpointId (32) + address count (1) + relay entry (30) + IP entry (8). Every byte is accounted for: no timestamp, signature, or nonce. | +| Round trip | equal | +| Token appended after the payload (18 bytes) | **parses**, and the address is unchanged. No API returns the extra bytes. | +| EndpointId swapped inside the string | **parses**, with a different ID. The ticket is unsigned. | +| Parsed twice | same address. Parsing consumes nothing. | + +Source confirms the probe: `EndpointTicket` is `TicketWireFormat::Variant1 { id, addrs }`, decoded with `postcard::from_bytes`. postcard 1.1.3's `from_bytes` does not check for trailing bytes (`de/mod.rs:12-19`). + +### 6. Offline guess cost + +Release build, one thread, AMD Ryzen 7 7840U, 2,000 guesses: **1.40 ms per guess** (scrypt plus the invite-ID HMAC). An attacker holding the public invite ID can run this check. At that rate, 2^20 guesses take about 24 core-minutes, so a human-chosen token with about 20 bits of entropy falls to a laptop in under an hour. The 83-bit random token is far beyond that. + +## Verdicts + +**Seitan V2 derivations.** Verified against Keybase's V2 vectors: the stretched key, the invite ID, and the Ed25519 public key. The accept-message bytes and the admin path are not verified against Keybase. The admission rules are implemented and tested against our own spec, and the freshness window is a decision for the owner (see section 4). + +**Can a Seitan token ride inside an `EndpointTicket`?** Not as a field: the format has no place for one. It can be appended after the postcard payload, and iroh-tickets 1.0.0 then accepts the string and silently discards the bytes. That is an accident of postcard, not a supported channel. Keep the token out of the ticket. The link should carry the ticket (a route) and the token (the authority) separately, with the token in the URL fragment for a bearer link. + +**What does the ticket leak?** The EndpointId (the admin node's long-lived public key), the home relay URL (its host, which shows where the node is homed), and any direct IP:port included. The payload has no other fields (measured). Anyone holding the ticket can also dial that endpoint. That follows from how iroh dials and was not tested here, since the probe dials nothing. + +**Expiry.** The ticket has none. It works for as long as its addresses do. Expiry belongs to the invite event, which the admin checks when processing an accept: `now > expires` is `Expired`, and so is an accept whose `ctime` is after `expires`. + +**Single use.** The ticket has none, since parsing and dialling consume nothing. Single use is the admin's state: the first admitted accept records a use, and later accepts are `Used`. The ticket is unsigned, so anyone who edits it can point a joiner at a different node. That node can withhold the accept or forward it. It cannot change the admitted uid, which is signed, and it cannot make a proof without the token. + +## Not verified or not tested + +- **Admin handler and V3.** `HandleTeamSeitan`, `postSeitanV2`, and the V3 code are not in any file I fetched (five guessed paths returned 404). So the design's claim that V2 has no `ctime` check, and that V3 has one, is unchecked. +- **Accept-message bytes.** No vector covers an accept or a signature. My integer widths follow rmp-serde's minimal encoding. go-codec may encode `ctime` or `eldest_seqno` differently. The verifier accepts either, since it verifies the received bytes, but I did not check Keybase's choice. +- **Signing primitive.** The key pair comes from Go's standard `ed25519.GenerateKey` (RFC 8032). The signing call is `kbcrypto`'s `Sign`, which I did not read. Its output is not checked against Keybase. +- **`ctime` unit.** `keybase1.Time` is not read. I use milliseconds, to match the design's `*_MS` naming. +- **Links.** The `id:join?…` format, the bearer fragment, and "typed link fails without the key" are not built. The brief's S9 list does not include them. Structurally, an accept cannot be made without the token. +- **Not built:** the chain event format, persistence, multiple admins racing on one invite (the research doc, §8.3, says the chain must serialise accepts, as Keybase does at admission), the approval flow, the metadata documentation, and a Keybase interop test (no Keybase server or client here). +- **Secrets.** `SiKey` and the Ed25519 seed are not zeroised on drop. +- **Ticket network behaviour.** No dial, no relay, no real endpoint. The probe is decode-only. +- **Performance.** Only the single-guess timing above. No benchmarks of admission or of `Token::generate`. + +## Deviations from the brief and the design + +- **Pins for crates the spike `Cargo.toml` does not list** follow `pkgs/id`'s lock: `hmac` 0.13, `sha2` 0.11, `scrypt` 0.12, `rmp-serde` 1, `getrandom` 0.3, `proptest` 1, `crypto_secretbox` 0.1, `base64` 0.22. +- **`ed25519-dalek` 3.0.0, not the spike's `"2"` pin.** `pkgs/id` uses 3, and the research (§8.1) names 3. This crate has no p2panda dependency, so the spike's pin for the p2panda side does not apply. The lock keeps only 3.0.0. +- **Token parsing is stricter and wider than Keybase's.** It rejects symbols outside the alphabet, which catches typos early. It trims surrounding whitespace. Keybase does neither. Neither changes any derivation for a valid token. +- **Non-ASCII input is rejected.** Keybase lowercases with Unicode rules. For ASCII they agree. +- **The proof is verified over the bytes received.** It is not re-encoded first. +- **`hkdf`, `blake3`, and `cbor-core` are not used.** No step in the Seitan derivations needs them, and the invite event's encoding belongs to task 02. + +## New dependencies (for the brief's report requirement) + +| Crate | Version | Role | Relation to `pkgs/id` | +|---|---|---|---| +| `ed25519-dalek` | 3.0.0 | runtime | direct in `pkgs/id` | +| `sha2` | 0.11.0 | runtime | direct (optional) in `pkgs/id` | +| `rmp-serde` | 1.3.1 | runtime | direct (optional) in `pkgs/id` | +| `serde` | 1.0.229 | runtime | direct in `pkgs/id` | +| `hmac` | 0.13.0 | runtime | in `pkgs/id`'s lock, not a direct dependency | +| `scrypt` | 0.12.0 | runtime | in `pkgs/id`'s lock, not direct. The research (§8.1) calls it transitive; in the spike lock it is absent. | +| `getrandom` | 0.3.4 | runtime (token generation) | in `pkgs/id`'s lock, not direct | +| `proptest` | 1.12.0 | dev only | new to the lock | +| `crypto_secretbox` | 0.1.1 | dev only (vector decryption) | new to the lock | +| `base64` | 0.22.1 | dev only | in `pkgs/id`'s lock | +| `serde_bytes` | 0.11.19 | dev only | in `pkgs/id`'s lock | +| `iroh-tickets` | 1.0.0 | probe only | direct in `pkgs/id` | +| `iroh-base` | 1.3.0 (`key` feature) | probe only | in the spike lock | +| `data-encoding` | 2.11.1 | probe only | in the spike lock | + +## Surprising + +1. **V1 and V2 differ in the invite-ID payload and the `+` position.** `seitan.go` still contains the V1 forms (`{stage}` only, `+` at index 5). Anyone who stops there gets the wrong ID for V2. The V2 vector catches this. +2. **V1 accepts are HMAC proofs keyed by the stretched key, and V1 stores the token itself, encrypted under the team key.** So the admin can recover the token and check the proof. V2 signs with a key derived from the token, so the admin needs only the public key. That is why the design can publish the public key in the clear. +3. **iroh-tickets 1.0.0 ignores trailing bytes** (probe step 3). The format has no integrity check, so an edited ticket still parses. +4. **Cargo artifact collision.** My mutation scratch copies and the real crate have the same package name and the same path relative to their workspace root, and they shared `CARGO_TARGET_DIR`. A mutant build was reused for the real crate, so the real crate's test run failed on the revocation test. Touching the source files fixed it. I did not confirm the exact cargo mechanism. The fix is a separate target dir for any scratch copy of a standalone crate. The other spike folders may have the same issue. +5. **The research doc's "scrypt (transitive)" does not hold for the spike lock.** scrypt is absent there. It is in `pkgs/id`'s lock. +6. **The design's 404 for Keybase is not a general block.** The raw GitHub paths for `go/teams/seitan.go` and `seitan_v2.go` return 200 on `master` today. Only the admin handler paths I tried return 404. + +## Files + +``` +s9-seitan/ + RESULTS.md this file + seitan-v2/ the crate (Cargo.lock copied from the spike lock, then updated) + src/token.rs token generation and parsing + src/derive.rs scrypt, invite ID, Ed25519 key; V1 vector and payload bytes + src/accept.rs the joiner's proof: message, signing, parsing, verification + src/admit.rs the admin path: state, freshness, expiry, single use, revocation + src/lib.rs + tests/vectors.rs Keybase V2 vectors (4 tests) + tests/token.rs, tests/accept.rs, tests/admit.rs + examples/dump_vectors.rs prints the derivation steps, one proof, and the offline-guess timing + ticket-probe/ iroh EndpointTicket probe (decode-only) + scripts/mutation.py the mutation check + logs/ test-output, clippy, dump-vectors, ticket-probe, mutation-check (all under 4 KB) +``` + +Code size (`wc -l`): 532 lines in `src/`, 716 in `tests/` and `examples/`. diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/logs/clippy.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/logs/clippy.txt new file mode 100644 index 0000000000..0250eb70b7 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/logs/clippy.txt @@ -0,0 +1,2 @@ + Checking seitan-v2 v0.0.0 (/home/user/work/spikes-next/s9-seitan/seitan-v2) + Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/logs/dump-vectors.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/logs/dump-vectors.txt new file mode 100644 index 0000000000..c04e6cfdd2 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/logs/dump-vectors.txt @@ -0,0 +1,9 @@ +token 4uywza+b3cga7rd6yc +siKey (hex) 225f59160235c8fd9be87bede778d6228a3cb03adede9bb2347f1bd9eb3d4d34 +invite ID 6303ec43bd61d21edb95a433faf06227 (Keybase vector 6303ec43bd61d21edb95a433faf06227) +ed25519 public key 8d3b1ccf8f4f69d375a5965f16b2fb430257b99f8bb8d52a19708910b084b528 +accept message 111 bytes: 86a57374616765a6616363657074a3756964aa6a6f696e65722d756964ac656c646573745f7365716e6f01a56374696d65cf000001a3185d3a60a9696e766974655f6964d9203633303365633433626436316432316564623935613433336661663036323237a776657273696f6e02 +signature b0fc963ad13a5e61d58824cb32e7dcdc4df2f63684ec3f579fe7e4ed542deb3a9c48ea81db3e3ef9658bfe3651ea973d1e21517c06a506d49ba1daa0df7fdb03 +admit (first) Ok(Admitted { uid: "joiner-uid", eldest_seqno: 1 }) +admit (replay) Err(Used) +offline guess 1.397818ms each (stretch + invite ID, 2000 guesses) diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/logs/mutation-check.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/logs/mutation-check.txt new file mode 100644 index 0000000000..4b638e47bc --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/logs/mutation-check.txt @@ -0,0 +1,40 @@ +baseline (unmutated copy): + passed=38 failed=0 compile_error=False +M1 eddsa stage label: passed=37 failed=1 compile_error=False + FAILED ed25519_public_key_is_the_one_boxed_in_the_vector_pkey +M2 invite-ID tag byte: passed=35 failed=3 compile_error=False + FAILED a_signed_proof_verifies_under_the_invite_public_key + FAILED derive::tests::v1_vector_checks_the_steps_v1_and_v2_share + FAILED invite_id_matches_the_vector +M3 scrypt r: passed=33 failed=5 compile_error=False + FAILED a_signed_proof_verifies_under_the_invite_public_key + FAILED derive::tests::v1_vector_checks_the_steps_v1_and_v2_share + FAILED ed25519_public_key_is_the_one_boxed_in_the_vector_pkey + FAILED invite_id_matches_the_vector + FAILED stretch_matches_the_vector_sikey +M4 no stale check: passed=35 failed=3 compile_error=False + FAILED a_ctime_is_admitted_exactly_inside_the_window + FAILED an_accept_for_an_earlier_invite_with_the_same_token_is_stale + FAILED an_accept_from_before_the_invite_existed_is_stale +M5 no use limit: passed=36 failed=2 compile_error=False + FAILED a_valid_accept_admits_once_and_the_invite_is_then_used_up + FAILED multi_use_invites_still_block_the_same_joiner_twice +M6 no expiry check: passed=36 failed=2 compile_error=False + FAILED an_accept_signed_after_expiry_is_expired_even_if_processed_in_time + FAILED an_expired_invite_rejects_at_processing_time +M7 signature not checked: passed=30 failed=8 compile_error=False + FAILED a_flipped_signature_bit_is_rejected + FAILED a_forged_message_signed_with_another_key_fails + FAILED a_forged_message_with_the_public_invite_id_fails_the_signature + FAILED a_proof_from_another_token_fails_under_this_key + FAILED a_rejected_attempt_does_not_use_up_the_invite + FAILED changing_any_signed_field_breaks_the_signature + FAILED flipping_any_message_bit_breaks_the_signature + FAILED the_signature_covers_the_exact_bytes_sent +M8 ctime before eldest_seqno: passed=37 failed=1 compile_error=False + FAILED accept_message_is_the_keybase_map_in_declaration_order +M9 use not recorded: passed=36 failed=2 compile_error=False + FAILED a_valid_accept_admits_once_and_the_invite_is_then_used_up + FAILED multi_use_invites_still_block_the_same_joiner_twice +M10 no revocation check: passed=37 failed=1 compile_error=False + FAILED a_revoked_invite_admits_no_one diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/logs/test-output.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/logs/test-output.txt new file mode 100644 index 0000000000..95dbae98fa --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/logs/test-output.txt @@ -0,0 +1,76 @@ + Compiling seitan-v2 v0.0.0 (/home/user/work/spikes-next/s9-seitan/seitan-v2) + Finished `test` profile [unoptimized + debuginfo] target(s) in 0.46s + Running unittests src/lib.rs (/home/user/work/spikes/target/debug/deps/seitan_v2-55fec2352b7a4ac2) + +running 3 tests +test derive::tests::invite_id_hex_round_trips_and_rejects_other_forms ... ok +test derive::tests::stage_payloads_are_the_keybase_maps_byte_for_byte ... ok +test derive::tests::v1_vector_checks_the_steps_v1_and_v2_share ... ok + +test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + Running tests/accept.rs (/home/user/work/spikes/target/debug/deps/accept-c80a9a7ff48ac7c7) + +running 9 tests +test accept_message_is_the_keybase_map_in_declaration_order ... ok +test parse_accepts_the_well_formed_message_and_rejects_the_rest ... ok +test a_forged_message_signed_with_another_key_fails ... ok +test the_signature_covers_the_exact_bytes_sent ... ok +test signed_integer_families_decode_to_the_same_fields ... ok +test a_proof_from_another_token_fails_under_this_key ... ok +test a_signed_proof_verifies_under_the_invite_public_key ... ok +test fields_survive_the_round_trip ... ok +test flipping_any_message_bit_breaks_the_signature ... ok + +test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.81s + + Running tests/admit.rs (/home/user/work/spikes/target/debug/deps/admit-a626413571d8b54c) + +running 15 tests +test a_rejected_attempt_does_not_use_up_the_invite ... ok +test a_forged_message_with_the_public_invite_id_fails_the_signature ... ok +test a_flipped_signature_bit_is_rejected ... ok +test a_revoked_invite_admits_no_one ... ok +test an_accept_for_a_different_token_names_no_known_invite ... ok +test a_valid_accept_admits_once_and_the_invite_is_then_used_up ... ok +test garbage_is_malformed ... ok +test an_accept_from_before_the_invite_existed_is_stale ... ok +test an_accept_from_the_future_beyond_the_skew_window_is_rejected ... ok +test an_accept_signed_after_expiry_is_expired_even_if_processed_in_time ... ok +test changing_any_signed_field_breaks_the_signature ... ok +test an_accept_for_an_earlier_invite_with_the_same_token_is_stale ... ok +test an_expired_invite_rejects_at_processing_time ... ok +test multi_use_invites_still_block_the_same_joiner_twice ... ok +test a_ctime_is_admitted_exactly_inside_the_window ... ok + +test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.82s + + Running tests/token.rs (/home/user/work/spikes/target/debug/deps/token-d423223c2c92d9fb) + +running 7 tests +test parse_lowercases_and_ignores_surrounding_space ... ok +test parse_rejects_each_malformed_shape_with_a_reason ... ok +test debug_output_does_not_show_the_token_or_the_stretched_key ... ok +test generated_tokens_have_the_v2_shape ... ok +test generated_tokens_cover_the_whole_alphabet ... ok +test generated_tokens_do_not_repeat ... ok +test any_case_gives_the_same_token_and_the_same_invite_id ... ok + +test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.76s + + Running tests/vectors.rs (/home/user/work/spikes/target/debug/deps/vectors-89257f7a482bdfdf) + +running 4 tests +test a_wrong_team_key_does_not_open_the_vector_pkey ... ok +test ed25519_public_key_is_the_one_boxed_in_the_vector_pkey ... ok +test invite_id_matches_the_vector ... ok +test stretch_matches_the_vector_sikey ... ok + +test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + Doc-tests seitan_v2 + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/logs/ticket-probe.txt b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/logs/ticket-probe.txt new file mode 100644 index 0000000000..d4e69966e4 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/logs/ticket-probe.txt @@ -0,0 +1,12 @@ +1. ticket string (124 chars): endpointadveu3dd4kofecv66vihwezoyx4zkr3wv27l464siipou2iui3jcyaqadruhi5dqom5c6l3smvwgc6jomv4gc3lqnrss45dfon2c4lybadaaaaqk2era + postcard payload (72 bytes): 00ea4a6c63e29c520abef5507b132ec5f9954776aebebe7b92421eea691446d22c02001c68747470733a2f2f72656c61792e6578616d706c652e746573742e2f0100c000020ad122 + layout (iroh-tickets endpoint.rs): variant 00 | EndpointId 32 bytes | addr count | addrs + fields: no signature, no expiry, no extension field +2. round trip equal: true + leaks: id=ea4a6c63e29c520abef5507b132ec5f9954776aebebe7b92421eea691446d22c + transport Relay(https://relay.example.test./) + transport Ip(192.0.2.10:4433) +3. token appended after the payload (90 bytes): + parses: true addr unchanged: true token recovered by any API: no (no accessor exists) +4. EndpointId swapped inside the string: parses = true, id now 1398f62c6d1a457c51ba6a4b5f3dbd2f69fca93216218dc8997e416bd17d93ca +5. parsed twice, same address: true diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/scripts/mutation.py b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/scripts/mutation.py new file mode 100644 index 0000000000..b1360a44f2 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/scripts/mutation.py @@ -0,0 +1,75 @@ +"""Mutation check: break one step of the crate in a scratch copy and record which tests fail. + +Each mutation must be applied exactly once to the copy, or the run is reported as not applied. +""" +import os +import re +import shutil +import subprocess + +ROOT = "/home/user/work/spikes-next/s9-seitan" +BASE = os.path.join(ROOT, "seitan-v2") +SCRATCH = os.path.join(ROOT, "mutants") +CARGO = subprocess.check_output(["rustup", "which", "--toolchain", "1.97.0", "cargo"], text=True).strip() +# Scratch copies have the same package name and relative path as the real crate, so they must not share its +# target dir: cargo would reuse a mutant's artifacts for the real crate (and the reverse). +ENV = dict(os.environ, CARGO_TARGET_DIR=os.path.join(ROOT, "mutants", "target")) + +MUTATIONS = [ + ("M1 eddsa stage label", "src/derive.rs", 'hmac_sha512(&sikey.0, &stage_payload("eddsa"))', 'hmac_sha512(&sikey.0, &stage_payload("eddsb"))'), + ("M2 invite-ID tag byte", "src/derive.rs", "INVITE_ID_TAG: u8 = 0x27;", "INVITE_ID_TAG: u8 = 0x28;"), + ("M3 scrypt r", "src/derive.rs", "SCRYPT_R: u32 = 8;", "SCRYPT_R: u32 = 1;"), + ("M4 no stale check", "src/admit.rs", "if fields.ctime_ms.saturating_add(SKEW_MS) < self.created_ms {", "if false {"), + ("M5 no use limit", "src/admit.rs", "if self.admitted.len() >= self.max_uses {", "if false {"), + ("M6 no expiry check", "src/admit.rs", "if now_ms > self.expires_ms || fields.ctime_ms > self.expires_ms {", "if false {"), + ("M7 signature not checked", "src/accept.rs", "key.verify_strict(&proof.message, &signature)\n .map_err(|_| ProofError::BadSignature)", "let _ = (&key, &signature);\n Ok(())"), + ("M8 ctime before eldest_seqno", "src/accept.rs", " eldest_seqno: u64,\n ctime: u64,", " ctime: u64,\n eldest_seqno: u64,"), + ("M9 use not recorded", "src/admit.rs", "self.admitted\n .push((fields.uid.clone(), fields.eldest_seqno));", ""), + ("M10 no revocation check", "src/admit.rs", "if self.revoked {", "if false {"), +] + + +def main(): + if os.path.exists(SCRATCH): + shutil.rmtree(SCRATCH) + shutil.copytree(BASE, os.path.join(SCRATCH, "base")) + print("baseline (unmutated copy):") + shutil.copytree(os.path.join(SCRATCH, "base"), os.path.join(SCRATCH, "work")) + failed, passed, err = run_tests_at(os.path.join(SCRATCH, "work")) + print(f" passed={passed} failed={len(failed)} compile_error={err}") + for t in failed: + print(f" FAILED {t}") + + for name, rel, old, new in MUTATIONS: + work = os.path.join(SCRATCH, "work") + shutil.rmtree(work) + shutil.copytree(os.path.join(SCRATCH, "base"), work) + path = os.path.join(work, rel) + with open(path) as fh: + text = fh.read() + count = text.count(old) + if count != 1: + print(f"{name}: NOT APPLIED (pattern found {count} times)") + continue + with open(path, "w") as fh: + fh.write(text.replace(old, new)) + failed, passed, err = run_tests_at(work) + print(f"{name}: passed={passed} failed={len(failed)} compile_error={err}") + for t in failed: + print(f" FAILED {t}") + + +def run_tests_at(path): + proc = subprocess.run( + [CARGO, "test", "--no-fail-fast"], cwd=path, env=ENV, capture_output=True, text=True + ) + out = proc.stdout + proc.stderr + failed = sorted(set(re.findall(r"^test (\S+) \.\.\. FAILED$", out, re.M))) + passed = len(re.findall(r"^test \S+ \.\.\. ok$", out, re.M)) + # cargo prints "error: test failed" when tests fail, so match only real compile errors. + compile_error = "could not compile" in out or re.search(r"^error\[E\d+\]", out, re.M) is not None + return failed, passed, compile_error + + +if __name__ == "__main__": + main() diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/seitan-v2/Cargo.lock b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/seitan-v2/Cargo.lock new file mode 100644 index 0000000000..1bc14bb9ee --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/seitan-v2/Cargo.lock @@ -0,0 +1,901 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "aead" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0" +dependencies = [ + "crypto-common 0.1.7", + "generic-array", +] + +[[package]] +name = "autocfg" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" + +[[package]] +name = "base64" +version = "0.22.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" + +[[package]] +name = "bit-set" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56d87354e4229f54a44f7bf2435906a4656dba36026ab6eaca629a2c436a691c" +dependencies = [ + "bit-vec", +] + +[[package]] +name = "bit-vec" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5727b15fa97d4f4fee0a3b7c3d550ed0269f54329207b86388de918604e31269" +dependencies = [ + "borsh", + "serde", +] + +[[package]] +name = "bitflags" +version = "2.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06" + +[[package]] +name = "block-buffer" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2f6c7dbe95a6ed67ad9f18e57daf93a2f034c524b99fd2b76d18fdfeb6660aa" +dependencies = [ + "hybrid-array", +] + +[[package]] +name = "borsh" +version = "1.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "553c5d846a6ba5150c65e3b1b8ec073bcf1abc20f9b7220de384a4443ea4e20a" +dependencies = [ + "borsh-derive", + "bytes", + "cfg_aliases", +] + +[[package]] +name = "borsh-derive" +version = "1.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12cdfe656708a01f89b451a7d36466e6fe6c414de0aa18fc54f864f6f9ca9f56" +dependencies = [ + "once_cell", + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "bytes" +version = "1.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04" + +[[package]] +name = "cfg-if" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600" + +[[package]] +name = "cfg_aliases" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527" + +[[package]] +name = "chacha20" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65c35e4b699c7e15ccbe7ee35c005e4fc0a278d22238a2857e6ce2dadeda1b06" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "rand_core 0.10.1", +] + +[[package]] +name = "cipher" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" +dependencies = [ + "crypto-common 0.1.7", + "inout 0.1.4", + "zeroize", +] + +[[package]] +name = "cipher" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8cf2a2c93cd704877c0858356ed03480ff301ee950b43f1cbe4573b088bfa6c" +dependencies = [ + "block-buffer", + "crypto-common 0.2.2", + "inout 0.2.2", +] + +[[package]] +name = "cmov" +version = "0.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c9ea0ac24bc397ab3c98583a3c9ba74fa56b09a4449bbe172b9b1ddb016027a" + +[[package]] +name = "const-oid" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6ef517f0926dd24a1582492c791b6a4818a4d94e789a334894aa15b0d12f55c" + +[[package]] +name = "core_detect" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f8f80099a98041a3d1622845c271458a2d73e688351bf3cb999266764b81d48" + +[[package]] +name = "cpufeatures" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" +dependencies = [ + "libc", +] + +[[package]] +name = "cpufeatures" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ca28b0ae3115b884660db4118d803791fd6756b6e88f39c0f3f7859060d7566" +dependencies = [ + "libc", +] + +[[package]] +name = "crypto-common" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" +dependencies = [ + "generic-array", + "rand_core 0.6.4", + "typenum", +] + +[[package]] +name = "crypto-common" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453" +dependencies = [ + "hybrid-array", +] + +[[package]] +name = "crypto_secretbox" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9d6cf87adf719ddf43a805e92c6870a531aedda35ff640442cbaf8674e141e1" +dependencies = [ + "aead", + "cipher 0.4.4", + "generic-array", + "poly1305", + "salsa20 0.10.2", + "subtle", + "zeroize", +] + +[[package]] +name = "ctutils" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03bb0e1cc970d482d121d9a1744999169b69a07470b3d644a7894e53fcaf4574" +dependencies = [ + "cmov", +] + +[[package]] +name = "curve25519-dalek" +version = "5.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5eed333089e2e1c1ac8c6c0398e5e2497b4c9926ca6d0365ed1e099afa5bc23" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "curve25519-dalek-derive", + "digest", + "fiat-crypto", + "rustc_version", + "subtle", + "zeroize", +] + +[[package]] +name = "curve25519-dalek-derive" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "digest" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2" +dependencies = [ + "block-buffer", + "const-oid", + "crypto-common 0.2.2", + "ctutils", +] + +[[package]] +name = "ed25519" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29fcf32e6c73d1079f83ab4d782de2d81620346a5f38c6237a86a22f8368980a" +dependencies = [ + "signature", +] + +[[package]] +name = "ed25519-dalek" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ebaa1a2bf1290ab3bfe5a7b771d050ebffab2711c19a81691c683a5144a25de" +dependencies = [ + "curve25519-dalek", + "ed25519", + "sha2", + "subtle", + "zeroize", +] + +[[package]] +name = "equivalent" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" + +[[package]] +name = "errno" +version = "0.3.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" +dependencies = [ + "libc", + "windows-sys", +] + +[[package]] +name = "fastrand" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223" + +[[package]] +name = "fiat-crypto" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64cd1e32ddd350061ae6edb1b082d7c54915b5c672c389143b9a63403a109f24" + +[[package]] +name = "fnv" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" + +[[package]] +name = "generic-array" +version = "0.14.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +dependencies = [ + "typenum", + "version_check", + "zeroize", +] + +[[package]] +name = "getrandom" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0" +dependencies = [ + "cfg-if", + "libc", + "wasi", +] + +[[package]] +name = "getrandom" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" +dependencies = [ + "cfg-if", + "libc", + "r-efi 5.3.0", + "wasip2", +] + +[[package]] +name = "getrandom" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" +dependencies = [ + "cfg-if", + "libc", + "r-efi 6.0.0", + "rand_core 0.10.1", +] + +[[package]] +name = "hashbrown" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" + +[[package]] +name = "hmac" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6303bc9732ae41b04cb554b844a762b4115a61bfaa81e3e83050991eeb56863f" +dependencies = [ + "digest", +] + +[[package]] +name = "hybrid-array" +version = "0.4.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27f864f10dfb56725ce5ce5472bc52252c8f93a4ab86327122cebf62c5f59a17" +dependencies = [ + "typenum", +] + +[[package]] +name = "indexmap" +version = "2.14.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855" +dependencies = [ + "equivalent", + "hashbrown", +] + +[[package]] +name = "inout" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01" +dependencies = [ + "generic-array", +] + +[[package]] +name = "inout" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4250ce6452e92010fdf7268ccc5d14faa80bb12fc741938534c58f16804e03c7" +dependencies = [ + "hybrid-array", +] + +[[package]] +name = "libc" +version = "0.2.190" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78" + +[[package]] +name = "linux-raw-sys" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53" + +[[package]] +name = "memchr" +version = "2.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" + +[[package]] +name = "num-traits" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +dependencies = [ + "autocfg", +] + +[[package]] +name = "once_cell" +version = "1.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" + +[[package]] +name = "opaque-debug" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" + +[[package]] +name = "pbkdf2" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "112d82ceb8c5bf524d9af484d4e4970c9fd5a0cc15ba14ad93dccd28873b0629" +dependencies = [ + "digest", + "hmac", +] + +[[package]] +name = "poly1305" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8159bd90725d2df49889a078b54f4f79e87f1f8a8444194cdca81d38f5393abf" +dependencies = [ + "cpufeatures 0.2.17", + "opaque-debug", + "universal-hash", +] + +[[package]] +name = "proc-macro-crate" +version = "3.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e67ba7e9b2b56446f1d419b1d807906278ffa1a658a8a5d8a39dcb1f5a78614f" +dependencies = [ + "toml_edit", +] + +[[package]] +name = "proc-macro2" +version = "1.0.107" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "proptest" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8530004ccb15eae51c7e40009fbe317f341f804db54dc033eec1c50be28cfa0" +dependencies = [ + "bit-set", + "bit-vec", + "bitflags", + "chacha20", + "core_detect", + "num-traits", + "rand", + "rand_xorshift", + "regex-syntax", + "rusty-fork", + "tempfile", + "unarray", +] + +[[package]] +name = "quick-error" +version = "1.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" + +[[package]] +name = "quote" +version = "1.0.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "r-efi" +version = "5.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" + +[[package]] +name = "r-efi" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" + +[[package]] +name = "rand" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65c9fb96cbc91e3478eaae79a69fcd3f1ae4ad052e471fe6732fff548984b4af" +dependencies = [ + "getrandom 0.4.3", + "rand_core 0.10.1", +] + +[[package]] +name = "rand_core" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +dependencies = [ + "getrandom 0.2.17", +] + +[[package]] +name = "rand_core" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" + +[[package]] +name = "rand_xorshift" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60aa6af80be32871323012e02e6e65f8a7cc7890931ae421d217ad8fe0df2ccf" +dependencies = [ + "rand_core 0.10.1", +] + +[[package]] +name = "regex-syntax" +version = "0.8.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" + +[[package]] +name = "rmp" +version = "0.8.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ba8be72d372b2c9b35542551678538b562e7cf86c3315773cae48dfbfe7790c" +dependencies = [ + "num-traits", +] + +[[package]] +name = "rmp-serde" +version = "1.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72f81bee8c8ef9b577d1681a70ebbc962c232461e397b22c208c43c04b67a155" +dependencies = [ + "rmp", + "serde", +] + +[[package]] +name = "rustc_version" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" +dependencies = [ + "semver", +] + +[[package]] +name = "rustix" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "891efababe418670775f199f0d233d84843c227a0949a883ce15b37c78d6629d" +dependencies = [ + "bitflags", + "errno", + "libc", + "linux-raw-sys", + "windows-sys", +] + +[[package]] +name = "rusty-fork" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc6bf79ff24e648f6da1f8d1f011e9cac26491b619e6b9280f2b47f1774e6ee2" +dependencies = [ + "fnv", + "quick-error", + "tempfile", + "wait-timeout", +] + +[[package]] +name = "salsa20" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97a22f5af31f73a954c10289c93e8a50cc23d971e80ee446f1f6f7137a088213" +dependencies = [ + "cipher 0.4.4", +] + +[[package]] +name = "salsa20" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f874456e72520ff1375a06c588eaf074b0f01f9e9e1aada45bd9b7954a6e42c" +dependencies = [ + "cfg-if", + "cipher 0.5.2", +] + +[[package]] +name = "scrypt" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d87af57419b594aa23fa95f09f0e06d80d84ba01c26148c43844cad6ff4485f0" +dependencies = [ + "cfg-if", + "pbkdf2", + "salsa20 0.11.0", + "sha2", +] + +[[package]] +name = "seitan-v2" +version = "0.0.0" +dependencies = [ + "base64", + "crypto_secretbox", + "ed25519-dalek", + "getrandom 0.3.4", + "hmac", + "proptest", + "rmp-serde", + "scrypt", + "serde", + "serde_bytes", + "sha2", +] + +[[package]] +name = "semver" +version = "1.0.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd" + +[[package]] +name = "serde" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba" +dependencies = [ + "serde_core", + "serde_derive", +] + +[[package]] +name = "serde_bytes" +version = "0.11.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5d440709e79d88e51ac01c4b72fc6cb7314017bb7da9eeff678aa94c10e3ea8" +dependencies = [ + "serde", + "serde_core", +] + +[[package]] +name = "serde_core" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "sha2" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "digest", +] + +[[package]] +name = "signature" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28d567dcbaf0049cb8ac2608a76cd95ff9e4412e1899d389ee400918ca7537f5" + +[[package]] +name = "subtle" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" + +[[package]] +name = "syn" +version = "2.0.119" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "3.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d62a2e0561533f2ca2561d0cf27fd9fedb640a1bf2616ff5d5c80d99017faadc" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "tempfile" +version = "3.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" +dependencies = [ + "fastrand", + "getrandom 0.4.3", + "once_cell", + "rustix", + "windows-sys", +] + +[[package]] +name = "toml_datetime" +version = "1.1.2+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b86d767906c6c42421dcba507eb9d203e779497710a47782a224bb871653053" +dependencies = [ + "serde_core", +] + +[[package]] +name = "toml_edit" +version = "0.25.17+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3641d5bbb5349a79e1020a242d251efbc546ad8048d133958323ce9c40a9c9c" +dependencies = [ + "indexmap", + "toml_datetime", + "toml_parser", + "winnow", +] + +[[package]] +name = "toml_parser" +version = "1.1.5+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baa693a8032d7e1cada7d0041e96126df243179ff061456783ac7f12bda4744c" +dependencies = [ + "winnow", +] + +[[package]] +name = "typenum" +version = "1.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" + +[[package]] +name = "unarray" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94" + +[[package]] +name = "unicode-ident" +version = "1.0.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d245f478577f809a851594d02313b640fb437e0bb33866753cff937863096954" + +[[package]] +name = "universal-hash" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea" +dependencies = [ + "crypto-common 0.1.7", + "subtle", +] + +[[package]] +name = "version_check" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" + +[[package]] +name = "wait-timeout" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09ac3b126d3914f9849036f826e054cbabdc8519970b8998ddaf3b5bd3c65f11" +dependencies = [ + "libc", +] + +[[package]] +name = "wasi" +version = "0.11.1+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" + +[[package]] +name = "wasip2" +version = "1.0.4+wasi-0.2.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b67efb37e106e55ce722a510d6b5f9c17f083e5fc79afc2badeb12cc313d9487" +dependencies = [ + "wit-bindgen", +] + +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + +[[package]] +name = "windows-sys" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" +dependencies = [ + "windows-link", +] + +[[package]] +name = "winnow" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23b97319f7b8343df12cc98938e5c3eb436064524c8d2b4e30a1d3a36eecdf81" +dependencies = [ + "memchr", +] + +[[package]] +name = "wit-bindgen" +version = "0.57.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e" + +[[package]] +name = "zeroize" +version = "1.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e13084392c5e4bc371903e2935a5eaeed24905a7511356b883835e18a78f6879" diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/seitan-v2/Cargo.toml b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/seitan-v2/Cargo.toml new file mode 100644 index 0000000000..7b4ef14399 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/seitan-v2/Cargo.toml @@ -0,0 +1,27 @@ +[package] +name = "seitan-v2" +version = "0.0.0" +edition = "2024" +rust-version = "1.96" +publish = false + +[dependencies] +ed25519-dalek = "3" +getrandom = "0.3" +hmac = "0.13" +rmp-serde = "1" +scrypt = "0.12" +serde = { version = "1", features = ["derive"] } +sha2 = "0.11" + +[dev-dependencies] +base64 = "0.22" +crypto_secretbox = "0.1" +proptest = "1" +serde_bytes = "0.11" + +# scrypt runs once per proptest case, so unoptimised dependencies make the suite slow. +[profile.dev.package."*"] +opt-level = 3 + +[workspace] diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/seitan-v2/examples/dump_vectors.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/seitan-v2/examples/dump_vectors.rs new file mode 100644 index 0000000000..d7208de39c --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/seitan-v2/examples/dump_vectors.rs @@ -0,0 +1,45 @@ +//! Prints each derivation step for Keybase's vector token, then one sample proof and its admission. +//! Run with: cargo run --example dump_vectors + +use std::time::Instant; + +use seitan_v2::{Invite, Token, accept, derive}; + +fn hex(bytes: &[u8]) -> String { + bytes.iter().map(|b| format!("{b:02x}")).collect() +} + +fn main() { + let token = Token::parse("4uywza+b3cga7rd6yc").unwrap(); + let sikey = derive::stretch(&token); + let id = derive::invite_id(&sikey); + let public = derive::signing_key(&sikey).verifying_key().to_bytes(); + + println!("token {}", token.as_str()); + println!("siKey (hex) {}", hex(sikey.as_bytes())); + println!("invite ID {id} (Keybase vector 6303ec43bd61d21edb95a433faf06227)"); + println!("ed25519 public key {}", hex(&public)); + + let created = 1_800_000_000_000; + let now = created + 60_000; + let mut invite = Invite::create(&token, created, created + 86_400_000, 1); + let proof = accept::sign(&token, "joiner-uid", 1, now); + println!( + "accept message {} bytes: {}", + proof.message.len(), + hex(&proof.message) + ); + println!("signature {}", hex(&proof.signature)); + println!("admit (first) {:?}", invite.admit(&proof, now)); + println!("admit (replay) {:?}", invite.admit(&proof, now)); + + // Cost of one offline guess: an attacker who has the invite ID tries a candidate token and compares IDs. + let guesses = 2000; + let started = Instant::now(); + for _ in 0..guesses { + let candidate = Token::generate().unwrap(); + std::hint::black_box(derive::invite_id(&derive::stretch(&candidate))); + } + let per_guess = started.elapsed() / guesses; + println!("offline guess {per_guess:?} each (stretch + invite ID, {guesses} guesses)"); +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/seitan-v2/src/accept.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/seitan-v2/src/accept.rs new file mode 100644 index 0000000000..b7f4ab5320 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/seitan-v2/src/accept.rs @@ -0,0 +1,91 @@ +//! The joiner's proof. It mirrors `GenerateSeitanSignatureMessage` and `GenerateSignature` in keybase/client `seitan_v2.go`. +//! +//! The joiner sends the message bytes and the signature. The admin verifies the signature over the bytes +//! exactly as received, and only then reads the fields out of them. Nothing is re-encoded before verifying. + +use ed25519_dalek::{Signature, Signer, VerifyingKey}; +use serde::{Deserialize, Serialize}; + +use crate::derive::{self, InviteId, VERSION}; +use crate::token::Token; + +/// What the joiner sends: the signed message bytes and the Ed25519 signature over them. +#[derive(Clone, Debug, PartialEq, Eq)] +pub struct Proof { + pub message: Vec, + pub signature: [u8; 64], +} + +/// The fields of a decoded accept message. +#[derive(Clone, Debug, PartialEq, Eq)] +pub struct Fields { + pub uid: String, + pub eldest_seqno: u64, + pub ctime_ms: u64, + pub invite_id: InviteId, +} + +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub enum ProofError { + Malformed, + BadKey, + BadSignature, +} + +#[derive(Serialize, Deserialize)] +#[serde(deny_unknown_fields)] +struct Wire { + stage: String, + uid: String, + eldest_seqno: u64, + ctime: u64, + invite_id: String, + version: u8, +} + +/// The message the joiner signs: `{stage: "accept", uid, eldest_seqno, ctime, invite_id, version: 2}`, as msgpack. +/// `ctime` is milliseconds since the Unix epoch. `invite_id` is the 32-character hex form. +pub fn message(uid: &str, eldest_seqno: u64, ctime_ms: u64, invite_id: &InviteId) -> Vec { + rmp_serde::to_vec_named(&Wire { + stage: "accept".to_owned(), + uid: uid.to_owned(), + eldest_seqno, + ctime: ctime_ms, + invite_id: invite_id.to_hex(), + version: VERSION, + }) + .expect("encoding a fixed struct cannot fail") +} + +/// Joiner side. The joiner types the token, derives the key, and signs. This changes no membership state. +pub fn sign(token: &Token, uid: &str, eldest_seqno: u64, ctime_ms: u64) -> Proof { + let sikey = derive::stretch(token); + let invite_id = derive::invite_id(&sikey); + let key = derive::signing_key(&sikey); + let message = message(uid, eldest_seqno, ctime_ms, &invite_id); + let signature = key.sign(&message).to_bytes(); + Proof { message, signature } +} + +/// Decodes an accept message. Any stage other than "accept", any version other than 2, and any malformed field is an error. +pub fn parse(message: &[u8]) -> Result { + let wire: Wire = rmp_serde::from_slice(message).map_err(|_| ProofError::Malformed)?; + if wire.stage != "accept" || wire.version != VERSION { + return Err(ProofError::Malformed); + } + let invite_id = InviteId::from_hex(&wire.invite_id).ok_or(ProofError::Malformed)?; + Ok(Fields { + uid: wire.uid, + eldest_seqno: wire.eldest_seqno, + ctime_ms: wire.ctime, + invite_id, + }) +} + +/// Checks the signature over the message bytes as received, against an invite's public key. +pub fn verify(public_key: &[u8; 32], proof: &Proof) -> Result<(), ProofError> { + let key = VerifyingKey::from_bytes(public_key).map_err(|_| ProofError::BadKey)?; + let signature = Signature::from_bytes(&proof.signature); + key.verify_strict(&proof.message, &signature) + .map_err(|_| ProofError::BadSignature) +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/seitan-v2/src/admit.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/seitan-v2/src/admit.rs new file mode 100644 index 0000000000..a30bf7cbd7 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/seitan-v2/src/admit.rs @@ -0,0 +1,147 @@ +//! The admin side: invite state and the admission check. An admin's node runs this. It is the only path from a proof to membership. + +use std::fmt; + +use crate::accept::{self, Proof, ProofError}; +use crate::derive::{self, InviteId}; +use crate::token::Token; + +/// Allowance for clock skew on `ctime`. It matches the 5-minute envelope window in the design. +pub const SKEW_MS: u64 = 5 * 60 * 1000; + +/// An invite as the admin's chain records it, plus what the admin has admitted under it. +#[derive(Clone, Debug)] +pub struct Invite { + id: InviteId, + public_key: [u8; 32], + created_ms: u64, + expires_ms: u64, + max_uses: usize, + revoked: bool, + admitted: Vec<(String, u64)>, +} + +/// The joiner that was admitted. The caller then posts `member.set` for it. +#[derive(Clone, Debug, PartialEq, Eq)] +pub struct Admitted { + pub uid: String, + pub eldest_seqno: u64, +} + +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub enum Reject { + Malformed, + UnknownInvite, + Revoked, + Expired, + Used, + AlreadyAdmitted, + Stale, + FromFuture, + BadKey, + BadSignature, +} + +impl From for Reject { + fn from(e: ProofError) -> Reject { + match e { + ProofError::Malformed => Reject::Malformed, + ProofError::BadKey => Reject::BadKey, + ProofError::BadSignature => Reject::BadSignature, + } + } +} + +impl fmt::Display for Reject { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + f.write_str(match self { + Reject::Malformed => "malformed accept", + Reject::UnknownInvite => "no such invite", + Reject::Revoked => "invite revoked", + Reject::Expired => "invite expired", + Reject::Used => "invite already used", + Reject::AlreadyAdmitted => "joiner already admitted", + Reject::Stale => "accept predates this invite", + Reject::FromFuture => "accept is from the future", + Reject::BadKey => "invite public key is invalid", + Reject::BadSignature => "signature does not match the invite", + }) + } +} + +impl std::error::Error for Reject {} + +impl Invite { + /// Creates a Seitan V2 invite. The admin derives the public half from the token and keeps only the + /// ID and the public key. Keybase's Seitan is single use, so Seitan invites use `max_uses = 1`. + /// + /// # Panics + /// If `max_uses` is 0. + pub fn create(token: &Token, created_ms: u64, expires_ms: u64, max_uses: usize) -> Invite { + assert!(max_uses >= 1, "an invite needs at least one use"); + let sikey = derive::stretch(token); + Invite { + id: derive::invite_id(&sikey), + public_key: derive::signing_key(&sikey).verifying_key().to_bytes(), + created_ms, + expires_ms, + max_uses, + revoked: false, + admitted: Vec::new(), + } + } + + pub fn id(&self) -> InviteId { + self.id + } + + pub fn public_key(&self) -> [u8; 32] { + self.public_key + } + + pub fn revoke(&mut self) { + self.revoked = true; + } + + /// The admin path. Checks run in this order, and the signature comes last because it is the costly one: + /// the invite is known, not revoked, not expired (now, and the signing time), has uses left, has not admitted + /// this joiner, `ctime` is inside the freshness window, and the signature verifies. Only then is the use recorded. + /// + /// Freshness is bound to the invite's own life, not to the wall clock. A home server may hold an accept for days, + /// so a window measured from now would reject honest holds. The window is [created - SKEW, now + SKEW]. + pub fn admit(&mut self, proof: &Proof, now_ms: u64) -> Result { + let fields = accept::parse(&proof.message)?; + if fields.invite_id != self.id { + return Err(Reject::UnknownInvite); + } + if self.revoked { + return Err(Reject::Revoked); + } + if now_ms > self.expires_ms || fields.ctime_ms > self.expires_ms { + return Err(Reject::Expired); + } + if self.admitted.len() >= self.max_uses { + return Err(Reject::Used); + } + if self + .admitted + .iter() + .any(|(uid, seq)| *uid == fields.uid && *seq == fields.eldest_seqno) + { + return Err(Reject::AlreadyAdmitted); + } + if fields.ctime_ms.saturating_add(SKEW_MS) < self.created_ms { + return Err(Reject::Stale); + } + if fields.ctime_ms > now_ms.saturating_add(SKEW_MS) { + return Err(Reject::FromFuture); + } + accept::verify(&self.public_key, proof)?; + self.admitted + .push((fields.uid.clone(), fields.eldest_seqno)); + Ok(Admitted { + uid: fields.uid, + eldest_seqno: fields.eldest_seqno, + }) + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/seitan-v2/src/derive.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/seitan-v2/src/derive.rs new file mode 100644 index 0000000000..889a939dbc --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/seitan-v2/src/derive.rs @@ -0,0 +1,184 @@ +//! The Seitan V2 derivations, from keybase/client `go/teams/seitan.go` and `seitan_v2.go`. +//! +//! ```text +//! token --scrypt--> SiKey --HMAC-SHA512--> invite ID (public) +//! --HMAC-SHA512--> Ed25519 seed --> signing key (public half is published) +//! ``` + +use std::fmt; + +use ed25519_dalek::SigningKey; +use hmac::{Hmac, KeyInit, Mac}; +use scrypt::{Params, scrypt}; +use serde::Serialize; +use sha2::Sha512; + +use crate::token::Token; + +/// Keybase's scrypt cost: N = 2^10, r = 8, p = 1. It is cheap on purpose, so it is only safe +/// for random tokens. Never derive from a token that a person chose. +const SCRYPT_LOG_N: u8 = 10; +const SCRYPT_R: u32 = 8; +const SCRYPT_P: u32 = 1; +/// The Seitan version in every payload. +pub const VERSION: u8 = 2; +/// `libkb.InviteIDTag`. The Keybase vector ends in 0x27, which is the only check on this value. +const INVITE_ID_TAG: u8 = 0x27; + +/// The stretched invite key. Secret: it never leaves the two parties. +#[derive(Clone, PartialEq, Eq)] +pub struct SiKey([u8; 32]); + +impl SiKey { + /// The raw key bytes. Do not log them. + pub fn as_bytes(&self) -> &[u8; 32] { + &self.0 + } +} + +impl fmt::Debug for SiKey { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + f.write_str("SiKey()") + } +} + +/// The 16-byte invite ID: 15 bytes of HMAC output, then the tag byte. It is public. Its hex form is 32 characters. +#[derive(Clone, Copy, PartialEq, Eq)] +pub struct InviteId([u8; 16]); + +impl InviteId { + pub fn to_hex(self) -> String { + self.0.iter().map(|b| format!("{b:02x}")).collect() + } + + /// Parses the 32-character hex form. Anything else returns `None`. + pub fn from_hex(s: &str) -> Option { + if s.len() != 32 || !s.bytes().all(|c| c.is_ascii_hexdigit()) { + return None; + } + let mut out = [0u8; 16]; + for (i, byte) in out.iter_mut().enumerate() { + *byte = u8::from_str_radix(&s[2 * i..2 * i + 2], 16).ok()?; + } + Some(InviteId(out)) + } +} + +impl fmt::Display for InviteId { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + f.write_str(&self.to_hex()) + } +} + +impl fmt::Debug for InviteId { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + write!(f, "InviteId({})", self.to_hex()) + } +} + +#[derive(Serialize)] +struct StagePayload { + stage: &'static str, + version: u8, +} + +/// `SeitanIKeyV2.GenerateSIKey`: scrypt over the lowercased token, with an empty salt. +pub fn stretch(token: &Token) -> SiKey { + stretch_bytes(token.as_str().as_bytes()) +} + +fn stretch_bytes(password: &[u8]) -> SiKey { + let params = Params::new(SCRYPT_LOG_N, SCRYPT_R, SCRYPT_P) + .expect("constant scrypt parameters are valid"); + let mut out = [0u8; 32]; + scrypt(password, &[], ¶ms, &mut out).expect("32 is a valid output length"); + SiKey(out) +} + +/// `SeitanSIKeyV2.GenerateTeamInviteID`: the first 15 bytes of HMAC-SHA512 over `{stage: "invite_id", version: 2}`, then the tag. +pub fn invite_id(sikey: &SiKey) -> InviteId { + let mac = hmac_sha512(&sikey.0, &stage_payload("invite_id")); + let mut id = [0u8; 16]; + id[..15].copy_from_slice(&mac[..15]); + id[15] = INVITE_ID_TAG; + InviteId(id) +} + +/// `SeitanSIKeyV2.generateKeyPair`: the Ed25519 seed is the first 32 bytes of HMAC-SHA512 over `{stage: "eddsa", version: 2}`. +pub fn signing_key(sikey: &SiKey) -> SigningKey { + let mac = hmac_sha512(&sikey.0, &stage_payload("eddsa")); + let mut seed = [0u8; 32]; + seed.copy_from_slice(&mac[..32]); + SigningKey::from_bytes(&seed) +} + +/// The msgpack map that Keybase's stage payload structs encode to. Fields are in declaration order. +fn stage_payload(stage: &'static str) -> Vec { + rmp_serde::to_vec_named(&StagePayload { + stage, + version: VERSION, + }) + .expect("encoding a fixed struct cannot fail") +} + +fn hmac_sha512(key: &[u8], message: &[u8]) -> [u8; 64] { + let mut mac = >::new_from_slice(key).expect("HMAC takes keys of any length"); + mac.update(message); + let mut out = [0u8; 64]; + out.copy_from_slice(&mac.finalize().into_bytes()); + out +} + +#[cfg(test)] +mod tests { + use base64::{Engine, engine::general_purpose::STANDARD as B64}; + + use super::*; + + fn hex(bytes: &[u8]) -> String { + bytes.iter().map(|b| format!("{b:02x}")).collect() + } + + #[derive(Serialize)] + struct V1Stage { + stage: &'static str, + } + + #[test] + fn stage_payloads_are_the_keybase_maps_byte_for_byte() { + // Encoded by hand from the msgpack spec: fixmap(2), then fixstr keys and values in declaration order. + assert_eq!( + hex(&stage_payload("invite_id")), + "82a57374616765a9696e766974655f6964a776657273696f6e02" + ); + assert_eq!( + hex(&stage_payload("eddsa")), + "82a57374616765a56564647361a776657273696f6e02" + ); + } + + #[test] + fn v1_vector_checks_the_steps_v1_and_v2_share() { + // keybase/client go/teams/seitan_test.go, TestSeitanKnownSamples (V1). A V1 token has '+' at index 5, + // so this skips Token::parse. It checks scrypt, the HMAC-SHA512 truncation, and the tag. + let sikey = stretch_bytes(b"raw2ewqp249dyod4"); + assert_eq!( + B64.encode(sikey.0), + "Yqbj8NgHkIG03wfZX/dxpBpqFoXPXNXyQr+MnvCMbS4=" + ); + let payload = rmp_serde::to_vec_named(&V1Stage { stage: "invite_id" }).unwrap(); + let mac = hmac_sha512(&sikey.0, &payload); + let mut id = mac[..15].to_vec(); + id.push(INVITE_ID_TAG); + assert_eq!(hex(&id), "24189cc0ad5851ac52404ee99c7c9c27"); + } + + #[test] + fn invite_id_hex_round_trips_and_rejects_other_forms() { + let id = InviteId::from_hex("6303ec43bd61d21edb95a433faf06227").unwrap(); + assert_eq!(id.to_hex(), "6303ec43bd61d21edb95a433faf06227"); + assert!(InviteId::from_hex("6303ec43bd61d21edb95a433faf0622").is_none()); + assert!(InviteId::from_hex("+303ec43bd61d21edb95a433faf06227").is_none()); + assert!(InviteId::from_hex("6303ec43bd61d21edb95a433faf0622g").is_none()); + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/seitan-v2/src/lib.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/seitan-v2/src/lib.rs new file mode 100644 index 0000000000..eafaa06071 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/seitan-v2/src/lib.rs @@ -0,0 +1,21 @@ +//! Seitan V2 invites for a join, following keybase/client `go/teams/seitan_v2.go`. +//! +//! - [`token`]: the 18-character secret that the joiner types. +//! - [`derive`]: scrypt, the invite ID, and the Ed25519 key, all derived from the token. +//! - [`accept`]: the joiner's signed proof. +//! - [`admit`]: the admin's check, with freshness, expiry, revocation, and single use. +//! +//! The derivations are checked against Keybase's vectors in `tests/vectors.rs`. The accept message and the +//! admission checks are this crate's own. They are not Keybase's. + +#![forbid(unsafe_code)] + +pub mod accept; +pub mod admit; +pub mod derive; +pub mod token; + +pub use accept::{Fields, Proof, ProofError}; +pub use admit::{Admitted, Invite, Reject, SKEW_MS}; +pub use derive::InviteId; +pub use token::{Token, TokenError}; diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/seitan-v2/src/token.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/seitan-v2/src/token.rs new file mode 100644 index 0000000000..a8546716f4 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/seitan-v2/src/token.rs @@ -0,0 +1,89 @@ +//! Seitan V2 tokens. Mirrors `generateIKey` and `ParseIKeyV2FromString` in keybase/client `go/teams`. + +use std::fmt; + +/// Keybase's 30-symbol alphabet (`KBase30EncodeStd`). +pub const ALPHABET: &[u8; 30] = b"abcdefghjkmnpqrsuvwxyz23456789"; +/// Length of a full V2 token, including the '+'. +pub const TOKEN_LEN: usize = 18; +/// Index of the '+' in a V2 token. (V1 tokens use index 5.) +pub const PLUS_INDEX: usize = 6; + +/// A lowercase Seitan V2 token. Debug output is redacted. +#[derive(Clone, PartialEq, Eq)] +pub struct Token(String); + +#[derive(Debug, Clone, PartialEq, Eq)] +pub enum TokenError { + Length(usize), + NotAscii, + PlusPosition, + Symbol(char), +} + +impl fmt::Display for TokenError { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + match self { + TokenError::Length(n) => write!(f, "token must be {TOKEN_LEN} characters, got {n}"), + TokenError::NotAscii => f.write_str("token must be ASCII"), + TokenError::PlusPosition => write!(f, "character {} must be '+'", PLUS_INDEX + 1), + TokenError::Symbol(c) => write!(f, "{c:?} is not in the token alphabet"), + } + } +} + +impl std::error::Error for TokenError {} + +impl Token { + /// Draws 17 symbols from the OS RNG. Rejection sampling on 5 bits keeps the 30 symbols + /// uniform, so the token carries about 83.4 bits. + pub fn generate() -> Result { + let mut out = String::with_capacity(TOKEN_LEN); + while out.len() < TOKEN_LEN { + if out.len() == PLUS_INDEX { + out.push('+'); + continue; + } + let mut byte = [0u8; 1]; + getrandom::fill(&mut byte)?; + if let Some(&symbol) = ALPHABET.get((byte[0] & 0x1f) as usize) { + out.push(symbol as char); + } + } + Ok(Token(out)) + } + + /// Parses a token that a person typed or pasted. Keybase checks only the length and the '+'. + /// This also rejects symbols outside the alphabet, which the generator never emits, so a typo + /// fails here with a clear message. Case and surrounding whitespace are ignored. + pub fn parse(input: &str) -> Result { + let s = input.trim(); + if !s.is_ascii() { + return Err(TokenError::NotAscii); + } + if s.len() != TOKEN_LEN { + return Err(TokenError::Length(s.len())); + } + let lower = s.to_ascii_lowercase(); + for (i, c) in lower.bytes().enumerate() { + match (i == PLUS_INDEX, c) { + (true, b'+') => {} + (true, _) => return Err(TokenError::PlusPosition), + (false, _) if ALPHABET.contains(&c) => {} + (false, _) => return Err(TokenError::Symbol(c as char)), + } + } + Ok(Token(lower)) + } + + /// The token as typed, with the '+'. Show it to the joiner. Do not log it. + pub fn as_str(&self) -> &str { + &self.0 + } +} + +impl fmt::Debug for Token { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + f.write_str("Token()") + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/seitan-v2/tests/accept.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/seitan-v2/tests/accept.rs new file mode 100644 index 0000000000..18f5038ec3 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/seitan-v2/tests/accept.rs @@ -0,0 +1,227 @@ +use ed25519_dalek::{Signer, SigningKey}; +use proptest::prelude::*; +use seitan_v2::accept::{self, Proof, ProofError}; +use seitan_v2::{InviteId, Token, derive}; +use serde::Serialize; + +const TOKEN: &str = "4uywza+b3cga7rd6yc"; +const INVITE_ID: &str = "6303ec43bd61d21edb95a433faf06227"; +const CTIME: u64 = 1_800_000_000_000; + +fn hex(bytes: &[u8]) -> String { + bytes.iter().map(|b| format!("{b:02x}")).collect() +} + +/// A msgpack fixstr (length below 32), written out so the expected bytes do not come from rmp-serde. +fn fixstr(s: &str) -> String { + format!("{:02x}{}", 0xa0 | s.len() as u8, hex(s.as_bytes())) +} + +fn public_key() -> [u8; 32] { + derive::signing_key(&derive::stretch(&Token::parse(TOKEN).unwrap())) + .verifying_key() + .to_bytes() +} + +/// An accept map with arbitrary field values, for building malformed messages. +#[derive(Serialize)] +struct Raw { + stage: &'static str, + uid: &'static str, + eldest_seqno: u64, + ctime: u64, + invite_id: &'static str, + version: u8, +} + +#[derive(Serialize)] +#[serde(deny_unknown_fields)] +struct WithExtra { + stage: &'static str, + uid: &'static str, + eldest_seqno: u64, + ctime: u64, + invite_id: &'static str, + version: u8, + extra: u8, +} + +fn raw(stage: &'static str, invite_id: &'static str, version: u8) -> Vec { + rmp_serde::to_vec_named(&Raw { + stage, + uid: "alice", + eldest_seqno: 3, + ctime: CTIME, + invite_id, + version, + }) + .unwrap() +} + +#[test] +fn accept_message_is_the_keybase_map_in_declaration_order() { + // Golden bytes: fixmap(6), then stage, uid, eldest_seqno, ctime, invite_id, version. + // ctime is a 64-bit unsigned value (0xcf). This pins rmp-serde's integer choice. Keybase's go-codec may differ. + let id = InviteId::from_hex(INVITE_ID).unwrap(); + let got = hex(&accept::message("uid-1", 7, CTIME, &id)); + let expected = [ + "86".to_owned(), + fixstr("stage"), + fixstr("accept"), + fixstr("uid"), + fixstr("uid-1"), + fixstr("eldest_seqno"), + "07".to_owned(), + fixstr("ctime"), + format!("cf{CTIME:016x}"), + fixstr("invite_id"), + format!("d920{}", hex(INVITE_ID.as_bytes())), + fixstr("version"), + "02".to_owned(), + ] + .concat(); + assert_eq!(got, expected); +} + +#[test] +fn a_signed_proof_verifies_under_the_invite_public_key() { + let proof = accept::sign(&Token::parse(TOKEN).unwrap(), "alice", 3, CTIME); + assert_eq!(accept::verify(&public_key(), &proof), Ok(())); + let fields = accept::parse(&proof.message).unwrap(); + assert_eq!( + (fields.uid.as_str(), fields.eldest_seqno, fields.ctime_ms), + ("alice", 3, CTIME) + ); + assert_eq!(fields.invite_id.to_hex(), INVITE_ID); +} + +#[test] +fn a_proof_from_another_token_fails_under_this_key() { + let other = accept::sign(&Token::generate().unwrap(), "alice", 3, CTIME); + assert_eq!( + accept::verify(&public_key(), &other), + Err(ProofError::BadSignature) + ); +} + +#[test] +fn parse_accepts_the_well_formed_message_and_rejects_the_rest() { + assert!(accept::parse(&raw("accept", INVITE_ID, 2)).is_ok()); + assert_eq!( + accept::parse(&raw("acceptx", INVITE_ID, 2)).unwrap_err(), + ProofError::Malformed + ); + assert_eq!( + accept::parse(&raw("accept", INVITE_ID, 1)).unwrap_err(), + ProofError::Malformed + ); + assert_eq!( + accept::parse(&raw("accept", "6303ec43", 2)).unwrap_err(), + ProofError::Malformed + ); + assert_eq!( + accept::parse(&raw("accept", "+303ec43bd61d21edb95a433faf06227", 2)).unwrap_err(), + ProofError::Malformed + ); + assert_eq!(accept::parse(&[0xc1]).unwrap_err(), ProofError::Malformed); + + let extra = rmp_serde::to_vec_named(&WithExtra { + stage: "accept", + uid: "alice", + eldest_seqno: 3, + ctime: CTIME, + invite_id: INVITE_ID, + version: 2, + extra: 1, + }) + .unwrap(); + assert_eq!(accept::parse(&extra).unwrap_err(), ProofError::Malformed); +} + +#[test] +fn signed_integer_families_decode_to_the_same_fields() { + // Some encoders write non-negative integers in the signed msgpack families. The verifier reads the bytes + // it was sent, so a message like this should still decode and verify. Built by hand, not with rmp-serde. + let fixstr_bytes = |s: &str| [vec![0xa0 | s.len() as u8], s.as_bytes().to_vec()].concat(); + let mut message = vec![0x86]; + message.extend(fixstr_bytes("stage")); + message.extend(fixstr_bytes("accept")); + message.extend(fixstr_bytes("uid")); + message.extend(fixstr_bytes("alice")); + message.extend(fixstr_bytes("eldest_seqno")); + message.extend([0xd0, 0x03]); + message.extend(fixstr_bytes("ctime")); + message.push(0xd3); + message.extend_from_slice(&CTIME.to_be_bytes()); + message.extend(fixstr_bytes("invite_id")); + message.extend([0xd9, 0x20]); + message.extend_from_slice(INVITE_ID.as_bytes()); + message.extend(fixstr_bytes("version")); + message.extend([0xd0, 0x02]); + + let key = derive::signing_key(&derive::stretch(&Token::parse(TOKEN).unwrap())); + let proof = Proof { + signature: key.sign(&message).to_bytes(), + message, + }; + let fields = accept::parse(&proof.message).unwrap(); + assert_eq!( + (fields.uid.as_str(), fields.eldest_seqno, fields.ctime_ms), + ("alice", 3, CTIME) + ); + assert_eq!(accept::verify(&public_key(), &proof), Ok(())); +} + +#[test] +fn the_signature_covers_the_exact_bytes_sent() { + let proof = accept::sign(&Token::parse(TOKEN).unwrap(), "alice", 3, CTIME); + let mut edited = proof.clone(); + let last = edited.message.len() - 1; + edited.message[last] ^= 0x01; + assert_eq!( + accept::verify(&public_key(), &edited), + Err(ProofError::BadSignature) + ); +} + +#[test] +fn a_forged_message_signed_with_another_key_fails() { + // An attacker can read the invite ID and the public key from the chain, but not the token. + let id = InviteId::from_hex(INVITE_ID).unwrap(); + let message = accept::message("mallory", 1, CTIME, &id); + let forged = SigningKey::from_bytes(&[9u8; 32]).sign(&message).to_bytes(); + let proof = Proof { + message, + signature: forged, + }; + assert_eq!( + accept::verify(&public_key(), &proof), + Err(ProofError::BadSignature) + ); +} + +proptest! { + #[test] + fn fields_survive_the_round_trip( + uid in "[ -~]{0,64}", + eldest in any::(), + ctime in any::(), + id in any::<[u8; 16]>(), + ) { + let invite_id = InviteId::from_hex(&hex(&id)).unwrap(); + let decoded = accept::parse(&accept::message(&uid, eldest, ctime, &invite_id)).unwrap(); + prop_assert_eq!(decoded.uid, uid); + prop_assert_eq!(decoded.eldest_seqno, eldest); + prop_assert_eq!(decoded.ctime_ms, ctime); + prop_assert_eq!(decoded.invite_id, invite_id); + } + + #[test] + fn flipping_any_message_bit_breaks_the_signature(index in any::(), bit in 0u8..8) { + let proof = accept::sign(&Token::parse(TOKEN).unwrap(), "alice", 3, CTIME); + let mut edited = proof.clone(); + let at = index.index(edited.message.len()); + edited.message[at] ^= 1 << bit; + prop_assert!(accept::verify(&public_key(), &edited).is_err()); + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/seitan-v2/tests/admit.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/seitan-v2/tests/admit.rs new file mode 100644 index 0000000000..a13ac53333 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/seitan-v2/tests/admit.rs @@ -0,0 +1,247 @@ +//! The admin path: freshness, expiry, revocation, single use, and signature checks. + +use ed25519_dalek::{Signer, SigningKey}; +use proptest::prelude::*; +use seitan_v2::accept::{self, Proof}; +use seitan_v2::admit::SKEW_MS; +use seitan_v2::{Admitted, Invite, Reject, Token}; + +const TOKEN: &str = "4uywza+b3cga7rd6yc"; +const CREATED: u64 = 1_800_000_000_000; +const DAY: u64 = 86_400_000; +const MIN: u64 = 60_000; + +fn token() -> Token { + Token::parse(TOKEN).unwrap() +} + +fn invite(created: u64, expires: u64) -> Invite { + Invite::create(&token(), created, expires, 1) +} + +fn proof(uid: &str, ctime: u64) -> Proof { + accept::sign(&token(), uid, 1, ctime) +} + +fn admitted(uid: &str) -> Admitted { + Admitted { + uid: uid.to_owned(), + eldest_seqno: 1, + } +} + +#[test] +fn a_valid_accept_admits_once_and_the_invite_is_then_used_up() { + let mut inv = invite(CREATED, CREATED + DAY); + let now = CREATED + MIN; + assert_eq!(inv.admit(&proof("alice", now), now), Ok(admitted("alice"))); + assert_eq!(inv.admit(&proof("bob", now), now), Err(Reject::Used)); + assert_eq!( + inv.admit(&proof("alice", now), now), + Err(Reject::Used), + "single use, even for the same joiner" + ); +} + +#[test] +fn multi_use_invites_still_block_the_same_joiner_twice() { + let mut inv = Invite::create(&token(), CREATED, CREATED + DAY, 2); + let now = CREATED + MIN; + assert_eq!(inv.admit(&proof("alice", now), now), Ok(admitted("alice"))); + assert_eq!( + inv.admit(&proof("alice", now), now), + Err(Reject::AlreadyAdmitted) + ); + assert_eq!(inv.admit(&proof("bob", now), now), Ok(admitted("bob"))); + assert_eq!(inv.admit(&proof("carol", now), now), Err(Reject::Used)); +} + +#[test] +fn a_rejected_attempt_does_not_use_up_the_invite() { + let mut inv = invite(CREATED, CREATED + DAY); + let now = CREATED + MIN; + let id = inv.id(); + let forged = { + let message = accept::message("mallory", 1, now, &id); + let signature = SigningKey::from_bytes(&[9u8; 32]).sign(&message).to_bytes(); + Proof { message, signature } + }; + assert_eq!(inv.admit(&forged, now), Err(Reject::BadSignature)); + assert_eq!(inv.admit(&proof("alice", now), now), Ok(admitted("alice"))); +} + +#[test] +fn a_revoked_invite_admits_no_one() { + let mut inv = invite(CREATED, CREATED + DAY); + inv.revoke(); + let now = CREATED + MIN; + assert_eq!(inv.admit(&proof("alice", now), now), Err(Reject::Revoked)); +} + +#[test] +fn an_expired_invite_rejects_at_processing_time() { + let expires = CREATED + DAY; + let mut inv = invite(CREATED, expires); + assert_eq!( + inv.admit(&proof("alice", expires), expires), + Ok(admitted("alice")), + "still valid at the last instant" + ); + let mut inv = invite(CREATED, expires); + assert_eq!( + inv.admit(&proof("alice", expires), expires + 1), + Err(Reject::Expired) + ); +} + +#[test] +fn an_accept_signed_after_expiry_is_expired_even_if_processed_in_time() { + let expires = CREATED + DAY; + let mut inv = invite(CREATED, expires); + assert_eq!( + inv.admit(&proof("alice", expires + 1), expires), + Err(Reject::Expired) + ); +} + +#[test] +fn an_accept_from_before_the_invite_existed_is_stale() { + let mut inv = invite(CREATED, CREATED + DAY); + let stale = CREATED - SKEW_MS - 1; + assert_eq!( + inv.admit(&proof("alice", stale), CREATED + MIN), + Err(Reject::Stale) + ); + + let mut inv = invite(CREATED, CREATED + DAY); + assert_eq!( + inv.admit(&proof("alice", CREATED - SKEW_MS), CREATED + MIN), + Ok(admitted("alice")), + "exactly one skew window before creation is still fresh" + ); +} + +#[test] +fn an_accept_for_an_earlier_invite_with_the_same_token_is_stale() { + // The invite ID comes from the token, so a re-issued invite with the same token has the same ID. + // Without the freshness check, an old accept would work against the new invite. + let mut old = invite(CREATED, CREATED + DAY); + let old_proof = proof("alice", CREATED + 10 * MIN); + assert_eq!( + old.admit(&old_proof, CREATED + 11 * MIN), + Ok(admitted("alice")) + ); + + let reissued_at = CREATED + 60 * MIN; + let mut reissued = invite(reissued_at, reissued_at + DAY); + assert_eq!(reissued.id(), old.id(), "same token, same invite ID"); + assert_eq!( + reissued.admit(&old_proof, reissued_at + MIN), + Err(Reject::Stale) + ); + assert_eq!( + reissued.admit(&proof("bob", reissued_at + MIN), reissued_at + MIN), + Ok(admitted("bob")) + ); +} + +#[test] +fn an_accept_from_the_future_beyond_the_skew_window_is_rejected() { + let now = CREATED + MIN; + let mut inv = invite(CREATED, CREATED + DAY); + assert_eq!( + inv.admit(&proof("alice", now + SKEW_MS + 1), now), + Err(Reject::FromFuture) + ); + + let mut inv = invite(CREATED, CREATED + DAY); + assert_eq!( + inv.admit(&proof("alice", now + SKEW_MS), now), + Ok(admitted("alice")) + ); +} + +#[test] +fn an_accept_for_a_different_token_names_no_known_invite() { + let mut inv = invite(CREATED, CREATED + DAY); + let other = accept::sign(&Token::generate().unwrap(), "alice", 1, CREATED + MIN); + assert_eq!(inv.admit(&other, CREATED + MIN), Err(Reject::UnknownInvite)); +} + +#[test] +fn a_forged_message_with_the_public_invite_id_fails_the_signature() { + let mut inv = invite(CREATED, CREATED + DAY); + let message = accept::message("mallory", 1, CREATED + MIN, &inv.id()); + let signature = SigningKey::from_bytes(&[9u8; 32]).sign(&message).to_bytes(); + assert_eq!( + inv.admit(&Proof { message, signature }, CREATED + MIN), + Err(Reject::BadSignature) + ); +} + +#[test] +fn changing_any_signed_field_breaks_the_signature() { + let now = CREATED + MIN; + let honest = proof("alice", now); + let id = accept::parse(&honest.message).unwrap().invite_id; + + let swapped_uid = Proof { + message: accept::message("mallory", 1, now, &id), + signature: honest.signature, + }; + let swapped_eldest = Proof { + message: accept::message("alice", 2, now, &id), + signature: honest.signature, + }; + let swapped_ctime = Proof { + message: accept::message("alice", 1, now - 1, &id), + signature: honest.signature, + }; + for tampered in [swapped_uid, swapped_eldest, swapped_ctime] { + let mut inv = invite(CREATED, CREATED + DAY); + assert_eq!(inv.admit(&tampered, now), Err(Reject::BadSignature)); + } + let mut inv = invite(CREATED, CREATED + DAY); + assert_eq!( + inv.admit(&honest, now), + Ok(admitted("alice")), + "the untampered proof still works" + ); +} + +#[test] +fn a_flipped_signature_bit_is_rejected() { + let now = CREATED + MIN; + let mut bad = proof("alice", now); + bad.signature[0] ^= 0x80; + let mut inv = invite(CREATED, CREATED + DAY); + assert_eq!(inv.admit(&bad, now), Err(Reject::BadSignature)); +} + +#[test] +fn garbage_is_malformed() { + let mut inv = invite(CREATED, CREATED + DAY); + let garbage = Proof { + message: vec![0xc1, 0x00], + signature: [0u8; 64], + }; + assert_eq!(inv.admit(&garbage, CREATED + MIN), Err(Reject::Malformed)); +} + +proptest! { + /// The fresh window is exactly [created - SKEW, min(now + SKEW, expires)], with expiry checked first. + #[test] + fn a_ctime_is_admitted_exactly_inside_the_window( + age in 0u64..DAY, + lead in 0u64..DAY, + offset in -(DAY as i64)..(DAY as i64), + ) { + let now = CREATED + age; + let expires = now + lead; + let ctime = (CREATED as i64 + offset) as u64; + let mut inv = invite(CREATED, expires); + let got = inv.admit(&proof("joiner", ctime), now); + let inside = ctime + SKEW_MS >= CREATED && ctime <= expires && ctime <= now + SKEW_MS; + prop_assert_eq!(got.is_ok(), inside, "ctime {} now {} expires {} got {:?}", ctime, now, expires, got); + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/seitan-v2/tests/token.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/seitan-v2/tests/token.rs new file mode 100644 index 0000000000..08311f9c12 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/seitan-v2/tests/token.rs @@ -0,0 +1,117 @@ +use std::collections::HashSet; + +use proptest::prelude::*; +use seitan_v2::derive; +use seitan_v2::token::{ALPHABET, PLUS_INDEX, TOKEN_LEN}; +use seitan_v2::{Token, TokenError}; + +#[test] +fn generated_tokens_have_the_v2_shape() { + for _ in 0..1000 { + let token = Token::generate().unwrap(); + let s = token.as_str().as_bytes(); + assert_eq!(s.len(), TOKEN_LEN); + assert_eq!(s[PLUS_INDEX], b'+'); + for (i, c) in s.iter().enumerate() { + if i != PLUS_INDEX { + assert!( + ALPHABET.contains(c), + "symbol {:?} at {i} is outside the alphabet", + *c as char + ); + } + } + } +} + +#[test] +fn generated_tokens_cover_the_whole_alphabet() { + // Keybase's coverage test: 500 tokens give 8,500 symbols, so a missing symbol is about e^-288 likely. + let mut seen = HashSet::new(); + for _ in 0..500 { + seen.extend(Token::generate().unwrap().as_str().bytes()); + } + for c in ALPHABET { + assert!(seen.contains(c), "symbol {:?} never generated", *c as char); + } +} + +#[test] +fn generated_tokens_do_not_repeat() { + let tokens: HashSet = (0..2000) + .map(|_| Token::generate().unwrap().as_str().to_owned()) + .collect(); + assert_eq!(tokens.len(), 2000); +} + +#[test] +fn parse_lowercases_and_ignores_surrounding_space() { + let typed = Token::parse(" 4UYWZA+B3CGA7RD6YC\n").unwrap(); + assert_eq!(typed.as_str(), "4uywza+b3cga7rd6yc"); +} + +#[test] +fn parse_rejects_each_malformed_shape_with_a_reason() { + assert_eq!( + Token::parse("4uywza+b3cga7rd6y"), + Err(TokenError::Length(17)) + ); + assert_eq!( + Token::parse("4uywza+b3cga7rd6yca"), + Err(TokenError::Length(19)) + ); + assert_eq!( + Token::parse("4uywzab+3cga7rd6yc"), + Err(TokenError::PlusPosition) + ); + assert_eq!( + Token::parse("4uywza-b3cga7rd6yc"), + Err(TokenError::PlusPosition) + ); + assert_eq!( + Token::parse("4uywzl+b3cga7rd6yc"), + Err(TokenError::Symbol('l')) + ); + assert_eq!( + Token::parse("4uywza+b3cga7rd6y0"), + Err(TokenError::Symbol('0')) + ); + assert_eq!( + Token::parse("4uywza+b3cga7rd6yé"), + Err(TokenError::NotAscii) + ); +} + +#[test] +fn debug_output_does_not_show_the_token_or_the_stretched_key() { + let token = Token::parse("4uywza+b3cga7rd6yc").unwrap(); + assert_eq!(format!("{token:?}"), "Token()"); + assert_eq!( + format!("{:?}", derive::stretch(&token)), + "SiKey()" + ); +} + +fn token_string() -> impl Strategy { + proptest::collection::vec(proptest::sample::select(ALPHABET.to_vec()), TOKEN_LEN - 1).prop_map( + |symbols| { + let (head, tail) = symbols.split_at(PLUS_INDEX); + let text = |s: &[u8]| s.iter().map(|&c| c as char).collect::(); + format!("{}+{}", text(head), text(tail)) + }, + ) +} + +proptest! { + #[test] + fn any_case_gives_the_same_token_and_the_same_invite_id(s in token_string()) { + let upper = s.to_ascii_uppercase(); + let lower_token = Token::parse(&s).unwrap(); + let upper_token = Token::parse(&upper).unwrap(); + prop_assert_eq!(&lower_token, &upper_token); + prop_assert_eq!( + derive::invite_id(&derive::stretch(&lower_token)), + derive::invite_id(&derive::stretch(&upper_token)) + ); + } +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/seitan-v2/tests/vectors.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/seitan-v2/tests/vectors.rs new file mode 100644 index 0000000000..3d2b3bbb9f --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/seitan-v2/tests/vectors.rs @@ -0,0 +1,80 @@ +//! Keybase Seitan V2 vectors, from keybase/client `go/teams/seitan_v2_test.go` (`TestSeitanV2KnownSamples`). + +use base64::{Engine, engine::general_purpose::STANDARD as B64}; +use crypto_secretbox::{KeyInit, Nonce, XSalsa20Poly1305, aead::Aead}; +use seitan_v2::{Token, derive}; +use serde::Deserialize; + +const IKEY: &str = "4uywza+b3cga7rd6yc"; +const SIKEY_B64: &str = "Il9ZFgI1yP2b6Hvt53jWIoo8sDre3puyNH8b2es9TTQ="; +const INVITE_ID: &str = "6303ec43bd61d21edb95a433faf06227"; +/// The vector's team key, which boxes the pkey below. +const SECRET_KEY_B64: &str = "GBsy8q2vgQ6jEHmQZiNJcxvgxVNlG4IsxKf/zcxtJIA="; +const PKEY_B64: &str = "lAIBxBgxk+0rwtlCacCIzNK8apyoiiN69+tTU1HEgze4fphJmImUv7wFm54ioO9dB876yLUciHsuUItYXH1cSq6cShz2HrjVCSUQCJVxDNQwb3A6x2zv6/mrbUselphhjzxrJFGb6mS7N0cA3cYfdk+WByNEUOVqi6qwzgvAYuwEqM1sAYYb+NgrLEH5+4Tlr5mcWfAtLynLngX3Z4Ef4Mf1"; + +/// Keybase's `SeitanPKey` is a msgpack array: [version, team key generation, nonce, boxed]. +#[derive(Deserialize)] +struct PKey(u8, u8, serde_bytes::ByteBuf, serde_bytes::ByteBuf); + +fn hex(bytes: &[u8]) -> String { + bytes.iter().map(|b| format!("{b:02x}")).collect() +} + +fn token() -> Token { + Token::parse(IKEY).unwrap() +} + +#[test] +fn stretch_matches_the_vector_sikey() { + let sikey = derive::stretch(&token()); + assert_eq!(sikey.as_bytes(), B64.decode(SIKEY_B64).unwrap().as_slice()); +} + +#[test] +fn invite_id_matches_the_vector() { + let sikey = derive::stretch(&token()); + assert_eq!(derive::invite_id(&sikey).to_hex(), INVITE_ID); +} + +#[test] +fn ed25519_public_key_is_the_one_boxed_in_the_vector_pkey() { + // The pkey boxes {K: the derived public key, L: label} under the team key. Opening the box and + // finding our public key in the plaintext checks the Ed25519 seed derivation against Keybase's data. + let sikey = derive::stretch(&token()); + let public = derive::signing_key(&sikey).verifying_key().to_bytes(); + + let pkey: PKey = rmp_serde::from_slice(&B64.decode(PKEY_B64).unwrap()).unwrap(); + assert_eq!((pkey.0, pkey.1), (2, 1), "version 2, team key generation 1"); + assert_eq!(pkey.2.len(), 24, "nonce is 24 bytes"); + + let key = B64.decode(SECRET_KEY_B64).unwrap(); + let cipher = XSalsa20Poly1305::new_from_slice(&key).unwrap(); + let plain = cipher + .decrypt(Nonce::from_slice(&pkey.2), pkey.3.as_slice()) + .expect("the vector's box opens with the vector's team key"); + + assert!( + contains(&plain, b"Alice"), + "the label is in the plaintext, so the box opened to the right data" + ); + let public_hex = hex(&public); + assert!( + contains(&plain, public_hex.as_bytes()), + "the plaintext names our derived public key {public_hex}" + ); +} + +#[test] +fn a_wrong_team_key_does_not_open_the_vector_pkey() { + let pkey: PKey = rmp_serde::from_slice(&B64.decode(PKEY_B64).unwrap()).unwrap(); + let cipher = XSalsa20Poly1305::new_from_slice(&[0u8; 32]).unwrap(); + assert!( + cipher + .decrypt(Nonce::from_slice(&pkey.2), pkey.3.as_slice()) + .is_err() + ); +} + +fn contains(haystack: &[u8], needle: &[u8]) -> bool { + haystack.windows(needle.len()).any(|w| w == needle) +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/ticket-probe/Cargo.lock b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/ticket-probe/Cargo.lock new file mode 100644 index 0000000000..0612ba31ff --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/ticket-probe/Cargo.lock @@ -0,0 +1,949 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "atomic-polyfill" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8cf2bce30dfe09ef0bfaef228b9d414faaf7e563035494d7fe092dba54b300f4" +dependencies = [ + "critical-section", +] + +[[package]] +name = "base16ct" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd307490d624467aa6f74b0eabb77633d1f758a7b25f12bceb0b22e08d9726f6" + +[[package]] +name = "block-buffer" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2f6c7dbe95a6ed67ad9f18e57daf93a2f034c524b99fd2b76d18fdfeb6660aa" +dependencies = [ + "hybrid-array", +] + +[[package]] +name = "bumpalo" +version = "3.20.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649" + +[[package]] +name = "byteorder" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" + +[[package]] +name = "cfg-if" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600" + +[[package]] +name = "chacha20" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65c35e4b699c7e15ccbe7ee35c005e4fc0a278d22238a2857e6ce2dadeda1b06" +dependencies = [ + "cfg-if", + "cpufeatures", + "rand_core", +] + +[[package]] +name = "cobs" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fa961b519f0b462e3a3b4a34b64d119eeaca1d59af726fe450bbba07a9fc0a1" +dependencies = [ + "thiserror", +] + +[[package]] +name = "convert_case" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "633458d4ef8c78b72454de2d54fd6ab2e60f9e02be22f3c6104cdc8a4e0fceb9" +dependencies = [ + "unicode-segmentation", +] + +[[package]] +name = "cpufeatures" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ca28b0ae3115b884660db4118d803791fd6756b6e88f39c0f3f7859060d7566" +dependencies = [ + "libc", +] + +[[package]] +name = "critical-section" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "790eea4361631c5e7d22598ecd5723ff611904e3344ce8720784c93e3d83d40b" + +[[package]] +name = "crypto-common" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453" +dependencies = [ + "hybrid-array", + "rand_core", +] + +[[package]] +name = "curve25519-dalek" +version = "5.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5eed333089e2e1c1ac8c6c0398e5e2497b4c9926ca6d0365ed1e099afa5bc23" +dependencies = [ + "cfg-if", + "cpufeatures", + "curve25519-dalek-derive", + "digest", + "fiat-crypto", + "rand_core", + "rustc_version", + "serde", + "subtle", + "zeroize", +] + +[[package]] +name = "curve25519-dalek-derive" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "data-encoding" +version = "2.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4583a4551df46e2792f82ceeac45e850d2e2d5debba0b91f102385cda5b11f06" + +[[package]] +name = "data-encoding-macro" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6a127ecbb3c4632e1525380e04c0c3fcf8dcb44d32a79ea290d8a36906edcd8" +dependencies = [ + "data-encoding", + "data-encoding-macro-internal", +] + +[[package]] +name = "data-encoding-macro-internal" +version = "0.1.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c54e03a951783e8b327515db3f2a2fd0e3bed362a96b066f341ce66ed49b4ead" +dependencies = [ + "data-encoding", + "syn 3.0.7", +] + +[[package]] +name = "derive_more" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d751e9e49156b02b44f9c1815bcb94b984cdcc4396ecc32521c739452808b134" +dependencies = [ + "derive_more-impl", +] + +[[package]] +name = "derive_more-impl" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "799a97264921d8623a957f6c3b9011f3b5492f557bbb7a5a19b7fa6d06ba8dcb" +dependencies = [ + "convert_case", + "proc-macro2", + "quote", + "rustc_version", + "syn 2.0.119", + "unicode-xid", +] + +[[package]] +name = "digest" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2" +dependencies = [ + "block-buffer", + "crypto-common", +] + +[[package]] +name = "displaydoc" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "ed25519" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29fcf32e6c73d1079f83ab4d782de2d81620346a5f38c6237a86a22f8368980a" +dependencies = [ + "serdect", + "signature", +] + +[[package]] +name = "ed25519-dalek" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ebaa1a2bf1290ab3bfe5a7b771d050ebffab2711c19a81691c683a5144a25de" +dependencies = [ + "curve25519-dalek", + "ed25519", + "rand_core", + "serde", + "sha2", + "signature", + "subtle", + "zeroize", +] + +[[package]] +name = "embedded-io" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef1a6892d9eef45c8fa6b9e0086428a2cca8491aca8f787c534a3d6d0bcb3ced" + +[[package]] +name = "embedded-io" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "edd0f118536f44f5ccd48bcb8b111bdc3de888b58c74639dfb034a357d0f206d" + +[[package]] +name = "fiat-crypto" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64cd1e32ddd350061ae6edb1b082d7c54915b5c672c389143b9a63403a109f24" + +[[package]] +name = "form_urlencoded" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" +dependencies = [ + "percent-encoding", +] + +[[package]] +name = "getrandom" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" +dependencies = [ + "cfg-if", + "js-sys", + "libc", + "r-efi", + "rand_core", + "wasm-bindgen", +] + +[[package]] +name = "hash32" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b0c35f58762feb77d74ebe43bdbc3210f09be9fe6742234d573bacc26ed92b67" +dependencies = [ + "byteorder", +] + +[[package]] +name = "heapless" +version = "0.7.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdc6457c0eb62c71aac4bc17216026d8410337c4126773b9c5daba343f17964f" +dependencies = [ + "atomic-polyfill", + "hash32", + "rustc_version", + "serde", + "spin", + "stable_deref_trait", +] + +[[package]] +name = "hybrid-array" +version = "0.4.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27f864f10dfb56725ce5ce5472bc52252c8f93a4ab86327122cebf62c5f59a17" +dependencies = [ + "typenum", +] + +[[package]] +name = "icu_collections" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa68d21081c4a05d5a901a1c62add574c77048b6a1c67be3b50ce0b60d4ca513" +dependencies = [ + "displaydoc", + "potential_utf", + "utf8_iter", + "yoke", + "zerofrom", + "zerovec", +] + +[[package]] +name = "icu_locale_core" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d56e28588da92eee5c3201a6eff33fabdd49b62269c8938d4ff050ce4d900deb" +dependencies = [ + "displaydoc", + "litemap", + "tinystr", + "writeable", + "zerovec", +] + +[[package]] +name = "icu_normalizer" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12f9cf5f235641ed274641dd81c3f28d870e276763d0797aeeab72317b1c646f" +dependencies = [ + "icu_collections", + "icu_normalizer_data", + "icu_properties", + "icu_provider", + "smallvec", + "zerovec", +] + +[[package]] +name = "icu_normalizer_data" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1563da1ed3e0b3bf3d74c9b85917ac9c56464d2f57242270c09c9e752f8021a0" + +[[package]] +name = "icu_properties" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e7ca276ad3145661a65914e6daf131ca5120cd3dcee8f8f3214b8875184a148" +dependencies = [ + "displaydoc", + "icu_collections", + "icu_locale_core", + "icu_properties_data", + "icu_provider", + "zerotrie", + "zerovec", +] + +[[package]] +name = "icu_properties_data" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e590f038c1464a96894fd6d10127e90a8be4509f56ff7ecef851b15cee0b7caa" + +[[package]] +name = "icu_provider" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d27bbb9d3abbefac45d55f647c9de1d44aafcd1186eb91879afef17c396c3e73" +dependencies = [ + "displaydoc", + "icu_locale_core", + "writeable", + "yoke", + "zerofrom", + "zerotrie", + "zerovec", +] + +[[package]] +name = "idna" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" +dependencies = [ + "idna_adapter", + "smallvec", + "utf8_iter", +] + +[[package]] +name = "idna_adapter" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714" +dependencies = [ + "icu_normalizer", + "icu_properties", +] + +[[package]] +name = "iroh-base" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ae9092be76c9f5429776ab3394f5a5a78dc19dc2524267e884a5b9781546c3f" +dependencies = [ + "curve25519-dalek", + "data-encoding", + "data-encoding-macro", + "derive_more", + "ed25519-dalek", + "getrandom", + "n0-error", + "rand", + "serde", + "url", + "zeroize", +] + +[[package]] +name = "iroh-tickets" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da53233419ca36bf521ed45683b7748366f9b233032891eefc2d70567a84ac54" +dependencies = [ + "data-encoding", + "derive_more", + "iroh-base", + "n0-error", + "postcard", + "serde", +] + +[[package]] +name = "js-sys" +version = "0.3.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7883d941dae510fb2d978fc3fe018c71c9e2892fd38854de3e8b92c2e5ad9cc5" +dependencies = [ + "cfg-if", + "wasm-bindgen", +] + +[[package]] +name = "libc" +version = "0.2.190" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78" + +[[package]] +name = "litemap" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47d9d19d1d6efa0109d2f65ff4c85cddd50bd572e5a00127ab10987290bcefae" + +[[package]] +name = "lock_api" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" +dependencies = [ + "scopeguard", +] + +[[package]] +name = "n0-error" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26c59ea174675ce6bc196878851e5049e11b8b1f9af3ba87e4d6df8d828bb001" +dependencies = [ + "n0-error-macros", + "spez", +] + +[[package]] +name = "n0-error-macros" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4412346410d6616f3668c40e53c298e5320c7b856f7a960e5914e442601be79f" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "once_cell" +version = "1.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" + +[[package]] +name = "percent-encoding" +version = "2.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" + +[[package]] +name = "postcard" +version = "1.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6764c3b5dd454e283a30e6dfe78e9b31096d9e32036b5d1eaac7a6119ccb9a24" +dependencies = [ + "cobs", + "embedded-io 0.4.0", + "embedded-io 0.6.1", + "heapless", + "serde", +] + +[[package]] +name = "potential_utf" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d83eb9bc6d8e5cf568e7a1101d60ee05e81ed50ea106026f3d18deeb046d7661" +dependencies = [ + "zerovec", +] + +[[package]] +name = "proc-macro2" +version = "1.0.107" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "quote" +version = "1.0.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "r-efi" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" + +[[package]] +name = "rand" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65c9fb96cbc91e3478eaae79a69fcd3f1ae4ad052e471fe6732fff548984b4af" +dependencies = [ + "chacha20", + "getrandom", + "rand_core", +] + +[[package]] +name = "rand_core" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" + +[[package]] +name = "rustc_version" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" +dependencies = [ + "semver", +] + +[[package]] +name = "rustversion" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f" + +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + +[[package]] +name = "semver" +version = "1.0.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd" + +[[package]] +name = "serde" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba" +dependencies = [ + "serde_core", + "serde_derive", +] + +[[package]] +name = "serde_core" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "serdect" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "66cf8fedced2fcf12406bcb34223dffb92eaf34908ede12fed414c82b7f00b3e" +dependencies = [ + "base16ct", + "serde", +] + +[[package]] +name = "sha2" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest", +] + +[[package]] +name = "signature" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28d567dcbaf0049cb8ac2608a76cd95ff9e4412e1899d389ee400918ca7537f5" +dependencies = [ + "rand_core", +] + +[[package]] +name = "smallvec" +version = "1.16.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b3dc8af474f516a851ff4bd12db780f948b9250ad37211e4eec0bccea54e01b" + +[[package]] +name = "spez" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c87e960f4dca2788eeb86bbdde8dd246be8948790b7618d656e68f9b720a86e8" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "spin" +version = "0.9.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3763264f6b73151db08c50ff20d7d8a0b8796e021cdea7ceedad07b80155fa0e" +dependencies = [ + "lock_api", +] + +[[package]] +name = "stable_deref_trait" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" + +[[package]] +name = "subtle" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" + +[[package]] +name = "syn" +version = "2.0.119" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "3.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d62a2e0561533f2ca2561d0cf27fd9fedb640a1bf2616ff5d5c80d99017faadc" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "synstructure" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "901704edd0dfe137f1987838ee4f259e4e063c31371bdb423f7ae38ec6f77f02" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "thiserror" +version = "2.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e" +dependencies = [ + "thiserror-impl", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "ticket-probe" +version = "0.0.0" +dependencies = [ + "data-encoding", + "iroh-base", + "iroh-tickets", +] + +[[package]] +name = "tinystr" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1e27c91459209c2986af3dcf603a5a74a4368754ce37414f59acc971167f643" +dependencies = [ + "displaydoc", + "zerovec", +] + +[[package]] +name = "typenum" +version = "1.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" + +[[package]] +name = "unicode-ident" +version = "1.0.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d245f478577f809a851594d02313b640fb437e0bb33866753cff937863096954" + +[[package]] +name = "unicode-segmentation" +version = "1.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8" + +[[package]] +name = "unicode-xid" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" + +[[package]] +name = "url" +version = "2.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" +dependencies = [ + "form_urlencoded", + "idna", + "percent-encoding", + "serde", + "serde_derive", +] + +[[package]] +name = "utf8_iter" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" + +[[package]] +name = "wasm-bindgen" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9bb54f33acc68fd454578d9820b0bde1a1a3d17aa17bb7b6595806d02886d409" +dependencies = [ + "cfg-if", + "once_cell", + "rustversion", + "wasm-bindgen-macro", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e29d0c35b16e224a7eeb5cd2d25e3e1968fbd65604117b44d3b789d00ee8535" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f501a8bc3719dba86ef8ae4728879c08001bea749eb1333ac5b91e040e2a6b7" +dependencies = [ + "bumpalo", + "proc-macro2", + "quote", + "syn 3.0.7", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23f0c9c52aa7cd7d77769a4cfe2a9adb1b331f489a41d912ce14513d5ab995c6" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "writeable" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc" + +[[package]] +name = "yoke" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5" +dependencies = [ + "stable_deref_trait", + "yoke-derive", + "zerofrom", +] + +[[package]] +name = "yoke-derive" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec8ebde2db3681e8c9980cc27822030e68752690ddfa9473e739aeb4dbde6d71" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", + "synstructure", +] + +[[package]] +name = "zerofrom" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272" +dependencies = [ + "zerofrom-derive", +] + +[[package]] +name = "zerofrom-derive" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f75b4683f6c7f45248d4d64056a24298c6281e0993356d7d1b4a1a962ef10d4a" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", + "synstructure", +] + +[[package]] +name = "zeroize" +version = "1.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e13084392c5e4bc371903e2935a5eaeed24905a7511356b883835e18a78f6879" +dependencies = [ + "zeroize_derive", +] + +[[package]] +name = "zeroize_derive" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c50655cbb0fe3fc43170059e702f1ce5e19b84cec58dc87b037a09935c2f328" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "zerotrie" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ea269c3bd32f0a32c321907a2ae912ba6f4649bb0fc764a15627e99a7095a3f" +dependencies = [ + "displaydoc", + "yoke", + "zerofrom", +] + +[[package]] +name = "zerovec" +version = "0.11.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb0464e17806c1d976d5cba29399c7f08e516e279e2ba493f63123b5fca67dd8" +dependencies = [ + "yoke", + "zerofrom", + "zerovec-derive", +] + +[[package]] +name = "zerovec-derive" +version = "0.11.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34df6fc39dbd26ddc9c10e6a2984476e13acce22e64e4487636ef494369225da" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/ticket-probe/Cargo.toml b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/ticket-probe/Cargo.toml new file mode 100644 index 0000000000..d5a2da4b85 --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/ticket-probe/Cargo.toml @@ -0,0 +1,12 @@ +[package] +name = "ticket-probe" +version = "0.0.0" +edition = "2024" +publish = false + +[dependencies] +data-encoding = "2" +iroh-base = { version = "1.3", features = ["key"] } +iroh-tickets = "1.0" + +[workspace] diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/ticket-probe/src/main.rs b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/ticket-probe/src/main.rs new file mode 100644 index 0000000000..628d5da91a --- /dev/null +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/s9-seitan/ticket-probe/src/main.rs @@ -0,0 +1,63 @@ +//! Probe: what an iroh EndpointTicket carries, and whether a Seitan token can ride inside one. +//! Uses iroh-tickets 1.0.0 and iroh-base 1.3.0, as pinned in the spike lock. Nothing is dialled. + +use std::{net::SocketAddr, str::FromStr}; + +use data_encoding::BASE32_NOPAD; +use iroh_base::{EndpointAddr, RelayUrl, SecretKey, TransportAddr}; +use iroh_tickets::{Ticket, endpoint::EndpointTicket}; + +const TOKEN: &str = "4uywza+b3cga7rd6yc"; + +fn hex(bytes: &[u8]) -> String { + bytes.iter().map(|b| format!("{b:02x}")).collect() +} + +fn main() { + // A fixed key: no RNG needed. A documentation-range IP, and a relay host that is never contacted. + let id = SecretKey::from_bytes(&[7u8; 32]).public(); + let relay: RelayUrl = "https://relay.example.test./".parse().unwrap(); + let ip: SocketAddr = "192.0.2.10:4433".parse().unwrap(); + let addr = EndpointAddr::from_parts(id, [TransportAddr::Relay(relay), TransportAddr::Ip(ip)]); + let ticket = EndpointTicket::new(addr.clone()); + + let text = ticket.to_string(); + println!("1. ticket string ({} chars): {text}", text.len()); + let payload = ticket.encode_bytes(); + println!(" postcard payload ({} bytes): {}", payload.len(), hex(&payload)); + println!(" layout (iroh-tickets endpoint.rs): variant 00 | EndpointId 32 bytes | addr count | addrs"); + println!(" fields: no signature, no expiry, no extension field"); + + let parsed = EndpointTicket::from_str(&text).unwrap(); + println!("2. round trip equal: {}", parsed == ticket); + println!(" leaks: id={}", parsed.endpoint_addr().id); + for transport in parsed.endpoint_addr().addrs.iter() { + println!(" transport {transport:?}"); + } + + // Try to carry the token: append its bytes after the postcard payload, then encode as a ticket string. + let mut smuggled = payload.clone(); + smuggled.extend_from_slice(TOKEN.as_bytes()); + let smuggled_text = format!("endpoint{}", BASE32_NOPAD.encode(&smuggled).to_ascii_lowercase()); + let smuggled_parsed = EndpointTicket::from_str(&smuggled_text); + println!("3. token appended after the payload ({} bytes):", smuggled.len()); + match &smuggled_parsed { + Ok(t) => println!( + " parses: true addr unchanged: {} token recovered by any API: no (no accessor exists)", + t.endpoint_addr() == ticket.endpoint_addr() + ), + Err(e) => println!(" parse error: {e}"), + } + + // An unsigned ticket can be edited: swap the EndpointId and the string still parses. + let other_id = SecretKey::from_bytes(&[8u8; 32]).public(); + let mut edited = payload.clone(); + edited[1..33].copy_from_slice(other_id.as_bytes()); + let edited_text = format!("endpoint{}", BASE32_NOPAD.encode(&edited).to_ascii_lowercase()); + let edited_parsed = EndpointTicket::from_str(&edited_text).unwrap(); + println!("4. EndpointId swapped inside the string: parses = true, id now {}", edited_parsed.endpoint_addr().id); + + // Two parses of the same string give the same address: nothing is consumed. + let again = EndpointTicket::from_str(&text).unwrap(); + println!("5. parsed twice, same address: {}", again == parsed); +} diff --git a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/shared/c1-connect/RESULTS.md b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/shared/c1-connect/RESULTS.md index 520ef75db9..dde90e3695 100644 --- a/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/shared/c1-connect/RESULTS.md +++ b/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/shared/c1-connect/RESULTS.md @@ -146,3 +146,7 @@ Helpers: `AddressPolicy::filter()`, `AddressPolicy::apply(&EndpointAddr)` for ti **Deviations.** Binary is `c1` (was `s7`); usage string updated. `rustfmt` on the three touched files also fixed an import order. clippy is clean after one fix. The file is now about 2,100 words, over the README's 1,500, because this section was added as asked. **Recommendation.** Use `quic: false` for every relay without UDP. Set the local test relays to `quic: false` too; that removes the 3 s wait and should not change verdicts. Before enabling `shared_token` (the commented key is correct, `main.rs:158-200`), give `RelayEntry` a token and call `RelayConfig::with_auth_token` (`relay_map.rs:266`). + +## 2026-10-11T12-20-38Z Re-run: t2 and t4 + +Lines 141 and 144 above are stale. t2 and t4 were re-run on the current build, and both pass. See `../../c1-rerun/RESULTS.md`. diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/2026-10-11T11-08-42Z_design_remaining_work.md b/doc/2026-10-11T11-08-42Z_design_remaining_work/2026-10-11T11-08-42Z_design_remaining_work.md index 6100b9139d..9e81cf484e 100644 --- a/doc/2026-10-11T11-08-42Z_design_remaining_work/2026-10-11T11-08-42Z_design_remaining_work.md +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/2026-10-11T11-08-42Z_design_remaining_work.md @@ -1,91 +1,185 @@ -# What is left in the design - -- Date: 2026-10-11 (UTC 11:08) -- Purpose: the single list of remaining design and implementation work. Each `task-NN` file in this folder is a starting point for one area. It lists the decisions, the spikes, the acceptance tests, and the files involved. -- Status terms: **Done** (in code), **Designed** (decided, with a design section), **Spiked** (evidence exists), **Open** (needs a spike or a decision first), **Deferred** (explicitly later). -- Source design: [design](../2026-10-11T03-44-33Z_design_groups_events_delegation/2026-10-11T03-44-33Z_design_groups_events_delegation.md). Where a later document differs, the later one is current: [review](../2026-10-11T03-44-33Z_design_groups_events_delegation/2026-10-11T08-08-56Z_design_review.md) and [connectivity](../2026-10-11T03-44-33Z_design_groups_events_delegation/2026-10-11T10-46-58Z_design_connectivity.md). - -## Done - -| Item | Evidence | -| ----------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -| n0 relays by default, one endpoint policy, dial deadlines | [feature doc](../2026-10-11T11-08-42Z_feature_n0_relay_default/2026-10-11T11-08-42Z_feature_n0_relay_default.md), commit `07f144c9` | -| Event header, canonical CBOR, and their vectors (S1, S5) | [spikes](../2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/README.md) | -| Membership, friendship, delegation semantics (S2) | spikes | -| Full history, from_join, PCS scope, ordering counts (S3) | spikes | -| Blob hash equality, gating, verified streaming (S4) | spikes | -| Storage choice: redb over SQLite (S6) | spikes | -| Connectivity: n0, our relay via Tunnel, DHT and mDNS checks (C1, t1–t8) | [connectivity design](../2026-10-11T03-44-33Z_design_groups_events_delegation/2026-10-11T10-46-58Z_design_connectivity.md) and the relay kit | - -## Left - -| Task | Area | Status | Needs first | Open decisions | -| -------------------------------------------- | -------------------------------------------------------------------------------------------- | ---------------------------------- | -------------- | ------------------------------------------------------------------ | -| [01](./task-01-phase0-fixes.md) | Phase 0: tuple prefix bug, pull page bytes, MSRV, dial deadlines in the remaining modules | Open | nothing | none | -| [02](./task-02-events-and-storage.md) | Event header, canonical CBOR, redb store, fork proof, bounded waiting | Designed, Spiked | 01 | waiting caps (proposed 256 events per author, 7 days) | -| [03](./task-03-membership-and-delegation.md) | Auth-frontier shim, admission gate, friendship, delegation modes, world capabilities | Designed, Spiked | 02 | dependents rule; transfer; use-count bounds; content on removal | -| [04](./task-04-sync-blobs-transport.md) | Range sync over iroh, blob gating, `observe` | Designed; S7 open | 02; S7 | `observe` gating default | -| [05](./task-05-encryption-and-history.md) | DataScheme adapter, our DGM, heads orderer, from_join, welcome growth, warnings, scheme | Designed, Spiked; S10 and S12 open | 02 | `recent:N` option; large-group gate (BeeKEM) | -| [06](./task-06-tags-documents-search.md) | Observed-remove tags, index, documents, search | Designed; S8 open | 02 | tag precedence against the content policy | -| [07](./task-07-invites-and-pull.md) | Seitan V2, invite events, links, pull policy, metadata documentation | Designed; S9 open | 02 | bearer or typed; approval; pull default | -| [08](./task-08-connectivity-extensions.md) | Our relay, QUIC flag per relay, DHT, Worker pkarr relay, mDNS, ticket policy, access control | Designed; kit ready | owner accounts | relay option; access control; DHT and mDNS defaults; ticket policy | -| [09](./task-09-time-and-witnesses.md) | Witness events, cosigning, anchors | Deferred | 02 | who runs witnesses; which anchors | -| [10](./task-10-open-design-items.md) | Retention, multi-device, fork recovery, live editing, views | Open | 02 | several (listed in the task) | -| [11](./task-11-dependencies-and-upstream.md) | Crate adoption, pins, upstream bug reports | Open | 01 | ed25519 version alignment; iroh-docs feature change | - -## Spikes still to run - -- **S7**: range sync over iroh on real stores, 1,000 chains with real events. Needed before task 04. -- **S8**: observed-remove tags, with property tests over random orders. Needed before task 06. -- **S9**: Seitan V2 implementation against the test vector. Needed before task 07. -- **S10**: heads orderer in a 40-member group, with concurrency and the merge at 32. Needed before task 05. -- **S11**: relay operation on one home server (restart, reconnect, relay key rotation). Needed before task 08. -- **S12**: welcome size at 1,000 rotations, with and without the `serde_bytes` patch. Needed before task 05's history decision. -- **C2**: holepunching between two peers on separate networks, both homed on our relay, with n0's relays in their maps. Not possible in this sandbox. Needed before relying on direct paths (task 08). -- **Re-run t2 and t4** (connectivity) on current infrastructure. They passed earlier, but were not re-run after the QUIC-flag change. -- **BeeKEM**: a spike before end-to-end groups above 1,000 devices (task 05's gate). - -## Owner decisions still open - -1. Dependents of voided events: authority-based (recommended) or closure over all dependents (task 03). -2. Transfer on removal: derived from the signed removal (recommended) or a separate signed event (task 03). -3. Use-count bounds on world capabilities: drop them or keep them as local enforcement (task 03). -4. Content on removal: keep (default) or hide concurrent content (task 03, task 06). -5. `observe` gating on blobs: gate it (recommended) or accept the metadata leak (task 04). -6. Waiting caps: 256 pending events per author and 7 days, as proposed (task 02). -7. Joiner history: `full` by default, and whether to add `recent:N` for large groups (task 05). -8. `scheme: none` notice and wording (task 05). -9. Large-group gate above 1,000 devices (task 05). -10. Invite style: bearer link, typed key, or both; approval on or off; default expiry (task 07). -11. Pull default: open (decided), with an authorized option (task 07). -12. Our relay: option A (Tunnel, recommended) or B (VPS), and the accounts to provide (task 08). -13. Relay access control: shared token (recommended) or open (task 08). -14. mDNS default: off (design) or on (current `serve` default) (task 08). -15. DHT default: off, opt-in (task 08). -16. Ticket policy: relay list only, no IPs (recommended) (task 08). -17. Fork recovery: removal and re-enrolment (task 10). -18. Upstream patch policy for p2panda-encryption (task 11). -19. ed25519-dalek version: align with p2panda-core's 2.2 or keep our 3.0 (task 11). - -## Known discrepancies in the current code - -- `serve` enables mDNS by default. The connectivity design says off (task 08, decision 14). -- Pull pages are capped by item count, not bytes (task 01). -- `pkgs/id` declares Rust 1.91.0. The p2panda crates need 1.96 (task 01). -- `pkgs/id/src/tuple.rs` has the NUL prefix trap, which `tags.rs` uses (task 01). -- Artifacts sign serde_json (task 02 replaces this). -- The Roc test and the world-module hang are pre-existing, and the three `world_compile` tests need `host.wasm`. See the feature doc. - -## Suggested order - -1. Task 01 (small, unblocks the rest). -2. Task 02 (everything else depends on the event store). -3. Tasks 03, 04, 05, 06, and 07 in parallel, after their spikes run. Each has a spike gate. -4. Task 08 whenever the owner has chosen a relay setup. Its code parts can start earlier. -5. Tasks 09, 10, and 11 as needed. - -## Evidence - -- Spike code and results: [spikes](../2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/README.md). -- Research: [findings](../2026-10-11T03-44-33Z_design_groups_events_delegation/2026-10-11T04-20-17Z_research_findings.md). -- Connectivity kit: [relay configs](../2026-10-11T03-44-33Z_design_groups_events_delegation/connectivity/relay/). +# What is left in the design: decisions, open questions, and status + +- Date: 2026-10-11 (rewritten after round 2 research and the owner's decisions) +- Purpose: the single list of decisions, open questions, and remaining work. Each row says where its detail lives. +- Status terms: **Decided** (the owner accepted it), **Changed** (the owner or round 2 research changed the earlier answer), **Owner question** (waiting for an answer, listed in section 2), **Open** (needs a step in the plan), **Deferred** (explicitly later). + +## Start here + +1. [Phased plan](./plan-phases.md): eight phases, the true blockers, the parallel tracks, the testing layers, and the rules every phase follows. +2. [Explainers](./explainers.md): ChainExt, waiting caps, storms and merges, epochs and history, range versus LogSync, compaction, scheme versions, tickets, ed25519, storage, relays. +3. [BeeKEM assessment](./beekem-assessment.md): why BeeKEM is not adopted now, and when to reconsider it. +4. [Round 2 results](./research-round2/README.md): the eleven research answers, with their evidence. +5. [Round 1 spikes](../2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/README.md): S1 to S12, C1, C2 and BeeKEM. + +## 1. Decisions (the original 19, and the new answers) + +| # | Decision | Status | Answer, or what is still open | +| --- | --- | --- | --- | +| 1 | Dependents of voided events | Decided | Authority-based, as p2panda's StrongRemove does | +| 2 | Transfer on removal | Decided | Derived from the signed removal | +| 3 | Use-count bounds on world capabilities | Decided | Dropped from the protocol; local enforcement only | +| 4 | Content on removal | Decided | Content is kept. Removal stops new content | +| 5 | `observe` gating on blobs | Decided | Each request is gated by the world's fetch rules. Observe is off by default | +| 6 | Waiting caps | Decided | 256 per author and 7 days, configurable per world | +| 7 | Joiner history | Changed | `full` by default. `recent:N` per world. Presets 32 and 128 (owner question 5) | +| 8 | `scheme: none` notice | Decided | Explicit notice in the UI and in group metadata | +| 9 | Large-group gate | Decided | No gate. Warnings only, at 96, 128 and 1,000 members | +| 10 | Invite style | Decided | Bearer link (Seitan V2), with expiry and single use. Typed key optional with approval | +| 11 | Pull default | Decided | Open pull, with an authorized option | +| 12 | Our relay | Changed | No Tunnel account now. The n0 relay is used, and users see the server's public IP. Later: a local server behind a Cloudflare Tunnel, and VPS for testing | +| 13 | Relay access control | Decided | None now. Revisit at implementation | +| 14 | mDNS default | Changed | On for `serve` (`--no-mdns` turns it off). Off in the library. The earlier design said off | +| 15 | DHT default | Decided | Off. Opt-in per world | +| 16 | Ticket policy | Changed | Regular tickets work. Addresses are allowed when needed. Signatures are optional (option E) | +| 17 | Fork recovery | Decided | Removal and re-enrolment under a new device key. The alternative, quarantine with approval, is elaborated in task 10 and is a later option | +| 18 | Upstream patch policy | Decided | Patches stay in our fork (developing-today). Nothing goes upstream. No upstream issues or PRs. The scheme v1 change is in the same fork | +| 19 | ed25519 version | Changed | Round 2: stay on 3.0.0 with a conversion shim, and switch to `verify_strict`. Moving to 2.x is not possible while iroh 1.3.0 is pinned (owner question 1) | + +## 2. Owner questions (answers needed before Phase 0 starts) + +The plan lists the preferred answer for each in its section 4. Short form: + +1. **Ed25519.** Stay on 3.0.0 with the shim, and use `verify_strict` [preferred]. +2. **Scheme v1 as the first release.** The serde_bytes encoding ships first, since nothing has shipped [preferred]. +3. **Unreadable invite event.** When the invite event cannot be read before joining, proceed unverified with a label [preferred], or refuse. +4. **Welcome frame cap.** A chunked welcome above one identity frame cap [preferred], or the 1 MiB world-session cap. +5. **`recent:N` presets.** 32 for quiet worlds and 128 for churn-heavy ones [preferred]. `full` stays the default. +6. **Clippy 1.99.** Allow the two new lint names for now and keep a TODO [preferred], or fix the about 50 sites in Phase 0. +7. **Document location.** `doc/` at the repo root, plus `.opencode/plans/` copies of plans [preferred]. `pkgs/id/AGENTS.md` names `docs/`. +8. **Real-network tests.** Wait for the VPS and networks you plan to set up [preferred]. + +## 3. New items found in round 2 (each has a step in the plan) + +| # | Item | Source | Plan step | +| --- | --- | --- | --- | +| N35 | A fork inside a range-sync batch aborts the batch and loses unrelated events | range-config | P3.1a | +| N36 | T=0 never terminates on a mismatched key. Validate K and T | range-config | P3.1b | +| N37 | Range flights above about 524,000 IDs exceed the 16 MiB frame limit. Chunk to a budget | range-config | P3.1c | +| N38 | p2panda-sync depends on p2panda-store with its SQLite default. Fork the one dependency line, or implement LogSync ourselves | store-fit, explainers 5 | P3.2 | +| N39 | `pkgs/id/default.nix` runs `rustup default 1.89.0`, so the Nix check ignores the pin | toolchain | P0.12 | +| N40 | Five plain `verify` calls must become `verify_strict`, with regression tests | ed25519 | P0.11 | +| N41 | A `recent:N` joiner: pre-welcome history must stay outside the crate. Delivering it failed 80 of 120 welcome runs (agent-reported; reproduce first) | welcome-recent | P4.5 | +| N42 | Welcome size budget and chunking above the frame cap | welcome-recent | P4.12 | +| N43 | iroh probes only the first five relays for QAD. QAD-capable relays must come first | cloudflare-workers | P3.6 | +| N44 | The web identity store moves from libsql to redb, with AES-GCM values | turso | P1.9, P1.10 | +| N45 | First creation of the store file: create under a temporary name, commit, rename, fsync the directory | crash-tests | P1.3 | +| N46 | Clippy 1.99 lints and the lints review | toolchain | P8.8 (owner question 6) | +| N47 | Lazy full history for `recent:N` joiners | explainers 4 | P4.6 | +| N48 | Welcome determinism: sort before signing or hashing | scheme-serde | P4.4 | +| N49 | Debug and release builds recover different valid prefixes at four boundary points. Explain it. If it is a redb bug, revisit the engine | crash-tests | P1.4 | +| N50 | Identity: `check_target` does not trim pasted text | ticket-signing | P6.3 | + +## 4. Remaining open questions, with the preferred answer + +| # | Question | Preferred | Alternatives | +| --- | --- | --- | --- | +| N1 | Storage engine | redb everywhere (Turso rejected by the spike) | Turso, if its performance problems are fixed upstream | +| N2 | Identity store | redb with AES-GCM values | Keep libsql. Turso (smaller diff, experimental encryption) | +| N3 | p2panda-store | Traits over redb, no fork now | Fork p2panda-store and replace its SQLite part | +| N4 | Chain identity | ChainExt on every event | One log per group | +| N5 | Sync method per session | Range above the 3.5% crossover, LogSync below | Range always. LogSync always | +| N6 | Range parameters | K and T local, validated, no wire change | Protocol-negotiated K and T | +| N7 | Periodic rotation | Off. Rotate on removal and explicit update | Rotate every N events, or weekly | +| N8 | Recovery from a compromised device | Manual remove and re-add, as a CLI procedure | Automatic on a detected key change | +| N9 | from_join membership fix | Keep the fork (decision 18). Revisit moving it into our DGM | Our DGM's `from_welcome` inserts the joiner, with no fork | +| N10 | serde_bytes | Scheme v1 (owner question 2) | Stay on stock (3.66 times the welcome size) | +| N11 | Warning thresholds | 96, 128, 1,000 | Other values from the cost data | +| N12 | BeeKEM | Not adopted now | Adopt when the conditions in its assessment are met | +| N13 | Storage power-loss testing | In-process gate in CI. LazyFS as an optional Linux job | VM power cut for final sign-off | +| N14 | p2panda source | Git rev `3e84cac` | crates.io 0.7.x with patches | +| N15 | Toolchain | 1.99.0 | Stay on 1.97.0 | +| N16 | `recent:N` default N | 32, with 128 as the churn-heavy preset | 8, or 1 | +| N17 | `store.rs` doc comment | Fix it: FsStore is redb | none | +| N18 | Observe default | Same as decision 5 | none | +| N19 | Tunnel account | None now. You create any account yourself | Later, with your go | +| N20 | Scheme v1 mechanism | A fork change of two lines (owner question 2) | The transcoder on the outer field (76.9 B per epoch, no fork) | +| N21 | `recent:N` implementation | Adapter calls `Dcgka::add` directly. `EncryptionGroup::add` always sends the full bundle | Patch the high-level add | +| N22 | Heads rule | Cap 32, the author's latest always named, merge on overflow | Cap 16 (162 merges per storm), or cap 2 (3,159) | +| N23 | Freshness window | 5 minutes, configurable per server, world and inviter | A wall-clock window only | +| N24 | Ticket signing | Option E: standard paste, signed invite event checked when present | Option B (our envelope; standard clients refuse it) | +| N25 | Relay operation defaults | SIGINT, config required, metrics on loopback (applied in the kit) | Keep SIGTERM (not recommended) | +| N26 | BeeKEM for groups above 1,000 | Not adopted now. DataScheme everywhere, with warnings | Fix and extend BeeKEM ourselves | +| N27 | Bulk catch-up parameters | K=4, T=8 locally, for bulk catch-up only | K=16 always | +| N28 | Migrating DataScheme groups | Not needed while nothing has shipped | A scheme switch at a barrier, later | +| N29 | QAD source | n0 default, verified on real networks | A QAD VPS first | +| N30 | Address exposure | Documented. "Authorize before connecting" is access control, not privacy | Relay-only transports, or a patched iroh | +| N31 | Relay capacity for fallback pairs | Plan for symmetric-to-symmetric pairs falling back | Accept lower direct-path rates | +| N32 | Startup wait on relays | Wait only for the home relay, with a deadline | Wait for every entry | +| N33 | Tag compaction | Snapshot at a causal cut, then the tail | No compaction | +| N34 | Churn warnings | Warn on re-add churn as well as size | Size only | + +## 5. Round 2 results (eleven questions, one folder each) + +| Folder | Question | Verdict | +| --- | --- | --- | +| `ed25519` | Versions, compatibility, the newest release | 3.0.0 is newest. 2.x and 3.x are wire-compatible. Stay on 3.0.0 with a shim | +| `turso` | Turso versus redb for the event store, and libsql removal | redb wins on every measure. Identity moves to redb | +| `crash-tests` | LazyFS and a portable crash test | In-process model: 7,808 runs, zero failures. LazyFS optional (user namespace only) | +| `toolchain` | Newest stable, flake update, MSRV | 1.99.0. No lock update needed. The Nix check pins 1.89.0 (a bug) | +| `range-config` | Are K and T on the wire; LogSync crossover | Local only. Crossover is 3.5% of chains, not 40. Fork-in-batch bug found | +| `scheme-serde` | Scheme versions and the welcome encoding | v1 (serde_bytes) is 3.66 times smaller, and the only option that reaches the floor | +| `iroh-allowlist` | Can iroh refuse peers before it exposes addresses | No: identity is known only after the TLS handshake. It is access control, not privacy | +| `ticket-signing` | Signed tickets without breaking regular ones | Option E. Regular paste works, and signed events are checked when present | +| `welcome-recent` | What `recent:N` and `full` cost, and what 32 means | 32 is 5.3 KB per join (stock). `full` grows linearly, and re-adds grow quadratically | +| `store-fit` | Implementing the store traits over redb | About 650 to 900 lines plus tests. No fork needed. LogSync pulls SQLite (N38) | +| `cloudflare-workers` | Later relay options | Tunnel carries no QAD. QAD probes five relays. Workers can serve pkarr HTTP and DoH only | + +## 6. Spikes (round 1, all done) + +| Spike | Verdict | +| --- | --- | +| S1 to S6, C1 | Done. Earlier results stand, with the corrections recorded in round 2 | +| S7 range sync on real stores | Works and matches S1. Keep K=16 and T=16 as defaults | +| S8 observed-remove tags | Hold. The clock covers the causal past. Compaction needs a snapshot | +| S9 Seitan V2 | Derivations match Keybase's vectors. Verify the accept bytes and admin handler before shipping | +| S10 heads orderer | Cap 32 needs the merge rule and the own-latest rule | +| S11 relay operation | Restart is survived. Fix SIGTERM. Metrics on loopback | +| S12 welcome size | 146.6 B per epoch stock, 40.0 B with serde_bytes | +| C1 t2, t4 re-run | Both pass | +| C2 holepunching | Full cone and port-restricted succeed. Symmetric pairs fall back. QAD is required | +| BeeKEM | Not adopted now. See its assessment | + +## 7. Remaining work by task doc + +| Task | Area | Status | Plan phase | +| --- | --- | --- | --- | +| [01](./task-01-phase0-fixes.md) | Phase 0 fixes: tuple (done), pull bytes, MSRV, dial deadlines | Partly done | Phase 0 | +| [02](./task-02-events-and-storage.md) | Events, storage, caps, crash gate | Designed; decisions made | Phase 1 | +| [03](./task-03-membership-and-delegation.md) | Membership, delegation | Designed | Phase 2 | +| [04](./task-04-sync-blobs-transport.md) | Range and LogSync, blobs, `observe` | Designed; decisions made | Phase 3 | +| [05](./task-05-encryption-and-history.md) | Scheme v1, history, heads, warnings | Designed; decisions made | Phase 4 | +| [06](./task-06-tags-documents-search.md) | Tags, documents, search | Designed; S8 done | Phase 5 | +| [07](./task-07-invites-and-pull.md) | Seitan V2, invites, pull | Designed; decisions made | Phase 6 | +| [08](./task-08-connectivity-extensions.md) | Relays, tickets, mDNS | Designed; decisions made | Phases 3 and 7 | +| [09](./task-09-time-and-witnesses.md) | Time and witnesses | Deferred | Phase 8 | +| [10](./task-10-open-design-items.md) | Retention, multi-device, fork recovery, editing, views | Designed; preferred answers recorded | Phase 8 (and 6 for fork recovery) | +| [11](./task-11-dependencies-and-upstream.md) | Upstream and forks | Decisions made | Phase 0 | +| [12](./task-12-dependencies-and-toolchain.md) | Toolchain and dependencies | Decisions made | Phase 0 | + +## 8. Known discrepancies in the current code + +- `pkgs/id/default.nix` runs `rustup default 1.89.0`, so the Nix check ignores `rust-toolchain.toml` (N39). +- `pkgs/id` declares a Rust version that is too low. p2panda needs 1.96 (P0.5). +- `src/store.rs` says FsStore is SQLite. It is redb (N17). +- `serve` enables mDNS by default, and the connectivity design says off. The decision is now on (decision 14), so the design text changes, not the code. +- The connectivity design says peers re-home in 20 to 22 s. Three runs measured 20.5, 21.6 and 22.5 s, so it should read 20 to 23 s. +- `spikes/shared/c1-connect/RESULTS.md` has stale lines (141 and 144). A dated re-run note is appended. +- `pkgs/id/AGENTS.md` says plans go in `.opencode/plans/` and docs in `docs/`. The repo's design docs are in `doc/` (owner question 7). +- The Roc test, the world-module hang, and the three `world_compile` tests are pre-existing failures (P0.1). +- Clippy: a target directory must use one rustc. The Nix clippy and the rustup clippy disagree, which gave E0514 errors. + +## 9. TODO (later) + +- **Clippy and other lints.** The owner noted a 9k-error lint output and asked for a review later. Nothing is done now. The review covers the 141 pre-existing `pkgs/id` lints under `-D warnings`, the 1.99 additions, and the lints in other tools. Plan step P8.8. +- **Lazy history, the `recent:N` default, and the welcome frame cap** are waiting on owner questions 4 and 5. +- **Real-network tests** wait for the VPS and networks (owner question 8). +- **Merge and push.** The feature branch merges to `main` only when the owner signals (the owner's instruction). The merge of `main` into the feature branch is committed locally as `d702af03`, and is not yet pushed. + +## 10. Evidence and locations + +- Repo design folder: `doc/2026-10-11T03-44-33Z_design_groups_events_delegation/`. +- Remaining-work folder: `doc/2026-10-11T11-08-42Z_design_remaining_work/`. +- Research round 2: `doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/` (copies of each folder's results, logs and harness code, without vendored crate sources). +- Raw research workspace (outside the repo): `/home/user/work/research-round2/`. +- Spike workspace (outside the repo): `/home/user/work/spikes-next/`. diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/beekem-assessment.md b/doc/2026-10-11T11-08-42Z_design_remaining_work/beekem-assessment.md new file mode 100644 index 0000000000..c641830ce4 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/beekem-assessment.md @@ -0,0 +1,70 @@ +# BeeKEM: why we are not adopting it now, and when to reconsider + +- Date: 2026-10-11 +- Status: Decided for now. DataScheme stays for every group size, with warnings (decision 9). BeeKEM is revisited under the conditions in section 4. +- Evidence: the BeeKEM spike, `spikes/beekem/RESULTS.md` (beekem 0.4.0, published on crates.io 2026-09-25, MSRV 1.90). The comparison numbers come from that spike. Where a number is an extrapolation, it says so. +- Related: [task 05](./task-05-encryption-and-history.md), [explainers](./explainers.md) (the welcome and epoch terms), [plan](./plan-phases.md). + +## 1. What BeeKEM would replace + +Today a group uses p2panda-encryption's DataScheme (DCGKA over 2SM with HPKE). A key update is a fresh secret sent to each other member as a separate two-party message. That is n-1 messages per update, and the same per remove. The welcome for a new member carries every epoch secret (146.6 B per epoch today; 40.0 B per epoch with the serde_bytes encoding, see scheme versions in the explainers). + +BeeKEM is a tree-based group key agreement (a concurrent variant of TreeKEM). One update is one operation that changes a path in a binary tree. Its appeal is that the bytes per update grow with the log of the group size, and one operation can be sent to everyone at once. + +## 2. Measured results + +All numbers are from the spike. Steady-state update means one commit by one member in a settled group. + +| Measure | Result | +| --- | --- | +| Steady-state update, 100 members | 2.8 KB | +| Steady-state update, 1,000 members | 3.9 KB | +| Steady-state update, 5,000 members | about 5.0 KB (extrapolated; not run in full) | +| Remove plus the root-restoring update, 1,000 members | about 5.3 KB | +| Committer CPU per update | 0.6 to 0.8 ms | +| Receiver merge plus verify | about 40 µs plus about 45 µs | +| First commit after a bulk build, 1,000 members | 122 KB (cost is O(n)) | +| First commit after a bulk build, 5,000 members | 603 KB (partial run) | +| Per-member state after a full fill, 1,000 members | 64 MB, with nothing pruned | +| Joiner replica right after creation, 1,000 members | 0.74 MB | +| Joiner replica after history, 1,000 members | 64 MB | +| DataScheme comparison under unicast | BeeKEM one operation is 7 to 16 times DataScheme's bytes | +| Break-even under fan-out | BeeKEM wins on bytes only from about 11 to 17 members | + +The bytes comparison assumes one copy of the BeeKEM operation per recipient, which is what our unicast transport would do. The win needs a transport that can send one message to many members. + +## 3. Difficulties + +Each item says what is wrong, why it matters for us, and whether a fix is in the crate or in our code. + +1. **No welcome or join API.** A new member cannot be given a small welcome. The only route the spike found is a copy of an existing member's replica. The copy carries that member's secrets and every epoch key, so it must be stripped before it is sent. A fresh replica cannot start from the latest update. This makes join the hardest part of the design. *Fix:* a crate change or our own join protocol with a path-only welcome. Not tested: a path-only welcome needs a crate change. +2. **State grows without bound.** Each member keeps the full operation history: 64 MB at 1,000 members after a full fill. Nothing in the crate prunes it. *Fix:* snapshots at causal cuts, the same idea as tag compaction. Not designed. +3. **The first commit after a bulk build is O(n).** 122 KB at 1,000 members. A group that starts large pays this once. +4. **Concurrency needs causal delivery.** Concurrent operations converge only when a member buffers out-of-order operations. Dropping them converged in 1 of 300 trials. So BeeKEM depends on our ordering layer (the heads orderer and its caps, see the explainers) being correct first. +5. **Liveness gaps under concurrency.** A concurrent commit leaves no root key until the next commit. A concurrent removal applies lazily, so a member can read a stale membership list for a while. Both need product rules for what the UI shows and what sends are allowed while a root is missing. +6. **Forward secrecy is not what the name suggests.** A later replica copy derives earlier roots. Post-compromise security after an in-group compromise holds only once the compromised member commits again. A removed member cannot derive the new root, which is the part we need. +7. **No authority or signature checks.** The crate accepts any operation and any key on add. Our layer must check every operation against the membership and delegation rules before the crate sees it. That is a large integration cost, and the crate's safety depends on it. +8. **Fan-out is required for the byte win.** Our transport sends each message to one recipient. Without a broadcast path (for example a gossip topic or a content-addressed blob that members fetch), BeeKEM costs more than DataScheme. We have no broadcast path in the design today. +9. **Migration is not in-place.** A DataScheme group cannot be converted into a BeeKEM group. The options are a new group with re-invites, a scheme switch at a barrier inside the same group (recommended if continuity matters), or running both for a while. Seeding the new root from the old secret was rejected: the crate has no seed API. +10. **Maturity.** Version 0.4.0, published 2026-09-25. The spike did not run the crate's own test suite, and did not review the code. The owner-facing risk is a small, new, single-maintainer dependency, not a known bug. +11. **Not tested:** a full fill at 5,000 members (about 40 minutes estimated, so the spike ran a 200-member partial fill); a removed member's bypass attempts; DataScheme's per-message bytes at 1,000 members (estimated, not measured). The last one is a Phase 4 measurement task (see the plan). + +## 4. When to reconsider + +Reconsider BeeKEM only when all of these are true: + +1. **Join is solved.** The crate, or our code, provides a welcome for a new member that is small and does not carry other members' secrets. +2. **Authority is checked before the crate.** Our layer validates every operation against membership and delegation, and the test suite proves that a removed member's operation is rejected. +3. **A broadcast path exists.** One send reaches all members, so the per-update bytes saving is real. Candidates: an iroh-gossip topic per group (the crate is already in the product tree), or a content-addressed blob per operation. +4. **Measured need.** Real DataScheme update traffic at large sizes is a bottleneck. The measurement is the Phase 4 task that records update bytes and CPU at 100, 1,000 and 5,000 members, with our adapter and our transport. Trigger: the warnings for groups above 1,000 fire often, or a single update exceeds an agreed budget. +5. **State is bounded.** Pruning or snapshots keep per-member state under an agreed size. +6. **The crate matured.** A stable release with its own tests, and an independent review of the security properties we rely on. +7. **A migration plan the owner accepts.** The scheme switch at a barrier, or the new-group approach, with the transition period. + +If conditions 1 and 2 hold and 3 does not, BeeKEM is still the wrong choice, because the bytes would be worse than DataScheme's. + +## 5. What we do meanwhile + +- DataScheme for all groups, with warnings at 96, 128 and 1,000 members (N11). The warnings are local to the server, and no group is blocked (decision 9). +- Measure DataScheme's own update costs at 100, 1,000 and 5,000 members in Phase 4. Write the results next to the BeeKEM table, so the comparison uses measured numbers on both sides. +- Keep the BeeKEM spike code and results in the repo, so the work can resume. diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/explainers.md b/doc/2026-10-11T11-08-42Z_design_remaining_work/explainers.md new file mode 100644 index 0000000000..9c677102f8 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/explainers.md @@ -0,0 +1,289 @@ +# Explainers: the terms behind the open questions + +- Date: 2026-10-11 (completed after round 2 research) +- Purpose: plain-language definitions and tradeoffs for the terms the open questions use. Each section names the decision it supports and the task doc with the detail. Numbers are measured unless marked as an estimate or an extrapolation. +- Research behind this file: [round 2 results](./research-round2/README.md) and [round 1 spikes](../2026-10-11T03-44-33Z_design_groups_events_delegation/spikes/README.md). + +## 1. ChainExt (the event header extension) + +**What it is.** A p2panda header extension: a struct we define, signed together with each event's header. p2panda-core accepts any serializable type as an extension. The only extension p2panda-core 0.7.1 ships is `PruneFlag`, a boolean that switches off the backlink check. We do not use it. + +**What it carries.** + +| Field | Meaning | +| --- | --- | +| `kind` | What the event is: a group operation, a message, a tag, a document, an invite, and so on. Text. | +| `group` | The group the event belongs to, as an optional hash. A node can index and route by group without decrypting the payload. | +| `after` | The causal frontier: hashes of the latest events from any author that this author had seen when writing the event. At most 32. | +| domain tag | The constant `id.events.v1`, so our header type cannot be confused with another protocol's. | + +**Why it is needed.** The p2panda header already gives a per-author chain: the author's key, a sequence number, a backlink to the author's previous event, the payload size and hash, and a signature. That orders one author's events. It does not say which events from other authors this event depends on. The membership rules need that, because a removal must be ordered against the concurrent events it did or did not see. `after` carries that. Because it sits inside the signed header, nobody can change the causal links or the group without breaking the signature. + +**Cost.** Each `after` hash costs about 34 bytes on the wire (a 32-byte hash plus its CBOR header). A full frontier of 32 costs about 1.1 KB per event. + +**Decision (accepted).** ChainExt on every event from the start. There is no `LogExt` in p2panda-core 0.7.1, so there is nothing to switch to. Two formats would mean two migration paths, and we can discard data, so one format from day one is simpler. + +**Alternative.** One log per group instead of one per device. Fewer logs, but the per-author order would move into the body, and sync could no longer work per device. + +Details: [task 02](./task-02-events-and-storage.md). + +## 2. Waiting events and waiting caps + +**Waiting event.** An event that has arrived but cannot be applied yet, because a dependency has not arrived. The dependency can be a backlink, an `after` hash, or an auth dependency for the membership layer. The node holds the event until the dependency arrives, then applies it. + +**Why caps.** Anyone can send events whose dependencies never arrive. Without a bound, a malicious or broken device can fill memory with waiting events. A cap bounds the memory. + +**The two caps (accepted, configurable per world).** +- A count cap: at most 256 waiting events per author. +- A time cap: a waiting event is dropped after 7 days. + +When a cap is hit, the node drops the event and does not acknowledge it. The author's events come back later through sync, once the dependency exists. + +**Tradeoff.** A cap that is too small drops legitimate events from a device that was offline for a long time. Those events are not lost, because sync fetches them again. The cost is bandwidth and delay. A cap that is too large lets a bad peer use memory. + +Details: [task 02](./task-02-events-and-storage.md). + +## 3. Heads, storms, merges, and the own-latest rule + +**Heads.** The latest events that no other event has named yet. If Alice and Bob each post once without seeing each other's post, both posts are heads. + +**Storm.** A burst in which many members post at once, or a partition heals and every backlog arrives together. Each new event names the heads its author has seen, so after a storm there can be as many heads as there are members. S10 measured 40 heads after a 40-member burst. + +**Why it matters.** An event can name at most 32 heads in its `after` list. With more heads than that, the next event cannot name them all, and the causal order becomes incomplete. + +**Merge.** An event that names many heads, up to 32, so that they become one causal point. In the encryption layer a merge is also a key update, because it needs a new epoch. In DataScheme an update costs n-1 messages, so a merge in a 40-member group costs 39 messages. A merge is not free, so the rule is: merge only when the heads would exceed the cap. + +**The own-latest rule.** Every event must name its author's latest event. S10 found that an event which truncated its heads to 32 and dropped its own previous event broke delivery under adversarial orders, with HPKE errors. Naming the author's latest event keeps per-author order checkable. + +**Decision (accepted).** Cap 32. Always name the author's latest event. Merge when the heads would exceed the cap. + +**Measured (S10).** Cap 32 needs 81 merges in S10's storm example. Cap 16 needs 162. Cap 2 needs 3,159 merges and about 1,150 waiting messages for three storms. + +Details: [task 05](./task-05-encryption-and-history.md) and the S10 results. + +## 4. Epochs, welcomes, and history modes + +**Epoch.** A period between two key rotations, with its own secret. A message is encrypted under the secret of the epoch it was sent in. + +**What rotates the key.** In the stock crate: creating the group, a removal, and an explicit update. A plain join adds no epoch in the crate. Our join path (from_join) adds an immediate update for every join, because a joiner must not read messages sent before the join. So in our design every join is also an epoch. + +**Welcome.** The message that brings a new member up to date. It carries the epoch secrets that member may read. Its size grows with the epochs it carries: 146.5 bytes per epoch with the stock encoding, 40.0 with serde_bytes (S12, round 2 scheme-serde). + +**History modes (decided: `full` by default).** + +| Mode | What the joiner can read | Welcome per join, K = 1,000 rotations | Experience | +| --- | --- | --- | --- | +| `full` (default) | Everything since the group began | 147 KB stock, 40 KB serde_bytes (measured) | A new member sees the whole history, as members expect | +| `recent:128` | The last 128 epochs | 19.3 KB stock, 5.6 KB serde_bytes (measured) | Older messages show as unavailable until requested | +| `recent:32` | The last 32 epochs | 5.3 KB stock, 1.7 KB serde_bytes (measured) | Smallest join. Older messages show as unavailable until requested | + +**What 32 means in practice.** An epoch is a rotation, not a time. In our design every join, removal, and explicit update is one epoch. So in a group with frequent joins, 32 epochs can cover only the last few hours or days of membership activity. In a quiet group they can cover years. The window is the same number of events, so the experience depends on how busy the group is. That is why `recent:N` is set per world. + +**Why not 128.** At 128, a join costs about 3.6 times what 32 costs (19.3 KB against 5.3 KB stock). The gain is a window four times longer. The right number depends on the world: 32 for quiet groups, 128 for churn-heavy ones. Both are presets. + +**Why not only `full`.** It grows with every rotation. At 10,000 rotations, extrapolated, a welcome is about 1.5 MB stock or 0.4 MB with serde_bytes. Re-adds are the worst case: total re-add traffic grows quadratically, 19.5 MB at 1,000 rotations and about 1.9 GB at 10,000 (extrapolated). The owner decided `full` is the default. `recent:N` remains available for churn-heavy worlds. + +**Frame size.** The world session in this codebase caps frames at 1 MiB (`world_session.rs:48`). If a welcome has to fit one frame, stock `full` stops fitting near 7,150 rotations (inferred from the sizes above). So the identity transport needs an explicit cap, and large welcomes must be chunked. Decision needed: see the owner questions in the index. + +**Two rules that the round 2 results make mandatory.** +1. A `recent:N` joiner cannot read older messages through the crate. The adapter must check the group secret ID before it calls `receive`, and keep pre-welcome history outside the crate. In round 2 delivering that older history to the crate failed the welcome in 80 of 120 runs (agent-reported; the reproduction is the first red test in Phase 4). +2. Welcome bytes depend on hash-map order, so the welcome must be sorted before it is signed or hashed. + +**Lazy full history (new item).** A joiner who chose `recent:N` can later ask a member for older epoch secrets. The member sends them encrypted to the joiner. This needs an online member and a rule for who may answer. It is a Phase 4 item. + +Details: [task 05](./task-05-encryption-and-history.md) and [welcome-recent results](./research-round2/welcome-recent/RESULTS.md). + +## 5. Range sync versus LogSync + +Both sync two peers' event sets. They differ in how they find what the other side lacks. + +**LogSync** (p2panda-sync). Each peer sends the latest position of every log (here, every device chain), and the other side replies with what is missing. +- Round trips to start: 2. +- Control bytes at 1,000 chains: about 76 KB, roughly 76 bytes per chain. Grows linearly with chains. + +**Range sync** (ours). Each peer summarizes sorted ranges of (author, seq) keys with a fingerprint and a count. Mismatched ranges are split until a range is small enough to send its keys. +- Round trips to start: 7 to 8. +- Control bytes at 1,000 chains: about 6.5 KB on real stores (S7). Grows slowly with chains. +- Fingerprints are XORs of 16-byte BLAKE3 hashes, with counts. + +**The crossover, measured in round 2 (range-config).** The earlier 40-chain figure held only for two new events. The real crossover is about 3.5% of chains, which is the proposed rule: use LogSync when the estimated difference exceeds 0.035 times the number of chains, or when bootstrapping. Otherwise use range. +- At 4% of chains, range costs 1.2 times LogSync's control bytes. At 20%, 4.7 times. +- Range takes 7 to 9 flights against 2. + +**Tradeoffs.** + +| | LogSync | Range | +| --- | --- | --- | +| Bytes when the difference is small and chains are many | Worse, grows with chains | Better | +| Bytes when the difference is large | Better | Worse | +| Round trips | 2 | 7 to 9 (8 round trips at 150 ms is 1.2 s before data moves) | +| Code we own | Upstream, but it pulls in SQLite (below) | Ours, covered by the S7 and round 2 tests | +| Failure modes | Upstream's | Ours. Round 2 found a fork that aborts its whole batch and loses 20 unrelated events in the harness. That is a required fix with a test | + +**Dependency note.** p2panda-sync depends on p2panda-store with default features, and those include `sqlite`. Using LogSync from p2panda-sync therefore brings SQLite back into the build, which the redb decision is meant to avoid. Options: (a) fork p2panda-sync and change that one dependency line to `default-features = false` (we own the fork), (b) implement LogSync ourselves over our traits (the protocol is small), or (c) accept SQLite as an unused build dependency. Preferred: (a), because the owner accepts forks we own. + +**Decision (accepted).** Range above the crossover, LogSync below it. Both sides must support both. The initiator chooses, and the peer answers whichever method is asked for. + +**K and T (accepted).** These are local split policy and never go on the wire. Each message is a list of entries, and each entry has an explicit upper bound and a mode: skip, fingerprint, or ID list. A receiver needs nothing from the sender, so two peers with different K and T still converge. Round 2 checked all nine wire pairs on 1,000 chains: equal stores, zero duplicates, exact symmetric difference. Costs with mixed settings, for reference: K16/T16 against K4/T8 gives 72,062 control bytes in 9 flights; K4/T8 on both sides gives 56,761 bytes in 11 flights; K2/T4 on both gives 66,001 bytes in 18 flights. Validation: K at least 2, T at least 1. T=0 never terminates on a single mismatched key, so it is rejected. + +**Versioning.** Changing K or T needs no version bump, only validation. Changing the fingerprint function, the bounds encoding, the key layout, the framing, the leaf ID width, the mode bytes, or the frame cap needs a new protocol ID, `/id-sync/2`. The ID carries only the wire version. + +**Frame cap.** A single flight above about 524,000 IDs exceeds the 16 MiB frame limit that the range harness uses (round 2, verified in memory). So bootstrapping a large store fails in either direction until flights are chunked to a size budget. + +Details: [task 04](./task-04-sync-blobs-transport.md) and [range-config results](./research-round2/range-config/RESULTS.md). + +## 6. Compaction (tags) + +**What it means.** Tag history is a log of adds and removes. Compaction replaces a long prefix of that log with a snapshot of the current tag state, plus the operations after the snapshot's causal cut. The log gets shorter and the state stays the same. + +**Why it is not simple.** A removal only works on an add that the remover had seen. If a removed add is dropped from the log, a new device that later receives an old copy of that add brings it back, because nothing says it was removed. S8 showed this with a tested counterexample: dropping stable clear bodies without a snapshot brings back removed adds for a new device. + +**What a snapshot needs.** The state of every live tag, plus enough causal information (the observed dots and clock) that a new device applies later operations correctly. + +**Numbers.** Tag state stays flat under churn: 117 B to 121 B across 20,001 operations. The log grows by about 131 bytes per operation, so the log is the part that needs compaction. + +**Decision (accepted).** Snapshot at a causal cut, then the tail. Trigger: when a tag's log grows past a size threshold. + +Details: [task 06](./task-06-tags-documents-search.md) and the S8 results. + +## 7. Freshness window (invite accept time) + +**What it is.** An invite accept carries a timestamp, `ctime`. The window is how far from the invite's creation and from "now" that timestamp may be. + +**The rule.** `created - W <= ctime <= min(now + W, expires)`, with W = 5 minutes by default (accepted). + +**Why it is configurable.** A home server may hold an accept for a while before it can forward it, which the design allows. A slow network needs a larger W. A public world may want a smaller one. The window can be set per server, per world, or per inviter, and the most specific setting applies. + +Details: [task 07](./task-07-invites-and-pull.md). + +## 8. Addresses, "authorize before connecting", and the public IP + +**What the round 2 test showed (iroh-allowlist).** An iroh 1.3.0 endpoint learns the remote EndpointId only after the TLS handshake. Before that, it sees only the UDP source and the ALPN, and the TLS verifier accepts any key (`tls/verifier.rs:125-141`). The only identity hook runs after the handshake (`connection.rs:358-363`). Our candidates are queued when the connection is registered, before that hook runs (`remote_state.rs:387-409`). + +In the test, an unlisted client's `connect()` returned Ok in all 60 refused runs, and the refusal arrived about 19 ms later. With a second local address, the refused client received the server's candidates in 17 of 30 runs. After the first stream it had the full set in 29 of 30 runs. + +**What "authorize before connecting" means.** It means an endpoint refuses peers by identity: only listed peers may complete a connection and use its streams. That is access control. It does not hide addresses. Address privacy needs something else: a relay-only transport, or a patched iroh that withholds candidates until the peer is authorized. + +**Decision (accepted, with the wording changed).** N30 is documented as address exposure to any peer that can connect. Tickets may carry addresses when they are needed, for example for a LAN or a direct path, and need none otherwise. The allowlist is an after-handshake gate for inbound connections, and a `before_connect` gate for our outbound dials. + +**The owner's setup.** The server runs on the n0 relay, and all users see the server's public IP. This is accepted. It is also inherent: QAD gives the connected peer our public candidate, so any direct path reveals the public IP. + +Details: [task 08](./task-08-connectivity-extensions.md) and [iroh-allowlist results](./research-round2/iroh-allowlist/RESULTS.md). + +## 9. Scheme versions (N10, N20) + +**What a scheme version is.** The encryption crate has no version field on its messages. Our term "scheme version" names one fixed encoding of the crate's messages, and the version is recorded with the group, so that a receiver knows which decoder to use. + +- **v0** is the stock layout: the crate's own encoding. +- **v1** is our proposal: the same messages, with `serde_bytes` on the two `Vec` fields. These are the two-party plaintext and the X3DH ciphertext. + +Nothing has shipped, and `pkgs/id` does not depend on p2panda-encryption yet. So v1 can be the first released scheme, and no stock group needs migrating. + +**The options, with measured joiner welcome size per epoch (round 2 scheme-serde).** + +| Option | Bytes per epoch | Fork needed | Notes | +| --- | --- | --- | --- | +| Keep stock (v0) | 146.5 | No | Largest. No migration cost | +| `serde_bytes` on both fields (v1) | 40.00 | Yes, two lines in the fork we already carry for from_join | 3.66 times smaller. Follows the crate's own serde convention. Incompatible with stock in both directions (verified) | +| Transcoder on the outer field only | 76.9 | No | Reaches the outer layer only, not the inner one | +| Our own compact encoding | about 40 (floor) | No, but custom crypto | At most about 15% better than v1, with custom crypto to maintain | +| Compression (bzip2) | 78 KB at K=1,000 | No | Does nothing for v1. Keys are random | + +**Why v1 is the best choice.** It is the only option that reaches the floor. It is two lines in a fork we carry anyway. It uses the crate's own convention, not a format we invent. Nothing needs migrating, since nothing has shipped. Its costs are that stock and v1 cannot decode each other, that updates gain only about 10%, and that we need a version tag and a determinism fix. If the owner refuses the fork, the transcoder is the fallback. + +**Where the version lives.** The version is bound to the signed group policy, and checked copies sit in the event header and in the welcome envelope (5 to 12 bytes in total). A receiver checks the copy against the signed policy, so a relay cannot downgrade the encoding. + +Details: [task 05](./task-05-encryption-and-history.md) and [scheme-serde results](./research-round2/scheme-serde/RESULTS.md). + +## 10. Signed tickets (N24) + +**What a ticket is today.** An iroh `EndpointTicket` is the string `endpoint` followed by base32 of a postcard payload: a variant tag, the EndpointId, and any addresses. It has no signature and no expiry. The parser ignores trailing bytes (round 2 confirmed this for 0 to 300 bytes). + +**What signing entails.** The paste string must still be a standard ticket, so that every iroh client accepts it. The signature has to live somewhere else, or in a larger string that only our clients understand. + +**Options (round 2 ticket-signing, tested through the iroh-tickets parser).** + +| Option | What the user pastes | Validation | Trade-off | +| --- | --- | --- | --- | +| A: standard ticket only | 124 characters | None | Simplest. Nothing proves who issued it | +| B: our signed envelope | 361 characters | Our clients verify the signature | Standard clients cannot parse it | +| C: standard ticket plus a signed invite event | 124 characters | The event is checked when present | The signature lives in the event, not the paste | +| D: ticket with appended signature | 277 characters | Parser ignores the bytes | A standard re-share strips the signature | +| E: A plus C (recommended) | 124 characters | Automatic when the event is available | Regular tickets work, and signatures are optional | + +**Recommendation: E.** The pasted string stays a standard ticket. The invite link carries `by=` as the trust anchor. The inviter's signed invite event is checked automatically when it is present, and the joiner checks it before sending the accept. The user does nothing special. + +**One open question for the owner.** The invite event must be readable before joining. That conflicts with an authorized pull, where only members can read a group. When the event is unreadable, the joiner can either proceed unverified, with a clear label, or refuse. Round 2 also found that `check_target` does not trim pasted text, so a paste with surrounding whitespace must be handled and tested. + +Details: [task 07](./task-07-invites-and-pull.md) and [ticket-signing results](./research-round2/ticket-signing/RESULTS.md). + +## 11. Ed25519 versions (decision 19) + +**Newest.** ed25519-dalek 3.0.0 is the newest stable release (2026-07-06). Its only pre-release, 3.0.0-rc.1, is older. The newest 2.x is 2.2.0 (2025-07-09). + +**What changed from 2.x to 3.x.** Key derivation, signing, and both `verify` and `verify_strict` are unchanged. The dependencies moved: curve25519-dalek 4 to 5, rand_core 0.6 to 0.10, signature 2 to 3, sha2 0.10 to 0.11. The minimum Rust version rose from 1.81 to 1.85. The one break that reaches us is that `generate()` now takes rand_core 0.10's `CryptoRng`. + +**Are they compatible?** Yes on the wire. Round 2 checked 25 of 25 cases: identical keys, signatures, and RFC 8032 test vectors; mutual verification passes; non-canonical S is rejected by both; small-order and decoding results match. The only visible difference is error text. In Rust they are different types, and Cargo can build both in one tree, with duplicated curve25519-dalek, sha2, signature, ed25519 and rand_core. Conversion must go through bytes, because there are no `From` impls between versions. + +**Why not move everything to 2.x.** iroh 1.3.0 and six other pinned crates require 3.x, and p2panda-core 0.7.1 requires 2.2.0. So "one copy in the tree" cannot hold while those pins stand. Moving the tree to 2.x would mean leaving iroh 1.3. + +**Recommendation.** Stay on 3.0.0 and keep a small conversion shim at the p2panda boundary. Also change the five plain `verify` call sites (`directory_auth.rs:349`, `artifact.rs:300`, `directory_log.rs:100`, `directory.rs:396`, and one more) to `verify_strict`, which rejects non-canonical signatures and small-order keys. Each change gets a regression test. Advisories RUSTSEC-2022-0093 and RUSTSEC-2024-0344 do not affect the versions we use. + +Details: [ed25519 results](./research-round2/ed25519/RESULTS.md). + +## 12. Storage: redb everywhere, Turso spiked, libsql replaced (N1, N2) + +**Decision (accepted, confirmed by round 2).** redb for the event store. The Turso spike did not change the answer. It is slower in every configuration measured: its WITHOUT ROWID tables full-scan every key lookup, a 200,000-claim run stalled after about 21 minutes at 99% CPU, and on rowid tables Turso took 57.7 s where redb took 11.5 s and SQLite 23.5 s. Its lookups were 7 to 22 times slower than redb. Turso's file was smaller (157.9 MB plus a 29.6 MB WAL, against redb's 269.5 MB, or 134.9 MB compacted). Its multi-process WAL and concurrent writers are experimental. + +**libsql.** The web identity uses one table with four statements and an AES-256-GCM encrypted URI, in 17 lines of `src/web/identity.rs`. The owner's instruction is that libsql will be replaced. Round 2 recommends moving the identity tables to redb as well. The values are encrypted with AES-GCM, which is already in our lock file. That is about 120 to 150 lines (estimated) against about 40 lines for Turso, but Turso's encryption is experimental. + +Details: [turso results](./research-round2/turso/RESULTS.md). + +## 13. Storage engine tests: portable crash testing and LazyFS (N13) + +**Decision.** The CI gate is an in-process fault-injecting backend for redb. LazyFS is an optional Linux job. + +**The in-process model.** redb 4.3.0 has a storage backend trait (`redb::StorageBackend`, `db.rs:74`). The fault backend holds writes until `sync_data`, applies a survival policy at a simulated power cut, and can tear the in-flight write. The 50-transaction workload has 687 storage calls, and every one is a crash point: 7,808 runs. Of those, 7,621 reopen to the acknowledged state, 167 to acknowledged plus one (the in-flight commit became durable), and 20 fail to open before the first commit. There were zero failures. A control with a lying `sync_data` produces 5,731 failures, so the oracle does detect lost durability. A release sweep takes about 40 seconds. + +**LazyFS.** It works, but only inside a user namespace, and it is not portable. It has to be built from source with g++ (clang fails on three narrowing errors), and its build fetches dependencies at configure time. Outside the namespace, `allow_other` is refused. It runs as an optional Linux job for a few corpus points. + +**The corpus.** A checked-in TSV, one crash point per line, with the expected class. Every failure found in a sweep is appended with its fix, and a replay test fails if a recorded verdict changes. The workload's call count and a hash of its call trace are recorded, so a changed workload fails loudly instead of testing the wrong points. + +**Two design items for the store (from the sweep).** +1. A crash during the very first creation leaves a file that redb refuses to open ("magic number mismatch"). Nothing acknowledged is lost, but the store cannot start. Fix: create the file under a temporary name, make the first commit, then rename it into place, and fsync the directory. +2. Debug and release builds recover different valid prefixes at four boundary points. This is not yet explained, so the corpus accepts either prefix for those points. If it turns out to be a redb bug, the engine decision gets a second look. + +Details: [crash-tests results](./research-round2/crash-tests/RESULTS.md). + +## 14. p2panda-store and the traits (N3, N5) + +**Decision (accepted).** Implement the traits we need over redb, with no fork now. Round 2 store-fit counted eight traits and 36 methods. LogSync needs only three methods of `LogStore` (`get_log_heights`, `get_log_size`, `log_entries`), plus `TopicStore::resolve` for topic-based sync. Not covered by the traits, and so ours: fork proof and freeze, waiting caps and expiry, name and value indexes, and the unique (author, seq). A redb implementation of the needed subset is about 650 to 900 lines plus tests, medium risk. A fork would add the same work and delete 3,526 lines of SQLite code, medium-high risk. + +**Two findings.** The `groups` feature of p2panda-store implies SQLite, so auth state goes in our own table. And p2panda-sync pulls the SQLite default (section 5), so LogSync needs the dependency fixed or a fork. + +Details: [store-fit results](./research-round2/store-fit/RESULTS.md). + +## 15. Toolchain, MSRV, and lints (N14, N15) + +- **Git rev (N14, accepted).** The p2panda source stays on the git rev `3e84cac`, which needs Rust 1.96. +- **Toolchain (N15, accepted).** The newest stable is 1.99.0. No 1.99.x patch exists yet, and 1.100.0 is not published. The locked rust-overlay revisions already contain 1.99.0, so `rust-toolchain.toml` changes and no lock update is needed. No dependency needs more than 1.99.0 (the highest among 834 crates is 1.94.0). +- **Problem found.** `pkgs/id/default.nix` runs `rustup default 1.89.0` in its build phase, so the Nix check ignores the pin. Phase 0 fixes this and adds a test that the two agree. +- **Clippy.** Rust 1.99 adds lints that our configuration enables: about 50 `assert!(x.is_empty())` sites and 2 `chunks_exact` sites. CI does not use `-D warnings`, so this does not block CI, but task 12 requires no new findings. Recorded as a TODO for the lints review (P8.8). +- **MSRV.** The declared `rust-version` should be 1.96, the real minimum for the p2panda rev. + +Details: [toolchain results](./research-round2/toolchain/RESULTS.md) and [task 12](./task-12-dependencies-and-toolchain.md). + +## 16. Relays later: Cloudflare Tunnel, QAD, and Workers (N19, N29, N32) + +- **No Tunnel account now (owner).** The server uses the n0 relay, and users see its public IP. +- **Later.** A local server behind a Cloudflare Tunnel, and several VPS for testing. The owner already has a Workers paid plan. +- **Tunnel limits (round 2).** A Tunnel carries HTTP and WebSocket only. QAD is QUIC over UDP port 7842, so a Tunnel-only relay gives no public candidate and no direct path. +- **QAD ordering (verified in source).** iroh's address probe uses only the first five relays in the relay map (`MAX_RELAYS = 5`, `net_report.rs`). A sixth entry can silently lose QAD. The relay map must put QAD-capable relays first, and a test must catch a map where they are not. +- **Workers (round 2).** A Worker can serve the pkarr HTTP PUT and GET, and DNS over HTTPS, using Durable Object storage. It cannot be a DHT node or serve DNS over UDP. The free plan caps a Worker relay at about 347 endpoints at the default republish rate. +- **Order recommended.** n0 now. Then a Tunnel home relay with n0 in every map, tested on real networks. A QAD VPS if n0's QAD disappoints. A Worker pkarr relay last. + +Details: [cloudflare-workers results](./research-round2/cloudflare-workers/RESULTS.md). + +## 17. BeeKEM + +Not adopted now. The reasons, the measured costs, and the conditions for reconsidering it are in the [BeeKEM assessment](./beekem-assessment.md). diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/plan-phases.md b/doc/2026-10-11T11-08-42Z_design_remaining_work/plan-phases.md new file mode 100644 index 0000000000..d619f7387b --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/plan-phases.md @@ -0,0 +1,256 @@ +# Phased plan: from the design to a working identity system + +- Date: 2026-10-11 (revised after round 2 research) +- Status: **Proposed. Awaiting the owner's approval.** Nothing in this plan has been started. Phase 0 starts when the owner signals to commit and merge the design work. +- Read with: [index](./2026-10-11T11-08-42Z_design_remaining_work.md) (every decision and open question), [explainers](./explainers.md), [BeeKEM assessment](./beekem-assessment.md), [round 2 results](./research-round2/README.md), and the task docs. +- Copy for the repo's agent rules: `.opencode/plans/id-phased-plan.md` (the same plan, as `pkgs/id/AGENTS.md` asks). + +## 1. How to read the plan + +- **Steps** have an ID (P0.1, P1.3, ...). A step is done when its tests exist and pass, its review is recorded, and its commits are marked in the phase document. +- **Blocker** means a true dependency: the step cannot merge until the named step has merged. Everything not blocked runs in parallel. +- **Track** is a stream of work that one subagent, or the lead, owns from start to finish, in its own worktree. +- **Owner-blocked** means the step needs something only the owner can provide. It never blocks other steps. +- **(decided)** marks a decision recorded in the index. **(owner question)** marks something waiting for an answer, listed in section 4. + +## 2. Execution rules (apply to every phase) + +These rules govern how each phase runs. They are repeated in every phase document. + +1. **Start of a phase.** Merge `main` into the phase base branch and run the baseline tests. Record the start commit as `Phase N start: `. Create the phase document in `doc/_phase__/` with the step list. Link it from the plan. +2. **Tracks run in worktrees.** Each track works in its own `git worktree`, on its own branch, created from the phase start commit: `phase-N/`. Worktrees live in `/home/user/work/wt/`. Each worktree builds into its own target directory, outside the repository. Tracks that touch the same files run one after another, and the plan marks them. +3. **Subagents run targeted tests.** A subagent runs the tests for what it changed, plus its new tests. It runs the full suite or a full build only when its change touches shared code, and then only once. The lead runs the full suite at merge points. +4. **Commits carry the step ID**, for example `feat(id): ChainExt validation [P1.2]`. Commits follow Conventional Commits. The subagent reports its commit SHAs. +5. **The lead merges in dependency order**, one track at a time, not all at once. After each merge the lead pulls `main` if it moved, reviews the merged diff, adds tests the review found missing, reruns the targeted tests, and records the commit-to-step mapping. +6. **End of a phase.** Review the whole diff from the phase start commit to the phase end commit, not just the merges. Run the full test run (section 13). Fix problems and add tests. Record the end commit as `Phase N end: `. Record every step as done, deferred, answered, or cancelled, with the reason. +7. **Every bug gets a regression test that would have caught it.** The test covers the whole class of error, not only the one instance. Use many cases against the same property. +8. **Fuzzing feeds a checked-in list.** A fuzz or property failure is minimized and added to `pkgs/id/tests/regressions/.txt`. The normal test run replays that list every time, so a fixed bug cannot return unnoticed. +9. **Test layers** follow the repo's testing reference, `doc/2026-03-29T00-00-00Z_reference_testing_architecture/`. Rust unit tests live in `#[cfg(test)] mod tests`, with `#[allow(clippy::unwrap_used, clippy::expect_used)]` in test modules, as `pkgs/id/AGENTS.md` requires. Rust integration tests live in `tests/`. New layers for this work are property tests, the crash gate, the regression replay, and fuzz smoke runs (section 13). +10. **Dependencies.** Adding or updating a dependency is allowed, and each one is reported to the owner in the final report, with its name, version, why, and the feature it enables (`pkgs/id/AGENTS.md`). Dev-only tools go in `nix-common.nix`, never in `shell.nix` or `flake.nix`. +11. **Justfile and Nix stay in step.** A new `just` recipe gets a matching `nix run .#` app in `flake.nix`, and a check where CI can verify it. +12. **Never discard unstaged work.** No `git restore`, no `git checkout -- `, and no command that overwrites uncommitted changes. This applies to subagents as well. Worktrees are created from commits, so uncommitted design files are not visible in them until committed. +13. **Nothing is pushed to `main` by a track.** The lead merges to the feature branch. The owner signals the merge to `main`. +14. **Concurrency limit.** At most four cargo builds of `pkgs/id` run at once on this 16-CPU host. Builds that share dependencies are serialized. + +## 3. Phase overview + +| Phase | Purpose | Parallel tracks | Blocked by | Owner-blocked | +| --- | --- | --- | --- | --- | +| 0 | Baseline, toolchain, dependencies, small fixes, test harness | 5 | owner approval | none | +| 1 | Events, storage, crash safety, identity store | 4 | Phase 0 | none | +| 2 | Membership, auth frontier, delegation | 3 | P1.2, P1.3 | none | +| 3 | Sync, blobs, relays | 3 | P1.3, P1.6 | real-network tests (P3.7) | +| 4 | Groups, encryption, history | 4 | Phases 1 and 2 | none | +| 5 | Tags, documents, search | 3 | Phases 1 and 2 | none | +| 6 | Invites, pull, CLI | 4 | Phases 2, 3 and 4 | none | +| 7 | Connectivity for later servers | 2 | Phase 3 | deployment, accounts, networks | +| 8 | Later items | several | the phases above | none | + +## 4. Owner questions to answer before Phase 0 starts + +These do not block the first steps, but each answer changes a step. The preferred answer is in brackets. + +1. **Ed25519.** Stay on 3.0.0 with a conversion shim, and switch the five plain `verify` calls to `verify_strict` [preferred]. Moving to 2.x is not possible while iroh 1.3.0 is pinned. Confirm, or name the alternative. +2. **Scheme v1 as the first release.** The serde_bytes encoding becomes the first released scheme, since nothing has shipped [preferred]. It needs a fork change of two lines, which you accepted as a fork we own. +3. **Ticket route when the invite event is unreadable.** Proceed unverified and label it clearly [preferred], or refuse. This arises when pull is authorized and the joiner is not yet a member. +4. **Welcome frame cap.** One identity frame cap for welcomes and chunk above it [preferred], or the 1 MiB cap the world session uses. The number decides when `full` history needs chunking. +5. **`recent:N` presets.** 32 for quiet worlds and 128 for churn-heavy ones [preferred], and `full` remains the default for every world. +6. **Clippy 1.99 lints.** Keep them as a TODO and allow the two lint names for now [preferred], or fix the about 50 sites in Phase 0. The owner's lints review is later either way. +7. **Where documents go.** The design and phase documents in `doc/` at the repo root [preferred, as the root CLAUDE.md says], with plans also in `.opencode/plans/` [preferred, as `pkgs/id/AGENTS.md` says]. `pkgs/id/AGENTS.md` names `docs/` instead of `doc/`. Confirm. +8. **Real-network tests.** These need two separate networks. You said you would set up VPS later. Is that the time to run them, or should they wait [preferred: wait]? + +## 5. Phase 0: baseline, toolchain, dependencies, small fixes + +Goal: a green baseline on the newest toolchain, with current dependencies and the small known fixes done. + +| Step | What | Blocked by | Parallel with | Tests | +| --- | --- | --- | --- | --- | +| P0.1 | Baseline: record the current result. Fix or quarantine the three known failures (`world_compile` needs `host.wasm`; the Roc test fails; a world-module test hangs). Every network or process test gets a timeout, so no hang can block the suite | owner approval | P0.4, P0.6, P0.7, P0.8, P0.9, P0.10, P0.12 | unit; each fix gets a test | +| P0.2 | Toolchain 1.99.0 in `rust-toolchain.toml`. No lock update is needed, since the locked overlays contain it | P0.1 | P0.4, P0.6 to P0.10, P0.12 | build, clippy and rustfmt on 1.99.0 | +| P0.3 | Dependencies, one group per commit: iroh stack; redb 4.3.0; cbor-core 0.10.1; ed25519-dalek 3.0.0 with the shim and `verify_strict`; p2panda stays on git rev `3e84cac` (decided). Serialized, because every group touches `Cargo.lock` | P0.2 | none within the track | full test run after each group; the report to the owner lists each change | +| P0.4 | Pull pages capped by bytes, not item count (task 01) | none | everything | unit; property over page sizes | +| P0.5 | `rust-version` set to 1.96, the true minimum for the p2panda rev, and the clippy MSRV matched | P0.2 | P0.3 | build on 1.96 | +| P0.6 | Dial deadlines in the remaining modules (`artifact.rs` pull) | none | everything | integration with a dead peer; the deadline is enforced | +| P0.7 | mDNS on `serve`, on by default with `--no-mdns` to turn it off (decided). The library default is off. The connectivity design is corrected | none | everything | e2e: `serve` defaults; `--no-mdns` disables it; the library default is off | +| P0.8 | `src/store.rs` says FsStore is SQLite. It is redb (N17) | none | everything | grep check in the test run | +| P0.9 | Tuple encoding: property tests over random values for order and the prefix rule; a fuzz target; the regression list | none | everything | property with many cases; fuzz smoke; regression replay | +| P0.10 | Test harness: the regression-list runner; a multi-node loopback helper for integration tests; the full test run script (section 13); naming rules | none | everything | the harness has its own tests | +| P0.11 | `verify_strict` regressions: a non-canonical signature and a small-order key are rejected at every call site | P0.3 | P0.4, P0.6 | regression per call site; property over signature mutations | +| P0.12 | Nix check uses the pinned toolchain. `pkgs/id/default.nix` currently runs `rustup default 1.89.0`, so the Nix check ignores the pin. The version is read from `rust-toolchain.toml` | none | everything | a test that the Nix and rustup versions agree | + +Phase 0 review focus: the toolchain change touches every test, so the full test run happens at the end of the phase, not only at the end of each step. + +## 6. Phase 1: events, storage, crash safety, and the identity store + +Goal: an event store on redb, with ChainExt, fork freezing, waiting caps, crash safety tested, and the web identity moved off libsql. + +| Step | What | Blocked by | Parallel with | Tests | +| --- | --- | --- | --- | --- | +| P1.1 | Storage decision record: redb everywhere, Turso rejected by the round 2 spike, libsql replaced (decided) | Phase 0 baseline | P1.2, P1.4, P1.7 | the record links the spike | +| P1.2 | ChainExt: struct; validation (at most 32 `after`, no duplicates, canonical CBOR, domain tag); builder and reader | Phase 0 baseline | P1.4, P1.7 | unit; property; canonical vectors; fuzz of the decoder with a regression list | +| P1.3 | Event store on redb: events, chains, heads, subject and name/value indexes (tuple keys), unique (author, seq), fork freeze and proofs. Creation uses a temporary file, a first commit, then a rename with a directory fsync | P1.1, P1.2 | P1.5 | unit; integration (ingest, freeze, proof); property (random orders give the same state); the first-creation crash test | +| P1.4 | Crash-safety gate: the in-process fault model for redb, run in release mode as a CI gate; a corpus TSV with expected classes; the lying-sync control. LazyFS as an optional Linux job | Phase 0 baseline; uses redb directly | P1.2, P1.7 | the sweep (about 40 s release): zero failures; the control produces failures; corpus replay | +| P1.5 | Waiting caps: 256 per author, 7 days, with the drop behaviour | P1.3 for storage; the policy code can start now | P1.3 (policy part) | unit with a fake clock; property over arrival orders | +| P1.6 | Store traits over redb: the three LogStore methods, TopicStore::resolve, and the rest we need. Auth state in our own table, since the `groups` feature implies SQLite | P1.3 | P1.5 | trait contract tests; LogSync smoke test on the redb store; a check that sqlx is absent with the chosen features | +| P1.7 | Canonical CBOR: the S5 golden vectors as tests, cross-checked with dcbor (dev only) | Phase 0 baseline | P1.2, P1.4 | golden vectors; interop | +| P1.8 | Ingest pipeline: verify signatures with `AnyHeader::decode`, never the typed `verify`; reject and freeze forks | P1.2, P1.3 | P1.5 | unit; integration; regression test for the verify trap | +| P1.9 | Identity store moves from libsql to redb. Values are encrypted with AES-256-GCM (already in the lock). Data may be discarded | P1.1 | P1.3 to P1.8 | unit; a round trip with a wrong key fails; the 17 call sites are covered | +| P1.10 | Crash gate for the identity store | P1.9, P1.4 | P1.3 | the same sweep shape as P1.4 | + +## 7. Phase 2: membership, auth frontier, delegation + +Goal: the membership rules from S2 as code, with the admission gate and authority-based voiding. + +| Step | What | Blocked by | Parallel with | Tests | +| --- | --- | --- | --- | --- | +| P2.1 | Auth-frontier mapping: `after` to auth dependencies, walking through non-auth events | P1.2, P1.3 | none within the phase | unit; the S2 cases; property | +| P2.2 | Admission gate: hold, reject when the group is absent at its dependencies, placeholders for refused events | P2.1 | P2.3, P2.4 | unit; regression for the panic at `group/crdt/mod.rs:822` | +| P2.3 | Voiding: authority-based dependents (decision 1); StrongRemove semantics | P2.1 | P2.2, P2.4 | S2 scenarios; a planted bug must fail | +| P2.4 | Friendship with its cap, and the dissolve projection | P2.1 | P2.2, P2.3 | unit; integration | +| P2.5 | Delegation: edges, attenuation, chain search, veto, the modes cascade, keep_prior, and transfer derived from the signed removal (decision 2) | P2.3 | P2.6 | unit; property over delegation chains | +| P2.6 | World capabilities without use-count bounds (decision 3). Content on removal is kept (decision 4) | P2.3 | P2.5 | unit | +| P2.7 | Cross-world reconciliation (task 03, item 7) | P2.5, P2.6 | none | integration across two worlds | +| P2.8 | Property tests over random operation orders, and planted-bug checks | P2.3 | P2.4 to P2.7 | many cases; mutation checks on demand | + +## 8. Phase 3: sync, blobs, and relays + +Goal: range sync and LogSync on the store, blob gating, and relay defaults that work. + +| Step | What | Blocked by | Parallel with | Tests | +| --- | --- | --- | --- | --- | +| P3.1 | Range sync on the redb store, from S7. K=16 and T=16 by default. K and T are local, validated (K at least 2, T at least 1). Protocol ID `/id-sync/1` | P1.3 | P3.2, P3.4, P3.5 | unit; property over random sets; integration over loopback; interrupted-session test; regression tests for the three findings below | +| P3.1a | Fork in a batch: a fork aborts the whole batch in the harness, losing 20 unrelated events. The fix isolates the fork and continues | P3.1 | P3.2 | red test first, then the fix | +| P3.1b | T=0 never terminates on one mismatched key. Validation rejects it | P3.1 | P3.1a | regression test | +| P3.1c | Flights are chunked to a budget under the frame cap. A single flight above about 524,000 IDs exceeds 16 MiB | P3.1 | P3.1a | bootstrap test of a store above the limit | +| P3.2 | LogSync through p2panda-sync, on our traits. Its SQLite default is removed by a fork of the one dependency line (section 14 of the explainers) | P1.6 | P3.1, P3.4, P3.5 | integration over loopback; a check that sqlx is absent | +| P3.3 | Method selection: LogSync when the estimated difference exceeds 0.035 times the chains or when bootstrapping, otherwise range (decided) | P3.1, P3.2 | none | unit (the rule); integration: both sides agree on the method | +| P3.4 | Blob gating and `observe`: each request gated by the world's fetch rules; observe off by default (decision 5) | the membership check interface, stubbed first | P3.1, P3.2 | unit; e2e: a non-member can neither observe nor fetch | +| P3.5 | Relay defaults: n0 now (decided); startup waits only for the home relay, with a deadline (N32) | none | everything | integration with a dead entry; the deadline holds | +| P3.6 | Relay map order: QAD-capable relays come first, because iroh probes only the first five | none | P3.5 | a six-relay map with the QAD relay last is rejected or reordered | +| P3.7 | Real-network holepunch and n0 QAD tests on two networks (N29) | owner provides networks | everything | the C2 matrix on real networks (owner-blocked) | +| P3.8 | Relay operations: the systemd unit (already fixed: SIGINT, config required), metrics on loopback | none | P3.5 | a test parses the unit file | + +## 9. Phase 4: groups, encryption, and history + +Goal: group encryption on DataScheme, with the history modes, the heads rule, warnings, and the scheme v1. + +| Step | What | Blocked by | Parallel with | Tests | +| --- | --- | --- | --- | --- | +| P4.1 | DataScheme adapter around the crate: create, add, remove, update, process | Phase 1, P2.1 | P4.4, P4.8, P4.10 | unit; multi-member integration | +| P4.2 | Our DGM and the from_join membership fix, in our fork (decision 18) | P4.1 | P4.4 | regression: a joiner reads messages after joining; the fork's patch has its own test | +| P4.3 | from_join: immediate update, and the withholding rule for pre-join application messages | P4.1, P4.2 | P4.4, P4.5 | integration: a joiner cannot read pre-join messages but reads post-join ones | +| P4.4 | Scheme v1: `serde_bytes` on the two fields, the version bound to the signed policy and copied in the header and welcome envelope, and welcomes sorted before signing (owner question 2) | P4.1 | P4.3, P4.5 | interop: v0 and v1 do not decode each other (verified); size tests (40.0 B per epoch); determinism test: sorted bytes are stable | +| P4.5 | `recent:N` and `full`: the adapter checks the group secret ID before `receive`, and keeps pre-welcome history outside the crate. The reproduction of the 80-of-120 failure comes first, as a red test | P4.1, P3.1 (transport) | P4.3, P4.4 | integration: a `recent:N` joiner reads the last N epochs, is refused older ones, and the welcome succeeds for every N and K combination | +| P4.6 | Lazy full history: a joiner asks a member for older epoch secrets, sent encrypted to the joiner | P4.5 | P4.7 | integration: the request returns the older keys; a non-member gets nothing | +| P4.7 | Heads rule: cap 32, the author's latest event always named, merge when the heads would exceed the cap | P4.1, P1.3 | P4.8 | the S10 scenarios as tests; adversarial order tests | +| P4.8 | Rotation policy (no periodic rotation, N7). PCS recovery is a CLI procedure: remove and re-add (N8) | P4.1, P6.7 (CLI) | P4.7 | integration: a compromised member is replaced and cannot read new epochs | +| P4.9 | Warnings: 96, 128 and 1,000 members (N11); churn warnings (N34); local emission from the server; surfaces in logs and CLI status | P4.1 (counts) | P4.7, P4.8, P4.10 | unit: thresholds; e2e: the server warns at a threshold | +| P4.10 | "scheme: none" notice in the UI and in group metadata (decision 8) | P4.1 | P4.9 | e2e | +| P4.11 | Measure DataScheme update cost at 100, 1,000 and 5,000 members with our adapter, for the BeeKEM comparison | P4.1 | P4.4 to P4.10 | recorded in the phase document; no pass or fail | +| P4.12 | Welcome size budget: chunking above the frame cap (owner question 4) | P4.5 | P4.6 | a `full` welcome above the cap is chunked and reassembled | + +## 10. Phase 5: tags, documents, search + +Goal: observed-remove tags, the tag index, compaction, documents, and search. + +| Step | What | Blocked by | Parallel with | Tests | +| --- | --- | --- | --- | --- | +| P5.1 | Observed-remove tags (the S8 model) in the store. The clock covers the whole causal past | P1.3, P2.1 | P5.4 | the S8 properties; planted-bug checks | +| P5.2 | Tag index on the fixed tuple encoding: subject, name and value prefixes | P5.1, P0.9 | P5.4 | property over random tags; the `"a"` versus `"a\0b"` regression | +| P5.3 | Compaction: snapshot at a causal cut, then the tail (N33) | P5.1 | P5.2, P5.4 | the S8 counterexample as a regression test; a new device's state is preserved | +| P5.4 | Documents: content events; snapshots from the collab server; save on explicit save and on idle close (task 10, item 6) | P5.1 | P5.2, P5.3 | integration; e2e: edit, save, reload | +| P5.5 | Search over the tag index | P5.2 | P5.3, P5.4 | unit; e2e | +| P5.6 | Content on removal, kept (decision 4) | P2.6 | P5.3, P5.4 | integration | + +## 11. Phase 6: invites, pull, and the CLI + +Goal: invites and links that work, pull, fork recovery, and the CLI that exposes all of it. + +| Step | What | Blocked by | Parallel with | Tests | +| --- | --- | --- | --- | --- | +| P6.1 | Seitan V2 from the S9 code: tokens, derivations, proofs, and the admin path. Before shipping, verify the accept-message bytes and the Keybase admin handler | Phases 1 and 2 | P6.2, P6.3 | the S9 vectors; admin-path tests; e2e: invite and accept | +| P6.2 | Freshness window per server, world or inviter, default 5 minutes (N23) | P6.1 | P6.3 | unit; boundary tests at the window edges | +| P6.3 | Tickets, option E: the pasted string is a standard ticket. The link carries `by=`. The signed invite event is checked when present, before the accept is sent (N24). Pasted text is trimmed | round 2 result (done); owner question 3 | P6.1, P6.2 | round trips through the iroh-tickets parser; a standard client accepts the paste; a paste with whitespace works | +| P6.4 | Invite events and links; address exposure documented (N30) | P6.1, P6.3 | P6.5 | e2e | +| P6.5 | Pull policy: open pull, with an authorized option (decision 11) | Phase 3 | P6.4, P6.6 | integration | +| P6.6 | Fork recovery: remove and re-enrol under a new device key (decision 17). Quarantine with approval is recorded as a later option | Phases 1 and 2 | P6.5 | integration: after a fork the old chain is frozen and the new device reaches the same state | +| P6.7a | CLI: groups (create, policy, join, add, remove, role, list) | Phases 2 and 4 | P6.7b, P6.7c | e2e per command | +| P6.7b | CLI: delegation (delegate, revoke) | P2.5 | P6.7a, P6.7c | e2e | +| P6.7c | CLI: documents and tags (publish, events, frontier, history) | Phase 5 | P6.7a, P6.7b | e2e | +| P6.8 | Rejection reasons everywhere: voided, waiting, frozen | P1.5, P2.3 | P6.7a | e2e: each reason appears | + +## 12. Phases 7 and 8: connectivity for later servers, and later items + +**Phase 7** (nothing here is needed for a first working system): + +| Step | What | Blocked by | Parallel with | Tests | +| --- | --- | --- | --- | --- | +| P7.1 | Relay kit for a server behind a Cloudflare Tunnel, and for VPS testing. Updated for the S11 findings | none | P7.2 | the unit file test (P3.8) | +| P7.2 | Cloudflare Workers pkarr option: HTTP PUT and GET and DNS over HTTPS only (round 2). Design only | owner's go | P7.1 | none yet | +| P7.3 | DHT opt-in per world (decision 15) | Phase 3 | P7.1 | integration over a test DHT | +| P7.4 | Access control (decision 13): none now; revisit at implementation | none | everything | none now | +| P7.5 | Deployments and real-network tests (owner-blocked) | owner accounts and networks | none | the C2 matrix; N29 on real networks | + +**Phase 8** (each becomes a phase document when it starts): +- P8.1 Time and witnesses (task 09, deferred). +- P8.2 Retention and pruning (task 10, item 1). Needed before large groups run for a long time. +- P8.3 Multi-device (task 10, item 2). +- P8.4 Views: explorer and web (task 10, item 7). +- P8.5 Cross-world rules (task 10, item 8). +- P8.6 Warnings UI (task 10, item 9). +- P8.7 BeeKEM reconsideration, only if the conditions in the assessment are met. +- P8.8 Clippy and other lints: the owner's 9k-error lint output and the 1.99 lints. Review later. Do nothing now. + +## 13. Testing + +**Layers.** These follow the repo's six layers, and add the layers this work needs. + +| Layer | What | When it runs | Used by | +| --- | --- | --- | --- | +| 1. Rust unit | `#[cfg(test)] mod tests` | every run | every step | +| 2. Rust integration | `tests/`, several nodes in one process over loopback | every run | sync, groups, invites, pull | +| 3. Property | proptest, many cases, fixed seeds in CI | every run | ChainExt, tuple, tags, membership, sync sets, caps | +| 4. Crash gate | in-process fault model for redb, release mode | every run (about 40 s) | storage, identity store | +| 5. Regression replay | `tests/regressions/*.txt`, every entry replayed | every run | every area | +| 6. Fuzz smoke | a bounded run of each fuzz target; long runs on demand | every run; long runs on demand | decoders, tuple, tickets | +| 7. End-to-end, CLI | the binaries as separate processes, with timeouts | every run | CLI, `serve`, invites | +| 8. NixOS VM | two or more VMs on the network | the nix check | relays, the systemd unit, real-looking topologies | +| 9. Playwright E2E | the web UI | `just test-e2e` when web code changes | web | +| 10. Live network | n0, real networks | on demand, marked ignored | connectivity | +| 11. Mutation checks | planted bugs must fail | on demand at phase end | membership, tags | +| 12. Interop and golden vectors | CBOR, Seitan, scheme versions | every run | encodings | + +**The full test run** is one script, with these parts: `just check` (the primary check in `AGENTS.md`), `just test` (fast Rust and TypeScript), the crate's full test set with the three known failures handled (P0.1), the regression replay, the property tests with the CI seed set, the crash gate, the fuzz smoke runs, and `doc` tests. At phase end, add `just test-nix` (27 checks, heavy) and `just test-e2e` when web code changed. The script reports what it skipped and why. + +## 14. Phase document template + +Each phase document lives in `doc/_phase__/`, created at the phase start, with these sections, filled in as work goes: + +1. Start commit, base branch, and the baseline result. +2. Steps: ID, status (todo, in progress, done, deferred, answered, cancelled), commits, tests added, notes. +3. Decisions made in the phase, with the reason. +4. Open questions, each with a preferred answer and alternatives. +5. Changes to the plan: additions, removals, reordering, and why. +6. Review notes from each merge, and the findings of the end-of-phase review of the whole diff. +7. Regression tests added, and the bug each one covers. +8. End commit, the full test result, and what was deferred or answered. + +## 15. Decisions this plan depends on + +Recorded in the index, and accepted in this session: +- Joiner history `full` by default. `recent:N` per world, with presets 32 and 128 (decision 7). +- mDNS on for `serve`, off in the library (decision 14). +- Fork recovery by removal and re-enrolment (decision 17). Quarantine with approval is a later option. +- The from_join fork stays in our developing-today fork, and nothing goes upstream (decision 18). +- Storage on redb everywhere. Turso rejected by the round 2 spike. libsql replaced by redb (N1, N2). +- p2panda-store traits implemented over redb, with no fork now (N3). +- p2panda on the git rev `3e84cac` (N14). Toolchain 1.99.0 (N15). +- Ed25519 on 3.0.0 with a shim and `verify_strict`, pending owner question 1. +- Freshness window configurable, 5 minutes by default (N23). +- Tickets: standard paste, with optional signed invite events (N24). +- No Tunnel account now. n0 relay, and users see the server's public IP (N19, N30). +- Waiting caps 256 and 7 days, ChainExt on every event, storms and merges with cap 32, and compaction by snapshot (decision 6, N4, N22, N33). +- Range above the crossover of 3.5% of chains, LogSync below, K and T local (N5, N6). +- BeeKEM not adopted; reconsidered under the conditions in its assessment (N12, N26). +- Lints review later (P8.8). +- All other preferred answers in the index are accepted, unless the index marks them as changed. diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/BRIEF2.md b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/BRIEF2.md new file mode 100644 index 0000000000..75ee2f6457 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/BRIEF2.md @@ -0,0 +1,22 @@ +# Research round 2 brief (2026-10-11) + +You are answering questions the owner asked about an identity/P2P system in `pkgs/id` (Rust). The design is nearly final. Your job is research with evidence. You are not implementing product code. + +## Read first (read-only) + +- Index: `/home/user/work/integrated/doc/2026-10-11T11-08-42Z_design_remaining_work/2026-10-11T11-08-42Z_design_remaining_work.md` +- Task docs in the same folder: `task-NN-*.md` +- Main design: `/home/user/work/integrated/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/2026-10-11T03-44-33Z_design_groups_events_delegation.md` +- Round 1 spikes: `/home/user/work/spikes-next//RESULTS.md` (also copied into the repo under `.../spikes//`). +- Pins: `/home/user/work/spikes/Cargo.toml`. p2panda git rev `3e84cac48bba05c6857cce2ec433862b97f8d53c`, iroh 1.3.0, iroh-blobs =0.103.1, iroh-tickets 1.0.0, iroh-relay 1.3.0, cbor-core =0.10.1, redb =4.3.0. + +## Rules + +1. Write only inside your folder: `/home/user/work/research-round2//`. Do not modify `/home/user/code`, `/home/user/work/integrated`, `/home/user/work/spikes`, `/home/user/work/spikes-next`, or any git checkout of p2panda or iroh. +2. Do not push, open issues or PRs, publish packages, create accounts, deploy, or contact services. Public read-only fetches are fine: crates.io API and downloads, static.rust-lang.org manifests, GitHub raw and API reads, public docs. +3. Do not read or copy the large image files in the repo root (`*.iso`, `*.qcow2`). Do not run `nix build`, `nix develop`, `./rebuild`, or anything that changes the host network config. Use `unshare -Urn` for network experiments. +4. Toolchain: `CARGO="$(rustup which --toolchain 1.97.0 cargo)"`. For pinned crates use `export CARGO_TARGET_DIR=/home/user/work/spikes/target`. Otherwise use `target/` inside your folder. Ten agents share this machine: build only what you need, and run only the tests for what you change. +5. Evidence: every claim needs a source (file and line, URL with date, or command and its output). Never state a result you did not see in output. Label each statement as verified, inferred, or not checked. +6. Output: `RESULTS.md` in your folder, with these sections: Questions (verbatim), Short answers (one paragraph each), Evidence (commands and sources), Options (table, if relevant), Recommendation (reasons, and what would change it), Not verified. Keep it under about 600 lines. +7. Final message to the parent: at most 250 words. One paragraph per question, the path to RESULTS.md, and anything that changes the design. +8. Time budget: about 60 to 90 minutes. If you are blocked, stop and write the blocker, with the exact command and error. diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/README.md b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/README.md new file mode 100644 index 0000000000..1afebf0a16 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/README.md @@ -0,0 +1,19 @@ +# Research round 2 (2026-10-11) + +Eleven research questions raised by the owner, each answered by one agent with its own folder. Each folder holds `RESULTS.md` (short answers, evidence, recommendation, what was not verified), plus logs and harness code. Vendored crate sources, build output, and duplicate copies are not included. The brief is in `BRIEF2.md`. + +| Folder | Question | Read first | +| --- | --- | --- | +| [ed25519](./ed25519/RESULTS.md) | Versions, compatibility, newest release, and what to do | `RESULTS.md` | +| [turso](./turso/RESULTS.md) | Turso against redb for the event store; libsql removal | `RESULTS.md` | +| [crash-tests](./crash-tests/RESULTS.md) | LazyFS usability; a portable crash-testing model | `RESULTS.md` | +| [toolchain](./toolchain/RESULTS.md) | Newest stable Rust; the flake update path; MSRV | `RESULTS.md` | +| [range-config](./range-config/RESULTS.md) | Whether K and T go on the wire; the LogSync crossover | `RESULTS.md` | +| [scheme-serde](./scheme-serde/RESULTS.md) | Scheme versions and the welcome encoding options | `RESULTS.md` | +| [iroh-allowlist](./iroh-allowlist/RESULTS.md) | Can an endpoint refuse peers before exposing addresses | `RESULTS.md` | +| [ticket-signing](./ticket-signing/RESULTS.md) | Signed tickets that keep regular tickets working | `RESULTS.md` | +| [welcome-recent](./welcome-recent/RESULTS.md) | What `recent:N` and `full` cost; what 32 means | `RESULTS.md` | +| [store-fit](./store-fit/RESULTS.md) | Store traits over redb, or a fork | `RESULTS.md` | +| [cloudflare-workers](./cloudflare-workers/RESULTS.md) | Later relay options on Cloudflare | `RESULTS.md` | + +Headline results are in the [explainers](../explainers.md) and the [index](../2026-10-11T11-08-42Z_design_remaining_work.md). diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/cloudflare-workers/RESULTS.md b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/cloudflare-workers/RESULTS.md new file mode 100644 index 0000000000..180b11d0db --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/cloudflare-workers/RESULTS.md @@ -0,0 +1,254 @@ +# Research round 2: Cloudflare Workers, Tunnel, and relay options + +Folder: `/home/user/work/research-round2/cloudflare-workers/` +Date of reads: 2026-10-11 (Cloudflare docs fetched 16:07Z; crates fetched the same session; iroh source from the local cargo registry). +Scope: research only. No account created, nothing deployed, no write to any service. Public read-only fetches only. + +Labels used below: **[verified]** = seen in a source or command output in this session; **[inferred]** = my deduction from verified facts; **[not checked]** = not tested or not read. + +--- + +## Questions (verbatim) + +Owner's context, paraphrased: there is no Tunnel account now. For now we use the n0 relays, and all users see the server's public IP. Later we will run a server locally behind a Cloudflare Tunnel, and set up several VPS for testing. The owner already has a Cloudflare Workers paid plan. Task 08 lists a "Worker pkarr relay" option. This research is for a later phase, so do not design it deeply. + +1. Public documentation for the Workers paid plan, as of today: limits that matter to a relay or DNS-style service (CPU time per request, memory, request duration, WebSockets, Durable Objects, KV, D1, outbound fetch limits, and the pricing unit names). Cite the URLs and the date you read them. +2. Whether a pkarr relay or iroh DNS discovery server can run on Workers. Look at existing open-source pkarr relay implementations and iroh's DNS server crate (the iroh-dns-server source in the cargo registry, if present). Say whether they need UDP, long-lived TCP, or local disk. +3. What a Cloudflare Tunnel can carry for an iroh relay: HTTPS and WebSocket traffic, but not UDP. Confirm the QUIC address discovery limitation in the iroh-relay 1.3.0 source. State what that means for a Tunnel-only relay: no QAD, so no direct paths from that relay alone. +4. The options for the later phase, with pros and cons: n0 only; a Tunnel-fronted relay; a VPS with QAD; a Worker pkarr relay. Recommend an order for when the owner is ready. + +--- + +## Short answers + +**1. Workers Paid limits.** [verified] The Paid plan is $5/month minimum and uses the "Standard" usage model. Per HTTP request, CPU time is 5 min maximum with a 30 s default, and it is set in `limits.cpu_ms`; Free is 10 ms. Memory is 128 MB per isolate. HTTP request duration has no hard limit while the client stays connected; `waitUntil()` extends work up to 30 s after the response. Outbound subrequests are 10,000 per request on Paid (Free 50), and each invocation may have 6 connections waiting for response headers. That 6-connection cap includes `fetch`, `connect()` TCP sockets, and outbound WebSockets. Inbound WebSocket messages to a Worker are capped at 32 MiB. Durable Objects (SQLite-backed) have 10 GB of storage per object on Paid, a 2 MB key+value limit, a soft limit of 1,000 requests/s per object, and an `overloaded` error when the queue fills. KV allows 1 write per second per key, eventual consistency of up to 60 s or more, and 1,000 operations per invocation. D1 has a 10 GB database limit, 1,000 queries per invocation on Paid, and a 30 s SQL duration cap. Pricing units are: Worker "Requests" (10 M included, then $0.30/M), "CPU milliseconds" (30 M included, then $0.02/M), DO "Requests" (1 M included, then $0.15/M) and "GB-s" duration (400,000 included, then $12.50/M), DO and D1 "rows read/written" and "GB-month" storage, and KV "keys read/written/deleted", "list requests" and "GB-month". There is no egress or bandwidth charge. + +**2. Can a pkarr relay or iroh-dns-server run on Workers?** Not as-is, and no open-source pkarr relay in the list runs on Workers unmodified. [verified] pkarr-relay 2.1.0 needs a TCP HTTP listener (on Workers the `fetch` handler replaces it), a local LMDB directory (Workers has none), and an always-started Mainline DHT node over UDP (`lib.rs:187-199`), which Workers cannot run. iroh-dns-server 1.3.0 needs UDP and TCP on DNS port 5300 (`dns.rs:47-50, 102-118`), TCP on HTTP 8080 and HTTPS 8443 (`config.rs:260, 264`), and a redb file on disk (`config.rs:222-227`). Its optional Mainline fallback also uses UDP. Workers has no UDP: `node:dgram` is a non-functional stub [verified, Node compat page], and outbound TCP is only `connect()`. Workers has no persistent local disk either: `/tmp` is per request and not persistent [verified, fs page]. So the DNS-over-UDP listener cannot run on Workers. The HTTP parts can: pkarr PUT/GET `/` is plain HTTP (`iroh-dns-server http/pkarr.rs`), and DNS-over-HTTPS (`/dns-query`) is a request/response HTTP endpoint that iroh's client can use (`n0-dns-resolver transport.rs:286-292`). A Worker can implement those with Durable Object storage and WebCrypto Ed25519, which Workers supports [verified]. Neither the pkarr HTTP routes nor DoH need long-lived TCP. A Worker relay would be a store, not a DHT node, because it cannot send UDP. [inferred] No long-lived TCP and no local disk are needed for the pkarr or DoH paths; UDP is needed for the DNS listener and the DHT, and neither can run on Workers. + +**3. What a Tunnel can carry, and QAD.** [verified] A Tunnel public hostname carries HTTP, HTTPS, UNIX sockets, and the TCP/SSH/RDP/SMB services, which use WebSockets (client-side `cloudflared` needed for non-HTTP). The docs list no UDP service type [routing page]. Tunnel hostnames are proxied through Cloudflare, and WebSockets are supported on every plan. The docs state an idle timeout but do not give a period. In iroh-relay 1.3.0, QAD is a separate QUIC service on UDP 7842 with ALPN `/iroh-qad/0` (`quic.rs:9-10`, `defaults.rs:7`). It is disabled by default (`main.rs:132-134`) and requires TLS when enabled (`main.rs:585-587`, `server.rs:842-851`). On the client, QAD is attempted only for relay entries whose config has `quic: Some` (`relay_map.rs:236-240`), and a `None` entry fails with `MissingPort` (`reportgen.rs:648-657, 683-689`). The relay websocket protocol carries no observed-address frames (grep of `protos/` found none; see Evidence C). So a Tunnel-fronted relay gives no QAD and no public candidate. For a peer homed on that relay alone, that means no direct path. The C2 spike measured this: with no QAD relay in the map, no direct path formed even behind a restricted NAT (`spikes-next/c2-holepunch/RESULTS.md` verdict 5 and §3.4). [inferred] A peer that also has n0's QAD-enabled entries in its map can still get a direct path. This was not tested against real n0 servers. + +**4. Options and order.** Recommended order: (a) keep n0 as the default for now, since it is the only QAD source the owner has today; (b) add the Tunnel-fronted relay as the home relay with n0 kept in every map, then test it on real networks; (c) add one VPS with QAD when n0's QAD proves unreliable or independence is needed; (d) build the Worker pkarr relay last and only if the owner wants a lookup service independent of n0. The Worker option does not affect NAT traversal. Details and the table are in "Options" below. + +--- + +## Evidence + +### Commands run (all in this folder; nothing written outside it except one temporary probe file, see "Not verified") + +``` +# Cloudflare docs: markdown variant of each page (index.md), saved to sources/ +for p in workers/platform/limits workers/platform/pricing workers/runtime-apis/websockets \ + workers/runtime-apis/web-crypto durable-objects/platform/limits durable-objects/platform/pricing \ + durable-objects/best-practices/websockets durable-objects/api/storage-api kv/platform/limits \ + kv/platform/pricing kv/concepts/how-kv-works d1/platform/limits d1/platform/pricing tunnel \ + tunnel/routing tunnel/setup; do curl -sSL -A "research-round2-agent/1.0 (public docs read)" \ + "https://developers.cloudflare.com/$p/index.md"; done +# Extra pages: tunnel/concepts/routing, tunnel/get-started, tunnel/reference/origin-parameters, +# network/websockets, cloudflare-one/.../private-net, workers/runtime-apis/tcp-sockets, +# workers/runtime-apis/bindings/rate-limit, workers/runtime-apis/nodejs (+ net, fs), +# containers/concepts/architecture, spectrum +# crates.io metadata (API) and downloads, checksum verified against the API +https://crates.io/api/v1/crates/{iroh-dns-server,pkarr-relay,pkarr,iroh-relay} +https://static.crates.io/crates/iroh-dns-server/iroh-dns-server-1.3.0.crate sha256 ok +https://static.crates.io/crates/pkarr-relay/pkarr-relay-2.1.0.crate sha256 ok +# Extracted into their own empty dirs; read only, never built or run: +src-untrusted/iroh-dns-server-1.3.0/extracted/ (34 files) +src-untrusted/pkarr-relay-2.1.0/extracted/ (24 files) +# GitHub raw: pkarr design/relays.md +https://raw.githubusercontent.com/pubky/pkarr/main/design/relays.md (200, 3552 B) +# Public product pages (webfetch, 2026-10-11) +https://docs.iroh.computer/concepts/relays +https://www.iroh.computer/pricing +# Local source (cargo registry, iroh 1.3.0 set): grep/sed with line numbers, cited below +python3 -I scripts/pkarr_cost.py # back-of-envelope cost, see Evidence §E +``` + +Read time: `2026-10-11T16:07:53Z` (from `sources/READ_AT.txt`). Each Cloudflare page's "Last updated" date is cited with its URL. + +### A. Cloudflare Workers, plans and limits + +Source: `https://developers.cloudflare.com/workers/platform/limits/` (Last updated Oct 8, 2026; local copy `sources/workers_platform_limits.md`). [verified] +- Plan table lines 19-33: Free 100,000 requests/day, Paid no limit; CPU 10 ms vs 5 min; memory 128 MB both; subrequests 50/request vs 10,000/request; simultaneous connections 6 both; Worker size 64 MiB; startup 1 s. +- CPU: line 71, "CPU time per HTTP request: Free 10 ms, Paid 5 min (default 30 s)". Set with `limits.cpu_ms` (lines 84-105). +- Memory: line 121, "Memory per isolate: 128 MB". Isolate can be replaced when over the limit (line 125). +- Duration: line 154-159, HTTP has no limit while the client is connected; `waitUntil()` extends up to 30 s (line 159). Cron, Queue and DO alarm: 15 min (lines 152-157). DO RPC/HTTP: unlimited while active (line 426). +- Subrequests: line 188, "Subrequests per invocation: 50 (Free), 10,000 (Paid, up to 10M)"; line 189 internal services. Redirects count (line 191). +- Simultaneous connections: line 205, six connections waiting for headers; line 212 includes `connect()` TCP; line 214 includes outbound WebSockets. +- Request body: line 50-57: Free and Pro 100 MB, Business 200 MB; the limit depends on the Cloudflare plan, not the Workers plan. +- Daily requests: line 171, Free 100,000/day, Error 1027 on overflow (fail open or closed per route, lines 173-176). +- Logs: line 360, 256 KB per request. +- Rate limiting binding (`sources/workers_runtime-apis_bindings_rate-limit.md`, Last updated Apr 23, 2026): `limit` and `period` in seconds, period must be 10 or 60 (line 47). This is the per-IP limit a Worker relay would need. + +WebSockets (`https://developers.cloudflare.com/workers/runtime-apis/websockets/`, Last updated Apr 23, 2026): received message size 32 MiB, then close code 1009 (line 121). `new Response(null, {status: 101, webSocket})` is the server pattern (DO websockets page, line 394). The page does not mention `Sec-WebSocket-Protocol` or subprotocol echo. [not checked] whether Workers passes a custom subprotocol header on 101; the iroh relay requires it (see C). + +Pricing (`https://developers.cloudflare.com/workers/platform/pricing/`, Last updated Oct 2, 2026; `sources/workers_platform_pricing.md`). [verified] +- Line 19: Paid minimum $5/month per account; no egress or bandwidth charge. +- Line 34: Standard: Requests 10 million included, +$0.30 per additional million; Duration: "no charge or limit"; CPU 30 million CPU milliseconds included, +$0.02 per additional million CPU ms; per-invocation max 5 min (default 30 s). +- Lines 36-38: inbound requests are billed; subrequests are not; WebSocket connections are billed as one request (the upgrade); WebSocket messages routed through a Worker are not counted as requests. +- Line 166-178: KV table (Free / Paid): keys read 100,000/day or 10M/month +$0.50/M; keys written 1,000/day or 1M/month +$5.00/M; keys deleted same as written; list requests 1,000/day or 1M/month +$5.00/M; stored data 1 GB, +$0.50/GB-month. +- Lines 265-273: D1 table: rows read 5M/day or first 25B/month then +$0.001/M; rows written 100,000/day or first 50M/month then +$1.00/M; storage 5 GB then +$0.75/GB-month. +- Lines 296-316: DO on Paid: Requests 1 million/month +$0.15/M (includes HTTP, RPC sessions, WebSocket messages, alarms); Duration 400,000 GB-s/month +$12.50/M GB-s (durable-objects pricing page line 42 agrees). +- Lines 354-363: DO SQLite storage: rows read first 25B/month then +$0.001/M; rows written first 50M/month then +$1.00/M; SQL stored data 5 GB-month then +$0.20/GB-month. The page says SQLite storage billing had a January 7, 2026 target date; whether it applies to this account is not checked. +- Lines 386-398: KV-backed DO (legacy, unavailable to new accounts): read request units, write request units, delete requests, stored data GB-month. + +Durable Objects limits (`https://developers.cloudflare.com/durable-objects/platform/limits/`, Last updated Jun 1, 2026): [verified] +- Lines 21-32 (SQLite-backed): storage per DO 10 GB (line 27, Paid); key+value combined max 2 MB (lines 28-29); WebSocket message size 32 MiB (line 30); CPU per request 30 s default, configurable to 5 min (line 31); 6 simultaneous outgoing connections (line 32). +- Lines 38-46 (SQL): 100 columns; string/BLOB/row 2 MB; statement 100 KB; 100 bound parameters. +- Lines 59-70 (KV-backed, legacy): key 2 KiB, value 128 KiB, storage per account 50 GB. +- Line 82: soft limit of 1,000 requests per second per object; "overloaded" error when the queue is full (line 86). +- Lines 118-126: when full, writes fail with `SQLITE_FULL`; reads and deletes still work. + +Durable Objects WebSockets (`https://developers.cloudflare.com/durable-objects/best-practices/websockets/`, Last updated Sep 30, 2026): [verified] Hibernation API lets an idle DO sleep without disconnecting clients (lines 36-56); alarms, incoming requests, and `setTimeout`/`setInterval` prevent hibernation (line 342); outgoing WebSockets do not hibernate (line 338); constructor re-runs after hibernation (line 68). + +KV (`https://developers.cloudflare.com/kv/platform/limits/`, Oct 8, 2026): [verified] writes to the same key 1 per second (line 23); operations per invocation 1,000 (footnote 1); value 25 MiB; key 512 bytes; namespace storage 1 GB free. Consistency (`kv/concepts/how-kv-works`, Apr 21, 2026, lines 47-61): changes may take up to 60 s or more to be visible in other locations; KV is not for atomic operations, and Cloudflare suggests Durable Objects for stronger guarantees. + +D1 (`https://developers.cloudflare.com/d1/platform/limits/`, Apr 21, 2026): [verified] databases per account 50,000 Paid; max database size 10 GB Paid (line 20); queries per invocation 1,000 Paid (line 24); max SQL duration 30 s (line 33); single DO backs each database (lines 73-), queue then "overloaded" error (line 71). + +Outbound TCP and Node compatibility: [verified] +- `connect()` is the TCP API (`workers/runtime-apis/tcp-sockets/`, Jun 19, 2026, line 17). +- Node compat (`workers/runtime-apis/nodejs/`, Aug 12, 2026): `node:net` "supported" (line 69) and is TCP only (`nodejs/net`, Apr 23, 2026, line 21). `node:dgram` appears in the **Non-functional stub modules** table (line 106; the list begins at line 93: "A stub can be imported or required, but does not provide a working implementation"). So there is no UDP socket. +- `node:fs` is a memory-based virtual file system (`nodejs/fs`, Apr 23, 2026, line 33). `/tmp` is writable but "not persistent and unique to each request" (line 66). + +Containers (`https://developers.cloudflare.com/containers/concepts/architecture/`, Sep 30, 2026, line 65): "end-users cannot make non-HTTP TCP or UDP requests to a Container instance." [verified] I did not evaluate Containers further. + +Spectrum (`https://developers.cloudflare.com/spectrum/`, Apr 23, 2026, line 25): "Custom TCP/UDP applications require an Enterprise plan with Spectrum as a paid add-on." [verified] + +Web crypto (`https://developers.cloudflare.com/workers/runtime-apis/web-crypto/`, Sep 30, 2026, line 325): Ed25519 has sign/verify, generateKey, exportKey and importKey marked as supported. [verified] Footnote 1 says Secure Curves API. I did not run any Ed25519 code on Workers, so verification speed is [not checked]. + +### B. Tunnel (cloudflared) + +`https://developers.cloudflare.com/tunnel/concepts/routing/` (Last updated Sep 11, 2026; `sources/tunnel_concepts_routing.md`). [verified] +- Line 34: "Public hostname routes proxy traffic through Cloudflare." The service-specific terms restrict serving video or large files through the CDN on Free, Pro and Business plans (same line). Relay traffic is not a file, but whether these terms apply to relay traffic is [not checked]. +- Lines 38-51, supported protocols: HTTP, HTTPS, UNIX, UNIX+TLS, TCP, SSH, RDP, SMB, HTTP_STATUS, BASTION, HELLO_WORLD. No UDP service type. +- `https://developers.cloudflare.com/tunnel/get-started/` (Sep 30, 2026, line 27): cloudflared must reach Cloudflare on port 7844. This is cloudflared's own outbound connection, not something the origin can use for UDP. +- A grep of every cached Cloudflare page for "UDP" returned no tunnel-public-hostname statement. The private-network page (`cloudflare-one/.../private-net`, Sep 16, 2026) says private-network routes need the end user to enroll a device in Zero Trust. That is not a public relay path [verified]. +- WebSockets (`https://developers.cloudflare.com/network/websockets/`, Aug 14, 2026): "supported on all Cloudflare plans" (line 47); proxied WebSockets need no configuration (line 17); Cloudflare closes a WebSocket with no data in either direction "for a period of time" (line 79), no number given. Enterprise can change the timeout. The idle period is [not checked]. The iroh relay sends pings every 15 s (C2 and S11 notes), so keepalive traffic is likely to prevent idle closes, but this is inferred. + +### C. iroh-relay 1.3.0 source (cargo registry: `iroh-relay-1.3.0/src`) + +QAD facts: [verified] +- `defaults.rs:4-7`: `DEFAULT_RELAY_QUIC_PORT = 7842` ("QUIC" on a phone keypad). +- `quic.rs:9-10`: ALPN `/iroh-qad/0`. `quic.rs:145`: the server reports `incoming.remote_address()`, i.e., the source address it observes. `quic.rs:111, 495`: observed-address reports enabled. `quic.rs:354-363`: client `create_conn(server_addr, host)`, so the QUIC connection uses the relay hostname as SNI. The certificate must match the relay host [inferred from `create_conn` and rustls verification]. +- `server.rs:105-118`: `ServerConfig.quic: Option`, "disabled if None". `server.rs:430-446`: `QuicConfig { bind_addr, server_config }`, default port 7842 documented. `server.rs:842-851`: the QUIC server spawns only with a TLS config (`TlsNotConfigured` otherwise). +- `main.rs:132-134`: `enable_quic_addr_discovery` defaults to `false`. `main.rs:585-587`: enabling it without TLS is an error. +- `relay_map.rs:232-240`: "When `None`, we will not attempt to do QUIC address discovery with this relay server." `relay_map.rs:250`: `RelayConfig::new(url, quic)`. `relay_map.rs:282-283`: `From` default is `Some(RelayQuicConfig::default())`, port 7842. `relay_map.rs:292-308`: `RelayQuicConfig { port }`. +- `protos/` (`common.rs`, `handshake.rs`, `relay.rs`, `streams.rs`): no observed-address frame in the WebSocket relay protocol. `grep -rn -i -E 'observed|external|qad' .../iroh-relay-1.3.0/src/protos/` returned nothing. Across the whole crate, `grep -rln -E 'observed_addr|ObservedAddr|observed_external|qad'` matched only `server.rs`, `quic.rs`, `server/metrics.rs` and `lib.rs` [verified]. + +Client side, iroh 1.3.0 (`iroh-1.3.0/src`): [verified] +- `net_report.rs:443-455`: `spawn_qad_probes` returns early unless a QUIC client exists (set only when the endpoint has IP transports, `socket.rs:1035-1049`). +- `net_report.rs:497-500`: `const MAX_RELAYS: usize = 5`; the loop is `relay_map.relays().take(MAX_RELAYS)`. Relays come from a `BTreeMap` (`relay_map.rs:32`), so the first five by URL string are probed. An entry with `quic: None` still takes a slot and fails at once with `MissingPort`. +- `net_report.rs:826-844`: `run_probe_v4` resolves the relay address and calls `create_conn`. `reportgen.rs:648-657` (`get_quic_port`) returns `None` when `quic` is `None`. `reportgen.rs:683-689`: `get_relay_addr_ipv4` maps that to `MissingPort`. +- `net_report/probes.rs:98-115`: HTTPS latency probes go to every entry (`ProbePlan::initial` adds only `Probe::Https`). QAD is separate, as above. +- `defaults.rs:27-33` (`prod` module, hostnames): `use1-1.relay.n0.iroh.link.`, `usw1-1.relay.n0.iroh.link.`, `euc1-1.relay.n0.iroh.link.`, `aps1-1.relay.n0.iroh.link.`. `defaults.rs:36-44` (`default_relay_map`): these four, each built with `RelayConfig::from(url)`, so QAD is configured client-side for each. Whether n0's servers answer QAD was not tested (no uplink from this environment). +- Connection path `/relay` (`http.rs:13`); subprotocol `iroh-relay-v2` (`http.rs:58`), negotiated from `iroh-relay-v2,iroh-relay-v1` (`server/http_server.rs:1361-1382`). The client fails with `BadVersionHeader` if the server does not echo the protocol (`client.rs:352, 424`). The Tunnel passes the origin's handshake through, but this is [not checked] on Cloudflare's side. + +Project kit (`integrated/doc/2026-10-11T03-44-33Z_design_groups_events_delegation/connectivity/relay/`): `tunnel.toml` sets `enable_quic_addr_discovery = false` and says "QUIC address discovery needs UDP, which Tunnel does not carry" (lines 6-9). `vps.toml` sets it to `true` with 80/tcp, 443/tcp and 7842/udp open (lines 3-11). Both agree with the source. + +### D. Open-source pkarr relays and the iroh DNS server + +Crate metadata (`crates-meta/*.json`, crates.io API, read 2026-10-11): [verified] +- `iroh-dns-server` 1.3.0, created 2024-04-15, updated 2026-09-28, repo `n0-computer/iroh`, description "A pkarr relay and DNS server". +- `pkarr-relay` 2.1.0, created 2025-02-11, updated 2026-10-02, repo `pubky/pkarr`, "Pkarr relay (https://github.com/pubky/pkarr/blob/main/design/relays.md)". +- `pkarr` 8.1.0 (used by pkarr-relay), updated 2026-10-02. + +**iroh-dns-server 1.3.0** (`src-untrusted/iroh-dns-server-1.3.0/extracted/iroh-dns-server-1.3.0/`): +- Dependencies (Cargo.toml): `hickory-server` with `https-ring`, `axum` and `axum-server`, `redb` 4.1, `governor` and `tower_governor`, `tokio-rustls-acme` (Let's Encrypt), `rcgen`, `iroh-dns`, `iroh-base`. [verified] +- DNS (`src/dns.rs:47-50`): "Port to bind the DNS listener to, for both UDP and TCP." Bind at `dns.rs:102-118`: `UdpSocket::bind` and `TcpListener::bind` on the same address. Default port 5300 (`src/config.rs:272`, in the `Default` impl that starts at line 256). Default bind is `::`. +- HTTP (`src/config.rs:260, 264`): HTTP port 8080 and HTTPS 8443 by default. HTTPS uses `SelfSigned` or ACME (`src/http/tls.rs:20-31, 131-149`, `DirCache`). +- Routes (`src/http.rs:275-288`): `/dns-query` GET and POST (DoH), `/pkarr/{key}` GET and PUT, `/healthz`, `/`. Rate limiting is applied only to PUT (`http.rs:277-285`). +- PUT (`src/http/pkarr.rs:14-34`): verifies with `SignedPacket::from_relay_payload`, calls `store.insert`, then returns `StatusCode::NO_CONTENT` whether or not the packet was stored. Stale packets are rejected inside the store: `store/signed_packets.rs:149-175` returns `false` when `existing.more_recent_than(&packet)`. +- GET (`src/http/pkarr.rs:36-55`): returns the stored payload as `application/x-pkarr-signed-packet`. +- Store (`src/store/signed_packets.rs`): redb tables `signed-packets-1` and `update-time-1` (lines 20-23). Persistent file `/signed-packets-1.db` (`signed_packets.rs:295-313`; `config.rs:222-227`). `IROH_DNS_DATA_DIR` or the platform data dir sets `` (`config.rs:208-217`). Eviction after 7 days (`signed_packets.rs:96-100`), checked every 10 s. +- Rate limit (`src/http/rate_limiting.rs:44-64`): governor, `per_second(4)`, `burst_size(2)`, default mode `Simple` = peer IP (`rate_limiting.rs:23-30`). +- Mainline fallback: optional, `config.rs:49-53, 150-178, 241-250`, default `None` (`config.rs:286`). This is the only place the server becomes a UDP DHT participant, and only when enabled. + +**pkarr-relay 2.1.0** (`src-untrusted/pkarr-relay-2.1.0/extracted/pkarr-relay-2.1.0/`): +- README (lines 3-4): "an HTTP gateway and cache for publishing and resolving Pkarr packets through the Mainline DHT". [verified] +- `src/lib.rs:187-199`: `DhtClient::build(dht_config)` is called in `run_with_dht` on every run, and the log says "Running as a DHT node on {address}". There is no switch to turn the DHT off. The `testnet` feature only gates the `mainline` crate dependency (`Cargo.toml` features). +- `Cargo.toml` dependency `pkarr` 8.1 with features `dht` and `lmdb-cache`. `src/dht_service.rs:8, 21`: `LmdbCache` on disk. `config.rs:14-18` (CACHE_DIR `pkarr-cache`), `lib.rs:73` (cache path under storage dir). Without `cache.path`, the cache goes to a temporary directory and does not survive restarts (README lines 40-42). +- `config.rs:15, 44-55`: HTTP default port 6881 (TCP). `config.rs:58-80`: DHT `port` and `public_ip` are optional. +- `response.rs:14-30`: PUT returns 204 with `Pkarr-Dht-Stored-Nodes`. `error.rs:91-100`: `NotMostRecent` maps to 409 CONFLICT. +- Record model [inferred from the README and the PUT handler]: the DHT is the store of record, and the LMDB cache is a cache. + +**pkarr relay spec** (`design/relays.md`, GitHub raw, 2026-10-11): [verified] +- PUT (lines 9-46): 204 on success; "Perform the DHT Put request as defined in BEP0044" (line 38); 400 for bad key, bad signature or DNS packet; 409 when the timestamp is older than the server or DHT has seen; 413 above 1072 bytes; 429 for rate limiting; 500 when the DHT put fails. +- GET (lines 48-80): `If-Modified-Since` returns 304; `Cache-Control: public, max-age=…`; a DHT mutable GET (line 80). +- Payload (lines 89-100): `RelayPayload = signature timestamp dns-packet`; timestamp is 8-byte big-endian microseconds; DNS packet under 1000 bytes. So the largest body is 64 + 8 + 1000 = 1072 bytes. + +**iroh-side pkarr and DNS** (iroh-1.3.0 and iroh-dns-1.3.0): [verified] +- `address_lookup/pkarr.rs:127`: default n0 publisher base `https://dns.iroh.link/pkarr`. `pkarr.rs:290` and `507`: `PkarrPublisher::builder(url)` and `PkarrResolver::builder(url)` accept a custom relay. +- `pkarr.rs:143`: `DEFAULT_PKARR_TTL = 30`. `pkarr.rs:146`: `DEFAULT_REPUBLISH_INTERVAL = 5 min`. `pkarr.rs:388-390`: failed publishes retry after `failed_attempts` seconds. +- `pkarr.rs:615-683`: `resolve` is GET `/`, needs `is_success()`, then verifies the payload. `publish` is PUT with `to_relay_payload()`, needs `is_success()`. No request timeout is set on the client (`util.rs:10-28` builder has none). The iroh client never reads `Pkarr-Dht-Stored-Nodes` (grep for "stored" in `pkarr.rs` found nothing). +- Wire format (`iroh-dns-1.3.0/src/pkarr.rs:15-32`): pubkey 32 + signature 64 + timestamp 8 + DNS packet at most 1000 bytes. Signable bytes (`pkarr.rs:291-295`): `3:seqie1:v:`. +- DoH client: `n0-dns-resolver transport.rs:286-292` POSTs `application/dns-message` to `https://:/dns-query`. iroh-dns builds `n0-dns-resolver` with `transport-https` for non-wasm targets (`iroh-dns/Cargo.toml:124-130`, non-optional). So the DoH client is compiled into native `pkgs/id` builds [verified]. + +### E. Cost arithmetic (`scripts/pkarr_cost.py`, run with `python3 -I`) + +Assumptions, labelled [inferred] or assumed: only idle republishes at 5 minutes (288 per endpoint per day, from `pkarr.rs:146`); no on-change publishes; no GETs; 2 ms of CPU per request, which is an assumption and not measured; Durable Object duration ignored (at 5 ms per request it stays under the 400,000 GB-s included); $5 base; rates and included amounts from the pricing page above. + +``` +endpoints= 100 PUT/month= 864,000 worker=$ 0.00 do=$ 0.00 cpu=$ 0.00 total=$ 5.00 +endpoints= 1000 PUT/month= 8,640,000 worker=$ 0.00 do=$ 1.15 cpu=$ 0.00 total=$ 6.15 +endpoints= 10000 PUT/month= 86,400,000 worker=$ 22.92 do=$ 12.81 cpu=$ 2.86 total=$ 43.59 +Free plan: endpoints whose idle republish fits in 100,000/day = 347 +``` + +So at default cadence the Free plan's 100,000 requests/day caps a relay at about 347 endpoints, and Paid is cheap at these volumes. The request counts are the only real driver. [inferred] + +### F. Connectivity lab results used here (read-only) + +From `/home/user/work/spikes-next/c2-holepunch/RESULTS.md` (2026-10-11): [verified as read] +- Verdict 5: "QAD is what provides the public candidate. With the home relay's QAD off and no other QAD relay, no direct path forms, even with a restricted NAT (30 s)." +- §3.4: the no-QAD control gives "none (LAN only)" and no direct path; the QAD-only stand-in gives a direct path at 39 ms. +- Surprising 1: "A connected peer therefore learns our LAN and public addresses anyway" when relay-only tickets are used. Candidates travel inside the QUIC connection. +- The lab runs `iroh-relay` 1.3.0 locally and uses n0 entries that were not reachable from the sandbox. + +From the integrated task-08 update, 2026-10-11T12-49-09Z (`task-08-connectivity-extensions.md` line 71; `spikes-next/s11-relay/RESULTS.md` was not read): a non-home relay connection closed 60.0 s after its last datagram, and the home relay did not idle out in 3 min 40 s. + +--- + +## Options (for the later phase) + +| Option | What it carries | QAD / direct paths | Pros | Cons | Cost and ops (owner) | +|---|---|---|---|---|---| +| **A. n0 only** (current) | n0's four relays (NA east, NA west, EU, AP); public, no auth | Yes: n0 relays are QAD-configured on the client (`defaults.rs:36-44`). Not tested against live n0 servers from here. | Nothing to run; QAD available now; already the default (feature doc). | Public relays carry "no uptime or performance guarantees", are for development and testing (docs.iroh.computer/concepts/relays, read 2026-10-11). Rate limited. Shared with every iroh developer. n0's pkarr/DNS would see relay mappings and lookups (per the earlier disc research in `integrated/.../research/disc/report.md`; not re-checked here). | Free ("Community" plan). n0 Pro is $19/month for an authenticated shared relay with 10,000 connections, 5 MB/s and 100 GB egress (iroh.computer/pricing, read 2026-10-11). Pro needs an account the owner would create; not created here. | +| **B. Tunnel-fronted relay** (task 08 option A) | HTTPS and WebSocket to the origin via Cloudflare; no UDP | **No QAD from this relay.** Set `enable_quic_addr_discovery = false` and build the client entry as `RelayConfig::new(url, None)`. A peer with only this relay in its map gets no public candidate and no direct path. With n0's QAD entries in the map, direct paths are possible [inferred], untested. | No open inbound ports on the owner's machine. Clients connect to Cloudflare's edge, so the relay's own address is not exposed (the node's own public address still is, once QAD runs through n0). Cheap ($0 Cloudflare side). The kit already has `tunnel.toml`. | Cloudflare terminates TLS on the public hostname, so it sees client IPs and the relay WebSocket frames (endpoint IDs and timing). The QUIC payloads inside stay end-to-end encrypted [inferred]. WebSocket idle timeout unspecified. WebSocket subprotocol passthrough is [not checked]. Service terms on large files (Free/Pro/Business) may need review. Availability depends on the home machine and uplink. | Cloudflare account and a domain on Cloudflare (owner to create; not created). Machine and uplink are the owner's. | +| **C. VPS with QAD** (task 08 option B) | HTTPS/WSS on 443 plus QUIC on UDP 7842 | **Yes**, direct server QAD. Peers can obtain public candidates from this relay alone. | Full stack in one host: relay + QAD + TLS (kit `vps.toml`). Works without n0 for direct-path discovery. Independent of Cloudflare. | Needs a public IP, open 80/tcp, 443/tcp and 7842/udp, TLS certificates kept on persistent disk, and host maintenance. The relay sees client IPs. QAD exposes each peer's public address to connected peers (Surprising 1). | VPS bill (owner); not priced here. | +| **D. Worker pkarr relay** (task 08 item 5) | HTTP PUT/GET `/` only (lookup, not relaying) | **No QAD and no direct paths.** Affects lookup only. | Serverless; Paid plan gives enough headroom (table §E); Durable Object storage is strongly consistent; WebCrypto Ed25519 is supported; per-IP limits via the rate-limit binding. Gives the owner a lookup service that is not n0's. | No UDP, so it cannot be a Mainline DHT node. Not DHT-backed as the pkarr spec describes (BEP 44): records live only in the Worker's storage, not in the Mainline DHT. Both publisher and resolver must point at it, so lookups are private to it. DoH is the only DNS option, and it needs clients configured to query the endpoint directly. Ed25519 verification cost is not measured. | Workers Paid $5/month base plus usage (table §E). Build effort from task 08 (about 150-200 lines of JS plus 150-250 for DoH) is an estimate [inferred]. | + +**Constraints a Worker relay would have to meet** (from D): PUT body at most 1072 bytes; signable bytes `3:seqie1:v:` exactly as `iroh-dns` builds them; accept only a timestamp newer than the stored one; reply 204 on stale (iroh accepts any 2xx, so 204 is safer for iroh's publisher than the spec's 409 [inferred]); use a SQLite-backed Durable Object per key, because KV has 1 write/s/key and up to 60 s staleness. Retention can follow the reference server's 7 days [inferred from iroh-dns-server]. + +--- + +## Recommendation + +**Order when the owner is ready:** + +1. **Now: n0 only.** Keep n0 as the default. It is the only QAD source the owner has today. Do not change the production posture until a real-network test is run, because n0's QAD has not been reached from this environment. +2. **Next: Tunnel-fronted relay as the home relay, with n0 kept in every map** (option B). This is the cheapest independent relay and is already designed. Before relying on it, check on a real Tunnel: (a) WebSocket upgrade and the `Sec-WebSocket-Protocol` echo through Cloudflare; (b) `/ping`, `/generate_204`; (c) the 60 s idle close on non-home connections. Then run C2 on two separate networks with n0's QAD in both maps. +3. **Then, if n0 QAD is unreliable or independence is wanted: one QAD-capable VPS** (option C). Add it to the maps as a second entry. Note the `MAX_RELAYS = 5` probe window (`net_report.rs:497-500`): with n0's four entries plus our Tunnel entry (no QAD), all four n0 entries and the Tunnel entry are probed, so a sixth entry would push one out by URL order. Keep the QAD-capable entries within the first five in URL order, or drop a relay from the map. The VPS testing hosts the owner plans can each be a QAD entry, but only five slots exist. +4. **Last, and only if wanted: the Worker pkarr relay** (option D). It does not change NAT traversal or direct paths. It adds a lookup service that is not n0's, at the cost of a private lookup namespace unless the owner runs both publisher and resolver against it. + +**What would change this order:** +- If n0's QAD answers on real networks and direct paths form in C2 (not yet tested), option C can wait. +- If the Tunnel does not pass the relay's WebSocket handshake (subprotocol echo), option B becomes VPS-only, and option C moves up. +- If the owner needs the server's public address hidden from peers while keeping direct paths, no option in this list does that. QAD is what gives direct paths, and QAD exposes candidates to connected peers (C2 Surprising 1). +- If Workers ever exposes a functional UDP socket (`node:dgram` is a stub today), a Worker could host a DHT node. Nothing in the docs suggests that is planned [not checked]. +- If the owner wants relay traffic (not just lookups) moved onto Cloudflare, that means a JavaScript re-implementation of the iroh relay protocol on Durable Objects WebSockets, or Containers. Containers cannot take end-user UDP (containers architecture page, line 65). This was not evaluated further. + +--- + +## Not verified + +- **No real Cloudflare Tunnel was tested.** Whether WebSockets and the `Sec-WebSocket-Protocol: iroh-relay-v2` echo survive Cloudflare's proxy is not checked. The C2 and S11 spikes ran on plain HTTP origins in the sandbox. +- **No Worker was built or deployed.** Ed25519 WebCrypto verification speed, CPU per PUT, and the 2 ms assumption in §E are not measured. Durable Object duration cost is assumed negligible. +- **n0's servers were not reached.** QAD on n0 is inferred from client config (`defaults.rs:36-44`). Whether n0 answers QAD on UDP 7842 is not checked. +- **Cloudflare idle timeout for WebSockets** is not stated in the docs. The 60 s non-home idle and 15 s pings are from the iroh side. +- **Cloudflare service-specific terms** on large files: whether relay traffic falls under them is not checked. It needs a read of the terms by the owner. +- **Pricing for the owner's account** may differ (legacy plan, contract, or pricing changes after the page dates Oct 2, 2026 for Workers pricing and Sep 30, 2026 for DO pricing). Figures are from the public pages read on 2026-10-11. +- **iroh-dns-server and pkarr-relay were read as source, not run.** Behaviour at runtime (e.g., rate-limit bursts, eviction timing, redb durability) is not checked. +- **DNS discovery through a Worker** needs clients configured to query the DoH endpoint directly (`NameserverConfig::https`). Whether normal recursive resolution could reach a Worker-hosted zone was not checked, and it would need UDP/TCP port 53 NS delegation, which Workers cannot serve. +- **Spectrum** (UDP for custom apps) needs an Enterprise plan per the docs. I did not check its UDP behaviour or whether QAD would still see the client's address through a proxy. Any L4 proxy would show the proxy's address to the QAD server [inferred from `quic.rs:145`]; not tested. +- **One temporary file:** a `/tmp/cf_probe_$$.out` curl probe was written outside this folder and deleted immediately. Nothing else outside the folder was written. +- **Not checked:** WebSocket messages billed on Workers vs DO for relay traffic; mainline DHT behaviour of iroh-dns-server's optional fallback (not enabled by default). +- **Source artifacts:** `sources/tunnel_routing.md` and `sources/tunnel_setup.md` came back as HTML, not markdown, so I did not rely on them (I used `tunnel_concepts_routing.md`). `sources/workers_runtime-apis_nodejs_dgram.md` is a 404 page. The `node:dgram` claim rests on the stub table in the Node compatibility page (`workers_runtime-apis_nodejs.md`, line 106). diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/cloudflare-workers/scripts/pkarr_cost.py b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/cloudflare-workers/scripts/pkarr_cost.py new file mode 100644 index 0000000000..d16c252ca6 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/cloudflare-workers/scripts/pkarr_cost.py @@ -0,0 +1,24 @@ +# Back-of-envelope monthly cost for a Worker + Durable Object pkarr relay on Workers Paid. +# Inputs are from the pricing pages in sources/ (read 2026-10-11). The per-request CPU +# and the 2 ms assumption are NOT measured. Only idle 5-minute republishes are modelled +# (no on-change publishes, no GETs). +REPUBLISH_S = 300 # iroh DEFAULT_REPUBLISH_INTERVAL (iroh-1.3.0 pkarr.rs:146) +DAYS = 30 +CPU_MS_PER_REQ = 2.0 # ASSUMPTION +WORKER_INCL, WORKER_RATE = 10_000_000, 0.30 / 1_000_000 # $/request beyond included +DO_INCL, DO_RATE = 1_000_000, 0.15 / 1_000_000 +CPU_INCL_MS, CPU_RATE = 30_000_000, 0.02 / 1_000_000 # $/CPU ms beyond included +BASE = 5.00 +FREE_DAILY = 100_000 # Free plan daily Worker and DO request caps + +def monthly(endpoints): + req = endpoints * (86_400 // REPUBLISH_S) * DAYS + w = max(0, req - WORKER_INCL) * WORKER_RATE + d = max(0, req - DO_INCL) * DO_RATE + cpu = max(0, req * CPU_MS_PER_REQ - CPU_INCL_MS) * CPU_RATE + return req, w, d, cpu, BASE + w + d + cpu + +for e in (100, 1_000, 10_000): + req, w, d, cpu, total = monthly(e) + print(f"endpoints={e:>6} PUT/month={req:>12,} worker=${w:7.2f} do=${d:7.2f} cpu=${cpu:6.2f} total=${total:8.2f}") +print(f"Free plan: endpoints whose idle republish fits in {FREE_DAILY:,}/day = {FREE_DAILY // (86_400 // REPUBLISH_S)}") diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/RESULTS.md b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/RESULTS.md new file mode 100644 index 0000000000..d064ab23a8 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/RESULTS.md @@ -0,0 +1,275 @@ +# RESULTS: power-loss tests for the event store (N13) + +Date: 2026-10-11. Folder: `/home/user/work/research-round2/crash-tests/`. Host: NixOS, kernel 6.18.44, uid 1337 (`user`), shared machine (other agents running). +Labels: **[verified]** = seen in command output or source in this run. **[inferred]** = my reasoning from verified facts. **[not checked]** = not tested here. + +## Questions (verbatim) + +Owner: "n13 plan for some sort of portable test, is lazyfs user-space usable?" +Context: power-loss testing for the event store. Round 1 (S6) used SIGKILL only, which does not test unsynced writes. + +1. LazyFS. Check whether it is usable here: `/dev/fuse` and `fusermount3` for uid 1337; whether a FUSE mount works inside `unshare -Urm`, with a trivial passthrough first; whether LazyFS is in `/nix/store`; build it only if cheap; run its basic scenario (write, fsync, write without fsync, simulated crash, unsynced data dropped). +2. Portable alternative, in-process. redb 4.3.0 `StorageBackend`: name the trait and its methods. Build a fault-injecting backend that buffers writes, drops writes not followed by fsync, crashes at write number k with an optional torn last write. Check that redb reopens with the last committed transaction intact and no partial batch visible. At least 200 crash points across 50 transactions, with counts. +3. Recommend a test strategy: which tests are portable, which need Linux with FUSE, and how the crash corpus is a static replay list so that every failure becomes a permanent test. + +## Short answers + +**1. LazyFS: usable, but only inside a user namespace, and not portable.** [verified] `/dev/fuse` is `crw-rw-rw- root root 10,229`, and uid 1337 can open it. `fusermount3` is the setuid wrapper `/run/wrappers/bin/fusermount3` (`-r-s--x--x root root`). A passthrough FUSE filesystem I wrote mounts and works both as uid 1337 through the setuid helper, and inside `unshare -Urm`, where the mount shows `user_id=0`. LazyFS is not in `/nix/store` [verified: no `lazyfs` entry], so I built it from the GitHub archive with g++ 15.3.0 and CMake 4.3.4. Clang (`c++` here is clang 21.1.8) fails on three narrowing errors; g++ compiles with three narrowing warnings. Its basic scenario behaves as documented: unsynced data is dropped by `lazyfs::clear-cache` and by killing the daemon, and kept by `lazyfs::cache-checkpoint` [verified, `logs/lazyfs-basic.log`]. Two limits: `-o allow_other` (which LazyFS's own mount script passes) is refused outside a user namespace because `/etc/fuse.conf` lacks `user_allow_other` [verified], so runs must go inside `unshare -Urm`; and the build downloads toml11 and spdlog at configure time [verified]. It is a good Linux validation tool. It is not a portable test. + +**2. Portable in-process alternative: built, and it works.** [verified] The trait is `redb::StorageBackend` (`redb-4.3.0/src/db.rs:74`) with required methods `len`, `read`, `set_len`, `sync_data`, `write`, plus `close` and byte-range lock methods that default to `Unsupported`. My backend (`redb-crash/src/faultfs.rs`) holds writes until `sync_data`, applies one of four survival policies at a power cut, and can tear the in-flight write. The 50-transaction workload has 687 storage calls, and every one is a crash point: 625 writes, 2 `set_len`, 60 syncs. That gives 7,808 runs (12 variants per write, 4 per `set_len`, 5 per sync). Faithful sweep, release build: 7,621 reopen to the acknowledged state, 167 to acknowledged+1 (the in-flight commit became durable), 20 fail to open before the first commit, and **0 failures**. A control with a lying `sync_data` produces 5,731 failures, so the oracle does catch lost durability. The 20 pre-commit open errors are a usability finding: a crash during first creation leaves a file that redb rejects with "Not a redb database: magic number mismatch". No acknowledged data is lost there. + +**3. Recommended strategy.** [inferred from the verified results above] Gate CI with the in-process fault model: portable, deterministic, about 40 s in release on this machine. Keep LazyFS as an optional Linux job that runs a few corpus points through the real store binary. Store the corpus as a checked-in TSV, one crash point per line, with the expected class. Every sweep failure is appended with its fix, and a replay test fails if a recorded verdict changes. The "either valid prefix" class (`ok`) is required, because debug and release builds can legitimately recover different prefixes at a few boundary points (see E9). + +## Evidence + +### E1. Environment [verified] + +``` +$ id +uid=1337(user) gid=100(users) groups=...,1(wheel),... +$ uname -r +6.18.44 +$ ls -la /dev/fuse +crw-rw-rw- 1 root root 10, 229 Oct 11 02:06 /dev/fuse +$ command -v fusermount3 && ls -la /run/wrappers/bin/fusermount3 +/run/wrappers/bin/fusermount3 +-r-s--x--x 1 root root 70712 Oct 11 02:06 /run/wrappers/bin/fusermount3 (setuid; execs fuse-3.18.2-bin) +$ grep -i fuse /proc/filesystems +nodev fuse +nodev fusectl +$ unshare -Urm sh -c 'id; cat /proc/self/uid_map' +uid=0(root) gid=0(root) ... + 0 1337 1 +$ cat /etc/fuse.conf | grep -v '^#' +mount_max = 1000 # no user_allow_other +$ pkg-config --modversion fuse3 -> not found (no headers in /usr/include) +$ ls /nix/store/74l9w9lsqhy6c0li69yw78c2ppmla7zk-fuse-3.16.2-dev/include/fuse3/ +fuse.h fuse_lowlevel.h fuse_common.h ... # usable headers, libfuse3.so from 36a91rn5...-fuse-3.16.2 +$ gcc --version -> gcc (GCC) 15.3.0 ; cmake --version -> 4.3.4 ; c++ --version -> clang version 21.1.8 +$ ls /nix/store | grep -i lazy -> only lazygit/lazy_static/... (no lazyfs) +``` + +### E2. Trivial FUSE passthrough [verified] + +`crash-tests/fuse-probe/pt.c` maps a mount to a root directory (134 lines, libfuse 3 high-level API). Built against the store's fuse 3.16.2 headers: + +``` +gcc -O2 -Wall -Wextra -std=gnu11 -o pt pt.c \ + -I/nix/store/74l9w9lsqhy6c0li69yw78c2ppmla7zk-fuse-3.16.2-dev/include \ + -L/nix/store/36a91rn5w65prs6whwqjffk9s495wjym-fuse-3.16.2/lib -lfuse3 \ + -Wl,-rpath,/nix/store/36a91rn5w65prs6whwqjffk9s495wjym-fuse-3.16.2/lib -lpthread +``` + +`fuse-probe/probe-passthrough.sh` output (`logs/fuse-passthrough-probe.log`): + +``` +== A: plain process, uid 1337, fusermount3 = /run/wrappers/bin/fusermount3 + mount: pt .../work/mnt-a fuse.pt rw,nosuid,nodev,relatime,user_id=1337,group_id=100 + write via mount: ok + read via mount: hello-a + underlying root-a: hello-a + fusermount3 -u: ok + daemon exit: 0 +== B: inside unshare -Urm (user+mount namespace) + mount: pt .../work/mnt-b fuse.pt rw,nosuid,nodev,relatime,user_id=0,group_id=0 + write via mount: ok + read via mount: hello-b + underlying root-b: hello-b +``` + +The "uid inside" line in the script prints the same value for both labels. That is a labelling mistake in my script, not a result. Inside the namespace, uid 0 maps to 1337 (`uid_map`). The `unshare` exit status (8) comes from the daemon's exit after SIGTERM; I did not investigate it. + +### E3. LazyFS build [verified unless marked] + +- Source: `curl -sSL -o lazyfs-main.tar.gz https://codeload.github.com/dsrhaslab/lazyfs/tar.gz/refs/heads/main` on 2026-10-11 11:08 UTC. sha256 `b44234ee4bdf50c3d3f0d6625e7eab74dcdaca3bae5dfb954f7276b82232a551`. The archive has no git metadata, so the commit is not recorded. Extracted to `crash-tests/untrusted/lazyfs/lazyfs-main/`. +- README requirements (`github.com/dsrhaslab/lazyfs` README, fetched 2026-10-11): C++17, CMake, g++ (tested with 9.4.0 and cmake 3.16.3), FUSE 3 development headers, and `user_allow_other` in `/etc/fuse.conf` for `allow_other`. +- `libs/libpcache` configure (FetchContent downloads toml11 v3.7.1 by git and spdlog 1.10.0 as an archive). With CMake 4.3.4 the first configure failed: `CMake Error at build/_deps/toml-src/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed`. The fix is `-DCMAKE_POLICY_VERSION_MINIMUM=3.5`, which is printed in the error text. No source was changed for this. +- Clang build (`c++` = clang 21.1.8), not kept in a log file: `lazyfs/src/lazyfs.cpp:1164:35: error: non-constant-expression cannot be narrowed from type 'off_t' ... to 'const int'`, the same at lines 1210 and 1449 ("3 warnings and 3 errors generated"). These are the only errors. +- g++ build (kept): `cmake -S libs/libpcache -B libs/libpcache/build -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -DCMAKE_BUILD_TYPE=Release -DCMAKE_POLICY_VERSION_MINIMUM=3.5` then `cmake --build ... -j4` (real 3m32s, includes the two FetchContent deps). `cmake -S lazyfs -B lazyfs/build -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -DLAZYFS_BUILD_TESTS=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS="-Wl,-rpath,:"`, then build (real 1m51s). Result: `lazyfs/build/lazyfs` built; `ldd` shows `libfuse3.so.3` (3.16.2) and `libpcache.so.0`. The g++ build has three `-Wnarrowing` warnings at the same three lines. +- Environment note: `LIBRARY_PATH` and `CPLUS_INCLUDE_PATH` pointed at the store's fuse headers and library during configure and build (`logs/lazyfs-configure.log`, `logs/lazyfs-build.log`). + +### E4. LazyFS basic scenario [verified] + +`lazyfs-probe/lazyfs-basic.sh` runs `lazyfs-inner.sh` inside `unshare -Urm`. The command is `-o allow_other -o modules=subdir -o subdir= -s -f`, the same options as LazyFS's `scripts/mount-lazyfs.sh`. Output (`logs/lazyfs-basic.log`): + +``` +uid inside namespace: 0 +lazyfs ... mounted: lazyfs .../mnt fuse.lazyfs rw,...,user_id=0,group_id=0,allow_other +== S1: fsync(A), write(B) without fsync, then lazyfs::clear-cache + before clear-cache: via mount='AB' on disk='A' + after clear-cache: via mount='A' on disk='A' +== S2: fsync(A), write(C) without fsync, lazyfs::cache-checkpoint, then lazyfs::clear-cache + before checkpoint: via mount='AC' on disk='A' + after checkpoint: via mount='AC' on disk='AC' + after clear-cache: via mount='AC' on disk='AC' +== S3: fsync(A), write(B) without fsync, kill -9 the LazyFS daemon (no FIFO command) + before kill: via mount='AB' on disk='A' + daemon killed (status 137) + after kill: on disk='A' +``` + +So unsynced data is dropped by `clear-cache` (S1) and by a daemon kill (S3), and `cache-checkpoint` writes it to the real file system without fsync, where it survives a later `clear-cache` (S2). This matches the README's description. + +Outside the namespace, the same daemon refuses to start [verified, `logs/lazyfs-nons-allow_other.log`]: + +``` +/nix/store/jpkz...-fuse-3.18.2-bin/bin/fusermount3: option allow_other only allowed if 'user_allow_other' is set in /etc/fuse.conf +``` + +Not tested: `torn-op` / `torn-seq` injection, the FIFO `crash` command, and running redb or the event store through a LazyFS mount. + +### E5. redb 4.3.0 backend interface [verified, source] + +`~/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/redb-4.3.0/`: + +- `src/db.rs:74`: `pub trait StorageBackend: 'static + Debug + Send + Sync` +- Required: `fn len(&self) -> Result` (76), `fn read(&self, offset: u64, out: &mut [u8])` (81), `fn set_len(&self, len: u64)` (86), `fn sync_data(&self)` (89), `fn write(&self, offset: u64, data: &[u8])` (92). +- Optional: `fn close(&self)` (101, default `Ok`); `try_lock_range`, `try_lock_shared_range`, `lock_range`, `lock_shared_range`, `unlock_range`, `query_lock_range` (113 onward, default `BackendError::Unsupported`). +- Construction: `Database::builder().create_with_backend(backend)` (`db.rs:2255`); `Builder::set_repair_callback(&mut self, impl Fn(&mut RepairSession))` (`db.rs:2130`); `Database::check_integrity(&mut self) -> Result` (`db.rs:874`); `Database::builder()` (`db.rs:1751`). +- Durability: `Durability::{None, Immediate}` (`transactions.rs:378`). The default is `Immediate`, so `commit` returns after `sync_data`. +- redb's own crash test backend (`db.rs:3381`, `CrashBackend`) makes calls after a "dead" flag silently succeed without effect. My post-cut behaviour follows it. +- redb has no required dependencies. On this platform cargo compiled `libc 0.2.190` as well. + +### E6. Prototype build and tests [verified] + +Crate: `crash-tests/redb-crash/` (`redb = "=4.3.0"`, own `[workspace]`). Toolchain: `RUSTUP_TOOLCHAIN=1.97.0`, `rustc 1.97.1`, `cargo 1.97.0`, path from `rustup which --toolchain 1.97.0 cargo`. Target dir: `CARGO_TARGET_DIR=/home/user/work/research-round2/crash-tests/target`. Cargo resolved offline from the local registry cache. + +``` +cargo build --offline --all-targets # lib, tests, sweep: builds, 1 unused-import warning, fixed +cargo test --offline # debug + faultfs_semantics: 6 passed # drop, keep, sync before/after, torn prefix, lying sync, inert after cut + replay: clean_run_reopens_with_every_transaction ok; corpus_replays_with_recorded_verdicts ok (20 s) + determinism_probe: prints the trace and verdict for one plan (no assertions) +cargo test --offline --release # same tests: all pass +cargo build --offline --release --bin sweep +``` + +Model (`src/workload.rs`): 50 transactions. Transaction b inserts `claims(b)` event rows and their author-index rows (`claims` is 8–32, and 120 for every tenth transaction), deletes the batch from five transactions earlier (so pages are freed and reused), and updates two meta rows. The model for n transactions is the map after the first n. The verifier compares a full dump of all three tables against models `acked` and `acked+1`. + +Fault model (`src/faultfs.rs`): +- `write`/`set_len` wait in `pending` until `sync_data` completes. +- A cut at storage call k keeps `durable` plus the pending operations chosen by `Survive`: `Drop` (none, like LazyFS `clear-cache`), `Keep` (all, in order, like a kernel write-back), `Random` (each independently), `Reorder` (a random subset in random order). +- `Tear`: `Off` (the in-flight write leaves nothing), `Byte` (a random byte prefix, 0 to full), `Sector` (a prefix of whole 512-byte sectors). Only applies when the cut lands on a write. +- A sync cut is either "sync lost" (with any survival policy) or "sync completed, then power lost". +- After the cut, calls succeed without effect (as in redb's own CrashBackend). The harness counts a commit as acknowledged only if it returned before the cut. + +Oracle (`src/harness.rs`): reopen the image; exactly one of `ok_acked` (state = model[acked]), `ok_acked_plus_one` (state = model[acked+1]) must hold. Other classes: `lost_committed`, `partial`, `future`, `open_error` (after acknowledged commits), `integrity` (`check_integrity` false or failing), `post_recovery` (a further commit and clean reopen must work), `no_crash_error`, `panic`. `open_error_pre_commit` (nothing acknowledged yet) is reported, not counted as failure. + +### E7. Faithful sweep [verified] + +``` +$ target/release/sweep --threads 4 --out results +clean run (no cut): verdict=ok_acked acked=50 storage_calls=687 +crash points (one per storage call): 687 {"set_len": 2, "sync": 60, "write": 625} +runs: 7808 (control: false) +verdicts: {"ok_acked": 7621, "ok_acked_plus_one": 167, "open_error_pre_commit": 20} + set_len ok_acked 4 / ok_acked_plus_one 4 + sync ok_acked 196 / ok_acked_plus_one 100 / open_error_pre_commit 4 + write ok_acked 7421 / ok_acked_plus_one 63 / open_error_pre_commit 16 +reopens that ran redb repair: 7759 runs, 26723 callbacks +failing runs: 0 at 0 distinct crash points +real 0m42.661s (1 thread: 40.0 s, same machine) +``` + +Counts: 687 crash points (≥200 required). The `ok_acked_plus_one` rows show the in-flight commit became durable before the cut, which is the boundary case the oracle must allow. There were no `partial` verdicts. + +Pre-commit open errors: 20 runs, all with `acked=0`, at storage calls 2 (8 variants), 3 (2), 4 (8), 5 (2). All 20 report `open: I/O error: Not a redb database: magic number mismatch` (`results/sweep-faithful.tsv`, column 10). Torn or zero-filled first writes leave bytes that redb will not open. Nothing acknowledged is lost, but the store cannot start without handling. + +### E8. Control: lying `sync_data` [verified] + +`sweep --lying-sync` makes `sync_data` return `Ok` without making data durable. A correct oracle must fail these runs. + +``` +verdicts: {"lost_committed": 1204, "ok_acked": 1894, "ok_acked_plus_one": 113, + "open_error": 4522, "open_error_pre_commit": 70, "panic": 5} +failing runs: 5731 (1204 lost_committed + 4522 open_error + 5 panic; counted from the TSV) +``` + +The control is detected, so the faithful zero is not an artefact of a blind oracle. The 5 `panic` runs are redb panicking while reopening images it cannot make sense of, for example "entered unreachable code" and `Utf8Error`. Those images come from the lying control, not from a faithful fsync. They are still a robustness signal for redb. I have not checked whether these panics are already reported upstream. + +The `partial` class was never produced, by either the faithful or the control sweep. The `partial` branch of the oracle is therefore not demonstrated by a control. [verified: `grep -c partial` gives 0 in both TSVs] + +### E9. Build-profile difference [verified behaviour; cause not found] + +The same plan gives different verdicts in debug and release. Event 149, `Keep`, `Byte`, seed `12777398887419732391`: + +``` +debug: ok_acked acked=11 repairs=4 (200 of 200 runs, same process) +release: ok_acked_plus_one acked=11 repairs=3 (200 of 200 runs) +``` + +The storage-call traces are identical in both profiles: 687 calls, same counts, same offsets and lengths around event 149 (`tests/determinism_probe.rs` output). Four rows differ across the two full faithful sweeps (events 149 and 506, `Keep` with `Byte` or `Sector`), and all four are `ok_acked_plus_one` in release and `ok_acked` in debug. Both are valid prefixes, so the oracle passes both. Not investigated further: whether the image bytes differ between profiles, or redb's repair choice differs. This is worth a separate look before relying on `ok_acked_plus_one` boundary verdicts as exact. + +### E10. Debug faithful sweep [verified] + +``` +$ target/debug/sweep --threads 4 --out results-debug +verdicts: {"ok_acked": 7625, "ok_acked_plus_one": 163, "open_error_pre_commit": 20} +failing runs: 0 (real 13m47s, debug build, shared machine) +``` + +### E11. Static corpus and replay [verified] + +`corpus/redb-crash-corpus.tsv` has 195 lines, one crash point each: `name lying_sync event survive tear sync_completed seed expect`. Contents: +- 167 faithful `ok_acked_plus_one` rows, expect `ok` (either valid prefix). The in-flight-commit boundary points. +- 20 faithful `open_error_pre_commit` rows, expect exact. +- 8 control rows (`lying_sync=1`): 2 each of `lost_committed`, `open_error`, `panic`, and `ok_acked_plus_one`, expect exact. + +`tests/replay.rs` reruns each row through `run_one` and checks the class. Passing in debug and release. The `ok` class accepts either valid prefix. That is the change E9 made necessary: the first version pinned the exact prefix, and the release-built corpus then failed in debug. + +### E12. Harness bugs found and fixed during the run [verified] + +The first sweep reported `post_recovery` for every run, including the clean run. Cause: the post-recovery check reopened the workload's original image, not the reopened one. Fixed by passing the reopened backend. Second, a panic inside reopen (in the control) killed the sweep (exit 101). Fixed by wrapping reopen in `catch_unwind` and reporting it as `panic`. The numbers above come from the fixed harness only. + +## Options + +| Option | Portable | What it exercises | Cost / blockers here | Verdict | +| --- | --- | --- | --- | --- | +| In-process `FaultFs` on redb (this work) | Yes: any OS with redb | Every storage call; four survival policies; torn writes; no kernel or FUSE | 40 s release sweep; 14 min debug sweep | **Use as CI gate** (release build) | +| LazyFS over FUSE | Linux only; needs FUSE, a user namespace (or `user_allow_other`), g++, network for FetchContent | Real file-system page cache: clear-cache, checkpoint, process kill | Build about 5 min; `allow_other` needs `unshare -Ur` | **Optional Linux job** for a few corpus points through the real binary | +| SIGKILL test (S6) | Yes | Process crash only; OS page cache survives | Cheap | Keep, but it does not test unsynced writes | +| VM power cut (qemu, kill the VM) | Needs a VM host | Real device write-back, torn sectors | Not set up | Final sign-off for the engine, not a unit test | +| dm-flakey / dm-log-writes | Needs root | Block-level loss and reordering | Needs root | Not tested | + +## Recommendation + +1. **Gate: the in-process fault model.** Add a `faultfs` module and a `workload` for the event store under `pkgs/id` as a test-only dependency, plus `cargo test` for the portable pieces (fault semantics, clean run, replay). Run the full sweep in release mode on a nightly or pre-release job (about 40 s here), and the control sweep alongside it. Reasons: deterministic, no privileges, runs on every platform redb runs on, and it found no failures for redb 4.3.0 on this workload. +2. **Optional Linux job: LazyFS.** Build with g++, not clang, and pin the CMake policy flag. Run a small set of corpus points through the real store binary under `unshare -Ur`. Reasons: real file-system page-cache behaviour that the in-process model does not have. Not a gate: it needs FUSE, namespaces, and network for FetchContent. +3. **Corpus as a static replay list.** One line per crash point, checked in beside the test. Every sweep failure gets appended with the fix that resolves it. Expected classes: an exact verdict for failures and controls, `ok` for faithful points. Keep the lying-sync control rows, so the oracle is proven to still detect lost durability. Add a header that records the workload's storage-call count and a hash of the call trace (kind, offset, length). If the workload changes, the replay fails loudly instead of testing the wrong crash points. +4. **Design items for task 02 (not product changes yet).** + - Pre-commit open failure: create the store file under a temporary name, make the first commit, then rename it into place (and fsync the directory). Alternatively, detect "file has no committed transaction" and recreate it. E7 shows a crash there is otherwise a startup failure. + - Open path: a test-only constructor that takes a `StorageBackend` (redb exposes `create_with_backend`), so the real store can be run under the fault model. +5. **What would change this.** If the event store adds multiple files, renames, or directory operations beyond one redb file, the redb-level model is not enough, and LazyFS (or a VM cut) becomes necessary for those paths. If the E9 profile difference turns out to be a redb recovery bug, the engine decision needs a second look before the boundary verdicts are trusted. If CI runners lack unprivileged user namespaces, the LazyFS job cannot run there. + +## Not verified + +- Real power cuts (VM or hardware). Torn writes here are a model, not device behaviour. [not checked] +- LazyFS with redb or the event store under the mount. Only the basic scenario ran. [not checked] +- LazyFS `torn-op`, `torn-seq`, and the FIFO `crash` command. [not checked] +- Clang versus g++ behaviour beyond the build errors. I only saw the build failure, not a runtime difference. [not checked] +- Cause of the debug/release difference (E9). Image bytes were not compared between profiles. [not checked] +- Whether the 5 redb reopen panics in the control are known upstream. [not checked] +- The `partial` class: never observed, and no control produces it. The oracle's partial branch is untested. [not checked] +- Directory fsync and rename semantics (relevant to the temp-file-then-rename pattern). [not checked] +- Whether unprivileged user namespaces are available on the CI runners. Checked only on this host. [not checked] +- The event store itself: only a synthetic redb workload was run, not the task-02 schema or its code. [not checked] +- Single-thread versus four-thread equality beyond one row: row 149 gave the same verdict in a single-thread release run. [verified for that row only] +- Turso, libsql, and other engines: not measured. [not checked] +- Time budget: the run exceeded the 60–90 minute brief. The first work in this folder is at 11:02 local, the tarball at 11:08 local, and the last log at 12:51 local, with the debug sweep (14 min) and this report after that. [verified from file timestamps] + +## Files + +- `fuse-probe/`: `pt.c`, `probe-passthrough.sh`. Logs: `logs/fuse-passthrough-probe.log`. +- `lazyfs-probe/`: `lazyfs-basic.sh`, `lazyfs-inner.sh`. Logs: `logs/lazyfs-basic.log`, `logs/lazyfs-nons-allow_other.log`, `logs/lazyfs-*build*.log`, `logs/lazyfs-pcache-configure.log`, `logs/lazyfs-configure.log`. +- `downloads/lazyfs/lazyfs-main.tar.gz` (archive, sha256 above). `untrusted/lazyfs/lazyfs-main/`: extracted source and build trees (`libs/libpcache/build`, `lazyfs/build`). +- `redb-crash/`: `src/{lib,faultfs,workload,harness}.rs`, `src/bin/sweep.rs`, `tests/{faultfs_semantics,replay,determinism_probe}.rs`, `corpus/redb-crash-corpus.tsv`, `Cargo.toml`, `Cargo.lock`. +- `redb-crash/results/`: `sweep-faithful.{tsv,stdout}`, `sweep-lying-sync-control.{tsv,stdout}`, `failures-*.tsv`. `redb-crash/results-debug/` and `results-debug.stdout`: debug faithful sweep. `redb-crash/results-1thread/`: single-thread release sweep (row 149). +- `target/`: shared build directory for this work (`CARGO_TARGET_DIR`). + +Commands used for the sweeps: +``` +cd crash-tests/redb-crash +/home/user/work/research-round2/crash-tests/target/release/sweep --threads 4 --out results +/home/user/work/research-round2/crash-tests/target/release/sweep --lying-sync --threads 4 --out results +/home/user/work/research-round2/crash-tests/target/debug/sweep --threads 4 --out results-debug +``` diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/fuse-probe/probe-passthrough.sh b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/fuse-probe/probe-passthrough.sh new file mode 100755 index 0000000000..3f1d41f7e1 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/fuse-probe/probe-passthrough.sh @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +# Passthrough FUSE probe. Run from the fuse-probe directory. Two modes: +# A: plain uid 1337 process, mount through the setuid fusermount3 +# B: inside `unshare -Urm`, mount through the kernel directly (no setuid helper) +set -u +here="$(cd "$(dirname "$0")" && pwd)" +PT="$here/pt" +W="$here/work" +rm -rf "$W"; mkdir -p "$W/root-a" "$W/mnt-a" "$W/root-b" "$W/mnt-b" + +echo "== A: plain process, uid $(id -u), fusermount3 = $(command -v fusermount3)" +"$PT" "$W/root-a" "$W/mnt-a" & pid=$! +sleep 1 +grep "mnt-a" /proc/mounts | sed 's/^/ mount: /' +echo hello-a > "$W/mnt-a/a.txt" && echo " write via mount: ok" +echo " read via mount: $(cat "$W/mnt-a/a.txt")" +echo " underlying root-a: $(cat "$W/root-a/a.txt")" +fusermount3 -u "$W/mnt-a" && echo " fusermount3 -u: ok" +wait "$pid" 2>/dev/null; echo " daemon exit: $?" + +echo "== B: inside unshare -Urm (user+mount namespace)" +timeout 60 unshare -Urm sh -c ' + PT="$1"; W="$2" + "$PT" "$W/root-b" "$W/mnt-b" & pid=$! + sleep 1 + echo " uid inside: $(id -u) (outside: $(id -u))" + grep "mnt-b" /proc/mounts | sed "s/^/ mount: /" + echo hello-b > "$W/mnt-b/b.txt" && echo " write via mount: ok" + echo " read via mount: $(cat "$W/mnt-b/b.txt")" + echo " underlying root-b: $(cat "$W/root-b/b.txt")" + kill "$pid"; wait "$pid" 2>/dev/null +' sh "$PT" "$W" +echo " unshare exit: $?" diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/fuse-probe/pt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/fuse-probe/pt new file mode 100755 index 0000000000..ccb7c43932 Binary files /dev/null and b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/fuse-probe/pt differ diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/fuse-probe/pt.c b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/fuse-probe/pt.c new file mode 100644 index 0000000000..a210285614 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/fuse-probe/pt.c @@ -0,0 +1,134 @@ +/* + * Trivial FUSE passthrough, used only to separate "FUSE works here" from + * "LazyFS works here". Maps every path under MOUNT to the same path under ROOT. + * + * Usage: pt ROOT MOUNT + */ +#define FUSE_USE_VERSION 31 + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +static const char *root; + +static int under_root(char *dst, size_t n, const char *path) { + int w = snprintf(dst, n, "%s%s", root, path); + return (w < 0 || (size_t)w >= n) ? -ENAMETOOLONG : 0; +} + +#define RESOLVE(p, path) \ + char p[PATH_MAX]; \ + do { \ + int rc_ = under_root(p, sizeof p, path); \ + if (rc_) return rc_; \ + } while (0) + +static int pt_getattr(const char *path, struct stat *st, struct fuse_file_info *fi) { + (void)fi; + RESOLVE(p, path); + return lstat(p, st) == -1 ? -errno : 0; +} + +static int pt_readdir(const char *path, void *buf, fuse_fill_dir_t fill, off_t off, + struct fuse_file_info *fi, enum fuse_readdir_flags flags) { + (void)off; (void)fi; (void)flags; + RESOLVE(p, path); + DIR *d = opendir(p); + if (!d) return -errno; + struct dirent *de; + while ((de = readdir(d))) { + struct stat st; + memset(&st, 0, sizeof st); + st.st_ino = de->d_ino; + st.st_mode = de->d_type << 12; + if (fill(buf, de->d_name, &st, 0, 0)) break; + } + closedir(d); + return 0; +} + +static int pt_open(const char *path, struct fuse_file_info *fi) { + RESOLVE(p, path); + int fd = open(p, fi->flags); + if (fd == -1) return -errno; + fi->fh = (uint64_t)fd; + return 0; +} + +static int pt_create(const char *path, mode_t mode, struct fuse_file_info *fi) { + RESOLVE(p, path); + int fd = open(p, fi->flags | O_CREAT, mode); + if (fd == -1) return -errno; + fi->fh = (uint64_t)fd; + return 0; +} + +static int pt_read(const char *path, char *buf, size_t size, off_t off, + struct fuse_file_info *fi) { + (void)path; + ssize_t r = pread((int)fi->fh, buf, size, off); + return r == -1 ? -errno : (int)r; +} + +static int pt_write(const char *path, const char *buf, size_t size, off_t off, + struct fuse_file_info *fi) { + (void)path; + ssize_t r = pwrite((int)fi->fh, buf, size, off); + return r == -1 ? -errno : (int)r; +} + +static int pt_fsync(const char *path, int datasync, struct fuse_file_info *fi) { + (void)path; + int r = datasync ? fdatasync((int)fi->fh) : fsync((int)fi->fh); + return r == -1 ? -errno : 0; +} + +static int pt_release(const char *path, struct fuse_file_info *fi) { + (void)path; + close((int)fi->fh); + return 0; +} + +static int pt_unlink(const char *path) { + RESOLVE(p, path); + return unlink(p) == -1 ? -errno : 0; +} + +static int pt_truncate(const char *path, off_t size, struct fuse_file_info *fi) { + (void)fi; + RESOLVE(p, path); + return truncate(p, size) == -1 ? -errno : 0; +} + +static const struct fuse_operations ops = { + .getattr = pt_getattr, + .readdir = pt_readdir, + .open = pt_open, + .create = pt_create, + .read = pt_read, + .write = pt_write, + .fsync = pt_fsync, + .release = pt_release, + .unlink = pt_unlink, + .truncate = pt_truncate, +}; + +int main(int argc, char *argv[]) { + if (argc != 3) { + fprintf(stderr, "usage: %s ROOT MOUNT\n", argv[0]); + return 2; + } + root = argv[1]; + /* Foreground, single-threaded, so the caller can wait on it and kill it. */ + char *fargv[] = {argv[0], argv[2], "-f", "-s"}; + return fuse_main(4, fargv, &ops, NULL); +} diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/fuse-probe/work/root-a/a.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/fuse-probe/work/root-a/a.txt new file mode 100644 index 0000000000..d82bd8f9fa --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/fuse-probe/work/root-a/a.txt @@ -0,0 +1 @@ +hello-a diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/fuse-probe/work/root-b/b.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/fuse-probe/work/root-b/b.txt new file mode 100644 index 0000000000..6275af258a --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/fuse-probe/work/root-b/b.txt @@ -0,0 +1 @@ +hello-b diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/logs/fuse-passthrough-probe.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/logs/fuse-passthrough-probe.log new file mode 100644 index 0000000000..233ce7dd23 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/logs/fuse-passthrough-probe.log @@ -0,0 +1,15 @@ +== A: plain process, uid 1337, fusermount3 = /run/wrappers/bin/fusermount3 + mount: pt /home/user/work/research-round2/crash-tests/fuse-probe/work/mnt-a fuse.pt rw,nosuid,nodev,relatime,user_id=1337,group_id=100 0 0 + mount: pt /nix/persistent/home/user/work/research-round2/crash-tests/fuse-probe/work/mnt-a fuse.pt rw,nosuid,nodev,relatime,user_id=1337,group_id=100 0 0 + write via mount: ok + read via mount: hello-a + underlying root-a: hello-a + fusermount3 -u: ok + daemon exit: 0 +== B: inside unshare -Urm (user+mount namespace) + uid inside: 0 (outside: 0) + mount: pt /home/user/work/research-round2/crash-tests/fuse-probe/work/mnt-b fuse.pt rw,nosuid,nodev,relatime,user_id=0,group_id=0 0 0 + write via mount: ok + read via mount: hello-b + underlying root-b: hello-b + unshare exit: 8 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/redb-crash/Cargo.lock b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/redb-crash/Cargo.lock new file mode 100644 index 0000000000..d6f5feee63 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/redb-crash/Cargo.lock @@ -0,0 +1,25 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "libc" +version = "0.2.190" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78" + +[[package]] +name = "redb" +version = "4.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb338a6c67830a61bed824b78c2bb034ab1ff401a20616bd7957524f4fdc2f22" +dependencies = [ + "libc", +] + +[[package]] +name = "redb-crash" +version = "0.0.0" +dependencies = [ + "redb", +] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/redb-crash/Cargo.toml b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/redb-crash/Cargo.toml new file mode 100644 index 0000000000..7669418428 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/redb-crash/Cargo.toml @@ -0,0 +1,12 @@ +[package] +name = "redb-crash" +version = "0.0.0" +edition = "2024" +rust-version = "1.97" +publish = false + +[dependencies] +redb = "=4.3.0" + +# Own workspace, so the crate is not pulled into any parent workspace. +[workspace] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/redb-crash/corpus/redb-crash-corpus.tsv b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/redb-crash/corpus/redb-crash-corpus.tsv new file mode 100644 index 0000000000..e057c87088 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/redb-crash/corpus/redb-crash-corpus.tsv @@ -0,0 +1,201 @@ +# Static crash corpus, replayed by tests/replay.rs. One crash point per line. +# expect=ok: either valid prefix (ok_acked or ok_acked_plus_one). Other values must match exactly. +# Faithful rows: every crash point whose reopened state was not simply the acknowledged one +# (in-flight commit visible, or no commit acknowledged yet). Control rows (lying_sync=1): one sample of each +# failing verdict, proving the oracle still fails lost durability. +# name lying_sync event survive tear sync_completed seed expect +faithful-2-write-Keep-Off-sc0 0 2 Keep Off 0 8361847590266283331 open_error_pre_commit +faithful-2-write-Reorder-Off-sc0 0 2 Reorder Off 0 12847895688012758659 open_error_pre_commit +faithful-2-write-Drop-Byte-sc0 0 2 Drop Byte 0 283545940951472360 open_error_pre_commit +faithful-2-write-Keep-Byte-sc0 0 2 Keep Byte 0 16743392734764332446 open_error_pre_commit +faithful-2-write-Random-Byte-sc0 0 2 Random Byte 0 10203985545584359410 open_error_pre_commit +faithful-2-write-Reorder-Byte-sc0 0 2 Reorder Byte 0 4413419251928811825 open_error_pre_commit +faithful-2-write-Keep-Sector-sc0 0 2 Keep Sector 0 12488321346544387774 open_error_pre_commit +faithful-2-write-Random-Sector-sc0 0 2 Random Sector 0 3628886295211392483 open_error_pre_commit +faithful-3-sync-Keep-Off-sc0 0 3 Keep Off 0 13181733461238856628 open_error_pre_commit +faithful-3-sync-Drop-Off-sc1 0 3 Drop Off 1 14125433436979177977 open_error_pre_commit +faithful-4-write-Drop-Off-sc0 0 4 Drop Off 0 8298218915660572452 open_error_pre_commit +faithful-4-write-Keep-Off-sc0 0 4 Keep Off 0 2164534462834122148 open_error_pre_commit +faithful-4-write-Random-Off-sc0 0 4 Random Off 0 18437047743522589496 open_error_pre_commit +faithful-4-write-Reorder-Off-sc0 0 4 Reorder Off 0 13744174975128628763 open_error_pre_commit +faithful-4-write-Drop-Sector-sc0 0 4 Drop Sector 0 10933956566130174471 open_error_pre_commit +faithful-4-write-Keep-Sector-sc0 0 4 Keep Sector 0 15186231919485255384 open_error_pre_commit +faithful-4-write-Random-Sector-sc0 0 4 Random Sector 0 8999802954715218159 open_error_pre_commit +faithful-4-write-Reorder-Sector-sc0 0 4 Reorder Sector 0 3594022018564067379 open_error_pre_commit +faithful-5-sync-Drop-Off-sc0 0 5 Drop Off 0 16816190659201883630 open_error_pre_commit +faithful-5-sync-Reorder-Off-sc0 0 5 Reorder Off 0 17493543810667717580 open_error_pre_commit +faithful-19-write-Keep-Byte-sc0 0 19 Keep Byte 0 15504103307926617233 ok +faithful-19-write-Keep-Sector-sc0 0 19 Keep Sector 0 14438227884836799269 ok +faithful-20-sync-Keep-Off-sc0 0 20 Keep Off 0 3434552994526458292 ok +faithful-20-sync-Drop-Off-sc1 0 20 Drop Off 1 248628394465833924 ok +faithful-27-write-Keep-Byte-sc0 0 27 Keep Byte 0 489078435782343973 ok +faithful-27-write-Keep-Sector-sc0 0 27 Keep Sector 0 13509320034725664642 ok +faithful-28-sync-Keep-Off-sc0 0 28 Keep Off 0 11338523420196340667 ok +faithful-28-sync-Drop-Off-sc1 0 28 Drop Off 1 700649371801333113 ok +faithful-36-write-Keep-Byte-sc0 0 36 Keep Byte 0 1073056976835893526 ok +faithful-36-write-Reorder-Byte-sc0 0 36 Reorder Byte 0 12024899070807031009 ok +faithful-36-write-Keep-Sector-sc0 0 36 Keep Sector 0 8954115610872055338 ok +faithful-37-sync-Keep-Off-sc0 0 37 Keep Off 0 13962187052594835106 ok +faithful-37-sync-Drop-Off-sc1 0 37 Drop Off 1 13522350183912501025 ok +faithful-48-sync-Keep-Off-sc0 0 48 Keep Off 0 15679062808376293615 ok +faithful-48-sync-Drop-Off-sc1 0 48 Drop Off 1 18359149166507225746 ok +faithful-57-write-Keep-Byte-sc0 0 57 Keep Byte 0 9523275287782354275 ok +faithful-57-write-Keep-Sector-sc0 0 57 Keep Sector 0 12213324642289485882 ok +faithful-58-sync-Keep-Off-sc0 0 58 Keep Off 0 9494113824375037356 ok +faithful-58-sync-Drop-Off-sc1 0 58 Drop Off 1 1173764370998105968 ok +faithful-59-set_len-Drop-Off-sc0 0 59 Drop Off 0 9675086961158200550 ok +faithful-59-set_len-Keep-Off-sc0 0 59 Keep Off 0 18343344445377204566 ok +faithful-59-set_len-Random-Off-sc0 0 59 Random Off 0 16458820088970563762 ok +faithful-59-set_len-Reorder-Off-sc0 0 59 Reorder Off 0 17386178431295624566 ok +faithful-69-write-Keep-Byte-sc0 0 69 Keep Byte 0 8220142193048694755 ok +faithful-70-sync-Keep-Off-sc0 0 70 Keep Off 0 4037893128233546875 ok +faithful-70-sync-Drop-Off-sc1 0 70 Drop Off 1 11418664529484167149 ok +faithful-81-sync-Keep-Off-sc0 0 81 Keep Off 0 2930090195686362505 ok +faithful-81-sync-Drop-Off-sc1 0 81 Drop Off 1 5468827417533922114 ok +faithful-94-write-Keep-Byte-sc0 0 94 Keep Byte 0 15111290307545219460 ok +faithful-94-write-Keep-Sector-sc0 0 94 Keep Sector 0 9032178906902000325 ok +faithful-95-sync-Keep-Off-sc0 0 95 Keep Off 0 6571994649100958089 ok +faithful-95-sync-Drop-Off-sc1 0 95 Drop Off 1 15553688983465545035 ok +faithful-107-write-Keep-Byte-sc0 0 107 Keep Byte 0 1685348835776853444 ok +faithful-107-write-Keep-Sector-sc0 0 107 Keep Sector 0 14714397222495690956 ok +faithful-108-sync-Keep-Off-sc0 0 108 Keep Off 0 2946163249927435054 ok +faithful-108-sync-Drop-Off-sc1 0 108 Drop Off 1 10222258035246163952 ok +faithful-123-write-Keep-Byte-sc0 0 123 Keep Byte 0 13123940783640074100 ok +faithful-123-write-Keep-Sector-sc0 0 123 Keep Sector 0 8290141613974244281 ok +faithful-124-sync-Keep-Off-sc0 0 124 Keep Off 0 6918133469863954762 ok +faithful-124-sync-Drop-Off-sc1 0 124 Drop Off 1 8219154544371537832 ok +faithful-136-write-Keep-Byte-sc0 0 136 Keep Byte 0 14950733406603351597 ok +faithful-136-write-Keep-Sector-sc0 0 136 Keep Sector 0 15426643891416011518 ok +faithful-137-sync-Keep-Off-sc0 0 137 Keep Off 0 18059055659301111446 ok +faithful-137-sync-Drop-Off-sc1 0 137 Drop Off 1 11670476942029156616 ok +faithful-149-write-Keep-Byte-sc0 0 149 Keep Byte 0 12777398887419732391 ok +faithful-149-write-Keep-Sector-sc0 0 149 Keep Sector 0 9408096718594610150 ok +faithful-150-sync-Keep-Off-sc0 0 150 Keep Off 0 14964411507835406432 ok +faithful-150-sync-Drop-Off-sc1 0 150 Drop Off 1 17678459054848578891 ok +faithful-165-sync-Keep-Off-sc0 0 165 Keep Off 0 9559187864972879549 ok +faithful-165-sync-Drop-Off-sc1 0 165 Drop Off 1 1364893903502039169 ok +faithful-177-sync-Keep-Off-sc0 0 177 Keep Off 0 165712780531803312 ok +faithful-177-sync-Drop-Off-sc1 0 177 Drop Off 1 13118932286680774374 ok +faithful-191-sync-Keep-Off-sc0 0 191 Keep Off 0 3314942474309498170 ok +faithful-191-sync-Drop-Off-sc1 0 191 Drop Off 1 15428210791079498511 ok +faithful-205-sync-Keep-Off-sc0 0 205 Keep Off 0 2767572030511613639 ok +faithful-205-sync-Drop-Off-sc1 0 205 Drop Off 1 9769833335015313876 ok +faithful-217-write-Keep-Byte-sc0 0 217 Keep Byte 0 10165495554913995583 ok +faithful-217-write-Keep-Sector-sc0 0 217 Keep Sector 0 6574255339552376152 ok +faithful-218-sync-Keep-Off-sc0 0 218 Keep Off 0 7613657584403281639 ok +faithful-218-sync-Drop-Off-sc1 0 218 Drop Off 1 11312226568981675277 ok +faithful-231-sync-Keep-Off-sc0 0 231 Keep Off 0 4179947301599908476 ok +faithful-231-sync-Drop-Off-sc1 0 231 Drop Off 1 5116040892678099876 ok +faithful-243-write-Keep-Byte-sc0 0 243 Keep Byte 0 8762325739276123989 ok +faithful-243-write-Keep-Sector-sc0 0 243 Keep Sector 0 14686548414178289833 ok +faithful-244-sync-Keep-Off-sc0 0 244 Keep Off 0 16049756442543728845 ok +faithful-244-sync-Drop-Off-sc1 0 244 Drop Off 1 14913930202841904312 ok +faithful-261-sync-Keep-Off-sc0 0 261 Keep Off 0 15410999506478148281 ok +faithful-261-sync-Drop-Off-sc1 0 261 Drop Off 1 14685771586452083517 ok +faithful-274-write-Keep-Byte-sc0 0 274 Keep Byte 0 1027727624881511450 ok +faithful-274-write-Keep-Sector-sc0 0 274 Keep Sector 0 11518605028972043358 ok +faithful-275-sync-Keep-Off-sc0 0 275 Keep Off 0 17564594471607792374 ok +faithful-275-sync-Drop-Off-sc1 0 275 Drop Off 1 9778001308018100343 ok +faithful-287-write-Keep-Byte-sc0 0 287 Keep Byte 0 14795918076150292015 ok +faithful-287-write-Keep-Sector-sc0 0 287 Keep Sector 0 11478542050470025085 ok +faithful-288-sync-Keep-Off-sc0 0 288 Keep Off 0 17499486084261253324 ok +faithful-288-sync-Drop-Off-sc1 0 288 Drop Off 1 5239927348426128291 ok +faithful-300-write-Keep-Byte-sc0 0 300 Keep Byte 0 8423053430665334237 ok +faithful-300-write-Keep-Sector-sc0 0 300 Keep Sector 0 15061140238467577501 ok +faithful-301-sync-Keep-Off-sc0 0 301 Keep Off 0 17733580308414340619 ok +faithful-301-sync-Drop-Off-sc1 0 301 Drop Off 1 5211028791590337658 ok +faithful-313-write-Keep-Byte-sc0 0 313 Keep Byte 0 3037625008198164740 ok +faithful-313-write-Keep-Sector-sc0 0 313 Keep Sector 0 1373482300176920429 ok +faithful-314-sync-Keep-Off-sc0 0 314 Keep Off 0 4953113174899879966 ok +faithful-314-sync-Drop-Off-sc1 0 314 Drop Off 1 6759712572993840875 ok +faithful-328-write-Keep-Byte-sc0 0 328 Keep Byte 0 11194853154052585179 ok +faithful-328-write-Keep-Sector-sc0 0 328 Keep Sector 0 8109119208554312001 ok +faithful-329-sync-Keep-Off-sc0 0 329 Keep Off 0 8727075937931132163 ok +faithful-329-sync-Drop-Off-sc1 0 329 Drop Off 1 5976117347785219753 ok +faithful-341-write-Keep-Sector-sc0 0 341 Keep Sector 0 12239801341686695436 ok +faithful-342-sync-Keep-Off-sc0 0 342 Keep Off 0 16800024510819511144 ok +faithful-342-sync-Drop-Off-sc1 0 342 Drop Off 1 14093191172629087699 ok +faithful-355-sync-Keep-Off-sc0 0 355 Keep Off 0 2135523320153524703 ok +faithful-355-sync-Drop-Off-sc1 0 355 Drop Off 1 14887425370155211652 ok +faithful-368-sync-Keep-Off-sc0 0 368 Keep Off 0 2844921087868708809 ok +faithful-368-sync-Drop-Off-sc1 0 368 Drop Off 1 6627846757575278609 ok +faithful-381-write-Keep-Byte-sc0 0 381 Keep Byte 0 25144791087050926 ok +faithful-381-write-Keep-Sector-sc0 0 381 Keep Sector 0 14844884227816705147 ok +faithful-382-sync-Keep-Off-sc0 0 382 Keep Off 0 5299297645456731254 ok +faithful-382-sync-Drop-Off-sc1 0 382 Drop Off 1 8071622813456534514 ok +faithful-397-write-Keep-Byte-sc0 0 397 Keep Byte 0 13401847063454727570 ok +faithful-398-sync-Keep-Off-sc0 0 398 Keep Off 0 11013033131369215977 ok +faithful-398-sync-Drop-Off-sc1 0 398 Drop Off 1 17049793796448489352 ok +faithful-410-write-Keep-Byte-sc0 0 410 Keep Byte 0 15709413014075130138 ok +faithful-411-sync-Keep-Off-sc0 0 411 Keep Off 0 3148868089662419054 ok +faithful-411-sync-Drop-Off-sc1 0 411 Drop Off 1 3428671922817942757 ok +faithful-424-write-Keep-Byte-sc0 0 424 Keep Byte 0 668735674563156536 ok +faithful-424-write-Keep-Sector-sc0 0 424 Keep Sector 0 16490184956529659223 ok +faithful-425-sync-Keep-Off-sc0 0 425 Keep Off 0 429617051979138127 ok +faithful-425-sync-Drop-Off-sc1 0 425 Drop Off 1 14270816430264841618 ok +faithful-439-sync-Keep-Off-sc0 0 439 Keep Off 0 16169496523120911886 ok +faithful-439-sync-Drop-Off-sc1 0 439 Drop Off 1 9188697822836266542 ok +faithful-452-write-Keep-Byte-sc0 0 452 Keep Byte 0 5780067073457772263 ok +faithful-452-write-Keep-Sector-sc0 0 452 Keep Sector 0 14102049534020219195 ok +faithful-453-sync-Keep-Off-sc0 0 453 Keep Off 0 13031044308285868302 ok +faithful-453-sync-Drop-Off-sc1 0 453 Drop Off 1 2882071577155939035 ok +faithful-465-write-Keep-Byte-sc0 0 465 Keep Byte 0 5700901950662597717 ok +faithful-465-write-Keep-Sector-sc0 0 465 Keep Sector 0 3826291906098318273 ok +faithful-466-sync-Keep-Off-sc0 0 466 Keep Off 0 1006734255125521498 ok +faithful-466-sync-Drop-Off-sc1 0 466 Drop Off 1 5353748797323716210 ok +faithful-480-write-Keep-Byte-sc0 0 480 Keep Byte 0 13683164868141865320 ok +faithful-481-sync-Keep-Off-sc0 0 481 Keep Off 0 5323142917548978985 ok +faithful-481-sync-Drop-Off-sc1 0 481 Drop Off 1 5786985714372432443 ok +faithful-494-sync-Keep-Off-sc0 0 494 Keep Off 0 10471707079125028710 ok +faithful-494-sync-Drop-Off-sc1 0 494 Drop Off 1 17207551308796615945 ok +faithful-506-write-Keep-Byte-sc0 0 506 Keep Byte 0 10201984596077993886 ok +faithful-506-write-Keep-Sector-sc0 0 506 Keep Sector 0 4822098108530114422 ok +faithful-507-sync-Keep-Off-sc0 0 507 Keep Off 0 9672740012124895296 ok +faithful-507-sync-Drop-Off-sc1 0 507 Drop Off 1 18089359206210032078 ok +faithful-519-write-Keep-Byte-sc0 0 519 Keep Byte 0 6624644079780565771 ok +faithful-519-write-Keep-Sector-sc0 0 519 Keep Sector 0 7402588503920285794 ok +faithful-520-sync-Keep-Off-sc0 0 520 Keep Off 0 3313691569763021634 ok +faithful-520-sync-Drop-Off-sc1 0 520 Drop Off 1 7854700345702928729 ok +faithful-537-sync-Keep-Off-sc0 0 537 Keep Off 0 11525369460782551602 ok +faithful-537-sync-Drop-Off-sc1 0 537 Drop Off 1 537465236528846406 ok +faithful-551-sync-Keep-Off-sc0 0 551 Keep Off 0 7720523294221888640 ok +faithful-551-sync-Drop-Off-sc1 0 551 Drop Off 1 8999766921682538331 ok +faithful-564-write-Keep-Byte-sc0 0 564 Keep Byte 0 9562704417615410073 ok +faithful-564-write-Keep-Sector-sc0 0 564 Keep Sector 0 8304621564250507817 ok +faithful-565-sync-Keep-Off-sc0 0 565 Keep Off 0 3891975874225753435 ok +faithful-565-sync-Drop-Off-sc1 0 565 Drop Off 1 6680472255517198529 ok +faithful-578-sync-Keep-Off-sc0 0 578 Keep Off 0 10063753951762353232 ok +faithful-578-sync-Drop-Off-sc1 0 578 Drop Off 1 16956484774544814819 ok +faithful-590-write-Keep-Byte-sc0 0 590 Keep Byte 0 12549703445188094607 ok +faithful-590-write-Keep-Sector-sc0 0 590 Keep Sector 0 15504913191197502409 ok +faithful-591-sync-Keep-Off-sc0 0 591 Keep Off 0 16664945633311188789 ok +faithful-591-sync-Drop-Off-sc1 0 591 Drop Off 1 14194124368278569982 ok +faithful-603-write-Keep-Byte-sc0 0 603 Keep Byte 0 13494384674233288228 ok +faithful-603-write-Keep-Sector-sc0 0 603 Keep Sector 0 3125872347951656207 ok +faithful-604-sync-Keep-Off-sc0 0 604 Keep Off 0 1838080068766380043 ok +faithful-604-sync-Drop-Off-sc1 0 604 Drop Off 1 7417681231079457106 ok +faithful-617-write-Keep-Sector-sc0 0 617 Keep Sector 0 5776061745722100082 ok +faithful-618-sync-Keep-Off-sc0 0 618 Keep Off 0 16761848934835256560 ok +faithful-618-sync-Drop-Off-sc1 0 618 Drop Off 1 14807426911342131009 ok +faithful-630-write-Keep-Sector-sc0 0 630 Keep Sector 0 14902217305235499312 ok +faithful-631-sync-Keep-Off-sc0 0 631 Keep Off 0 676641572010283968 ok +faithful-631-sync-Drop-Off-sc1 0 631 Drop Off 1 10143299821640326643 ok +faithful-643-write-Keep-Byte-sc0 0 643 Keep Byte 0 1677743768162387066 ok +faithful-643-write-Keep-Sector-sc0 0 643 Keep Sector 0 3080154773598987579 ok +faithful-644-sync-Keep-Off-sc0 0 644 Keep Off 0 2620670293291397668 ok +faithful-644-sync-Drop-Off-sc1 0 644 Drop Off 1 7462307981577524081 ok +faithful-658-write-Keep-Sector-sc0 0 658 Keep Sector 0 4641021199136130516 ok +faithful-659-sync-Keep-Off-sc0 0 659 Keep Off 0 3117361145260860315 ok +faithful-659-sync-Drop-Off-sc1 0 659 Drop Off 1 265010668171263762 ok +faithful-674-write-Keep-Byte-sc0 0 674 Keep Byte 0 7507284022121539747 ok +faithful-674-write-Keep-Sector-sc0 0 674 Keep Sector 0 4338418794906055426 ok +faithful-675-sync-Keep-Off-sc0 0 675 Keep Off 0 4584996403999602593 ok +faithful-675-sync-Drop-Off-sc1 0 675 Drop Off 1 9676419116182991924 ok +control-ok_acked_plus_one-19-write-Keep-1 1 19 Keep Byte 0 15504103307926617233 ok_acked_plus_one +control-ok_acked_plus_one-19-write-Keep-2 1 19 Keep Sector 0 14438227884836799269 ok_acked_plus_one +control-lost_committed-21-write-Drop-1 1 21 Drop Off 0 443894039808895662 lost_committed +control-lost_committed-21-write-Random-2 1 21 Random Off 0 12310743265758587808 lost_committed +control-open_error-21-write-Reorder-1 1 21 Reorder Off 0 9550841287782738135 open_error +control-open_error-21-write-Drop-2 1 21 Drop Byte 0 2390098490884626015 open_error +control-panic-683-write-Reorder-1 1 683 Reorder Byte 0 16391084065023403325 panic +control-panic-684-sync-Random-2 1 684 Random Off 0 18273772749764122265 panic diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/redb-crash/src/bin/sweep.rs b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/redb-crash/src/bin/sweep.rs new file mode 100644 index 0000000000..66a998ff3b --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/redb-crash/src/bin/sweep.rs @@ -0,0 +1,218 @@ +//! Crash sweep. Every storage call of the 50-transaction workload is a crash point. Each crash +//! point runs under every survival policy, and writes also run under every tear mode. +//! +//! Usage: sweep [--lying-sync] [--threads N] [--out DIR] +//! --lying-sync control run: sync_data reports success without making data durable. +//! The oracle must fail these runs, or it is not testing durability. + +use redb_crash::faultfs::{Kind, Plan, Survive, Tear, splitmix}; +use redb_crash::harness::{Outcome, Verdict, run_one}; +use redb_crash::workload; +use std::collections::{BTreeMap, BTreeSet}; +use std::fmt::Write as _; +use std::path::PathBuf; + +const SURVIVE: [Survive; 4] = [Survive::Drop, Survive::Keep, Survive::Random, Survive::Reorder]; +const TEAR: [Tear; 3] = [Tear::Off, Tear::Byte, Tear::Sector]; + +fn survive_name(s: Survive) -> &'static str { + match s { + Survive::Drop => "Drop", + Survive::Keep => "Keep", + Survive::Random => "Random", + Survive::Reorder => "Reorder", + } +} + +fn tear_name(t: Tear) -> &'static str { + match t { + Tear::Off => "Off", + Tear::Byte => "Byte", + Tear::Sector => "Sector", + } +} + +fn kind_name(k: Kind) -> &'static str { + match k { + Kind::Write => "write", + Kind::SetLen => "set_len", + Kind::Sync => "sync", + } +} + +/// Every plan for one crash point. Writes get each survival policy with each tear mode (12). +/// set_len gets each survival policy (4). A sync gets each survival policy with the sync lost, +/// plus one run where the sync finished and power was lost right after it (5). +fn plans_for(event: u64, kind: Kind) -> Vec { + let mut out = Vec::new(); + let mut variant = 0u64; + let mut push = |survive, tear, sync_completed| { + variant += 1; + let seed = splitmix(event * 64 + variant); + out.push(Plan { event, survive, tear, sync_completed, seed }); + }; + match kind { + Kind::Write => { + for tear in TEAR { + for survive in SURVIVE { + push(survive, tear, false); + } + } + } + Kind::SetLen => { + for survive in SURVIVE { + push(survive, Tear::Off, false); + } + } + Kind::Sync => { + for survive in SURVIVE { + push(survive, Tear::Off, false); + } + push(Survive::Drop, Tear::Off, true); + } + } + out +} + +fn value(args: &[String], flag: &str) -> Option { + args.iter().position(|a| a == flag).and_then(|i| args.get(i + 1).cloned()) +} + +fn main() { + // A panic is a verdict, not a reason to stop the sweep. Keep stderr quiet. + std::panic::set_hook(Box::new(|_| {})); + let args: Vec = std::env::args().collect(); + let lying = args.iter().any(|a| a == "--lying-sync"); + let threads: usize = value(&args, "--threads").map_or(4, |v| v.parse().expect("--threads N")); + let out_dir = PathBuf::from(value(&args, "--out").unwrap_or_else(|| "results".into())); + let label = if lying { "lying-sync-control" } else { "faithful" }; + std::fs::create_dir_all(&out_dir).expect("create output dir"); + + let models = workload::models(); + let (clean, trace) = run_one(None, lying, &models); + println!( + "clean run (no cut): verdict={} acked={} storage_calls={}", + clean.verdict.name(), + clean.acked, + trace.len() + ); + let mut per_kind: BTreeMap<&str, u64> = BTreeMap::new(); + for (k, _, _) in &trace { + *per_kind.entry(kind_name(*k)).or_default() += 1; + } + println!("crash points (one per storage call): {} {:?}", trace.len(), per_kind); + + let jobs: Vec = trace + .iter() + .enumerate() + .flat_map(|(i, (k, _, _))| plans_for(i as u64 + 1, *k)) + .collect(); + let chunk = jobs.len().div_ceil(threads.max(1)); + let rows: Vec<(Plan, Outcome)> = std::thread::scope(|s| { + let handles: Vec<_> = jobs + .chunks(chunk) + .map(|part| { + let models = ⊧ + s.spawn(move || { + part.iter() + .map(|p| (*p, run_one(Some(*p), lying, models).0)) + .collect::>() + }) + }) + .collect(); + handles + .into_iter() + .flat_map(|h| h.join().expect("worker thread panicked")) + .collect() + }); + + let kind_of = |event: u64| trace[event as usize - 1].0; + let mut tsv = String::from( + "event\tkind\tsurvive\ttear\tsync_completed\tseed\tacked\tverdict\trepairs\tdetail\n", + ); + for (p, o) in &rows { + writeln!( + tsv, + "{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}", + p.event, + kind_name(kind_of(p.event)), + survive_name(p.survive), + tear_name(p.tear), + u8::from(p.sync_completed), + p.seed, + o.acked, + o.verdict.name(), + o.repairs, + o.detail.replace(['\t', '\n'], " ") + ) + .unwrap(); + } + std::fs::write(out_dir.join(format!("sweep-{label}.tsv")), tsv).unwrap(); + + let mut by_verdict: BTreeMap<&str, u64> = BTreeMap::new(); + let mut by_kind_verdict: BTreeMap<(&str, &str), u64> = BTreeMap::new(); + let mut repair_runs = 0u64; + let mut repair_calls = 0u64; + let mut failing_points: BTreeSet = BTreeSet::new(); + let mut failures: Vec<&(Plan, Outcome)> = Vec::new(); + for row in &rows { + let (p, o) = row; + *by_verdict.entry(o.verdict.name()).or_default() += 1; + *by_kind_verdict + .entry((kind_name(kind_of(p.event)), o.verdict.name())) + .or_default() += 1; + if o.repairs > 0 { + repair_runs += 1; + repair_calls += o.repairs; + } + if o.verdict.is_failure() { + failing_points.insert(p.event); + failures.push(row); + } + } + println!("runs: {} (control: {})", rows.len(), lying); + println!("verdicts: {by_verdict:?}"); + for ((k, v), n) in &by_kind_verdict { + println!(" {k:<8} {v:<22} {n}"); + } + println!("reopens that ran redb repair: {repair_runs} runs, {repair_calls} callbacks"); + println!( + "failing runs: {} at {} distinct crash points", + failures.len(), + failing_points.len() + ); + + let mut corpus = String::from( + "# name\tlying_sync\tevent\tsurvive\ttear\tsync_completed\tseed\texpect\n", + ); + for (i, (p, o)) in failures.iter().map(|r| (&r.0, &r.1)).enumerate() { + writeln!( + corpus, + "{label}-{i:03}\t{}\t{}\t{}\t{}\t{}\t{}\t{}", + u8::from(lying), + p.event, + survive_name(p.survive), + tear_name(p.tear), + u8::from(p.sync_completed), + p.seed, + o.verdict.name() + ) + .unwrap(); + } + std::fs::write(out_dir.join(format!("failures-{label}.tsv")), corpus).unwrap(); + for (p, o) in failures.iter().take(10) { + println!( + " FAIL event={} ({}) survive={} tear={} sync_completed={} seed={} verdict={} acked={} detail={}", + p.event, + kind_name(kind_of(p.event)), + survive_name(p.survive), + tear_name(p.tear), + p.sync_completed, + p.seed, + o.verdict.name(), + o.acked, + o.detail + ); + } + let _ = Verdict::Panic; // keep the public verdict list in scope for readers of this file +} diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/redb-crash/src/faultfs.rs b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/redb-crash/src/faultfs.rs new file mode 100644 index 0000000000..9b7025cbef --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/redb-crash/src/faultfs.rs @@ -0,0 +1,265 @@ +//! Power-loss model behind redb's `StorageBackend`. +//! +//! `write` and `set_len` calls wait in `pending` until a `sync_data` call completes. A power cut +//! keeps the durable bytes plus the unsynced operations that `Survive` selects, applied in issue +//! order (`Keep`, `Random`) or shuffled (`Reorder`). The write in flight at the cut can be torn: +//! only a prefix of its bytes lands. After the cut every call returns `Ok` and does nothing, as +//! redb's own `CrashBackend` does (src/db.rs). The caller must stop counting work once `cut()` +//! is true, because the process it models is dead. + +use redb::StorageBackend; +use std::io; +use std::sync::{Arc, Mutex, MutexGuard}; + +/// Which unsynced operations reach the disk at a power cut. +#[derive(Clone, Copy, Debug, PartialEq, Eq)] +pub enum Survive { + /// None. This is what LazyFS `clear-cache` does. + Drop, + /// All, in issue order. This is what the kernel does when it writes back before the cut. + Keep, + /// Each one independently, in issue order. + Random, + /// A random subset, in random order. Stronger than real disks need to be for redb. + Reorder, +} + +/// What lands of the write in flight at the cut (only when the cut lands on a write). +#[derive(Clone, Copy, Debug, PartialEq, Eq)] +pub enum Tear { + Off, + /// A random byte prefix, from 0 to the full length. + Byte, + /// A random prefix of whole 512-byte sectors. + Sector, +} + +#[derive(Clone, Copy, Debug, PartialEq, Eq)] +pub struct Plan { + /// 1-based index of the storage call on which power is lost. + pub event: u64, + pub survive: Survive, + pub tear: Tear, + /// Only for a sync cut: true means the sync finished before power was lost. + pub sync_completed: bool, + pub seed: u64, +} + +#[derive(Clone, Copy, Debug, PartialEq, Eq)] +pub enum Kind { + Write, + SetLen, + Sync, +} + +#[derive(Clone, Debug)] +enum Op { + Write { offset: u64, data: Vec }, + SetLen(u64), +} + +#[derive(Debug, Default)] +struct State { + /// What the process sees: durable bytes with every pending operation applied. + live: Vec, + /// What a sync has made durable. + durable: Vec, + /// Operations issued since the last completed sync. + pending: Vec, + trace: Vec<(Kind, u64, usize)>, + plan: Option, + /// When true, `sync_data` returns `Ok` without making anything durable (a control). + lying_sync: bool, + cut: bool, + /// The disk after the cut. + image: Vec, +} + +/// Cloneable handle. redb owns one clone; the harness keeps another to read the outcome. +#[derive(Clone, Debug)] +pub struct FaultFs(Arc>); + +impl FaultFs { + pub fn new(image: Vec, plan: Option, lying_sync: bool) -> Self { + let state = State { + live: image.clone(), + durable: image, + plan, + lying_sync, + ..State::default() + }; + Self(Arc::new(Mutex::new(state))) + } + + fn lock(&self) -> MutexGuard<'_, State> { + self.0.lock().expect("faultfs state lock") + } + + /// True once the power cut has landed. + pub fn cut(&self) -> bool { + self.lock().cut + } + + /// Every storage call so far, in order: kind, offset (or length for set_len), data length. + pub fn trace(&self) -> Vec<(Kind, u64, usize)> { + self.lock().trace.clone() + } + + /// The disk to reopen: the image at the cut, or the live bytes if no cut happened. + pub fn disk_image(&self) -> Vec { + let st = self.lock(); + if st.cut { st.image.clone() } else { st.live.clone() } + } +} + +pub fn splitmix(x: u64) -> u64 { + let mut z = x.wrapping_add(0x9E37_79B9_7F4A_7C15); + z = (z ^ (z >> 30)).wrapping_mul(0xBF58_476D_1CE4_E5B9); + z = (z ^ (z >> 27)).wrapping_mul(0x94D0_49BB_1331_11EB); + z ^ (z >> 31) +} + +fn keeps(seed: u64, index: usize) -> bool { + splitmix(seed ^ splitmix(index as u64 + 1)) & 1 == 1 +} + +fn apply(image: &mut Vec, op: &Op) { + match op { + Op::Write { offset, data } => { + let start = *offset as usize; + let end = start + data.len(); + if image.len() < end { + image.resize(end, 0); + } + image[start..end].copy_from_slice(data); + } + Op::SetLen(len) => image.resize(*len as usize, 0), + } +} + +/// The disk after a cut that keeps only some unsynced operations. +fn surviving_image(st: &State) -> Vec { + let plan = st.plan.expect("a cut needs a plan"); + let n = st.pending.len(); + let order: Vec = match plan.survive { + Survive::Drop => Vec::new(), + Survive::Keep => (0..n).collect(), + Survive::Random => (0..n).filter(|&i| keeps(plan.seed, i)).collect(), + Survive::Reorder => { + let mut v: Vec = (0..n).filter(|&i| keeps(plan.seed, i)).collect(); + let mut s = plan.seed ^ 0xA5A5_A5A5; + for i in (1..v.len()).rev() { + s = splitmix(s); + v.swap(i, (s % (i as u64 + 1)) as usize); + } + v + } + }; + let mut image = st.durable.clone(); + for i in order { + apply(&mut image, &st.pending[i]); + } + image +} + +fn flush(st: &mut State) { + let State { durable, pending, .. } = st; + for op in pending.drain(..) { + apply(durable, &op); + } +} + +/// Counts a storage call and reports whether the power cut lands on it. +fn tick(st: &mut State, kind: Kind, offset: u64, len: usize) -> bool { + st.trace.push((kind, offset, len)); + st.plan.is_some_and(|p| p.event == st.trace.len() as u64) +} + +impl StorageBackend for FaultFs { + fn len(&self) -> Result { + Ok(self.lock().live.len() as u64) + } + + fn read(&self, offset: u64, out: &mut [u8]) -> Result<(), io::Error> { + let st = self.lock(); + let start = offset as usize; + let end = start + out.len(); + if end > st.live.len() { + return Err(io::Error::new(io::ErrorKind::UnexpectedEof, "read past end")); + } + out.copy_from_slice(&st.live[start..end]); + Ok(()) + } + + fn set_len(&self, len: u64) -> Result<(), io::Error> { + let mut guard = self.lock(); + let st = &mut *guard; + if st.cut { + return Ok(()); + } + if tick(st, Kind::SetLen, len, 0) { + st.image = surviving_image(st); + st.cut = true; + return Ok(()); + } + st.live.resize(len as usize, 0); + st.pending.push(Op::SetLen(len)); + Ok(()) + } + + fn sync_data(&self) -> Result<(), io::Error> { + let mut guard = self.lock(); + let st = &mut *guard; + if st.cut { + return Ok(()); + } + if tick(st, Kind::Sync, 0, 0) { + let plan = st.plan.expect("a cut needs a plan"); + if plan.sync_completed && !st.lying_sync { + flush(st); + st.image = st.durable.clone(); + } else { + st.image = surviving_image(st); + } + st.cut = true; + return Ok(()); + } + if !st.lying_sync { + flush(st); + } + Ok(()) + } + + fn write(&self, offset: u64, data: &[u8]) -> Result<(), io::Error> { + let mut guard = self.lock(); + let st = &mut *guard; + if st.cut { + return Ok(()); + } + if tick(st, Kind::Write, offset, data.len()) { + let plan = st.plan.expect("a cut needs a plan"); + let mut image = surviving_image(st); + let landed = match plan.tear { + Tear::Off => 0, + Tear::Byte => (splitmix(plan.seed ^ 0x51) % (data.len() as u64 + 1)) as usize, + Tear::Sector => { + let sectors = (data.len() / 512) as u64; + (splitmix(plan.seed ^ 0x52) % (sectors + 1)) as usize * 512 + } + }; + if landed > 0 { + apply(&mut image, &Op::Write { offset, data: data[..landed].to_vec() }); + } + st.image = image; + st.cut = true; + return Ok(()); + } + let end = offset as usize + data.len(); + if st.live.len() < end { + st.live.resize(end, 0); + } + st.live[offset as usize..end].copy_from_slice(data); + st.pending.push(Op::Write { offset, data: data.to_vec() }); + Ok(()) + } +} diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/redb-crash/src/harness.rs b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/redb-crash/src/harness.rs new file mode 100644 index 0000000000..a3745412a0 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/redb-crash/src/harness.rs @@ -0,0 +1,230 @@ +//! Runs the workload with one power-cut plan, reopens the disk image, and classifies the result. +//! +//! Acknowledged = a commit that returned `Ok` before the cut. A commit in flight at the cut is +//! not acknowledged. The reopened state must be the model after `acked` transactions, or after +//! `acked + 1` (the in-flight one may have become durable). Anything else is a failure. + +use crate::faultfs::{FaultFs, Kind, Plan}; +use crate::workload::{self, Model, TXNS}; +use redb::Database; +use std::any::Any; +use std::panic::{self, AssertUnwindSafe}; +use std::sync::Arc; +use std::sync::atomic::{AtomicU64, Ordering}; + +#[derive(Clone, Copy, Debug, PartialEq, Eq)] +pub enum Verdict { + /// Reopened state is the model after every acknowledged commit. + OkAcked, + /// Reopened state includes the in-flight commit as well. + OkAckedPlusOne, + /// The image does not open, but no commit had been acknowledged yet. Not data loss; reported. + OpenErrorPreCommit, + /// Reopened state is an older prefix than the acknowledged one. + LostCommitted, + /// Reopened state matches no prefix of the workload (for example, half of a batch). + Partial, + /// Reopened state is a later prefix than the in-flight commit. Cannot happen if the cut works. + Future, + /// The image did not open, or a read failed, after acknowledged commits. + OpenError, + /// `check_integrity` returned false or failed. + Integrity, + /// A commit after recovery failed, or the state did not survive a clean reopen. + PostRecovery, + /// The workload returned an error although no cut happened. + NoCrashError, + /// The workload panicked before the cut. + Panic, +} + +impl Verdict { + pub fn name(self) -> &'static str { + match self { + Verdict::OkAcked => "ok_acked", + Verdict::OkAckedPlusOne => "ok_acked_plus_one", + Verdict::OpenErrorPreCommit => "open_error_pre_commit", + Verdict::LostCommitted => "lost_committed", + Verdict::Partial => "partial", + Verdict::Future => "future", + Verdict::OpenError => "open_error", + Verdict::Integrity => "integrity", + Verdict::PostRecovery => "post_recovery", + Verdict::NoCrashError => "no_crash_error", + Verdict::Panic => "panic", + } + } + + pub fn is_failure(self) -> bool { + !matches!( + self, + Verdict::OkAcked | Verdict::OkAckedPlusOne | Verdict::OpenErrorPreCommit + ) + } + + pub fn from_name(name: &str) -> Option { + [ + Verdict::OkAcked, + Verdict::OkAckedPlusOne, + Verdict::OpenErrorPreCommit, + Verdict::LostCommitted, + Verdict::Partial, + Verdict::Future, + Verdict::OpenError, + Verdict::Integrity, + Verdict::PostRecovery, + Verdict::NoCrashError, + Verdict::Panic, + ] + .into_iter() + .find(|v| v.name() == name) + } +} + +#[derive(Debug)] +pub struct Outcome { + pub verdict: Verdict, + pub acked: u64, + /// Repair callbacks redb ran while reopening the image. + pub repairs: u64, + pub detail: String, +} + +fn run_workload(fs: &FaultFs, acked: &mut u64) -> Result<(), String> { + let db = Database::builder() + .create_with_backend(fs.clone()) + .map_err(|e| format!("create: {e}"))?; + for b in 0..TXNS { + let result = workload::commit(&db, &workload::txn_ops(b)); + if fs.cut() { + // The process died inside this call. The commit is not acknowledged. + return Ok(()); + } + result.map_err(|e| format!("commit {b}: {e}"))?; + *acked = b + 1; + } + drop(db); // a clean close; its writes are storage calls too + Ok(()) +} + +fn post_recovery(db: Database, backing: &FaultFs, expected: &Model) -> Result<(), String> { + let txn = db.begin_write().map_err(|e| format!("begin: {e}"))?; + { + let mut meta = txn + .open_table(workload::META) + .map_err(|e| format!("open meta: {e}"))?; + meta.insert(b"post-recovery".as_slice(), b"ok".as_slice()) + .map_err(|e| format!("insert: {e}"))?; + } + txn.commit().map_err(|e| format!("commit: {e}"))?; + drop(db); + let again = Database::builder() + .create_with_backend(FaultFs::new(backing.disk_image(), None, false)) + .map_err(|e| format!("reopen: {e}"))?; + let mut want = expected.clone(); + want.insert((workload::META_TAG, b"post-recovery".to_vec()), b"ok".to_vec()); + let got = workload::dump(&again).map_err(|e| format!("dump: {e}"))?; + if got == want { + Ok(()) + } else { + Err("state after the post-recovery commit and clean reopen differs".into()) + } +} + +fn verify(image: Vec, acked: u64, models: &[Model]) -> Outcome { + let reopened = FaultFs::new(image, None, false); + let repairs = Arc::new(AtomicU64::new(0)); + let counter = Arc::clone(&repairs); + let mut builder = Database::builder(); + builder.set_repair_callback(move |_| { + counter.fetch_add(1, Ordering::SeqCst); + }); + let outcome = |verdict: Verdict, detail: String| Outcome { + verdict, + acked, + repairs: repairs.load(Ordering::SeqCst), + detail, + }; + let mut db = match builder.create_with_backend(reopened.clone()) { + Ok(db) => db, + Err(e) => { + let verdict = if acked == 0 { + Verdict::OpenErrorPreCommit + } else { + Verdict::OpenError + }; + return outcome(verdict, format!("open: {e}")); + } + }; + let state = match workload::dump(&db) { + Ok(state) => state, + Err(e) => return outcome(Verdict::OpenError, format!("dump: {e}")), + }; + let n = acked as usize; + let verdict = if state == models[n] { + Verdict::OkAcked + } else if n + 1 < models.len() && state == models[n + 1] { + Verdict::OkAckedPlusOne + } else if models[..n].contains(&state) { + Verdict::LostCommitted + } else if models.iter().skip(n + 2).any(|m| *m == state) { + Verdict::Future + } else { + Verdict::Partial + }; + if verdict.is_failure() { + return outcome(verdict, String::new()); + } + match db.check_integrity() { + Ok(true) => {} + Ok(false) => return outcome(Verdict::Integrity, "check_integrity returned false".into()), + Err(e) => return outcome(Verdict::Integrity, format!("check_integrity: {e}")), + } + if let Err(e) = post_recovery(db, &reopened, &state) { + return outcome(Verdict::PostRecovery, e); + } + outcome(verdict, String::new()) +} + +fn panic_text(payload: &(dyn Any + Send)) -> String { + payload + .downcast_ref::<&str>() + .map(|s| s.to_string()) + .or_else(|| payload.downcast_ref::().cloned()) + .unwrap_or_else(|| "non-string panic payload".into()) +} + +/// Runs one plan (or no plan, for the clean run). Returns the outcome and the storage-call trace. +/// Panics never escape: a panic before the cut, or while reopening, is a verdict. +pub fn run_one(plan: Option, lying_sync: bool, models: &[Model]) -> (Outcome, Vec<(Kind, u64, usize)>) { + let fs = FaultFs::new(Vec::new(), plan, lying_sync); + let mut acked = 0u64; + let attempt = panic::catch_unwind(AssertUnwindSafe(|| run_workload(&fs, &mut acked))); + let trace = fs.trace(); + let outcome = match attempt { + Err(payload) if !fs.cut() => Outcome { + verdict: Verdict::Panic, + acked, + repairs: 0, + detail: format!("panic before the power cut: {}", panic_text(payload.as_ref())), + }, + Ok(Err(e)) if !fs.cut() => Outcome { + verdict: Verdict::NoCrashError, + acked, + repairs: 0, + detail: e, + }, + // A cut (or a clean finish) leaves a disk image to reopen. A panic or error after the cut + // is the dead process failing, not a finding. + _ => match panic::catch_unwind(AssertUnwindSafe(|| verify(fs.disk_image(), acked, models))) { + Ok(outcome) => outcome, + Err(payload) => Outcome { + verdict: Verdict::Panic, + acked, + repairs: 0, + detail: format!("panic while reopening the image: {}", panic_text(payload.as_ref())), + }, + }, + }; + (outcome, trace) +} diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/redb-crash/src/lib.rs b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/redb-crash/src/lib.rs new file mode 100644 index 0000000000..b441e54692 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/redb-crash/src/lib.rs @@ -0,0 +1,10 @@ +//! Power-loss testing for redb without a kernel or FUSE dependency. +//! +//! - `faultfs`: a `StorageBackend` that loses unsynced writes, tears the write in flight, and cuts +//! power at any storage call. +//! - `workload`: 50 redb write transactions and the model each prefix must match. +//! - `harness`: runs one cut, reopens the image, and classifies the result. + +pub mod faultfs; +pub mod harness; +pub mod workload; diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/redb-crash/src/workload.rs b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/redb-crash/src/workload.rs new file mode 100644 index 0000000000..d49551863f --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/redb-crash/src/workload.rs @@ -0,0 +1,148 @@ +//! The 50-transaction workload and its model. +//! +//! Each transaction is one redb write transaction. It inserts a batch of event rows and their +//! author index rows, deletes the batch from five transactions earlier (so pages get freed and +//! reused), and updates two meta rows. The model is the map that results from applying the +//! first n transactions, so the verifier can say exactly which prefix a reopened database holds. + +use redb::{Database, ReadableDatabase, ReadableTable, TableDefinition, TableError}; +use std::collections::BTreeMap; +use std::error::Error; + +pub const TXNS: u64 = 50; + +pub const EVENTS: TableDefinition<&[u8], &[u8]> = TableDefinition::new("events"); +pub const BY_AUTHOR: TableDefinition<&[u8], &[u8]> = TableDefinition::new("by_author"); +pub const META: TableDefinition<&[u8], &[u8]> = TableDefinition::new("meta"); + +pub const EVENTS_TAG: u8 = 0; +pub const BY_AUTHOR_TAG: u8 = 1; +pub const META_TAG: u8 = 2; + +/// Keyed by (table tag, key bytes). Values are the stored bytes. +pub type Model = BTreeMap<(u8, Vec), Vec>; + +#[derive(Clone, Debug)] +pub enum Op { + Put(u8, Vec, Vec), + Del(u8, Vec), +} + +/// Claims in transaction b. Every tenth transaction is large enough to split B-tree pages. +fn claims(b: u64) -> u64 { + if b % 10 == 9 { 120 } else { 8 + (b * 7) % 25 } +} + +fn first_event(b: u64) -> u64 { + (0..b).map(claims).sum() +} + +fn author_key(b: u64, seq: u64) -> Vec { + let mut key = (b % 3).to_be_bytes().to_vec(); + key.extend_from_slice(&seq.to_be_bytes()); + key +} + +fn payload(b: u64, i: u64) -> Vec { + let mut v = format!("txn{b:03}-claim{i:03}-").into_bytes(); + v.resize(24 + ((b * 13 + i * 5) % 40) as usize, b'.'); + v +} + +pub fn txn_ops(b: u64) -> Vec { + let mut ops = Vec::new(); + let base = first_event(b); + for i in 0..claims(b) { + let event = (base + i).to_be_bytes().to_vec(); + ops.push(Op::Put(EVENTS_TAG, event.clone(), payload(b, i))); + ops.push(Op::Put(BY_AUTHOR_TAG, author_key(b, b * 1000 + i), event)); + } + if b >= 5 { + let old = first_event(b - 5); + ops.push(Op::Del(EVENTS_TAG, old.to_be_bytes().to_vec())); + ops.push(Op::Del(BY_AUTHOR_TAG, author_key(b - 5, (b - 5) * 1000))); + } + ops.push(Op::Put(META_TAG, b"txns".to_vec(), (b + 1).to_be_bytes().to_vec())); + ops.push(Op::Put(META_TAG, b"last".to_vec(), b.to_be_bytes().to_vec())); + ops +} + +pub fn apply_ops(model: &mut Model, ops: &[Op]) { + for op in ops { + match op { + Op::Put(tag, k, v) => { + model.insert((*tag, k.clone()), v.clone()); + } + Op::Del(tag, k) => { + model.remove(&(*tag, k.clone())); + } + } + } +} + +/// `models()[n]` is the state after the first n transactions, for n in 0..=TXNS. +pub fn models() -> Vec { + let mut out = vec![Model::new()]; + let mut m = Model::new(); + for b in 0..TXNS { + apply_ops(&mut m, &txn_ops(b)); + out.push(m.clone()); + } + out +} + +/// One write transaction with the given operations. +pub fn commit(db: &Database, ops: &[Op]) -> Result<(), Box> { + let txn = db.begin_write()?; + { + let mut events = txn.open_table(EVENTS)?; + let mut by_author = txn.open_table(BY_AUTHOR)?; + let mut meta = txn.open_table(META)?; + for op in ops { + match op { + Op::Put(tag, k, v) => match *tag { + EVENTS_TAG => { + events.insert(k.as_slice(), v.as_slice())?; + } + BY_AUTHOR_TAG => { + by_author.insert(k.as_slice(), v.as_slice())?; + } + _ => { + meta.insert(k.as_slice(), v.as_slice())?; + } + }, + Op::Del(tag, k) => match *tag { + EVENTS_TAG => { + events.remove(k.as_slice())?; + } + BY_AUTHOR_TAG => { + by_author.remove(k.as_slice())?; + } + _ => { + meta.remove(k.as_slice())?; + } + }, + } + } + } + txn.commit()?; + Ok(()) +} + +/// Every row in the database, as a model. A table that does not exist yet counts as empty. +pub fn dump(db: &Database) -> Result> { + let txn = db.begin_read()?; + let mut model = Model::new(); + for (tag, def) in [(EVENTS_TAG, EVENTS), (BY_AUTHOR_TAG, BY_AUTHOR), (META_TAG, META)] { + let table = match txn.open_table(def) { + Ok(t) => t, + Err(TableError::TableDoesNotExist(_)) => continue, + Err(e) => return Err(e.into()), + }; + for row in table.iter()? { + let (k, v) = row?; + model.insert((tag, k.value().to_vec()), v.value().to_vec()); + } + } + Ok(model) +} diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/redb-crash/tests/determinism_probe.rs b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/redb-crash/tests/determinism_probe.rs new file mode 100644 index 0000000000..99fab912a3 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/redb-crash/tests/determinism_probe.rs @@ -0,0 +1,19 @@ +//! Probe: does the storage-call trace and verdict for one plan depend on the build profile? +use redb_crash::faultfs::{Plan, Survive, Tear}; +use redb_crash::harness::run_one; +use redb_crash::workload; + +#[test] +fn trace_and_verdict_for_one_plan() { + let models = workload::models(); + let (clean, trace) = run_one(None, false, &models); + let counts = trace.iter().fold([0u64; 3], |mut acc, (k, _, _)| { + acc[match k { redb_crash::faultfs::Kind::Write => 0, redb_crash::faultfs::Kind::SetLen => 1, redb_crash::faultfs::Kind::Sync => 2 }] += 1; + acc + }); + println!("PROBE clean verdict={} calls={} writes/setlens/syncs={:?}", clean.verdict.name(), trace.len(), counts); + println!("PROBE calls 140..=150: {:?}", &trace[139..150]); + let plan = Plan { event: 149, survive: Survive::Keep, tear: Tear::Byte, sync_completed: false, seed: 12777398887419732391 }; + let (o, _) = run_one(Some(plan), false, &models); + println!("PROBE plan149 verdict={} acked={} repairs={}", o.verdict.name(), o.acked, o.repairs); +} diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/redb-crash/tests/faultfs_semantics.rs b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/redb-crash/tests/faultfs_semantics.rs new file mode 100644 index 0000000000..dbb65de71c --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/redb-crash/tests/faultfs_semantics.rs @@ -0,0 +1,100 @@ +//! The fault model itself. If these fail, the sweep results mean nothing. + +use redb::StorageBackend; +use redb_crash::faultfs::{FaultFs, Plan, Survive, Tear}; + +fn plan(event: u64, survive: Survive, tear: Tear, sync_completed: bool) -> Option { + Some(Plan { + event, + survive, + tear, + sync_completed, + seed: 7, + }) +} + +#[test] +fn drop_loses_writes_that_were_not_synced() { + // 1: write A, 2: sync, 3: write B (unsynced), 4: write C cuts the power. + let fs = FaultFs::new(Vec::new(), plan(4, Survive::Drop, Tear::Off, false), false); + fs.write(0, b"A").unwrap(); + fs.sync_data().unwrap(); + fs.write(1, b"B").unwrap(); + fs.write(2, b"C").unwrap(); + assert!(fs.cut()); + assert_eq!(fs.disk_image(), b"A"); +} + +#[test] +fn keep_writes_back_unsynced_data() { + let fs = FaultFs::new(Vec::new(), plan(4, Survive::Keep, Tear::Off, false), false); + fs.write(0, b"A").unwrap(); + fs.sync_data().unwrap(); + fs.write(1, b"B").unwrap(); + fs.write(2, b"C").unwrap(); + assert_eq!(fs.disk_image(), b"AB"); +} + +#[test] +fn a_sync_cut_before_or_after_the_sync_takes_effect() { + // 1: write A, 2: sync cuts the power. + let before = FaultFs::new(Vec::new(), plan(2, Survive::Drop, Tear::Off, false), false); + before.write(0, b"A").unwrap(); + before.sync_data().unwrap(); + assert_eq!(before.disk_image(), b""); + + let after = FaultFs::new(Vec::new(), plan(2, Survive::Drop, Tear::Off, true), false); + after.write(0, b"A").unwrap(); + after.sync_data().unwrap(); + assert_eq!(after.disk_image(), b"A"); +} + +#[test] +fn a_torn_write_lands_a_prefix_and_sector_tears_are_whole_sectors() { + for seed in 0..64 { + for tear in [Tear::Byte, Tear::Sector] { + let p = Some(Plan { + event: 3, + survive: Survive::Drop, + tear, + sync_completed: false, + seed, + }); + let fs = FaultFs::new(Vec::new(), p, false); + fs.write(0, b"A").unwrap(); + fs.sync_data().unwrap(); + // 3: the in-flight write. + fs.write(1, &[b'X'; 1024]).unwrap(); + let img = fs.disk_image(); + assert_eq!(img[0], b'A'); + assert!(img[1..].iter().all(|&b| b == b'X'), "seed {seed} {tear:?}"); + assert!(img.len() <= 1025); + if tear == Tear::Sector { + assert_eq!((img.len() - 1) % 512, 0, "seed {seed}"); + } + } + } +} + +#[test] +fn a_lying_sync_leaves_nothing_durable() { + // 1: write A, 2: sync (lies), 3: write B cuts the power. + let fs = FaultFs::new(Vec::new(), plan(3, Survive::Drop, Tear::Off, false), true); + fs.write(0, b"A").unwrap(); + fs.sync_data().unwrap(); + fs.write(1, b"B").unwrap(); + assert_eq!(fs.disk_image(), b""); +} + +#[test] +fn calls_after_the_cut_do_not_reach_the_disk() { + // 1: write A cuts the power, with the write itself lost. + let fs = FaultFs::new(Vec::new(), plan(1, Survive::Keep, Tear::Off, false), false); + fs.write(0, b"A").unwrap(); + fs.write(0, b"Z").unwrap(); + fs.sync_data().unwrap(); + fs.set_len(0).unwrap(); + assert!(fs.cut()); + assert_eq!(fs.disk_image(), b""); + assert_eq!(fs.trace().len(), 1); +} diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/redb-crash/tests/replay.rs b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/redb-crash/tests/replay.rs new file mode 100644 index 0000000000..ace9f21884 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/crash-tests/redb-crash/tests/replay.rs @@ -0,0 +1,84 @@ +//! Replays the static crash corpus. Each line is one crash point. Lines start as failures the +//! sweep found, or as representative points kept as anchors. Each line must still produce its +//! recorded verdict. A line that changes verdict is a regression in redb, the harness, or the +//! fault model, and the test says which. + +use redb_crash::faultfs::{Plan, Survive, Tear}; +use redb_crash::harness::{Verdict, run_one}; +use redb_crash::workload; + +const CORPUS: &str = include_str!("../corpus/redb-crash-corpus.tsv"); + +fn parse_survive(s: &str) -> Survive { + match s { + "Drop" => Survive::Drop, + "Keep" => Survive::Keep, + "Random" => Survive::Random, + "Reorder" => Survive::Reorder, + other => panic!("unknown survive policy {other}"), + } +} + +fn parse_tear(s: &str) -> Tear { + match s { + "Off" => Tear::Off, + "Byte" => Tear::Byte, + "Sector" => Tear::Sector, + other => panic!("unknown tear mode {other}"), + } +} + +#[test] +fn clean_run_reopens_with_every_transaction() { + let models = workload::models(); + let (outcome, _) = run_one(None, false, &models); + assert_eq!(outcome.verdict, Verdict::OkAcked, "{}", outcome.detail); + assert_eq!(outcome.acked, workload::TXNS); +} + +#[test] +fn corpus_replays_with_recorded_verdicts() { + let models = workload::models(); + let mut replayed = 0; + for line in CORPUS + .lines() + .filter(|l| !l.starts_with('#') && !l.trim().is_empty()) + { + let f: Vec<&str> = line.split('\t').collect(); + assert_eq!(f.len(), 8, "bad corpus line: {line}"); + let lying = f[1] == "1"; + let plan = Plan { + event: f[2].parse().expect("event"), + survive: parse_survive(f[3]), + tear: parse_tear(f[4]), + sync_completed: f[5] == "1", + seed: f[6].parse().expect("seed"), + }; + let (outcome, _) = run_one(Some(plan), lying, &models); + // `ok` accepts either valid prefix. The in-flight commit may or may not be visible, and + // the choice can differ between debug and release builds (see RESULTS.md). + match f[7] { + "ok" => assert!( + matches!(outcome.verdict, Verdict::OkAcked | Verdict::OkAckedPlusOne), + "{}: got {} ({}), expected a valid prefix", + f[0], + outcome.verdict.name(), + outcome.detail + ), + name => { + let expect = Verdict::from_name(name).unwrap_or_else(|| panic!("unknown verdict {name}")); + assert_eq!( + outcome.verdict, + expect, + "{}: got {} ({}), expected {}", + f[0], + outcome.verdict.name(), + outcome.detail, + expect.name() + ); + } + } + replayed += 1; + } + assert!(replayed >= 10, "corpus has only {replayed} entries"); +} diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/RESULTS.md b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/RESULTS.md new file mode 100644 index 0000000000..481d4552c4 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/RESULTS.md @@ -0,0 +1,214 @@ +# Round 2: ed25519-dalek 2.x vs 3.x + +Folder: `/home/user/work/research-round2/ed25519/`. Date: 2026-10-11 (UTC, reads 16:05–17:23). `pkgs/id` was read, never built or modified. Every statement is tagged verified, inferred, or not checked. + +## Questions (verbatim) + +Owner: "for ed25519 version, what is the difference? is 3.0 the newest? is there a newer one? can 2.x compat with 3.x? i'm not against moving to 2.x across board but i'd rather know more." + +Brief items (condensed, not verbatim): + +1. The newest ed25519-dalek on crates.io, stable and pre-release, with dates. +2. What changed between 2.x and 3.x: dependency changes (curve25519-dalek, rand_core, signature, zeroize, sha2) and API changes for key generation, signing, verify versus verify_strict, from_bytes, and error types. +3. Wire compatibility: do keys, signatures and verification results agree? Test with bytes only. Include non-canonical S, small-order public keys, and seed versus expanded-key format. +4. Can both versions be in one build, and what conversion is needed? +5. What our tree uses today: `pkgs/id/Cargo.toml`, `Cargo.lock`, the p2panda rev, iroh 1.3.0, iroh-tickets, and every ed25519 use in `pkgs/id/src`. +6. Security advisories against 2.x and 3.x. +7. Migration cost, for moving the whole tree to 2.x and for staying on 3.x while p2panda needs 2.x. + +Recommend one choice with reasons. Do not modify `pkgs/id`. + +## Short answers + +**1. Newest version.** 3.0.0 is the newest published ed25519-dalek, and it is stable. crates.io reports `max_version` = `max_stable_version` = 3.0.0, created 2026-07-06T16:23:09Z. The newest pre-release is 3.0.0-rc.1 (2026-06-18), which is older than 3.0.0; no pre-release is newer than the stable release. The newest 2.x is 2.2.0 (2025-07-09). No yanked version is in the 2.x or 3.x line. The GitHub `main` Cargo.toml also says 3.0.0. Status: verified (crates.io API, GitHub raw read). Not checked: versions published after 2026-10-11 16:06Z. + +**2. What changed.** The core code is the same. `from_bytes`, `to_bytes`, `to_keypair_bytes`, `verify`, `verify_strict`, the canonical-S check (`check_scalar`), and the decompression check have the same logic in both. The diffs of `verifying.rs`, `signing.rs`, `signature.rs`, `constants.rs` and `hazmat.rs` change only plumbing (message slices, trait bounds, cfg gates). Dependencies moved: curve25519-dalek 4.1.3 → 5.0.0, rand_core 0.6.4 → 0.10.1, signature 2.2.0 → 3.0.0, ed25519 2.2.3 → 3.0.0, sha2 0.10 → 0.11 (digest 0.10 → 0.11), pkcs8 0.10 → 0.11, edition 2021 → 2024, and MSRV 1.81 → 1.85. zeroize is `1.x` in both, so nothing forces a change there. The breaking changes that could reach our code: `SigningKey::generate` now takes a rand_core 0.10 `CryptoRng`, not 0.6's `CryptoRngCore`; the `std` feature is removed; the `signature` 3.0 error `Display` no longer prints the source; and `DigestSigner`/`DigestVerifier` take a closure. The `pkcs8` trait names changed. Status: verified (source diffs, CHANGELOGs of ed25519-dalek 2.2.0 and 3.0.0, curve25519-dalek 5.0.0, signature 3.0.0, ed25519 3.0.0, rand_core 0.10.0). Inferred: which breaking changes reach `pkgs/id`, from the grep in §E9. + +**3. Wire compatibility.** Yes, in every case tested. The test binary links both versions and passes 25 of 25 checks. Across 256 seeds, public keys and 64-byte keypairs are identical. Across 64 seeds × 15 message lengths (960 cases), signatures are byte-identical, and each version verifies the other's signatures under both `verify` and `verify_strict`. The five RFC 8032 §7.1 vectors pass in both. A malleated S+L (non-canonical) is refused by all four paths (`verify` and `verify_strict`, both versions), and a canonical control passes. For small-order keys and R values, both versions produce identical counts. `verify_strict` accepts none of the forgeries tried. Plain `verify` does accept some, including a forgery under the identity key for any message. Of 5806 candidate 32-byte encodings, both versions decode the same 2900, and `is_weak` agrees on all of them. PKCS#8 DER of the same seed is byte-identical. One visible difference: the `Display` of a decode error is `signature error: Cannot decompress Edwards point` in 2.2.0 and `signature error` in 3.0.0 (Debug is identical). Status: verified (test run, §E10). Not checked: batch verification, Ed25519ph and context signing (no test; not used by `pkgs/id` in the grep). + +**4. One build.** Yes. The test crate pins `=2.2.0` and `=3.0.0`, and cargo 1.97.0 resolves both side by side, with their dependencies duplicated: curve25519-dalek 4.1.3 and 5.0.0, sha2 0.10.9 and 0.11.0, digest 0.10.7 and 0.11.3, signature 2.2.0 and 3.0.0, ed25519 2.2.3 and 3.0.0, rand_core 0.6.4 and 0.10.1, pkcs8 0.10.2 and 0.11.0 (`cargo-tree-d.txt`). The spikes lock already has both (p2panda-core → 2.2.0, iroh → 3.0.0). The conversion has to go through bytes. The types are distinct, neither crate depends on the other, and there are no `From` impls between the versions. Verifying-key conversion is fallible (point decompression), and the error types differ (`signature` 2.x vs 3.x), so each crossing needs an explicit error mapping. Status: verified (build, `cargo tree -d`, spikes lock). Inferred: the absence of cross-version `From` impls, from the dependency graph and the test code, which had to convert through bytes. + +**5. What our tree uses.** `pkgs/id/Cargo.toml:44` declares `ed25519-dalek = { version = "3", features = ["rand_core"] }`. `pkgs/id/Cargo.lock` has one copy, 3.0.0 (lock line 1681), with ed25519 3.0.0 (1670), signature 3.0.0 (6243), curve25519-dalek 5.0.0 (1406) and 4.1.3 (1391, via x25519-dalek 2.0.1), sha2 0.11.0 (6180), and rand_core 0.10.1 (5303). `pkgs/id` does not depend on p2panda: the lock has no `p2panda` entry. Eight lock packages depend on ed25519-dalek directly, and all are on 3.x: `id` (2866), distributed-topic-tracker 0.3.5 (1597), ed25519-dalek-hpke 0.0.5 (1697), iroh 1.3.0 (3033), iroh-base 1.3.0 (3083), mainline 7.0.0 (3807), russh 0.64.1 (5556), ssh-key 0.7.0-rc.11 (6412). p2panda-core 0.7.1 at rev `3e84cac` (spikes lock line 3351) requires ed25519-dalek 2.2.0. `pkgs/id/src` has dalek calls in 10 files (§E9; `world_ssh.rs` touches only ssh-key's key bytes). `pkgs/id` calls the non-strict `verify` at five sites (`directory_log.rs:100`, `artifact.rs:300`, `directory.rs:396`, `directory_auth.rs:349`, `web/identity.rs:432`) and never calls `verify_strict`. iroh-base (`key.rs:136`) and p2panda-core (`identity.rs:197`) both use `verify_strict`. The design text (`task-11-dependencies-and-upstream.md:30`) says "both sides use `verify_strict`", which is not true of `pkgs/id`. Status: verified (lock, source, grep). Inferred: the impact of the non-strict calls, which depends on how each call site uses the key (not traced). + +**6. Advisories.** Two advisories apply to this family, and neither hits the versions in use. RUSTSEC-2022-0093 (CVE-2022-50237, GHSA-w5vr-6qhr-36cc) affects ed25519-dalek `< 2.0.0`, so 2.2.0 and 3.0.0 are patched. RUSTSEC-2024-0344 (CVE-2024-58262, GHSA-x4gp-pqpj-f43q) affects curve25519-dalek `< 4.1.3`, so 4.1.3 and 5.0.0 are patched. The GitHub advisory API lists no other ed25519-dalek or curve25519-dalek advisory (each has one duplicate entry). RustSec has no advisory directory for `ed25519`, `signature` or `zeroize`, and the GitHub query for `ed25519` and `signature` returned nothing. `sha2` RUSTSEC-2021-0100 is patched at `>= 0.9.8`, so 0.10.9 and 0.11.0 are clear. Status: verified (advisory-db raw files, GitHub advisory API, OSV GET). Not checked: `cargo audit` was not run; `rand_core` RUSTSEC-2019-0035 and RUSTSEC-2021-0023 were read only for their dates. + +**7. Migration cost.** Moving the whole tree to 2.x is not a version bump, because iroh 1.3.0 and iroh-base 1.3.0 require `>=3.0.0-rc.0, <4.0.0` (`iroh-1.3.0/Cargo.toml:239-240`, `iroh-base-1.3.0/Cargo.toml:92-93`). Five more pins also require 3.x: distributed-topic-tracker 0.3.5 (`^3.0.0-rc.0`, public record API takes dalek types), mainline 7.0.0 (`^3.0.0-pre.1`, re-exports `ed25519_dalek::SigningKey` at `lib.rs:31`), russh 0.64.1 (`^3`), ssh-key 0.7.0-rc.11 (`^3.0.0-rc.1`), and ed25519-dalek-hpke 0.0.5 (`3.0.0-pre.1`). A 2.x tree would mean replacing iroh 1.3 and the DHT and ssh dependencies. Limited to `pkgs/id`'s own code, a 2.x move would change `Cargo.toml:44`, `web/identity.rs:208` (`SigningKey::generate(&mut rand::rng())` passes a rand_core 0.10 RNG), and the dalek key passed to `RecordPublisher::new` at `commands/serve.rs:889` and `commands/peers.rs:398`. Status: verified (pins, lock). Inferred (not compiled): the list of code changes. Staying on 3.x while p2panda is on 2.2 costs: byte conversions at each p2panda crossing (`SigningKey` via `as_bytes`/`from_bytes`, `VerifyingKey` via fallible `from_bytes`, `Signature` via `to_bytes`/`from_bytes`); an error mapping, because p2panda's `IdentityError` wraps the 2.x `SignatureError` (`identity.rs:401`); two copies of curve25519-dalek, sha2, signature, ed25519 and rand_core in the binary; and an explicit `verify_strict` rule on both sides, so the two layers accept the same signatures. Status: verified (the wire test shows the conversions work and that strict verification agrees); inferred (the size of the boundary). + +**Recommendation.** Keep ed25519-dalek 3.0.0 for everything we own. Treat p2panda-core's 2.2.0 as a boundary: convert keys, signatures and errors through bytes in one module, and change the five `pkgs/id` call sites to `verify_strict`. This choice is version-independent and matches iroh-base and p2panda. Reasons are in §Recommendation below. + +## Evidence + +Commands and sources, in the order run. Output files are in this folder. + +**E1. crates.io versions.** `curl -A https://crates.io/api/v1/crates/{ed25519-dalek,curve25519-dalek,ed25519,signature}` → `meta/*.json`. Parsed by `scripts/versions.py` (python3 -I). Results (2026-10-11 ~16:06Z): +- ed25519-dalek: `max_version` 3.0.0, `max_stable_version` 3.0.0, 46 versions. 3.0.0 created 2026-07-06T16:23:09; 3.0.0-rc.1 2026-06-18; 3.0.0-rc.0 2026-05-28; 3.0.0-pre.7 2026-05-06; 2.2.0 2025-07-09 (rust 1.81); 3.0.0 rust 1.85. Yanked: 0.9.0, 0.4.3. +- curve25519-dalek: `max_version` 5.0.0 (2026-07-06T16:22:48); 4.1.3 (2024-06-18); 4.2.0 yanked ("`hash_to_curve` improperly implemented", per the 5.0.0 CHANGELOG). +- ed25519: 3.0.0 (2026-05-03); 2.2.3 (2023-10-15). +- signature: 3.0.0 (2026-05-02); 2.2.0 (2023-11-12). + +**E2. Downloads.** `.crate` files via `static.crates.io`, each sha256 checked against the crates.io `checksum` field: ed25519-dalek 2.2.0 and 3.0.0, curve25519-dalek 5.0.0 and 4.1.3, ed25519 3.0.0 and 2.2.3, signature 3.0.0 and 2.2.0, rand_core 0.10.1, zeroize 1.9.1. All sha256 OK. Each was extracted into its own fresh directory under `src/`. Nothing was executed from them. + +**E3. GitHub main.** `raw.githubusercontent.com/dalek-cryptography/curve25519-dalek/main/ed25519-dalek/Cargo.toml` → version `3.0.0` (`gh/main_ed25519-dalek_Cargo.toml`). `p2panda/p2panda` main `p2panda-core/Cargo.toml:39` → `ed25519-dalek = { version = "2.2.0", features = ["rand_core"] }`, and main's `identity.rs` has the same structure as rev `3e84cac` (wrapper types at lines 49/165/291; `verify_strict` at 197). Latest commit touching that Cargo.toml: `083b48215` (2026-08-21). Rev `3e84cac` is dated 2026-10-09 (GitHub commits API). + +**E4. Dependency changes.** From the crate manifests in `src/`: +- ed25519-dalek 3.0.0 `[dependencies]`: curve25519-dalek `5.0.0` (features digest), ed25519 `3`, rand_core `0.10` (optional), signature `3` (optional), sha2 `0.11`, subtle `2.3.0`, zeroize `1.5` (optional). Default features: `fast`, `zeroize`. `rust-version` 1.85. +- ed25519-dalek 2.2.0: curve25519-dalek `4` (digest), ed25519 `>=2.2, <2.3`, rand_core `0.6.4` (optional), signature `>=2.0, <2.3` (optional), sha2 `0.10`, subtle `2.3.0`, zeroize `1.5` (optional), merlin `3` (batch only). Default features: `fast`, `std`, `zeroize`. `rust-version` 1.81. +- The `std` feature is removed in 3.0.0, and `batch` uses strobe-rs instead of merlin (CHANGELOG 3.0.0; `src/batch/transcript.rs`). + +**E5. API surface diff.** `grep -rnE '^\s*pub(\(crate\))? (fn|struct|enum|trait|const|type|use|mod|static)'` on both `src/` trees → `api/full-2.2.0.txt` (82 lines) and `api/full-3.0.0.txt` (95 lines). The public names are the same, with these differences: +- `SigningKey::generate`: `R: CryptoRngCore + ?Sized` (2.2.0, `signing.rs:202`) → `R: CryptoRng + ?Sized` (3.0.0, `signing.rs:213`). The cfg gate is now `feature = "rand_core"` only. +- `lib.rs`: 3.0.0 adds `pub use rand_core;` (feature rand_core). `DigestSigner`/`DigestVerifier` are re-exported from `::signature` (3.x). +- Added in 3.0.0: `MultipartSigner`/`MultipartVerifier` impls on `SigningKey`/`VerifyingKey`; `KeySizeUser`, `TryKeyInit`, `Generate` impls (digest feature); `verify_digest`/`try_sign_digest` take `F: Fn(&mut D)` instead of a digest value. +- pkcs8: `DynSignatureAlgorithmIdentifier` → `SignatureAlgorithmIdentifier`; `TryFrom` → `TryFrom`; `KeyMalformed` now carries `KeyError`. +- Unchanged in name and signature: `from_bytes`, `to_bytes`, `as_bytes`, `from_keypair_bytes`, `to_keypair_bytes`, `verifying_key`, `verify`, `verify_strict` (2.2.0 `verifying.rs:357`, 3.0.0 `verifying.rs:367`), `verify_prehashed`, `verify_prehashed_strict`, `verify_stream`, `is_weak`, `to_scalar`, `to_scalar_bytes`, `with_context`, the hazmat items, `Signature::from_bytes` (infallible), `SignatureError = ed25519::signature::Error`. + +**E6. Verification core.** `diff -u` of each file pair (2.2.0 vs 3.0.0, `src/`), counting changed lines: lib.rs 66, signature.rs 2, errors.rs 8, verifying.rs 74, signing.rs 130, hazmat.rs 27, constants.rs 0, batch.rs 40, context.rs 36. In `signature.rs` the only code change is removing `#[allow(deprecated)]` on `Scalar::from_bits`, which curve25519-dalek 5.0.0 undeprecated (its CHANGELOG #780). `check_scalar` has the same default branch (`Scalar::from_canonical_bytes`, rejects S ≥ L) and the same `legacy_compatibility` branch in both. In `verifying.rs`, `from_bytes` (decompress only), `raw_verify` (cofactorless, compares compressed bytes), and `verify_strict` (rejects small-order A or R) are unchanged apart from the `&[&[u8]]` message plumbing. `errors.rs`: 3.0.0 uses `core::error::Error` and gates `from_source` on `alloc` (2.2.0 gates it on `std`). The `Display` difference in E10 comes from `signature` 3.0.0, which removed the source from `Display` (its CHANGELOG #1689). Debug prints the source in both builds, because both builds have alloc. + +**E7. curve25519-dalek 5.0.0 CHANGELOG** (`src/curve25519-dalek-5.0.0/.../CHANGELOG.md`): breaking changes are edition 2024, MSRV 1.85, removal of `group-bits`, rand_core re-export, rename `batch_invert` → `invert_batch`, removal of deprecated `FieldElement::as_bytes` and `nonspec_map_to_curve`, rand_core 0.10, digest/sha2 upgrade. Also "constant-time equality testing for compressed Ristretto and Edwards points" (this affects the `expected_R == signature.R` comparison in timing only). 4.1.3 fixed the timing leak in `Scalar` subtraction (RUSTSEC-2024-0344). + +**E8. signature / ed25519 / rand_core CHANGELOGs.** signature 3.0.0 (2026-05-02): closure-based `*DigestSigner`/`*DigestVerifier`; rand_core 0.10; digest 0.11; `MultipartSigner`/`MultipartVerifier`; `std`, `derive` and `PrehashSignature` removed; error source removed from `Display` (#1689). ed25519 3.0.0 (2026-05-03): pkcs8 0.11, signature 3, serdect, `Zeroize`/`Hash` for `Signature`, `std` and `serde_bytes` removed. rand_core 0.10.0 (2026-02-01): `RngCore`→`Rng`, `TryRngCore`→`TryRng`, `OsRng` and the `getrandom` dependency removed. + +**E9. Our tree.** +- `pkgs/id/Cargo.toml:44` as above. `rust-version = "1.91.0"` (line 5). +- `pkgs/id/Cargo.lock`: parsed with a python script over `[[package]]` blocks (inline, not saved). Results in §Short answers 5. Other lock entries: rand_core 0.6.4 (5285) is pulled by elliptic-curve 0.13 and others; sha2 0.10.9 (6169) by hpke 0.13 and wasmtime-environ; curve25519-dalek 4.1.3 (1391) by x25519-dalek 2.0.1 (8065). +- Dalek call sites in `pkgs/id/src` (file:line, from `grep -rnE 'SigningKey|VerifyingKey|Signature|Signer|Verifier|verify_strict|\.verify\(|\.sign\(|ed25519|generate\(|OsRng|rand_core|CryptoRng'`): + - `directory_auth.rs`: 14 (import); 292 (`&SigningKey` param); 304 (`key.sign(...).to_bytes()`); 345 (`VerifyingKey::from_bytes`); 349 (`.verify(...)`, non-strict, with `Signature::from_bytes` at the same site). Tests: 449, 484, 513, 530, 541 (`SigningKey::from_bytes(&[7; 32])`). + - `artifact.rs`: 28 (import); 221, 236, 505, 516 (`&SigningKey` params); 248 (sign); 293 (`VerifyingKey::from_bytes`); 297 (`Signature::from_bytes`); 300 (`key.verify`, non-strict); tests 860–861, 1113–1115. + - `directory_log.rs`: 15 (import); 61, 132 (`&SigningKey` params); 65 (sign); 93 (`from_bytes`); 97 (`Signature::from_bytes`); 100 (`key.verify`, non-strict); tests 313–314. + - `directory.rs`: 14 (import); 356 (param); 376 (sign); 388 (`from_bytes`); 392 (`Signature::from_bytes`); 396 (`key.verify`, non-strict); 1410 (`authenticate` returns `SigningKey`); 1747–1751 (`signing_key()` from a SHA-512 digest via `SigningKey::from_bytes`); 1769 (`VerifyingKey::from_bytes`); tests 2408, 2694. + - `web/identity.rs`: 41 (import); 89, 91 (`Arc`, `VerifyingKey` fields); 123 (`from_bytes`); 208 (`SigningKey::generate(&mut rand::rng())`); 395 (sign); 431 (`Signature::from_bytes`); 432 (`verify`, non-strict). + - `web/world_ws.rs`: 325 (test import); 648 (test param); 673 (test `from_bytes`). + - `world_session.rs`: 2123 (test import); 2223 (test `from_bytes`). + - `directory_view.rs`: 1560 (test import); 1867, 1893, 2183, 2339 (test `from_bytes`/`verifying_key`). + - `commands/serve.rs`: 888–889 (iroh `SecretKey` → dalek `SigningKey` via `from_bytes(&key.to_bytes())`), 891–896 (`RecordPublisher::new` takes that dalek key). + - `commands/peers.rs`: 398 (same pattern), 400–405 (`RecordPublisher::new`). + - `world_ssh.rs`: 157, 167, 849 use ssh-key's `ed25519()` public key bytes. No dalek types. + - `SecretKey::generate` in `local.rs:66`, `store.rs`, `commands/serve.rs` tests: these are `iroh_base::SecretKey` (imports at `local.rs:28`, `store.rs:48`), not dalek. + - `verify_strict`: 0 occurrences in `pkgs/id/src`. `verify_batch`, `DigestVerifier`, `hazmat`, `legacy_compatibility`: 0 dalek uses. `with_context` matches are anyhow's; "legacy" appears only in unrelated metadata-migration code (`local.rs:3, 113`). + - `pkgs/id/repl-test` is a standalone manifest (package `id`, iroh 0.96, `ed25519-dalek = "3.0.0-pre.1"`). It is not in the lock. +- Transitive pins (registry copies under `~/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/`): iroh-1.3.0 `Cargo.toml:239–240` (`>=3.0.0-rc.0,<4.0.0`, features serde, rand_core, zeroize, pkcs8, pem); iroh-base-1.3.0 `Cargo.toml:67–68` (curve25519-dalek `>=5.0.0-rc.0,<6.0.0`) and `92–93` (ed25519-dalek `>=3.0.0-rc.0,<4.0.0`); ed25519-dalek-hpke-0.0.5 `Cargo.toml:44–46` (`3.0.0-pre.1`, rand_core). iroh-tickets-1.0.0 has no direct ed25519 dependency (deps: data-encoding, derive_more, iroh-base, n0-error, postcard, serde), so it inherits 3.x via iroh-base. The crates.io dependency metadata (`meta/deps-*.json`) gives: ssh-key 0.7.0-rc.11 → ed25519-dalek `^3.0.0-rc.1` (optional); russh 0.64.1 → ed25519-dalek `^3` (features alloc, rand_core, pkcs8), curve25519-dalek `^5`, signature `^3`; distributed-topic-tracker 0.3.5 → ed25519-dalek `^3.0.0-rc.0`; mainline 7.0.0 → ed25519-dalek `^3.0.0-pre.1`; x25519-dalek 2.0.1 → curve25519-dalek `^4`. iroh 1.3.0 → ed25519-dalek `>=3.0.0-rc.0, <4.0.0`. +- Public-API coupling: distributed-topic-tracker-0.3.5 `src/crypto/record.rs:249, 259, 431, 566` (`pub_key()`, `signing_key()`, `decrypt`, `encrypt` take or return `ed25519_dalek` types); `src/crypto/keys.rs:103` (`pub fn signing_keypair` → `ed25519_dalek::SigningKey`; `mod crypto` is private, so this is reachable only through the re-exports). mainline-7.0.0 `lib.rs:31`: `pub use ed25519_dalek::SigningKey;`. +- Spikes: `/home/user/work/spikes/Cargo.lock`: `ed25519-dalek` 2.2.0 (lines 1090–1102), 3.0.0 (1105–1117); p2panda-core 0.7.1 (3351) → `ed25519-dalek 2.2.0` (3357); iroh 1.3.0 (2122) → `ed25519-dalek 3.0.0` (2134). `/home/user/work/spikes/Cargo.toml` pins `ed25519-dalek = "2"` in workspace dependencies. `s1-transport/RESULTS.md:121` says the 2.2.0 check "is not cross-tested against 3.0.0". This round's test does that cross-check. +- p2panda rev `3e84cac` checkout (`~/.cargo/git/checkouts/p2panda-de6556ee3f16c1a4/3e84cac/`): + - `p2panda-core/Cargo.toml:39`: `ed25519-dalek = { version = "2.2.0", features = ["rand_core"] }`. + - `p2panda-core/src/identity.rs`: wrapper types `SigningKey(ed25519_dalek::SigningKey)` (49), `VerifyingKey(ed25519_dalek::VerifyingKey)` (165), `Signature(ed25519_dalek::Signature)` (291); `VerifyingKey::from_bytes` (181–182, fallible); `VerifyingKey::verify` (196–197) calls `verify_strict`; `From` impls that expose 2.x types (215–222, 334–341); `IdentityError::InvalidSignature(#[from] ed25519_dalek::SignatureError)` (400–401); `SigningKey::generate` uses `rand::rngs::OsRng` (rand 0.8, `rand_core` 0.6). + - Callers in p2panda: `operation/header.rs:370–378` (sign and verify), `operation/any.rs:344` (verify). +- iroh-base-1.3.0 `src/key.rs`: `PublicKey(CompressedEdwardsY)` (30); `PublicKey::from_bytes` (122–124) → `VerifyingKey::from_bytes`; `PublicKey::verify` (134–137) calls `verify_strict`; `SecretKey(SigningKey)` (261) with `as_signing_key` (`#[doc(hidden)]`, 344); `Signature(ed25519_dalek::Signature)` (376). + +**E10. Wire test.** Crate: `wire/` (its own `[workspace]`, not part of pkgs/id or the spikes). Pins: ed25519-dalek `=2.2.0` (features rand_core, hazmat, pkcs8, digest) and `=3.0.0` (features rand_core, hazmat, serde, zeroize, pkcs8, pem, digest); curve25519-dalek `=4.1.3` (constants only); rand_core `=0.6.4` (getrandom); getrandom `0.4` (sys_rng); sha2 `0.10`; hex. Vectors: `scripts/gen_rfc_vectors.py` reads `rfc/dl/rfc8032.txt` (rfc-editor, 3363 lines, §7.1 at lines 1301–1497) and writes `wire/src/rfc_vectors.rs` (5 vectors, asserted lengths). Build: `CARGO="$(rustup which --toolchain 1.97.0 cargo)"; "$CARGO" build --release --manifest-path ./Cargo.toml` (final build finished with no warnings shown; two first-build compile errors were fixed by enabling the `digest` feature). Run: `./target/release/ed25519-wire-compat` → `wire-run1.txt`, exit 0. + +Output (verbatim checks, trimmed): + +``` +PASS keys: public key from the same 32-byte seed, 256 seeds: mismatches=0 +PASS keys: 64-byte keypair (seed||pk), 256 seeds: mismatches=0 +PASS RFC 8032 TEST 1 (0 byte msg) ... v2 verify/strict=true/true v3 verify/strict=true/true +PASS RFC 8032 TEST 2 (1 byte msg) ... (same) +PASS RFC 8032 TEST 3 (2 byte msg) ... (same) +PASS RFC 8032 TEST 1024 (1023 byte msg) ... (same) +PASS RFC 8032 TEST SHA(abc) (64 byte msg) ... (same) +PASS sign: same seed+message gives identical 64 bytes in 2.2.0 and 3.0.0: cases=960 differing=0 +PASS cross-verify: 2.2.0 signatures accepted by 3.0.0 (verify and verify_strict): cases=960 rejected by verify=0 by verify_strict=0 +PASS cross-verify: 3.0.0 signatures accepted by 2.2.0 (verify and verify_strict): cases=960 rejected by verify=0 by verify_strict=0 +PASS tampered message, R, S or key: all rejected: cases=96 accepted [v2 verify, v2 strict, v3 verify, v3 strict]=[0, 0, 0, 0] +PASS non-canonical S: control (canonical S) accepted by all four paths: v2=(true, true) v3=(true, true) +PASS non-canonical S+L: rejected by v2 verify and verify_strict and v3 verify and verify_strict: ... top byte of S+L=0x12 (old top-3-bits check would pass) +PASS S with bit 255 set: rejected by all four paths +PASS small-order keys: verify_strict accepts no torsion-R forgery (2.2.0 and 3.0.0) +PASS small-order keys: 2.2.0 and 3.0.0 give identical decode, is_weak and verify counts +PASS identity key: plain verify accepts a torsion-R forgery (2.2.0), as predicted: accepted=1 +PASS identity key: forgery R=[s]B, S=s accepted by verify, rejected by verify_strict (both versions): trials=8 accepted [v2 verify, v2 strict, v3 verify, v3 strict]=[8, 0, 8, 0] +PASS control: non-small-order key with R=identity, S=0 rejected by all four paths +PASS expanded key: SHA-512(seed) through hazmat gives the same signatures and keys as seed signing: seeds=32 mismatches=0 +PASS keypair (seed||pk): 2.2.0 bytes load in 3.0.0, and a tampered public half is refused by both: seeds=32 failures=0 +PASS PKCS#8 DER of the seed: byte-identical in 2.2.0 and 3.0.0, and 3.0.0 reads 2.2.0's: seeds=32 failures=0 +PASS decode: VerifyingKey::from_bytes accepts the same 32-byte strings in 2.2.0 and 3.0.0: encodings=5806 decodes v2=2900 v3=2900 disagreements=0 +PASS decode: is_weak agrees for every decodable key: disagreements=0 small-order among decodable=14 +PASS generate(): keys from OsRng (2.2.0, rand_core 0.6) and SysRng via UnwrapErr (3.0.0, rand_core 0.10) cross-verify +SUMMARY pass=25 fail=0 +``` + +Small-order table (INFO lines; counts are "of 8 torsion R values with S = 0 accepted"; v2 and v3 counts are identical in every row): + +| key | verify (2.2.0 = 3.0.0) | verify_strict | +|---|---|---| +| EIGHT_TORSION[0], identity `0100…00` | 1 | 0 | +| EIGHT_TORSION[1] `c7176a70…037a` | 3 | 0 | +| EIGHT_TORSION[2] `00…0080` | 1 | 0 | +| EIGHT_TORSION[3] `26e8958f…fc05` | 0 | 0 | +| EIGHT_TORSION[4] `ecff…ff7f` | 2 | 0 | +| EIGHT_TORSION[5] `26e8958f…fc85` | 0 | 0 | +| EIGHT_TORSION[6] `00…00` (order 4) | 2 | 0 | +| EIGHT_TORSION[7] `c7176a70…03fa` | 1 | 0 | +| identity, non-canonical `eeff…ff7f` (y=p+1) | 1 | 0 | +| order-4, non-canonical `edff…ff7f` (y=p) | 1 | 0 | + +Identity key with R=[s]B, S=s (4 scalars × 2 messages): plain verify accepts 8/8 in both versions; verify_strict 0/8. + +Error text (INFO): off-curve key `0200…00`: 2.2.0 `Display` = `signature error: Cannot decompress Edwards point`; 3.0.0 `Display` = `signature error`; Debug is `signature::Error { source: Some(Cannot decompress Edwards point) }` in both. 63-byte signature slice: `signature error` in both. + +PKCS#8 for seed 0 (identical in both): `3051020101300506032b657004220420` + seed + `8121` + pk. This is the RFC 8410 v2 structure with the public key `[1]`. + +What the test does not exercise: the cargo `legacy_compatibility` feature (not enabled; no dependent in the registry or crates.io metadata requests it), batch verification, Ed25519ph and context signing, and performance. + +**E11. Advisories.** Read 2026-10-11 ~16:07–16:10Z: +- `raw.githubusercontent.com/RustSec/advisory-db/main/crates/ed25519-dalek/RUSTSEC-2022-0093.md`: `date = 2022-06-11`, `patched = [">= 2"]`, `aliases = [CVE-2022-50237, GHSA-w5vr-6qhr-36cc]`. Summary: "Double Public Key Signing Function Oracle Attack" (keypair-type APIs before 2.0). +- `.../crates/curve25519-dalek/RUSTSEC-2024-0344.md`: `date = 2024-06-18`, `patched = [">= 4.1.3"]`, aliases CVE-2024-58262, GHSA-x4gp-pqpj-f43q. Timing variability in `Scalar29::sub`/`Scalar52::sub`. +- `api.github.com/repos/RustSec/advisory-db/contents/crates/{ed25519-dalek,curve25519-dalek,ed25519,signature,rand_core,zeroize,sha2}`: ed25519-dalek has RUSTSEC-2022-0093 only; curve25519-dalek has RUSTSEC-2024-0344 only; ed25519, signature and zeroize return 404 (no directory); rand_core has RUSTSEC-2019-0035 and RUSTSEC-2021-0023; sha2 has RUSTSEC-2021-0100 (`patched >= 0.9.8`, `unaffected < 0.9.7`). +- `api.github.com/advisories?ecosystem=rust&affects=…` for ed25519-dalek: GHSA-w5vr-6qhr-36cc (CVE-2022-50237, `< 2.0.0`, patched 2.0.0) and GHSA-g693-v3jr-8hcr (duplicate). For curve25519-dalek: GHSA-x4gp-pqpj-f43q (CVE-2024-58262, `< 4.1.3`, patched 4.1.3) and GHSA-4hff-hh47-7788 (duplicate). For ed25519 and signature: empty. +- OSV `GET api.osv.dev/v1/vulns/RUSTSEC-2022-0093`: affected `ed25519-dalek` introduced 0.0.0-0, fixed 2.0.0. `…/RUSTSEC-2024-0344`: `curve25519-dalek` introduced 0.0.0-0, fixed 4.1.3. + +**E12. Design text read (grep only).** `/home/user/work/integrated/doc/2026-10-11T11-08-42Z_design_remaining_work/`: +- Index row 19 (`2026-10-11T11-08-42Z_design_remaining_work.md:75`): "ed25519-dalek version | Open | 2.x, to match p2panda-core, one copy in the tree | 3.0 with a shim at the boundary". +- `task-12-dependencies-and-toolchain.md:50`: option C, "Align with p2panda-core's 2.2 (preferred, one copy in the tree), or keep 3.0 and shim at the boundary (alternative)". +- `task-11-dependencies-and-upstream.md:30`: "p2panda-core uses 2.2, and our code and iroh use 3.0. Keys cross as bytes, and both sides use `verify_strict`" (see the correction in Short answer 5). +- `task-07-invites-and-pull.md:70`: "the spike used ed25519-dalek 3, to match `pkgs/id`". + +**E13. Other checks.** `pkgs/id/Cargo.lock` has no `p2panda` entries (grep count 0). `pkgs/id/Cargo.toml` has `edition = "2024"`, `rust-version = "1.91.0"`. + +## Options + +| Option | What it means | Feasible with the current pins? | Cost | Verdict | +|---|---|---|---|---| +| A. `pkgs/id` on 3.0.0; p2panda's 2.2.0 behind a byte boundary; `verify_strict` on both sides | Two copies of dalek and its dependencies in the binary | Yes. Builds in one tree (verified, E10) | A conversion module (3 helpers and error mapping); five `verify` → `verify_strict` edits; a rule to keep the two sides' acceptance identical | **Recommended** | +| B. `pkgs/id` on 2.x ("across the board") | One dalek 2.x in code we own | **No.** iroh 1.3.0 and iroh-base 1.3.0 require 3.x, and so do distributed-topic-tracker, mainline, russh, ssh-key and ed25519-dalek-hpke (E9) | Replacing iroh 1.3 (with iroh-tickets, -blobs, -docs, -gossip), the DHT and ssh stack. Not a version bump | Rejected | +| C. Wait for p2panda to move to 3.x | Removes the boundary | Not yet. Upstream main still says 2.2.0 (E3) | None until upstream moves | Watch | +| D. Fork p2panda-core onto 3.x | Removes the boundary | Technically (not tested) | Fork maintenance; semantics would need re-testing | Last resort | +| E. No boundary code; let p2panda types meet ours directly | None | No. p2panda's types wrap 2.x and expose 2.x `From` impls | Not possible without conversion code | Not an option | + +## Recommendation + +Choose **Option A**: keep ed25519-dalek 3.0.0 for everything we own, and treat p2panda-core's 2.2.0 as a boundary. + +Reasons: +1. The "2.x across the board" move is blocked by the pins. iroh 1.3.0, iroh-base 1.3.0, distributed-topic-tracker, mainline, russh, ssh-key and ed25519-dalek-hpke all require 3.x (E9). Moving `pkgs/id` alone would only move the boundary into iroh. +2. The design goal of "one copy in the tree" (index row 19) cannot be met while iroh 1.3.0 and p2panda-core 0.7.1 are both pinned, since they need different majors. Two copies is the minimum. The question is only where the boundary sits. +3. 3.0.0 is the newest stable release, and in every case tested its keys, signatures and verification results match 2.2.0 (E10). Its only visible change in our tests is the `Display` text of errors. +4. The boundary is small and mechanical. Keys, signatures and verifying keys cross as bytes (each is a 32- or 64-byte array). The one thing to get right is making both sides verify the same way. p2panda already uses `verify_strict` (`identity.rs:197`), and iroh-base does too (`key.rs:136`). `pkgs/id` uses plain `verify` at five sites, and the design text assumes it does not. Changing those five sites is independent of the version choice, and it removes the mismatch. +5. Plain `verify` is not safe for untrusted keys. The test accepts a forgery under the identity key for any message, and a torsion-R forgery under several other small-order keys (E10). Whether that is exploitable in `pkgs/id` depends on how each call site uses the key, which I did not trace. + +What would change this recommendation: +- p2panda releasing a version on ed25519-dalek 3.x. Upstream main still requires 2.2.0 (fetched 2026-10-11), so the boundary stays until then. +- iroh, distributed-topic-tracker or mainline moving back to 2.x. Not expected; they are moving forward. +- An advisory against ed25519-dalek 3.0.0 or curve25519-dalek 5.0.0. None is known as of 2026-10-11. +- A decision to fork p2panda-core (Option D). That would remove the boundary but add maintenance. +- A need for p2panda types in `pkgs/id`'s public API. Then the conversions spread, and a thin wrapper type at the edge would be worth it. + +Suggested edits, not made here (the brief says not to modify `pkgs/id`, and I did not touch the design docs): +- Decision 19 (index row 19 and `task-12` option C): replace "one copy in the tree" with "two copies, one boundary" and recommend 3.0 with a shim. +- `task-11-dependencies-and-upstream.md:30`: change "both sides use `verify_strict`" to say `pkgs/id` uses `verify` today and must change to `verify_strict`. +- `pkgs/id`: change `directory_log.rs:100`, `artifact.rs:300`, `directory.rs:396`, `directory_auth.rs:349` and `web/identity.rs:432` from `verify` to `verify_strict`. Test them after the change, since each call site's key handling may have its own assumptions. + +## Not verified + +- `pkgs/id` was not built, and `cargo tree` was not run there. The migration line list (E9, Short answer 7) comes from reading, not compiling. The "2.x would change these lines" claim is inferred. +- I did not trace whether each non-strict `verify` call site also checks the key against an allowlist or membership list. So the risk from E10's forgery results is not assessed for any call site. +- Not tested: batch verification (`verify_batch`, which differs in transcript: merlin in 2.x, strobe-rs in 3.x), Ed25519ph and context signing, the hazmat `raw_verify` entry points directly, and performance. None of these appear in `pkgs/id` or p2panda in the grep, but p2panda was grepped only in `p2panda-core`. +- Not checked: whether iroh-blobs, iroh-docs or iroh-gossip request ed25519-dalek directly (I only read iroh and iroh-base). +- Not checked: whether any dependent in our tree requests `legacy_compatibility`. The registry copies do not, and the crates.io metadata for russh and ssh-key does not. Mainline and distributed-topic-tracker are in the registry and do not request it. The check is by file search, not by `cargo tree -e features` on `pkgs/id`. +- Not checked: RUSTSEC-2019-0035 and RUSTSEC-2021-0023 (rand_core): I read only their dates, not their affected ranges. Both concern older rand_core lines, but I have not confirmed that against 0.6.4 or 0.10.1. +- Not run: `cargo audit`, and OSV bulk queries. Advisory results are from the specific reads listed in E11, on 2026-10-11. +- Not checked: upstream dalek `CHANGELOG.md` on `main` for any unreleased section (only `Cargo.toml` version was read). +- The statement "no `From` impls between 2.x and 3.x types" is inferred from the dependency graph and the test code, not from a compile-fail test. +- The error `Display` text depends on the `signature` version (3.0.0 omits the source) and on ed25519-dalek's `alloc`/`std` gates, which decide whether a source exists. The test's 3.0.0 build enables `pem` (so `alloc`), matching iroh 1.3.0's feature request (`iroh-1.3.0/Cargo.toml:239–246`). I did not run `pkgs/id`'s build, so its exact feature set is not checked. +- Timing: nothing here measures constant-time behaviour. The curve25519-dalek 5.0.0 change to constant-time point equality was read from the CHANGELOG, not measured. diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/advisories/RUSTSEC-2019-0035.md b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/advisories/RUSTSEC-2019-0035.md new file mode 100644 index 0000000000..d475ca1278 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/advisories/RUSTSEC-2019-0035.md @@ -0,0 +1,24 @@ +```toml +[advisory] +id = "RUSTSEC-2019-0035" +package = "rand_core" +aliases = ["GHSA-mmc9-pwm7-qj5w", "CVE-2020-25576"] +cvss = "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" +date = "2019-04-19" +informational = "unsound" +url = "https://github.com/rust-random/rand/blob/master/rand_core/CHANGELOG.md#050---2019-06-06" + +[affected.functions] +"rand_core::BlockRng::fill_bytes" = ["< 0.4.2"] +"rand_core::BlockRng::next_u64" = ["< 0.4.2"] + +[versions] +patched = ["^ 0.3.1", ">= 0.4.2"] +``` + +# Unaligned memory access + +Affected versions of this crate violated alignment when casting byte slices to +integer slices, resulting in undefined behavior. + +The flaw was corrected by Ralf Jung and Diggory Hardy. diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/advisories/RUSTSEC-2021-0023.md b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/advisories/RUSTSEC-2021-0023.md new file mode 100644 index 0000000000..ca243d1586 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/advisories/RUSTSEC-2021-0023.md @@ -0,0 +1,26 @@ +```toml +[advisory] +id = "RUSTSEC-2021-0023" +package = "rand_core" +aliases = ["CVE-2021-27378", "GHSA-w7j2-35mf-95p7"] +cvss = "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" +date = "2021-02-12" +url = "https://github.com/rust-random/rand/pull/1096" +categories = ["crypto-failure"] +keywords = [] + +# Optional: metadata which narrows the scope of what this advisory affects +[affected.functions] +"rand_core::le::read_u32_into" = ["< 0.6.2, >= 0.6.0"] +"rand_core::le::read_u64_into" = ["< 0.6.2, >= 0.6.0"] + +[versions] +patched = [">= 0.6.2"] +unaffected = ["< 0.6.0"] +``` + +# Incorrect check on buffer length when seeding RNGs + +Summary: rand_core::le::read_u32_into and read_u64_into have incorrect checks on the source buffer length, allowing the destination buffer to be under-filled. + +Implications: some downstream RNGs, including Hc128Rng (but not the more widely used ChaCha*Rng), allow seeding using the SeedableRng::from_seed trait-function with too short keys. diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/advisories/RUSTSEC-2021-0100.md b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/advisories/RUSTSEC-2021-0100.md new file mode 100644 index 0000000000..d9d53aa6ad --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/advisories/RUSTSEC-2021-0100.md @@ -0,0 +1,27 @@ +```toml +[advisory] +id = "RUSTSEC-2021-0100" +package = "sha2" +date = "2021-09-08" +categories = ["crypto-failure"] +keywords = ["cryptography"] +url = "https://github.com/RustCrypto/hashes/pull/314" +aliases = ["CVE-2021-45696", "GHSA-fc7x-2cmc-8j2g", "GHSA-xpww-g9jx-hp8r"] + +[versions] +patched = [">= 0.9.8"] +unaffected = ["< 0.9.7"] +``` + +# Miscomputed results when using AVX2 backend + +The v0.9.7 release of the `sha2` crate introduced a new AVX2-accelerated +backend which was automatically enabled for all x86/x86_64 CPUs where AVX2 +support was autodetected at runtime. + +This backend was buggy and would miscompute results for long messages +(i.e. messages spanning multiple SHA blocks). + +The crate has since been yanked, but any users who upgraded to v0.9.7 should +immediately upgrade to v0.9.8 and recompute any hashes which were previously +computed by v0.9.7. diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/advisories/RUSTSEC-2022-0093.md b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/advisories/RUSTSEC-2022-0093.md new file mode 100644 index 0000000000..36d43cfac0 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/advisories/RUSTSEC-2022-0093.md @@ -0,0 +1,30 @@ +```toml +[advisory] +id = "RUSTSEC-2022-0093" +package = "ed25519-dalek" +date = "2022-06-11" +categories = ["crypto-failure"] +url = "https://github.com/MystenLabs/ed25519-unsafe-libs" +aliases = ["CVE-2022-50237", "GHSA-w5vr-6qhr-36cc"] + +[versions] +patched = [">= 2"] +``` + +# Double Public Key Signing Function Oracle Attack on `ed25519-dalek` + +Versions of `ed25519-dalek` prior to v2.0 model private and public keys as +separate types which can be assembled into a `Keypair`, and also provide APIs +for serializing and deserializing 64-byte private/public keypairs. + +Such APIs and serializations are inherently unsafe as the public key is one of +the inputs used in the deterministic computation of the `S` part of the signature, +but not in the `R` value. An adversary could somehow use the signing function as +an oracle that allows arbitrary public keys as input can obtain two signatures +for the same message sharing the same `R` and only differ on the `S` part. + +Unfortunately, when this happens, one can easily extract the private key. + +Revised public APIs in v2.0 of `ed25519-dalek` do NOT allow a decoupled +private/public keypair as signing input, except as part of specially labeled +"hazmat" APIs which are clearly labeled as being dangerous if misused. diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/advisories/RUSTSEC-2024-0344.md b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/advisories/RUSTSEC-2024-0344.md new file mode 100644 index 0000000000..67b854219f --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/advisories/RUSTSEC-2024-0344.md @@ -0,0 +1,43 @@ +```toml +[advisory] +id = "RUSTSEC-2024-0344" +package = "curve25519-dalek" +date = "2024-06-18" +categories = ["crypto-failure"] +url = "https://github.com/dalek-cryptography/curve25519-dalek/pull/659" +aliases = ["CVE-2024-58262", "GHSA-x4gp-pqpj-f43q"] + +[versions] +patched = [">= 4.1.3"] +``` + +# Timing variability in `curve25519-dalek`'s `Scalar29::sub`/`Scalar52::sub` + +Timing variability of any kind is problematic when working with potentially secret values such as +elliptic curve scalars, and such issues can potentially leak private keys and other secrets. Such a +problem was recently discovered in `curve25519-dalek`. + +The `Scalar29::sub` (32-bit) and `Scalar52::sub` (64-bit) functions contained usage of a mask value +inside a loop where LLVM saw an opportunity to insert a branch instruction (`jns` on x86) to +conditionally bypass this code section when the mask value is set to zero as can be seen in godbolt: + +- 32-bit (see L106): +- 64-bit (see L48): + +A similar problem was recently discovered in the Kyber reference implementation: + + + +As discussed on that thread, one portable solution, which is also used in this PR, is to introduce a +volatile read as an optimization barrier, which prevents the compiler from optimizing it away. + +The fix can be validated in godbolt here: + +- 32-bit: +- 64-bit: + +The problem was discovered and the solution independently verified by +Alexander Wagner and Lea Themint using +their DATA tool: + + diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/advisories/gh-curve.json b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/advisories/gh-curve.json new file mode 100644 index 0000000000..5172bda5fd --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/advisories/gh-curve.json @@ -0,0 +1 @@ +[{"ghsa_id":"GHSA-4hff-hh47-7788","cve_id":null,"url":"https://api.github.com/advisories/GHSA-4hff-hh47-7788","html_url":"https://github.com/advisories/GHSA-4hff-hh47-7788","summary":"Duplicate Advisory: curve25519-dalek has timing variability in `curve25519-dalek`'s `Scalar29::sub`/`Scalar52::sub`","description":"### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-x4gp-pqpj-f43q. This link is maintained to preserve external references.\n\n### Original Description\nThe curve25519-dalek crate before 4.1.3 for Rust has a constant-time operation on elliptic curve scalars that is removed by LLVM.","type":"reviewed","severity":"low","repository_advisory_url":null,"source_code_location":"https://github.com/dalek-cryptography/curve25519-dalek","identifiers":[{"value":"GHSA-4hff-hh47-7788","type":"GHSA"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2024-58262","https://github.com/dalek-cryptography/curve25519-dalek/pull/659","https://crates.io/crates/curve25519-dalek","https://rustsec.org/advisories/RUSTSEC-2024-0344.html","https://github.com/advisories/GHSA-4hff-hh47-7788"],"published_at":"2025-07-27T21:32:11Z","updated_at":"2025-07-28T15:46:05Z","github_reviewed_at":"2025-07-28T15:46:04Z","nvd_published_at":"2025-07-27T20:15:25Z","withdrawn_at":"2025-07-28T15:46:04Z","vulnerabilities":[{"package":{"ecosystem":"rust","name":"curve25519-dalek"},"vulnerable_version_range":"< 4.1.3","first_patched_version":"4.1.3","vulnerable_functions":[]}],"cvss_severities":{"cvss_v3":{"vector_string":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","score":2.9},"cvss_v4":{"vector_string":null,"score":0.0}},"cwes":[{"cwe_id":"CWE-733","name":"Compiler Optimization Removal or Modification of Security-critical Code"}],"credits":[],"comments":0,"cvss":{"vector_string":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","score":2.9}},{"ghsa_id":"GHSA-x4gp-pqpj-f43q","cve_id":"CVE-2024-58262","url":"https://api.github.com/advisories/GHSA-x4gp-pqpj-f43q","html_url":"https://github.com/advisories/GHSA-x4gp-pqpj-f43q","summary":"curve25519-dalek has timing variability in `curve25519-dalek`'s `Scalar29::sub`/`Scalar52::sub`","description":"Timing variability of any kind is problematic when working with potentially secret values such as elliptic curve scalars, and such issues can potentially leak private keys and other secrets. Such a problem was recently discovered in `curve25519-dalek`.\n\nThe `Scalar29::sub` (32-bit) and `Scalar52::sub` (64-bit) functions contained usage of a mask value inside a loop where LLVM saw an opportunity to insert a branch instruction (`jns` on x86) to conditionally bypass this code section when the mask value is set to zero as can be seen in godbolt:\n\n- 32-bit (see L106): https://godbolt.org/z/zvaWxzvqv\n- 64-bit (see L48): https://godbolt.org/z/PczYj7Pda\n\nA similar problem was recently discovered in the Kyber reference implementation:\n\nhttps://groups.google.com/a/list.nist.gov/g/pqc-forum/c/hqbtIGFKIpU/m/cnE3pbueBgAJ\n\nAs discussed on that thread, one portable solution, which is also used in this PR, is to introduce a volatile read as an optimization barrier, which prevents the compiler from optimizing it away.\n\nThe fix can be validated in godbolt here:\n\n- 32-bit: https://godbolt.org/z/jc9j7eb8E\n- 64-bit: https://godbolt.org/z/x8d46Yfah\n\nThe problem was discovered and the solution independently verified by Alexander Wagner and Lea Themint using their DATA tool:\n\nhttps://github.com/Fraunhofer-AISEC/DATA","type":"reviewed","severity":"low","repository_advisory_url":null,"source_code_location":"https://github.com/dalek-cryptography/curve25519-dalek","identifiers":[{"value":"GHSA-x4gp-pqpj-f43q","type":"GHSA"},{"value":"CVE-2024-58262","type":"CVE"}],"references":["https://github.com/dalek-cryptography/curve25519-dalek/pull/659","https://github.com/dalek-cryptography/curve25519-dalek/commit/415892acf1cdf9161bd6a4c99bc2f4cb8fae5e6a","https://rustsec.org/advisories/RUSTSEC-2024-0344.html","https://nvd.nist.gov/vuln/detail/CVE-2024-58262","https://github.com/advisories/GHSA-x4gp-pqpj-f43q"],"published_at":"2024-06-18T21:56:24Z","updated_at":"2026-02-17T19:30:26Z","github_reviewed_at":"2024-06-18T21:56:24Z","nvd_published_at":null,"withdrawn_at":null,"vulnerabilities":[{"package":{"ecosystem":"rust","name":"curve25519-dalek"},"vulnerable_version_range":"< 4.1.3","first_patched_version":"4.1.3","vulnerable_functions":[]}],"cvss_severities":{"cvss_v3":{"vector_string":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","score":2.9},"cvss_v4":{"vector_string":null,"score":0.0}},"cwes":[{"cwe_id":"CWE-203","name":"Observable Discrepancy"}],"credits":[{"user":{"login":"sunnypatell","id":85314409,"node_id":"MDQ6VXNlcjg1MzE0NDA5","avatar_url":"https://avatars.githubusercontent.com/u/85314409?v=4","gravatar_id":"","url":"https://api.github.com/users/sunnypatell","html_url":"https://github.com/sunnypatell","followers_url":"https://api.github.com/users/sunnypatell/followers","following_url":"https://api.github.com/users/sunnypatell/following{/other_user}","gists_url":"https://api.github.com/users/sunnypatell/gists{/gist_id}","starred_url":"https://api.github.com/users/sunnypatell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunnypatell/subscriptions","organizations_url":"https://api.github.com/users/sunnypatell/orgs","repos_url":"https://api.github.com/users/sunnypatell/repos","events_url":"https://api.github.com/users/sunnypatell/events{/privacy}","received_events_url":"https://api.github.com/users/sunnypatell/received_events","type":"User","user_view_type":"public","site_admin":false},"type":"analyst"}],"comments":0,"cvss":{"vector_string":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","score":2.9},"epss":{"percentage":0.00158,"percentile":0.04264}}] \ No newline at end of file diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/advisories/gh-ed25519-dalek.json b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/advisories/gh-ed25519-dalek.json new file mode 100644 index 0000000000..d52c79e87b --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/advisories/gh-ed25519-dalek.json @@ -0,0 +1 @@ +[{"ghsa_id":"GHSA-g693-v3jr-8hcr","cve_id":null,"url":"https://api.github.com/advisories/GHSA-g693-v3jr-8hcr","html_url":"https://github.com/advisories/GHSA-g693-v3jr-8hcr","summary":"Duplicate Advisory: `ed25519-dalek` Double Public Key Signing Function Oracle Attack","description":"### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-w5vr-6qhr-36cc. This link is maintained to preserve external references.\n\n### Original Description\nThe ed25519-dalek crate before 2 for Rust allows a double public key signing function oracle attack. The Keypair implementation leads to a simple computation for extracting a private key.","type":"reviewed","severity":"medium","repository_advisory_url":null,"source_code_location":"","identifiers":[{"value":"GHSA-g693-v3jr-8hcr","type":"GHSA"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2022-50237","https://crates.io/crates/ed25519-dalek","https://github.com/MystenLabs/ed25519-unsafe-libs","https://rustsec.org/advisories/RUSTSEC-2022-0093.html","https://github.com/advisories/GHSA-g693-v3jr-8hcr"],"published_at":"2025-07-28T03:31:04Z","updated_at":"2025-07-28T15:53:21Z","github_reviewed_at":"2025-07-28T15:53:19Z","nvd_published_at":"2025-07-28T02:15:24Z","withdrawn_at":"2025-07-28T15:53:19Z","vulnerabilities":[{"package":{"ecosystem":"rust","name":"ed25519-dalek"},"vulnerable_version_range":"< 2.0.0","first_patched_version":"2.0.0","vulnerable_functions":[]}],"cvss_severities":{"cvss_v3":{"vector_string":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N","score":5.9},"cvss_v4":{"vector_string":null,"score":0.0}},"cwes":[{"cwe_id":"CWE-497","name":"Exposure of Sensitive System Information to an Unauthorized Control Sphere"}],"credits":[],"comments":0,"cvss":{"vector_string":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N","score":5.9}},{"ghsa_id":"GHSA-w5vr-6qhr-36cc","cve_id":"CVE-2022-50237","url":"https://api.github.com/advisories/GHSA-w5vr-6qhr-36cc","html_url":"https://github.com/advisories/GHSA-w5vr-6qhr-36cc","summary":"`ed25519-dalek` Double Public Key Signing Function Oracle Attack","description":"Versions of `ed25519-dalek` prior to v2.0 model private and public keys as separate types which can be assembled into a `Keypair`, and also provide APIs for serializing and deserializing 64-byte private/public keypairs.\n\nSuch APIs and serializations are inherently unsafe as the public key is one of the inputs used in the deterministic computation of the `S` part of the signature, but not in the `R` value. An adversary could somehow use the signing function as an oracle that allows arbitrary public keys as input can obtain two signatures for the same message sharing the same `R` and only differ on the `S` part.\n\nUnfortunately, when this happens, one can easily extract the private key.\n\nRevised public APIs in v2.0 of `ed25519-dalek` do NOT allow a decoupled private/public keypair as signing input, except as part of specially labeled \"hazmat\" APIs which are clearly labeled as being dangerous if misused.","type":"reviewed","severity":"medium","repository_advisory_url":null,"source_code_location":"https://github.com/dalek-cryptography/ed25519-dalek","identifiers":[{"value":"GHSA-w5vr-6qhr-36cc","type":"GHSA"},{"value":"CVE-2022-50237","type":"CVE"}],"references":["https://github.com/MystenLabs/ed25519-unsafe-libs","https://rustsec.org/advisories/RUSTSEC-2022-0093.html","https://nvd.nist.gov/vuln/detail/CVE-2022-50237","https://github.com/advisories/GHSA-w5vr-6qhr-36cc"],"published_at":"2023-08-14T21:10:29Z","updated_at":"2025-07-28T15:53:34Z","github_reviewed_at":"2023-08-14T21:10:29Z","nvd_published_at":null,"withdrawn_at":null,"vulnerabilities":[{"package":{"ecosystem":"rust","name":"ed25519-dalek"},"vulnerable_version_range":"< 2.0.0","first_patched_version":"2.0.0","vulnerable_functions":[]}],"cvss_severities":{"cvss_v3":{"vector_string":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N","score":5.9},"cvss_v4":{"vector_string":null,"score":0.0}},"cwes":[{"cwe_id":"CWE-497","name":"Exposure of Sensitive System Information to an Unauthorized Control Sphere"}],"credits":[],"comments":0,"cvss":{"vector_string":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N","score":5.9},"epss":{"percentage":0.00191,"percentile":0.07805}}] \ No newline at end of file diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/advisories/gh-ed25519.json b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/advisories/gh-ed25519.json new file mode 100644 index 0000000000..0637a088a0 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/advisories/gh-ed25519.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/advisories/gh-signature.json b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/advisories/gh-signature.json new file mode 100644 index 0000000000..0637a088a0 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/advisories/gh-signature.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/advisories/osv-RUSTSEC-2022-0093.json b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/advisories/osv-RUSTSEC-2022-0093.json new file mode 100644 index 0000000000..27ea84e440 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/advisories/osv-RUSTSEC-2022-0093.json @@ -0,0 +1 @@ +{"id":"RUSTSEC-2022-0093","summary":"Double Public Key Signing Function Oracle Attack on `ed25519-dalek`","details":"Versions of `ed25519-dalek` prior to v2.0 model private and public keys as\nseparate types which can be assembled into a `Keypair`, and also provide APIs\nfor serializing and deserializing 64-byte private/public keypairs.\n\nSuch APIs and serializations are inherently unsafe as the public key is one of\nthe inputs used in the deterministic computation of the `S` part of the signature,\nbut not in the `R` value. An adversary could somehow use the signing function as\nan oracle that allows arbitrary public keys as input can obtain two signatures\nfor the same message sharing the same `R` and only differ on the `S` part.\n\nUnfortunately, when this happens, one can easily extract the private key.\n\nRevised public APIs in v2.0 of `ed25519-dalek` do NOT allow a decoupled\nprivate/public keypair as signing input, except as part of specially labeled\n\"hazmat\" APIs which are clearly labeled as being dangerous if misused.","aliases":["CVE-2022-50237","GHSA-w5vr-6qhr-36cc"],"modified":"2025-10-28T06:02:18Z","published":"2022-06-11T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/ed25519-dalek"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2022-0093.html"},{"type":"WEB","url":"https://github.com/MystenLabs/ed25519-unsafe-libs"}],"affected":[{"package":{"name":"ed25519-dalek","ecosystem":"crates.io","purl":"pkg:cargo/ed25519-dalek"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"2.0.0"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"os":[],"arch":[],"functions":[]}},"database_specific":{"categories":["crypto-failure"],"cvss":null,"informational":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2022-0093.json"}}],"schema_version":"1.7.3"} \ No newline at end of file diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/advisories/osv-RUSTSEC-2024-0344.json b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/advisories/osv-RUSTSEC-2024-0344.json new file mode 100644 index 0000000000..d6860ee3ef --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/advisories/osv-RUSTSEC-2024-0344.json @@ -0,0 +1 @@ +{"id":"RUSTSEC-2024-0344","summary":"Timing variability in `curve25519-dalek`'s `Scalar29::sub`/`Scalar52::sub`","details":"Timing variability of any kind is problematic when working with potentially secret values such as\nelliptic curve scalars, and such issues can potentially leak private keys and other secrets. Such a\nproblem was recently discovered in `curve25519-dalek`.\n\nThe `Scalar29::sub` (32-bit) and `Scalar52::sub` (64-bit) functions contained usage of a mask value\ninside a loop where LLVM saw an opportunity to insert a branch instruction (`jns` on x86) to\nconditionally bypass this code section when the mask value is set to zero as can be seen in godbolt:\n\n- 32-bit (see L106): \u003chttps://godbolt.org/z/zvaWxzvqv\u003e\n- 64-bit (see L48): \u003chttps://godbolt.org/z/PczYj7Pda\u003e\n\nA similar problem was recently discovered in the Kyber reference implementation:\n\n\u003chttps://groups.google.com/a/list.nist.gov/g/pqc-forum/c/hqbtIGFKIpU/m/cnE3pbueBgAJ\u003e\n\nAs discussed on that thread, one portable solution, which is also used in this PR, is to introduce a\nvolatile read as an optimization barrier, which prevents the compiler from optimizing it away.\n\nThe fix can be validated in godbolt here:\n\n- 32-bit: \u003chttps://godbolt.org/z/jc9j7eb8E\u003e\n- 64-bit: \u003chttps://godbolt.org/z/x8d46Yfah\u003e\n\nThe problem was discovered and the solution independently verified by \nAlexander Wagner \u003calexander.wagner@aisec.fraunhofer.de\u003e and Lea Themint \u003clea.thiemt@tum.de\u003e using\ntheir DATA tool:\n\n\u003chttps://github.com/Fraunhofer-AISEC/DATA\u003e","aliases":["CVE-2024-58262","GHSA-x4gp-pqpj-f43q"],"modified":"2025-10-28T06:29:09.774018Z","published":"2024-06-18T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/curve25519-dalek"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2024-0344.html"},{"type":"WEB","url":"https://github.com/dalek-cryptography/curve25519-dalek/pull/659"}],"affected":[{"package":{"name":"curve25519-dalek","ecosystem":"crates.io","purl":"pkg:cargo/curve25519-dalek"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"4.1.3"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"functions":[],"os":[],"arch":[]}},"database_specific":{"categories":["crypto-failure"],"cvss":null,"informational":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2024-0344.json"}}],"schema_version":"1.7.3"} \ No newline at end of file diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/api/full-2.2.0.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/api/full-2.2.0.txt new file mode 100644 index 0000000000..205c2e4b4f --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/api/full-2.2.0.txt @@ -0,0 +1,82 @@ +src/context.rs:49:pub struct Context<'k, 'v, K> { +src/context.rs:59: pub const MAX_LENGTH: usize = 255; +src/context.rs:62: pub(crate) fn new(key: &'k K, value: &'v [u8]) -> Result { +src/context.rs:71: pub fn key(&self) -> &'k K { +src/context.rs:76: pub fn value(&self) -> &'v [u8] { +src/verifying.rs:48:pub use self::stream::StreamVerifier; +src/verifying.rs:63:pub struct VerifyingKey { +src/verifying.rs:120: pub fn to_bytes(&self) -> [u8; PUBLIC_KEY_LENGTH] { +src/verifying.rs:126: pub fn as_bytes(&self) -> &[u8; PUBLIC_KEY_LENGTH] { +src/verifying.rs:165: pub fn from_bytes(bytes: &[u8; PUBLIC_KEY_LENGTH]) -> Result { +src/verifying.rs:178: pub fn with_context<'k, 'v>( +src/verifying.rs:190: pub fn is_weak(&self) -> bool { +src/verifying.rs:201: pub(crate) fn raw_verify( +src/verifying.rs:228: pub(crate) fn raw_verify_prehashed( +src/verifying.rs:282: pub fn verify_prehashed( +src/verifying.rs:357: pub fn verify_strict( +src/verifying.rs:388: pub fn verify_stream( +src/verifying.rs:422: pub fn verify_prehashed_strict( +src/verifying.rs:474: pub fn to_montgomery(&self) -> MontgomeryPoint { +src/verifying.rs:479: pub fn to_edwards(&self) -> EdwardsPoint { +src/verifying.rs:494:pub(crate) struct RCompute { +src/verifying.rs:507: pub(crate) fn compute( +src/verifying.rs:518: pub(crate) fn new( +src/verifying.rs:543: pub(crate) fn update(&mut self, m: &[u8]) { +src/verifying.rs:547: pub(crate) fn finish(self) -> CompressedEdwardsY { +src/verifying/stream.rs:13:pub struct StreamVerifier { +src/verifying/stream.rs:22: pub(crate) fn new(public_key: VerifyingKey, signature: InternalSignature) -> Self { +src/verifying/stream.rs:30: pub fn update(&mut self, chunk: impl AsRef<[u8]>) { +src/verifying/stream.rs:36: pub fn finalize_and_verify(self) -> Result<(), SignatureError> { +src/constants.rs:13:pub const SIGNATURE_LENGTH: usize = 64; +src/constants.rs:16:pub const SECRET_KEY_LENGTH: usize = 32; +src/constants.rs:19:pub const PUBLIC_KEY_LENGTH: usize = 32; +src/constants.rs:22:pub const KEYPAIR_LENGTH: usize = SECRET_KEY_LENGTH + PUBLIC_KEY_LENGTH; +src/constants.rs:31:pub const EXPANDED_SECRET_KEY_LENGTH: usize = +src/signing.rs:59:pub type SecretKey = [u8; SECRET_KEY_LENGTH]; +src/signing.rs:66:pub struct SigningKey { +src/signing.rs:104: pub fn from_bytes(secret_key: &SecretKey) -> Self { +src/signing.rs:114: pub fn to_bytes(&self) -> SecretKey { +src/signing.rs:120: pub fn as_bytes(&self) -> &SecretKey { +src/signing.rs:138: pub fn from_keypair_bytes(bytes: &[u8; 64]) -> Result { +src/signing.rs:160: pub fn to_keypair_bytes(&self) -> [u8; KEYPAIR_LENGTH] { +src/signing.rs:169: pub fn verifying_key(&self) -> VerifyingKey { +src/signing.rs:176: pub fn with_context<'k, 'v>( +src/signing.rs:202: pub fn generate(csprng: &mut R) -> SigningKey { +src/signing.rs:310: pub fn sign_prehashed( +src/signing.rs:326: pub fn verify(&self, message: &[u8], signature: &Signature) -> Result<(), SignatureError> { +src/signing.rs:398: pub fn verify_prehashed( +src/signing.rs:474: pub fn verify_strict( +src/signing.rs:486: pub fn verify_stream( +src/signing.rs:510: pub fn to_scalar_bytes(&self) -> [u8; 32] { +src/signing.rs:536: pub fn to_scalar(&self) -> Scalar { +src/signing.rs:832: pub(crate) fn raw_sign( +src/signing.rs:856: pub(crate) fn raw_sign_byupdate( +src/signing.rs:895: pub(crate) fn raw_sign_prehashed( +src/batch.rs:22:pub use curve25519_dalek::digest::Digest; +src/batch.rs:136:pub fn verify_batch( +src/hazmat.rs:40:pub struct ExpandedSecretKey { +src/hazmat.rs:84: pub fn from_bytes(bytes: &[u8; 64]) -> Self { +src/hazmat.rs:108: pub fn from_slice(bytes: &[u8]) -> Result { +src/hazmat.rs:137:pub fn raw_sign( +src/hazmat.rs:182:pub fn raw_sign_prehashed( +src/hazmat.rs:210:pub fn raw_sign_byupdate( +src/hazmat.rs:225:pub fn raw_verify( +src/hazmat.rs:242:pub fn raw_verify_prehashed( +src/errors.rs:25:pub(crate) enum InternalError { +src/errors.rs:107:pub type SignatureError = ed25519::signature::Error; +src/lib.rs:256:pub use ed25519; +src/lib.rs:269:pub mod hazmat; +src/lib.rs:274:pub use curve25519_dalek::digest::Digest; +src/lib.rs:276:pub use sha2::Sha512; +src/lib.rs:279:pub use crate::batch::*; +src/lib.rs:280:pub use crate::constants::*; +src/lib.rs:282:pub use crate::context::Context; +src/lib.rs:283:pub use crate::errors::*; +src/lib.rs:284:pub use crate::signing::*; +src/lib.rs:285:pub use crate::verifying::*; +src/lib.rs:289:pub use ed25519::signature::{DigestSigner, DigestVerifier}; +src/lib.rs:290:pub use ed25519::signature::{Signer, Verifier}; +src/lib.rs:291:pub use ed25519::Signature; +src/lib.rs:294:pub use ed25519::pkcs8; +src/signature.rs:29:pub(crate) struct InternalSignature { +src/signature.rs:151: pub fn from_bytes(bytes: &[u8; SIGNATURE_LENGTH]) -> Result { diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/api/full-3.0.0.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/api/full-3.0.0.txt new file mode 100644 index 0000000000..239e946b0e --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/api/full-3.0.0.txt @@ -0,0 +1,95 @@ +src/context.rs:55:pub struct Context<'k, 'v, K> { +src/context.rs:65: pub const MAX_LENGTH: usize = 255; +src/context.rs:68: pub(crate) fn new(key: &'k K, value: &'v [u8]) -> Result { +src/context.rs:77: pub fn key(&self) -> &'k K { +src/context.rs:82: pub fn value(&self) -> &'v [u8] { +src/verifying.rs:53:pub use self::stream::StreamVerifier; +src/verifying.rs:68:pub struct VerifyingKey { +src/verifying.rs:130: pub fn to_bytes(&self) -> [u8; PUBLIC_KEY_LENGTH] { +src/verifying.rs:136: pub fn as_bytes(&self) -> &[u8; PUBLIC_KEY_LENGTH] { +src/verifying.rs:175: pub fn from_bytes(bytes: &[u8; PUBLIC_KEY_LENGTH]) -> Result { +src/verifying.rs:188: pub fn with_context<'k, 'v>( +src/verifying.rs:200: pub fn is_weak(&self) -> bool { +src/verifying.rs:211: pub(crate) fn raw_verify( +src/verifying.rs:238: pub(crate) fn raw_verify_prehashed( +src/verifying.rs:292: pub fn verify_prehashed( +src/verifying.rs:367: pub fn verify_strict( +src/verifying.rs:398: pub fn verify_stream( +src/verifying.rs:432: pub fn verify_prehashed_strict( +src/verifying.rs:484: pub fn to_montgomery(&self) -> MontgomeryPoint { +src/verifying.rs:489: pub fn to_edwards(&self) -> EdwardsPoint { +src/verifying.rs:504:pub(crate) struct RCompute { +src/verifying.rs:517: pub(crate) fn compute( +src/verifying.rs:528: pub(crate) fn new( +src/verifying.rs:553: pub(crate) fn update(&mut self, m: &[u8]) { +src/verifying.rs:557: pub(crate) fn finish(self) -> CompressedEdwardsY { +src/verifying/stream.rs:13:pub struct StreamVerifier { +src/verifying/stream.rs:22: pub(crate) fn new(public_key: VerifyingKey, signature: InternalSignature) -> Self { +src/verifying/stream.rs:30: pub fn update(&mut self, chunk: impl AsRef<[u8]>) { +src/verifying/stream.rs:36: pub fn finalize_and_verify(self) -> Result<(), SignatureError> { +src/constants.rs:13:pub const SIGNATURE_LENGTH: usize = 64; +src/constants.rs:16:pub const SECRET_KEY_LENGTH: usize = 32; +src/constants.rs:19:pub const PUBLIC_KEY_LENGTH: usize = 32; +src/constants.rs:22:pub const KEYPAIR_LENGTH: usize = SECRET_KEY_LENGTH + PUBLIC_KEY_LENGTH; +src/constants.rs:31:pub const EXPANDED_SECRET_KEY_LENGTH: usize = +src/signing.rs:70:pub type SecretKey = [u8; SECRET_KEY_LENGTH]; +src/signing.rs:77:pub struct SigningKey { +src/signing.rs:115: pub fn from_bytes(secret_key: &SecretKey) -> Self { +src/signing.rs:125: pub fn to_bytes(&self) -> SecretKey { +src/signing.rs:131: pub fn as_bytes(&self) -> &SecretKey { +src/signing.rs:149: pub fn from_keypair_bytes(bytes: &[u8; 64]) -> Result { +src/signing.rs:171: pub fn to_keypair_bytes(&self) -> [u8; KEYPAIR_LENGTH] { +src/signing.rs:180: pub fn verifying_key(&self) -> VerifyingKey { +src/signing.rs:187: pub fn with_context<'k, 'v>( +src/signing.rs:213: pub fn generate(csprng: &mut R) -> SigningKey { +src/signing.rs:321: pub fn sign_prehashed( +src/signing.rs:337: pub fn verify(&self, message: &[u8], signature: &Signature) -> Result<(), SignatureError> { +src/signing.rs:409: pub fn verify_prehashed( +src/signing.rs:485: pub fn verify_strict( +src/signing.rs:497: pub fn verify_stream( +src/signing.rs:521: pub fn to_scalar_bytes(&self) -> [u8; 32] { +src/signing.rs:547: pub fn to_scalar(&self) -> Scalar { +src/signing.rs:886: pub(crate) fn raw_sign( +src/signing.rs:910: pub(crate) fn raw_sign_byupdate( +src/signing.rs:949: pub(crate) fn raw_sign_prehashed( +src/batch.rs:25:pub use curve25519_dalek::digest::Digest; +src/batch.rs:146:pub fn verify_batch( +src/batch/transcript.rs:39:pub struct Transcript { +src/batch/transcript.rs:54: pub fn new(label: &'static [u8]) -> Transcript { +src/batch/transcript.rs:69: pub fn append_message(&mut self, label: &'static [u8], message: &[u8]) { +src/batch/transcript.rs:83: pub fn challenge_bytes(&mut self, label: &'static [u8], dest: &mut [u8]) { +src/batch/transcript.rs:94: pub fn build_rng(&self) -> TranscriptRngBuilder { +src/batch/transcript.rs:131:pub struct TranscriptRngBuilder { +src/batch/transcript.rs:140: pub fn rekey_with_witness_bytes( +src/batch/transcript.rs:157: pub fn finalize(mut self, rng: &mut R) -> TranscriptRng +src/batch/transcript.rs:185:pub struct TranscriptRng { +src/batch/transcript.rs:227: pub fn new(label: &[u8]) -> TestTranscript { +src/batch/transcript.rs:237: pub fn append_message(&mut self, label: &[u8], message: &[u8]) { +src/batch/transcript.rs:249: pub fn challenge_bytes(&mut self, label: &[u8], dest: &mut [u8]) { +src/hazmat.rs:40:pub struct ExpandedSecretKey { +src/hazmat.rs:84: pub fn from_bytes(bytes: &[u8; 64]) -> Self { +src/hazmat.rs:108: pub fn from_slice(bytes: &[u8]) -> Result { +src/hazmat.rs:137:pub fn raw_sign( +src/hazmat.rs:182:pub fn raw_sign_prehashed( +src/hazmat.rs:210:pub fn raw_sign_byupdate( +src/hazmat.rs:225:pub fn raw_verify( +src/hazmat.rs:242:pub fn raw_verify_prehashed( +src/errors.rs:23:pub(crate) enum InternalError { +src/errors.rs:104:pub type SignatureError = ed25519::signature::Error; +src/lib.rs:257:pub use rand_core; +src/lib.rs:259:pub use ed25519; +src/lib.rs:272:pub mod hazmat; +src/lib.rs:277:pub use curve25519_dalek::digest::Digest; +src/lib.rs:279:pub use sha2::Sha512; +src/lib.rs:282:pub use crate::batch::*; +src/lib.rs:283:pub use crate::constants::*; +src/lib.rs:285:pub use crate::context::Context; +src/lib.rs:286:pub use crate::errors::*; +src/lib.rs:287:pub use crate::signing::*; +src/lib.rs:288:pub use crate::verifying::*; +src/lib.rs:292:pub use ::signature::{DigestSigner, DigestVerifier}; +src/lib.rs:293:pub use ed25519::Signature; +src/lib.rs:294:pub use ed25519::signature::{Signer, Verifier}; +src/lib.rs:297:pub use ed25519::pkcs8; +src/signature.rs:29:pub(crate) struct InternalSignature { +src/signature.rs:149: pub fn from_bytes(bytes: &[u8; SIGNATURE_LENGTH]) -> Result { diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/api/v2.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/api/v2.txt new file mode 100644 index 0000000000..ed51eab7ec --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/api/v2.txt @@ -0,0 +1,82 @@ +src/batch.rs pub fn verify_batch( +src/batch.rs pub use curve25519_dalek::digest::Digest; +src/constants.rs pub const EXPANDED_SECRET_KEY_LENGTH: usize = +src/constants.rs pub const KEYPAIR_LENGTH: usize = SECRET_KEY_LENGTH + PUBLIC_KEY_LENGTH; +src/constants.rs pub const PUBLIC_KEY_LENGTH: usize = 32; +src/constants.rs pub const SECRET_KEY_LENGTH: usize = 32; +src/constants.rs pub const SIGNATURE_LENGTH: usize = 64; +src/context.rs pub const MAX_LENGTH: usize = 255; +src/context.rs pub(crate) fn new(key: &'k K, value: &'v [u8]) -> Result { +src/context.rs pub fn key(&self) -> &'k K { +src/context.rs pub fn value(&self) -> &'v [u8] { +src/context.rs pub struct Context<'k, 'v, K> { +src/errors.rs pub(crate) enum InternalError { +src/errors.rs pub type SignatureError = ed25519::signature::Error; +src/hazmat.rs pub fn from_bytes(bytes: &[u8; 64]) -> Self { +src/hazmat.rs pub fn from_slice(bytes: &[u8]) -> Result { +src/hazmat.rs pub fn raw_sign_byupdate( +src/hazmat.rs pub fn raw_sign( +src/hazmat.rs pub fn raw_sign_prehashed( +src/hazmat.rs pub fn raw_verify( +src/hazmat.rs pub fn raw_verify_prehashed( +src/hazmat.rs pub struct ExpandedSecretKey { +src/lib.rs pub mod hazmat; +src/lib.rs pub use crate::batch::*; +src/lib.rs pub use crate::constants::*; +src/lib.rs pub use crate::context::Context; +src/lib.rs pub use crate::errors::*; +src/lib.rs pub use crate::signing::*; +src/lib.rs pub use crate::verifying::*; +src/lib.rs pub use curve25519_dalek::digest::Digest; +src/lib.rs pub use ed25519; +src/lib.rs pub use ed25519::pkcs8; +src/lib.rs pub use ed25519::Signature; +src/lib.rs pub use ed25519::signature::{DigestSigner, DigestVerifier}; +src/lib.rs pub use ed25519::signature::{Signer, Verifier}; +src/lib.rs pub use sha2::Sha512; +src/signature.rs pub(crate) struct InternalSignature { +src/signature.rs pub fn from_bytes(bytes: &[u8; SIGNATURE_LENGTH]) -> Result { +src/signing.rs pub(crate) fn raw_sign_byupdate( +src/signing.rs pub(crate) fn raw_sign( +src/signing.rs pub(crate) fn raw_sign_prehashed( +src/signing.rs pub fn as_bytes(&self) -> &SecretKey { +src/signing.rs pub fn from_bytes(secret_key: &SecretKey) -> Self { +src/signing.rs pub fn from_keypair_bytes(bytes: &[u8; 64]) -> Result { +src/signing.rs pub fn generate(csprng: &mut R) -> SigningKey { +src/signing.rs pub fn sign_prehashed( +src/signing.rs pub fn to_bytes(&self) -> SecretKey { +src/signing.rs pub fn to_keypair_bytes(&self) -> [u8; KEYPAIR_LENGTH] { +src/signing.rs pub fn to_scalar_bytes(&self) -> [u8; 32] { +src/signing.rs pub fn to_scalar(&self) -> Scalar { +src/signing.rs pub fn verifying_key(&self) -> VerifyingKey { +src/signing.rs pub fn verify_prehashed( +src/signing.rs pub fn verify(&self, message: &[u8], signature: &Signature) -> Result<(), SignatureError> { +src/signing.rs pub fn verify_stream( +src/signing.rs pub fn verify_strict( +src/signing.rs pub fn with_context<'k, 'v>( +src/signing.rs pub struct SigningKey { +src/signing.rs pub type SecretKey = [u8; SECRET_KEY_LENGTH]; +src/verifying.rs pub(crate) fn compute( +src/verifying.rs pub(crate) fn finish(self) -> CompressedEdwardsY { +src/verifying.rs pub(crate) fn new( +src/verifying.rs pub(crate) fn raw_verify( +src/verifying.rs pub(crate) fn raw_verify_prehashed( +src/verifying.rs pub(crate) fn update(&mut self, m: &[u8]) { +src/verifying.rs pub(crate) struct RCompute { +src/verifying.rs pub fn as_bytes(&self) -> &[u8; PUBLIC_KEY_LENGTH] { +src/verifying.rs pub fn from_bytes(bytes: &[u8; PUBLIC_KEY_LENGTH]) -> Result { +src/verifying.rs pub fn is_weak(&self) -> bool { +src/verifying.rs pub fn to_bytes(&self) -> [u8; PUBLIC_KEY_LENGTH] { +src/verifying.rs pub fn to_edwards(&self) -> EdwardsPoint { +src/verifying.rs pub fn to_montgomery(&self) -> MontgomeryPoint { +src/verifying.rs pub fn verify_prehashed( +src/verifying.rs pub fn verify_prehashed_strict( +src/verifying.rs pub fn verify_stream( +src/verifying.rs pub fn verify_strict( +src/verifying.rs pub fn with_context<'k, 'v>( +src/verifying.rs pub struct VerifyingKey { +src/verifying.rs pub use self::stream::StreamVerifier; +src/verifying/stream.rs pub(crate) fn new(public_key: VerifyingKey, signature: InternalSignature) -> Self { +src/verifying/stream.rs pub fn finalize_and_verify(self) -> Result<(), SignatureError> { +src/verifying/stream.rs pub fn update(&mut self, chunk: impl AsRef<[u8]>) { +src/verifying/stream.rs pub struct StreamVerifier { diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/api/v3.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/api/v3.txt new file mode 100644 index 0000000000..26dd987817 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/api/v3.txt @@ -0,0 +1,95 @@ +src/batch.rs pub fn verify_batch( +src/batch.rs pub use curve25519_dalek::digest::Digest; +src/batch/transcript.rs pub fn append_message(&mut self, label: &'static [u8], message: &[u8]) { +src/batch/transcript.rs pub fn append_message(&mut self, label: &[u8], message: &[u8]) { +src/batch/transcript.rs pub fn build_rng(&self) -> TranscriptRngBuilder { +src/batch/transcript.rs pub fn challenge_bytes(&mut self, label: &'static [u8], dest: &mut [u8]) { +src/batch/transcript.rs pub fn challenge_bytes(&mut self, label: &[u8], dest: &mut [u8]) { +src/batch/transcript.rs pub fn finalize(mut self, rng: &mut R) -> TranscriptRng +src/batch/transcript.rs pub fn new(label: &'static [u8]) -> Transcript { +src/batch/transcript.rs pub fn new(label: &[u8]) -> TestTranscript { +src/batch/transcript.rs pub fn rekey_with_witness_bytes( +src/batch/transcript.rs pub struct Transcript { +src/batch/transcript.rs pub struct TranscriptRng { +src/batch/transcript.rs pub struct TranscriptRngBuilder { +src/constants.rs pub const EXPANDED_SECRET_KEY_LENGTH: usize = +src/constants.rs pub const KEYPAIR_LENGTH: usize = SECRET_KEY_LENGTH + PUBLIC_KEY_LENGTH; +src/constants.rs pub const PUBLIC_KEY_LENGTH: usize = 32; +src/constants.rs pub const SECRET_KEY_LENGTH: usize = 32; +src/constants.rs pub const SIGNATURE_LENGTH: usize = 64; +src/context.rs pub const MAX_LENGTH: usize = 255; +src/context.rs pub(crate) fn new(key: &'k K, value: &'v [u8]) -> Result { +src/context.rs pub fn key(&self) -> &'k K { +src/context.rs pub fn value(&self) -> &'v [u8] { +src/context.rs pub struct Context<'k, 'v, K> { +src/errors.rs pub(crate) enum InternalError { +src/errors.rs pub type SignatureError = ed25519::signature::Error; +src/hazmat.rs pub fn from_bytes(bytes: &[u8; 64]) -> Self { +src/hazmat.rs pub fn from_slice(bytes: &[u8]) -> Result { +src/hazmat.rs pub fn raw_sign_byupdate( +src/hazmat.rs pub fn raw_sign( +src/hazmat.rs pub fn raw_sign_prehashed( +src/hazmat.rs pub fn raw_verify( +src/hazmat.rs pub fn raw_verify_prehashed( +src/hazmat.rs pub struct ExpandedSecretKey { +src/lib.rs pub mod hazmat; +src/lib.rs pub use crate::batch::*; +src/lib.rs pub use crate::constants::*; +src/lib.rs pub use crate::context::Context; +src/lib.rs pub use crate::errors::*; +src/lib.rs pub use crate::signing::*; +src/lib.rs pub use crate::verifying::*; +src/lib.rs pub use curve25519_dalek::digest::Digest; +src/lib.rs pub use ed25519; +src/lib.rs pub use ed25519::pkcs8; +src/lib.rs pub use ed25519::Signature; +src/lib.rs pub use ed25519::signature::{Signer, Verifier}; +src/lib.rs pub use rand_core; +src/lib.rs pub use sha2::Sha512; +src/lib.rs pub use ::signature::{DigestSigner, DigestVerifier}; +src/signature.rs pub(crate) struct InternalSignature { +src/signature.rs pub fn from_bytes(bytes: &[u8; SIGNATURE_LENGTH]) -> Result { +src/signing.rs pub(crate) fn raw_sign_byupdate( +src/signing.rs pub(crate) fn raw_sign( +src/signing.rs pub(crate) fn raw_sign_prehashed( +src/signing.rs pub fn as_bytes(&self) -> &SecretKey { +src/signing.rs pub fn from_bytes(secret_key: &SecretKey) -> Self { +src/signing.rs pub fn from_keypair_bytes(bytes: &[u8; 64]) -> Result { +src/signing.rs pub fn generate(csprng: &mut R) -> SigningKey { +src/signing.rs pub fn sign_prehashed( +src/signing.rs pub fn to_bytes(&self) -> SecretKey { +src/signing.rs pub fn to_keypair_bytes(&self) -> [u8; KEYPAIR_LENGTH] { +src/signing.rs pub fn to_scalar_bytes(&self) -> [u8; 32] { +src/signing.rs pub fn to_scalar(&self) -> Scalar { +src/signing.rs pub fn verifying_key(&self) -> VerifyingKey { +src/signing.rs pub fn verify_prehashed( +src/signing.rs pub fn verify(&self, message: &[u8], signature: &Signature) -> Result<(), SignatureError> { +src/signing.rs pub fn verify_stream( +src/signing.rs pub fn verify_strict( +src/signing.rs pub fn with_context<'k, 'v>( +src/signing.rs pub struct SigningKey { +src/signing.rs pub type SecretKey = [u8; SECRET_KEY_LENGTH]; +src/verifying.rs pub(crate) fn compute( +src/verifying.rs pub(crate) fn finish(self) -> CompressedEdwardsY { +src/verifying.rs pub(crate) fn new( +src/verifying.rs pub(crate) fn raw_verify( +src/verifying.rs pub(crate) fn raw_verify_prehashed( +src/verifying.rs pub(crate) fn update(&mut self, m: &[u8]) { +src/verifying.rs pub(crate) struct RCompute { +src/verifying.rs pub fn as_bytes(&self) -> &[u8; PUBLIC_KEY_LENGTH] { +src/verifying.rs pub fn from_bytes(bytes: &[u8; PUBLIC_KEY_LENGTH]) -> Result { +src/verifying.rs pub fn is_weak(&self) -> bool { +src/verifying.rs pub fn to_bytes(&self) -> [u8; PUBLIC_KEY_LENGTH] { +src/verifying.rs pub fn to_edwards(&self) -> EdwardsPoint { +src/verifying.rs pub fn to_montgomery(&self) -> MontgomeryPoint { +src/verifying.rs pub fn verify_prehashed( +src/verifying.rs pub fn verify_prehashed_strict( +src/verifying.rs pub fn verify_stream( +src/verifying.rs pub fn verify_strict( +src/verifying.rs pub fn with_context<'k, 'v>( +src/verifying.rs pub struct VerifyingKey { +src/verifying.rs pub use self::stream::StreamVerifier; +src/verifying/stream.rs pub(crate) fn new(public_key: VerifyingKey, signature: InternalSignature) -> Self { +src/verifying/stream.rs pub fn finalize_and_verify(self) -> Result<(), SignatureError> { +src/verifying/stream.rs pub fn update(&mut self, chunk: impl AsRef<[u8]>) { +src/verifying/stream.rs pub struct StreamVerifier { diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/cargo-tree-d.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/cargo-tree-d.txt new file mode 100644 index 0000000000..26374fa04f --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/cargo-tree-d.txt @@ -0,0 +1,106 @@ +block-buffer v0.10.4 +└── digest v0.10.7 + ├── curve25519-dalek v4.1.3 + │ ├── ed25519-dalek v2.2.0 + │ │ └── ed25519-wire-compat v0.0.0 (/home/user/work/research-round2/ed25519/wire) + │ └── ed25519-wire-compat v0.0.0 (/home/user/work/research-round2/ed25519/wire) + ├── sha2 v0.10.9 + │ ├── ed25519-dalek v2.2.0 (*) + │ └── ed25519-wire-compat v0.0.0 (/home/user/work/research-round2/ed25519/wire) + └── signature v2.2.0 + ├── ed25519 v2.2.3 + │ └── ed25519-dalek v2.2.0 (*) + └── ed25519-dalek v2.2.0 (*) + +block-buffer v0.12.1 +└── digest v0.11.3 + ├── curve25519-dalek v5.0.0 + │ └── ed25519-dalek v3.0.0 + │ └── ed25519-wire-compat v0.0.0 (/home/user/work/research-round2/ed25519/wire) + ├── sha2 v0.11.0 + │ └── ed25519-dalek v3.0.0 (*) + └── signature v3.0.0 + ├── ed25519 v3.0.0 + │ └── ed25519-dalek v3.0.0 (*) + └── ed25519-dalek v3.0.0 (*) + +const-oid v0.9.6 +└── der v0.7.10 + ├── pkcs8 v0.10.2 + │ └── ed25519 v2.2.3 (*) + └── spki v0.7.3 + └── pkcs8 v0.10.2 (*) + +const-oid v0.10.2 +└── der v0.8.2 + ├── pkcs8 v0.11.0 + │ └── ed25519 v3.0.0 (*) + └── spki v0.8.1 + └── pkcs8 v0.11.0 (*) + +cpufeatures v0.2.17 +├── curve25519-dalek v4.1.3 (*) +└── sha2 v0.10.9 (*) + +cpufeatures v0.3.1 +├── curve25519-dalek v5.0.0 (*) +└── sha2 v0.11.0 (*) + +crypto-common v0.1.7 +└── digest v0.10.7 (*) + +crypto-common v0.2.2 +└── digest v0.11.3 (*) + +curve25519-dalek v4.1.3 (*) + +curve25519-dalek v5.0.0 (*) + +der v0.7.10 (*) + +der v0.8.2 (*) + +digest v0.10.7 (*) + +digest v0.11.3 (*) + +ed25519 v2.2.3 (*) + +ed25519 v3.0.0 (*) + +ed25519-dalek v2.2.0 (*) + +ed25519-dalek v3.0.0 (*) + +getrandom v0.2.17 +└── rand_core v0.6.4 + ├── ed25519-dalek v2.2.0 (*) + └── ed25519-wire-compat v0.0.0 (/home/user/work/research-round2/ed25519/wire) + +getrandom v0.4.3 +└── ed25519-wire-compat v0.0.0 (/home/user/work/research-round2/ed25519/wire) + +pkcs8 v0.10.2 (*) + +pkcs8 v0.11.0 (*) + +rand_core v0.6.4 (*) + +rand_core v0.10.1 +├── crypto-common v0.2.2 (*) +├── curve25519-dalek v5.0.0 (*) +├── ed25519-dalek v3.0.0 (*) +├── getrandom v0.4.3 (*) +└── signature v3.0.0 (*) + +sha2 v0.10.9 (*) + +sha2 v0.11.0 (*) + +signature v2.2.0 (*) + +signature v3.0.0 (*) + +spki v0.7.3 (*) + +spki v0.8.1 (*) diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/gh/main_ed25519-dalek_CHANGELOG.md b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/gh/main_ed25519-dalek_CHANGELOG.md new file mode 100644 index 0000000000..8f159cdefa --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/gh/main_ed25519-dalek_CHANGELOG.md @@ -0,0 +1,84 @@ +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +Entries are listed in reverse chronological order per undeprecated major series. + +# 3.x series + +## Unreleased + +* Enable `ed25519/zeroize` and `sha2/zeroize` from the `zeroize` feature ([#925](https://github.com/dalek-cryptography/curve25519-dalek/pull/925)) + +## 3.0.0 - 2026-07-06 + +### Breaking Changes + +* Update edition to 2024 +* Update the MSRV from 1.60 to 1.85 +* Remove `std` feature now that `error::Error` is in `core` +* Make signing and verifying keys use `pkcs8::spki::SignatureAlgorithmIdentifier` instead of `DynSignatureAlgorithmIdentifier` ([#779](https://github.com/dalek-cryptography/curve25519-dalek/pull/779)) +* Upgrade `ed25519` dependency to v3.0.0 +* Upgrade `signature` dependency to v3.0.0 +* Upgrade `sha2` and `sha3` dependencies to v0.11 +* Upgrade `getrandom` dependency to v0.4 +* Upgrade `chacha20` dependency to v0.10 +* Upgrade `rand_core` dependency to v0.10.0 + +### Other Changes + +* Re-export `rand_core` ([#908](https://github.com/dalek-cryptography/curve25519-dalek/pull/908)) +* Add allocation-free `EdwardsPoint::compress_batch` ([#832](https://github.com/dalek-cryptography/curve25519-dalek/pull/832)) +* Add `strobe-rs` dependency and delete vendored STROBE impl ([#895](https://github.com/dalek-cryptography/curve25519-dalek/pull/895)) +* Impl `MultipartSigner` and `MultipartVerifier` for `SigningKey` and `VerifyingKey` ([#764](https://github.com/dalek-cryptography/curve25519-dalek/pull/764)) +* Impl `KeySizeUser`, `TryKeyInit`, and `Generate` for `SigningKey`. Also impl `KeySizeUser` for `VerifyingKey` [#733](https://github.com/dalek-cryptography/curve25519-dalek/pull/733) + +# 2.x series + +## 2.2.0 - 2025-07-08 + +* Add `hazmat`-gated methods `SigningKey::verify_stream()` and `VerifyingKey::verify_stream()` +* Add `Debug` and `Eq` traits for `hazmat::ExpandedSecretKey` + +## 2.1.1 - 2024-02-06 + +* Fix nightly SIMD build + +## 2.1.0 + +* Add `SigningKey::to_scalar_bytes` for getting the unclamped scalar from a signing key +* Loosened `signature` dependency to allow version 2.2 + +## 2.0.0 + +### Breaking changes + +* Bump MSRV from 1.41 to 1.60.0 +* Bump Rust edition +* Bump `signature` dependency to 2.0 +* Make `digest` an optional dependency +* Make `zeroize` an optional dependency +* Make `rand_core` an optional dependency +* [curve25519 backends] are now automatically selected +* [curve25519 backends] are now overridable via cfg instead of using additive features +* Make all batch verification deterministic remove `batch_deterministic` (PR [#256](https://github.com/dalek-cryptography/ed25519-dalek/pull/256)) +* Rename `Keypair` → `SigningKey` and `PublicKey` → `VerifyingKey` +* Remove default-public `ExpandedSecretKey` API (PR [#205](https://github.com/dalek-cryptography/ed25519-dalek/pull/205)) +* Make `hazmat` feature to expose `ExpandedSecretKey`, `raw_sign()`, `raw_sign_prehashed()`, `raw_verify()`, and `raw_verify_prehashed()` + +[curve25519 backends]: https://github.com/dalek-cryptography/curve25519-dalek/#backends + +### Other changes + +* Add `Context` type for prehashed signing +* Add `VerifyingKey::{verify_prehash_strict, is_weak}` +* Add `pkcs` feature to support PKCS #8 (de)serialization of `SigningKey` and `VerifyingKey` +* Add `fast` feature to include basepoint tables +* Add tests for validation criteria +* Impl `DigestSigner`/`DigestVerifier` for `SigningKey`/`VerifyingKey`, respectively +* Impl `Hash` for `VerifyingKey` +* Impl `Clone`, `Drop`, and `ZeroizeOnDrop` for `SigningKey` +* Remove `rand` dependency +* Improve key deserialization diagnostics diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/gh/main_ed25519-dalek_Cargo.toml b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/gh/main_ed25519-dalek_Cargo.toml new file mode 100644 index 0000000000..5795734e09 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/gh/main_ed25519-dalek_Cargo.toml @@ -0,0 +1,92 @@ +[package] +name = "ed25519-dalek" +version = "3.0.0" +edition = "2024" +authors = [ + "isis lovecruft ", + "Tony Arcieri ", + "Michael Rosenberg ", +] +readme = "README.md" +license = "BSD-3-Clause" +repository = "https://github.com/dalek-cryptography/curve25519-dalek/tree/main/ed25519-dalek" +homepage = "https://github.com/dalek-cryptography/curve25519-dalek" +documentation = "https://docs.rs/ed25519-dalek" +keywords = ["cryptography", "ed25519", "curve25519", "signature", "ECC"] +categories = ["cryptography", "no-std"] +description = "Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust." +exclude = [".gitignore", "TESTVECTORS", "VALIDATIONVECTORS", "res/*"] +rust-version = "1.85" + +[package.metadata.docs.rs] +rustdoc-args = [ + "--html-in-header", + "docs/assets/rustdoc-include-katex-header.html", + "--cfg", + "docsrs", +] +all-features = true + +[dependencies] +curve25519-dalek = { version = "5.0.0", default-features = false, features = [ + "digest", +] } +ed25519 = { version = "3", default-features = false } +signature = { version = "3", optional = true, default-features = false } +sha2 = { version = "0.11", default-features = false } +subtle = { version = "2.3.0", default-features = false } + +# optional features +keccak = { version = "0.2", default-features = false, optional = true } +rand_core = { version = "0.10", default-features = false, optional = true } +serde = { version = "1.0", default-features = false, optional = true } +zeroize = { version = "1.5", default-features = false, optional = true } +strobe-rs = { version = "0.13", optional = true } + +[dev-dependencies] +curve25519-dalek = { version = "5", default-features = false, features = [ + "digest", + "rand_core", +] } +x25519-dalek = { version = "3", default-features = false, features = [ + "static_secrets", +] } +blake2 = "=0.11.0-rc.6" +chacha20 = { version = "0.10", default-features = false, features = ["rng"] } +sha3 = "0.11" +getrandom = { version = "0.4", features = ["sys_rng"] } +hex = "0.4" +postcard = { version = "1", features = ["alloc"] } +serde_json = "1.0" +criterion = { version = "0.5", features = ["html_reports"] } +hex-literal = "1" +serde = { version = "1.0", features = ["derive"] } +toml = { version = "0.9" } + +[[bench]] +name = "ed25519_benchmarks" +harness = false +required-features = ["rand_core"] + +[features] +default = ["fast", "zeroize"] +alloc = [ + "curve25519-dalek/alloc", + "ed25519/alloc", + "signature/alloc", + "serde?/alloc", + "zeroize?/alloc", +] + +batch = ["alloc", "dep:keccak", "rand_core", "strobe-rs"] +fast = ["curve25519-dalek/precomputed-tables"] +digest = ["signature/digest"] +# Exposes the hazmat module +hazmat = [] +# Turns off stricter checking for scalar malleability in signatures +legacy_compatibility = ["curve25519-dalek/legacy_compatibility"] +pkcs8 = ["ed25519/pkcs8"] +pem = ["alloc", "ed25519/pem", "pkcs8"] +rand_core = ["dep:rand_core", "curve25519-dalek/rand_core", "signature/rand_core"] +serde = ["dep:serde", "ed25519/serde"] +zeroize = ["dep:zeroize", "curve25519-dalek/zeroize", "ed25519/zeroize", "sha2/zeroize"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/gh/main_ed25519-dalek_README.md b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/gh/main_ed25519-dalek_README.md new file mode 100644 index 0000000000..b7be76f8cf --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/gh/main_ed25519-dalek_README.md @@ -0,0 +1,172 @@ +# ed25519-dalek [![](https://img.shields.io/crates/v/ed25519-dalek.svg)](https://crates.io/crates/ed25519-dalek) [![](https://docs.rs/ed25519-dalek/badge.svg)](https://docs.rs/ed25519-dalek) [![CI](https://github.com/dalek-cryptography/curve25519-dalek/actions/workflows/ed25519-dalek.yml/badge.svg?branch=main)](https://github.com/dalek-cryptography/curve25519-dalek/actions/workflows/ed25519-dalek.yml) + +Fast and efficient Rust implementation of ed25519 key generation, signing, and +verification. + +# Use + +To import `ed25519-dalek`, add the following to the dependencies section of +your project's `Cargo.toml`: +```toml +ed25519-dalek = "3.0.0" +``` + +# Feature Flags + +This crate is `#[no_std]` compatible with `default-features = false`. + +| Feature | Default? | Description | +| :--- | :--- | :--- | +| `alloc` | | When `pkcs8` is enabled, implements `EncodePrivateKey`/`EncodePublicKey` for `SigningKey`/`VerifyingKey`, respectively. | +| `fast` | ✓ | Enables the use of precomputed tables for curve arithmetic. Makes key generation, signing, and verifying faster. | +| `zeroize` | ✓ | Implements `Zeroize` and `ZeroizeOnDrop` for `SigningKey` | +| `rand_core` | | Enables `SigningKey::generate` | +| `batch` | | Enables `verify_batch` for verifying many signatures quickly. Also enables `alloc` and `rand_core`. | +| `digest` | | Enables `Context`, `SigningKey::{with_context, sign_prehashed}` and `VerifyingKey::{with_context, verify_prehashed, verify_prehashed_strict}` for Ed25519ph prehashed signatures. Implements `KeySizeUser` for `VerifyingKey`, and `KeySizeUser + TryKeyInit + Generate` for `SigningKey`. +| `pkcs8` | | Enables [PKCS#8](https://en.wikipedia.org/wiki/PKCS_8) serialization/deserialization for `SigningKey` and `VerifyingKey` | +| `pem` | | Enables PEM serialization support for PKCS#8 private keys and SPKI public keys. Also enables `alloc`. | +| `legacy_compatibility` | | **Unsafe:** Disables certain signature checks. See [below](#malleability-and-the-legacy_compatibility-feature) | +| `hazmat` | | **Unsafe:** Exposes the `hazmat` module for raw signing/verifying. Misuse of these functions will expose the private key, as in the [signing oracle attack](https://github.com/MystenLabs/ed25519-unsafe-libs). | + +# Major Changes + +See [CHANGELOG.md](CHANGELOG.md) for a list of changes made in past versions of this crate. + +## Important Breaking Changes in 3.0.0 + +* Update edition to 2024 +* Update the MSRV from 1.60 to 1.85 +* Remove `std` feature now that `error::Error` is in `core` +* Make signing and verifying keys use `pkcs8::spki::SignatureAlgorithmIdentifier` instead of `DynSignatureAlgorithmIdentifier` ([#779](https://github.com/dalek-cryptography/curve25519-dalek/pull/779)) + +# Documentation + +Documentation is available [here](https://docs.rs/ed25519-dalek). + +# Compatibility Policies + +All on-by-default features of this library are covered by [semantic versioning](https://semver.org/spec/v2.0.0.html) (SemVer). +SemVer exemptions are outlined below for MSRV and public API. + +## Minimum Supported Rust Version + +| Releases | MSRV | +| :--- | :--- | +| 3.x | 1.85 | +| 2.x | 1.60 | +| 1.x | 1.41 | + +From 2.x onwards, MSRV changes will be accompanied by a minor version bump. + +## Public API SemVer Exemptions + +Breaking changes to SemVer-exempted components affecting the public API will be accompanied by some version bump. + +Below are the specific policies: + +| Releases | Public API Component(s) | Policy | +| :--- | :--- | :--- | +| 3.x | Dependencies `digest`, `pkcs8` and `rand_core` | Minor SemVer bump | +| 2.x | Dependencies `digest`, `pkcs8` and `rand_core` | Minor SemVer bump | + +# Safety + +`ed25519-dalek` is designed to prevent misuse. Signing is constant-time, all signing keys are zeroed when they go out of scope (unless `zeroize` is disabled), detached public keys [cannot](https://github.com/MystenLabs/ed25519-unsafe-libs/blob/main/README.md) be used for signing, and extra functions like [`VerifyingKey::verify_strict`](#weak-key-forgery-and-verify_strict) are made available to avoid known gotchas. + +Further, this crate has no—and in fact forbids—unsafe code. You can opt in to using some highly optimized unsafe code that resides in `curve25519-dalek`, though. See [below](#microarchitecture-specific-backends) for more information on backend selection. + +# Performance + +Performance is a secondary goal behind correctness, safety, and clarity, but we +aim to be competitive with other implementations. + +## Benchmarks + +Benchmarks are run using [criterion.rs](https://github.com/japaric/criterion.rs): + +```sh +cargo bench --features "batch" +# Uses avx2 or ifma only if compiled for an appropriate target. +export RUSTFLAGS='-C target_cpu=native' +cargo +nightly bench --features "batch" +``` + +On an Intel 10700K running at stock comparing between the `curve25519-dalek` backends. + +| Benchmark | u64 | simd +avx2 | fiat | +| :--- | :---- | :--- | :--- | +| signing | 15.017 µs | 13.906 µs -7.3967% | 15.877 μs +5.7268% | +| signature verification | 40.144 µs | 25.963 µs -35.603% | 42.118 μs +4.9173% | +| strict signature verification | 41.334 µs | 27.874 µs -32.660% | 43.985 μs +6.4136% | +| batch signature verification/4 | 109.44 µs | 81.778 µs -25.079% | 117.80 μs +7.6389% | +| batch signature verification/8 | 182.75 µs | 138.40 µs -23.871% | 195.86 μs +7.1737% | +| batch signature verification/16 | 328.67 µs | 251.39 µs -23.744% | 351.55 μs +6.9614% | +| batch signature verification/32 | 619.49 µs | 477.36 µs -23.053% | 669.41 μs +8.0582% | +| batch signature verification/64 | 1.2136 ms | 936.85 µs -22.543% | 1.3028 ms +7.3500% | +| batch signature verification/96 | 1.8677 ms | 1.2357 ms -33.936% | 2.0552 ms +10.039% | +| batch signature verification/128| 2.3281 ms | 1.5795 ms -31.996% | 2.5596 ms +9.9437% | +| batch signature verification/256| 4.1868 ms | 2.8864 ms -31.061% | 4.6494 μs +11.049% | +| keypair generation | 13.973 µs | 13.108 µs -6.5062% | 15.099 μs +8.0584% | + +## Batch Performance + +If your protocol or application is able to batch signatures for verification, +the [`verify_batch`][func_verify_batch] function has greatly improved performance. + +As you can see, there's an optimal batch size for each machine, so you'll likely +want to test the benchmarks on your target CPU to discover the best size. + +## (Micro)Architecture Specific Backends + +A _backend_ refers to an implementation of elliptic curve and scalar arithmetic. Different backends have different use cases. For example, if you demand formally verified code, you want to use the `fiat` backend (as it was generated from [Fiat Crypto][fiat]). + +Backend selection details and instructions can be found in the [curve25519-dalek docs](https://github.com/dalek-cryptography/curve25519-dalek#backends). + +# Contributing + +See [CONTRIBUTING.md](../CONTRIBUTING.md) + +# Batch Signature Verification + +The standard variants of batch signature verification (i.e. many signatures made with potentially many different public keys over potentially many different messages) is available via the `batch` feature. It uses deterministic randomness, i.e., it hashes the inputs (using [`merlin`](https://merlin.cool/), which handles transcript item separation) and uses the result to generate random coefficients. Batch verification requires allocation, so this won't function in heapless settings. + +# Validation Criteria + +The _validation criteria_ of a signature scheme are the criteria that signatures and public keys must satisfy in order to be accepted. Unfortunately, Ed25519 has some underspecified parts, leading to different validation criteria across implementations. For a very good overview of this, see [Henry's post][validation]. + +In this section, we mention some specific details about our validation criteria, and how to navigate them. + +## Malleability and the `legacy_compatibility` Feature + +A signature scheme is considered to produce _malleable signatures_ if a passive attacker with knowledge of a public key _A_, message _m_, and valid signature _σ_ can produce a distinct _σ'_ such that _σ'_ is a valid signature of _m_ with respect to _A_. A scheme is only malleable if the attacker can do this _without_ knowledge of the private key corresponding to _A_. + +`ed25519-dalek` is not a malleable signature scheme. + +Some other Ed25519 implementations are malleable, though, such as [libsodium with `ED25519_COMPAT` enabled](https://github.com/jedisct1/libsodium/blob/24211d370a9335373f0715664271dfe203c7c2cd/src/libsodium/crypto_sign/ed25519/ref10/open.c#L30), [ed25519-donna](https://github.com/floodyberry/ed25519-donna/blob/8757bd4cd209cb032853ece0ce413f122eef212c/ed25519.c#L100), [NaCl's ref10 impl](https://github.com/floodyberry/ed25519-donna/blob/8757bd4cd209cb032853ece0ce413f122eef212c/fuzz/ed25519-ref10.c#L4627), and probably a lot more. +If you need to interoperate with such implementations and accept otherwise invalid signatures, you can enable the `legacy_compatibility` flag. **Do not enable `legacy_compatibility`** if you don't have to, because it will make your signatures malleable. + +Note: [CIRCL](https://github.com/cloudflare/circl/blob/fa6e0cca79a443d7be18ed241e779adf9ed2a301/sign/ed25519/ed25519.go#L358) has no scalar range check at all. We do not have a feature flag for interoperating with the larger set of RFC-disallowed signatures that CIRCL accepts. + +## Weak key Forgery and `verify_strict()` + +A _signature forgery_ is what it sounds like: it's when an attacker, given a public key _A_, creates a signature _σ_ and message _m_ such that _σ_ is a valid signature of _m_ with respect to _A_. Since this is the core security definition of any signature scheme, Ed25519 signatures cannot be forged. + +However, there's a much looser kind of forgery that Ed25519 permits, which we call _weak key forgery_. An attacker can produce a special public key _A_ (which we call a _weak_ public key) and a signature _σ_ such that _σ_ is a valid signature of _any_ message _m_, with respect to _A_, with high probability. This attack is acknowledged in the [Ed25519 paper](https://ed25519.cr.yp.to/ed25519-20110926.pdf), and caused an exploitable bug in the Scuttlebutt protocol ([paper](https://eprint.iacr.org/2019/526.pdf), section 7.1). The [`VerifyingKey::verify()`][method_verify] function permits weak keys. + +We provide [`VerifyingKey::verify_strict`][method_verify_strict] (and [`verify_strict_prehashed`][method_verify_strict_ph]) to help users avoid these scenarios. These functions perform an extra check on _A_, ensuring it's not a weak public key. In addition, we provide the [`VerifyingKey::is_weak`][method_is_weak] to allow users to perform this check before attempting signature verification. + +## Batch verification + +As mentioned above, weak public keys can be used to produce signatures for unknown messages with high probability. This means that sometimes a weak forgery attempt will fail. In fact, it can fail up to 7/8 of the time. If you call `verify()` twice on the same failed forgery, it will return an error both times, as expected. However, if you call `verify_batch()` twice on two distinct otherwise-valid batches, both of which contain the failed forgery, there's a 21% chance that one fails and the other succeeds. + +Why is this? It's because `verify_batch()` does not do the weak key testing of `verify_strict()`, and it multiplies each verification equation by some random coefficient. If the failed forgery gets multiplied by 8, then the weak key (which is a low-order point) becomes 0, and the verification equation on the attempted forgery will succeed. + +Since `verify_batch()` is intended to be high-throughput, we think it's best not to put weak key checks in it. If you want to prevent weird behavior due to weak public keys in your batches, you should call [`VerifyingKey::is_weak`][method_is_weak] on the inputs in advance. + +[fiat]: https://github.com/mit-plv/fiat-crypto +[validation]: https://hdevalence.ca/blog/2020-10-04-its-25519am +[func_verify_batch]: https://docs.rs/ed25519-dalek/latest/ed25519_dalek/fn.verify_batch.html +[method_verify]: https://docs.rs/ed25519-dalek/latest/ed25519_dalek/struct.VerifyingKey.html#method.verify +[method_verify_strict]: https://docs.rs/ed25519-dalek/latest/ed25519_dalek/struct.VerifyingKey.html#method.verify_strict +[method_verify_strict_ph]: https://docs.rs/ed25519-dalek/latest/ed25519_dalek/struct.VerifyingKey.html#method.verify_strict_prehashed +[method_is_weak]: https://docs.rs/ed25519-dalek/latest/ed25519_dalek/struct.VerifyingKey.html#method.is_weak diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/gh/main_ed25519-dalek_src_lib.rs b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/gh/main_ed25519-dalek_src_lib.rs new file mode 100644 index 0000000000..dca9b945a4 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/gh/main_ed25519-dalek_src_lib.rs @@ -0,0 +1,297 @@ +// -*- mode: rust; -*- +// +// This file is part of ed25519-dalek. +// Copyright (c) 2017-2019 isis lovecruft +// See LICENSE for licensing information. +// +// Authors: +// - isis agora lovecruft + +//! A Rust implementation of ed25519 key generation, signing, and verification. +//! +//! # Example +//! +//! Creating an ed25519 signature on a message is simple. +//! +//! First, we need to generate a `SigningKey`, which includes both public and +//! secret halves of an asymmetric key. To do so, we need a cryptographically +//! secure pseudorandom number generator (CSPRNG). For this example, we'll use +//! the operating system's builtin PRNG: +//! +#![cfg_attr(feature = "rand_core", doc = "```")] +#![cfg_attr(not(feature = "rand_core"), doc = "```ignore")] +//! # fn main() { +//! // $ cargo add ed25519_dalek --features rand_core +//! use getrandom::{SysRng, rand_core::UnwrapErr}; +//! use rand_core::TryRng; +//! use ed25519_dalek::SigningKey; +//! use ed25519_dalek::Signature; +//! +//! let mut csprng = UnwrapErr(SysRng); +//! let signing_key: SigningKey = SigningKey::generate(&mut csprng); +//! # } +//! ``` +//! +//! We can now use this `signing_key` to sign a message: +//! +#![cfg_attr(feature = "rand_core", doc = "```")] +#![cfg_attr(not(feature = "rand_core"), doc = "```ignore")] +//! # fn main() { +//! # use getrandom::{SysRng, rand_core::{TryRng, UnwrapErr}}; +//! # use ed25519_dalek::SigningKey; +//! # let mut csprng = UnwrapErr(SysRng); +//! # let signing_key: SigningKey = SigningKey::generate(&mut csprng); +//! use ed25519_dalek::{Signature, Signer}; +//! let message: &[u8] = b"This is a test of the tsunami alert system."; +//! let signature: Signature = signing_key.sign(message); +//! # } +//! ``` +//! +//! As well as to verify that this is, indeed, a valid signature on +//! that `message`: +//! +#![cfg_attr(feature = "rand_core", doc = "```")] +#![cfg_attr(not(feature = "rand_core"), doc = "```ignore")] +//! # fn main() { +//! # use getrandom::{SysRng, rand_core::{TryRng, UnwrapErr}}; +//! # use ed25519_dalek::{SigningKey, Signature, Signer}; +//! # let mut csprng = UnwrapErr(SysRng); +//! # let signing_key: SigningKey = SigningKey::generate(&mut csprng); +//! # let message: &[u8] = b"This is a test of the tsunami alert system."; +//! # let signature: Signature = signing_key.sign(message); +//! use ed25519_dalek::Verifier; +//! assert!(signing_key.verify(message, &signature).is_ok()); +//! # } +//! ``` +//! +//! Anyone else, given the `public` half of the `signing_key` can also easily +//! verify this signature: +//! +#![cfg_attr(feature = "rand_core", doc = "```")] +#![cfg_attr(not(feature = "rand_core"), doc = "```ignore")] +//! # fn main() { +//! # use getrandom::{SysRng, rand_core::{TryRng, UnwrapErr}}; +//! # use ed25519_dalek::SigningKey; +//! # use ed25519_dalek::Signature; +//! # use ed25519_dalek::Signer; +//! use ed25519_dalek::{VerifyingKey, Verifier}; +//! # let mut csprng = UnwrapErr(SysRng); +//! # let signing_key: SigningKey = SigningKey::generate(&mut csprng); +//! # let message: &[u8] = b"This is a test of the tsunami alert system."; +//! # let signature: Signature = signing_key.sign(message); +//! +//! let verifying_key: VerifyingKey = signing_key.verifying_key(); +//! assert!(verifying_key.verify(message, &signature).is_ok()); +//! # } +//! ``` +//! +//! ## Serialisation +//! +//! `VerifyingKey`s, `SecretKey`s, `SigningKey`s, and `Signature`s can be serialised +//! into byte-arrays by calling `.to_bytes()`. It's perfectly acceptable and +//! safe to transfer and/or store those bytes. (Of course, never transfer your +//! secret key to anyone else, since they will only need the public key to +//! verify your signatures!) +//! +#![cfg_attr(feature = "rand_core", doc = "```")] +#![cfg_attr(not(feature = "rand_core"), doc = "```ignore")] +//! # fn main() { +//! # use getrandom::{SysRng, rand_core::{TryRng, UnwrapErr}}; +//! # use ed25519_dalek::{SigningKey, Signature, Signer, VerifyingKey}; +//! use ed25519_dalek::{PUBLIC_KEY_LENGTH, SECRET_KEY_LENGTH, KEYPAIR_LENGTH, SIGNATURE_LENGTH}; +//! # let mut csprng = UnwrapErr(SysRng); +//! # let signing_key: SigningKey = SigningKey::generate(&mut csprng); +//! # let message: &[u8] = b"This is a test of the tsunami alert system."; +//! # let signature: Signature = signing_key.sign(message); +//! +//! let verifying_key_bytes: [u8; PUBLIC_KEY_LENGTH] = signing_key.verifying_key().to_bytes(); +//! let secret_key_bytes: [u8; SECRET_KEY_LENGTH] = signing_key.to_bytes(); +//! let signing_key_bytes: [u8; KEYPAIR_LENGTH] = signing_key.to_keypair_bytes(); +//! let signature_bytes: [u8; SIGNATURE_LENGTH] = signature.to_bytes(); +//! # } +//! ``` +//! +//! And similarly, decoded from bytes with `::from_bytes()`: +//! +#![cfg_attr(feature = "rand_core", doc = "```")] +#![cfg_attr(not(feature = "rand_core"), doc = "```ignore")] +//! # use core::convert::{TryFrom, TryInto}; +//! # use getrandom::{SysRng, rand_core::{TryRng, UnwrapErr}}; +//! # use ed25519_dalek::{SigningKey, Signature, Signer, VerifyingKey, SecretKey, SignatureError}; +//! # use ed25519_dalek::{PUBLIC_KEY_LENGTH, SECRET_KEY_LENGTH, KEYPAIR_LENGTH, SIGNATURE_LENGTH}; +//! # fn do_test() -> Result<(SigningKey, VerifyingKey, Signature), SignatureError> { +//! # let mut csprng = UnwrapErr(SysRng); +//! # let signing_key_orig: SigningKey = SigningKey::generate(&mut csprng); +//! # let message: &[u8] = b"This is a test of the tsunami alert system."; +//! # let signature_orig: Signature = signing_key_orig.sign(message); +//! # let verifying_key_bytes: [u8; PUBLIC_KEY_LENGTH] = signing_key_orig.verifying_key().to_bytes(); +//! # let signing_key_bytes: [u8; SECRET_KEY_LENGTH] = signing_key_orig.to_bytes(); +//! # let signature_bytes: [u8; SIGNATURE_LENGTH] = signature_orig.to_bytes(); +//! # +//! let verifying_key: VerifyingKey = VerifyingKey::from_bytes(&verifying_key_bytes)?; +//! let signing_key: SigningKey = SigningKey::from_bytes(&signing_key_bytes); +//! let signature: Signature = Signature::try_from(&signature_bytes[..])?; +//! # +//! # Ok((signing_key, verifying_key, signature)) +//! # } +//! # fn main() { +//! # do_test(); +//! # } +//! ``` +//! +//! ### PKCS#8 Key Encoding +//! +//! PKCS#8 is a private key format with support for multiple algorithms. +//! It can be encoded as binary (DER) or text (PEM). +//! +//! You can recognize PEM-encoded PKCS#8 keys by the following: +//! +//! ```text +//! -----BEGIN PRIVATE KEY----- +//! ``` +//! +//! To use PKCS#8, you need to enable the `pkcs8` crate feature. +//! +//! The following traits can be used to decode/encode [`SigningKey`] and +//! [`VerifyingKey`] as PKCS#8. Note that [`pkcs8`] is re-exported from the +//! toplevel of the crate: +//! +//! - [`pkcs8::DecodePrivateKey`]: decode private keys from PKCS#8 +//! - [`pkcs8::EncodePrivateKey`]: encode private keys to PKCS#8 +//! - [`pkcs8::DecodePublicKey`]: decode public keys from PKCS#8 +//! - [`pkcs8::EncodePublicKey`]: encode public keys to PKCS#8 +//! +//! #### Example +//! +//! NOTE: this requires the `pem` crate feature. +//! +#![cfg_attr(feature = "pem", doc = "```")] +#![cfg_attr(not(feature = "pem"), doc = "```ignore")] +//! use ed25519_dalek::{VerifyingKey, pkcs8::DecodePublicKey}; +//! +//! let pem = "-----BEGIN PUBLIC KEY----- +//! MCowBQYDK2VwAyEAGb9ECWmEzf6FQbrBZ9w7lshQhqowtrbLDFw4rXAxZuE= +//! -----END PUBLIC KEY-----"; +//! +//! let verifying_key = VerifyingKey::from_public_key_pem(pem) +//! .expect("invalid public key PEM"); +//! ``` +//! +//! ### Using Serde +//! +//! If you prefer the bytes to be wrapped in another serialisation format, all +//! types additionally come with built-in [serde](https://serde.rs) support by +//! building `ed25519-dalek` via: +//! +//! ```bash +//! $ cargo build --features="serde" +//! ``` +//! +//! They can be then serialised into any of the wire formats which serde supports. +//! For example, using [postcard](https://docs.rs/postcard): +//! +#![cfg_attr(all(feature = "rand_core", feature = "serde"), doc = "```")] +#![cfg_attr(not(all(feature = "rand_core", feature = "serde")), doc = "```ignore")] +//! # fn main() { +//! # use getrandom::{SysRng, rand_core::{TryRng, UnwrapErr}}; +//! # use ed25519_dalek::{SigningKey, Signature, Signer, Verifier, VerifyingKey}; +//! use postcard::to_allocvec; +//! # let mut csprng = UnwrapErr(SysRng); +//! # let signing_key: SigningKey = SigningKey::generate(&mut csprng); +//! # let message: &[u8] = b"This is a test of the tsunami alert system."; +//! # let signature: Signature = signing_key.sign(message); +//! # let verifying_key: VerifyingKey = signing_key.verifying_key(); +//! # let verified: bool = verifying_key.verify(message, &signature).is_ok(); +//! +//! let encoded_verifying_key: Vec = to_allocvec(&verifying_key).unwrap(); +//! let encoded_signature: Vec = to_allocvec(&signature).unwrap(); +//! # } +//! ``` +//! +//! After sending the `encoded_verifying_key` and `encoded_signature`, the +//! recipient may deserialise them and verify: +//! +#![cfg_attr(all(feature = "rand_core", feature = "serde"), doc = "```")] +#![cfg_attr(not(all(feature = "rand_core", feature = "serde")), doc = "```ignore")] +//! # fn main() { +//! # use getrandom::{SysRng, rand_core::{TryRng, UnwrapErr}}; +//! # use ed25519_dalek::{SigningKey, Signature, Signer, Verifier, VerifyingKey}; +//! # use postcard::to_allocvec; +//! use postcard::from_bytes; +//! +//! # let mut csprng = UnwrapErr(SysRng); +//! # let signing_key: SigningKey = SigningKey::generate(&mut csprng); +//! let message: &[u8] = b"This is a test of the tsunami alert system."; +//! # let signature: Signature = signing_key.sign(message); +//! # let verifying_key: VerifyingKey = signing_key.verifying_key(); +//! # let verified: bool = verifying_key.verify(message, &signature).is_ok(); +//! # let encoded_verifying_key: Vec = to_allocvec(&verifying_key).unwrap(); +//! # let encoded_signature: Vec = to_allocvec(&signature).unwrap(); +//! let decoded_verifying_key: VerifyingKey = from_bytes(&encoded_verifying_key).unwrap(); +//! let decoded_signature: Signature = from_bytes(&encoded_signature).unwrap(); +//! +//! # assert_eq!(verifying_key, decoded_verifying_key); +//! # assert_eq!(signature, decoded_signature); +//! # +//! let verified: bool = decoded_verifying_key.verify(&message, &decoded_signature).is_ok(); +//! +//! assert!(verified); +//! # } +//! ``` + +#![no_std] +#![warn(future_incompatible, rust_2018_idioms)] +#![deny(missing_docs)] // refuse to compile if documentation is missing +#![deny(clippy::unwrap_used)] // don't allow unwrap +#![cfg_attr(not(any(test, feature = "batch")), forbid(unsafe_code))] +#![cfg_attr(docsrs, feature(doc_cfg))] + +#[cfg(feature = "batch")] +extern crate alloc; + +#[cfg(test)] +#[macro_use] +extern crate std; + +#[cfg(feature = "rand_core")] +pub use rand_core; + +pub use ed25519; + +#[cfg(feature = "batch")] +mod batch; +mod constants; +#[cfg(feature = "digest")] +mod context; +mod errors; +mod signature; +mod signing; +mod verifying; + +#[cfg(feature = "hazmat")] +pub mod hazmat; +#[cfg(not(feature = "hazmat"))] +mod hazmat; + +#[cfg(feature = "digest")] +pub use curve25519_dalek::digest::Digest; +#[cfg(feature = "digest")] +pub use sha2::Sha512; + +#[cfg(feature = "batch")] +pub use crate::batch::*; +pub use crate::constants::*; +#[cfg(feature = "digest")] +pub use crate::context::Context; +pub use crate::errors::*; +pub use crate::signing::*; +pub use crate::verifying::*; + +// Re-export the `Signer` and `Verifier` traits from the `signature` crate +#[cfg(feature = "digest")] +pub use ::signature::{DigestSigner, DigestVerifier}; +pub use ed25519::Signature; +pub use ed25519::signature::{Signer, Verifier}; + +#[cfg(feature = "pkcs8")] +pub use ed25519::pkcs8; diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/gh/p2panda-3e84cac.json b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/gh/p2panda-3e84cac.json new file mode 100644 index 0000000000..ec3715a9fa --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/gh/p2panda-3e84cac.json @@ -0,0 +1 @@ +{"sha":"3e84cac48bba05c6857cce2ec433862b97f8d53c","node_id":"C_kwDOEhZKftoAKDNlODRjYWM0OGJiYTA1YzY4NTdjY2UyZWM0MzM4NjJiOTdmOGQ1M2M","commit":{"author":{"name":"adz","email":"x12@adz.garden","date":"2026-10-09T13:10:22Z"},"committer":{"name":"adz","email":"x12@adz.garden","date":"2026-10-09T13:10:25Z"},"message":"spaces: Fix test regression using invalid duration\n\nRegression caused by copy & paste hiccup in:\n.","tree":{"sha":"4aab5f56596067cf3519d26690d901c4c09746e5","url":"https://api.github.com/repos/p2panda/p2panda/git/trees/4aab5f56596067cf3519d26690d901c4c09746e5"},"url":"https://api.github.com/repos/p2panda/p2panda/git/commits/3e84cac48bba05c6857cce2ec433862b97f8d53c","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null,"verified_at":null}},"url":"https://api.github.com/repos/p2panda/p2panda/commits/3e84cac48bba05c6857cce2ec433862b97f8d53c","html_url":"https://github.com/p2panda/p2panda/commit/3e84cac48bba05c6857cce2ec433862b97f8d53c","comments_url":"https://api.github.com/repos/p2panda/p2panda/commits/3e84cac48bba05c6857cce2ec433862b97f8d53c/comments","author":{"login":"adzialocha","id":1822473,"node_id":"MDQ6VXNlcjE4MjI0NzM=","avatar_url":"https://avatars.githubusercontent.com/u/1822473?v=4","gravatar_id":"","url":"https://api.github.com/users/adzialocha","html_url":"https://github.com/adzialocha","followers_url":"https://api.github.com/users/adzialocha/followers","following_url":"https://api.github.com/users/adzialocha/following{/other_user}","gists_url":"https://api.github.com/users/adzialocha/gists{/gist_id}","starred_url":"https://api.github.com/users/adzialocha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adzialocha/subscriptions","organizations_url":"https://api.github.com/users/adzialocha/orgs","repos_url":"https://api.github.com/users/adzialocha/repos","events_url":"https://api.github.com/users/adzialocha/events{/privacy}","received_events_url":"https://api.github.com/users/adzialocha/received_events","type":"User","user_view_type":"public","site_admin":false},"committer":{"login":"adzialocha","id":1822473,"node_id":"MDQ6VXNlcjE4MjI0NzM=","avatar_url":"https://avatars.githubusercontent.com/u/1822473?v=4","gravatar_id":"","url":"https://api.github.com/users/adzialocha","html_url":"https://github.com/adzialocha","followers_url":"https://api.github.com/users/adzialocha/followers","following_url":"https://api.github.com/users/adzialocha/following{/other_user}","gists_url":"https://api.github.com/users/adzialocha/gists{/gist_id}","starred_url":"https://api.github.com/users/adzialocha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adzialocha/subscriptions","organizations_url":"https://api.github.com/users/adzialocha/orgs","repos_url":"https://api.github.com/users/adzialocha/repos","events_url":"https://api.github.com/users/adzialocha/events{/privacy}","received_events_url":"https://api.github.com/users/adzialocha/received_events","type":"User","user_view_type":"public","site_admin":false},"parents":[{"sha":"e63042f2d8250cbc4e192d3365d43e80ec3dc657","url":"https://api.github.com/repos/p2panda/p2panda/commits/e63042f2d8250cbc4e192d3365d43e80ec3dc657","html_url":"https://github.com/p2panda/p2panda/commit/e63042f2d8250cbc4e192d3365d43e80ec3dc657"}],"stats":{"total":2,"additions":1,"deletions":1},"files":[{"sha":"44c54bca36a8b0c469e1aa22040d900320655296","filename":"p2panda-spaces/src/identity.rs","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/p2panda/p2panda/blob/3e84cac48bba05c6857cce2ec433862b97f8d53c/p2panda-spaces%2Fsrc%2Fidentity.rs","raw_url":"https://github.com/p2panda/p2panda/raw/3e84cac48bba05c6857cce2ec433862b97f8d53c/p2panda-spaces%2Fsrc%2Fidentity.rs","contents_url":"https://api.github.com/repos/p2panda/p2panda/contents/p2panda-spaces%2Fsrc%2Fidentity.rs?ref=3e84cac48bba05c6857cce2ec433862b97f8d53c","patch":"@@ -408,7 +408,7 @@ mod tests {\n //\n // TODO: Use Duration::from_days() once stabilized:\n // https://github.com/rust-lang/rust/issues/120301\n- alice_identity_manager.config.pre_key_rotate_after = Duration::from_hours(24 * 1024);\n+ alice_identity_manager.config.pre_key_lifetime = Duration::from_secs(60 * 60 * 24 * 2048);\n \n let alice_2 = alice_identity_manager.me().await.unwrap();\n let bundle_2 = alice_2.key_bundle().clone();"}]} \ No newline at end of file diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/gh/p2panda-commits.json b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/gh/p2panda-commits.json new file mode 100644 index 0000000000..ccf7376e61 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/gh/p2panda-commits.json @@ -0,0 +1 @@ +[{"sha":"083b48215964e92a564f3c83a1c607b00e94aa64","node_id":"C_kwDOEhZKftoAKDA4M2I0ODIxNTk2NGU5MmE1NjRmM2M4M2ExYzYwN2IwMGU5NGFhNjQ","commit":{"author":{"name":"adz","email":"x12@adz.garden","date":"2026-08-21T10:58:46Z"},"committer":{"name":"adz","email":"x12@adz.garden","date":"2026-08-21T10:58:46Z"},"message":"v0.7.1","tree":{"sha":"eb929f15f92671652d2e2b28b009025c0777cca1","url":"https://api.github.com/repos/p2panda/p2panda/git/trees/eb929f15f92671652d2e2b28b009025c0777cca1"},"url":"https://api.github.com/repos/p2panda/p2panda/git/commits/083b48215964e92a564f3c83a1c607b00e94aa64","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null,"verified_at":null}},"url":"https://api.github.com/repos/p2panda/p2panda/commits/083b48215964e92a564f3c83a1c607b00e94aa64","html_url":"https://github.com/p2panda/p2panda/commit/083b48215964e92a564f3c83a1c607b00e94aa64","comments_url":"https://api.github.com/repos/p2panda/p2panda/commits/083b48215964e92a564f3c83a1c607b00e94aa64/comments","author":{"login":"adzialocha","id":1822473,"node_id":"MDQ6VXNlcjE4MjI0NzM=","avatar_url":"https://avatars.githubusercontent.com/u/1822473?v=4","gravatar_id":"","url":"https://api.github.com/users/adzialocha","html_url":"https://github.com/adzialocha","followers_url":"https://api.github.com/users/adzialocha/followers","following_url":"https://api.github.com/users/adzialocha/following{/other_user}","gists_url":"https://api.github.com/users/adzialocha/gists{/gist_id}","starred_url":"https://api.github.com/users/adzialocha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adzialocha/subscriptions","organizations_url":"https://api.github.com/users/adzialocha/orgs","repos_url":"https://api.github.com/users/adzialocha/repos","events_url":"https://api.github.com/users/adzialocha/events{/privacy}","received_events_url":"https://api.github.com/users/adzialocha/received_events","type":"User","user_view_type":"public","site_admin":false},"committer":{"login":"adzialocha","id":1822473,"node_id":"MDQ6VXNlcjE4MjI0NzM=","avatar_url":"https://avatars.githubusercontent.com/u/1822473?v=4","gravatar_id":"","url":"https://api.github.com/users/adzialocha","html_url":"https://github.com/adzialocha","followers_url":"https://api.github.com/users/adzialocha/followers","following_url":"https://api.github.com/users/adzialocha/following{/other_user}","gists_url":"https://api.github.com/users/adzialocha/gists{/gist_id}","starred_url":"https://api.github.com/users/adzialocha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adzialocha/subscriptions","organizations_url":"https://api.github.com/users/adzialocha/orgs","repos_url":"https://api.github.com/users/adzialocha/repos","events_url":"https://api.github.com/users/adzialocha/events{/privacy}","received_events_url":"https://api.github.com/users/adzialocha/received_events","type":"User","user_view_type":"public","site_admin":false},"parents":[{"sha":"93b8cb233bfe56feb5f1d47d767e6a258ee5345b","url":"https://api.github.com/repos/p2panda/p2panda/commits/93b8cb233bfe56feb5f1d47d767e6a258ee5345b","html_url":"https://github.com/p2panda/p2panda/commit/93b8cb233bfe56feb5f1d47d767e6a258ee5345b"}]},{"sha":"79fb65da50419fe7a5f78870869c674b99303bd7","node_id":"C_kwDOEhZKftoAKDc5ZmI2NWRhNTA0MTlmZTdhNWY3ODg3MDg2OWM2NzRiOTkzMDNiZDc","commit":{"author":{"name":"adz","email":"x12@adz.garden","date":"2026-08-07T20:56:40Z"},"committer":{"name":"adz","email":"adzialocha@users.noreply.github.com","date":"2026-08-20T15:02:07Z"},"message":"fuzz: Impl Arbitrary for new Header type","tree":{"sha":"3e341bdadb68f3ee784dbc46d9ae431679e8b283","url":"https://api.github.com/repos/p2panda/p2panda/git/trees/3e341bdadb68f3ee784dbc46d9ae431679e8b283"},"url":"https://api.github.com/repos/p2panda/p2panda/git/commits/79fb65da50419fe7a5f78870869c674b99303bd7","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null,"verified_at":null}},"url":"https://api.github.com/repos/p2panda/p2panda/commits/79fb65da50419fe7a5f78870869c674b99303bd7","html_url":"https://github.com/p2panda/p2panda/commit/79fb65da50419fe7a5f78870869c674b99303bd7","comments_url":"https://api.github.com/repos/p2panda/p2panda/commits/79fb65da50419fe7a5f78870869c674b99303bd7/comments","author":{"login":"adzialocha","id":1822473,"node_id":"MDQ6VXNlcjE4MjI0NzM=","avatar_url":"https://avatars.githubusercontent.com/u/1822473?v=4","gravatar_id":"","url":"https://api.github.com/users/adzialocha","html_url":"https://github.com/adzialocha","followers_url":"https://api.github.com/users/adzialocha/followers","following_url":"https://api.github.com/users/adzialocha/following{/other_user}","gists_url":"https://api.github.com/users/adzialocha/gists{/gist_id}","starred_url":"https://api.github.com/users/adzialocha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adzialocha/subscriptions","organizations_url":"https://api.github.com/users/adzialocha/orgs","repos_url":"https://api.github.com/users/adzialocha/repos","events_url":"https://api.github.com/users/adzialocha/events{/privacy}","received_events_url":"https://api.github.com/users/adzialocha/received_events","type":"User","user_view_type":"public","site_admin":false},"committer":{"login":"adzialocha","id":1822473,"node_id":"MDQ6VXNlcjE4MjI0NzM=","avatar_url":"https://avatars.githubusercontent.com/u/1822473?v=4","gravatar_id":"","url":"https://api.github.com/users/adzialocha","html_url":"https://github.com/adzialocha","followers_url":"https://api.github.com/users/adzialocha/followers","following_url":"https://api.github.com/users/adzialocha/following{/other_user}","gists_url":"https://api.github.com/users/adzialocha/gists{/gist_id}","starred_url":"https://api.github.com/users/adzialocha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adzialocha/subscriptions","organizations_url":"https://api.github.com/users/adzialocha/orgs","repos_url":"https://api.github.com/users/adzialocha/repos","events_url":"https://api.github.com/users/adzialocha/events{/privacy}","received_events_url":"https://api.github.com/users/adzialocha/received_events","type":"User","user_view_type":"public","site_admin":false},"parents":[{"sha":"c6e164f1480f4b3f19e6ac90e00580597e4311f4","url":"https://api.github.com/repos/p2panda/p2panda/commits/c6e164f1480f4b3f19e6ac90e00580597e4311f4","html_url":"https://github.com/p2panda/p2panda/commit/c6e164f1480f4b3f19e6ac90e00580597e4311f4"}]},{"sha":"e1a634d1fd61a191cb243c11802084ee57cb178f","node_id":"C_kwDOEhZKftoAKGUxYTYzNGQxZmQ2MWExOTFjYjI0M2MxMTgwMjA4NGVlNTdjYjE3OGY","commit":{"author":{"name":"adz","email":"x12@adz.garden","date":"2026-06-03T22:41:23Z"},"committer":{"name":"adz","email":"adzialocha@users.noreply.github.com","date":"2026-08-20T15:02:07Z"},"message":"core: AnyHeader type improving encoding flows\n\n`Header::` has been slightly too simple for what we need. It was used\nto create operations, validate them, encode and decode them all at once.\nThat was really easy to use, but also ignored some important\nimplementation details as we revealed now and in hindsight also makes\ndealing with operations actually harder .. and slower.\n\nThe main issue is: We can't rely only on `serde` to encode headers as\nthis is one abstraction level too high (Rust type level), see related\nissue here: https://github.com/p2panda/p2panda/issues/1201. We want to\nbe on CBOR level instead (with the help of an AST representation).\n\nThis PR introduces an `AnyHeader` type. It doesn't know about an\nexplicit extensions type `E` anymore (less generics, yay) and is\ndesigned to decode headers as efficiently as possible using `cbor_core`.\nIt keeps the extension's CBOR AST around to always correctly encode it\nback into it's original shape while ensuring correct hash digest, size\nand signature check.\n\nThere's no serde support for encoding and decoding headers anymore,\ninstead one needs to call `AnyHeader::decode(bytes)` or\n`AnyHeader::encode()` etc.\n\nWe can do already a lot of validation here and I focused on optimizing\nfor reducing redundant, repetitive work and memory usage. Now we're\ncomputing the digest and check the header format AND the signature in\none go with as little memory allocations (zero copy) and encodings as\npossible.\n\nThe hash digest and header size is stored inside AnyHeader so any call\non it like `header.hash()` etc. returns an already computed result, no\nneed to encode anything again.\n\nThings like this were not possible before since `Header::` didn't\nhave any proper constructors, we always assembled it from using the\nfields directly, so that's a nice side-effect from this refactor.\n\nObviously there's an `AnyOperation` type as well now, converting between\nall of them is really easy and almost doesn't cost much.\n\nFor converting between `AnyHeader` -> `Header::` or `AnyOperation` ->\n`Operation::` we also have a lot in our hands already, the computed\nhash, mostly all fields of the header. The only thing left is to decode\nthe extensions, now that we know the concrete Rust type `E`.\n\nThere's not really a need anymore for `Header::` to check the\nsignature or compute a hash or size, this type is now mostly\nrepresenting an immutable version of a header. `Signature` is not an\n`Option` anymore and the pre-computed hash and size lives inside of it\nas well.\n\nTo decode bytes to headers the flow looks like this now:\n\n```\nVec -> AnyHeader::decode(bytes)? -> Header::::from_any(any_header)?\n\n.. or\n\nVec -> Header::::decode(bytes)?\n```\n\nTo check the log integrity we need to update our `validate_operation`,\n`validate_backlink` and `validate_header` methods to work with these new\ntypes.\n\nInstead of asking for a concrete type here this PR introduces trait\nbounds. Here are the traits (naming etc. heavily WIP):\n\n```rust\n/// Identifier of a single operation.\npub trait OperationId: Copy + Clone + PartialEq + Eq + StdHash {}\n\n/// Returns (unique) hash digest, which can be used as identifier of this published data type.\npub trait Digest\nwhere\n ID: OperationId,\n{\n fn hash(&self) -> ID;\n}\n\n/// Returns the author of this published data type and a method to verify the authenticity of it.\npub trait Provenance\nwhere\n A: Author,\n{\n fn author(&self) -> A;\n\n fn verify(&self) -> bool;\n}\n\n/// Hash-chain structure with integrity guarantees and sequence numbers as a performance\n/// optimization.\npub trait Chain {\n /// Pointer at previous entry in log which gives us the integrity guarantee of the \"hash chain\".\n /// The first entry in a log returns `None`.\n fn backlink(&self) -> Option;\n\n /// Sequence numbers are helpful to fastly detect forks and use the much faster and optimized\n /// diffing strategy when the local log is not forked.\n fn seq_num(&self) -> SeqNum;\n}\n\n/// Additional data which can be removed from the on-chain data-type.\npub trait Offchain {\n fn payload(&self) -> Option<&Body>;\n\n fn payload_hash(&self) -> Option;\n\n fn payload_size(&self) -> PayloadSize;\n}\n```\n\nLastly we need a way now to create operations. Since we can't use\n`Header` for that anymore we need .. a new builder struct!\n\nHere is an example:\n\n```rust\nlet header = Header::builder()\n .body(b\"test\")\n .build(&signing_key, extensions);\n```\n\n.. or:\n\n```rust\nlet header = Header::builder()\n .chain(1, previous_header.hash())\n .build(&signing_key, extensions);\n```\n\nThe encoding of everything doesn't use serde internally but `cbor_core`\ndirectly to skip the `Signature: None` workaround and also because we\ndon't really have any serializer implemented for such a struct anymore.\n\nAgain it's optimized for encoding only twice (once for signature\ncalculation and once for digest) and these things, plus header size are\nthen moved straight into `Header`, so we don't need to compute it\never again.\n\nThis gives us the path to publish operations as such:\n\n```\nHeader::::builder() -> Header::::encode() -> Vec\n```\n\nSince `Header` can only be created ever by ourselves (and never came\nfrom bytes) we know that the signature and operation format is always\nchecked and correct.\n\nThis PR replaced `ciborium` with\n[`cbor_core`](https://docs.rs/cbor-core/latest/cbor_core/). The reason\nis that `ciborium` doesn't have a Value and AST as powerful as\n`cbor_core` to work with for low-level messing with CBOR types. It only\noffers a fairly abstract serde API.","tree":{"sha":"bf23055c948d2121a2627e1c557624b360737510","url":"https://api.github.com/repos/p2panda/p2panda/git/trees/bf23055c948d2121a2627e1c557624b360737510"},"url":"https://api.github.com/repos/p2panda/p2panda/git/commits/e1a634d1fd61a191cb243c11802084ee57cb178f","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null,"verified_at":null}},"url":"https://api.github.com/repos/p2panda/p2panda/commits/e1a634d1fd61a191cb243c11802084ee57cb178f","html_url":"https://github.com/p2panda/p2panda/commit/e1a634d1fd61a191cb243c11802084ee57cb178f","comments_url":"https://api.github.com/repos/p2panda/p2panda/commits/e1a634d1fd61a191cb243c11802084ee57cb178f/comments","author":{"login":"adzialocha","id":1822473,"node_id":"MDQ6VXNlcjE4MjI0NzM=","avatar_url":"https://avatars.githubusercontent.com/u/1822473?v=4","gravatar_id":"","url":"https://api.github.com/users/adzialocha","html_url":"https://github.com/adzialocha","followers_url":"https://api.github.com/users/adzialocha/followers","following_url":"https://api.github.com/users/adzialocha/following{/other_user}","gists_url":"https://api.github.com/users/adzialocha/gists{/gist_id}","starred_url":"https://api.github.com/users/adzialocha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adzialocha/subscriptions","organizations_url":"https://api.github.com/users/adzialocha/orgs","repos_url":"https://api.github.com/users/adzialocha/repos","events_url":"https://api.github.com/users/adzialocha/events{/privacy}","received_events_url":"https://api.github.com/users/adzialocha/received_events","type":"User","user_view_type":"public","site_admin":false},"committer":{"login":"adzialocha","id":1822473,"node_id":"MDQ6VXNlcjE4MjI0NzM=","avatar_url":"https://avatars.githubusercontent.com/u/1822473?v=4","gravatar_id":"","url":"https://api.github.com/users/adzialocha","html_url":"https://github.com/adzialocha","followers_url":"https://api.github.com/users/adzialocha/followers","following_url":"https://api.github.com/users/adzialocha/following{/other_user}","gists_url":"https://api.github.com/users/adzialocha/gists{/gist_id}","starred_url":"https://api.github.com/users/adzialocha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adzialocha/subscriptions","organizations_url":"https://api.github.com/users/adzialocha/orgs","repos_url":"https://api.github.com/users/adzialocha/repos","events_url":"https://api.github.com/users/adzialocha/events{/privacy}","received_events_url":"https://api.github.com/users/adzialocha/received_events","type":"User","user_view_type":"public","site_admin":false},"parents":[{"sha":"71ee61f8ee587dff646992476d87c78dcfc49533","url":"https://api.github.com/repos/p2panda/p2panda/commits/71ee61f8ee587dff646992476d87c78dcfc49533","html_url":"https://github.com/p2panda/p2panda/commit/71ee61f8ee587dff646992476d87c78dcfc49533"}]}] \ No newline at end of file diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/gh/p2panda-core-main.Cargo.toml b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/gh/p2panda-core-main.Cargo.toml new file mode 100644 index 0000000000..485b37edef --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/gh/p2panda-core-main.Cargo.toml @@ -0,0 +1,50 @@ +[package] +name = "p2panda-core" +version = "0.7.1" +edition = "2024" +authors = [ + "adz ", + "sandreae ", + "glyph ", +] +description = "Extensible data-types for secure, distributed and efficient exchange of data" +repository = "https://github.com/p2panda/p2panda" +license = "MIT OR Apache-2.0" +readme = "README.md" +keywords = ["p2p", "data-types", "blake3", "cbor", "ed25519"] +rust-version = "1.96" + +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + +[lints] +workspace = true + +[features] +default = [] +arbitrary = [ + "dep:arbitrary", + "test_utils", +] +test_utils = [ + "dep:mock_instant", + "dep:tracing-subscriber", +] + +[dependencies] +arbitrary = { version = "1.4.2", optional = true, features = ["derive"] } +blake3 = { workspace = true } +cbor-core = { version = "0.10.1", features = ["serde"] } +ed25519-dalek = { version = "2.2.0", features = ["rand_core"] } +hex = { workspace = true, features = ["serde"] } +mock_instant = { workspace = true, optional = true } +rand = "0.8.5" +serde = { workspace = true, features = ["derive"] } +serde_bytes = { workspace = true } +thiserror = { workspace = true } +tracing-subscriber = { workspace = true, features = ["env-filter"], optional = true } + +[dev-dependencies] +p2panda-core = { path = ".", features = ["test_utils"] } +serde_json = "1.0.150" diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/gh/p2panda-identity-main.rs b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/gh/p2panda-identity-main.rs new file mode 100644 index 0000000000..41e7160382 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/gh/p2panda-identity-main.rs @@ -0,0 +1,429 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 + +//! Ed25519 key pairs and signatures. +//! +//! The `SigningKey` is used for creating digital signatures and the `VerifyingKey` is used for +//! verifying that a signature was indeed created by it's private counterpart. The private part of +//! a key pair is typically kept securely on one device and never transported, whereas the public +//! part acts as a peer's unique identifier and can be shared freely. +//! +//! ## Example +//! +//! ``` +//! use p2panda_core::identity::SigningKey; +//! +//! let signing_key = SigningKey::generate(); +//! let verifying_key = signing_key.verifying_key(); +//! +//! let bytes: &[u8] = b"A very important message."; +//! let signature = signing_key.sign(bytes); +//! +//! assert!(verifying_key.verify(bytes, &signature)) +//! ``` +use std::fmt; +use std::fmt::Debug; +use std::str::FromStr; + +#[cfg(feature = "arbitrary")] +use arbitrary::Arbitrary; +use ed25519_dalek::Signer as _; +use rand::rngs::OsRng; +use thiserror::Error; + +use crate::traits::{Author, ShortFormat}; + +/// The length of an Ed25519 `Signature`, in bytes. +pub const SIGNATURE_LEN: usize = ed25519_dalek::SIGNATURE_LENGTH; + +/// The length of an Ed25519 `SigningKey`, in bytes. +pub const SIGNING_KEY_LEN: usize = ed25519_dalek::SECRET_KEY_LENGTH; + +/// The length of an Ed25519 `VerifyingKey`, in bytes. +pub const VERIFYING_KEY_LEN: usize = ed25519_dalek::PUBLIC_KEY_LENGTH; + +#[cfg(any(test, feature = "test_utils"))] +impl Author for char {} + +/// Private Ed25519 key used for digital signatures. +#[derive(Clone, Eq, PartialEq)] +pub struct SigningKey(ed25519_dalek::SigningKey); + +impl Default for SigningKey { + fn default() -> Self { + Self::generate() + } +} + +impl SigningKey { + /// Generates a new signing key using the system's random number generator (CSPRNG) as a seed. + pub fn generate() -> Self { + let mut csprng: OsRng = OsRng; + let signing_key = ed25519_dalek::SigningKey::generate(&mut csprng); + Self(signing_key) + } + + /// Create a `SigningKey` from its raw bytes representation. + pub fn from_bytes(bytes: &[u8; SIGNING_KEY_LEN]) -> Self { + Self(ed25519_dalek::SigningKey::from_bytes(bytes)) + } + + /// Bytes of the signing key. + pub fn as_bytes(&self) -> &[u8; SIGNING_KEY_LEN] { + self.0.as_bytes() + } + + /// Convert the signing key to a hex string. + pub fn to_hex(&self) -> String { + hex::encode(self.0.as_bytes()) + } + + /// Returns public key using this signing counterpart. + pub fn verifying_key(&self) -> VerifyingKey { + self.0.verifying_key().into() + } + + /// Sign the provided bytestring using this signing key returning a digital signature. + pub fn sign(&self, bytes: &[u8]) -> Signature { + self.0.sign(bytes).into() + } +} + +impl fmt::Display for SigningKey { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + write!(f, "{}", self.to_hex()) + } +} + +#[cfg(any(test, feature = "test_utils"))] +impl fmt::Debug for SigningKey { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + f.debug_tuple("SigningKey") + .field(self.0.as_bytes()) + .finish() + } +} + +#[cfg(not(any(test, feature = "test_utils")))] +impl fmt::Debug for SigningKey { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + f.debug_tuple("SigningKey").field(&"***").finish() + } +} + +impl From<[u8; SIGNING_KEY_LEN]> for SigningKey { + fn from(value: [u8; SIGNING_KEY_LEN]) -> Self { + Self::from_bytes(&value) + } +} + +impl From for [u8; SIGNING_KEY_LEN] { + fn from(value: SigningKey) -> Self { + *value.as_bytes() + } +} + +impl From<&[u8; SIGNING_KEY_LEN]> for SigningKey { + fn from(value: &[u8; SIGNING_KEY_LEN]) -> Self { + Self::from_bytes(value) + } +} + +impl TryFrom<&[u8]> for SigningKey { + type Error = IdentityError; + + fn try_from(value: &[u8]) -> Result { + let value_len = value.len(); + + let checked_value: [u8; SIGNING_KEY_LEN] = value + .try_into() + .map_err(|_| IdentityError::InvalidLength(value_len, SIGNING_KEY_LEN))?; + + Ok(Self::from(checked_value)) + } +} + +impl Signer for SigningKey { + fn sign(&self, bytes: &[u8]) -> Signature { + self.sign(bytes) + } + + fn verifying_key(&self) -> VerifyingKey { + self.verifying_key() + } +} + +#[cfg(feature = "arbitrary")] +impl<'a> Arbitrary<'a> for SigningKey { + fn arbitrary(u: &mut arbitrary::Unstructured<'a>) -> arbitrary::Result { + let bytes = <[u8; SIGNING_KEY_LEN] as Arbitrary>::arbitrary(u)?; + Ok(SigningKey::from_bytes(&bytes)) + } +} + +/// Public Ed25519 key used for identifying peers and verifying signed data. +#[derive(Default, Hash, PartialEq, Eq, Copy, Clone)] +pub struct VerifyingKey(ed25519_dalek::VerifyingKey); + +impl PartialOrd for VerifyingKey { + fn partial_cmp(&self, other: &Self) -> Option { + Some(self.cmp(other)) + } +} + +impl Ord for VerifyingKey { + fn cmp(&self, other: &Self) -> std::cmp::Ordering { + self.to_hex().cmp(&other.to_hex()) + } +} + +impl VerifyingKey { + /// Create a `VerifyingKey` from its raw bytes representation. + pub fn from_bytes(bytes: &[u8; VERIFYING_KEY_LEN]) -> Result { + Ok(Self(ed25519_dalek::VerifyingKey::from_bytes(bytes)?)) + } + + /// Bytes of the public key. + pub fn as_bytes(&self) -> &[u8; VERIFYING_KEY_LEN] { + self.0.as_bytes() + } + + /// Convert the public key to a hex string. + pub fn to_hex(&self) -> String { + hex::encode(self.0.as_bytes()) + } + + /// Verify a signature over a byte slice with this public key. + pub fn verify(&self, bytes: &[u8], signature: &Signature) -> bool { + self.0.verify_strict(bytes, &signature.0).is_ok() + } +} + +impl fmt::Display for VerifyingKey { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + write!(f, "{}", self.to_hex()) + } +} + +impl fmt::Debug for VerifyingKey { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + f.debug_tuple("VerifyingKey") + .field(self.0.as_bytes()) + .finish() + } +} + +impl From for ed25519_dalek::VerifyingKey { + fn from(value: VerifyingKey) -> Self { + value.0 + } +} + +impl From for VerifyingKey { + fn from(value: ed25519_dalek::VerifyingKey) -> Self { + Self(value) + } +} + +impl TryFrom<[u8; VERIFYING_KEY_LEN]> for VerifyingKey { + type Error = IdentityError; + + fn try_from(value: [u8; VERIFYING_KEY_LEN]) -> Result { + Self::from_bytes(&value) + } +} + +impl From for [u8; VERIFYING_KEY_LEN] { + fn from(value: VerifyingKey) -> Self { + *value.as_bytes() + } +} + +impl TryFrom<&[u8; VERIFYING_KEY_LEN]> for VerifyingKey { + type Error = IdentityError; + + fn try_from(value: &[u8; VERIFYING_KEY_LEN]) -> Result { + Self::from_bytes(value) + } +} + +impl TryFrom<&[u8]> for VerifyingKey { + type Error = IdentityError; + + fn try_from(value: &[u8]) -> Result { + let value_len = value.len(); + + let checked_value: [u8; VERIFYING_KEY_LEN] = value + .try_into() + .map_err(|_| IdentityError::InvalidLength(value_len, VERIFYING_KEY_LEN))?; + + Self::try_from(checked_value) + } +} + +impl FromStr for VerifyingKey { + type Err = IdentityError; + + fn from_str(value: &str) -> Result { + Self::try_from(hex::decode(value)?.as_slice()) + } +} + +impl Author for VerifyingKey {} + +impl ShortFormat for VerifyingKey { + fn fmt_short(&self) -> String { + self.to_hex()[0..10].to_string() + } +} + +#[cfg(feature = "arbitrary")] +impl<'a> Arbitrary<'a> for VerifyingKey { + fn arbitrary(u: &mut arbitrary::Unstructured<'a>) -> arbitrary::Result { + let bytes = <[u8; VERIFYING_KEY_LEN] as Arbitrary>::arbitrary(u)?; + let verifying_key = + VerifyingKey::from_bytes(&bytes).map_err(|_| arbitrary::Error::IncorrectFormat)?; + Ok(verifying_key) + } +} + +/// Ed25519 signature. +#[derive(Copy, Eq, PartialEq, Clone)] +pub struct Signature(ed25519_dalek::Signature); + +impl Signature { + /// Create a `Signature` from its raw bytes representation. + pub fn from_bytes(bytes: &[u8; SIGNATURE_LEN]) -> Self { + Self(ed25519_dalek::Signature::from_bytes(bytes)) + } + + /// Bytes of the signature. + pub fn to_bytes(&self) -> [u8; SIGNATURE_LEN] { + let mut ret = [0u8; SIGNATURE_LEN]; + let (r, s) = ret.split_at_mut(32); + r.copy_from_slice(self.0.r_bytes()); + s.copy_from_slice(self.0.s_bytes()); + ret + } + + /// Convert the signature to a hex string. + pub fn to_hex(&self) -> String { + hex::encode(self.to_bytes()) + } +} + +impl fmt::Display for Signature { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + write!(f, "{}", self.to_hex()) + } +} + +impl fmt::Debug for Signature { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + f.debug_tuple("Signature").field(&self.to_bytes()).finish() + } +} + +impl FromStr for Signature { + type Err = IdentityError; + + fn from_str(value: &str) -> Result { + Self::try_from(hex::decode(value)?.as_slice()) + } +} + +impl From for ed25519_dalek::Signature { + fn from(value: Signature) -> Self { + value.0 + } +} + +impl From for Signature { + fn from(value: ed25519_dalek::Signature) -> Self { + Self(value) + } +} + +impl From<[u8; SIGNATURE_LEN]> for Signature { + fn from(value: [u8; SIGNATURE_LEN]) -> Self { + Self::from_bytes(&value) + } +} + +impl From<&[u8; SIGNATURE_LEN]> for Signature { + fn from(value: &[u8; SIGNATURE_LEN]) -> Self { + Self::from_bytes(value) + } +} + +impl TryFrom<&[u8]> for Signature { + type Error = IdentityError; + + fn try_from(value: &[u8]) -> Result { + let value_len = value.len(); + + let checked_value: [u8; SIGNATURE_LEN] = value + .try_into() + .map_err(|_| IdentityError::InvalidLength(value_len, SIGNATURE_LEN))?; + + Ok(Self::from(checked_value)) + } +} + +#[cfg(feature = "arbitrary")] +impl<'a> Arbitrary<'a> for Signature { + fn arbitrary(u: &mut arbitrary::Unstructured<'a>) -> arbitrary::Result { + let bytes = <[u8; SIGNATURE_LEN] as Arbitrary>::arbitrary(u)?; + Ok(Signature::from_bytes(&bytes)) + } +} + +#[derive(Error, Debug)] +pub enum IdentityError { + /// Invalid number of bytes. + #[error("invalid bytes length of {0}, expected {1} bytes")] + InvalidLength(usize, usize), + + /// String contains invalid hexadecimal characters. + #[error("invalid hex encoding in string")] + InvalidHexEncoding(#[from] hex::FromHexError), + + /// Errors which may occur while processing signatures and key pairs. + /// + /// This error may arise due to: + /// + /// * Being given bytes with a length different to what was expected. + /// + /// * A problem decompressing `r`, a curve point, in the `Signature`, or the curve point for a + /// `VerifyingKey`. + /// + /// * Failure of a signature to satisfy the verification equation. + #[error("invalid signature: {0}")] + InvalidSignature(#[from] ed25519_dalek::SignatureError), +} + +pub trait Signer { + fn sign(&self, bytes: &[u8]) -> Signature; + + fn verifying_key(&self) -> VerifyingKey; +} + +#[cfg(test)] +mod tests { + use super::SigningKey; + + #[test] + fn signing() { + let signing_key = SigningKey::generate(); + let verifying_key = signing_key.verifying_key(); + let bytes = b"test"; + let signature = signing_key.sign(bytes); + assert!(verifying_key.verify(bytes, &signature)); + + // Invalid data + assert!(!verifying_key.verify(b"not test", &signature)); + + // Invalid public key + let verifying_key_2 = SigningKey::generate().verifying_key(); + assert!(!verifying_key_2.verify(bytes, &signature)); + } +} diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/gh/rustsec_curve25519-dalek.json b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/gh/rustsec_curve25519-dalek.json new file mode 100644 index 0000000000..217b4a7636 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/gh/rustsec_curve25519-dalek.json @@ -0,0 +1 @@ +[{"name":"RUSTSEC-2024-0344.md","path":"crates/curve25519-dalek/RUSTSEC-2024-0344.md","sha":"67b854219fc9063d1c24c80ab5586b139754af9c","size":1754,"url":"https://api.github.com/repos/rustsec/advisory-db/contents/crates/curve25519-dalek/RUSTSEC-2024-0344.md?ref=main","html_url":"https://github.com/rustsec/advisory-db/blob/main/crates/curve25519-dalek/RUSTSEC-2024-0344.md","git_url":"https://api.github.com/repos/rustsec/advisory-db/git/blobs/67b854219fc9063d1c24c80ab5586b139754af9c","download_url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/curve25519-dalek/RUSTSEC-2024-0344.md","type":"file","_links":{"self":"https://api.github.com/repos/rustsec/advisory-db/contents/crates/curve25519-dalek/RUSTSEC-2024-0344.md?ref=main","git":"https://api.github.com/repos/rustsec/advisory-db/git/blobs/67b854219fc9063d1c24c80ab5586b139754af9c","html":"https://github.com/rustsec/advisory-db/blob/main/crates/curve25519-dalek/RUSTSEC-2024-0344.md"}}] \ No newline at end of file diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/gh/rustsec_ed25519-dalek.json b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/gh/rustsec_ed25519-dalek.json new file mode 100644 index 0000000000..cb0e7dcaa1 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/gh/rustsec_ed25519-dalek.json @@ -0,0 +1 @@ +[{"name":"RUSTSEC-2022-0093.md","path":"crates/ed25519-dalek/RUSTSEC-2022-0093.md","sha":"36d43cfac0c23c39dee3802e113834b6cdf8b631","size":1253,"url":"https://api.github.com/repos/rustsec/advisory-db/contents/crates/ed25519-dalek/RUSTSEC-2022-0093.md?ref=main","html_url":"https://github.com/rustsec/advisory-db/blob/main/crates/ed25519-dalek/RUSTSEC-2022-0093.md","git_url":"https://api.github.com/repos/rustsec/advisory-db/git/blobs/36d43cfac0c23c39dee3802e113834b6cdf8b631","download_url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/ed25519-dalek/RUSTSEC-2022-0093.md","type":"file","_links":{"self":"https://api.github.com/repos/rustsec/advisory-db/contents/crates/ed25519-dalek/RUSTSEC-2022-0093.md?ref=main","git":"https://api.github.com/repos/rustsec/advisory-db/git/blobs/36d43cfac0c23c39dee3802e113834b6cdf8b631","html":"https://github.com/rustsec/advisory-db/blob/main/crates/ed25519-dalek/RUSTSEC-2022-0093.md"}}] \ No newline at end of file diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/gh/rustsec_rand_core.json b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/gh/rustsec_rand_core.json new file mode 100644 index 0000000000..59d539be13 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/gh/rustsec_rand_core.json @@ -0,0 +1 @@ +[{"name":"RUSTSEC-2019-0035.md","path":"crates/rand_core/RUSTSEC-2019-0035.md","sha":"d475ca1278107854fd7a168cfc299e74c3a3e729","size":692,"url":"https://api.github.com/repos/rustsec/advisory-db/contents/crates/rand_core/RUSTSEC-2019-0035.md?ref=main","html_url":"https://github.com/rustsec/advisory-db/blob/main/crates/rand_core/RUSTSEC-2019-0035.md","git_url":"https://api.github.com/repos/rustsec/advisory-db/git/blobs/d475ca1278107854fd7a168cfc299e74c3a3e729","download_url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/rand_core/RUSTSEC-2019-0035.md","type":"file","_links":{"self":"https://api.github.com/repos/rustsec/advisory-db/contents/crates/rand_core/RUSTSEC-2019-0035.md?ref=main","git":"https://api.github.com/repos/rustsec/advisory-db/git/blobs/d475ca1278107854fd7a168cfc299e74c3a3e729","html":"https://github.com/rustsec/advisory-db/blob/main/crates/rand_core/RUSTSEC-2019-0035.md"}},{"name":"RUSTSEC-2021-0023.md","path":"crates/rand_core/RUSTSEC-2021-0023.md","sha":"ca243d158653df49351f11830bcd5d332f039dfe","size":959,"url":"https://api.github.com/repos/rustsec/advisory-db/contents/crates/rand_core/RUSTSEC-2021-0023.md?ref=main","html_url":"https://github.com/rustsec/advisory-db/blob/main/crates/rand_core/RUSTSEC-2021-0023.md","git_url":"https://api.github.com/repos/rustsec/advisory-db/git/blobs/ca243d158653df49351f11830bcd5d332f039dfe","download_url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/rand_core/RUSTSEC-2021-0023.md","type":"file","_links":{"self":"https://api.github.com/repos/rustsec/advisory-db/contents/crates/rand_core/RUSTSEC-2021-0023.md?ref=main","git":"https://api.github.com/repos/rustsec/advisory-db/git/blobs/ca243d158653df49351f11830bcd5d332f039dfe","html":"https://github.com/rustsec/advisory-db/blob/main/crates/rand_core/RUSTSEC-2021-0023.md"}}] \ No newline at end of file diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/gh/rustsec_sha2.json b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/gh/rustsec_sha2.json new file mode 100644 index 0000000000..8e1ad8c245 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/gh/rustsec_sha2.json @@ -0,0 +1 @@ +[{"name":"RUSTSEC-2021-0100.md","path":"crates/sha2/RUSTSEC-2021-0100.md","sha":"d9d53aa6ad040ae3f68c5b99ba7a377c1bc63265","size":859,"url":"https://api.github.com/repos/rustsec/advisory-db/contents/crates/sha2/RUSTSEC-2021-0100.md?ref=main","html_url":"https://github.com/rustsec/advisory-db/blob/main/crates/sha2/RUSTSEC-2021-0100.md","git_url":"https://api.github.com/repos/rustsec/advisory-db/git/blobs/d9d53aa6ad040ae3f68c5b99ba7a377c1bc63265","download_url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/sha2/RUSTSEC-2021-0100.md","type":"file","_links":{"self":"https://api.github.com/repos/rustsec/advisory-db/contents/crates/sha2/RUSTSEC-2021-0100.md?ref=main","git":"https://api.github.com/repos/rustsec/advisory-db/git/blobs/d9d53aa6ad040ae3f68c5b99ba7a377c1bc63265","html":"https://github.com/rustsec/advisory-db/blob/main/crates/sha2/RUSTSEC-2021-0100.md"}}] \ No newline at end of file diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/curve25519-dalek.json b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/curve25519-dalek.json new file mode 100644 index 0000000000..76242f42d7 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/curve25519-dalek.json @@ -0,0 +1 @@ +{"crate":{"id":"curve25519-dalek","name":"curve25519-dalek","updated_at":"2026-07-06T16:22:48.020142Z","versions":[2726869,2598153,2475581,1998349,1970611,1919260,1861955,1838424,1714124,1634626,1634545,1177848,1042239,903095,890395,852447,830425,759982,718079,713895,682768,682562,682255,501130,501126,501119,414012,408715,408703,408678,403164,400593,365558,365415,324467,324464,324462,324308,324297,324294,273703,258196,246801,191629,190039,185181,184829,168004,166643,155015,154579,148921,134032,134021,134018,134007,133849,130444,128777,122328,122327,118541,116398,109784,109640,108633,101322,97521,92968,92277,88446,87899,87631,85928,80064,80062,78675,78037,78015,73232,71454,71447,71446,68580,67478,62419,61245,61209,58154,58093,54786,53792,53632,53327,53265,47767,46131,46049,43457,43456,39292,39275,39273,39236],"keywords":["crypto","cryptography","curve25519","ristretto","ristretto255"],"categories":["cryptography","no-std"],"badges":[],"created_at":"2016-12-08T05:13:57.620503Z","downloads":281706355,"recent_downloads":73085119,"default_version":"5.0.0","num_versions":104,"yanked":false,"max_version":"5.0.0","newest_version":"5.0.0","max_stable_version":"5.0.0","description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek/tree/main/curve25519-dalek","links":{"version_downloads":"/api/v1/crates/curve25519-dalek/downloads","versions":null,"owners":"/api/v1/crates/curve25519-dalek/owners","owner_team":"/api/v1/crates/curve25519-dalek/owner_team","owner_user":"/api/v1/crates/curve25519-dalek/owner_user","reverse_dependencies":"/api/v1/crates/curve25519-dalek/reverse_dependencies"},"exact_match":false,"trustpub_only":false},"versions":[{"id":2726869,"crate":"curve25519-dalek","num":"5.0.0","dl_path":"/api/v1/crates/curve25519-dalek/5.0.0/download","readme_path":"/api/v1/crates/curve25519-dalek/5.0.0/readme","updated_at":"2026-07-06T16:22:48.020142Z","created_at":"2026-07-06T16:22:48.020142Z","downloads":8723504,"features":{"alloc":["zeroize?/alloc"],"default":["alloc","precomputed-tables","zeroize"],"digest":["dep:digest"],"group":["dep:group","rand_core"],"legacy_compatibility":[],"lizard":["digest"],"precomputed-tables":[],"rand_core":["dep:rand_core","digest/rand_core"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/5.0.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/5.0.0/downloads","authors":"/api/v1/crates/curve25519-dalek/5.0.0/authors"},"crate_size":350408,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2026-07-06T16:22:48.020142Z"}],"checksum":"b5eed333089e2e1c1ac8c6c0398e5e2497b4c9926ca6d0365ed1e099afa5bc23","rust_version":"1.85.0","has_lib":true,"bin_names":[],"edition":"2024","description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek/tree/main/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":27524,"comment_lines":1947,"files":57}},"total_code_lines":27530,"total_comment_lines":1949}},{"id":2598153,"crate":"curve25519-dalek","num":"5.0.0-rc.1","dl_path":"/api/v1/crates/curve25519-dalek/5.0.0-rc.1/download","readme_path":"/api/v1/crates/curve25519-dalek/5.0.0-rc.1/readme","updated_at":"2026-06-18T05:45:55.830880Z","created_at":"2026-06-18T05:45:55.830880Z","downloads":678438,"features":{"alloc":["zeroize?/alloc"],"default":["alloc","precomputed-tables","zeroize"],"digest":["dep:digest"],"group":["dep:group","rand_core"],"legacy_compatibility":[],"lizard":["digest"],"precomputed-tables":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/5.0.0-rc.1/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/5.0.0-rc.1/downloads","authors":"/api/v1/crates/curve25519-dalek/5.0.0-rc.1/authors"},"crate_size":350228,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2026-06-18T05:45:55.830880Z"}],"checksum":"c906a87e53a36ff795d72e06e8162a83c5436e3ea89e942a9cb9fc083f0a384f","rust_version":"1.85.0","has_lib":true,"bin_names":[],"edition":"2024","description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek/tree/main/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":27531,"comment_lines":1941,"files":57}},"total_code_lines":27537,"total_comment_lines":1943}},{"id":2475581,"crate":"curve25519-dalek","num":"5.0.0-rc.0","dl_path":"/api/v1/crates/curve25519-dalek/5.0.0-rc.0/download","readme_path":"/api/v1/crates/curve25519-dalek/5.0.0-rc.0/readme","updated_at":"2026-05-28T22:59:30.464218Z","created_at":"2026-05-28T22:59:30.464218Z","downloads":1656910,"features":{"alloc":["zeroize?/alloc"],"default":["alloc","precomputed-tables","zeroize"],"digest":["dep:digest"],"legacy_compatibility":[],"lizard":["digest"],"precomputed-tables":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/5.0.0-rc.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/5.0.0-rc.0/downloads","authors":"/api/v1/crates/curve25519-dalek/5.0.0-rc.0/authors"},"crate_size":346408,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2026-05-28T22:59:30.464218Z"}],"checksum":"4f359e08ca85e7bd759e1fd933ff2bccd81864c60a8fba0e259c7f822b0924bf","rust_version":"1.85.0","has_lib":true,"bin_names":[],"edition":"2024","description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek/tree/main/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":27022,"comment_lines":1920,"files":57}},"total_code_lines":27028,"total_comment_lines":1922}},{"id":1998349,"crate":"curve25519-dalek","num":"5.0.0-pre.6","dl_path":"/api/v1/crates/curve25519-dalek/5.0.0-pre.6/download","readme_path":"/api/v1/crates/curve25519-dalek/5.0.0-pre.6/readme","updated_at":"2026-02-04T15:26:07.006868Z","created_at":"2026-02-04T15:26:07.006868Z","downloads":2096348,"features":{"alloc":["zeroize?/alloc"],"default":["alloc","precomputed-tables","zeroize"],"digest":["dep:digest"],"group":["dep:group","rand_core"],"group-bits":["group","ff/bits"],"legacy_compatibility":[],"lizard":["digest"],"precomputed-tables":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/5.0.0-pre.6/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/5.0.0-pre.6/downloads","authors":"/api/v1/crates/curve25519-dalek/5.0.0-pre.6/authors"},"crate_size":346997,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2026-02-04T15:26:07.006868Z"}],"checksum":"335f1947f241137a14106b6f5acc5918a5ede29c9d71d3f2cb1678d5075d9fc3","rust_version":"1.85.0","has_lib":true,"bin_names":[],"edition":"2024","description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek/tree/main/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":27521,"comment_lines":1924,"files":57}},"total_code_lines":27527,"total_comment_lines":1926}},{"id":1970611,"crate":"curve25519-dalek","num":"5.0.0-pre.5","dl_path":"/api/v1/crates/curve25519-dalek/5.0.0-pre.5/download","readme_path":"/api/v1/crates/curve25519-dalek/5.0.0-pre.5/readme","updated_at":"2026-01-25T01:17:14.529457Z","created_at":"2026-01-25T01:17:14.529457Z","downloads":15299,"features":{"alloc":["zeroize?/alloc"],"default":["alloc","precomputed-tables","zeroize"],"digest":["dep:digest"],"group":["dep:group","rand_core"],"group-bits":["group","ff/bits"],"legacy_compatibility":[],"lizard":["digest"],"precomputed-tables":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/5.0.0-pre.5/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/5.0.0-pre.5/downloads","authors":"/api/v1/crates/curve25519-dalek/5.0.0-pre.5/authors"},"crate_size":349165,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2026-01-25T01:17:14.529457Z"}],"checksum":"a434aec7908df6ca86cda069864d7686aea8afad979aadc9e30e50ac3e40b45a","rust_version":"1.85.0","has_lib":true,"bin_names":[],"edition":"2024","description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek/tree/main/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":27521,"comment_lines":1924,"files":57}},"total_code_lines":27527,"total_comment_lines":1926}},{"id":1919260,"crate":"curve25519-dalek","num":"5.0.0-pre.4","dl_path":"/api/v1/crates/curve25519-dalek/5.0.0-pre.4/download","readme_path":"/api/v1/crates/curve25519-dalek/5.0.0-pre.4/readme","updated_at":"2026-01-03T18:35:57.760995Z","created_at":"2026-01-03T18:35:57.760995Z","downloads":47734,"features":{"alloc":["zeroize?/alloc"],"default":["alloc","precomputed-tables","zeroize"],"digest":["dep:digest"],"group":["dep:group","rand_core"],"group-bits":["group","ff/bits"],"legacy_compatibility":[],"lizard":["digest"],"precomputed-tables":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/5.0.0-pre.4/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/5.0.0-pre.4/downloads","authors":"/api/v1/crates/curve25519-dalek/5.0.0-pre.4/authors"},"crate_size":347712,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2026-01-03T18:35:57.760995Z"}],"checksum":"6ae8b2fe5e4995d7fd08a7604e794dc569a65ed19659f5939d529813ed816d38","rust_version":"1.85.0","has_lib":true,"bin_names":[],"edition":"2024","description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek/tree/main/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":27511,"comment_lines":1924,"files":57}},"total_code_lines":27517,"total_comment_lines":1926}},{"id":1861955,"crate":"curve25519-dalek","num":"5.0.0-pre.3","dl_path":"/api/v1/crates/curve25519-dalek/5.0.0-pre.3/download","readme_path":"/api/v1/crates/curve25519-dalek/5.0.0-pre.3/readme","updated_at":"2025-12-05T17:08:06.924301Z","created_at":"2025-12-05T17:08:06.924301Z","downloads":13631,"features":{"alloc":["zeroize?/alloc"],"default":["alloc","precomputed-tables","zeroize"],"digest":["dep:digest"],"group":["dep:group","rand_core"],"group-bits":["group","ff/bits"],"legacy_compatibility":[],"lizard":["digest"],"precomputed-tables":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/5.0.0-pre.3/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/5.0.0-pre.3/downloads","authors":"/api/v1/crates/curve25519-dalek/5.0.0-pre.3/authors"},"crate_size":347280,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2025-12-05T17:08:06.924301Z"}],"checksum":"92419e1cdc506051ffd30713ad09d0ec6a24bba9197e12989de389e35b19c77a","rust_version":"1.85.0","has_lib":true,"bin_names":[],"edition":"2024","description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek/tree/main/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":27483,"comment_lines":1919,"files":57}},"total_code_lines":27489,"total_comment_lines":1921}},{"id":1838424,"crate":"curve25519-dalek","num":"5.0.0-pre.2","dl_path":"/api/v1/crates/curve25519-dalek/5.0.0-pre.2/download","readme_path":"/api/v1/crates/curve25519-dalek/5.0.0-pre.2/readme","updated_at":"2025-11-22T21:19:34.643410Z","created_at":"2025-11-22T21:19:34.643410Z","downloads":13790,"features":{"alloc":["zeroize?/alloc"],"default":["alloc","precomputed-tables","zeroize"],"digest":["dep:digest"],"group":["dep:group","rand_core"],"group-bits":["group","ff/bits"],"legacy_compatibility":[],"lizard":["digest"],"precomputed-tables":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/5.0.0-pre.2/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/5.0.0-pre.2/downloads","authors":"/api/v1/crates/curve25519-dalek/5.0.0-pre.2/authors"},"crate_size":347300,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2025-11-22T21:19:34.643410Z"}],"checksum":"4d8cfa313d59919eda35b420bd37db85bf58d6754d6f128b9949932b0c0fcce7","rust_version":"1.85.0","has_lib":true,"bin_names":[],"edition":"2024","description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek/tree/main/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":27484,"comment_lines":1919,"files":57}},"total_code_lines":27490,"total_comment_lines":1921}},{"id":1714124,"crate":"curve25519-dalek","num":"5.0.0-pre.1","dl_path":"/api/v1/crates/curve25519-dalek/5.0.0-pre.1/download","readme_path":"/api/v1/crates/curve25519-dalek/5.0.0-pre.1/readme","updated_at":"2025-09-04T06:08:47.477839Z","created_at":"2025-09-04T06:08:47.477839Z","downloads":1304751,"features":{"alloc":["zeroize?/alloc"],"default":["alloc","precomputed-tables","zeroize"],"digest":["dep:digest"],"group":["dep:group","rand_core"],"group-bits":["group","ff/bits"],"legacy_compatibility":[],"precomputed-tables":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/5.0.0-pre.1/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/5.0.0-pre.1/downloads","authors":"/api/v1/crates/curve25519-dalek/5.0.0-pre.1/authors"},"crate_size":328319,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2025-09-04T06:08:47.477839Z"}],"checksum":"6f9200d1d13637f15a6acb71e758f64624048d85b31a5fdbfd8eca1e2687d0b7","rust_version":"1.85.0","has_lib":true,"bin_names":[],"edition":"2024","description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek/tree/main/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":27027,"comment_lines":1844,"files":50}},"total_code_lines":27033,"total_comment_lines":1846}},{"id":1634626,"crate":"curve25519-dalek","num":"5.0.0-pre.0","dl_path":"/api/v1/crates/curve25519-dalek/5.0.0-pre.0/download","readme_path":"/api/v1/crates/curve25519-dalek/5.0.0-pre.0/readme","updated_at":"2025-07-09T17:17:04.692615Z","created_at":"2025-07-09T17:17:04.692615Z","downloads":29686,"features":{"alloc":["zeroize?/alloc"],"default":["alloc","precomputed-tables","zeroize"],"digest":["dep:digest"],"group":["dep:group","rand_core"],"group-bits":["group","ff/bits"],"legacy_compatibility":[],"precomputed-tables":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/5.0.0-pre.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/5.0.0-pre.0/downloads","authors":"/api/v1/crates/curve25519-dalek/5.0.0-pre.0/authors"},"crate_size":321009,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2025-07-09T17:17:04.692615Z"}],"checksum":"cdebdcbeb8f27a33dd326d0c6382a475a838abbb306bfd573b79d5e39be7afd3","rust_version":"1.85.0","has_lib":true,"bin_names":[],"edition":"2024","description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek/tree/main/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":26696,"comment_lines":1778,"files":50}},"total_code_lines":26702,"total_comment_lines":1780}},{"id":1634545,"crate":"curve25519-dalek","num":"4.2.0","dl_path":"/api/v1/crates/curve25519-dalek/4.2.0/download","readme_path":"/api/v1/crates/curve25519-dalek/4.2.0/readme","updated_at":"2025-07-17T21:52:01.425021Z","created_at":"2025-07-09T16:21:43.413727Z","downloads":675697,"features":{"alloc":["zeroize?/alloc"],"default":["alloc","precomputed-tables","zeroize"],"digest":["dep:digest","digest/core-api"],"group":["dep:group","rand_core"],"group-bits":["group","ff/bits"],"legacy_compatibility":[],"precomputed-tables":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/4.2.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/4.2.0/downloads","authors":"/api/v1/crates/curve25519-dalek/4.2.0/authors"},"crate_size":322505,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2025-07-09T16:21:43.413727Z"},{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2025-07-17T21:52:01.427548Z"}],"checksum":"373b7c5dbd637569a2cca66e8d66b8c446a1e7bf064ea321d265d7b3dfe7c97e","rust_version":"1.60.0","has_lib":true,"bin_names":[],"edition":"2021","description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek/tree/main/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":26758,"comment_lines":1782,"files":50}},"total_code_lines":26764,"total_comment_lines":1784}},{"id":1177848,"crate":"curve25519-dalek","num":"4.1.3","dl_path":"/api/v1/crates/curve25519-dalek/4.1.3/download","readme_path":"/api/v1/crates/curve25519-dalek/4.1.3/readme","updated_at":"2024-06-18T19:20:35.007627Z","created_at":"2024-06-18T19:20:35.007627Z","downloads":191695288,"features":{"alloc":["zeroize?/alloc"],"default":["alloc","precomputed-tables","zeroize"],"group":["dep:group","rand_core"],"group-bits":["group","ff/bits"],"legacy_compatibility":[],"precomputed-tables":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/4.1.3/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/4.1.3/downloads","authors":"/api/v1/crates/curve25519-dalek/4.1.3/authors"},"crate_size":306017,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2024-06-18T19:20:35.007627Z"}],"checksum":"97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be","rust_version":"1.60.0","has_lib":true,"bin_names":[],"edition":"2021","description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek/tree/main/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":26084,"comment_lines":1698,"files":49}},"total_code_lines":26090,"total_comment_lines":1700}},{"id":1042239,"crate":"curve25519-dalek","num":"4.1.2","dl_path":"/api/v1/crates/curve25519-dalek/4.1.2/download","readme_path":"/api/v1/crates/curve25519-dalek/4.1.2/readme","updated_at":"2024-02-07T01:12:50.272671Z","created_at":"2024-02-07T01:12:50.272671Z","downloads":6018628,"features":{"alloc":["zeroize?/alloc"],"default":["alloc","precomputed-tables","zeroize"],"group":["dep:group","rand_core"],"group-bits":["group","ff/bits"],"legacy_compatibility":[],"precomputed-tables":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/4.1.2/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/4.1.2/downloads","authors":"/api/v1/crates/curve25519-dalek/4.1.2/authors"},"crate_size":305477,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2024-02-07T01:12:50.272671Z"}],"checksum":"0a677b8922c94e01bdbb12126b0bc852f00447528dee1782229af9c720c3f348","rust_version":"1.60.0","has_lib":true,"bin_names":[],"edition":"2021","description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek/tree/main/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":26088,"comment_lines":1690,"files":49}},"total_code_lines":26094,"total_comment_lines":1692}},{"id":903095,"crate":"curve25519-dalek","num":"4.1.1","dl_path":"/api/v1/crates/curve25519-dalek/4.1.1/download","readme_path":"/api/v1/crates/curve25519-dalek/4.1.1/readme","updated_at":"2023-09-20T22:49:05.098540Z","created_at":"2023-09-20T22:49:05.098540Z","downloads":5241867,"features":{"alloc":["zeroize?/alloc"],"default":["alloc","precomputed-tables","zeroize"],"group":["dep:group","rand_core"],"group-bits":["group","ff/bits"],"legacy_compatibility":[],"precomputed-tables":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/4.1.1/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/4.1.1/downloads","authors":"/api/v1/crates/curve25519-dalek/4.1.1/authors"},"crate_size":305441,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2023-09-20T22:49:05.098540Z"}],"checksum":"e89b8c6a2e4b1f45971ad09761aafb85514a84744b67a95e32c3cc1352d1f65c","rust_version":"1.60.0","has_lib":true,"bin_names":[],"edition":"2021","description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek/tree/main/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":26089,"comment_lines":1690,"files":49}},"total_code_lines":26095,"total_comment_lines":1692}},{"id":890395,"crate":"curve25519-dalek","num":"4.1.0","dl_path":"/api/v1/crates/curve25519-dalek/4.1.0/download","readme_path":"/api/v1/crates/curve25519-dalek/4.1.0/readme","updated_at":"2023-09-06T05:13:10.855103Z","created_at":"2023-09-06T05:13:10.855103Z","downloads":906835,"features":{"alloc":["zeroize?/alloc"],"default":["alloc","precomputed-tables","zeroize"],"group":["dep:group","rand_core"],"legacy_compatibility":[],"precomputed-tables":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/4.1.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/4.1.0/downloads","authors":"/api/v1/crates/curve25519-dalek/4.1.0/authors"},"crate_size":305404,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2023-09-06T05:13:10.855103Z"}],"checksum":"622178105f911d937a42cdb140730ba4a3ed2becd8ae6ce39c7d28b5d75d4588","rust_version":"1.60.0","has_lib":true,"bin_names":[],"edition":"2021","description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek/tree/main/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":26076,"comment_lines":1690,"files":49}},"total_code_lines":26082,"total_comment_lines":1692}},{"id":852447,"crate":"curve25519-dalek","num":"4.0.0","dl_path":"/api/v1/crates/curve25519-dalek/4.0.0/download","readme_path":"/api/v1/crates/curve25519-dalek/4.0.0/readme","updated_at":"2023-07-22T16:58:39.440883Z","created_at":"2023-07-22T16:58:39.440883Z","downloads":2001265,"features":{"alloc":["zeroize?/alloc"],"default":["alloc","precomputed-tables","zeroize"],"legacy_compatibility":[],"precomputed-tables":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/4.0.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/4.0.0/downloads","authors":"/api/v1/crates/curve25519-dalek/4.0.0/authors"},"crate_size":300113,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2023-07-22T16:58:39.440883Z"}],"checksum":"f711ade317dd348950a9910f81c5947e3d8907ebd2b83f76203ff1807e6a2bc2","rust_version":"1.60.0","has_lib":true,"bin_names":[],"edition":"2021","description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":25483,"comment_lines":1654,"files":49}},"total_code_lines":25489,"total_comment_lines":1656}},{"id":830425,"crate":"curve25519-dalek","num":"4.0.0-rc.3","dl_path":"/api/v1/crates/curve25519-dalek/4.0.0-rc.3/download","readme_path":"/api/v1/crates/curve25519-dalek/4.0.0-rc.3/readme","updated_at":"2023-06-24T03:17:01.625902Z","created_at":"2023-06-24T03:17:01.625902Z","downloads":316409,"features":{"alloc":["zeroize?/alloc"],"default":["alloc","precomputed-tables","zeroize"],"legacy_compatibility":[],"precomputed-tables":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/4.0.0-rc.3/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/4.0.0-rc.3/downloads","authors":"/api/v1/crates/curve25519-dalek/4.0.0-rc.3/authors"},"crate_size":529027,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2023-06-24T03:17:01.625902Z"}],"checksum":"436ace70fc06e06f7f689d2624dc4e2f0ea666efb5aa704215f7249ae6e047a7","rust_version":"1.60.0","has_lib":true,"bin_names":[],"edition":"2021","description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":25483,"comment_lines":1654,"files":49}},"total_code_lines":25489,"total_comment_lines":1656}},{"id":759982,"crate":"curve25519-dalek","num":"4.0.0-rc.2","dl_path":"/api/v1/crates/curve25519-dalek/4.0.0-rc.2/download","readme_path":"/api/v1/crates/curve25519-dalek/4.0.0-rc.2/readme","updated_at":"2023-03-26T15:09:08.583779Z","created_at":"2023-03-26T15:09:08.583779Z","downloads":511622,"features":{"alloc":["zeroize?/alloc"],"default":["alloc","precomputed-tables","zeroize"],"precomputed-tables":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/4.0.0-rc.2/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/4.0.0-rc.2/downloads","authors":"/api/v1/crates/curve25519-dalek/4.0.0-rc.2/authors"},"crate_size":521275,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2023-03-26T15:09:08.583779Z"}],"checksum":"03d928d978dbec61a1167414f5ec534f24bea0d7a0d24dd9b6233d3d8223e585","rust_version":"1.60.0","has_lib":true,"bin_names":[],"edition":"2021","description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":24912,"comment_lines":1564,"files":47}},"total_code_lines":24918,"total_comment_lines":1566}},{"id":718079,"crate":"curve25519-dalek","num":"4.0.0-rc.1","dl_path":"/api/v1/crates/curve25519-dalek/4.0.0-rc.1/download","readme_path":"/api/v1/crates/curve25519-dalek/4.0.0-rc.1/readme","updated_at":"2023-02-02T22:37:05.939749Z","created_at":"2023-02-02T22:37:05.939749Z","downloads":1560998,"features":{"alloc":["zeroize?/alloc"],"default":["alloc","precomputed-tables","zeroize"],"precomputed-tables":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/4.0.0-rc.1/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/4.0.0-rc.1/downloads","authors":"/api/v1/crates/curve25519-dalek/4.0.0-rc.1/authors"},"crate_size":520830,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2023-02-02T22:37:05.939749Z"}],"checksum":"8d4ba9852b42210c7538b75484f9daa0655e9a3ac04f693747bb0f02cf3cfe16","rust_version":"1.60.0","has_lib":true,"bin_names":[],"edition":"2021","description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":24896,"comment_lines":1554,"files":47}},"total_code_lines":24902,"total_comment_lines":1556}},{"id":713895,"crate":"curve25519-dalek","num":"4.0.0-rc.0","dl_path":"/api/v1/crates/curve25519-dalek/4.0.0-rc.0/download","readme_path":"/api/v1/crates/curve25519-dalek/4.0.0-rc.0/readme","updated_at":"2023-01-28T23:12:08.902428Z","created_at":"2023-01-28T23:12:08.902428Z","downloads":341819,"features":{"alloc":["zeroize?/alloc"],"default":["alloc","precomputed-tables","zeroize"],"precomputed-tables":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/4.0.0-rc.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/4.0.0-rc.0/downloads","authors":"/api/v1/crates/curve25519-dalek/4.0.0-rc.0/authors"},"crate_size":520810,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2023-01-28T23:12:08.902428Z"}],"checksum":"8da00a7a9a4eb92a0a0f8e75660926d48f0d0f3c537e455c457bcdaa1e16b1ac","rust_version":"1.60.0","has_lib":true,"bin_names":[],"edition":"2021","description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":24893,"comment_lines":1554,"files":47}},"total_code_lines":24899,"total_comment_lines":1556}},{"id":682768,"crate":"curve25519-dalek","num":"4.0.0-pre.5","dl_path":"/api/v1/crates/curve25519-dalek/4.0.0-pre.5/download","readme_path":"/api/v1/crates/curve25519-dalek/4.0.0-pre.5/readme","updated_at":"2022-12-14T06:32:55.123239Z","created_at":"2022-12-14T06:32:55.123239Z","downloads":264783,"features":{"alloc":["zeroize/alloc"],"default":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/4.0.0-pre.5/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/4.0.0-pre.5/downloads","authors":"/api/v1/crates/curve25519-dalek/4.0.0-pre.5/authors"},"crate_size":519775,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2022-12-14T06:32:55.123239Z"}],"checksum":"67bc65846be335cb20f4e52d49a437b773a2c1fdb42b19fc84e79e6f6771536f","rust_version":"1.56.1","has_lib":true,"bin_names":[],"edition":"2021","description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":24614,"comment_lines":1543,"files":47}},"total_code_lines":24620,"total_comment_lines":1545}},{"id":682562,"crate":"curve25519-dalek","num":"4.0.0-pre.4","dl_path":"/api/v1/crates/curve25519-dalek/4.0.0-pre.4/download","readme_path":"/api/v1/crates/curve25519-dalek/4.0.0-pre.4/readme","updated_at":"2022-12-13T22:34:04.452525Z","created_at":"2022-12-13T22:34:04.452525Z","downloads":4481,"features":{"alloc":["zeroize/alloc"],"default":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/4.0.0-pre.4/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/4.0.0-pre.4/downloads","authors":"/api/v1/crates/curve25519-dalek/4.0.0-pre.4/authors"},"crate_size":519774,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2022-12-13T22:34:04.452525Z"}],"checksum":"27e1a3bc1bae71e356ab993bd3c5f5886f3a51821ec9f4ae54f78e9994594ce8","rust_version":"1.56.1","has_lib":true,"bin_names":[],"edition":"2021","description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":24614,"comment_lines":1543,"files":47}},"total_code_lines":24620,"total_comment_lines":1545}},{"id":682255,"crate":"curve25519-dalek","num":"4.0.0-pre.3","dl_path":"/api/v1/crates/curve25519-dalek/4.0.0-pre.3/download","readme_path":"/api/v1/crates/curve25519-dalek/4.0.0-pre.3/readme","updated_at":"2022-12-13T13:37:53.929044Z","created_at":"2022-12-13T13:37:53.929044Z","downloads":8470,"features":{"alloc":["zeroize/alloc"],"default":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/4.0.0-pre.3/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/4.0.0-pre.3/downloads","authors":"/api/v1/crates/curve25519-dalek/4.0.0-pre.3/authors"},"crate_size":519746,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2022-12-13T13:37:53.929044Z"}],"checksum":"1a27a3e18f01e2f43cbd254758a5624f8c46763ff8071b2601b06b1f6c82a143","rust_version":"1.56.1","has_lib":true,"bin_names":[],"edition":"2021","description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":24613,"comment_lines":1543,"files":47}},"total_code_lines":24619,"total_comment_lines":1545}},{"id":501130,"crate":"curve25519-dalek","num":"4.0.0-pre.2","dl_path":"/api/v1/crates/curve25519-dalek/4.0.0-pre.2/download","readme_path":"/api/v1/crates/curve25519-dalek/4.0.0-pre.2/readme","updated_at":"2022-02-16T22:23:19.944352Z","created_at":"2022-02-16T22:23:19.944352Z","downloads":463107,"features":{"alloc":["zeroize/alloc"],"avx2_backend":["simd_backend"],"default":["std","u64_backend"],"fiat_u32_backend":["fiat-crypto"],"fiat_u64_backend":["fiat-crypto"],"nightly":["subtle/nightly"],"simd_backend":["nightly","u64_backend","packed_simd"],"std":["alloc","subtle/std","rand_core/std"],"u32_backend":[],"u64_backend":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/4.0.0-pre.2/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/4.0.0-pre.2/downloads","authors":"/api/v1/crates/curve25519-dalek/4.0.0-pre.2/authors"},"crate_size":517969,"published_by":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"audit_actions":[{"action":"publish","user":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"time":"2022-02-16T22:23:19.944352Z"}],"checksum":"12dc3116fe595d7847c701796ac1b189bd86b81f4f593c6f775f9d80fb2e29f4","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":26177,"comment_lines":1528,"files":47}},"total_code_lines":26184,"total_comment_lines":1528}},{"id":501126,"crate":"curve25519-dalek","num":"3.2.1","dl_path":"/api/v1/crates/curve25519-dalek/3.2.1/download","readme_path":"/api/v1/crates/curve25519-dalek/3.2.1/readme","updated_at":"2022-02-16T22:14:37.248011Z","created_at":"2022-02-16T22:14:37.248011Z","downloads":11878165,"features":{"alloc":["zeroize/alloc"],"avx2_backend":["simd_backend"],"default":["std","u64_backend"],"fiat_u32_backend":["fiat-crypto"],"fiat_u64_backend":["fiat-crypto"],"nightly":["subtle/nightly"],"simd_backend":["nightly","u64_backend","packed_simd"],"std":["alloc","subtle/std","rand_core/std"],"u32_backend":[],"u64_backend":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/3.2.1/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/3.2.1/downloads","authors":"/api/v1/crates/curve25519-dalek/3.2.1/authors"},"crate_size":518091,"published_by":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"audit_actions":[{"action":"publish","user":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"time":"2022-02-16T22:14:37.248011Z"}],"checksum":"90f9d052967f590a76e62eb387bd0bbb1b000182c3cefe5364db6b7211651bc0","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":26214,"comment_lines":1531,"files":47}},"total_code_lines":26221,"total_comment_lines":1531}},{"id":501119,"crate":"curve25519-dalek","num":"3.1.3","dl_path":"/api/v1/crates/curve25519-dalek/3.1.3/download","readme_path":"/api/v1/crates/curve25519-dalek/3.1.3/readme","updated_at":"2022-02-16T22:11:24.749243Z","created_at":"2022-02-16T22:11:24.749243Z","downloads":2839,"features":{"alloc":["zeroize/alloc"],"avx2_backend":["simd_backend"],"default":["std","u64_backend"],"fiat_u32_backend":["fiat-crypto"],"fiat_u64_backend":["fiat-crypto"],"nightly":["subtle/nightly"],"simd_backend":["nightly","u64_backend","packed_simd"],"std":["alloc","subtle/std","rand_core/std"],"u32_backend":[],"u64_backend":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/3.1.3/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/3.1.3/downloads","authors":"/api/v1/crates/curve25519-dalek/3.1.3/authors"},"crate_size":518084,"published_by":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"audit_actions":[{"action":"publish","user":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"time":"2022-02-16T22:11:24.749243Z"}],"checksum":"6315c566d1d6abf1814b0fb2b1af981329b6ab132c94395e05361c248169e9bc","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":26214,"comment_lines":1531,"files":47}},"total_code_lines":26221,"total_comment_lines":1531}},{"id":414012,"crate":"curve25519-dalek","num":"4.0.0-pre.1","dl_path":"/api/v1/crates/curve25519-dalek/4.0.0-pre.1/download","readme_path":"/api/v1/crates/curve25519-dalek/4.0.0-pre.1/readme","updated_at":"2021-08-17T00:44:47.585194Z","created_at":"2021-08-17T00:44:47.585194Z","downloads":1162384,"features":{"alloc":["zeroize/alloc"],"avx2_backend":["simd_backend"],"default":["std","u64_backend"],"fiat_u32_backend":["fiat-crypto"],"fiat_u64_backend":["fiat-crypto"],"nightly":["subtle/nightly"],"simd_backend":["nightly","u64_backend","packed_simd"],"std":["alloc","subtle/std","rand_core/std"],"u32_backend":[],"u64_backend":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/4.0.0-pre.1/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/4.0.0-pre.1/downloads","authors":"/api/v1/crates/curve25519-dalek/4.0.0-pre.1/authors"},"crate_size":517907,"published_by":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"audit_actions":[{"action":"publish","user":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"time":"2021-08-17T00:44:47.585194Z"}],"checksum":"4033478fbf70d6acf2655ac70da91ee65852d69daf7a67bf7a2f518fb47aafcf","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":26177,"comment_lines":1528,"files":47}},"total_code_lines":26184,"total_comment_lines":1528}},{"id":408715,"crate":"curve25519-dalek","num":"3.2.0","dl_path":"/api/v1/crates/curve25519-dalek/3.2.0/download","readme_path":"/api/v1/crates/curve25519-dalek/3.2.0/readme","updated_at":"2021-08-04T00:45:39.943612Z","created_at":"2021-08-04T00:45:39.943612Z","downloads":30424960,"features":{"alloc":["zeroize/alloc"],"avx2_backend":["simd_backend"],"default":["std","u64_backend"],"fiat_u32_backend":["fiat-crypto"],"fiat_u64_backend":["fiat-crypto"],"nightly":["subtle/nightly"],"simd_backend":["nightly","u64_backend","packed_simd"],"std":["alloc","subtle/std","rand_core/std"],"u32_backend":[],"u64_backend":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/3.2.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/3.2.0/downloads","authors":"/api/v1/crates/curve25519-dalek/3.2.0/authors"},"crate_size":517530,"published_by":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"audit_actions":[{"action":"publish","user":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"time":"2021-08-04T00:45:39.943612Z"}],"checksum":"0b9fdf9972b2bd6af2d913799d9ebc165ea4d2e65878e329d9c6b372c4491b61","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":26214,"comment_lines":1531,"files":47}},"total_code_lines":26221,"total_comment_lines":1531}},{"id":408703,"crate":"curve25519-dalek","num":"3.1.2","dl_path":"/api/v1/crates/curve25519-dalek/3.1.2/download","readme_path":"/api/v1/crates/curve25519-dalek/3.1.2/readme","updated_at":"2021-08-04T00:21:58.150406Z","created_at":"2021-08-04T00:21:58.150406Z","downloads":2413,"features":{"alloc":["zeroize/alloc"],"avx2_backend":["simd_backend"],"default":["std","u64_backend"],"fiat_u32_backend":["fiat-crypto"],"fiat_u64_backend":["fiat-crypto"],"nightly":["subtle/nightly"],"simd_backend":["nightly","u64_backend","packed_simd"],"std":["alloc","subtle/std","rand_core/std"],"u32_backend":[],"u64_backend":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/3.1.2/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/3.1.2/downloads","authors":"/api/v1/crates/curve25519-dalek/3.1.2/authors"},"crate_size":517226,"published_by":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"audit_actions":[{"action":"publish","user":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"time":"2021-08-04T00:21:58.150406Z"}],"checksum":"51aa0a87b4f777cacf988ec3207aea763ff30faffe5f7868e4cae63bffd93f9a","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":26199,"comment_lines":1531,"files":47}},"total_code_lines":26206,"total_comment_lines":1531}},{"id":408678,"crate":"curve25519-dalek","num":"3.1.1","dl_path":"/api/v1/crates/curve25519-dalek/3.1.1/download","readme_path":"/api/v1/crates/curve25519-dalek/3.1.1/readme","updated_at":"2021-08-03T22:55:17.758046Z","created_at":"2021-08-03T22:55:17.758046Z","downloads":2536,"features":{"alloc":["zeroize/alloc"],"avx2_backend":["simd_backend"],"default":["std","u64_backend"],"fiat_u32_backend":["fiat-crypto"],"fiat_u64_backend":["fiat-crypto"],"nightly":["subtle/nightly"],"simd_backend":["nightly","u64_backend","packed_simd"],"std":["alloc","subtle/std","rand_core/std"],"u32_backend":[],"u64_backend":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/3.1.1/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/3.1.1/downloads","authors":"/api/v1/crates/curve25519-dalek/3.1.1/authors"},"crate_size":515367,"published_by":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"audit_actions":[{"action":"publish","user":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"time":"2021-08-03T22:55:17.758046Z"}],"checksum":"0bb43efa51c8fab55aa1da72bbb4a5d50e5ffdee8cd2685fd7054fc8e5bbf55e","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":26102,"comment_lines":1523,"files":47}},"total_code_lines":26109,"total_comment_lines":1523}},{"id":403164,"crate":"curve25519-dalek","num":"3.0.3","dl_path":"/api/v1/crates/curve25519-dalek/3.0.3/download","readme_path":"/api/v1/crates/curve25519-dalek/3.0.3/readme","updated_at":"2021-07-20T02:50:48.753395Z","created_at":"2021-07-20T02:50:48.753395Z","downloads":14606,"features":{"alloc":["zeroize/alloc"],"avx2_backend":["simd_backend"],"default":["std","u64_backend"],"nightly":["subtle/nightly"],"simd_backend":["nightly","u64_backend","packed_simd"],"std":["alloc","subtle/std","rand_core/std"],"u32_backend":[],"u64_backend":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/3.0.3/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/3.0.3/downloads","authors":"/api/v1/crates/curve25519-dalek/3.0.3/authors"},"crate_size":507527,"published_by":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"audit_actions":[{"action":"publish","user":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"time":"2021-07-20T02:50:48.753395Z"}],"checksum":"20908a77bbdf8ec931049ac8a96258523f0935cc448942c9e8e944cab81b56b6","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":25521,"comment_lines":1429,"files":43}},"total_code_lines":25528,"total_comment_lines":1429}},{"id":400593,"crate":"curve25519-dalek","num":"2.1.3","dl_path":"/api/v1/crates/curve25519-dalek/2.1.3/download","readme_path":"/api/v1/crates/curve25519-dalek/2.1.3/readme","updated_at":"2021-07-13T06:09:04.874300Z","created_at":"2021-07-13T06:09:04.874300Z","downloads":4710264,"features":{"alloc":["zeroize/alloc"],"avx2_backend":["simd_backend"],"default":["std","u64_backend"],"nightly":["subtle/nightly"],"simd_backend":["nightly","u64_backend","packed_simd"],"std":["alloc","subtle/std","rand_core/std"],"u32_backend":[],"u64_backend":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/2.1.3/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/2.1.3/downloads","authors":"/api/v1/crates/curve25519-dalek/2.1.3/authors"},"crate_size":507331,"published_by":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"audit_actions":[{"action":"publish","user":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"time":"2021-07-13T06:09:04.874300Z"}],"checksum":"4a9b85542f99a2dfa2a1b8e192662741c9859a846b296bef1c92ef9b58b5a216","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":25521,"comment_lines":1429,"files":43}},"total_code_lines":25528,"total_comment_lines":1429}},{"id":365558,"crate":"curve25519-dalek","num":"4.0.0-pre.0","dl_path":"/api/v1/crates/curve25519-dalek/4.0.0-pre.0/download","readme_path":"/api/v1/crates/curve25519-dalek/4.0.0-pre.0/readme","updated_at":"2021-04-14T03:01:15.192904Z","created_at":"2021-04-14T03:01:15.192904Z","downloads":4332,"features":{"alloc":["zeroize/alloc"],"avx2_backend":["simd_backend"],"default":["std","u64_backend"],"fiat_u32_backend":["fiat-crypto"],"fiat_u64_backend":["fiat-crypto"],"nightly":["subtle/nightly"],"simd_backend":["nightly","u64_backend","packed_simd"],"std":["alloc","subtle/std","rand_core/std"],"u32_backend":[],"u64_backend":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/4.0.0-pre.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/4.0.0-pre.0/downloads","authors":"/api/v1/crates/curve25519-dalek/4.0.0-pre.0/authors"},"crate_size":511225,"published_by":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"audit_actions":[{"action":"publish","user":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"time":"2021-04-14T03:01:15.192904Z"}],"checksum":"78f72b0f5a8f0cc80b7e4b6d98efe1adc0b7b151a618ecd7cd4d18e6d776e31a","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":26067,"comment_lines":1523,"files":47}},"total_code_lines":26074,"total_comment_lines":1523}},{"id":365415,"crate":"curve25519-dalek","num":"3.1.0","dl_path":"/api/v1/crates/curve25519-dalek/3.1.0/download","readme_path":"/api/v1/crates/curve25519-dalek/3.1.0/readme","updated_at":"2021-04-14T02:08:54.940779Z","created_at":"2021-04-14T02:08:54.940779Z","downloads":1340930,"features":{"alloc":["zeroize/alloc"],"avx2_backend":["simd_backend"],"default":["std","u64_backend"],"fiat_u32_backend":["fiat-crypto"],"fiat_u64_backend":["fiat-crypto"],"nightly":["subtle/nightly"],"simd_backend":["nightly","u64_backend","packed_simd"],"std":["alloc","subtle/std","rand_core/std"],"u32_backend":[],"u64_backend":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/3.1.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/3.1.0/downloads","authors":"/api/v1/crates/curve25519-dalek/3.1.0/authors"},"crate_size":511442,"published_by":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"audit_actions":[{"action":"publish","user":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"time":"2021-04-14T02:08:54.940779Z"}],"checksum":"639891fde0dbea823fc3d798a0fdf9d2f9440a42d64a78ab3488b0ca025117b3","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":26104,"comment_lines":1526,"files":47}},"total_code_lines":26111,"total_comment_lines":1526}},{"id":324467,"crate":"curve25519-dalek","num":"3.0.2","dl_path":"/api/v1/crates/curve25519-dalek/3.0.2/download","readme_path":"/api/v1/crates/curve25519-dalek/3.0.2/readme","updated_at":"2021-01-08T03:42:32.101422Z","created_at":"2021-01-08T03:42:32.101422Z","downloads":1880400,"features":{"alloc":["zeroize/alloc"],"avx2_backend":["simd_backend"],"default":["std","u64_backend"],"nightly":["subtle/nightly"],"simd_backend":["nightly","u64_backend","packed_simd"],"std":["alloc","subtle/std","rand_core/std"],"u32_backend":[],"u64_backend":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/3.0.2/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/3.0.2/downloads","authors":"/api/v1/crates/curve25519-dalek/3.0.2/authors"},"crate_size":503545,"published_by":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"audit_actions":[{"action":"publish","user":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"time":"2021-01-08T03:42:32.101422Z"}],"checksum":"f627126b946c25a4638eec0ea634fc52506dea98db118aae985118ce7c3d723f","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":25523,"comment_lines":1432,"files":43}},"total_code_lines":25530,"total_comment_lines":1432}},{"id":324464,"crate":"curve25519-dalek","num":"2.1.2","dl_path":"/api/v1/crates/curve25519-dalek/2.1.2/download","readme_path":"/api/v1/crates/curve25519-dalek/2.1.2/readme","updated_at":"2021-01-08T03:29:58.086454Z","created_at":"2021-01-08T03:29:58.086454Z","downloads":975663,"features":{"alloc":["zeroize/alloc"],"avx2_backend":["simd_backend"],"default":["std","u64_backend"],"nightly":["subtle/nightly"],"simd_backend":["nightly","u64_backend","packed_simd"],"std":["alloc","subtle/std","rand_core/std"],"u32_backend":[],"u64_backend":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/2.1.2/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/2.1.2/downloads","authors":"/api/v1/crates/curve25519-dalek/2.1.2/authors"},"crate_size":503351,"published_by":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"audit_actions":[{"action":"publish","user":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"time":"2021-01-08T03:29:58.086454Z"}],"checksum":"434e1720189a637d44fe464f4df1e6eb900b4835255b14354497c78af37d9bb8","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":25523,"comment_lines":1432,"files":43}},"total_code_lines":25530,"total_comment_lines":1432}},{"id":324462,"crate":"curve25519-dalek","num":"1.2.6","dl_path":"/api/v1/crates/curve25519-dalek/1.2.6/download","readme_path":"/api/v1/crates/curve25519-dalek/1.2.6/readme","updated_at":"2021-01-08T03:27:25.932868Z","created_at":"2021-01-08T03:27:25.932868Z","downloads":328602,"features":{"alloc":[],"avx2_backend":["simd_backend"],"default":["std","u64_backend"],"nightly":["subtle/nightly","clear_on_drop/nightly"],"simd_backend":["nightly","u64_backend","packed_simd"],"stage2_build":[],"std":["alloc","subtle/std","rand_core/std"],"u32_backend":[],"u64_backend":[],"yolocrypto":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/1.2.6/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/1.2.6/downloads","authors":"/api/v1/crates/curve25519-dalek/1.2.6/authors"},"crate_size":402549,"published_by":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"audit_actions":[{"action":"publish","user":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"time":"2021-01-08T03:27:25.932868Z"}],"checksum":"57c0d59fed08e452f286b251f88b2fc64a01f50a7b263aa09557ad7285d9e7fa","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":13356,"comment_lines":1459,"files":44}},"total_code_lines":13363,"total_comment_lines":1459}},{"id":324308,"crate":"curve25519-dalek","num":"1.2.5","dl_path":"/api/v1/crates/curve25519-dalek/1.2.5/download","readme_path":"/api/v1/crates/curve25519-dalek/1.2.5/readme","updated_at":"2021-01-07T23:03:24.781283Z","created_at":"2021-01-07T23:03:24.781283Z","downloads":2373,"features":{"alloc":[],"avx2_backend":["simd_backend"],"default":["std","u64_backend"],"nightly":["subtle/nightly","clear_on_drop/nightly"],"simd_backend":["nightly","u64_backend","packed_simd"],"stage2_build":[],"std":["alloc","subtle/std","rand_core/std"],"u32_backend":[],"u64_backend":[],"yolocrypto":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/1.2.5/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/1.2.5/downloads","authors":"/api/v1/crates/curve25519-dalek/1.2.5/authors"},"crate_size":402373,"published_by":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"audit_actions":[{"action":"publish","user":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"time":"2021-01-07T23:03:24.781283Z"}],"checksum":"c9344eebf421940f26622fdcd3c8bce5e56b50fbdca06ffef2b978610a078be2","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":13342,"comment_lines":1459,"files":44}},"total_code_lines":13349,"total_comment_lines":1459}},{"id":324297,"crate":"curve25519-dalek","num":"2.1.1","dl_path":"/api/v1/crates/curve25519-dalek/2.1.1/download","readme_path":"/api/v1/crates/curve25519-dalek/2.1.1/readme","updated_at":"2021-01-07T22:25:50.732395Z","created_at":"2021-01-07T22:25:50.732395Z","downloads":2498,"features":{"alloc":["zeroize/alloc"],"avx2_backend":["simd_backend"],"default":["std","u64_backend"],"nightly":["subtle/nightly"],"simd_backend":["nightly","u64_backend","packed_simd"],"std":["alloc","subtle/std","rand_core/std"],"u32_backend":[],"u64_backend":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/2.1.1/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/2.1.1/downloads","authors":"/api/v1/crates/curve25519-dalek/2.1.1/authors"},"crate_size":503170,"published_by":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"audit_actions":[{"action":"publish","user":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"time":"2021-01-07T22:25:50.732395Z"}],"checksum":"7c71c6ec9c93dbbffbc3b89e6e68b0f56030ff1db7b06dbc45d56ea942d13e02","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":25509,"comment_lines":1432,"files":43}},"total_code_lines":25516,"total_comment_lines":1432}},{"id":324294,"crate":"curve25519-dalek","num":"3.0.1","dl_path":"/api/v1/crates/curve25519-dalek/3.0.1/download","readme_path":"/api/v1/crates/curve25519-dalek/3.0.1/readme","updated_at":"2021-01-07T22:08:11.511857Z","created_at":"2021-01-07T22:08:11.511857Z","downloads":2587,"features":{"alloc":["zeroize/alloc"],"avx2_backend":["simd_backend"],"default":["std","u64_backend"],"nightly":["subtle/nightly"],"simd_backend":["nightly","u64_backend","packed_simd"],"std":["alloc","subtle/std","rand_core/std"],"u32_backend":[],"u64_backend":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/3.0.1/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/3.0.1/downloads","authors":"/api/v1/crates/curve25519-dalek/3.0.1/authors"},"crate_size":503387,"published_by":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"audit_actions":[{"action":"publish","user":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"time":"2021-01-07T22:08:11.511857Z"}],"checksum":"9775283e43f81a7cca65891ce282f3d5f1da10e6fe72eb0d604c57b181fab21e","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":25509,"comment_lines":1432,"files":43}},"total_code_lines":25516,"total_comment_lines":1432}},{"id":273703,"crate":"curve25519-dalek","num":"3.0.0","dl_path":"/api/v1/crates/curve25519-dalek/3.0.0/download","readme_path":"/api/v1/crates/curve25519-dalek/3.0.0/readme","updated_at":"2020-08-18T01:21:11.866597Z","created_at":"2020-08-18T01:21:11.866597Z","downloads":1125392,"features":{"alloc":["zeroize/alloc"],"avx2_backend":["simd_backend"],"default":["std","u64_backend"],"nightly":["subtle/nightly"],"simd_backend":["nightly","u64_backend","packed_simd"],"std":["alloc","subtle/std","rand_core/std"],"u32_backend":[],"u64_backend":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/3.0.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/3.0.0/downloads","authors":"/api/v1/crates/curve25519-dalek/3.0.0/authors"},"crate_size":506759,"published_by":{"id":5990,"login":"hdevalence","name":"Henry de Valence","avatar":"https://avatars.githubusercontent.com/u/44879?v=4","url":"https://github.com/hdevalence","github_username_matches":true,"created_at":"2009-01-07T16:48:56Z"},"audit_actions":[{"action":"publish","user":{"id":5990,"login":"hdevalence","name":"Henry de Valence","avatar":"https://avatars.githubusercontent.com/u/44879?v=4","url":"https://github.com/hdevalence","github_username_matches":true,"created_at":"2009-01-07T16:48:56Z"},"time":"2020-08-18T01:21:11.866597Z"}],"checksum":"c8492de420e9e60bc9a1d66e2dbb91825390b738a388606600663fc529b4b307","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":25509,"comment_lines":1432,"files":43}},"total_code_lines":25516,"total_comment_lines":1432}},{"id":258196,"crate":"curve25519-dalek","num":"1.2.4","dl_path":"/api/v1/crates/curve25519-dalek/1.2.4/download","readme_path":"/api/v1/crates/curve25519-dalek/1.2.4/readme","updated_at":"2020-07-02T00:34:10.277234Z","created_at":"2020-07-02T00:34:10.277234Z","downloads":109435,"features":{"alloc":[],"avx2_backend":["simd_backend"],"default":["std","u64_backend"],"nightly":["subtle/nightly","clear_on_drop/nightly"],"simd_backend":["nightly","u64_backend","packed_simd"],"stage2_build":[],"std":["alloc","subtle/std","rand_core/std"],"u32_backend":[],"u64_backend":[],"yolocrypto":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/1.2.4/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/1.2.4/downloads","authors":"/api/v1/crates/curve25519-dalek/1.2.4/authors"},"crate_size":403495,"published_by":{"id":5990,"login":"hdevalence","name":"Henry de Valence","avatar":"https://avatars.githubusercontent.com/u/44879?v=4","url":"https://github.com/hdevalence","github_username_matches":true,"created_at":"2009-01-07T16:48:56Z"},"audit_actions":[{"action":"publish","user":{"id":5990,"login":"hdevalence","name":"Henry de Valence","avatar":"https://avatars.githubusercontent.com/u/44879?v=4","url":"https://github.com/hdevalence","github_username_matches":true,"created_at":"2009-01-07T16:48:56Z"},"time":"2020-07-02T00:34:10.277234Z"}],"checksum":"405681bfe2b7b25ad8660dfd90b6e8be9e470e224ff49e36b587d43f29a22601","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":13342,"comment_lines":1459,"files":44}},"total_code_lines":13349,"total_comment_lines":1459}},{"id":246801,"crate":"curve25519-dalek","num":"2.1.0","dl_path":"/api/v1/crates/curve25519-dalek/2.1.0/download","readme_path":"/api/v1/crates/curve25519-dalek/2.1.0/readme","updated_at":"2020-05-29T19:40:07.814070Z","created_at":"2020-05-29T19:40:07.814070Z","downloads":950544,"features":{"alloc":["zeroize/alloc"],"avx2_backend":["simd_backend"],"default":["std","u64_backend"],"nightly":["subtle/nightly"],"simd_backend":["nightly","u64_backend","packed_simd"],"std":["alloc","subtle/std","rand_core/std"],"u32_backend":[],"u64_backend":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/2.1.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/2.1.0/downloads","authors":"/api/v1/crates/curve25519-dalek/2.1.0/authors"},"crate_size":506608,"published_by":{"id":5990,"login":"hdevalence","name":"Henry de Valence","avatar":"https://avatars.githubusercontent.com/u/44879?v=4","url":"https://github.com/hdevalence","github_username_matches":true,"created_at":"2009-01-07T16:48:56Z"},"audit_actions":[{"action":"publish","user":{"id":5990,"login":"hdevalence","name":"Henry de Valence","avatar":"https://avatars.githubusercontent.com/u/44879?v=4","url":"https://github.com/hdevalence","github_username_matches":true,"created_at":"2009-01-07T16:48:56Z"},"time":"2020-05-29T19:40:07.814070Z"}],"checksum":"5d85653f070353a16313d0046f173f70d1aadd5b42600a14de626f0dfb3473a5","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":25509,"comment_lines":1432,"files":43}},"total_code_lines":25516,"total_comment_lines":1432}},{"id":191629,"crate":"curve25519-dalek","num":"2.0.0","dl_path":"/api/v1/crates/curve25519-dalek/2.0.0/download","readme_path":"/api/v1/crates/curve25519-dalek/2.0.0/readme","updated_at":"2019-11-22T21:18:02.408362Z","created_at":"2019-11-22T21:18:02.408362Z","downloads":857173,"features":{"alloc":["zeroize/alloc"],"avx2_backend":["simd_backend"],"default":["std","u64_backend"],"nightly":["subtle/nightly"],"simd_backend":["nightly","u64_backend","packed_simd"],"std":["alloc","subtle/std","rand_core/std"],"u32_backend":[],"u64_backend":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/2.0.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/2.0.0/downloads","authors":"/api/v1/crates/curve25519-dalek/2.0.0/authors"},"crate_size":506535,"published_by":{"id":5990,"login":"hdevalence","name":"Henry de Valence","avatar":"https://avatars.githubusercontent.com/u/44879?v=4","url":"https://github.com/hdevalence","github_username_matches":true,"created_at":"2009-01-07T16:48:56Z"},"audit_actions":[],"checksum":"26778518a7f6cffa1d25a44b602b62b979bd88adb9e99ffec546998cf3404839","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":25508,"comment_lines":1432,"files":43}},"total_code_lines":25515,"total_comment_lines":1432}},{"id":190039,"crate":"curve25519-dalek","num":"2.0.0-alpha.2","dl_path":"/api/v1/crates/curve25519-dalek/2.0.0-alpha.2/download","readme_path":"/api/v1/crates/curve25519-dalek/2.0.0-alpha.2/readme","updated_at":"2019-11-15T23:01:50.184242Z","created_at":"2019-11-15T23:01:50.184242Z","downloads":2420,"features":{"alloc":["zeroize/alloc"],"avx2_backend":["simd_backend"],"default":["std","u64_backend"],"nightly":["subtle/nightly"],"simd_backend":["nightly","u64_backend","packed_simd"],"std":["alloc","subtle/std","rand_core/std"],"u32_backend":[],"u64_backend":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/2.0.0-alpha.2/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/2.0.0-alpha.2/downloads","authors":"/api/v1/crates/curve25519-dalek/2.0.0-alpha.2/authors"},"crate_size":506622,"published_by":{"id":5990,"login":"hdevalence","name":"Henry de Valence","avatar":"https://avatars.githubusercontent.com/u/44879?v=4","url":"https://github.com/hdevalence","github_username_matches":true,"created_at":"2009-01-07T16:48:56Z"},"audit_actions":[],"checksum":"9830407a36795449107070ea3191d821eaee439c309aa160e56b68aacc868c80","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":25508,"comment_lines":1432,"files":43}},"total_code_lines":25515,"total_comment_lines":1432}},{"id":185181,"crate":"curve25519-dalek","num":"2.0.0-alpha.1","dl_path":"/api/v1/crates/curve25519-dalek/2.0.0-alpha.1/download","readme_path":"/api/v1/crates/curve25519-dalek/2.0.0-alpha.1/readme","updated_at":"2019-11-15T23:03:31.424520Z","created_at":"2019-10-25T23:07:44.615702Z","downloads":2456,"features":{"alloc":["zeroize/alloc"],"avx2_backend":["simd_backend"],"default":["std","u64_backend"],"nightly":["subtle/nightly"],"simd_backend":["nightly","u64_backend","packed_simd"],"std":["alloc","subtle/std","rand_core/std"],"u32_backend":[],"u64_backend":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/2.0.0-alpha.1/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/2.0.0-alpha.1/downloads","authors":"/api/v1/crates/curve25519-dalek/2.0.0-alpha.1/authors"},"crate_size":506151,"published_by":{"id":5990,"login":"hdevalence","name":"Henry de Valence","avatar":"https://avatars.githubusercontent.com/u/44879?v=4","url":"https://github.com/hdevalence","github_username_matches":true,"created_at":"2009-01-07T16:48:56Z"},"audit_actions":[],"checksum":"48f68adf3c39e2561f816e7aee6fda50e47372ecceadac8cb856dbbc4026ed80","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":25483,"comment_lines":1434,"files":43}},"total_code_lines":25490,"total_comment_lines":1434}},{"id":184829,"crate":"curve25519-dalek","num":"2.0.0-alpha.0","dl_path":"/api/v1/crates/curve25519-dalek/2.0.0-alpha.0/download","readme_path":"/api/v1/crates/curve25519-dalek/2.0.0-alpha.0/readme","updated_at":"2019-10-25T23:17:34.456660Z","created_at":"2019-10-24T20:36:33.353439Z","downloads":2322,"features":{"alloc":["zeroize/alloc"],"avx2_backend":["simd_backend"],"default":["std","u64_backend"],"nightly":["subtle/nightly"],"simd_backend":["nightly","u64_backend","packed_simd"],"std":["alloc","subtle/std","rand_core/std"],"u32_backend":[],"u64_backend":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/2.0.0-alpha.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/2.0.0-alpha.0/downloads","authors":"/api/v1/crates/curve25519-dalek/2.0.0-alpha.0/authors"},"crate_size":506208,"published_by":{"id":5990,"login":"hdevalence","name":"Henry de Valence","avatar":"https://avatars.githubusercontent.com/u/44879?v=4","url":"https://github.com/hdevalence","github_username_matches":true,"created_at":"2009-01-07T16:48:56Z"},"audit_actions":[],"checksum":"4e65fb39cca60ec52c1a2f9d3ffce3117a6e17279b1b14e55c3558a4506c240b","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":25489,"comment_lines":1434,"files":43}},"total_code_lines":25496,"total_comment_lines":1434}},{"id":168004,"crate":"curve25519-dalek","num":"1.2.3","dl_path":"/api/v1/crates/curve25519-dalek/1.2.3/download","readme_path":"/api/v1/crates/curve25519-dalek/1.2.3/readme","updated_at":"2019-08-07T20:25:04.775018Z","created_at":"2019-08-07T20:25:04.775018Z","downloads":562080,"features":{"alloc":[],"avx2_backend":["simd_backend"],"default":["std","u64_backend"],"nightly":["subtle/nightly","clear_on_drop/nightly"],"simd_backend":["nightly","u64_backend","packed_simd"],"stage2_build":[],"std":["alloc","subtle/std","rand_core/std"],"u32_backend":[],"u64_backend":[],"yolocrypto":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/1.2.3/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/1.2.3/downloads","authors":"/api/v1/crates/curve25519-dalek/1.2.3/authors"},"crate_size":403651,"published_by":{"id":5990,"login":"hdevalence","name":"Henry de Valence","avatar":"https://avatars.githubusercontent.com/u/44879?v=4","url":"https://github.com/hdevalence","github_username_matches":true,"created_at":"2009-01-07T16:48:56Z"},"audit_actions":[],"checksum":"8b7dcd30ba50cdf88b55b033456138b7c0ac4afdc436d82e1b79f370f24cc66d","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":13342,"comment_lines":1459,"files":44}},"total_code_lines":13349,"total_comment_lines":1459}},{"id":166643,"crate":"curve25519-dalek","num":"1.2.2","dl_path":"/api/v1/crates/curve25519-dalek/1.2.2/download","readme_path":"/api/v1/crates/curve25519-dalek/1.2.2/readme","updated_at":"2019-07-31T22:26:09.551222Z","created_at":"2019-07-31T22:26:09.551222Z","downloads":29921,"features":{"alloc":[],"avx2_backend":["simd_backend"],"default":["std","u64_backend"],"nightly":["subtle/nightly","clear_on_drop/nightly"],"simd_backend":["nightly","u64_backend","packed_simd"],"stage2_build":[],"std":["alloc","subtle/std","rand_core/std"],"u32_backend":[],"u64_backend":[],"yolocrypto":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/1.2.2/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/1.2.2/downloads","authors":"/api/v1/crates/curve25519-dalek/1.2.2/authors"},"crate_size":402273,"published_by":{"id":5990,"login":"hdevalence","name":"Henry de Valence","avatar":"https://avatars.githubusercontent.com/u/44879?v=4","url":"https://github.com/hdevalence","github_username_matches":true,"created_at":"2009-01-07T16:48:56Z"},"audit_actions":[],"checksum":"019779982f8518304cfbabd515e77ad6372a9a28a57d22d39478164c5e2b32ee","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":13251,"comment_lines":1428,"files":44}},"total_code_lines":13258,"total_comment_lines":1428}},{"id":155015,"crate":"curve25519-dalek","num":"1.2.1","dl_path":"/api/v1/crates/curve25519-dalek/1.2.1/download","readme_path":"/api/v1/crates/curve25519-dalek/1.2.1/readme","updated_at":"2019-06-06T22:40:37.317411Z","created_at":"2019-06-06T22:40:37.317411Z","downloads":116029,"features":{"alloc":[],"avx2_backend":["simd_backend"],"default":["std","u64_backend"],"nightly":["subtle/nightly","clear_on_drop/nightly"],"simd_backend":["nightly","u64_backend","packed_simd"],"stage2_build":[],"std":["alloc","subtle/std","rand_core/std"],"u32_backend":[],"u64_backend":[],"yolocrypto":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/1.2.1/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/1.2.1/downloads","authors":"/api/v1/crates/curve25519-dalek/1.2.1/authors"},"crate_size":402159,"published_by":{"id":5990,"login":"hdevalence","name":"Henry de Valence","avatar":"https://avatars.githubusercontent.com/u/44879?v=4","url":"https://github.com/hdevalence","github_username_matches":true,"created_at":"2009-01-07T16:48:56Z"},"audit_actions":[],"checksum":"5d4b820e8711c211745880150f5fac78ab07d6e3851d8ce9f5a02cedc199174c","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":13251,"comment_lines":1428,"files":44}},"total_code_lines":13258,"total_comment_lines":1428}},{"id":154579,"crate":"curve25519-dalek","num":"1.2.0","dl_path":"/api/v1/crates/curve25519-dalek/1.2.0/download","readme_path":"/api/v1/crates/curve25519-dalek/1.2.0/readme","updated_at":"2019-06-06T04:13:20.020412Z","created_at":"2019-06-04T22:27:39.231200Z","downloads":3761,"features":{"alloc":[],"avx2_backend":["simd_backend"],"default":["std","u64_backend"],"nightly":["subtle/nightly","clear_on_drop/nightly"],"simd_backend":["nightly","u64_backend","packed_simd"],"stage2_build":[],"std":["alloc","subtle/std","rand_core/std"],"u32_backend":[],"u64_backend":[],"yolocrypto":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/1.2.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/1.2.0/downloads","authors":"/api/v1/crates/curve25519-dalek/1.2.0/authors"},"crate_size":401359,"published_by":{"id":5990,"login":"hdevalence","name":"Henry de Valence","avatar":"https://avatars.githubusercontent.com/u/44879?v=4","url":"https://github.com/hdevalence","github_username_matches":true,"created_at":"2009-01-07T16:48:56Z"},"audit_actions":[],"checksum":"4440b7acc6264fde2eee18bae135625129c88ff244f3ded035e3caa585a6bf0a","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":13183,"comment_lines":1413,"files":44}},"total_code_lines":13190,"total_comment_lines":1413}},{"id":148921,"crate":"curve25519-dalek","num":"1.1.4","dl_path":"/api/v1/crates/curve25519-dalek/1.1.4/download","readme_path":"/api/v1/crates/curve25519-dalek/1.1.4/readme","updated_at":"2019-07-19T21:49:42.416474Z","created_at":"2019-05-07T02:09:39.228268Z","downloads":29610,"features":{"alloc":[],"avx2_backend":["simd_backend"],"default":["std","u64_backend"],"nightly":["subtle/nightly","clear_on_drop/nightly"],"simd_backend":["nightly","u64_backend","packed_simd"],"stage2_build":[],"std":["alloc","subtle/std","rand_core/std"],"u32_backend":[],"u64_backend":[],"yolocrypto":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/1.1.4/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/1.1.4/downloads","authors":"/api/v1/crates/curve25519-dalek/1.1.4/authors"},"crate_size":395638,"published_by":{"id":5990,"login":"hdevalence","name":"Henry de Valence","avatar":"https://avatars.githubusercontent.com/u/44879?v=4","url":"https://github.com/hdevalence","github_username_matches":true,"created_at":"2009-01-07T16:48:56Z"},"audit_actions":[],"checksum":"750226d75fc2f5a8daec6e7477624e258674023eb73d8d647f63b943ca182a4a","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":12895,"comment_lines":1328,"files":42}},"total_code_lines":12902,"total_comment_lines":1328}},{"id":134032,"crate":"curve25519-dalek","num":"1.1.3","dl_path":"/api/v1/crates/curve25519-dalek/1.1.3/download","readme_path":"/api/v1/crates/curve25519-dalek/1.1.3/readme","updated_at":"2019-02-15T21:47:46.878816Z","created_at":"2019-02-15T21:47:46.878816Z","downloads":95417,"features":{"alloc":[],"avx2_backend":["simd_backend"],"default":["std","u64_backend"],"nightly":["subtle/nightly","clear_on_drop/nightly"],"simd_backend":["nightly","u64_backend","packed_simd"],"stage2_build":[],"std":["alloc","subtle/std","rand_core/std"],"u32_backend":[],"u64_backend":[],"yolocrypto":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/1.1.3/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/1.1.3/downloads","authors":"/api/v1/crates/curve25519-dalek/1.1.3/authors"},"crate_size":395648,"published_by":null,"audit_actions":[],"checksum":"e1f8a6fc0376eb52dc18af94915cc04dfdf8353746c0e8c550ae683a0815e5c1","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":12895,"comment_lines":1328,"files":42}},"total_code_lines":12902,"total_comment_lines":1328}},{"id":134021,"crate":"curve25519-dalek","num":"1.1.2","dl_path":"/api/v1/crates/curve25519-dalek/1.1.2/download","readme_path":"/api/v1/crates/curve25519-dalek/1.1.2/readme","updated_at":"2019-02-15T21:50:37.896860Z","created_at":"2019-02-15T19:33:48.577269Z","downloads":2453,"features":{"alloc":[],"avx2_backend":["simd_backend"],"default":["std","u64_backend"],"nightly":["subtle/nightly","clear_on_drop/nightly"],"simd_backend":["nightly","u64_backend","packed_simd"],"stage2_build":[],"std":["alloc","subtle/std","rand_core/std"],"u32_backend":[],"u64_backend":[],"yolocrypto":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/1.1.2/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/1.1.2/downloads","authors":"/api/v1/crates/curve25519-dalek/1.1.2/authors"},"crate_size":395587,"published_by":null,"audit_actions":[],"checksum":"8c5d3c9657f9fdf86485861a57c2f0b275b8db7ca0ae77ff2469b9b83f6076e8","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":12895,"comment_lines":1328,"files":42}},"total_code_lines":12902,"total_comment_lines":1328}},{"id":134018,"crate":"curve25519-dalek","num":"1.1.1","dl_path":"/api/v1/crates/curve25519-dalek/1.1.1/download","readme_path":"/api/v1/crates/curve25519-dalek/1.1.1/readme","updated_at":"2019-02-15T19:46:26.323787Z","created_at":"2019-02-15T19:20:57.651015Z","downloads":2351,"features":{"alloc":[],"avx2_backend":["simd_backend"],"default":["std","u64_backend"],"nightly":["subtle/nightly","clear_on_drop/nightly"],"simd_backend":["nightly","u64_backend","packed_simd"],"stage2_build":[],"std":["alloc","subtle/std","rand_core/std"],"u32_backend":[],"u64_backend":[],"yolocrypto":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/1.1.1/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/1.1.1/downloads","authors":"/api/v1/crates/curve25519-dalek/1.1.1/authors"},"crate_size":395472,"published_by":null,"audit_actions":[],"checksum":"8518d6fb296fb8562cd5a6849a780aa497b9b4d87aa9652e7d3b2ab70dcab31d","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":12895,"comment_lines":1328,"files":42}},"total_code_lines":12902,"total_comment_lines":1328}},{"id":134007,"crate":"curve25519-dalek","num":"1.1.0","dl_path":"/api/v1/crates/curve25519-dalek/1.1.0/download","readme_path":"/api/v1/crates/curve25519-dalek/1.1.0/readme","updated_at":"2019-02-15T19:46:17.761749Z","created_at":"2019-02-15T18:11:57.059088Z","downloads":2415,"features":{"alloc":[],"avx2_backend":["simd_backend"],"default":["std","u64_backend"],"nightly":["subtle/nightly","clear_on_drop/nightly"],"simd_backend":["nightly","u64_backend","packed_simd"],"stage2_build":[],"std":["alloc","subtle/std","rand_core/std"],"u32_backend":[],"u64_backend":[],"yolocrypto":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/1.1.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/1.1.0/downloads","authors":"/api/v1/crates/curve25519-dalek/1.1.0/authors"},"crate_size":395451,"published_by":null,"audit_actions":[],"checksum":"76e874943934cef48e1feea3742a00d5ce57a5ad4f9b2e25cb6bae45482b0da3","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on ristretto255 and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":12889,"comment_lines":1328,"files":42}},"total_code_lines":12896,"total_comment_lines":1328}},{"id":133849,"crate":"curve25519-dalek","num":"1.1.0-pre.0","dl_path":"/api/v1/crates/curve25519-dalek/1.1.0-pre.0/download","readme_path":"/api/v1/crates/curve25519-dalek/1.1.0-pre.0/readme","updated_at":"2019-02-15T18:14:32.911805Z","created_at":"2019-02-14T22:50:35.081565Z","downloads":2383,"features":{"alloc":[],"avx2_backend":["simd_backend"],"default":["std","u64_backend"],"nightly":["subtle/nightly","clear_on_drop/nightly"],"simd_backend":["nightly","u64_backend","packed_simd"],"stage2_build":[],"std":["alloc","subtle/std","rand_core/std"],"u32_backend":[],"u64_backend":[],"yolocrypto":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/1.1.0-pre.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/1.1.0-pre.0/downloads","authors":"/api/v1/crates/curve25519-dalek/1.1.0-pre.0/authors"},"crate_size":395118,"published_by":null,"audit_actions":[],"checksum":"8cd9082bff0043e095229d9a2c34175b29c46bb381304e085f0f91af3559a6ac","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on Ristretto and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":12889,"comment_lines":1328,"files":42}},"total_code_lines":12896,"total_comment_lines":1328}},{"id":130444,"crate":"curve25519-dalek","num":"1.0.3","dl_path":"/api/v1/crates/curve25519-dalek/1.0.3/download","readme_path":"/api/v1/crates/curve25519-dalek/1.0.3/readme","updated_at":"2019-01-28T07:18:19.001322Z","created_at":"2019-01-28T07:18:19.001322Z","downloads":29197,"features":{"alloc":[],"avx2_backend":["nightly","u64_backend","packed_simd"],"default":["std","u64_backend"],"nightly":["subtle/nightly","clear_on_drop/nightly"],"stage2_build":[],"std":["alloc","subtle/std","rand/std"],"u32_backend":[],"u64_backend":[],"yolocrypto":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/1.0.3/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/1.0.3/downloads","authors":"/api/v1/crates/curve25519-dalek/1.0.3/authors"},"crate_size":362075,"published_by":null,"audit_actions":[],"checksum":"dae47cc3529cdab597dbc8b606e565707209b506e55848f3c15679214a56c956","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on Ristretto and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":9536,"comment_lines":1183,"files":34}},"total_code_lines":9543,"total_comment_lines":1183}},{"id":128777,"crate":"curve25519-dalek","num":"1.0.2","dl_path":"/api/v1/crates/curve25519-dalek/1.0.2/download","readme_path":"/api/v1/crates/curve25519-dalek/1.0.2/readme","updated_at":"2019-07-19T21:50:04.631037Z","created_at":"2019-01-18T03:26:13.053763Z","downloads":5765,"features":{"alloc":[],"avx2_backend":["nightly","u64_backend","packed_simd"],"default":["std","u64_backend"],"nightly":["subtle/nightly","clear_on_drop/nightly"],"stage2_build":[],"std":["alloc","subtle/std","rand/std"],"u32_backend":[],"u64_backend":[],"yolocrypto":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/1.0.2/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/1.0.2/downloads","authors":"/api/v1/crates/curve25519-dalek/1.0.2/authors"},"crate_size":359571,"published_by":null,"audit_actions":[],"checksum":"8461b0d2aa8e8a6e374074e82f95b053f4f9f87206441ee6c4bb00ae94c47e78","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on Ristretto and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":9528,"comment_lines":1183,"files":34}},"total_code_lines":9535,"total_comment_lines":1183}},{"id":122328,"crate":"curve25519-dalek","num":"1.0.1","dl_path":"/api/v1/crates/curve25519-dalek/1.0.1/download","readme_path":"/api/v1/crates/curve25519-dalek/1.0.1/readme","updated_at":"2019-07-19T21:50:00.664053Z","created_at":"2018-12-13T23:44:48.252339Z","downloads":19681,"features":{"alloc":[],"avx2_backend":["nightly","u64_backend","packed_simd"],"default":["std","u64_backend"],"nightly":["subtle/nightly","clear_on_drop/nightly"],"stage2_build":[],"std":["alloc","subtle/std","rand/std"],"u32_backend":[],"u64_backend":[],"yolocrypto":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/1.0.1/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/1.0.1/downloads","authors":"/api/v1/crates/curve25519-dalek/1.0.1/authors"},"crate_size":359601,"published_by":null,"audit_actions":[],"checksum":"78c944d9a3cb6cdbe1289fa187c747de2a552d3fb9d8f0007cf77bee20a61369","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on Ristretto and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":9528,"comment_lines":1183,"files":34}},"total_code_lines":9535,"total_comment_lines":1183}},{"id":122327,"crate":"curve25519-dalek","num":"1.0.0","dl_path":"/api/v1/crates/curve25519-dalek/1.0.0/download","readme_path":"/api/v1/crates/curve25519-dalek/1.0.0/readme","updated_at":"2018-12-14T00:19:47.541414Z","created_at":"2018-12-13T23:36:07.027909Z","downloads":2394,"features":{"alloc":[],"avx2_backend":["nightly","u64_backend","packed_simd"],"default":["std","u64_backend"],"nightly":["subtle/nightly","clear_on_drop/nightly"],"stage2_build":[],"std":["alloc","subtle/std","rand/std"],"u32_backend":[],"u64_backend":[],"yolocrypto":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/1.0.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/1.0.0/downloads","authors":"/api/v1/crates/curve25519-dalek/1.0.0/authors"},"crate_size":359609,"published_by":null,"audit_actions":[],"checksum":"8b9de099c410a4e2c575aab926ace99598309190c92fc4a1b8370b8e92cb0169","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on Ristretto and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":9528,"comment_lines":1183,"files":34}},"total_code_lines":9535,"total_comment_lines":1183}},{"id":118541,"crate":"curve25519-dalek","num":"1.0.0-pre.1","dl_path":"/api/v1/crates/curve25519-dalek/1.0.0-pre.1/download","readme_path":"/api/v1/crates/curve25519-dalek/1.0.0-pre.1/readme","updated_at":"2019-06-28T02:13:24.957294Z","created_at":"2018-11-18T18:45:30.489945Z","downloads":5988,"features":{"alloc":[],"avx2_backend":["nightly","u64_backend","packed_simd"],"default":["std","u64_backend"],"nightly":["subtle/nightly","clear_on_drop/nightly"],"stage2_build":[],"std":["alloc","subtle/std","rand/std"],"u32_backend":[],"u64_backend":[],"yolocrypto":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/1.0.0-pre.1/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/1.0.0-pre.1/downloads","authors":"/api/v1/crates/curve25519-dalek/1.0.0-pre.1/authors"},"crate_size":359608,"published_by":null,"audit_actions":[],"checksum":"692ddc2371febea60ce125bac83c4289547565bd94d0e0c870bbb86ff0eda768","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on Ristretto and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":9528,"comment_lines":1183,"files":34}},"total_code_lines":9535,"total_comment_lines":1183}},{"id":116398,"crate":"curve25519-dalek","num":"1.0.0-pre.0","dl_path":"/api/v1/crates/curve25519-dalek/1.0.0-pre.0/download","readme_path":"/api/v1/crates/curve25519-dalek/1.0.0-pre.0/readme","updated_at":"2019-01-18T02:26:22.329868Z","created_at":"2018-11-06T00:16:55.747829Z","downloads":3027,"features":{"alloc":[],"avx2_backend":["nightly","u64_backend","packed_simd"],"default":["std","u64_backend"],"nightly":["subtle/nightly","clear_on_drop/nightly"],"stage2_build":[],"std":["alloc","subtle/std","rand/std"],"u32_backend":[],"u64_backend":[],"yolocrypto":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/1.0.0-pre.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/1.0.0-pre.0/downloads","authors":"/api/v1/crates/curve25519-dalek/1.0.0-pre.0/authors"},"crate_size":359608,"published_by":null,"audit_actions":[],"checksum":"2106a0cf960fd42f8ce417cf1922789d209f1ef80d85cbdbaa91b87807cb416d","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on Ristretto and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":9523,"comment_lines":1183,"files":34}},"total_code_lines":9530,"total_comment_lines":1183}},{"id":109784,"crate":"curve25519-dalek","num":"0.21.0","dl_path":"/api/v1/crates/curve25519-dalek/0.21.0/download","readme_path":"/api/v1/crates/curve25519-dalek/0.21.0/readme","updated_at":"2019-06-28T02:13:04.860917Z","created_at":"2018-09-26T23:18:37.524199Z","downloads":6460,"features":{"alloc":[],"avx2_backend":["nightly","u64_backend","packed_simd"],"default":["std","u64_backend"],"nightly":["subtle/nightly","clear_on_drop/nightly"],"stage2_build":[],"std":["alloc","subtle/std","rand/std"],"u32_backend":[],"u64_backend":[],"yolocrypto":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.21.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.21.0/downloads","authors":"/api/v1/crates/curve25519-dalek/0.21.0/authors"},"crate_size":359310,"published_by":null,"audit_actions":[],"checksum":"ad5e45d66960751c90ef70686c16c5c9c83469a7052c0af84667d8bdb9b5e6bc","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on Ristretto and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":9395,"comment_lines":1195,"files":34}},"total_code_lines":9402,"total_comment_lines":1195}},{"id":109640,"crate":"curve25519-dalek","num":"0.20.0","dl_path":"/api/v1/crates/curve25519-dalek/0.20.0/download","readme_path":"/api/v1/crates/curve25519-dalek/0.20.0/readme","updated_at":"2019-06-28T02:12:48.714775Z","created_at":"2018-09-26T00:21:44.036892Z","downloads":42526,"features":{"alloc":[],"avx2_backend":["nightly","u64_backend","packed_simd"],"default":["std","u64_backend"],"nightly":["subtle/nightly","clear_on_drop/nightly"],"stage2_build":[],"std":["alloc","subtle/std","rand/std"],"u32_backend":[],"u64_backend":[],"yolocrypto":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.20.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.20.0/downloads","authors":"/api/v1/crates/curve25519-dalek/0.20.0/authors"},"crate_size":358846,"published_by":null,"audit_actions":[],"checksum":"3eacf6ff1b911e3170a8c400b402e10c86dc3cb166bd69034ebbc2b785fea4c2","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on Ristretto and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":9317,"comment_lines":1198,"files":34}},"total_code_lines":9324,"total_comment_lines":1198}},{"id":108633,"crate":"curve25519-dalek","num":"0.19.1","dl_path":"/api/v1/crates/curve25519-dalek/0.19.1/download","readme_path":"/api/v1/crates/curve25519-dalek/0.19.1/readme","updated_at":"2019-06-28T02:12:23.739219Z","created_at":"2018-09-17T19:35:24.320902Z","downloads":12731,"features":{"alloc":[],"avx2_backend":["nightly","u64_backend","packed_simd"],"default":["std","u64_backend"],"nightly":["subtle/nightly","clear_on_drop/nightly"],"stage2_build":[],"std":["alloc","subtle/std","rand/std"],"u32_backend":[],"u64_backend":[],"yolocrypto":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.19.1/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.19.1/downloads","authors":"/api/v1/crates/curve25519-dalek/0.19.1/authors"},"crate_size":358616,"published_by":null,"audit_actions":[],"checksum":"15d6d81c070d8090389f752510ce22c7d571100a78fa4e7c06e6f6d95585bb49","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on Ristretto and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":9317,"comment_lines":1194,"files":34}},"total_code_lines":9324,"total_comment_lines":1194}},{"id":101322,"crate":"curve25519-dalek","num":"0.19.0","dl_path":"/api/v1/crates/curve25519-dalek/0.19.0/download","readme_path":"/api/v1/crates/curve25519-dalek/0.19.0/readme","updated_at":"2019-01-18T02:27:55.042267Z","created_at":"2018-07-27T03:37:19.344548Z","downloads":6113,"features":{"alloc":[],"avx2_backend":["nightly","u64_backend","packed_simd"],"default":["std","u64_backend"],"nightly":["subtle/nightly","clear_on_drop/nightly"],"stage2_build":[],"std":["alloc","subtle/std","rand/std"],"u32_backend":[],"u64_backend":[],"yolocrypto":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.19.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.19.0/downloads","authors":"/api/v1/crates/curve25519-dalek/0.19.0/authors"},"crate_size":358230,"published_by":null,"audit_actions":[],"checksum":"8fc999958669630eca818b3d1fe5ed748573e40d2d1800ddd0e67d1c71d63205","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on Ristretto and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":9317,"comment_lines":1194,"files":34}},"total_code_lines":9324,"total_comment_lines":1194}},{"id":97521,"crate":"curve25519-dalek","num":"0.18.0","dl_path":"/api/v1/crates/curve25519-dalek/0.18.0/download","readme_path":"/api/v1/crates/curve25519-dalek/0.18.0/readme","updated_at":"2018-12-14T00:38:08.538605Z","created_at":"2018-06-22T19:26:55.125444Z","downloads":12876,"features":{"alloc":[],"avx2_backend":["nightly","u64_backend"],"default":["std","u64_backend"],"nightly":["subtle/nightly","clear_on_drop/nightly"],"stage2_build":[],"std":["subtle/std","rand/std"],"u32_backend":[],"u64_backend":[],"yolocrypto":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.18.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.18.0/downloads","authors":"/api/v1/crates/curve25519-dalek/0.18.0/authors"},"crate_size":359966,"published_by":null,"audit_actions":[],"checksum":"afc33e9f0be02426541e5ba524eca9bcd244162775c2ea50eaa9ee7b91b2bb15","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on Ristretto and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":9172,"comment_lines":1209,"files":33}},"total_code_lines":9179,"total_comment_lines":1209}},{"id":92968,"crate":"curve25519-dalek","num":"0.17.0","dl_path":"/api/v1/crates/curve25519-dalek/0.17.0/download","readme_path":"/api/v1/crates/curve25519-dalek/0.17.0/readme","updated_at":"2018-12-14T00:38:01.023572Z","created_at":"2018-05-15T20:59:46.427936Z","downloads":11671,"features":{"alloc":[],"avx2_backend":["nightly","u64_backend"],"default":["std","u64_backend"],"nightly":["subtle/nightly","clear_on_drop/nightly"],"stage2_build":[],"std":["subtle/std","rand/std"],"u32_backend":[],"u64_backend":[],"yolocrypto":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.17.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.17.0/downloads","authors":"/api/v1/crates/curve25519-dalek/0.17.0/authors"},"crate_size":355514,"published_by":null,"audit_actions":[],"checksum":"e5808ccadbb61565fd184702be128ac43a6a33561bcd976a0d7a388b06ad696d","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on Ristretto and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":9163,"comment_lines":1085,"files":33}},"total_code_lines":9170,"total_comment_lines":1085}},{"id":92277,"crate":"curve25519-dalek","num":"0.16.4","dl_path":"/api/v1/crates/curve25519-dalek/0.16.4/download","readme_path":"/api/v1/crates/curve25519-dalek/0.16.4/readme","updated_at":"2018-12-14T00:37:54.812148Z","created_at":"2018-05-11T00:49:56.758214Z","downloads":8265,"features":{"alloc":[],"avx2_backend":["nightly"],"default":["std"],"nightly":["radix_51","subtle/nightly","clear_on_drop/nightly"],"precomputed_tables":[],"radix_51":[],"std":["rand","subtle/std"],"yolocrypto":["avx2_backend"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.16.4/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.16.4/downloads","authors":"/api/v1/crates/curve25519-dalek/0.16.4/authors"},"crate_size":354928,"published_by":null,"audit_actions":[],"checksum":"a1ec9e50e9954955bbfbd4b6c969fc574c50474c28df9992e46f9b0190947213","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on Ristretto and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":9137,"comment_lines":1126,"files":35}},"total_code_lines":9144,"total_comment_lines":1126}},{"id":88446,"crate":"curve25519-dalek","num":"0.16.3","dl_path":"/api/v1/crates/curve25519-dalek/0.16.3/download","readme_path":"/api/v1/crates/curve25519-dalek/0.16.3/readme","updated_at":"2018-12-14T00:37:51.170707Z","created_at":"2018-04-10T21:48:42.583854Z","downloads":3033,"features":{"alloc":[],"avx2_backend":["nightly"],"default":["std"],"nightly":["radix_51","subtle/nightly","clear_on_drop/nightly"],"precomputed_tables":[],"radix_51":[],"std":["rand","subtle/std"],"yolocrypto":["avx2_backend"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.16.3/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.16.3/downloads","authors":"/api/v1/crates/curve25519-dalek/0.16.3/authors"},"crate_size":353830,"published_by":null,"audit_actions":[],"checksum":"da98ea891e386ee56db41ea62c266ff6c0463eee12029ab6b128ccefe67285f7","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on Ristretto and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":9009,"comment_lines":1112,"files":35}},"total_code_lines":9016,"total_comment_lines":1112}},{"id":87899,"crate":"curve25519-dalek","num":"0.16.2","dl_path":"/api/v1/crates/curve25519-dalek/0.16.2/download","readme_path":"/api/v1/crates/curve25519-dalek/0.16.2/readme","updated_at":"2018-12-14T00:37:47.462831Z","created_at":"2018-04-06T22:13:27.414829Z","downloads":2468,"features":{"alloc":[],"avx2_backend":["nightly"],"default":["std"],"nightly":["radix_51","subtle/nightly","clear_on_drop/nightly"],"precomputed_tables":[],"radix_51":[],"std":["rand","subtle/std"],"yolocrypto":["avx2_backend"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.16.2/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.16.2/downloads","authors":"/api/v1/crates/curve25519-dalek/0.16.2/authors"},"crate_size":339254,"published_by":null,"audit_actions":[],"checksum":"0170017059ef32ad5328af1d807f5d802a223e67d215feb7d8870e6a268f367c","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on Ristretto and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":5643,"comment_lines":1103,"files":35}},"total_code_lines":5650,"total_comment_lines":1103}},{"id":87631,"crate":"curve25519-dalek","num":"0.16.1","dl_path":"/api/v1/crates/curve25519-dalek/0.16.1/download","readme_path":"/api/v1/crates/curve25519-dalek/0.16.1/readme","updated_at":"2018-12-14T00:37:43.785772Z","created_at":"2018-04-04T22:33:56.201011Z","downloads":2598,"features":{"alloc":[],"avx2_backend":["nightly"],"default":["std"],"nightly":["radix_51","subtle/nightly","clear_on_drop/nightly"],"precomputed_tables":[],"radix_51":[],"std":["rand","subtle/std"],"yolocrypto":["avx2_backend"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.16.1/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.16.1/downloads","authors":"/api/v1/crates/curve25519-dalek/0.16.1/authors"},"crate_size":336911,"published_by":null,"audit_actions":[],"checksum":"ce516783cc7e98ea4f1172a12c3f4c069695d6210aa6ae7cb60d16a6fe19a43c","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on Ristretto and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":5643,"comment_lines":1094,"files":35}},"total_code_lines":5650,"total_comment_lines":1094}},{"id":85928,"crate":"curve25519-dalek","num":"0.16.0","dl_path":"/api/v1/crates/curve25519-dalek/0.16.0/download","readme_path":"/api/v1/crates/curve25519-dalek/0.16.0/readme","updated_at":"2018-12-14T00:37:39.512305Z","created_at":"2018-03-22T19:36:50.184590Z","downloads":2811,"features":{"alloc":[],"avx2_backend":["nightly","stdsimd"],"bench":[],"default":["std"],"nightly":["radix_51","subtle/nightly","clear_on_drop/nightly"],"precomputed_tables":[],"radix_51":[],"std":["rand","subtle/std"],"yolocrypto":["avx2_backend"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.16.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.16.0/downloads","authors":"/api/v1/crates/curve25519-dalek/0.16.0/authors"},"crate_size":338972,"published_by":null,"audit_actions":[],"checksum":"8aabc5251ac418680a952561fcce656baae42d354f6e9cfc03ab2be91a6e24cd","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on Ristretto and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":6038,"comment_lines":1090,"files":25}},"total_code_lines":6045,"total_comment_lines":1090}},{"id":80064,"crate":"curve25519-dalek","num":"0.15.1","dl_path":"/api/v1/crates/curve25519-dalek/0.15.1/download","readme_path":"/api/v1/crates/curve25519-dalek/0.15.1/readme","updated_at":"2018-12-14T00:37:34.535957Z","created_at":"2018-02-06T19:20:30.699408Z","downloads":2864,"features":{"alloc":[],"avx2_backend":["nightly","stdsimd"],"bench":[],"default":["std"],"nightly":["radix_51","subtle/nightly","clear_on_drop/nightly"],"precomputed_tables":[],"radix_51":[],"std":["rand","subtle/std"],"yolocrypto":["avx2_backend"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.15.1/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.15.1/downloads","authors":"/api/v1/crates/curve25519-dalek/0.15.1/authors"},"crate_size":338622,"published_by":null,"audit_actions":[],"checksum":"9d8d56019a93a83dbe73f3657c2b5d295a87e0ed9262e788d75719b09ad75513","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on Ristretto and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":6037,"comment_lines":1082,"files":25}},"total_code_lines":6044,"total_comment_lines":1082}},{"id":80062,"crate":"curve25519-dalek","num":"0.15.0","dl_path":"/api/v1/crates/curve25519-dalek/0.15.0/download","readme_path":"/api/v1/crates/curve25519-dalek/0.15.0/readme","updated_at":"2018-12-14T00:37:23.174717Z","created_at":"2018-02-06T19:05:25.353522Z","downloads":2448,"features":{"alloc":[],"avx2_backend":["nightly","stdsimd"],"bench":[],"default":["std"],"nightly":["radix_51","subtle/nightly","clear_on_drop/nightly"],"precomputed_tables":[],"radix_51":[],"std":["rand","subtle/std"],"yolocrypto":["avx2_backend"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.15.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.15.0/downloads","authors":"/api/v1/crates/curve25519-dalek/0.15.0/authors"},"crate_size":338714,"published_by":null,"audit_actions":[],"checksum":"dc967da732ab9367396aa90453530065d852344931c26204f31cba3bb3156627","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A pure-Rust implementation of group operations on Ristretto and Curve25519","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":6037,"comment_lines":1082,"files":25}},"total_code_lines":6044,"total_comment_lines":1082}},{"id":78675,"crate":"curve25519-dalek","num":"0.14.4","dl_path":"/api/v1/crates/curve25519-dalek/0.14.4/download","readme_path":"/api/v1/crates/curve25519-dalek/0.14.4/readme","updated_at":"2018-12-14T00:37:18.373467Z","created_at":"2018-01-25T03:47:12.580403Z","downloads":4317,"features":{"alloc":[],"avx2_backend":["nightly","stdsimd"],"bench":[],"default":["std"],"nightly":["radix_51","subtle/nightly","clear_on_drop/nightly"],"precomputed_tables":[],"radix_51":[],"std":["rand","subtle/std"],"yolocrypto":["avx2_backend"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.14.4/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.14.4/downloads","authors":"/api/v1/crates/curve25519-dalek/0.14.4/authors"},"crate_size":236703,"published_by":null,"audit_actions":[],"checksum":"6734ff1a930d90b3ee54b7d6eba1b520f8724a1f353cf4f2b4b171a9ce63d814","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A low-level cryptographic library for point, group, field, and scalar operations on a curve isomorphic to the twisted Edwards curve defined by -x²+y² = 1 - 121665/121666 x²y² over GF(2²⁵⁵ - 19).","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":6091,"comment_lines":1131,"files":25}},"total_code_lines":6098,"total_comment_lines":1131}},{"id":78037,"crate":"curve25519-dalek","num":"0.14.3","dl_path":"/api/v1/crates/curve25519-dalek/0.14.3/download","readme_path":"/api/v1/crates/curve25519-dalek/0.14.3/readme","updated_at":"2018-12-14T00:37:12.582456Z","created_at":"2018-01-20T01:07:47.361577Z","downloads":2461,"features":{"alloc":[],"avx2_backend":["nightly","stdsimd"],"bench":[],"default":["std"],"nightly":["radix_51","subtle/nightly","clear_on_drop/nightly"],"precomputed_tables":[],"radix_51":[],"std":["rand","subtle/std"],"yolocrypto":["avx2_backend"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.14.3/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.14.3/downloads","authors":"/api/v1/crates/curve25519-dalek/0.14.3/authors"},"crate_size":231438,"published_by":null,"audit_actions":[],"checksum":"b78800d090358a391aa0dab2a5c64a3fa0fc22d0defe97d166b61cd013451b71","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A low-level cryptographic library for point, group, field, and scalar operations on a curve isomorphic to the twisted Edwards curve defined by -x²+y² = 1 - 121665/121666 x²y² over GF(2²⁵⁵ - 19).","homepage":"https://dalek.rs/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":5801,"comment_lines":1011,"files":24}},"total_code_lines":5808,"total_comment_lines":1011}},{"id":78015,"crate":"curve25519-dalek","num":"0.14.1","dl_path":"/api/v1/crates/curve25519-dalek/0.14.1/download","readme_path":"/api/v1/crates/curve25519-dalek/0.14.1/readme","updated_at":"2018-12-14T00:37:07.569641Z","created_at":"2018-01-19T22:11:41.555625Z","downloads":2375,"features":{"alloc":[],"bench":[],"default":["std"],"nightly":["radix_51","subtle/nightly","clear_on_drop/nightly"],"precomputed_tables":[],"radix_51":[],"std":["rand","subtle/std"],"yolocrypto":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.14.1/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.14.1/downloads","authors":"/api/v1/crates/curve25519-dalek/0.14.1/authors"},"crate_size":87542,"published_by":null,"audit_actions":[],"checksum":"b631ce55e9ca3f477ff5d693215ed79926208ed7db7a286d0c29426594070b95","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A low-level cryptographic library for point, group, field, and scalar operations on a curve isomorphic to the twisted Edwards curve defined by -x²+y² = 1 - 121665/121666 x²y² over GF(2²⁵⁵ - 19).","homepage":"https://code.ciph.re/isis/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/isislovecruft/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":4511,"comment_lines":821,"files":20}},"total_code_lines":4518,"total_comment_lines":821}},{"id":73232,"crate":"curve25519-dalek","num":"0.14.0","dl_path":"/api/v1/crates/curve25519-dalek/0.14.0/download","readme_path":"/api/v1/crates/curve25519-dalek/0.14.0/readme","updated_at":"2018-12-14T00:37:00.073141Z","created_at":"2017-12-04T02:10:35.620416Z","downloads":3130,"features":{"alloc":[],"bench":[],"default":["std"],"nightly":["radix_51","subtle/nightly"],"precomputed_tables":[],"radix_51":[],"std":["rand","subtle/std"],"yolocrypto":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.14.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.14.0/downloads","authors":"/api/v1/crates/curve25519-dalek/0.14.0/authors"},"crate_size":86810,"published_by":null,"audit_actions":[],"checksum":"530cc74115a5c3fd0b18c3c561f3d29238aa10e6024abf96824a5c106f4e0034","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A low-level cryptographic library for point, group, field, and scalar operations on a curve isomorphic to the twisted Edwards curve defined by -x²+y² = 1 - 121665/121666 x²y² over GF(2²⁵⁵ - 19).","homepage":"https://code.ciph.re/isis/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/isislovecruft/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":4457,"comment_lines":814,"files":19}},"total_code_lines":4464,"total_comment_lines":814}},{"id":71454,"crate":"curve25519-dalek","num":"0.13.2","dl_path":"/api/v1/crates/curve25519-dalek/0.13.2/download","readme_path":"/api/v1/crates/curve25519-dalek/0.13.2/readme","updated_at":"2018-12-14T00:36:56.550953Z","created_at":"2017-11-16T01:34:41.059149Z","downloads":2501,"features":{"alloc":[],"bench":[],"default":["std"],"nightly":["radix_51","subtle/nightly"],"radix_51":[],"std":["rand","subtle/std"],"yolocrypto":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.13.2/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.13.2/downloads","authors":"/api/v1/crates/curve25519-dalek/0.13.2/authors"},"crate_size":154368,"published_by":null,"audit_actions":[],"checksum":"f01c908596a6743435197023e2d5aaaf496e835a9c46f3ef72a0c516e1113598","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A low-level cryptographic library for point, group, field, and scalar operations on a curve isomorphic to the twisted Edwards curve defined by -x²+y² = 1 - 121665/121666 x²y² over GF(2²⁵⁵ - 19).","homepage":"https://code.ciph.re/isis/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/isislovecruft/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":7129,"comment_lines":640,"files":14}},"total_code_lines":7136,"total_comment_lines":640}},{"id":71447,"crate":"curve25519-dalek","num":"0.13.1","dl_path":"/api/v1/crates/curve25519-dalek/0.13.1/download","readme_path":"/api/v1/crates/curve25519-dalek/0.13.1/readme","updated_at":"2018-12-14T00:36:51.770306Z","created_at":"2017-11-16T01:02:07.950705Z","downloads":2378,"features":{"alloc":[],"bench":[],"default":["std"],"nightly":["radix_51","subtle/nightly"],"radix_51":[],"std":["rand","subtle/std"],"yolocrypto":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.13.1/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.13.1/downloads","authors":"/api/v1/crates/curve25519-dalek/0.13.1/authors"},"crate_size":154766,"published_by":null,"audit_actions":[],"checksum":"2dfcc374539a89d8a0994a442ee8cea905479b4c96c8c89cfb9d5816c41b6fd0","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A low-level cryptographic library for point, group, field, and scalar operations on a curve isomorphic to the twisted Edwards curve defined by -x²+y² = 1 - 121665/121666 x²y² over GF(2²⁵⁵ - 19).","homepage":"https://code.ciph.re/isis/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/isislovecruft/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":7129,"comment_lines":640,"files":14}},"total_code_lines":7136,"total_comment_lines":640}},{"id":71446,"crate":"curve25519-dalek","num":"0.13.0","dl_path":"/api/v1/crates/curve25519-dalek/0.13.0/download","readme_path":"/api/v1/crates/curve25519-dalek/0.13.0/readme","updated_at":"2018-12-14T00:58:55.556302Z","created_at":"2017-11-16T00:51:23.596800Z","downloads":2383,"features":{"alloc":[],"bench":[],"default":["std"],"nightly":["radix_51","subtle/nightly"],"radix_51":[],"std":["rand","subtle/std"],"yolocrypto":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.13.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.13.0/downloads","authors":"/api/v1/crates/curve25519-dalek/0.13.0/authors"},"crate_size":154838,"published_by":null,"audit_actions":[],"checksum":"1fc3fefc595616cd6b7b06ae9765b991f9419818053ad5fe0fc146ea0e2a864b","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A low-level cryptographic library for point, group, field, and scalar operations on a curve isomorphic to the twisted Edwards curve defined by -x²+y² = 1 - 121665/121666 x²y² over GF(2²⁵⁵ - 19).","homepage":"https://code.ciph.re/isis/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/isislovecruft/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":7,"comment_lines":0,"files":1},"Rust":{"code_lines":7129,"comment_lines":640,"files":14}},"total_code_lines":7136,"total_comment_lines":640}},{"id":68580,"crate":"curve25519-dalek","num":"0.12.1","dl_path":"/api/v1/crates/curve25519-dalek/0.12.1/download","readme_path":"/api/v1/crates/curve25519-dalek/0.12.1/readme","updated_at":"2018-12-14T00:36:45.746994Z","created_at":"2017-10-16T21:58:00.858573Z","downloads":3581,"features":{"alloc":[],"bench":[],"default":["std"],"nightly":["radix_51","subtle/nightly"],"radix_51":[],"std":["rand","subtle/std"],"yolocrypto":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.12.1/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.12.1/downloads","authors":"/api/v1/crates/curve25519-dalek/0.12.1/authors"},"crate_size":138744,"published_by":null,"audit_actions":[],"checksum":"4576702012648a8d7331c0ebb1a41a13723ef8d5bfc704a7ab4175a02e38906e","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A low-level cryptographic library for point, group, field, and scalar operations on a curve isomorphic to the twisted Edwards curve defined by -x²+y² = 1 - 121665/121666 x²y² over GF(2²⁵⁵ - 19).","homepage":"https://code.ciph.re/isis/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/isislovecruft/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":6534,"comment_lines":739,"files":12}},"total_code_lines":6534,"total_comment_lines":739}},{"id":67478,"crate":"curve25519-dalek","num":"0.12.0","dl_path":"/api/v1/crates/curve25519-dalek/0.12.0/download","readme_path":"/api/v1/crates/curve25519-dalek/0.12.0/readme","updated_at":"2018-12-14T00:36:41.213944Z","created_at":"2017-10-05T06:32:13.848097Z","downloads":2421,"features":{"alloc":[],"bench":[],"default":["std"],"nightly":["radix_51","subtle/nightly"],"radix_51":[],"std":["rand","subtle/std"],"yolocrypto":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.12.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.12.0/downloads","authors":"/api/v1/crates/curve25519-dalek/0.12.0/authors"},"crate_size":143810,"published_by":null,"audit_actions":[],"checksum":"d7880c2855a26ab67bb7598e6a3fbd5073bc243cca7e30ec71133b52d41d6d48","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A low-level cryptographic library for point, group, field, and scalar operations on a curve isomorphic to the twisted Edwards curve defined by -x²+y² = 1 - 121665/121666 x²y² over GF(2²⁵⁵ - 19).","homepage":"https://code.ciph.re/isis/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/isislovecruft/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":7112,"comment_lines":743,"files":14}},"total_code_lines":7112,"total_comment_lines":743}},{"id":62419,"crate":"curve25519-dalek","num":"0.11.0","dl_path":"/api/v1/crates/curve25519-dalek/0.11.0/download","readme_path":"/api/v1/crates/curve25519-dalek/0.11.0/readme","updated_at":"2018-12-14T00:36:37.493703Z","created_at":"2017-08-15T05:16:40.839124Z","downloads":3155,"features":{"alloc":[],"bench":[],"default":["std"],"nightly":["radix_51","subtle/nightly"],"radix_51":[],"std":["rand","subtle/std"],"yolocrypto":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.11.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.11.0/downloads","authors":"/api/v1/crates/curve25519-dalek/0.11.0/authors"},"crate_size":133547,"published_by":null,"audit_actions":[],"checksum":"59566da59b830460c4de0adefb05ab950cf83b1020a8c63ca74b0c5793561faf","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A low-level cryptographic library for point, group, field, and scalar operations on a curve isomorphic to the twisted Edwards curve defined by -x²+y² = 1 - 121665/121666 x²y² over GF(2²⁵⁵ - 19).","homepage":"https://code.ciph.re/isis/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/isislovecruft/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":6248,"comment_lines":726,"files":12}},"total_code_lines":6248,"total_comment_lines":726}},{"id":61245,"crate":"curve25519-dalek","num":"0.10.0","dl_path":"/api/v1/crates/curve25519-dalek/0.10.0/download","readme_path":"/api/v1/crates/curve25519-dalek/0.10.0/readme","updated_at":"2018-12-14T00:36:31.850954Z","created_at":"2017-08-01T03:08:23.815653Z","downloads":11044,"features":{"alloc":[],"bench":[],"default":["std"],"nightly":["radix_51","subtle/nightly"],"radix_51":[],"std":["rand","subtle/std"],"yolocrypto":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.10.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.10.0/downloads","authors":"/api/v1/crates/curve25519-dalek/0.10.0/authors"},"crate_size":133406,"published_by":null,"audit_actions":[],"checksum":"08cb827885e49a3b696deb399ea1f0ea4ade1300fc8ce65b3395739e899b0f00","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A low-level cryptographic library for point, group, field, and scalar operations on a curve isomorphic to the twisted Edwards curve defined by -x²+y² = 1 - 121665/121666 x²y² over GF(2²⁵⁵ - 19).","homepage":"https://code.ciph.re/isis/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/isislovecruft/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":6234,"comment_lines":724,"files":11}},"total_code_lines":6234,"total_comment_lines":724}},{"id":61209,"crate":"curve25519-dalek","num":"0.9.3","dl_path":"/api/v1/crates/curve25519-dalek/0.9.3/download","readme_path":"/api/v1/crates/curve25519-dalek/0.9.3/readme","updated_at":"2018-12-14T00:36:27.734275Z","created_at":"2017-07-31T19:42:08.930352Z","downloads":2666,"features":{"alloc":[],"bench":[],"default":["std"],"nightly":["radix_51"],"radix_51":[],"std":["rand","subtle/std"],"yolocrypto":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"CC0-1.0","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.9.3/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.9.3/downloads","authors":"/api/v1/crates/curve25519-dalek/0.9.3/authors"},"crate_size":132883,"published_by":null,"audit_actions":[],"checksum":"acaa0079b2c50bc83fac4b707115ec598841631e2ec06261e32ca6f483f5eeba","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A low-level cryptographic library for point, group, field, and scalar operations on a curve isomorphic to the twisted Edwards curve defined by -x²+y² = 1 - 121665/121666 x²y² over GF(2²⁵⁵ - 19).","homepage":"https://code.ciph.re/isis/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/isislovecruft/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":6167,"comment_lines":632,"files":7}},"total_code_lines":6167,"total_comment_lines":632}},{"id":58154,"crate":"curve25519-dalek","num":"0.9.2","dl_path":"/api/v1/crates/curve25519-dalek/0.9.2/download","readme_path":"/api/v1/crates/curve25519-dalek/0.9.2/readme","updated_at":"2018-12-14T00:36:22.845108Z","created_at":"2017-06-27T21:44:38.913182Z","downloads":2581,"features":{"alloc":[],"bench":[],"default":["std"],"nightly":["radix_51"],"radix_51":[],"std":["rand","subtle/std"],"yolocrypto":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"CC0-1.0","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.9.2/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.9.2/downloads","authors":"/api/v1/crates/curve25519-dalek/0.9.2/authors"},"crate_size":132367,"published_by":null,"audit_actions":[],"checksum":"8b9421cab3f2ddb46d1c8d1a38daa42812fb341f3f94e673e6b3e9be7ee33ea2","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A low-level cryptographic library for point, group, field, and scalar operations on a curve isomorphic to the twisted Edwards curve defined by -x²+y² = 1 - 121665/121666 x²y² over GF(2²⁵⁵ - 19).","homepage":"https://code.ciph.re/isis/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/isislovecruft/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":6163,"comment_lines":631,"files":7}},"total_code_lines":6163,"total_comment_lines":631}},{"id":58093,"crate":"curve25519-dalek","num":"0.9.1","dl_path":"/api/v1/crates/curve25519-dalek/0.9.1/download","readme_path":"/api/v1/crates/curve25519-dalek/0.9.1/readme","updated_at":"2018-12-14T00:36:12.458435Z","created_at":"2017-06-26T20:43:32.134239Z","downloads":2437,"features":{"alloc":[],"bench":[],"default":["std"],"nightly":["radix_51"],"radix_51":[],"std":["rand"],"yolocrypto":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"CC0-1.0","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.9.1/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.9.1/downloads","authors":"/api/v1/crates/curve25519-dalek/0.9.1/authors"},"crate_size":132351,"published_by":null,"audit_actions":[],"checksum":"8aaedacbfb224af5ee02eb11e8e38e2a998beb030036200d2cbd2783eba85a2e","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A low-level cryptographic library for point, group, field, and scalar operations on a curve isomorphic to the twisted Edwards curve defined by -x²+y² = 1 - 121665/121666 x²y² over GF(2²⁵⁵ - 19).","homepage":"https://code.ciph.re/isis/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/isislovecruft/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":6163,"comment_lines":631,"files":7}},"total_code_lines":6163,"total_comment_lines":631}},{"id":54786,"crate":"curve25519-dalek","num":"0.9.0","dl_path":"/api/v1/crates/curve25519-dalek/0.9.0/download","readme_path":"/api/v1/crates/curve25519-dalek/0.9.0/readme","updated_at":"2018-12-14T00:36:08.867375Z","created_at":"2017-05-27T00:46:33.465979Z","downloads":2553,"features":{"bench":[],"default":["std"],"nightly":["radix_51"],"radix_51":[],"std":["rand"],"yolocrypto":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"CC0-1.0","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.9.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.9.0/downloads","authors":"/api/v1/crates/curve25519-dalek/0.9.0/authors"},"crate_size":133413,"published_by":null,"audit_actions":[],"checksum":"0ff11589b82dc1cf5d6932103ec95967dc208e0a7e813bd597961265e6b523e7","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A low-level cryptographic library for point, group, field, and scalar operations on a curve isomorphic to the twisted Edwards curve defined by -x²+y² = 1 - 121665/121666 x²y² over GF(2²⁵⁵ - 19).","homepage":"https://code.ciph.re/isis/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/isislovecruft/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":6209,"comment_lines":641,"files":8}},"total_code_lines":6209,"total_comment_lines":641}},{"id":53792,"crate":"curve25519-dalek","num":"0.8.1","dl_path":"/api/v1/crates/curve25519-dalek/0.8.1/download","readme_path":"/api/v1/crates/curve25519-dalek/0.8.1/readme","updated_at":"2018-12-14T00:36:01.464814Z","created_at":"2017-05-19T23:30:10.891394Z","downloads":2599,"features":{"bench":[],"default":["std"],"nightly":["radix_51"],"radix_51":[],"std":["rand"],"yolocrypto":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"CC0-1.0","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.8.1/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.8.1/downloads","authors":"/api/v1/crates/curve25519-dalek/0.8.1/authors"},"crate_size":129892,"published_by":null,"audit_actions":[],"checksum":"a6d649394985ce117ac6e42aa6455d8c183c203e07a8e9b14338e5f80fb6c3a8","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A low-level cryptographic library for point, group, field, and scalar operations on a curve isomorphic to the twisted Edwards curve defined by -x²+y² = 1 - 121665/121666 x²y² over GF(2²⁵⁵ - 19).","homepage":"https://code.ciph.re/isis/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/isislovecruft/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":6108,"comment_lines":561,"files":8}},"total_code_lines":6108,"total_comment_lines":561}},{"id":53632,"crate":"curve25519-dalek","num":"0.8.0","dl_path":"/api/v1/crates/curve25519-dalek/0.8.0/download","readme_path":"/api/v1/crates/curve25519-dalek/0.8.0/readme","updated_at":"2018-12-14T00:35:54.715144Z","created_at":"2017-05-18T06:29:47.567681Z","downloads":2421,"features":{"bench":[],"default":["std"],"nightly":["radix_51"],"radix_51":[],"std":["rand"],"yolocrypto":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"CC0-1.0","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.8.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.8.0/downloads","authors":"/api/v1/crates/curve25519-dalek/0.8.0/authors"},"crate_size":129812,"published_by":null,"audit_actions":[],"checksum":"b3da39a55603a76411f12b5efe1736c0923cde6c4ca89be1c90e801d74f85c43","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A low-level cryptographic library for point, group, field, and scalar operations on a curve isomorphic to the twisted Edwards curve defined by -x²+y² = 1 - 121665/121666 x²y² over GF(2²⁵⁵ - 19).","homepage":"https://code.ciph.re/isis/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/isislovecruft/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":6107,"comment_lines":557,"files":8}},"total_code_lines":6107,"total_comment_lines":557}},{"id":53327,"crate":"curve25519-dalek","num":"0.7.1","dl_path":"/api/v1/crates/curve25519-dalek/0.7.1/download","readme_path":"/api/v1/crates/curve25519-dalek/0.7.1/readme","updated_at":"2018-12-14T00:35:49.355709Z","created_at":"2017-05-15T03:36:11.983452Z","downloads":2704,"features":{"bench":[],"default":["std"],"nightly":["radix_51"],"radix_51":[],"std":["rand"],"yolocrypto":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"CC0-1.0","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.7.1/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.7.1/downloads","authors":"/api/v1/crates/curve25519-dalek/0.7.1/authors"},"crate_size":126176,"published_by":null,"audit_actions":[],"checksum":"ee174d6e9fb06f33052ec6b8c9753679d88f9e129af230813b91af9c9f691141","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A low-level cryptographic library for point, group, field, and scalar operations on a curve isomorphic to the twisted Edwards curve defined by -x²+y² = 1 - 121665/121666 x²y² over GF(2²⁵⁵ - 19).","homepage":"https://code.ciph.re/isis/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/isislovecruft/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":5891,"comment_lines":519,"files":8}},"total_code_lines":5891,"total_comment_lines":519}},{"id":53265,"crate":"curve25519-dalek","num":"0.7.0","dl_path":"/api/v1/crates/curve25519-dalek/0.7.0/download","readme_path":"/api/v1/crates/curve25519-dalek/0.7.0/readme","updated_at":"2018-12-14T00:35:41.552024Z","created_at":"2017-05-14T09:50:25.704838Z","downloads":2410,"features":{"bench":[],"default":["std"],"nightly":["radix_51"],"radix_51":[],"std":["rand"],"yolocrypto":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"CC0-1.0","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.7.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.7.0/downloads","authors":"/api/v1/crates/curve25519-dalek/0.7.0/authors"},"crate_size":126197,"published_by":null,"audit_actions":[],"checksum":"e48f2b8b1fefc16e25ebca231d15f2c64f32d519c98e3789ec9f7c983a10ada5","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A low-level cryptographic library for point, group, field, and scalar operations on a curve isomorphic to the twisted Edwards curve defined by -x²+y² = 1 - 121665/121666 x²y² over GF(2²⁵⁵ - 19).","homepage":"https://code.ciph.re/isis/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/isislovecruft/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":5889,"comment_lines":519,"files":8}},"total_code_lines":5889,"total_comment_lines":519}},{"id":47767,"crate":"curve25519-dalek","num":"0.6.0","dl_path":"/api/v1/crates/curve25519-dalek/0.6.0/download","readme_path":"/api/v1/crates/curve25519-dalek/0.6.0/readme","updated_at":"2018-12-14T00:35:36.860318Z","created_at":"2017-03-14T09:13:40.699639Z","downloads":2899,"features":{"basepoint_table_creation":[],"bench":[],"default":["std"],"nightly":["basepoint_table_creation","radix_51"],"radix_51":[],"std":["rand"],"yolocrypto":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"CC0-1.0","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.6.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.6.0/downloads","authors":"/api/v1/crates/curve25519-dalek/0.6.0/authors"},"crate_size":124082,"published_by":null,"audit_actions":[],"checksum":"45000852ae5eb9608b0fdcb9476afcbcd4625f186e5380cd85fbc1e7cfbfa513","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A low-level cryptographic library for point, group, field, and scalar operations on a curve isomorphic to the twisted Edwards curve defined by -x²+y² = 1 - 121665/121666 x²y² over GF(2²⁵⁵ - 19).","homepage":"https://code.ciph.re/isis/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/isislovecruft/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":5682,"comment_lines":502,"files":8}},"total_code_lines":5682,"total_comment_lines":502}},{"id":46131,"crate":"curve25519-dalek","num":"0.5.0","dl_path":"/api/v1/crates/curve25519-dalek/0.5.0/download","readme_path":"/api/v1/crates/curve25519-dalek/0.5.0/readme","updated_at":"2018-12-14T00:35:27.440557Z","created_at":"2017-02-22T22:28:20.929065Z","downloads":2685,"features":{"default":["std"],"std":["rand"],"yolocrypto":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"CC0-1.0","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.5.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.5.0/downloads","authors":"/api/v1/crates/curve25519-dalek/0.5.0/authors"},"crate_size":78740,"published_by":null,"audit_actions":[],"checksum":"7cccc12b1c85d67e3b4fac0d0dfc06018df9b393e63b37c9c619ec240b7b80d4","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A low-level cryptographic library for point, group, field, and scalar operations on a curve isomorphic to the twisted Edwards curve defined by -x²+y² = 1 - 121665/121666 x²y² over GF(2²⁵⁵ - 19).","homepage":"https://code.ciph.re/isis/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://github.com/isislovecruft/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":3747,"comment_lines":351,"files":8}},"total_code_lines":3747,"total_comment_lines":351}},{"id":46049,"crate":"curve25519-dalek","num":"0.4.0","dl_path":"/api/v1/crates/curve25519-dalek/0.4.0/download","readme_path":"/api/v1/crates/curve25519-dalek/0.4.0/readme","updated_at":"2018-12-14T00:35:22.684928Z","created_at":"2017-02-21T21:05:19.468493Z","downloads":2574,"features":{"default":["std"],"std":["rand"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"CC0-1.0","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.4.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.4.0/downloads","authors":"/api/v1/crates/curve25519-dalek/0.4.0/authors"},"crate_size":72900,"published_by":null,"audit_actions":[],"checksum":"47c6497d0b1d26627d331c24111b3a4aa91d32283906b71f76c745d0f167aad2","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A low-level cryptographic library for point, group, field, and scalar operations on a curve isomorphic to the twisted Edwards curve defined by -x²+y² = 1 - 121665/121666 x²y² over GF(2²⁵⁵ - 19).","homepage":"https://code.ciph.re/isis/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://code.ciph.re/isis/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":3298,"comment_lines":246,"files":7}},"total_code_lines":3298,"total_comment_lines":246}},{"id":43457,"crate":"curve25519-dalek","num":"0.2.0","dl_path":"/api/v1/crates/curve25519-dalek/0.2.0/download","readme_path":"/api/v1/crates/curve25519-dalek/0.2.0/readme","updated_at":"2018-12-14T00:35:14.610491Z","created_at":"2017-01-27T02:34:35.843216Z","downloads":2481,"features":{},"yanked":true,"yank_message":null,"lib_links":null,"license":"CC0-1.0","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.2.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.2.0/downloads","authors":"/api/v1/crates/curve25519-dalek/0.2.0/authors"},"crate_size":71395,"published_by":null,"audit_actions":[],"checksum":"8bf17a30f09e96e8abc255d0f2e6853e1a4d67afa9287124a1e9a67a193ab4a5","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A low-level cryptographic library for point, group, field, and scalar operations on a curve isomorphic to the twisted Edwards curve defined by -x²+y² = 1 - 121665/121666 x²y² over GF(2²⁵⁵ - 19).","homepage":"https://code.ciph.re/isis/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://code.ciph.re/isis/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":3087,"comment_lines":204,"files":5}},"total_code_lines":3087,"total_comment_lines":204}},{"id":43456,"crate":"curve25519-dalek","num":"0.3.0","dl_path":"/api/v1/crates/curve25519-dalek/0.3.0/download","readme_path":"/api/v1/crates/curve25519-dalek/0.3.0/readme","updated_at":"2018-12-14T00:35:18.521545Z","created_at":"2017-01-27T02:26:36.070909Z","downloads":2500,"features":{"default":["std"],"std":["rand"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"CC0-1.0","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.3.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.3.0/downloads","authors":"/api/v1/crates/curve25519-dalek/0.3.0/authors"},"crate_size":71499,"published_by":null,"audit_actions":[],"checksum":"e66143644c8e9bc1e9fd5d711e23f22a3ce540594dc07faeea5b1987324c735e","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A low-level cryptographic library for point, group, field, and scalar operations on a curve isomorphic to the twisted Edwards curve defined by -x²+y² = 1 - 121665/121666 x²y² over GF(2²⁵⁵ - 19).","homepage":"https://code.ciph.re/isis/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://code.ciph.re/isis/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":3177,"comment_lines":227,"files":6}},"total_code_lines":3177,"total_comment_lines":227}},{"id":39292,"crate":"curve25519-dalek","num":"0.1.3","dl_path":"/api/v1/crates/curve25519-dalek/0.1.3/download","readme_path":"/api/v1/crates/curve25519-dalek/0.1.3/readme","updated_at":"2018-12-14T00:35:10.662481Z","created_at":"2016-12-09T04:17:29.591588Z","downloads":2576,"features":{},"yanked":true,"yank_message":null,"lib_links":null,"license":"CC0-1.0","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.1.3/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.1.3/downloads","authors":"/api/v1/crates/curve25519-dalek/0.1.3/authors"},"crate_size":71117,"published_by":null,"audit_actions":[],"checksum":"3fd6049d62de073ec5018b520736b0934178f52a92a0a6a4c77253ac9927f889","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A low-level cryptographic library for point, group, field, and scalar operations on a curve isomorphic to the twisted Edwards curve defined by -x²+y² = 1 - 121665/121666 x²y² over GF(2²⁵⁵ - 19).","homepage":"https://code.ciph.re/isis/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://code.ciph.re/isis/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":3077,"comment_lines":204,"files":5}},"total_code_lines":3077,"total_comment_lines":204}},{"id":39275,"crate":"curve25519-dalek","num":"0.1.2","dl_path":"/api/v1/crates/curve25519-dalek/0.1.2/download","readme_path":"/api/v1/crates/curve25519-dalek/0.1.2/readme","updated_at":"2018-12-14T00:35:06.190509Z","created_at":"2016-12-08T22:01:57.253693Z","downloads":2467,"features":{},"yanked":true,"yank_message":null,"lib_links":null,"license":"CC0-1.0","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.1.2/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.1.2/downloads","authors":"/api/v1/crates/curve25519-dalek/0.1.2/authors"},"crate_size":70722,"published_by":null,"audit_actions":[],"checksum":"a0e5bbb0be21ad669db506b7af37677471b766b13ec5809748ba282f249dd75c","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A low-level cryptographic library for point, group, field, and scalar operations on a curve isomorphic to the twisted Edwards curve defined by x²+y² = 121665/121666 x²y² over GF(2²⁵⁵ - 19).","homepage":"https://code.ciph.re/isis/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://code.ciph.re/isis/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":3077,"comment_lines":204,"files":5}},"total_code_lines":3077,"total_comment_lines":204}},{"id":39273,"crate":"curve25519-dalek","num":"0.1.1","dl_path":"/api/v1/crates/curve25519-dalek/0.1.1/download","readme_path":"/api/v1/crates/curve25519-dalek/0.1.1/readme","updated_at":"2018-12-14T00:34:58.873107Z","created_at":"2016-12-08T21:57:45.234724Z","downloads":2461,"features":{},"yanked":true,"yank_message":null,"lib_links":null,"license":"CC0-1.0","links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.1.1/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.1.1/downloads","authors":"/api/v1/crates/curve25519-dalek/0.1.1/authors"},"crate_size":70724,"published_by":null,"audit_actions":[],"checksum":"986c03895f9f490858f93c20217a1dcb225127da500f2e66c68c787a7ae05200","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A low-level cryptographic library for point, group, field, and scalar operations on a curve isomorphic to the twisted Edwards curve defined by x²+y² = 121665/121666 x²y² over GF(2²⁵⁵ - 19).","homepage":"https://code.ciph.re/isis/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://code.ciph.re/isis/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":3077,"comment_lines":204,"files":5}},"total_code_lines":3077,"total_comment_lines":204}},{"id":39236,"crate":"curve25519-dalek","num":"0.1.0","dl_path":"/api/v1/crates/curve25519-dalek/0.1.0/download","readme_path":"/api/v1/crates/curve25519-dalek/0.1.0/readme","updated_at":"2018-12-14T00:34:52.306909Z","created_at":"2016-12-08T05:13:57.620503Z","downloads":2447,"features":{},"yanked":true,"yank_message":null,"lib_links":null,"license":null,"links":{"dependencies":"/api/v1/crates/curve25519-dalek/0.1.0/dependencies","version_downloads":"/api/v1/crates/curve25519-dalek/0.1.0/downloads","authors":"/api/v1/crates/curve25519-dalek/0.1.0/authors"},"crate_size":70718,"published_by":null,"audit_actions":[],"checksum":"30182855843af9c0847ecd71bb78bfe44760336e130dd92a42e7585c2a4d0e80","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"A low-level cryptographic library for point, group, field, and scalar operations on a curve isomorphic to the twisted Edwards curve defined by x²+y² = 121665/121666 x²y² over GF(2²⁵⁵ - 19).","homepage":"https://code.ciph.re/isis/curve25519-dalek","documentation":"https://docs.rs/curve25519-dalek","repository":"https://code.ciph.re/isis/curve25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":3077,"comment_lines":204,"files":5}},"total_code_lines":3077,"total_comment_lines":204}}],"keywords":[{"id":"crypto","keyword":"crypto","created_at":"2014-11-24T02:30:36.413823Z","crates_cnt":2682},{"id":"cryptography","keyword":"cryptography","created_at":"2014-12-16T08:15:41.198500Z","crates_cnt":2600},{"id":"curve25519","keyword":"curve25519","created_at":"2016-12-08T05:13:57.620503Z","crates_cnt":87},{"id":"ristretto","keyword":"ristretto","created_at":"2018-02-06T19:05:25.353522Z","crates_cnt":45},{"id":"ristretto255","keyword":"ristretto255","created_at":"2019-07-31T22:26:09.551222Z","crates_cnt":34}],"categories":[{"id":"cryptography","category":"Cryptography","slug":"cryptography","description":"Algorithms intended for securing data.","created_at":"2017-01-17T19:13:05.112025Z","crates_cnt":7915},{"id":"no-std","category":"No standard library","slug":"no-std","description":"Crates that are able to function without the Rust standard library.","created_at":"2017-02-10T01:52:09.447906Z","crates_cnt":13734}]} \ No newline at end of file diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/deps-distributed-topic-tracker-0.3.5.json b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/deps-distributed-topic-tracker-0.3.5.json new file mode 100644 index 0000000000..d1e93f7510 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/deps-distributed-topic-tracker-0.3.5.json @@ -0,0 +1 @@ +{"dependencies":[{"id":28604219,"version_id":2580030,"crate_id":"actor-helper","req":"^0.3","optional":false,"default_features":true,"features":["tokio","anyhow"],"target":null,"kind":"normal","downloads":0},{"id":28604220,"version_id":2580030,"crate_id":"anyhow","req":"^1","optional":false,"default_features":false,"features":["std"],"target":null,"kind":"normal","downloads":0},{"id":28604221,"version_id":2580030,"crate_id":"chrono","req":"^0.4","optional":false,"default_features":false,"features":["clock"],"target":null,"kind":"normal","downloads":0},{"id":28604222,"version_id":2580030,"crate_id":"ed25519-dalek","req":"^3.0.0-rc.0","optional":false,"default_features":false,"features":["rand_core"],"target":null,"kind":"normal","downloads":0},{"id":28604223,"version_id":2580030,"crate_id":"ed25519-dalek-hpke","req":"^0.0.5","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":28604224,"version_id":2580030,"crate_id":"futures-lite","req":"^2","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":28604225,"version_id":2580030,"crate_id":"getrandom","req":"^0.4","optional":false,"default_features":false,"features":["std","sys_rng"],"target":null,"kind":"normal","downloads":0},{"id":28604228,"version_id":2580030,"crate_id":"mainline","req":"^7","optional":false,"default_features":false,"features":["async"],"target":null,"kind":"normal","downloads":0},{"id":28604229,"version_id":2580030,"crate_id":"postcard","req":"^1","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":28604230,"version_id":2580030,"crate_id":"rand","req":"^0.10","optional":false,"default_features":false,"features":["std","std_rng"],"target":null,"kind":"normal","downloads":0},{"id":28604231,"version_id":2580030,"crate_id":"serde","req":"^1","optional":false,"default_features":false,"features":["std"],"target":null,"kind":"normal","downloads":0},{"id":28604232,"version_id":2580030,"crate_id":"sha2","req":"^0.11.0","optional":false,"default_features":false,"features":[],"target":null,"kind":"normal","downloads":0},{"id":28604233,"version_id":2580030,"crate_id":"tokio","req":"^1","optional":false,"default_features":false,"features":["macros","time","sync","rt-multi-thread"],"target":null,"kind":"normal","downloads":0},{"id":28604234,"version_id":2580030,"crate_id":"tokio-util","req":"^0.7","optional":false,"default_features":false,"features":[],"target":null,"kind":"normal","downloads":0},{"id":28604235,"version_id":2580030,"crate_id":"tracing","req":"^0.1","optional":false,"default_features":false,"features":["std"],"target":null,"kind":"normal","downloads":0},{"id":28604236,"version_id":2580030,"crate_id":"tracing-subscriber","req":"^0.3","optional":false,"default_features":false,"features":["std","env-filter","ansi"],"target":null,"kind":"normal","downloads":0},{"id":28604226,"version_id":2580030,"crate_id":"iroh","req":"^1","optional":true,"default_features":false,"features":["tls-ring"],"target":null,"kind":"normal","downloads":0},{"id":28604227,"version_id":2580030,"crate_id":"iroh-gossip","req":"^0.101","optional":true,"default_features":false,"features":["net"],"target":null,"kind":"normal","downloads":0}]} \ No newline at end of file diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/deps-iroh-1.3.0.json b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/deps-iroh-1.3.0.json new file mode 100644 index 0000000000..fcbaa5fe0d --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/deps-iroh-1.3.0.json @@ -0,0 +1 @@ +{"dependencies":[{"id":37811853,"version_id":3350305,"crate_id":"assert_matches","req":"^1.5.0","optional":false,"default_features":true,"features":[],"target":"cfg(not(all(target_family = \"wasm\", target_os = \"unknown\")))","kind":"dev","downloads":0},{"id":37811854,"version_id":3350305,"crate_id":"axum","req":"^0.8","optional":false,"default_features":true,"features":[],"target":"cfg(not(all(target_family = \"wasm\", target_os = \"unknown\")))","kind":"dev","downloads":0},{"id":37811799,"version_id":3350305,"crate_id":"backon","req":"^1.4","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":37811800,"version_id":3350305,"crate_id":"blake3","req":"^1.8.3","optional":false,"default_features":false,"features":[],"target":null,"kind":"normal","downloads":0},{"id":37811801,"version_id":3350305,"crate_id":"bytes","req":"^1.11","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":37811844,"version_id":3350305,"crate_id":"cfg_aliases","req":"^0.2.2","optional":false,"default_features":true,"features":[],"target":null,"kind":"build","downloads":0},{"id":37811837,"version_id":3350305,"crate_id":"chrono","req":"^0.4.43","optional":false,"default_features":true,"features":[],"target":null,"kind":"dev","downloads":0},{"id":37811855,"version_id":3350305,"crate_id":"clap","req":"^4","optional":false,"default_features":true,"features":["derive"],"target":"cfg(not(all(target_family = \"wasm\", target_os = \"unknown\")))","kind":"dev","downloads":0},{"id":37811856,"version_id":3350305,"crate_id":"console","req":"^0.16","optional":false,"default_features":true,"features":[],"target":"cfg(not(all(target_family = \"wasm\", target_os = \"unknown\")))","kind":"dev","downloads":0},{"id":37811838,"version_id":3350305,"crate_id":"console_error_panic_hook","req":"^0.1","optional":false,"default_features":true,"features":[],"target":null,"kind":"dev","downloads":0},{"id":37811867,"version_id":3350305,"crate_id":"ctor","req":"^1.0","optional":false,"default_features":true,"features":[],"target":"cfg(target_os = \"linux\")","kind":"dev","downloads":0},{"id":37811802,"version_id":3350305,"crate_id":"ctutils","req":"^0.4.0","optional":false,"default_features":false,"features":[],"target":null,"kind":"normal","downloads":0},{"id":37811803,"version_id":3350305,"crate_id":"data-encoding","req":"^2.2","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":37811804,"version_id":3350305,"crate_id":"derive_more","req":"^2.0.1","optional":false,"default_features":true,"features":["debug","display","from","try_into","deref","from_str","into_iterator"],"target":null,"kind":"normal","downloads":0},{"id":37811805,"version_id":3350305,"crate_id":"ed25519-dalek","req":">=3.0.0-rc.0, <4.0.0","optional":false,"default_features":true,"features":["serde","rand_core","zeroize","pkcs8","pem"],"target":null,"kind":"normal","downloads":0},{"id":37811806,"version_id":3350305,"crate_id":"futures-util","req":"^0.3","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":37811845,"version_id":3350305,"crate_id":"getrandom","req":"^0.4","optional":false,"default_features":true,"features":["wasm_js"],"target":"cfg(all(target_family = \"wasm\", target_os = \"unknown\"))","kind":"normal","downloads":0},{"id":37811807,"version_id":3350305,"crate_id":"http","req":"^1","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":37811857,"version_id":3350305,"crate_id":"indicatif","req":"^0.18","optional":false,"default_features":true,"features":["tokio"],"target":"cfg(not(all(target_family = \"wasm\", target_os = \"unknown\")))","kind":"dev","downloads":0},{"id":37811808,"version_id":3350305,"crate_id":"ipnet","req":"^2","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":37811809,"version_id":3350305,"crate_id":"iroh-base","req":"^1.3.0","optional":false,"default_features":false,"features":["key","relay"],"target":null,"kind":"normal","downloads":0},{"id":37811858,"version_id":3350305,"crate_id":"iroh-base","req":"^1.3.0","optional":false,"default_features":false,"features":["key","relay"],"target":"cfg(not(all(target_family = \"wasm\", target_os = \"unknown\")))","kind":"dev","downloads":0},{"id":37811810,"version_id":3350305,"crate_id":"iroh-dns","req":"^1.3.0","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":37811811,"version_id":3350305,"crate_id":"iroh-metrics","req":"^1.0.2","optional":false,"default_features":false,"features":[],"target":null,"kind":"normal","downloads":0},{"id":37811859,"version_id":3350305,"crate_id":"iroh-relay","req":"^1.3.0","optional":false,"default_features":false,"features":["test-utils","server"],"target":"cfg(not(all(target_family = \"wasm\", target_os = \"unknown\")))","kind":"dev","downloads":0},{"id":37811812,"version_id":3350305,"crate_id":"iroh-relay","req":"^1.3.0","optional":false,"default_features":false,"features":[],"target":null,"kind":"normal","downloads":0},{"id":37811839,"version_id":3350305,"crate_id":"n0-error","req":"^1.0.0","optional":false,"default_features":true,"features":["anyhow"],"target":null,"kind":"dev","downloads":0},{"id":37811813,"version_id":3350305,"crate_id":"n0-error","req":"^1.0.0","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":37811814,"version_id":3350305,"crate_id":"n0-future","req":"^0.3","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":37811860,"version_id":3350305,"crate_id":"n0-tracing-test","req":"^0.3","optional":false,"default_features":true,"features":[],"target":"cfg(not(all(target_family = \"wasm\", target_os = \"unknown\")))","kind":"dev","downloads":0},{"id":37811815,"version_id":3350305,"crate_id":"n0-watcher","req":"^1.0.0","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":37811816,"version_id":3350305,"crate_id":"netwatch","req":"^0.19.3","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":37811850,"version_id":3350305,"crate_id":"noq","req":"^1.3.0","optional":false,"default_features":false,"features":["runtime-tokio","rustls"],"target":"cfg(not(all(target_family = \"wasm\", target_os = \"unknown\")))","kind":"normal","downloads":0},{"id":37811817,"version_id":3350305,"crate_id":"noq","req":"^1.3.0","optional":false,"default_features":false,"features":["rustls"],"target":null,"kind":"normal","downloads":0},{"id":37811818,"version_id":3350305,"crate_id":"noq-proto","req":"^1.3.0","optional":false,"default_features":false,"features":[],"target":null,"kind":"normal","downloads":0},{"id":37811819,"version_id":3350305,"crate_id":"noq-udp","req":"^1.3.0","optional":false,"default_features":false,"features":[],"target":null,"kind":"normal","downloads":0},{"id":37811820,"version_id":3350305,"crate_id":"papaya","req":"^0.2.3","optional":false,"default_features":false,"features":[],"target":null,"kind":"normal","downloads":0},{"id":37811861,"version_id":3350305,"crate_id":"parse-size","req":"^1.1.0","optional":false,"default_features":true,"features":["std"],"target":"cfg(not(all(target_family = \"wasm\", target_os = \"unknown\")))","kind":"dev","downloads":0},{"id":37811868,"version_id":3350305,"crate_id":"patchbay","req":"^0.7","optional":false,"default_features":true,"features":["iroh-metrics"],"target":"cfg(target_os = \"linux\")","kind":"dev","downloads":0},{"id":37811821,"version_id":3350305,"crate_id":"pin-project","req":"^1","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":37811822,"version_id":3350305,"crate_id":"portable-atomic","req":"^1","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":37811840,"version_id":3350305,"crate_id":"postcard","req":"^1.1.1","optional":false,"default_features":true,"features":["use-std"],"target":null,"kind":"dev","downloads":0},{"id":37811862,"version_id":3350305,"crate_id":"pretty_assertions","req":"^1.4","optional":false,"default_features":true,"features":[],"target":"cfg(not(all(target_family = \"wasm\", target_os = \"unknown\")))","kind":"dev","downloads":0},{"id":37811823,"version_id":3350305,"crate_id":"rand","req":"^0.10","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":37811841,"version_id":3350305,"crate_id":"rand_chacha","req":"^0.10","optional":false,"default_features":true,"features":[],"target":null,"kind":"dev","downloads":0},{"id":37811863,"version_id":3350305,"crate_id":"rand_chacha","req":"^0.10","optional":false,"default_features":true,"features":[],"target":"cfg(not(all(target_family = \"wasm\", target_os = \"unknown\")))","kind":"dev","downloads":0},{"id":37811824,"version_id":3350305,"crate_id":"reqwest","req":"^0.13","optional":false,"default_features":false,"features":["rustls-no-provider","stream"],"target":null,"kind":"normal","downloads":0},{"id":37811825,"version_id":3350305,"crate_id":"rustc-hash","req":"^2","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":37811826,"version_id":3350305,"crate_id":"rustls","req":"^0.23.33","optional":false,"default_features":false,"features":[],"target":null,"kind":"normal","downloads":0},{"id":37811836,"version_id":3350305,"crate_id":"rustls-pki-types","req":"^1.12","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":37811827,"version_id":3350305,"crate_id":"serde","req":"^1.0.219","optional":false,"default_features":true,"features":["derive","rc"],"target":null,"kind":"normal","downloads":0},{"id":37811864,"version_id":3350305,"crate_id":"serde_json","req":"^1","optional":false,"default_features":true,"features":[],"target":"cfg(not(all(target_family = \"wasm\", target_os = \"unknown\")))","kind":"dev","downloads":0},{"id":37811842,"version_id":3350305,"crate_id":"simple-dns","req":"^0.12","optional":false,"default_features":true,"features":[],"target":null,"kind":"dev","downloads":0},{"id":37811829,"version_id":3350305,"crate_id":"smallvec","req":"^1.11.1","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":37811830,"version_id":3350305,"crate_id":"strum","req":"^0.28","optional":false,"default_features":true,"features":["derive"],"target":null,"kind":"normal","downloads":0},{"id":37811869,"version_id":3350305,"crate_id":"testdir","req":"^0.10","optional":false,"default_features":true,"features":[],"target":"cfg(target_os = \"linux\")","kind":"dev","downloads":0},{"id":37811846,"version_id":3350305,"crate_id":"time","req":"^0.3","optional":false,"default_features":true,"features":["wasm-bindgen"],"target":"cfg(all(target_family = \"wasm\", target_os = \"unknown\"))","kind":"normal","downloads":0},{"id":37811852,"version_id":3350305,"crate_id":"tokio","req":"^1","optional":false,"default_features":true,"features":["io-util","macros","sync","rt","net","fs","io-std"],"target":"cfg(not(all(target_family = \"wasm\", target_os = \"unknown\")))","kind":"normal","downloads":0},{"id":37811831,"version_id":3350305,"crate_id":"tokio","req":"^1.44.1","optional":false,"default_features":true,"features":["io-util","macros","sync","rt"],"target":null,"kind":"normal","downloads":0},{"id":37811865,"version_id":3350305,"crate_id":"tokio","req":"^1","optional":false,"default_features":true,"features":["io-util","sync","rt","rt-multi-thread","net","fs","macros","time","test-util"],"target":"cfg(not(all(target_family = \"wasm\", target_os = \"unknown\")))","kind":"dev","downloads":0},{"id":37811832,"version_id":3350305,"crate_id":"tokio-stream","req":"^0.1.15","optional":false,"default_features":true,"features":["sync"],"target":null,"kind":"normal","downloads":0},{"id":37811833,"version_id":3350305,"crate_id":"tokio-util","req":"^0.7","optional":false,"default_features":true,"features":["io-util","io","rt"],"target":null,"kind":"normal","downloads":0},{"id":37811834,"version_id":3350305,"crate_id":"tracing","req":"^0.1","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":37811866,"version_id":3350305,"crate_id":"tracing-subscriber","req":"^0.3","optional":false,"default_features":true,"features":["env-filter"],"target":"cfg(not(all(target_family = \"wasm\", target_os = \"unknown\")))","kind":"dev","downloads":0},{"id":37811843,"version_id":3350305,"crate_id":"tracing-subscriber","req":"^0.3","optional":false,"default_features":true,"features":["env-filter"],"target":null,"kind":"dev","downloads":0},{"id":37811835,"version_id":3350305,"crate_id":"url","req":"^2.5","optional":false,"default_features":true,"features":["serde"],"target":null,"kind":"normal","downloads":0},{"id":37811847,"version_id":3350305,"crate_id":"wasm-bindgen-futures","req":"^0.4","optional":false,"default_features":true,"features":[],"target":"cfg(all(target_family = \"wasm\", target_os = \"unknown\"))","kind":"normal","downloads":0},{"id":37811848,"version_id":3350305,"crate_id":"wasm-bindgen-test","req":"^0.3.62","optional":false,"default_features":true,"features":[],"target":"cfg(all(target_family = \"wasm\", target_os = \"unknown\"))","kind":"dev","downloads":0},{"id":37811849,"version_id":3350305,"crate_id":"wasm-tracing","req":"^2.1.0","optional":false,"default_features":true,"features":[],"target":"cfg(all(target_family = \"wasm\", target_os = \"unknown\"))","kind":"dev","downloads":0},{"id":37811798,"version_id":3350305,"crate_id":"axum","req":"^0.8","optional":true,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":37811851,"version_id":3350305,"crate_id":"portmapper","req":"^0.19.3","optional":true,"default_features":false,"features":[],"target":"cfg(not(all(target_family = \"wasm\", target_os = \"unknown\")))","kind":"normal","downloads":0},{"id":37811828,"version_id":3350305,"crate_id":"simple-dns","req":"^0.12","optional":true,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0}]} \ No newline at end of file diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/deps-mainline-7.0.0.json b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/deps-mainline-7.0.0.json new file mode 100644 index 0000000000..55917dd2fa --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/deps-mainline-7.0.0.json @@ -0,0 +1 @@ +{"dependencies":[{"id":28072270,"version_id":2537295,"crate_id":"clap","req":"^4.5.57","optional":false,"default_features":true,"features":["derive"],"target":null,"kind":"dev","downloads":0},{"id":28072271,"version_id":2537295,"crate_id":"colored","req":"^3.1.1","optional":false,"default_features":true,"features":[],"target":null,"kind":"dev","downloads":0},{"id":28072256,"version_id":2537295,"crate_id":"crc","req":"^3.4.0","optional":false,"default_features":false,"features":[],"target":null,"kind":"normal","downloads":0},{"id":28072272,"version_id":2537295,"crate_id":"ctrlc","req":"^3.5.1","optional":false,"default_features":true,"features":[],"target":null,"kind":"dev","downloads":0},{"id":28072273,"version_id":2537295,"crate_id":"dashmap","req":"^6.1","optional":false,"default_features":true,"features":[],"target":null,"kind":"dev","downloads":0},{"id":28072257,"version_id":2537295,"crate_id":"document-features","req":"^0.2.12","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":28072258,"version_id":2537295,"crate_id":"dyn-clone","req":"^1.0.20","optional":false,"default_features":false,"features":[],"target":null,"kind":"normal","downloads":0},{"id":28072259,"version_id":2537295,"crate_id":"ed25519-dalek","req":"^3.0.0-pre.1","optional":false,"default_features":false,"features":[],"target":null,"kind":"normal","downloads":0},{"id":28072274,"version_id":2537295,"crate_id":"flume","req":"^0.12.0","optional":false,"default_features":false,"features":[],"target":null,"kind":"dev","downloads":0},{"id":28072275,"version_id":2537295,"crate_id":"futures","req":"^0.3.31","optional":false,"default_features":true,"features":[],"target":null,"kind":"dev","downloads":0},{"id":28072262,"version_id":2537295,"crate_id":"getrandom","req":"^0.4","optional":false,"default_features":false,"features":[],"target":null,"kind":"normal","downloads":0},{"id":28072276,"version_id":2537295,"crate_id":"histo","req":"^1.0.0","optional":false,"default_features":true,"features":[],"target":null,"kind":"dev","downloads":0},{"id":28072263,"version_id":2537295,"crate_id":"lru","req":"^0.16.2","optional":false,"default_features":false,"features":[],"target":null,"kind":"normal","downloads":0},{"id":28072277,"version_id":2537295,"crate_id":"rayon","req":"^1.11.0","optional":false,"default_features":true,"features":[],"target":null,"kind":"dev","downloads":0},{"id":28072264,"version_id":2537295,"crate_id":"serde","req":"^1.0.228","optional":false,"default_features":true,"features":["derive"],"target":null,"kind":"normal","downloads":0},{"id":28072265,"version_id":2537295,"crate_id":"serde_bencode","req":"^0.2.4","optional":false,"default_features":false,"features":[],"target":null,"kind":"normal","downloads":0},{"id":28072266,"version_id":2537295,"crate_id":"serde_bytes","req":"^0.11.19","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":28072267,"version_id":2537295,"crate_id":"sha1_smol","req":"^1.0.1","optional":false,"default_features":false,"features":[],"target":null,"kind":"normal","downloads":0},{"id":28072268,"version_id":2537295,"crate_id":"thiserror","req":"^2.0.18","optional":false,"default_features":false,"features":[],"target":null,"kind":"normal","downloads":0},{"id":28072269,"version_id":2537295,"crate_id":"tracing","req":"^0.1.44","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":28072278,"version_id":2537295,"crate_id":"tracing-subscriber","req":"^0.3","optional":false,"default_features":true,"features":[],"target":null,"kind":"dev","downloads":0},{"id":28072260,"version_id":2537295,"crate_id":"flume","req":"^0.12.0","optional":true,"default_features":false,"features":[],"target":null,"kind":"normal","downloads":0},{"id":28072261,"version_id":2537295,"crate_id":"futures-lite","req":"^2.6.1","optional":true,"default_features":false,"features":[],"target":null,"kind":"normal","downloads":0}]} \ No newline at end of file diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/deps-russh-0.64.1.json b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/deps-russh-0.64.1.json new file mode 100644 index 0000000000..46fe0b5be0 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/deps-russh-0.64.1.json @@ -0,0 +1 @@ +{"dependencies":[{"id":38529529,"version_id":3406131,"crate_id":"aes","req":"^0.9","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529595,"version_id":3406131,"crate_id":"anyhow","req":"^1.0.4","optional":false,"default_features":true,"features":[],"target":null,"kind":"dev","downloads":0},{"id":38529532,"version_id":3406131,"crate_id":"bitflags","req":"^2.0","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529533,"version_id":3406131,"crate_id":"block-padding","req":"^0.4","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529534,"version_id":3406131,"crate_id":"byteorder","req":"^1.4","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529535,"version_id":3406131,"crate_id":"bytes","req":"^1.7","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529536,"version_id":3406131,"crate_id":"cbc","req":"^0.2","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529537,"version_id":3406131,"crate_id":"cipher","req":"^0.5.1","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529596,"version_id":3406131,"crate_id":"clap","req":"^4","optional":false,"default_features":true,"features":["derive"],"target":null,"kind":"dev","downloads":0},{"id":38529539,"version_id":3406131,"crate_id":"crypto-bigint","req":"^0.7.3","optional":false,"default_features":true,"features":["alloc"],"target":null,"kind":"normal","downloads":0},{"id":38529540,"version_id":3406131,"crate_id":"ctr","req":"^0.10","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529541,"version_id":3406131,"crate_id":"curve25519-dalek","req":"^5","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529542,"version_id":3406131,"crate_id":"data-encoding","req":"^2.3","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529543,"version_id":3406131,"crate_id":"delegate","req":"^0.13","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529544,"version_id":3406131,"crate_id":"der","req":"^0.8","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529546,"version_id":3406131,"crate_id":"digest","req":"^0.11.0","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529547,"version_id":3406131,"crate_id":"ecdsa","req":"^0.17","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529548,"version_id":3406131,"crate_id":"ed25519-dalek","req":"^3","optional":false,"default_features":true,"features":["alloc","rand_core","pkcs8"],"target":null,"kind":"normal","downloads":0},{"id":38529549,"version_id":3406131,"crate_id":"elliptic-curve","req":"^0.14","optional":false,"default_features":true,"features":["ecdh"],"target":null,"kind":"normal","downloads":0},{"id":38529550,"version_id":3406131,"crate_id":"enum_dispatch","req":"^0.3.13","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529597,"version_id":3406131,"crate_id":"env_logger","req":"^0.11","optional":false,"default_features":true,"features":[],"target":null,"kind":"dev","downloads":0},{"id":38529552,"version_id":3406131,"crate_id":"futures","req":"^0.3","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529553,"version_id":3406131,"crate_id":"generic-array","req":"^1.3.3","optional":false,"default_features":true,"features":["compat-0_14"],"target":null,"kind":"normal","downloads":0},{"id":38529554,"version_id":3406131,"crate_id":"getrandom","req":"^0.4","optional":false,"default_features":true,"features":["wasm_js"],"target":null,"kind":"normal","downloads":0},{"id":38529555,"version_id":3406131,"crate_id":"ghash","req":"^0.6.0","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529556,"version_id":3406131,"crate_id":"hex-literal","req":"^1","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529557,"version_id":3406131,"crate_id":"hmac","req":"^0.13","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529558,"version_id":3406131,"crate_id":"inout","req":"^0.2","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529559,"version_id":3406131,"crate_id":"keccak","req":"^0.2.0","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529560,"version_id":3406131,"crate_id":"log","req":"^0.4.11","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529561,"version_id":3406131,"crate_id":"md5","req":"^0.8","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529562,"version_id":3406131,"crate_id":"ml-kem","req":"^0.3","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529563,"version_id":3406131,"crate_id":"module-lattice","req":"^0.2","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529564,"version_id":3406131,"crate_id":"num-bigint","req":"^0.5","optional":false,"default_features":true,"features":["rand_0_10"],"target":null,"kind":"normal","downloads":0},{"id":38529565,"version_id":3406131,"crate_id":"p256","req":"^0.14","optional":false,"default_features":true,"features":["ecdh"],"target":null,"kind":"normal","downloads":0},{"id":38529566,"version_id":3406131,"crate_id":"p384","req":"^0.14","optional":false,"default_features":true,"features":["ecdh"],"target":null,"kind":"normal","downloads":0},{"id":38529567,"version_id":3406131,"crate_id":"p521","req":"^0.14","optional":false,"default_features":true,"features":["ecdh"],"target":null,"kind":"normal","downloads":0},{"id":38529609,"version_id":3406131,"crate_id":"pageant","req":"^0.2","optional":false,"default_features":true,"features":[],"target":"cfg(windows)","kind":"normal","downloads":0},{"id":38529568,"version_id":3406131,"crate_id":"pbkdf2","req":"^0.13","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529570,"version_id":3406131,"crate_id":"pkcs5","req":"^0.8","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529571,"version_id":3406131,"crate_id":"pkcs8","req":"^0.11","optional":false,"default_features":true,"features":["encryption","std"],"target":null,"kind":"normal","downloads":0},{"id":38529572,"version_id":3406131,"crate_id":"polyval","req":"^0.7.1","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529573,"version_id":3406131,"crate_id":"rand","req":"^0.10","optional":false,"default_features":true,"features":["thread_rng"],"target":null,"kind":"normal","downloads":0},{"id":38529598,"version_id":3406131,"crate_id":"rand","req":"^0.10","optional":false,"default_features":true,"features":["thread_rng"],"target":null,"kind":"dev","downloads":0},{"id":38529574,"version_id":3406131,"crate_id":"rand_core","req":"^0.10.0","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529599,"version_id":3406131,"crate_id":"ratatui","req":"^0.30","optional":false,"default_features":true,"features":[],"target":null,"kind":"dev","downloads":0},{"id":38529577,"version_id":3406131,"crate_id":"russh-cryptovec","req":"^0.62.0","optional":false,"default_features":true,"features":["ssh-encoding"],"target":null,"kind":"normal","downloads":0},{"id":38529604,"version_id":3406131,"crate_id":"russh-sftp","req":"^2.3.0","optional":false,"default_features":true,"features":[],"target":"cfg(not(target_arch = \"wasm32\"))","kind":"dev","downloads":0},{"id":38529578,"version_id":3406131,"crate_id":"russh-util","req":"^0.52.0","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529579,"version_id":3406131,"crate_id":"salsa20","req":"^0.11.0","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529580,"version_id":3406131,"crate_id":"scrypt","req":"^0.12.0","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529581,"version_id":3406131,"crate_id":"sec1","req":"^0.8","optional":false,"default_features":true,"features":["der"],"target":null,"kind":"normal","downloads":0},{"id":38529582,"version_id":3406131,"crate_id":"sha1","req":"^0.11","optional":false,"default_features":true,"features":["oid"],"target":null,"kind":"normal","downloads":0},{"id":38529583,"version_id":3406131,"crate_id":"sha2","req":"^0.11","optional":false,"default_features":true,"features":["oid"],"target":null,"kind":"normal","downloads":0},{"id":38529584,"version_id":3406131,"crate_id":"sha3","req":"^0.12.0","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529600,"version_id":3406131,"crate_id":"shell-escape","req":"^0.1","optional":false,"default_features":true,"features":[],"target":null,"kind":"dev","downloads":0},{"id":38529585,"version_id":3406131,"crate_id":"signature","req":"^3","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529586,"version_id":3406131,"crate_id":"spki","req":"^0.8","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529587,"version_id":3406131,"crate_id":"ssh-encoding","req":"^0.3","optional":false,"default_features":true,"features":["bytes"],"target":null,"kind":"normal","downloads":0},{"id":38529588,"version_id":3406131,"crate_id":"ssh-key","req":"=0.7.0-rc.11","optional":false,"default_features":true,"features":["ed25519","p256","p384","p521","encryption","ppk","sha1"],"target":null,"kind":"normal","downloads":0},{"id":38529589,"version_id":3406131,"crate_id":"subtle","req":"^2.4","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529601,"version_id":3406131,"crate_id":"tempfile","req":"^3.14.0","optional":false,"default_features":true,"features":[],"target":null,"kind":"dev","downloads":0},{"id":38529607,"version_id":3406131,"crate_id":"termion","req":"^4","optional":false,"default_features":true,"features":[],"target":"cfg(not(target_os = \"windows\"))","kind":"dev","downloads":0},{"id":38529590,"version_id":3406131,"crate_id":"thiserror","req":"^2.0.18","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529591,"version_id":3406131,"crate_id":"tokio","req":"^1.17.0","optional":false,"default_features":true,"features":["io-util","sync","time"],"target":null,"kind":"normal","downloads":0},{"id":38529605,"version_id":3406131,"crate_id":"tokio","req":"^1.17.0","optional":false,"default_features":true,"features":[],"target":"cfg(not(target_arch = \"wasm32\"))","kind":"dev","downloads":0},{"id":38529603,"version_id":3406131,"crate_id":"tokio","req":"^1.17.0","optional":false,"default_features":true,"features":["io-util","rt-multi-thread","time","net"],"target":"cfg(not(target_arch = \"wasm32\"))","kind":"normal","downloads":0},{"id":38529602,"version_id":3406131,"crate_id":"tokio","req":"^1.17.0","optional":false,"default_features":true,"features":["io-std","io-util","rt-multi-thread","time","net","sync","macros","process"],"target":null,"kind":"dev","downloads":0},{"id":38529608,"version_id":3406131,"crate_id":"tokio-fd","req":"^0.3","optional":false,"default_features":true,"features":[],"target":"cfg(not(target_os = \"windows\"))","kind":"dev","downloads":0},{"id":38529606,"version_id":3406131,"crate_id":"tokio-stream","req":"^0.1.3","optional":false,"default_features":true,"features":["net","sync"],"target":"cfg(not(target_arch = \"wasm32\"))","kind":"dev","downloads":0},{"id":38529592,"version_id":3406131,"crate_id":"typenum","req":"^1.17","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529593,"version_id":3406131,"crate_id":"universal-hash","req":"^0.6.1","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529594,"version_id":3406131,"crate_id":"zeroize","req":"^1.7","optional":false,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529530,"version_id":3406131,"crate_id":"async-trait","req":"^0.1.50","optional":true,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529531,"version_id":3406131,"crate_id":"aws-lc-rs","req":"^1.16.2","optional":true,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529538,"version_id":3406131,"crate_id":"criterion","req":"^0.7","optional":true,"default_features":true,"features":["html_reports"],"target":null,"kind":"normal","downloads":0},{"id":38529545,"version_id":3406131,"crate_id":"des","req":"^0.9","optional":true,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529551,"version_id":3406131,"crate_id":"flate2","req":"^1.0.15","optional":true,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529569,"version_id":3406131,"crate_id":"pkcs1","req":"=0.8.0-rc.4","optional":true,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529575,"version_id":3406131,"crate_id":"ring","req":"^0.17.14","optional":true,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":38529576,"version_id":3406131,"crate_id":"rsa","req":"=0.10.0-rc.18","optional":true,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0}]} \ No newline at end of file diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/deps-ssh-key-0.7.0-rc.11.json b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/deps-ssh-key-0.7.0-rc.11.json new file mode 100644 index 0000000000..7f760c6388 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/deps-ssh-key-0.7.0-rc.11.json @@ -0,0 +1 @@ +{"dependencies":[{"id":29612454,"version_id":2672270,"crate_id":"chacha20","req":"^0.10","optional":false,"default_features":true,"features":["rng"],"target":null,"kind":"dev","downloads":0},{"id":29612437,"version_id":2672270,"crate_id":"ctutils","req":"^0.4","optional":false,"default_features":false,"features":[],"target":null,"kind":"normal","downloads":0},{"id":29612455,"version_id":2672270,"crate_id":"getrandom","req":"^0.4","optional":false,"default_features":true,"features":["sys_rng"],"target":null,"kind":"dev","downloads":0},{"id":29612456,"version_id":2672270,"crate_id":"hex-literal","req":"^1","optional":false,"default_features":true,"features":[],"target":null,"kind":"dev","downloads":0},{"id":29612451,"version_id":2672270,"crate_id":"sha2","req":"^0.11","optional":false,"default_features":false,"features":[],"target":null,"kind":"normal","downloads":0},{"id":29612452,"version_id":2672270,"crate_id":"signature","req":"^3","optional":false,"default_features":false,"features":[],"target":null,"kind":"normal","downloads":0},{"id":29612436,"version_id":2672270,"crate_id":"ssh-cipher","req":"^0.3","optional":false,"default_features":true,"features":["encoding","zeroize"],"target":null,"kind":"normal","downloads":0},{"id":29612440,"version_id":2672270,"crate_id":"ssh-encoding","req":"^0.3","optional":false,"default_features":true,"features":["base64","digest","pem","ctutils","zeroize"],"target":null,"kind":"normal","downloads":0},{"id":29612453,"version_id":2672270,"crate_id":"zeroize","req":"^1.9","optional":false,"default_features":false,"features":[],"target":null,"kind":"normal","downloads":0},{"id":29612434,"version_id":2672270,"crate_id":"argon2","req":"^0.6.0-rc.8","optional":true,"default_features":false,"features":["alloc"],"target":null,"kind":"normal","downloads":0},{"id":29612435,"version_id":2672270,"crate_id":"bcrypt-pbkdf","req":"^0.11","optional":true,"default_features":false,"features":["alloc"],"target":null,"kind":"normal","downloads":0},{"id":29612438,"version_id":2672270,"crate_id":"dsa","req":"^0.7.0-rc.16","optional":true,"default_features":false,"features":["hazmat"],"target":null,"kind":"normal","downloads":0},{"id":29612439,"version_id":2672270,"crate_id":"ed25519-dalek","req":"^3.0.0-rc.1","optional":true,"default_features":false,"features":[],"target":null,"kind":"normal","downloads":0},{"id":29612441,"version_id":2672270,"crate_id":"hex","req":"^0.4","optional":true,"default_features":false,"features":["alloc"],"target":null,"kind":"normal","downloads":0},{"id":29612442,"version_id":2672270,"crate_id":"hmac","req":"^0.13","optional":true,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":29612443,"version_id":2672270,"crate_id":"p256","req":"^0.14.0-rc.15","optional":true,"default_features":false,"features":["ecdsa"],"target":null,"kind":"normal","downloads":0},{"id":29612444,"version_id":2672270,"crate_id":"p384","req":"^0.14.0-rc.15","optional":true,"default_features":false,"features":["ecdsa"],"target":null,"kind":"normal","downloads":0},{"id":29612445,"version_id":2672270,"crate_id":"p521","req":"^0.14.0-rc.15","optional":true,"default_features":false,"features":["ecdsa"],"target":null,"kind":"normal","downloads":0},{"id":29612446,"version_id":2672270,"crate_id":"rand_core","req":"^0.10","optional":true,"default_features":false,"features":[],"target":null,"kind":"normal","downloads":0},{"id":29612447,"version_id":2672270,"crate_id":"rsa","req":"^0.10.0-rc.18","optional":true,"default_features":false,"features":["sha2"],"target":null,"kind":"normal","downloads":0},{"id":29612448,"version_id":2672270,"crate_id":"sec1","req":"^0.8","optional":true,"default_features":false,"features":["point"],"target":null,"kind":"normal","downloads":0},{"id":29612449,"version_id":2672270,"crate_id":"serde","req":"^1.0.16","optional":true,"default_features":true,"features":[],"target":null,"kind":"normal","downloads":0},{"id":29612450,"version_id":2672270,"crate_id":"sha1","req":"^0.11","optional":true,"default_features":false,"features":["oid"],"target":null,"kind":"normal","downloads":0}]} \ No newline at end of file diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/deps-x25519-dalek-2.0.1.json b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/deps-x25519-dalek-2.0.1.json new file mode 100644 index 0000000000..8d40d3c995 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/deps-x25519-dalek-2.0.1.json @@ -0,0 +1 @@ +{"dependencies":[{"id":9274417,"version_id":1042240,"crate_id":"bincode","req":"^1","optional":false,"default_features":true,"features":[],"target":null,"kind":"dev","downloads":0},{"id":9274418,"version_id":1042240,"crate_id":"criterion","req":"^0.5","optional":false,"default_features":true,"features":[],"target":null,"kind":"dev","downloads":0},{"id":9274413,"version_id":1042240,"crate_id":"curve25519-dalek","req":"^4","optional":false,"default_features":false,"features":[],"target":null,"kind":"normal","downloads":0},{"id":9274419,"version_id":1042240,"crate_id":"rand_core","req":"^0.6","optional":false,"default_features":false,"features":["getrandom"],"target":null,"kind":"dev","downloads":0},{"id":9274414,"version_id":1042240,"crate_id":"rand_core","req":"^0.6","optional":false,"default_features":false,"features":[],"target":null,"kind":"normal","downloads":0},{"id":9274415,"version_id":1042240,"crate_id":"serde","req":"^1","optional":true,"default_features":false,"features":["derive"],"target":null,"kind":"normal","downloads":0},{"id":9274416,"version_id":1042240,"crate_id":"zeroize","req":"^1","optional":true,"default_features":false,"features":["zeroize_derive"],"target":null,"kind":"normal","downloads":0}]} \ No newline at end of file diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/ed25519-dalek.json b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/ed25519-dalek.json new file mode 100644 index 0000000000..32cc42606c --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/ed25519-dalek.json @@ -0,0 +1 @@ +{"crate":{"id":"ed25519-dalek","name":"ed25519-dalek","updated_at":"2026-07-06T16:23:09.992366Z","versions":[2726873,2598158,2475586,2357302,1998351,1970616,1919264,1865184,1838434,1714808,1634729,1634550,1042241,956742,869648,830442,760012,719261,286087,274815,263099,195310,180253,128791,128786,128754,116411,109758,101415,99924,86393,79692,78044,71342,67480,62520,62518,61417,53333,47900,47898,47816,46053,46051,45034,39284],"keywords":["cryptography","curve25519","ecc","ed25519","signature"],"categories":["cryptography","no-std"],"badges":[],"created_at":"2016-12-09T01:24:53.342073Z","downloads":234114298,"recent_downloads":65887344,"default_version":"3.0.0","num_versions":46,"yanked":false,"max_version":"3.0.0","newest_version":"3.0.0","max_stable_version":"3.0.0","description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek/tree/main/ed25519-dalek","links":{"version_downloads":"/api/v1/crates/ed25519-dalek/downloads","versions":null,"owners":"/api/v1/crates/ed25519-dalek/owners","owner_team":"/api/v1/crates/ed25519-dalek/owner_team","owner_user":"/api/v1/crates/ed25519-dalek/owner_user","reverse_dependencies":"/api/v1/crates/ed25519-dalek/reverse_dependencies"},"exact_match":false,"trustpub_only":false},"versions":[{"id":2726873,"crate":"ed25519-dalek","num":"3.0.0","dl_path":"/api/v1/crates/ed25519-dalek/3.0.0/download","readme_path":"/api/v1/crates/ed25519-dalek/3.0.0/readme","updated_at":"2026-07-06T16:23:09.992366Z","created_at":"2026-07-06T16:23:09.992366Z","downloads":7027837,"features":{"alloc":["curve25519-dalek/alloc","ed25519/alloc","signature/alloc","serde?/alloc","zeroize?/alloc"],"batch":["alloc","dep:keccak","rand_core","strobe-rs"],"default":["fast","zeroize"],"digest":["signature/digest"],"fast":["curve25519-dalek/precomputed-tables"],"hazmat":[],"legacy_compatibility":["curve25519-dalek/legacy_compatibility"],"pem":["alloc","ed25519/pem","pkcs8"],"pkcs8":["ed25519/pkcs8"],"rand_core":["dep:rand_core","curve25519-dalek/rand_core","signature/rand_core"],"serde":["dep:serde","ed25519/serde"],"zeroize":["dep:zeroize","curve25519-dalek/zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/ed25519-dalek/3.0.0/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/3.0.0/downloads","authors":"/api/v1/crates/ed25519-dalek/3.0.0/authors"},"crate_size":102545,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2026-07-06T16:23:09.992366Z"}],"checksum":"6ebaa1a2bf1290ab3bfe5a7b771d050ebffab2711c19a81691c683a5144a25de","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek/tree/main/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":1731,"comment_lines":172,"files":11}},"total_code_lines":1737,"total_comment_lines":174}},{"id":2598158,"crate":"ed25519-dalek","num":"3.0.0-rc.1","dl_path":"/api/v1/crates/ed25519-dalek/3.0.0-rc.1/download","readme_path":"/api/v1/crates/ed25519-dalek/3.0.0-rc.1/readme","updated_at":"2026-06-18T05:46:15.083524Z","created_at":"2026-06-18T05:46:15.083524Z","downloads":681720,"features":{"alloc":["curve25519-dalek/alloc","ed25519/alloc","signature/alloc","serde?/alloc","zeroize?/alloc"],"batch":["alloc","dep:keccak","rand_core","strobe-rs"],"default":["fast","zeroize"],"digest":["signature/digest"],"fast":["curve25519-dalek/precomputed-tables"],"hazmat":[],"legacy_compatibility":["curve25519-dalek/legacy_compatibility"],"pem":["alloc","ed25519/pem","pkcs8"],"pkcs8":["ed25519/pkcs8"],"rand_core":["dep:rand_core"],"serde":["dep:serde","ed25519/serde"],"zeroize":["dep:zeroize","curve25519-dalek/zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/ed25519-dalek/3.0.0-rc.1/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/3.0.0-rc.1/downloads","authors":"/api/v1/crates/ed25519-dalek/3.0.0-rc.1/authors"},"crate_size":102198,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2026-06-18T05:46:15.083524Z"}],"checksum":"1685663e23882cd8517dcbcb1c23a6ebff4433c22dfb681d760219b62cd1b849","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek/tree/main/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":1698,"comment_lines":172,"files":11}},"total_code_lines":1704,"total_comment_lines":174}},{"id":2475586,"crate":"ed25519-dalek","num":"3.0.0-rc.0","dl_path":"/api/v1/crates/ed25519-dalek/3.0.0-rc.0/download","readme_path":"/api/v1/crates/ed25519-dalek/3.0.0-rc.0/readme","updated_at":"2026-05-28T23:00:25.352747Z","created_at":"2026-05-28T23:00:25.352747Z","downloads":1709941,"features":{"alloc":["curve25519-dalek/alloc","ed25519/alloc","signature/alloc","serde?/alloc","zeroize?/alloc"],"batch":["alloc","dep:keccak","rand_core","strobe-rs"],"default":["fast","zeroize"],"digest":["signature/digest"],"fast":["curve25519-dalek/precomputed-tables"],"hazmat":[],"legacy_compatibility":["curve25519-dalek/legacy_compatibility"],"pem":["alloc","ed25519/pem","pkcs8"],"pkcs8":["ed25519/pkcs8"],"rand_core":["dep:rand_core"],"serde":["dep:serde","ed25519/serde"],"zeroize":["dep:zeroize","curve25519-dalek/zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/ed25519-dalek/3.0.0-rc.0/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/3.0.0-rc.0/downloads","authors":"/api/v1/crates/ed25519-dalek/3.0.0-rc.0/authors"},"crate_size":102179,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2026-05-28T23:00:25.352747Z"}],"checksum":"b011170fe4f04665565b4110afef66774fe9ffff278f3eb5b81cc73d26e27d60","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek/tree/main/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":1696,"comment_lines":172,"files":11}},"total_code_lines":1702,"total_comment_lines":174}},{"id":2357302,"crate":"ed25519-dalek","num":"3.0.0-pre.7","dl_path":"/api/v1/crates/ed25519-dalek/3.0.0-pre.7/download","readme_path":"/api/v1/crates/ed25519-dalek/3.0.0-pre.7/readme","updated_at":"2026-05-06T14:13:41.952487Z","created_at":"2026-05-06T14:13:41.952487Z","downloads":777039,"features":{"alloc":["curve25519-dalek/alloc","ed25519/alloc","signature/alloc","serde?/alloc","zeroize?/alloc"],"batch":["alloc","dep:keccak","rand_core","strobe-rs"],"default":["fast","zeroize"],"digest":["signature/digest"],"fast":["curve25519-dalek/precomputed-tables"],"hazmat":[],"legacy_compatibility":["curve25519-dalek/legacy_compatibility"],"pem":["alloc","ed25519/pem","pkcs8"],"pkcs8":["ed25519/pkcs8"],"rand_core":["dep:rand_core"],"serde":["dep:serde","ed25519/serde"],"zeroize":["dep:zeroize","curve25519-dalek/zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/ed25519-dalek/3.0.0-pre.7/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/3.0.0-pre.7/downloads","authors":"/api/v1/crates/ed25519-dalek/3.0.0-pre.7/authors"},"crate_size":102172,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2026-05-06T14:13:41.952487Z"}],"checksum":"20449acd54b660981ae5caa2bcb56d1fe7f25f2e37a38ec507400fab034d4bb6","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek/tree/main/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":1696,"comment_lines":172,"files":11}},"total_code_lines":1702,"total_comment_lines":174}},{"id":1998351,"crate":"ed25519-dalek","num":"3.0.0-pre.6","dl_path":"/api/v1/crates/ed25519-dalek/3.0.0-pre.6/download","readme_path":"/api/v1/crates/ed25519-dalek/3.0.0-pre.6/readme","updated_at":"2026-02-04T15:26:42.006996Z","created_at":"2026-02-04T15:26:42.006996Z","downloads":1188220,"features":{"alloc":["curve25519-dalek/alloc","ed25519/alloc","signature/alloc","serde?/alloc","zeroize?/alloc"],"batch":["alloc","dep:keccak","rand_core"],"default":["fast","zeroize"],"digest":["signature/digest"],"fast":["curve25519-dalek/precomputed-tables"],"hazmat":[],"legacy_compatibility":["curve25519-dalek/legacy_compatibility"],"pem":["alloc","ed25519/pem","pkcs8"],"pkcs8":["ed25519/pkcs8"],"rand_core":["dep:rand_core"],"serde":["dep:serde","ed25519/serde"],"zeroize":["dep:zeroize","curve25519-dalek/zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/ed25519-dalek/3.0.0-pre.6/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/3.0.0-pre.6/downloads","authors":"/api/v1/crates/ed25519-dalek/3.0.0-pre.6/authors"},"crate_size":103180,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2026-02-04T15:26:42.006996Z"}],"checksum":"053618a4c3d3bc24f188aa660ae75a46eeab74ef07fb415c61431e5e7cd4749b","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek/tree/main/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":1872,"comment_lines":180,"files":12}},"total_code_lines":1878,"total_comment_lines":182}},{"id":1970616,"crate":"ed25519-dalek","num":"3.0.0-pre.5","dl_path":"/api/v1/crates/ed25519-dalek/3.0.0-pre.5/download","readme_path":"/api/v1/crates/ed25519-dalek/3.0.0-pre.5/readme","updated_at":"2026-01-25T01:18:18.149509Z","created_at":"2026-01-25T01:18:18.149509Z","downloads":12278,"features":{"alloc":["curve25519-dalek/alloc","ed25519/alloc","signature/alloc","serde?/alloc","zeroize?/alloc"],"batch":["alloc","dep:keccak","rand_core"],"default":["fast","zeroize"],"digest":["signature/digest"],"fast":["curve25519-dalek/precomputed-tables"],"hazmat":[],"legacy_compatibility":["curve25519-dalek/legacy_compatibility"],"pem":["alloc","ed25519/pem","pkcs8"],"pkcs8":["ed25519/pkcs8"],"rand_core":["dep:rand_core"],"serde":["dep:serde","ed25519/serde"],"zeroize":["dep:zeroize","curve25519-dalek/zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/ed25519-dalek/3.0.0-pre.5/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/3.0.0-pre.5/downloads","authors":"/api/v1/crates/ed25519-dalek/3.0.0-pre.5/authors"},"crate_size":105090,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2026-01-25T01:18:18.149509Z"}],"checksum":"416904184c8542e5e4f6c052fdfb377164ab462706ce3a496641aa9ea6a1e172","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek/tree/main/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":1872,"comment_lines":180,"files":12}},"total_code_lines":1878,"total_comment_lines":182}},{"id":1919264,"crate":"ed25519-dalek","num":"3.0.0-pre.4","dl_path":"/api/v1/crates/ed25519-dalek/3.0.0-pre.4/download","readme_path":"/api/v1/crates/ed25519-dalek/3.0.0-pre.4/readme","updated_at":"2026-01-03T18:38:29.921696Z","created_at":"2026-01-03T18:38:29.921696Z","downloads":42787,"features":{"alloc":["curve25519-dalek/alloc","ed25519/alloc","signature/alloc","serde?/alloc","zeroize?/alloc"],"batch":["alloc","dep:keccak","rand_core"],"default":["fast","zeroize"],"digest":["signature/digest"],"fast":["curve25519-dalek/precomputed-tables"],"hazmat":[],"legacy_compatibility":["curve25519-dalek/legacy_compatibility"],"pem":["alloc","ed25519/pem","pkcs8"],"pkcs8":["ed25519/pkcs8"],"rand_core":["dep:rand_core"],"serde":["dep:serde","ed25519/serde"],"zeroize":["dep:zeroize","curve25519-dalek/zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/ed25519-dalek/3.0.0-pre.4/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/3.0.0-pre.4/downloads","authors":"/api/v1/crates/ed25519-dalek/3.0.0-pre.4/authors"},"crate_size":104058,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2026-01-03T18:38:29.921696Z"}],"checksum":"a4b9f613e0c236c699bf70d39f825594d9b03aadfd8dd856ea40685f782a4ef2","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek/tree/main/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":1860,"comment_lines":180,"files":12}},"total_code_lines":1866,"total_comment_lines":182}},{"id":1865184,"crate":"ed25519-dalek","num":"3.0.0-pre.3","dl_path":"/api/v1/crates/ed25519-dalek/3.0.0-pre.3/download","readme_path":"/api/v1/crates/ed25519-dalek/3.0.0-pre.3/readme","updated_at":"2025-12-07T16:55:33.859572Z","created_at":"2025-12-07T16:55:33.859572Z","downloads":2026,"features":{"alloc":["curve25519-dalek/alloc","ed25519/alloc","signature/alloc","serde?/alloc","zeroize?/alloc"],"batch":["alloc","dep:keccak","rand_core"],"default":["fast","zeroize"],"digest":["signature/digest"],"fast":["curve25519-dalek/precomputed-tables"],"hazmat":[],"legacy_compatibility":["curve25519-dalek/legacy_compatibility"],"pem":["alloc","ed25519/pem","pkcs8"],"pkcs8":["ed25519/pkcs8"],"rand_core":["dep:rand_core"],"serde":["dep:serde","ed25519/serde"],"zeroize":["dep:zeroize","curve25519-dalek/zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/ed25519-dalek/3.0.0-pre.3/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/3.0.0-pre.3/downloads","authors":"/api/v1/crates/ed25519-dalek/3.0.0-pre.3/authors"},"crate_size":104039,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2025-12-07T16:55:33.859572Z"}],"checksum":"5d6d275a4ffdfc16e98fbcb5f5417214a06957c7cdc6eb2815c2dc50dce1c1dd","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek/tree/main/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":1860,"comment_lines":180,"files":12}},"total_code_lines":1866,"total_comment_lines":182}},{"id":1838434,"crate":"ed25519-dalek","num":"3.0.0-pre.2","dl_path":"/api/v1/crates/ed25519-dalek/3.0.0-pre.2/download","readme_path":"/api/v1/crates/ed25519-dalek/3.0.0-pre.2/readme","updated_at":"2025-11-22T21:26:32.555412Z","created_at":"2025-11-22T21:26:32.555412Z","downloads":12070,"features":{"alloc":["curve25519-dalek/alloc","ed25519/alloc","signature/alloc","serde?/alloc","zeroize?/alloc"],"batch":["alloc","dep:keccak","rand_core"],"default":["fast","zeroize"],"digest":["signature/digest"],"fast":["curve25519-dalek/precomputed-tables"],"hazmat":[],"legacy_compatibility":["curve25519-dalek/legacy_compatibility"],"pem":["alloc","ed25519/pem","pkcs8"],"pkcs8":["ed25519/pkcs8"],"rand_core":["dep:rand_core"],"serde":["dep:serde","ed25519/serde"],"zeroize":["dep:zeroize","curve25519-dalek/zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/ed25519-dalek/3.0.0-pre.2/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/3.0.0-pre.2/downloads","authors":"/api/v1/crates/ed25519-dalek/3.0.0-pre.2/authors"},"crate_size":104079,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2025-11-22T21:26:32.555412Z"}],"checksum":"fbef01b6e6a5f913ae480bb34ddd798ce6d358054bebf77177200ec84af61ad5","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek/tree/main/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":1861,"comment_lines":180,"files":12}},"total_code_lines":1867,"total_comment_lines":182}},{"id":1714808,"crate":"ed25519-dalek","num":"3.0.0-pre.1","dl_path":"/api/v1/crates/ed25519-dalek/3.0.0-pre.1/download","readme_path":"/api/v1/crates/ed25519-dalek/3.0.0-pre.1/readme","updated_at":"2025-09-04T15:45:03.350349Z","created_at":"2025-09-04T15:45:03.350349Z","downloads":1281058,"features":{"alloc":["curve25519-dalek/alloc","ed25519/alloc","signature/alloc","serde?/alloc","zeroize?/alloc"],"batch":["alloc","dep:keccak","rand_core"],"default":["fast","zeroize"],"digest":["signature/digest"],"fast":["curve25519-dalek/precomputed-tables"],"hazmat":[],"legacy_compatibility":["curve25519-dalek/legacy_compatibility"],"pem":["alloc","ed25519/pem","pkcs8"],"pkcs8":["ed25519/pkcs8"],"rand_core":["dep:rand_core"],"serde":["dep:serde","ed25519/serde"],"zeroize":["dep:zeroize","curve25519-dalek/zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/ed25519-dalek/3.0.0-pre.1/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/3.0.0-pre.1/downloads","authors":"/api/v1/crates/ed25519-dalek/3.0.0-pre.1/authors"},"crate_size":103962,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2025-09-04T15:45:03.350349Z"}],"checksum":"ad207ed88a133091f83224265eac21109930db09bedcad05d5252f2af2de20a1","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek/tree/main/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":1837,"comment_lines":180,"files":12}},"total_code_lines":1843,"total_comment_lines":182}},{"id":1634729,"crate":"ed25519-dalek","num":"3.0.0-pre.0","dl_path":"/api/v1/crates/ed25519-dalek/3.0.0-pre.0/download","readme_path":"/api/v1/crates/ed25519-dalek/3.0.0-pre.0/readme","updated_at":"2025-07-09T17:58:13.332257Z","created_at":"2025-07-09T17:58:13.332257Z","downloads":10460,"features":{"alloc":["curve25519-dalek/alloc","ed25519/alloc","signature/alloc","serde?/alloc","zeroize?/alloc"],"batch":["alloc","dep:keccak","rand_core"],"default":["fast","zeroize"],"digest":["signature/digest"],"fast":["curve25519-dalek/precomputed-tables"],"hazmat":[],"legacy_compatibility":["curve25519-dalek/legacy_compatibility"],"pem":["alloc","ed25519/pem","pkcs8"],"pkcs8":["ed25519/pkcs8"],"rand_core":["dep:rand_core"],"serde":["dep:serde","ed25519/serde"],"zeroize":["dep:zeroize","curve25519-dalek/zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/ed25519-dalek/3.0.0-pre.0/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/3.0.0-pre.0/downloads","authors":"/api/v1/crates/ed25519-dalek/3.0.0-pre.0/authors"},"crate_size":102764,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2025-07-09T17:58:13.332257Z"}],"checksum":"5e0db9678ad1873a245383faabce5bf0636b15edc8742f7bf5425f3a82d74c49","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek/tree/main/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":1814,"comment_lines":180,"files":12}},"total_code_lines":1820,"total_comment_lines":182}},{"id":1634550,"crate":"ed25519-dalek","num":"2.2.0","dl_path":"/api/v1/crates/ed25519-dalek/2.2.0/download","readme_path":"/api/v1/crates/ed25519-dalek/2.2.0/readme","updated_at":"2025-07-09T16:24:38.881019Z","created_at":"2025-07-09T16:24:38.881019Z","downloads":99311004,"features":{"alloc":["curve25519-dalek/alloc","ed25519/alloc","serde?/alloc","zeroize/alloc"],"asm":["sha2/asm"],"batch":["alloc","merlin","rand_core"],"default":["fast","std","zeroize"],"digest":["signature/digest"],"fast":["curve25519-dalek/precomputed-tables"],"hazmat":[],"legacy_compatibility":["curve25519-dalek/legacy_compatibility"],"pem":["alloc","ed25519/pem","pkcs8"],"pkcs8":["ed25519/pkcs8"],"rand_core":["dep:rand_core"],"serde":["dep:serde","ed25519/serde"],"std":["alloc","ed25519/std","serde?/std","sha2/std"],"zeroize":["dep:zeroize","curve25519-dalek/zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/ed25519-dalek/2.2.0/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/2.2.0/downloads","authors":"/api/v1/crates/ed25519-dalek/2.2.0/authors"},"crate_size":98034,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2025-07-09T16:24:38.881019Z"}],"checksum":"70e796c081cee67dc755e1a36a0a172b897fab85fc3f6bc48307991f64e4eca9","rust_version":"1.81","has_lib":true,"bin_names":[],"edition":"2021","description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek/tree/main/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":1458,"comment_lines":162,"files":10}},"total_code_lines":1464,"total_comment_lines":164}},{"id":1042241,"crate":"ed25519-dalek","num":"2.1.1","dl_path":"/api/v1/crates/ed25519-dalek/2.1.1/download","readme_path":"/api/v1/crates/ed25519-dalek/2.1.1/readme","updated_at":"2024-02-07T01:14:29.540135Z","created_at":"2024-02-07T01:14:29.540135Z","downloads":74315342,"features":{"alloc":["curve25519-dalek/alloc","ed25519/alloc","serde?/alloc","zeroize/alloc"],"asm":["sha2/asm"],"batch":["alloc","merlin","rand_core"],"default":["fast","std","zeroize"],"digest":["signature/digest"],"fast":["curve25519-dalek/precomputed-tables"],"hazmat":[],"legacy_compatibility":["curve25519-dalek/legacy_compatibility"],"pem":["alloc","ed25519/pem","pkcs8"],"pkcs8":["ed25519/pkcs8"],"rand_core":["dep:rand_core"],"serde":["dep:serde","ed25519/serde"],"std":["alloc","ed25519/std","serde?/std","sha2/std"],"zeroize":["dep:zeroize","curve25519-dalek/zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/ed25519-dalek/2.1.1/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/2.1.1/downloads","authors":"/api/v1/crates/ed25519-dalek/2.1.1/authors"},"crate_size":85736,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2024-02-07T01:14:29.540135Z"}],"checksum":"4a3daa8e81a3963a60642bcc1f90a670680bd4a77535faa384e9d1c79d620871","rust_version":"1.60","has_lib":true,"bin_names":[],"edition":"2021","description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek/tree/main/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":1279,"comment_lines":165,"files":9}},"total_code_lines":1285,"total_comment_lines":167}},{"id":956742,"crate":"ed25519-dalek","num":"2.1.0","dl_path":"/api/v1/crates/ed25519-dalek/2.1.0/download","readme_path":"/api/v1/crates/ed25519-dalek/2.1.0/readme","updated_at":"2023-11-16T07:50:27.646121Z","created_at":"2023-11-16T07:50:27.646121Z","downloads":3451823,"features":{"alloc":["curve25519-dalek/alloc","ed25519/alloc","serde?/alloc","zeroize/alloc"],"asm":["sha2/asm"],"batch":["alloc","merlin","rand_core"],"default":["fast","std","zeroize"],"digest":["signature/digest"],"fast":["curve25519-dalek/precomputed-tables"],"hazmat":[],"legacy_compatibility":["curve25519-dalek/legacy_compatibility"],"pem":["alloc","ed25519/pem","pkcs8"],"pkcs8":["ed25519/pkcs8"],"rand_core":["dep:rand_core"],"serde":["dep:serde","ed25519/serde"],"std":["alloc","ed25519/std","serde?/std","sha2/std"],"zeroize":["dep:zeroize","curve25519-dalek/zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/ed25519-dalek/2.1.0/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/2.1.0/downloads","authors":"/api/v1/crates/ed25519-dalek/2.1.0/authors"},"crate_size":85752,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2023-11-16T07:50:27.646121Z"}],"checksum":"1f628eaec48bfd21b865dc2950cfa014450c01d2fa2b69a86c2fd5844ec523c0","rust_version":"1.60","has_lib":true,"bin_names":[],"edition":"2021","description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":"https://github.com/dalek-cryptography/curve25519-dalek","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/dalek-cryptography/curve25519-dalek/tree/main/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":1285,"comment_lines":165,"files":9}},"total_code_lines":1291,"total_comment_lines":167}},{"id":869648,"crate":"ed25519-dalek","num":"2.0.0","dl_path":"/api/v1/crates/ed25519-dalek/2.0.0/download","readme_path":"/api/v1/crates/ed25519-dalek/2.0.0/readme","updated_at":"2023-08-11T15:39:25.103742Z","created_at":"2023-08-11T15:39:25.103742Z","downloads":7366481,"features":{"alloc":["curve25519-dalek/alloc","ed25519/alloc","serde?/alloc","zeroize/alloc"],"asm":["sha2/asm"],"batch":["alloc","merlin","rand_core"],"default":["fast","std","zeroize"],"digest":["signature/digest"],"fast":["curve25519-dalek/precomputed-tables"],"hazmat":[],"legacy_compatibility":["curve25519-dalek/legacy_compatibility"],"pem":["alloc","ed25519/pem","pkcs8"],"pkcs8":["ed25519/pkcs8"],"rand_core":["dep:rand_core"],"serde":["dep:serde","ed25519/serde"],"std":["alloc","ed25519/std","serde?/std","sha2/std"],"zeroize":["dep:zeroize","curve25519-dalek/zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/ed25519-dalek/2.0.0/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/2.0.0/downloads","authors":"/api/v1/crates/ed25519-dalek/2.0.0/authors"},"crate_size":84071,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2023-08-11T15:39:25.103742Z"}],"checksum":"7277392b266383ef8396db7fdeb1e77b6c52fed775f5df15bb24f35b72156980","rust_version":"1.60","has_lib":true,"bin_names":[],"edition":"2021","description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":null,"documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/dalek-cryptography/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":1251,"comment_lines":155,"files":9}},"total_code_lines":1257,"total_comment_lines":157}},{"id":830442,"crate":"ed25519-dalek","num":"2.0.0-rc.3","dl_path":"/api/v1/crates/ed25519-dalek/2.0.0-rc.3/download","readme_path":"/api/v1/crates/ed25519-dalek/2.0.0-rc.3/readme","updated_at":"2023-06-24T04:00:48.537176Z","created_at":"2023-06-24T04:00:48.537176Z","downloads":110265,"features":{"alloc":["curve25519-dalek/alloc","ed25519/alloc","serde?/alloc","zeroize/alloc"],"asm":["sha2/asm"],"batch":["alloc","merlin","rand_core"],"default":["fast","std","zeroize"],"digest":["signature/digest"],"fast":["curve25519-dalek/precomputed-tables"],"hazmat":[],"legacy_compatibility":["curve25519-dalek/legacy_compatibility"],"pem":["alloc","ed25519/pem","pkcs8"],"pkcs8":["ed25519/pkcs8"],"rand_core":["dep:rand_core"],"serde":["dep:serde","ed25519/serde"],"std":["alloc","ed25519/std","serde?/std","sha2/std"],"zeroize":["dep:zeroize","curve25519-dalek/zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/ed25519-dalek/2.0.0-rc.3/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/2.0.0-rc.3/downloads","authors":"/api/v1/crates/ed25519-dalek/2.0.0-rc.3/authors"},"crate_size":85426,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2023-06-24T04:00:48.537176Z"}],"checksum":"faa8e9049d5d72bfc12acbc05914731b5322f79b5e2f195e9f2d705fca22ab4c","rust_version":"1.60","has_lib":true,"bin_names":[],"edition":"2021","description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":null,"documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/dalek-cryptography/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":1264,"comment_lines":159,"files":9}},"total_code_lines":1270,"total_comment_lines":161}},{"id":760012,"crate":"ed25519-dalek","num":"2.0.0-rc.2","dl_path":"/api/v1/crates/ed25519-dalek/2.0.0-rc.2/download","readme_path":"/api/v1/crates/ed25519-dalek/2.0.0-rc.2/readme","updated_at":"2023-03-26T15:28:49.417079Z","created_at":"2023-03-26T15:28:49.417079Z","downloads":217047,"features":{"alloc":["curve25519-dalek/alloc","ed25519/alloc","serde?/alloc","zeroize/alloc"],"asm":["sha2/asm"],"batch":["alloc","merlin","rand_core"],"default":["fast","std","zeroize"],"digest":["signature/digest"],"fast":["curve25519-dalek/precomputed-tables"],"legacy_compatibility":[],"pem":["alloc","ed25519/pem","pkcs8"],"pkcs8":["ed25519/pkcs8"],"rand_core":["dep:rand_core"],"serde":["dep:serde","ed25519/serde"],"std":["alloc","ed25519/std","serde?/std","sha2/std"],"zeroize":["dep:zeroize","curve25519-dalek/zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/ed25519-dalek/2.0.0-rc.2/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/2.0.0-rc.2/downloads","authors":"/api/v1/crates/ed25519-dalek/2.0.0-rc.2/authors"},"crate_size":82007,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2023-03-26T15:28:49.417079Z"}],"checksum":"798f704d128510932661a3489b08e3f4c934a01d61c5def59ae7b8e48f19665a","rust_version":"1.60","has_lib":true,"bin_names":[],"edition":"2021","description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":null,"documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/dalek-cryptography/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":1073,"comment_lines":164,"files":8}},"total_code_lines":1079,"total_comment_lines":166}},{"id":719261,"crate":"ed25519-dalek","num":"2.0.0-pre.0","dl_path":"/api/v1/crates/ed25519-dalek/2.0.0-pre.0/download","readme_path":"/api/v1/crates/ed25519-dalek/2.0.0-pre.0/readme","updated_at":"2023-02-04T18:11:34.200787Z","created_at":"2023-02-04T18:11:34.200787Z","downloads":81403,"features":{"alloc":["curve25519-dalek/alloc","ed25519/alloc","serde?/alloc","zeroize/alloc"],"asm":["sha2/asm"],"batch":["alloc","merlin","rand_core"],"default":["fast","std","zeroize"],"digest":["signature/digest"],"fast":["curve25519-dalek/precomputed-tables"],"legacy_compatibility":[],"pem":["alloc","ed25519/pem","pkcs8"],"pkcs8":["ed25519/pkcs8"],"rand_core":["dep:rand_core"],"serde":["dep:serde","serde_bytes","ed25519/serde"],"std":["alloc","ed25519/std","serde?/std","sha2/std"],"zeroize":["dep:zeroize","curve25519-dalek/zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/ed25519-dalek/2.0.0-pre.0/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/2.0.0-pre.0/downloads","authors":"/api/v1/crates/ed25519-dalek/2.0.0-pre.0/authors"},"crate_size":81053,"published_by":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"audit_actions":[{"action":"publish","user":{"id":6979,"login":"rozbb","name":"Michael Rosenberg","avatar":"https://avatars.githubusercontent.com/u/752802?v=4","url":"https://github.com/rozbb","github_username_matches":true,"created_at":"2011-04-26T16:15:08Z"},"time":"2023-02-04T18:11:34.200787Z"}],"checksum":"7bd577ba9d4bcab443cac60003d8fd32c638e7024a3ec92c200d7af5d2c397ed","rust_version":"1.60","has_lib":true,"bin_names":[],"edition":"2021","description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":null,"documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/dalek-cryptography/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"HTML":{"code_lines":6,"comment_lines":2,"files":1},"Rust":{"code_lines":1014,"comment_lines":164,"files":8}},"total_code_lines":1020,"total_comment_lines":166}},{"id":286087,"crate":"ed25519-dalek","num":"1.0.1","dl_path":"/api/v1/crates/ed25519-dalek/1.0.1/download","readme_path":"/api/v1/crates/ed25519-dalek/1.0.1/readme","updated_at":"2020-09-22T02:01:04.148204Z","created_at":"2020-09-22T02:01:04.148204Z","downloads":34292289,"features":{"alloc":["curve25519-dalek/alloc","rand/alloc","zeroize/alloc"],"asm":["sha2/asm"],"batch":["merlin","rand"],"batch_deterministic":["merlin","rand","rand_core"],"default":["std","rand","u64_backend"],"legacy_compatibility":[],"nightly":["curve25519-dalek/nightly"],"serde":["serde_crate","serde_bytes","ed25519/serde"],"simd_backend":["curve25519-dalek/simd_backend"],"std":["curve25519-dalek/std","ed25519/std","serde_crate/std","sha2/std","rand/std"],"u32_backend":["curve25519-dalek/u32_backend"],"u64_backend":["curve25519-dalek/u64_backend"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/ed25519-dalek/1.0.1/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/1.0.1/downloads","authors":"/api/v1/crates/ed25519-dalek/1.0.1/authors"},"crate_size":29460,"published_by":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"audit_actions":[{"action":"publish","user":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"time":"2020-09-22T02:01:04.148204Z"}],"checksum":"c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":"https://dalek.rs","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/dalek-cryptography/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":848,"comment_lines":135,"files":8}},"total_code_lines":848,"total_comment_lines":135}},{"id":274815,"crate":"ed25519-dalek","num":"1.0.0","dl_path":"/api/v1/crates/ed25519-dalek/1.0.0/download","readme_path":"/api/v1/crates/ed25519-dalek/1.0.0/readme","updated_at":"2020-08-20T22:57:31.519463Z","created_at":"2020-08-20T22:57:31.519463Z","downloads":171656,"features":{"alloc":["curve25519-dalek/alloc","rand/alloc","zeroize/alloc"],"asm":["sha2/asm"],"batch":["merlin","rand"],"batch_deterministic":["merlin","rand","rand_core"],"default":["std","u64_backend"],"legacy_compatibility":[],"nightly":["curve25519-dalek/nightly","rand/nightly"],"serde":["serde_crate","ed25519/serde"],"simd_backend":["curve25519-dalek/simd_backend"],"std":["curve25519-dalek/std","ed25519/std","serde_crate/std","sha2/std","rand/std"],"u32_backend":["curve25519-dalek/u32_backend"],"u64_backend":["curve25519-dalek/u64_backend"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/ed25519-dalek/1.0.0/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/1.0.0/downloads","authors":"/api/v1/crates/ed25519-dalek/1.0.0/authors"},"crate_size":28510,"published_by":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"audit_actions":[{"action":"publish","user":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"time":"2020-08-20T22:57:31.519463Z"}],"checksum":"53d2e93f837d749c16d118e7ddf7a4dfd0ac8f452cf51e46e9348824e5ef6851","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":"https://dalek.rs","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/dalek-cryptography/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":930,"comment_lines":136,"files":8}},"total_code_lines":930,"total_comment_lines":136}},{"id":263099,"crate":"ed25519-dalek","num":"1.0.0-pre.4","dl_path":"/api/v1/crates/ed25519-dalek/1.0.0-pre.4/download","readme_path":"/api/v1/crates/ed25519-dalek/1.0.0-pre.4/readme","updated_at":"2020-07-16T23:32:54.498707Z","created_at":"2020-07-16T23:32:54.498707Z","downloads":330977,"features":{"alloc":["curve25519-dalek/alloc","rand/alloc","zeroize/alloc"],"asm":["sha2/asm"],"batch":["merlin","rand"],"batch_deterministic":["merlin","rand","rand_core"],"default":["std","u64_backend"],"legacy_compatibility":[],"nightly":["curve25519-dalek/nightly","rand/nightly"],"serde":["serde_crate","ed25519/serde"],"simd_backend":["curve25519-dalek/simd_backend"],"std":["curve25519-dalek/std","ed25519/std","serde_crate/std","sha2/std","rand/std"],"u32_backend":["curve25519-dalek/u32_backend"],"u64_backend":["curve25519-dalek/u64_backend"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/ed25519-dalek/1.0.0-pre.4/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/1.0.0-pre.4/downloads","authors":"/api/v1/crates/ed25519-dalek/1.0.0-pre.4/authors"},"crate_size":28526,"published_by":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"audit_actions":[{"action":"publish","user":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"time":"2020-07-16T23:32:54.498707Z"}],"checksum":"21a8a37f4e8b35af971e6db5e3897e7a6344caa3f92f6544f88125a1f5f0035a","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":"https://dalek.rs","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/dalek-cryptography/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":930,"comment_lines":136,"files":8}},"total_code_lines":930,"total_comment_lines":136}},{"id":195310,"crate":"ed25519-dalek","num":"1.0.0-pre.3","dl_path":"/api/v1/crates/ed25519-dalek/1.0.0-pre.3/download","readme_path":"/api/v1/crates/ed25519-dalek/1.0.0-pre.3/readme","updated_at":"2019-12-09T20:47:16.124515Z","created_at":"2019-12-09T20:47:16.124515Z","downloads":868566,"features":{"alloc":["curve25519-dalek/alloc","rand/alloc"],"asm":["sha2/asm"],"batch":["merlin","rand"],"batch_deterministic":["merlin","rand","rand_core"],"default":["std","u64_backend"],"legacy_compatibility":[],"nightly":["curve25519-dalek/nightly","clear_on_drop/nightly","rand/nightly"],"simd_backend":["curve25519-dalek/simd_backend"],"std":["curve25519-dalek/std","sha2/std","rand/std"],"u32_backend":["curve25519-dalek/u32_backend"],"u64_backend":["curve25519-dalek/u64_backend"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/ed25519-dalek/1.0.0-pre.3/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/1.0.0-pre.3/downloads","authors":"/api/v1/crates/ed25519-dalek/1.0.0-pre.3/authors"},"crate_size":27395,"published_by":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"audit_actions":[{"action":"publish","user":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"time":"2019-12-09T20:47:16.124515Z"}],"checksum":"978710b352437433c97b2bff193f2fb1dfd58a093f863dd95e225a19baa599a2","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":"https://dalek.rs","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/dalek-cryptography/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":911,"comment_lines":134,"files":8}},"total_code_lines":911,"total_comment_lines":134}},{"id":180253,"crate":"ed25519-dalek","num":"1.0.0-pre.2","dl_path":"/api/v1/crates/ed25519-dalek/1.0.0-pre.2/download","readme_path":"/api/v1/crates/ed25519-dalek/1.0.0-pre.2/readme","updated_at":"2019-10-04T02:41:11.685381Z","created_at":"2019-10-04T02:41:11.685381Z","downloads":204373,"features":{"alloc":["curve25519-dalek/alloc","rand_os"],"asm":["sha2/asm"],"avx2_backend":["curve25519-dalek/avx2_backend"],"batch":["rand"],"default":["std","u64_backend"],"nightly":["curve25519-dalek/nightly","clear_on_drop/nightly"],"std":["curve25519-dalek/std","rand_os","sha2/std"],"u32_backend":["curve25519-dalek/u32_backend"],"u64_backend":["curve25519-dalek/u64_backend"],"yolocrypto":["curve25519-dalek/yolocrypto"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/ed25519-dalek/1.0.0-pre.2/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/1.0.0-pre.2/downloads","authors":"/api/v1/crates/ed25519-dalek/1.0.0-pre.2/authors"},"crate_size":21871,"published_by":{"id":5289,"login":"isislovecruft","name":"isis agora lovecruft","avatar":"https://avatars.githubusercontent.com/u/907241?v=4","url":"https://github.com/isislovecruft","github_username_matches":true,"created_at":"2011-07-11T08:16:06Z"},"audit_actions":[],"checksum":"845aaacc16f01178f33349e7c992ecd0cee095aa5e577f0f4dee35971bd36455","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":"https://dalek.rs","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/dalek-cryptography/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":778,"comment_lines":104,"files":7}},"total_code_lines":778,"total_comment_lines":104}},{"id":128791,"crate":"ed25519-dalek","num":"1.0.0-pre.1","dl_path":"/api/v1/crates/ed25519-dalek/1.0.0-pre.1/download","readme_path":"/api/v1/crates/ed25519-dalek/1.0.0-pre.1/readme","updated_at":"2019-01-18T05:43:21.525721Z","created_at":"2019-01-18T05:43:21.525721Z","downloads":309754,"features":{"alloc":["curve25519-dalek/alloc"],"asm":["sha2/asm"],"avx2_backend":["curve25519-dalek/avx2_backend"],"default":["std","u64_backend"],"nightly":["curve25519-dalek/nightly","rand/nightly","clear_on_drop/nightly"],"std":["curve25519-dalek/std","rand/std","sha2/std"],"u32_backend":["curve25519-dalek/u32_backend"],"u64_backend":["curve25519-dalek/u64_backend"],"yolocrypto":["curve25519-dalek/yolocrypto"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/ed25519-dalek/1.0.0-pre.1/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/1.0.0-pre.1/downloads","authors":"/api/v1/crates/ed25519-dalek/1.0.0-pre.1/authors"},"crate_size":21558,"published_by":null,"audit_actions":[],"checksum":"81956bcf7ef761fb4e1d88de3fa181358a0d26cbcb9755b587a08f9119824b86","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":"https://dalek.rs","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/dalek-cryptography/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":770,"comment_lines":104,"files":7}},"total_code_lines":770,"total_comment_lines":104}},{"id":128786,"crate":"ed25519-dalek","num":"0.9.1","dl_path":"/api/v1/crates/ed25519-dalek/0.9.1/download","readme_path":"/api/v1/crates/ed25519-dalek/0.9.1/readme","updated_at":"2019-01-18T04:49:38.233926Z","created_at":"2019-01-18T04:49:38.233926Z","downloads":179702,"features":{"alloc":["curve25519-dalek/alloc"],"asm":["sha2/asm"],"avx2_backend":["curve25519-dalek/avx2_backend"],"default":["std","u64_backend"],"nightly":["curve25519-dalek/nightly","rand/nightly","clear_on_drop/nightly"],"std":["curve25519-dalek/std"],"u32_backend":["curve25519-dalek/u32_backend"],"u64_backend":["curve25519-dalek/u64_backend"],"yolocrypto":["curve25519-dalek/yolocrypto"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/ed25519-dalek/0.9.1/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/0.9.1/downloads","authors":"/api/v1/crates/ed25519-dalek/0.9.1/authors"},"crate_size":21297,"published_by":null,"audit_actions":[],"checksum":"2d07e8b8a8386c3b89a7a4b329fdfa4cb545de2545e9e2ebbc3dd3929253e426","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":"https://dalek.rs","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/dalek-cryptography/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":847,"comment_lines":80,"files":3}},"total_code_lines":847,"total_comment_lines":80}},{"id":128754,"crate":"ed25519-dalek","num":"0.9.0","dl_path":"/api/v1/crates/ed25519-dalek/0.9.0/download","readme_path":"/api/v1/crates/ed25519-dalek/0.9.0/readme","updated_at":"2019-01-18T04:53:14.992418Z","created_at":"2019-01-17T23:16:17.429699Z","downloads":2348,"features":{"alloc":["curve25519-dalek/alloc"],"asm":["sha2/asm"],"avx2_backend":["curve25519-dalek/avx2_backend"],"default":["std","u64_backend"],"nightly":["curve25519-dalek/nightly","rand/nightly","clear_on_drop/nightly"],"std":["curve25519-dalek/std"],"u32_backend":["curve25519-dalek/u32_backend"],"u64_backend":["curve25519-dalek/u64_backend"],"yolocrypto":["curve25519-dalek/yolocrypto"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/ed25519-dalek/0.9.0/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/0.9.0/downloads","authors":"/api/v1/crates/ed25519-dalek/0.9.0/authors"},"crate_size":21327,"published_by":null,"audit_actions":[],"checksum":"ee0a06258af904f33407bcc4579a7d491ff2e591a3ddd388e2c60483fc7af2b9","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":"https://dalek.rs","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/dalek-cryptography/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":847,"comment_lines":80,"files":3}},"total_code_lines":847,"total_comment_lines":80}},{"id":116411,"crate":"ed25519-dalek","num":"1.0.0-pre.0","dl_path":"/api/v1/crates/ed25519-dalek/1.0.0-pre.0/download","readme_path":"/api/v1/crates/ed25519-dalek/1.0.0-pre.0/readme","updated_at":"2018-11-06T02:14:14.230924Z","created_at":"2018-11-06T02:14:14.230924Z","downloads":8032,"features":{"alloc":["curve25519-dalek/alloc"],"asm":["sha2/asm"],"avx2_backend":["curve25519-dalek/avx2_backend"],"default":["std","u64_backend"],"nightly":["curve25519-dalek/nightly","rand/nightly","clear_on_drop/nightly"],"std":["curve25519-dalek/std"],"u32_backend":["curve25519-dalek/u32_backend"],"u64_backend":["curve25519-dalek/u64_backend"],"yolocrypto":["curve25519-dalek/yolocrypto"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/ed25519-dalek/1.0.0-pre.0/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/1.0.0-pre.0/downloads","authors":"/api/v1/crates/ed25519-dalek/1.0.0-pre.0/authors"},"crate_size":21362,"published_by":null,"audit_actions":[],"checksum":"d617dd712105b5985fade607438d91de39c4191f0f1bf56cba3bb60c172e2c72","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":"https://dalek.rs","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/dalek-cryptography/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":848,"comment_lines":80,"files":3}},"total_code_lines":848,"total_comment_lines":80}},{"id":109758,"crate":"ed25519-dalek","num":"0.8.1","dl_path":"/api/v1/crates/ed25519-dalek/0.8.1/download","readme_path":"/api/v1/crates/ed25519-dalek/0.8.1/readme","updated_at":"2018-09-26T18:48:55.349873Z","created_at":"2018-09-26T18:48:55.349873Z","downloads":41665,"features":{"alloc":["curve25519-dalek/alloc"],"asm":["sha2/asm"],"avx2_backend":["curve25519-dalek/avx2_backend"],"default":["std","u64_backend"],"nightly":["curve25519-dalek/nightly","rand/nightly","clear_on_drop/nightly"],"std":["curve25519-dalek/std"],"u32_backend":["curve25519-dalek/u32_backend"],"u64_backend":["curve25519-dalek/u64_backend"],"yolocrypto":["curve25519-dalek/yolocrypto"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/ed25519-dalek/0.8.1/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/0.8.1/downloads","authors":"/api/v1/crates/ed25519-dalek/0.8.1/authors"},"crate_size":21576,"published_by":null,"audit_actions":[],"checksum":"cd66d8a16ef71c23cf5eeb2140d8d3cd293457c6c7fd6804b593397a933fcf1e","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":"https://dalek.rs","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/dalek-cryptography/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":847,"comment_lines":80,"files":3}},"total_code_lines":847,"total_comment_lines":80}},{"id":101415,"crate":"ed25519-dalek","num":"0.8.0","dl_path":"/api/v1/crates/ed25519-dalek/0.8.0/download","readme_path":"/api/v1/crates/ed25519-dalek/0.8.0/readme","updated_at":"2018-07-27T21:49:26.100498Z","created_at":"2018-07-27T21:49:26.100498Z","downloads":5746,"features":{"alloc":["curve25519-dalek/alloc"],"asm":["sha2/asm"],"avx2_backend":["curve25519-dalek/avx2_backend"],"default":["std","u64_backend"],"nightly":["curve25519-dalek/nightly","rand/nightly","clear_on_drop/nightly"],"std":["curve25519-dalek/std"],"u32_backend":["curve25519-dalek/u32_backend"],"u64_backend":["curve25519-dalek/u64_backend"],"yolocrypto":["curve25519-dalek/yolocrypto"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/ed25519-dalek/0.8.0/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/0.8.0/downloads","authors":"/api/v1/crates/ed25519-dalek/0.8.0/authors"},"crate_size":21199,"published_by":null,"audit_actions":[],"checksum":"cf4ffe2ac7f79a25e95c0521e6200635c352ea89080aa4f56fb3612e5f900157","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":"https://dalek.rs","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/dalek-cryptography/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":830,"comment_lines":80,"files":3}},"total_code_lines":830,"total_comment_lines":80}},{"id":99924,"crate":"ed25519-dalek","num":"0.7.0","dl_path":"/api/v1/crates/ed25519-dalek/0.7.0/download","readme_path":"/api/v1/crates/ed25519-dalek/0.7.0/readme","updated_at":"2018-07-15T23:25:28.233122Z","created_at":"2018-07-15T23:25:28.233122Z","downloads":4079,"features":{"asm":["sha2/asm"],"avx2_backend":["curve25519-dalek/avx2_backend"],"default":["std","u64_backend"],"nightly":["curve25519-dalek/nightly","rand/nightly"],"std":["curve25519-dalek/std"],"u32_backend":["curve25519-dalek/u32_backend"],"u64_backend":["curve25519-dalek/u64_backend"],"yolocrypto":["curve25519-dalek/yolocrypto"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/ed25519-dalek/0.7.0/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/0.7.0/downloads","authors":"/api/v1/crates/ed25519-dalek/0.7.0/authors"},"crate_size":18865,"published_by":null,"audit_actions":[],"checksum":"57aa6835ea38f08f14f9c0f525044428d208ccbb9927da4517b8a0fc56e916f8","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":"https://dalek.rs","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/dalek-cryptography/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":727,"comment_lines":75,"files":3}},"total_code_lines":727,"total_comment_lines":75}},{"id":86393,"crate":"ed25519-dalek","num":"0.6.2","dl_path":"/api/v1/crates/ed25519-dalek/0.6.2/download","readme_path":"/api/v1/crates/ed25519-dalek/0.6.2/readme","updated_at":"2018-03-26T02:40:09.357762Z","created_at":"2018-03-26T02:40:09.357762Z","downloads":8650,"features":{"asm":["sha2/asm"],"bench":[],"default":["std"],"nightly":["curve25519-dalek/nightly","subtle/nightly"],"std":["rand","subtle/std","curve25519-dalek/std","failure/std"],"yolocrypto":["curve25519-dalek/yolocrypto"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/ed25519-dalek/0.6.2/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/0.6.2/downloads","authors":"/api/v1/crates/ed25519-dalek/0.6.2/authors"},"crate_size":16388,"published_by":null,"audit_actions":[],"checksum":"8c41e632ff8f30d88fbeb2cf7bfd250feafa8c37527efbd4e1c9abbd1365c881","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":"https://dalek.rs","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/dalek-cryptography/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":691,"comment_lines":61,"files":3}},"total_code_lines":691,"total_comment_lines":61}},{"id":79692,"crate":"ed25519-dalek","num":"0.6.1","dl_path":"/api/v1/crates/ed25519-dalek/0.6.1/download","readme_path":"/api/v1/crates/ed25519-dalek/0.6.1/readme","updated_at":"2018-02-02T22:35:14.207854Z","created_at":"2018-02-02T22:35:14.207854Z","downloads":3264,"features":{"asm":["sha2/asm"],"bench":[],"default":["std"],"nightly":["curve25519-dalek/nightly"],"std":["rand","curve25519-dalek/std","failure/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/ed25519-dalek/0.6.1/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/0.6.1/downloads","authors":"/api/v1/crates/ed25519-dalek/0.6.1/authors"},"crate_size":16390,"published_by":null,"audit_actions":[],"checksum":"e3692ef38cc617236a39120ef0b91794e5e4d5c96227607a6740bfaaab53ac3c","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":"https://dalek.rs","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/dalek-cryptography/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":690,"comment_lines":61,"files":3}},"total_code_lines":690,"total_comment_lines":61}},{"id":78044,"crate":"ed25519-dalek","num":"0.6.0","dl_path":"/api/v1/crates/ed25519-dalek/0.6.0/download","readme_path":"/api/v1/crates/ed25519-dalek/0.6.0/readme","updated_at":"2018-01-20T03:07:58.513054Z","created_at":"2018-01-20T03:07:58.513054Z","downloads":2727,"features":{"asm":["sha2/asm"],"bench":[],"default":["std"],"nightly":["curve25519-dalek/nightly"],"std":["rand","curve25519-dalek/std","failure/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/ed25519-dalek/0.6.0/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/0.6.0/downloads","authors":"/api/v1/crates/ed25519-dalek/0.6.0/authors"},"crate_size":16327,"published_by":null,"audit_actions":[],"checksum":"45a06868f3d9c90c941e6ac8b82c6569479f2d18c692c04430cdb9d774a0c8eb","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":"https://dalek.rs","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/dalek-cryptography/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":688,"comment_lines":61,"files":3}},"total_code_lines":688,"total_comment_lines":61}},{"id":71342,"crate":"ed25519-dalek","num":"0.5.0","dl_path":"/api/v1/crates/ed25519-dalek/0.5.0/download","readme_path":"/api/v1/crates/ed25519-dalek/0.5.0/readme","updated_at":"2017-11-30T03:00:28.659280Z","created_at":"2017-11-15T02:45:58.717116Z","downloads":2659,"features":{"asm":["sha2/asm"],"bench":[],"default":["std"],"nightly":["curve25519-dalek/nightly"],"std":["rand","curve25519-dalek/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/ed25519-dalek/0.5.0/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/0.5.0/downloads","authors":"/api/v1/crates/ed25519-dalek/0.5.0/authors"},"crate_size":15218,"published_by":null,"audit_actions":[],"checksum":"617717f94ee3e15a53a66fb0d1a5802e18fe7963c59e0360af19a337840eb8b4","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":"https://code.ciph.re/isis/ed25519-dalek","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/isislovecruft/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":626,"comment_lines":51,"files":2}},"total_code_lines":626,"total_comment_lines":51}},{"id":67480,"crate":"ed25519-dalek","num":"0.4.3","dl_path":"/api/v1/crates/ed25519-dalek/0.4.3/download","readme_path":"/api/v1/crates/ed25519-dalek/0.4.3/readme","updated_at":"2017-11-30T04:00:14.090216Z","created_at":"2017-10-05T07:05:55.809177Z","downloads":2449,"features":{"asm":["sha2/asm"],"bench":[],"default":["std"],"nightly":["curve25519-dalek/nightly"],"std":["rand","curve25519-dalek/std"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"BSD-3-Clause","links":{"dependencies":"/api/v1/crates/ed25519-dalek/0.4.3/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/0.4.3/downloads","authors":"/api/v1/crates/ed25519-dalek/0.4.3/authors"},"crate_size":10441,"published_by":null,"audit_actions":[],"checksum":"b671748668438c420e16d5d6803425b8a43a81a4d54b186e5bcb687f6a05daec","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":"https://code.ciph.re/isis/ed25519-dalek","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/isislovecruft/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":373,"comment_lines":23,"files":2}},"total_code_lines":373,"total_comment_lines":23}},{"id":62520,"crate":"ed25519-dalek","num":"0.4.2","dl_path":"/api/v1/crates/ed25519-dalek/0.4.2/download","readme_path":"/api/v1/crates/ed25519-dalek/0.4.2/readme","updated_at":"2017-11-30T02:25:28.198825Z","created_at":"2017-08-16T04:29:42.909699Z","downloads":2843,"features":{"asm":["sha2/asm"],"bench":[],"default":["std"],"nightly":["curve25519-dalek/nightly"],"std":["rand","curve25519-dalek/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"CC0-1.0","links":{"dependencies":"/api/v1/crates/ed25519-dalek/0.4.2/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/0.4.2/downloads","authors":"/api/v1/crates/ed25519-dalek/0.4.2/authors"},"crate_size":9740,"published_by":null,"audit_actions":[],"checksum":"532b81845c7bc81672dd2f988bce2254dc39487e253b925febb3579ed6fb2861","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":"https://code.ciph.re/isis/ed25519-dalek","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/isislovecruft/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":377,"comment_lines":25,"files":2}},"total_code_lines":377,"total_comment_lines":25}},{"id":62518,"crate":"ed25519-dalek","num":"0.4.1","dl_path":"/api/v1/crates/ed25519-dalek/0.4.1/download","readme_path":"/api/v1/crates/ed25519-dalek/0.4.1/readme","updated_at":"2017-11-30T03:28:19.425039Z","created_at":"2017-08-16T02:32:26.488573Z","downloads":2605,"features":{"asm":["sha2/asm"],"bench":[],"default":["std"],"nightly":["curve25519-dalek/nightly"],"std":["rand","curve25519-dalek/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"CC0-1.0","links":{"dependencies":"/api/v1/crates/ed25519-dalek/0.4.1/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/0.4.1/downloads","authors":"/api/v1/crates/ed25519-dalek/0.4.1/authors"},"crate_size":9600,"published_by":null,"audit_actions":[],"checksum":"267d27b573dc494145a5eb1dc4c1c364d8e741e653e6a0467e2110bc5a61e03c","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":"https://code.ciph.re/isis/ed25519-dalek","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/isislovecruft/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":368,"comment_lines":25,"files":2}},"total_code_lines":368,"total_comment_lines":25}},{"id":61417,"crate":"ed25519-dalek","num":"0.4.0","dl_path":"/api/v1/crates/ed25519-dalek/0.4.0/download","readme_path":"/api/v1/crates/ed25519-dalek/0.4.0/readme","updated_at":"2017-11-30T03:26:19.679651Z","created_at":"2017-08-02T19:43:51.287853Z","downloads":2603,"features":{"asm":["sha2/asm"],"bench":[],"default":["std"],"nightly":["curve25519-dalek/nightly"],"std":["rand","curve25519-dalek/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"CC0-1.0","links":{"dependencies":"/api/v1/crates/ed25519-dalek/0.4.0/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/0.4.0/downloads","authors":"/api/v1/crates/ed25519-dalek/0.4.0/authors"},"crate_size":9548,"published_by":null,"audit_actions":[],"checksum":"d56bc87725485bc965978b7924a65b7e4fd13b534a99d03843cd43891338cadb","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust.","homepage":"https://code.ciph.re/isis/ed25519-dalek","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/isislovecruft/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":367,"comment_lines":25,"files":2}},"total_code_lines":367,"total_comment_lines":25}},{"id":53333,"crate":"ed25519-dalek","num":"0.3.2","dl_path":"/api/v1/crates/ed25519-dalek/0.3.2/download","readme_path":"/api/v1/crates/ed25519-dalek/0.3.2/readme","updated_at":"2017-11-30T03:18:17.990383Z","created_at":"2017-05-15T05:04:10.069554Z","downloads":2817,"features":{"bench":[],"default":["std"],"nightly":["curve25519-dalek/nightly"],"std":["rand","curve25519-dalek/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"CC0-1.0","links":{"dependencies":"/api/v1/crates/ed25519-dalek/0.3.2/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/0.3.2/downloads","authors":"/api/v1/crates/ed25519-dalek/0.3.2/authors"},"crate_size":8683,"published_by":null,"audit_actions":[],"checksum":"f6c31be5a9105fa83992d333da4df7490582bee3ae462f4581416486c76dafcb","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Fast and efficient ed25519 signing and verification in pure Rust.","homepage":"https://code.ciph.re/isis/ed25519-dalek","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/isislovecruft/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":346,"comment_lines":26,"files":2}},"total_code_lines":346,"total_comment_lines":26}},{"id":47900,"crate":"ed25519-dalek","num":"0.3.1","dl_path":"/api/v1/crates/ed25519-dalek/0.3.1/download","readme_path":"/api/v1/crates/ed25519-dalek/0.3.1/readme","updated_at":"2017-11-30T04:14:53.136214Z","created_at":"2017-03-15T23:53:08.657729Z","downloads":2708,"features":{"bench":[],"default":["std"],"nightly":["curve25519-dalek/nightly"],"std":["rand","curve25519-dalek/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"CC0-1.0","links":{"dependencies":"/api/v1/crates/ed25519-dalek/0.3.1/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/0.3.1/downloads","authors":"/api/v1/crates/ed25519-dalek/0.3.1/authors"},"crate_size":8676,"published_by":null,"audit_actions":[],"checksum":"92b97adc7cd584483fe4b741bf2db714be90f0f821e881355050129e32c85488","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Fast and efficient ed25519 signing and verification in pure Rust.","homepage":"https://code.ciph.re/isis/ed25519-dalek","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/isislovecruft/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":347,"comment_lines":26,"files":2}},"total_code_lines":347,"total_comment_lines":26}},{"id":47898,"crate":"ed25519-dalek","num":"0.3.0","dl_path":"/api/v1/crates/ed25519-dalek/0.3.0/download","readme_path":"/api/v1/crates/ed25519-dalek/0.3.0/readme","updated_at":"2017-11-30T04:14:52.042794Z","created_at":"2017-03-15T22:52:39.790600Z","downloads":2643,"features":{"bench":[],"default":["std"],"nightly":["curve25519-dalek/nightly"],"std":["rand","curve25519-dalek/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"CC0-1.0","links":{"dependencies":"/api/v1/crates/ed25519-dalek/0.3.0/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/0.3.0/downloads","authors":"/api/v1/crates/ed25519-dalek/0.3.0/authors"},"crate_size":8689,"published_by":null,"audit_actions":[],"checksum":"c869d2d04126b27c3ca14c6a23fc80b6e3c7587e5f94c6db4e43e7585239c3be","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Fast and efficient ed25519 signing and verification in pure Rust.","homepage":"https://code.ciph.re/isis/ed25519-dalek","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/isislovecruft/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":347,"comment_lines":26,"files":2}},"total_code_lines":347,"total_comment_lines":26}},{"id":47816,"crate":"ed25519-dalek","num":"0.2.3","dl_path":"/api/v1/crates/ed25519-dalek/0.2.3/download","readme_path":"/api/v1/crates/ed25519-dalek/0.2.3/readme","updated_at":"2017-11-30T02:46:08.039923Z","created_at":"2017-03-14T20:48:22.904023Z","downloads":2607,"features":{"default":["std"],"std":["rand"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"CC0-1.0","links":{"dependencies":"/api/v1/crates/ed25519-dalek/0.2.3/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/0.2.3/downloads","authors":"/api/v1/crates/ed25519-dalek/0.2.3/authors"},"crate_size":6485,"published_by":null,"audit_actions":[],"checksum":"711c6cf5dc0bc5fbe5ed301f468ef9b7c5200044844570e5f2e80f904bfebf7e","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Fast and efficient ed25519 signing and verification in pure Rust.","homepage":"https://code.ciph.re/isis/ed25519-dalek","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/isislovecruft/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":332,"comment_lines":26,"files":2}},"total_code_lines":332,"total_comment_lines":26}},{"id":46053,"crate":"ed25519-dalek","num":"0.2.2","dl_path":"/api/v1/crates/ed25519-dalek/0.2.2/download","readme_path":"/api/v1/crates/ed25519-dalek/0.2.2/readme","updated_at":"2017-11-30T02:27:50.310068Z","created_at":"2017-02-21T21:56:22.187932Z","downloads":2754,"features":{"default":["std"],"std":["rand"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"CC0-1.0","links":{"dependencies":"/api/v1/crates/ed25519-dalek/0.2.2/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/0.2.2/downloads","authors":"/api/v1/crates/ed25519-dalek/0.2.2/authors"},"crate_size":6464,"published_by":null,"audit_actions":[],"checksum":"f18494053343d2ff24804472900085905f9d3f6c3b5f293b8aae8a830e53556c","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Fast and efficient ed25519 signing and verification in pure Rust.","homepage":"https://code.ciph.re/isis/ed25519-dalek","documentation":"https://docs.rs/ed25519-dalek","repository":"https://github.com/isislovecruft/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":331,"comment_lines":26,"files":2}},"total_code_lines":331,"total_comment_lines":26}},{"id":46051,"crate":"ed25519-dalek","num":"0.2.1","dl_path":"/api/v1/crates/ed25519-dalek/0.2.1/download","readme_path":"/api/v1/crates/ed25519-dalek/0.2.1/readme","updated_at":"2017-11-30T04:14:52.030873Z","created_at":"2017-02-21T21:21:44.996572Z","downloads":2646,"features":{"default":["std"],"std":["rand"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"CC0-1.0","links":{"dependencies":"/api/v1/crates/ed25519-dalek/0.2.1/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/0.2.1/downloads","authors":"/api/v1/crates/ed25519-dalek/0.2.1/authors"},"crate_size":6422,"published_by":null,"audit_actions":[],"checksum":"f5c0c34e71f210a9eefe4e960b9477f481b87cb4a6feaf490268c5b2136d96c6","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Fast and efficient ed25519 signing and verification.","homepage":null,"documentation":null,"repository":"https://github.com/isislovecruft/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":331,"comment_lines":26,"files":2}},"total_code_lines":331,"total_comment_lines":26}},{"id":45034,"crate":"ed25519-dalek","num":"0.2.0","dl_path":"/api/v1/crates/ed25519-dalek/0.2.0/download","readme_path":"/api/v1/crates/ed25519-dalek/0.2.0/readme","updated_at":"2017-11-30T03:42:19.188559Z","created_at":"2017-02-08T20:16:45.629631Z","downloads":2645,"features":{"default":["std"],"std":["rand"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"CC0-1.0","links":{"dependencies":"/api/v1/crates/ed25519-dalek/0.2.0/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/0.2.0/downloads","authors":"/api/v1/crates/ed25519-dalek/0.2.0/authors"},"crate_size":6422,"published_by":null,"audit_actions":[],"checksum":"7e49a17bcd61a100d7fcdae45fedac58af7598b13e5924b05243443d49cd8da7","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Fast and efficient ed25519 signing and verification.","homepage":null,"documentation":null,"repository":"https://code.ciph.re/isis/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":331,"comment_lines":26,"files":2}},"total_code_lines":331,"total_comment_lines":26}},{"id":39284,"crate":"ed25519-dalek","num":"0.1.0","dl_path":"/api/v1/crates/ed25519-dalek/0.1.0/download","readme_path":"/api/v1/crates/ed25519-dalek/0.1.0/readme","updated_at":"2017-11-30T03:33:02.778357Z","created_at":"2016-12-09T01:24:53.342073Z","downloads":2693,"features":{},"yanked":false,"yank_message":null,"lib_links":null,"license":"CC0-1.0","links":{"dependencies":"/api/v1/crates/ed25519-dalek/0.1.0/dependencies","version_downloads":"/api/v1/crates/ed25519-dalek/0.1.0/downloads","authors":"/api/v1/crates/ed25519-dalek/0.1.0/authors"},"crate_size":6245,"published_by":null,"audit_actions":[],"checksum":"7a3a444401d380f0b6ee84d72857111aaa351da950ceca62a47daffaafd9ea76","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Fast and efficient ed25519 signing and verification.","homepage":null,"documentation":null,"repository":"https://code.ciph.re/isis/ed25519-dalek","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":321,"comment_lines":26,"files":2}},"total_code_lines":321,"total_comment_lines":26}}],"keywords":[{"id":"cryptography","keyword":"cryptography","created_at":"2014-12-16T08:15:41.198500Z","crates_cnt":2600},{"id":"curve25519","keyword":"curve25519","created_at":"2016-12-08T05:13:57.620503Z","crates_cnt":87},{"id":"ecc","keyword":"ecc","created_at":"2016-10-13T17:25:33.430203Z","crates_cnt":108},{"id":"ed25519","keyword":"ed25519","created_at":"2016-03-09T13:34:56.155850Z","crates_cnt":330},{"id":"signature","keyword":"signature","created_at":"2016-03-20T14:09:39.594960Z","crates_cnt":338}],"categories":[{"id":"cryptography","category":"Cryptography","slug":"cryptography","description":"Algorithms intended for securing data.","created_at":"2017-01-17T19:13:05.112025Z","crates_cnt":7915},{"id":"no-std","category":"No standard library","slug":"no-std","description":"Crates that are able to function without the Rust standard library.","created_at":"2017-02-10T01:52:09.447906Z","crates_cnt":13734}]} \ No newline at end of file diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/ed25519.json b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/ed25519.json new file mode 100644 index 0000000000..834343cbf0 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/ed25519.json @@ -0,0 +1 @@ +{"crate":{"id":"ed25519","name":"ed25519","updated_at":"2026-05-03T16:29:34.047893Z","versions":[2343948,2320652,1992971,1978140,1812649,1728277,1712415,1586286,1217235,926062,871041,767214,739250,708526,708409,704207,704100,698251,696335,687647,680673,658335,550084,549819,546054,518792,506772,455489,403746,373115,373067,292708,282540,233166,232620,222114,221797,219266,185483,181962,181714,168608,35316],"keywords":["crypto","curve25519","ecc","signature","signing"],"categories":["cryptography","no-std"],"badges":[],"created_at":"2016-10-06T21:33:33.887375Z","downloads":244995850,"recent_downloads":65354687,"default_version":"3.0.0","num_versions":43,"yanked":false,"max_version":"3.0.0","newest_version":"3.0.0","max_stable_version":"3.0.0","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)\nsupport library providing signature type definitions and PKCS#8 private key\ndecoding/encoding support\n","homepage":"https://github.com/RustCrypto/signatures/tree/master/ed25519","documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures","links":{"version_downloads":"/api/v1/crates/ed25519/downloads","versions":null,"owners":"/api/v1/crates/ed25519/owners","owner_team":"/api/v1/crates/ed25519/owner_team","owner_user":"/api/v1/crates/ed25519/owner_user","reverse_dependencies":"/api/v1/crates/ed25519/reverse_dependencies"},"exact_match":false,"trustpub_only":true},"versions":[{"id":2343948,"crate":"ed25519","num":"3.0.0","dl_path":"/api/v1/crates/ed25519/3.0.0/download","readme_path":"/api/v1/crates/ed25519/3.0.0/readme","updated_at":"2026-05-03T16:29:34.047893Z","created_at":"2026-05-03T16:29:34.047893Z","downloads":10044667,"features":{"alloc":["pkcs8?/alloc","signature/alloc"],"default":["alloc"],"pem":["alloc","pkcs8/pem"],"serde":["dep:serdect"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/3.0.0/dependencies","version_downloads":"/api/v1/crates/ed25519/3.0.0/downloads","authors":"/api/v1/crates/ed25519/3.0.0/authors"},"crate_size":19256,"published_by":null,"audit_actions":[],"checksum":"29fcf32e6c73d1079f83ab4d782de2d81620346a5f38c6237a86a22f8368980a","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)\nsupport library providing signature type definitions and PKCS#8 private key\ndecoding/encoding support\n","homepage":"https://github.com/RustCrypto/signatures/tree/master/ed25519","documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures","trustpub_data":{"provider":"github","repository":"RustCrypto/signatures","run_id":"25284555133","sha":"f2b087c0f38fa67b62ad1bc16a2ea62a80227fc9"},"linecounts":{"languages":{"Rust":{"code_lines":476,"comment_lines":13,"files":3}},"total_code_lines":476,"total_comment_lines":13}},{"id":2320652,"crate":"ed25519","num":"3.0.0-rc.5","dl_path":"/api/v1/crates/ed25519/3.0.0-rc.5/download","readme_path":"/api/v1/crates/ed25519/3.0.0-rc.5/readme","updated_at":"2026-04-28T16:31:36.647311Z","created_at":"2026-04-28T16:31:36.647311Z","downloads":3620,"features":{"alloc":["pkcs8?/alloc"],"default":["alloc"],"pem":["alloc","pkcs8/pem"],"serde_bytes":["serde","dep:serde_bytes"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/3.0.0-rc.5/dependencies","version_downloads":"/api/v1/crates/ed25519/3.0.0-rc.5/downloads","authors":"/api/v1/crates/ed25519/3.0.0-rc.5/authors"},"crate_size":19528,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2026-04-28T16:31:36.647311Z"}],"checksum":"5bf8e9f747a3618916ed918759c99ddc9de22888782edba712c0a856a09ed42d","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)\nsupport library providing signature type definitions and PKCS#8 private key\ndecoding/encoding support\n","homepage":"https://github.com/RustCrypto/signatures/tree/master/ed25519","documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":530,"comment_lines":14,"files":4}},"total_code_lines":530,"total_comment_lines":14}},{"id":1992971,"crate":"ed25519","num":"3.0.0-rc.4","dl_path":"/api/v1/crates/ed25519/3.0.0-rc.4/download","readme_path":"/api/v1/crates/ed25519/3.0.0-rc.4/readme","updated_at":"2026-02-02T20:11:56.575586Z","created_at":"2026-02-02T20:11:56.575586Z","downloads":1480899,"features":{"alloc":["pkcs8?/alloc"],"default":["alloc"],"pem":["alloc","pkcs8/pem"],"serde_bytes":["serde","dep:serde_bytes"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/3.0.0-rc.4/dependencies","version_downloads":"/api/v1/crates/ed25519/3.0.0-rc.4/downloads","authors":"/api/v1/crates/ed25519/3.0.0-rc.4/authors"},"crate_size":19516,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2026-02-02T20:11:56.575586Z"}],"checksum":"c6e914c7c52decb085cea910552e24c63ac019e3ab8bf001ff736da9a9d9d890","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)\nsupport library providing signature type definitions and PKCS#8 private key\ndecoding/encoding support\n","homepage":"https://github.com/RustCrypto/signatures/tree/master/ed25519","documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":529,"comment_lines":14,"files":4}},"total_code_lines":529,"total_comment_lines":14}},{"id":1978140,"crate":"ed25519","num":"3.0.0-rc.3","dl_path":"/api/v1/crates/ed25519/3.0.0-rc.3/download","readme_path":"/api/v1/crates/ed25519/3.0.0-rc.3/readme","updated_at":"2026-01-27T21:34:38.289544Z","created_at":"2026-01-27T21:34:38.289544Z","downloads":11881,"features":{"alloc":["pkcs8?/alloc"],"default":["alloc"],"pem":["alloc","pkcs8/pem"],"serde_bytes":["serde","dep:serde_bytes"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/3.0.0-rc.3/dependencies","version_downloads":"/api/v1/crates/ed25519/3.0.0-rc.3/downloads","authors":"/api/v1/crates/ed25519/3.0.0-rc.3/authors"},"crate_size":19517,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2026-01-27T21:34:38.289544Z"}],"checksum":"3d058004dae83c9cf58f3d81612d0296bbf0a52dd7d7b6afa30ab7228bb6119f","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)\nsupport library providing signature type definitions and PKCS#8 private key\ndecoding/encoding support\n","homepage":"https://github.com/RustCrypto/signatures/tree/master/ed25519","documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":529,"comment_lines":14,"files":4}},"total_code_lines":529,"total_comment_lines":14}},{"id":1812649,"crate":"ed25519","num":"3.0.0-rc.2","dl_path":"/api/v1/crates/ed25519/3.0.0-rc.2/download","readme_path":"/api/v1/crates/ed25519/3.0.0-rc.2/readme","updated_at":"2025-11-06T21:05:22.462504Z","created_at":"2025-11-06T21:05:22.462504Z","downloads":175383,"features":{"alloc":["pkcs8?/alloc"],"default":["alloc"],"pem":["alloc","pkcs8/pem"],"serde_bytes":["serde","dep:serde_bytes"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/3.0.0-rc.2/dependencies","version_downloads":"/api/v1/crates/ed25519/3.0.0-rc.2/downloads","authors":"/api/v1/crates/ed25519/3.0.0-rc.2/authors"},"crate_size":19952,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2025-11-06T21:05:22.462504Z"}],"checksum":"594435fe09e345ee388e4e8422072ff7dfeca8729389fbd997b3f5504c44cd47","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)\nsupport library providing signature type definitions and PKCS#8 private key\ndecoding/encoding support\n","homepage":"https://github.com/RustCrypto/signatures/tree/master/ed25519","documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":536,"comment_lines":14,"files":4}},"total_code_lines":536,"total_comment_lines":14}},{"id":1728277,"crate":"ed25519","num":"3.0.0-rc.1","dl_path":"/api/v1/crates/ed25519/3.0.0-rc.1/download","readme_path":"/api/v1/crates/ed25519/3.0.0-rc.1/readme","updated_at":"2025-09-13T15:03:01.724231Z","created_at":"2025-09-13T15:03:01.724231Z","downloads":861815,"features":{"alloc":["pkcs8?/alloc"],"default":["alloc"],"pem":["alloc","pkcs8/pem"],"serde_bytes":["serde","dep:serde_bytes"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/3.0.0-rc.1/dependencies","version_downloads":"/api/v1/crates/ed25519/3.0.0-rc.1/downloads","authors":"/api/v1/crates/ed25519/3.0.0-rc.1/authors"},"crate_size":19892,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2025-09-13T15:03:01.724231Z"}],"checksum":"9ef49c0b20c0ad088893ad2a790a29c06a012b3f05bcfc66661fd22a94b32129","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)\nsupport library providing signature type definitions and PKCS#8 private key\ndecoding/encoding support\n","homepage":"https://github.com/RustCrypto/signatures/tree/master/ed25519","documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":535,"comment_lines":14,"files":4}},"total_code_lines":535,"total_comment_lines":14}},{"id":1712415,"crate":"ed25519","num":"3.0.0-rc.0","dl_path":"/api/v1/crates/ed25519/3.0.0-rc.0/download","readme_path":"/api/v1/crates/ed25519/3.0.0-rc.0/readme","updated_at":"2025-09-03T04:42:16.938880Z","created_at":"2025-09-03T04:42:16.938880Z","downloads":14691,"features":{"alloc":["pkcs8?/alloc"],"default":["alloc"],"pem":["alloc","pkcs8/pem"],"serde_bytes":["serde","dep:serde_bytes"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/3.0.0-rc.0/dependencies","version_downloads":"/api/v1/crates/ed25519/3.0.0-rc.0/downloads","authors":"/api/v1/crates/ed25519/3.0.0-rc.0/authors"},"crate_size":19980,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2025-09-03T04:42:16.938880Z"}],"checksum":"fe639324ff99c3bf32144aaf79dc7e048305a6e82b6409644ddcbe7e0f5f5be9","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)\nsupport library providing signature type definitions and PKCS#8 private key\ndecoding/encoding support\n","homepage":"https://github.com/RustCrypto/signatures/tree/master/ed25519","documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":535,"comment_lines":14,"files":4}},"total_code_lines":535,"total_comment_lines":14}},{"id":1586286,"crate":"ed25519","num":"3.0.0-pre.0","dl_path":"/api/v1/crates/ed25519/3.0.0-pre.0/download","readme_path":"/api/v1/crates/ed25519/3.0.0-pre.0/readme","updated_at":"2025-05-31T16:19:22.917329Z","created_at":"2025-05-31T16:19:22.917329Z","downloads":21261,"features":{"alloc":["pkcs8?/alloc"],"default":["std"],"pem":["alloc","pkcs8/pem"],"serde_bytes":["serde","dep:serde_bytes"],"std":["pkcs8?/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/3.0.0-pre.0/dependencies","version_downloads":"/api/v1/crates/ed25519/3.0.0-pre.0/downloads","authors":"/api/v1/crates/ed25519/3.0.0-pre.0/authors"},"crate_size":20510,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2025-05-31T16:19:22.917329Z"}],"checksum":"e6e01f644da45b2f83a7c40f6895ccc467ce60d6163c729d9fe4351eaa42c512","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)\nsupport library providing signature type definitions and PKCS#8 private key\ndecoding/encoding support\n","homepage":"https://github.com/RustCrypto/signatures/tree/master/ed25519","documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":538,"comment_lines":14,"files":4}},"total_code_lines":538,"total_comment_lines":14}},{"id":1217235,"crate":"ed25519","num":"2.3.0-pre.0","dl_path":"/api/v1/crates/ed25519/2.3.0-pre.0/download","readme_path":"/api/v1/crates/ed25519/2.3.0-pre.0/readme","updated_at":"2024-07-28T16:17:45.089962Z","created_at":"2024-07-28T16:17:45.089962Z","downloads":13111,"features":{"alloc":["pkcs8?/alloc"],"default":["std"],"pem":["alloc","pkcs8/pem"],"serde_bytes":["serde","dep:serde_bytes"],"std":["pkcs8?/std","signature/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/2.3.0-pre.0/dependencies","version_downloads":"/api/v1/crates/ed25519/2.3.0-pre.0/downloads","authors":"/api/v1/crates/ed25519/2.3.0-pre.0/authors"},"crate_size":17939,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2024-07-28T16:17:45.089962Z"}],"checksum":"62bcc0730fbd27c8619332efad3dfa1de229dc5859a31495ab674e0ac0f9996b","rust_version":"1.72","has_lib":true,"bin_names":[],"edition":"2021","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)\nsupport library providing signature type definitions and PKCS#8 private key\ndecoding/encoding support","homepage":"https://github.com/RustCrypto/signatures/tree/master/ed25519","documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":494,"comment_lines":14,"files":4}},"total_code_lines":494,"total_comment_lines":14}},{"id":926062,"crate":"ed25519","num":"2.2.3","dl_path":"/api/v1/crates/ed25519/2.2.3/download","readme_path":"/api/v1/crates/ed25519/2.2.3/readme","updated_at":"2023-10-15T19:12:57.917968Z","created_at":"2023-10-15T19:12:57.917968Z","downloads":176197410,"features":{"alloc":["pkcs8?/alloc"],"default":["std"],"pem":["alloc","pkcs8/pem"],"serde_bytes":["serde","dep:serde_bytes"],"std":["pkcs8?/std","signature/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/2.2.3/dependencies","version_downloads":"/api/v1/crates/ed25519/2.2.3/downloads","authors":"/api/v1/crates/ed25519/2.2.3/authors"},"crate_size":17802,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2023-10-15T19:12:57.917968Z"}],"checksum":"115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53","rust_version":"1.60","has_lib":true,"bin_names":[],"edition":"2021","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)\nsupport library providing signature type definitions and PKCS#8 private key\ndecoding/encoding support","homepage":null,"documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures/tree/master/ed25519","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":494,"comment_lines":14,"files":4}},"total_code_lines":494,"total_comment_lines":14}},{"id":871041,"crate":"ed25519","num":"2.2.2","dl_path":"/api/v1/crates/ed25519/2.2.2/download","readme_path":"/api/v1/crates/ed25519/2.2.2/readme","updated_at":"2023-08-13T19:43:05.206122Z","created_at":"2023-08-13T19:43:05.206122Z","downloads":7228457,"features":{"alloc":["pkcs8?/alloc"],"default":["std"],"pem":["alloc","pkcs8/pem"],"serde_bytes":["serde","dep:serde_bytes"],"std":["signature/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/2.2.2/dependencies","version_downloads":"/api/v1/crates/ed25519/2.2.2/downloads","authors":"/api/v1/crates/ed25519/2.2.2/authors"},"crate_size":17609,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2023-08-13T19:43:05.206122Z"}],"checksum":"60f6d271ca33075c88028be6f04d502853d63a5ece419d269c15315d4fc1cf1d","rust_version":"1.60","has_lib":true,"bin_names":[],"edition":"2021","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)\nsupport library providing signature type definitions and PKCS#8 private key\ndecoding/encoding support","homepage":null,"documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures/tree/master/ed25519","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":483,"comment_lines":14,"files":4}},"total_code_lines":483,"total_comment_lines":14}},{"id":767214,"crate":"ed25519","num":"2.2.1","dl_path":"/api/v1/crates/ed25519/2.2.1/download","readme_path":"/api/v1/crates/ed25519/2.2.1/readme","updated_at":"2023-04-03T16:21:41.190108Z","created_at":"2023-04-03T16:21:41.190108Z","downloads":688690,"features":{"alloc":["pkcs8?/alloc"],"default":["std"],"pem":["alloc","pkcs8/pem"],"serde_bytes":["serde","dep:serde_bytes"],"std":["signature/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/2.2.1/dependencies","version_downloads":"/api/v1/crates/ed25519/2.2.1/downloads","authors":"/api/v1/crates/ed25519/2.2.1/authors"},"crate_size":17590,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2023-04-03T16:21:41.190108Z"}],"checksum":"5fb04eee5d9d907f29e80ee6b0e78f7e2c82342c63e3580d8c4f69d9d5aad963","rust_version":"1.60","has_lib":true,"bin_names":[],"edition":"2021","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)\nsupport library providing signature type definitions and PKCS#8 private key\ndecoding/encoding support","homepage":null,"documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures/tree/master/ed25519","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":483,"comment_lines":14,"files":4}},"total_code_lines":483,"total_comment_lines":14}},{"id":739250,"crate":"ed25519","num":"2.2.0","dl_path":"/api/v1/crates/ed25519/2.2.0/download","readme_path":"/api/v1/crates/ed25519/2.2.0/readme","updated_at":"2023-03-02T03:44:14.246130Z","created_at":"2023-03-02T03:44:14.246130Z","downloads":158346,"features":{"alloc":["pkcs8?/alloc"],"default":["std"],"pem":["alloc","pkcs8/pem"],"serde_bytes":["serde","dep:serde_bytes"],"std":["signature/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/2.2.0/dependencies","version_downloads":"/api/v1/crates/ed25519/2.2.0/downloads","authors":"/api/v1/crates/ed25519/2.2.0/authors"},"crate_size":17661,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2023-03-02T03:44:14.246130Z"}],"checksum":"be522bee13fa6d8059f4903a4084aa3bd50725e18150202f0238deb615cd6371","rust_version":"1.60","has_lib":true,"bin_names":[],"edition":"2021","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)\nsupport library providing signature type definitions and PKCS#8 private key\ndecoding/encoding support","homepage":null,"documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures/tree/master/ed25519","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":483,"comment_lines":76,"files":4}},"total_code_lines":483,"total_comment_lines":76}},{"id":708526,"crate":"ed25519","num":"2.1.0","dl_path":"/api/v1/crates/ed25519/2.1.0/download","readme_path":"/api/v1/crates/ed25519/2.1.0/readme","updated_at":"2023-01-21T20:11:03.956310Z","created_at":"2023-01-21T20:11:03.956310Z","downloads":52553,"features":{"alloc":["pkcs8/alloc"],"default":["std"],"pem":["alloc","pkcs8/pem"],"serde_bytes":["serde","dep:serde_bytes"],"std":["signature/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/2.1.0/dependencies","version_downloads":"/api/v1/crates/ed25519/2.1.0/downloads","authors":"/api/v1/crates/ed25519/2.1.0/authors"},"crate_size":17609,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2023-01-21T20:11:03.956310Z"}],"checksum":"3cf420a7ec85d98495b0c34aa4a58ca117f982ffbece111aeb545160148d7010","rust_version":"1.60","has_lib":true,"bin_names":[],"edition":"2021","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)\nsupport library providing signature type definitions and PKCS#8 private key\ndecoding/encoding support","homepage":null,"documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures/tree/master/ed25519","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":483,"comment_lines":76,"files":4}},"total_code_lines":483,"total_comment_lines":76}},{"id":708409,"crate":"ed25519","num":"2.0.1","dl_path":"/api/v1/crates/ed25519/2.0.1/download","readme_path":"/api/v1/crates/ed25519/2.0.1/readme","updated_at":"2023-01-21T17:02:16.400482Z","created_at":"2023-01-21T17:02:16.400482Z","downloads":3221,"features":{"alloc":["pkcs8/alloc"],"default":["std"],"pem":["alloc","pkcs8/pem"],"serde_bytes":["serde","serde_bytes_crate","std"],"std":["signature/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/2.0.1/dependencies","version_downloads":"/api/v1/crates/ed25519/2.0.1/downloads","authors":"/api/v1/crates/ed25519/2.0.1/authors"},"crate_size":17617,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2023-01-21T17:02:16.400482Z"}],"checksum":"b313941b79fa8f26c1967e351fa7f48a144e2dbeadb6a6fe0ccdfd61ef8ad600","rust_version":"1.56","has_lib":true,"bin_names":[],"edition":"2021","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)\nsupport library providing signature type definitions and PKCS#8 private key\ndecoding/encoding support","homepage":null,"documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures/tree/master/ed25519","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":487,"comment_lines":76,"files":4}},"total_code_lines":487,"total_comment_lines":76}},{"id":704207,"crate":"ed25519","num":"2.0.0","dl_path":"/api/v1/crates/ed25519/2.0.0/download","readme_path":"/api/v1/crates/ed25519/2.0.0/readme","updated_at":"2023-01-21T06:02:35.351751Z","created_at":"2023-01-16T01:09:46.206514Z","downloads":5881,"features":{"alloc":["pkcs8/alloc"],"default":["std"],"pem":["alloc","pkcs8/pem"],"serde_bytes":["serde","serde_bytes_crate","std"],"std":["signature/std"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/2.0.0/dependencies","version_downloads":"/api/v1/crates/ed25519/2.0.0/downloads","authors":"/api/v1/crates/ed25519/2.0.0/authors"},"crate_size":17716,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2023-01-16T01:09:46.206514Z"},{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2023-01-21T06:02:35.356391Z"}],"checksum":"a3af5919f6d605315213c36abdd435562224665993b274912dee0d9a0e2fed8a","rust_version":"1.56","has_lib":true,"bin_names":[],"edition":"2021","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)\nsupport library providing signature type definitions and PKCS#8 private key\ndecoding/encoding support","homepage":null,"documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures/tree/master/ed25519","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":487,"comment_lines":84,"files":4}},"total_code_lines":487,"total_comment_lines":84}},{"id":704100,"crate":"ed25519","num":"1.5.3","dl_path":"/api/v1/crates/ed25519/1.5.3/download","readme_path":"/api/v1/crates/ed25519/1.5.3/readme","updated_at":"2023-01-15T20:38:41.754055Z","created_at":"2023-01-15T20:38:41.754055Z","downloads":29839989,"features":{"alloc":["pkcs8/alloc"],"default":["std"],"pem":["pkcs8/pem"],"serde_bytes":["serde","serde_bytes_crate","std"],"std":["signature/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/1.5.3/dependencies","version_downloads":"/api/v1/crates/ed25519/1.5.3/downloads","authors":"/api/v1/crates/ed25519/1.5.3/authors"},"crate_size":17118,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2023-01-15T20:38:41.754055Z"}],"checksum":"91cff35c70bba8a626e3185d8cd48cc11b5437e1a5bcd15b9b5fa3c64b6dfee7","rust_version":"1.56","has_lib":true,"bin_names":[],"edition":"2021","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)\nsupport library providing signature type definitions and PKCS#8 private key\ndecoding/encoding support","homepage":null,"documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures/tree/master/ed25519","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":468,"comment_lines":23,"files":3}},"total_code_lines":468,"total_comment_lines":23}},{"id":698251,"crate":"ed25519","num":"2.0.0-rc.1","dl_path":"/api/v1/crates/ed25519/2.0.0-rc.1/download","readme_path":"/api/v1/crates/ed25519/2.0.0-rc.1/readme","updated_at":"2023-01-08T02:10:07.862553Z","created_at":"2023-01-08T02:10:07.862553Z","downloads":2093,"features":{"alloc":["pkcs8/alloc"],"default":["std"],"pem":["alloc","pkcs8/pem"],"serde_bytes":["serde","serde_bytes_crate","std"],"std":["signature/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/2.0.0-rc.1/dependencies","version_downloads":"/api/v1/crates/ed25519/2.0.0-rc.1/downloads","authors":"/api/v1/crates/ed25519/2.0.0-rc.1/authors"},"crate_size":17350,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2023-01-08T02:10:07.862553Z"}],"checksum":"932c92e8ddceebd310222df875adea74cf754fa06bbf22820a833bf5a5393de6","rust_version":"1.56","has_lib":true,"bin_names":[],"edition":"2021","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)\nsupport library providing signature type definitions and PKCS#8 private key\ndecoding/encoding support","homepage":null,"documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures/tree/master/ed25519","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":496,"comment_lines":83,"files":3}},"total_code_lines":496,"total_comment_lines":83}},{"id":696335,"crate":"ed25519","num":"2.0.0-rc.0","dl_path":"/api/v1/crates/ed25519/2.0.0-rc.0/download","readme_path":"/api/v1/crates/ed25519/2.0.0-rc.0/readme","updated_at":"2023-01-04T21:16:48.754998Z","created_at":"2023-01-04T21:16:48.754998Z","downloads":2810,"features":{"alloc":["pkcs8/alloc"],"default":["std"],"pem":["alloc","pkcs8/pem"],"serde_bytes":["serde","serde_bytes_crate","std"],"std":["signature/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/2.0.0-rc.0/dependencies","version_downloads":"/api/v1/crates/ed25519/2.0.0-rc.0/downloads","authors":"/api/v1/crates/ed25519/2.0.0-rc.0/authors"},"crate_size":17351,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2023-01-04T21:16:48.754998Z"}],"checksum":"24a753d68e68a75b72508fa3d37255ae8a6f7492715e61f3a14f3769859b2fb3","rust_version":"1.56","has_lib":true,"bin_names":[],"edition":"2021","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)\nsupport library providing signature type definitions and PKCS#8 private key\ndecoding/encoding support","homepage":null,"documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures/tree/master/ed25519","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":496,"comment_lines":83,"files":3}},"total_code_lines":496,"total_comment_lines":83}},{"id":687647,"crate":"ed25519","num":"2.0.0-pre.2","dl_path":"/api/v1/crates/ed25519/2.0.0-pre.2/download","readme_path":"/api/v1/crates/ed25519/2.0.0-pre.2/readme","updated_at":"2022-12-19T20:28:44.688793Z","created_at":"2022-12-19T20:28:44.688793Z","downloads":2089,"features":{"alloc":["pkcs8/alloc"],"default":["std"],"pem":["alloc","pkcs8/pem"],"serde_bytes":["serde","serde_bytes_crate","std"],"std":["signature/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/2.0.0-pre.2/dependencies","version_downloads":"/api/v1/crates/ed25519/2.0.0-pre.2/downloads","authors":"/api/v1/crates/ed25519/2.0.0-pre.2/authors"},"crate_size":17350,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-12-19T20:28:44.688793Z"}],"checksum":"78fcb2ce4d4ed53159ebe2620923c7b8ad99be64cfac1082f5dd2a3f3e96715e","rust_version":"1.56","has_lib":true,"bin_names":[],"edition":"2021","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)\nsupport library providing signature type definitions and PKCS#8 private key\ndecoding/encoding support","homepage":null,"documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures/tree/master/ed25519","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":496,"comment_lines":83,"files":3}},"total_code_lines":496,"total_comment_lines":83}},{"id":680673,"crate":"ed25519","num":"2.0.0-pre.1","dl_path":"/api/v1/crates/ed25519/2.0.0-pre.1/download","readme_path":"/api/v1/crates/ed25519/2.0.0-pre.1/readme","updated_at":"2022-12-11T01:02:46.643348Z","created_at":"2022-12-11T01:02:46.643348Z","downloads":5395,"features":{"alloc":["pkcs8/alloc"],"default":["std"],"pem":["alloc","pkcs8/pem"],"serde_bytes":["serde","serde_bytes_crate","std"],"std":["signature/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/2.0.0-pre.1/dependencies","version_downloads":"/api/v1/crates/ed25519/2.0.0-pre.1/downloads","authors":"/api/v1/crates/ed25519/2.0.0-pre.1/authors"},"crate_size":17257,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-12-11T01:02:46.643348Z"}],"checksum":"f623b71a767bb00fdeb8e0137e69cf2b148616db4ba016c121b36578e783c7f1","rust_version":"1.56","has_lib":true,"bin_names":[],"edition":"2021","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)\nsupport library providing signature type definitions and PKCS#8 private key\ndecoding/encoding support","homepage":null,"documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures/tree/master/ed25519","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":481,"comment_lines":83,"files":3}},"total_code_lines":481,"total_comment_lines":83}},{"id":658335,"crate":"ed25519","num":"2.0.0-pre.0","dl_path":"/api/v1/crates/ed25519/2.0.0-pre.0/download","readme_path":"/api/v1/crates/ed25519/2.0.0-pre.0/readme","updated_at":"2022-11-06T19:21:52.045681Z","created_at":"2022-11-06T19:21:52.045681Z","downloads":2540,"features":{"alloc":["pkcs8/alloc"],"default":["std"],"pem":["alloc","pkcs8/pem"],"serde_bytes":["serde","serde_bytes_crate","std"],"std":["signature/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/2.0.0-pre.0/dependencies","version_downloads":"/api/v1/crates/ed25519/2.0.0-pre.0/downloads","authors":"/api/v1/crates/ed25519/2.0.0-pre.0/authors"},"crate_size":17101,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-11-06T19:21:52.045681Z"}],"checksum":"74fd2b485add4bf80ebe4b9b56b98b9c62e57c656025bcef2e377b7b8726012d","rust_version":"1.56","has_lib":true,"bin_names":[],"edition":"2021","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)\nsupport library providing signature type definitions and PKCS#8 private key\ndecoding/encoding support","homepage":null,"documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures/tree/master/ed25519","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":461,"comment_lines":83,"files":3}},"total_code_lines":461,"total_comment_lines":83}},{"id":550084,"crate":"ed25519","num":"1.5.2","dl_path":"/api/v1/crates/ed25519/1.5.2/download","readme_path":"/api/v1/crates/ed25519/1.5.2/readme","updated_at":"2023-01-15T21:04:20.252921Z","created_at":"2022-05-16T15:22:31.361318Z","downloads":4424722,"features":{"alloc":["pkcs8/alloc"],"default":["std"],"pem":["pkcs8/pem"],"serde_bytes":["serde","serde_bytes_crate","std"],"std":["signature/std"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/1.5.2/dependencies","version_downloads":"/api/v1/crates/ed25519/1.5.2/downloads","authors":"/api/v1/crates/ed25519/1.5.2/authors"},"crate_size":17073,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-05-16T15:22:31.361318Z"},{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2023-01-15T21:04:20.260620Z"}],"checksum":"1e9c280362032ea4203659fc489832d0204ef09f247a0506f170dafcac08c369","rust_version":"1.56","has_lib":true,"bin_names":[],"edition":"2021","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)\nsupport library providing signature type definitions and PKCS#8 private key\ndecoding/encoding support","homepage":null,"documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures/tree/master/ed25519","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":468,"comment_lines":23,"files":3}},"total_code_lines":468,"total_comment_lines":23}},{"id":549819,"crate":"ed25519","num":"1.5.1","dl_path":"/api/v1/crates/ed25519/1.5.1/download","readme_path":"/api/v1/crates/ed25519/1.5.1/readme","updated_at":"2023-01-15T21:04:18.520453Z","created_at":"2022-05-16T02:07:52.447288Z","downloads":129530,"features":{"alloc":["pkcs8/alloc"],"default":["std"],"pem":["pkcs8/pem"],"serde_bytes":["serde","serde_bytes_crate","std"],"std":["signature/std"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/1.5.1/dependencies","version_downloads":"/api/v1/crates/ed25519/1.5.1/downloads","authors":"/api/v1/crates/ed25519/1.5.1/authors"},"crate_size":16851,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-05-16T02:07:52.447288Z"},{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2023-01-15T21:04:18.524602Z"}],"checksum":"f9cb2103c580a9f8732121f755eccb51312f7db26314664314c119298107064b","rust_version":"1.56","has_lib":true,"bin_names":[],"edition":"2021","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)\nsupport library providing signature type definitions and PKCS#8 private key\ndecoding/encoding support","homepage":null,"documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures/tree/master/ed25519","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":440,"comment_lines":22,"files":2}},"total_code_lines":440,"total_comment_lines":22}},{"id":546054,"crate":"ed25519","num":"1.5.0","dl_path":"/api/v1/crates/ed25519/1.5.0/download","readme_path":"/api/v1/crates/ed25519/1.5.0/readme","updated_at":"2023-01-15T21:04:16.052716Z","created_at":"2022-05-09T13:48:39.231951Z","downloads":168918,"features":{"alloc":["pkcs8/alloc"],"default":["std"],"pem":["pkcs8/pem"],"serde_bytes":["serde","serde_bytes_crate","std"],"std":["signature/std"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/1.5.0/dependencies","version_downloads":"/api/v1/crates/ed25519/1.5.0/downloads","authors":"/api/v1/crates/ed25519/1.5.0/authors"},"crate_size":16791,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-05-09T13:48:39.231951Z"},{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2023-01-15T21:04:16.057174Z"}],"checksum":"d916019f70ae3a1faa1195685e290287f39207d38e6dfee727197cffcc002214","rust_version":"1.56","has_lib":true,"bin_names":[],"edition":"2021","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)\nsupport library providing signature type definitions and PKCS#8 private key\ndecoding/encoding support","homepage":null,"documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures/tree/master/ed25519","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":440,"comment_lines":22,"files":2}},"total_code_lines":440,"total_comment_lines":22}},{"id":518792,"crate":"ed25519","num":"1.4.1","dl_path":"/api/v1/crates/ed25519/1.4.1/download","readme_path":"/api/v1/crates/ed25519/1.4.1/readme","updated_at":"2023-01-15T21:04:05.637791Z","created_at":"2022-03-18T19:06:51.743453Z","downloads":1172772,"features":{"alloc":["pkcs8/alloc"],"default":["std"],"pem":["pkcs8/pem"],"serde_bytes":["serde","serde_bytes_crate","std"],"std":["signature/std"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/1.4.1/dependencies","version_downloads":"/api/v1/crates/ed25519/1.4.1/downloads","authors":"/api/v1/crates/ed25519/1.4.1/authors"},"crate_size":16779,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-03-18T19:06:51.743453Z"},{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2023-01-15T21:04:05.640875Z"}],"checksum":"3d5c4b5e5959dc2c2b89918d8e2cc40fcdd623cef026ed09d2f0ee05199dc8e4","rust_version":"1.56","has_lib":true,"bin_names":[],"edition":"2021","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)\nsupport library providing signature type definitions and PKCS#8 private key\ndecoding/encoding support","homepage":null,"documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures/tree/master/ed25519","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":437,"comment_lines":22,"files":2}},"total_code_lines":437,"total_comment_lines":22}},{"id":506772,"crate":"ed25519","num":"1.4.0","dl_path":"/api/v1/crates/ed25519/1.4.0/download","readme_path":"/api/v1/crates/ed25519/1.4.0/readme","updated_at":"2022-03-18T19:07:05.487012Z","created_at":"2022-02-25T22:25:35.138112Z","downloads":422381,"features":{"alloc":["pkcs8/alloc"],"default":["std"],"pem":["pkcs8/pem"],"serde_bytes":["serde","serde_bytes_crate","std"],"std":["signature/std"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/1.4.0/dependencies","version_downloads":"/api/v1/crates/ed25519/1.4.0/downloads","authors":"/api/v1/crates/ed25519/1.4.0/authors"},"crate_size":11367,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-02-25T22:25:35.138112Z"},{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-03-18T19:07:05.490093Z"}],"checksum":"eed12bbf7b5312f8da1c2722bc06d8c6b12c2d86a7fb35a194c7f3e6fc2bbe39","rust_version":"1.56","has_lib":true,"bin_names":[],"edition":"2021","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)\nsupport library providing signature type definitions and PKCS#8 private key\ndecoding/encoding support","homepage":null,"documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures/tree/master/ed25519","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":324,"comment_lines":22,"files":2}},"total_code_lines":324,"total_comment_lines":22}},{"id":455489,"crate":"ed25519","num":"1.3.0","dl_path":"/api/v1/crates/ed25519/1.3.0/download","readme_path":"/api/v1/crates/ed25519/1.3.0/readme","updated_at":"2023-01-15T21:03:47.519127Z","created_at":"2021-11-18T17:57:30.414693Z","downloads":2573696,"features":{"alloc":["pkcs8/alloc"],"default":["std"],"pem":["pkcs8/pem"],"serde_bytes":["serde","serde_bytes_crate","std"],"std":["signature/std"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/1.3.0/dependencies","version_downloads":"/api/v1/crates/ed25519/1.3.0/downloads","authors":"/api/v1/crates/ed25519/1.3.0/authors"},"crate_size":11052,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2021-11-18T17:57:30.414693Z"},{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2023-01-15T21:03:47.523684Z"}],"checksum":"74e1069e39f1454367eb2de793ed062fac4c35c2934b76a81d90dd9abcd28816","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)\nsupport library providing signature type definitions and PKCS#8 private key\ndecoding/encoding support","homepage":null,"documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures/tree/master/ed25519","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":321,"comment_lines":22,"files":2}},"total_code_lines":321,"total_comment_lines":22}},{"id":403746,"crate":"ed25519","num":"1.2.0","dl_path":"/api/v1/crates/ed25519/1.2.0/download","readme_path":"/api/v1/crates/ed25519/1.2.0/readme","updated_at":"2021-07-21T19:02:16.086408Z","created_at":"2021-07-21T19:02:16.086408Z","downloads":4472738,"features":{"default":["std"],"serde_bytes":["serde","serde_bytes_crate","std"],"std":["signature/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/1.2.0/dependencies","version_downloads":"/api/v1/crates/ed25519/1.2.0/downloads","authors":"/api/v1/crates/ed25519/1.2.0/authors"},"crate_size":7225,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2021-07-21T19:02:16.086408Z"}],"checksum":"4620d40f6d2601794401d6dd95a5cf69b6c157852539470eeda433a99b3c0efc","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)","homepage":null,"documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":196,"comment_lines":15,"files":1}},"total_code_lines":196,"total_comment_lines":15}},{"id":373115,"crate":"ed25519","num":"1.1.1","dl_path":"/api/v1/crates/ed25519/1.1.1/download","readme_path":"/api/v1/crates/ed25519/1.1.1/readme","updated_at":"2021-04-30T17:26:37.933213Z","created_at":"2021-04-30T17:26:37.933213Z","downloads":892029,"features":{"default":["std"],"std":["signature/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/1.1.1/dependencies","version_downloads":"/api/v1/crates/ed25519/1.1.1/downloads","authors":"/api/v1/crates/ed25519/1.1.1/authors"},"crate_size":6410,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2021-04-30T17:26:37.933213Z"}],"checksum":"8d0860415b12243916284c67a9be413e044ee6668247b99ba26d94b2bc06c8f6","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)","homepage":null,"documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":128,"comment_lines":15,"files":1}},"total_code_lines":128,"total_comment_lines":15}},{"id":373067,"crate":"ed25519","num":"1.1.0","dl_path":"/api/v1/crates/ed25519/1.1.0/download","readme_path":"/api/v1/crates/ed25519/1.1.0/readme","updated_at":"2021-04-30T15:35:50.990037Z","created_at":"2021-04-30T15:35:50.990037Z","downloads":2457,"features":{"default":["std"],"std":["signature/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/1.1.0/dependencies","version_downloads":"/api/v1/crates/ed25519/1.1.0/downloads","authors":"/api/v1/crates/ed25519/1.1.0/authors"},"crate_size":6383,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2021-04-30T15:35:50.990037Z"}],"checksum":"55924dd53daad9ef888a9e38e2125390ef77053e20fcae3c86ea5edb1fa78826","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)","homepage":null,"documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":128,"comment_lines":15,"files":1}},"total_code_lines":128,"total_comment_lines":15}},{"id":292708,"crate":"ed25519","num":"1.0.3","dl_path":"/api/v1/crates/ed25519/1.0.3/download","readme_path":"/api/v1/crates/ed25519/1.0.3/readme","updated_at":"2020-10-12T14:06:33.157932Z","created_at":"2020-10-12T14:06:33.157932Z","downloads":2536644,"features":{"default":["std"],"std":["signature/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/1.0.3/dependencies","version_downloads":"/api/v1/crates/ed25519/1.0.3/downloads","authors":"/api/v1/crates/ed25519/1.0.3/authors"},"crate_size":6334,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2020-10-12T14:06:33.157932Z"}],"checksum":"37c66a534cbb46ab4ea03477eae19d5c22c01da8258030280b7bd9d8433fb6ef","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)","homepage":null,"documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":128,"comment_lines":15,"files":1}},"total_code_lines":128,"total_comment_lines":15}},{"id":282540,"crate":"ed25519","num":"1.0.2","dl_path":"/api/v1/crates/ed25519/1.0.2/download","readme_path":"/api/v1/crates/ed25519/1.0.2/readme","updated_at":"2020-09-11T22:26:42.169403Z","created_at":"2020-09-11T22:26:42.169403Z","downloads":187456,"features":{"default":["std"],"std":["signature/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/1.0.2/dependencies","version_downloads":"/api/v1/crates/ed25519/1.0.2/downloads","authors":"/api/v1/crates/ed25519/1.0.2/authors"},"crate_size":6081,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2020-09-11T22:26:42.169403Z"}],"checksum":"07dfc993ea376e864fe29a4099a61ca0bb994c6d7745a61bf60ddb3d64e05237","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)","homepage":null,"documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":133,"comment_lines":15,"files":1}},"total_code_lines":133,"total_comment_lines":15}},{"id":233166,"crate":"ed25519","num":"1.0.1","dl_path":"/api/v1/crates/ed25519/1.0.1/download","readme_path":"/api/v1/crates/ed25519/1.0.1/readme","updated_at":"2020-04-20T16:09:48.007608Z","created_at":"2020-04-20T16:09:48.007608Z","downloads":959833,"features":{"default":["std"],"std":["signature/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/1.0.1/dependencies","version_downloads":"/api/v1/crates/ed25519/1.0.1/downloads","authors":"/api/v1/crates/ed25519/1.0.1/authors"},"crate_size":5602,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2020-04-20T16:09:48.007608Z"}],"checksum":"bf038a7b6fd7ef78ad3348b63f3a17550877b0e28f8d68bcc94894d1412158bc","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)","homepage":null,"documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":133,"comment_lines":15,"files":1}},"total_code_lines":133,"total_comment_lines":15}},{"id":232620,"crate":"ed25519","num":"1.0.0","dl_path":"/api/v1/crates/ed25519/1.0.0/download","readme_path":"/api/v1/crates/ed25519/1.0.0/readme","updated_at":"2020-04-18T18:58:25.386500Z","created_at":"2020-04-18T18:58:25.386500Z","downloads":18098,"features":{"default":["std"],"std":["signature/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/1.0.0/dependencies","version_downloads":"/api/v1/crates/ed25519/1.0.0/downloads","authors":"/api/v1/crates/ed25519/1.0.0/authors"},"crate_size":4488,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2020-04-18T18:58:25.386500Z"}],"checksum":"d7973fe31504dc6812d147856ac716bce1c0bd50e8ea22f838f7002ec72bff74","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)","homepage":null,"documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":128,"comment_lines":15,"files":1}},"total_code_lines":128,"total_comment_lines":15}},{"id":222114,"crate":"ed25519","num":"1.0.0-pre.4","dl_path":"/api/v1/crates/ed25519/1.0.0-pre.4/download","readme_path":"/api/v1/crates/ed25519/1.0.0-pre.4/readme","updated_at":"2022-02-25T22:37:32.790025Z","created_at":"2020-03-17T17:03:30.427300Z","downloads":3736,"features":{"default":["std"],"std":["signature/std"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/1.0.0-pre.4/dependencies","version_downloads":"/api/v1/crates/ed25519/1.0.0-pre.4/downloads","authors":"/api/v1/crates/ed25519/1.0.0-pre.4/authors"},"crate_size":4480,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2020-03-17T17:03:30.427300Z"},{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-02-25T22:37:32.799480Z"}],"checksum":"01a416ad364359365b649fb28d7a6fab7f998d13282182241134beb014a9a378","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)","homepage":null,"documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":128,"comment_lines":15,"files":1}},"total_code_lines":128,"total_comment_lines":15}},{"id":221797,"crate":"ed25519","num":"1.0.0-pre.3","dl_path":"/api/v1/crates/ed25519/1.0.0-pre.3/download","readme_path":"/api/v1/crates/ed25519/1.0.0-pre.3/readme","updated_at":"2022-02-25T22:37:31.053616Z","created_at":"2020-03-16T18:16:30.141507Z","downloads":2146,"features":{"default":["std"],"std":["signature/std"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/1.0.0-pre.3/dependencies","version_downloads":"/api/v1/crates/ed25519/1.0.0-pre.3/downloads","authors":"/api/v1/crates/ed25519/1.0.0-pre.3/authors"},"crate_size":3992,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2020-03-16T18:16:30.141507Z"},{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-02-25T22:37:31.057824Z"}],"checksum":"18dfef8a304d8b4896c0297c6663891195250ee1e33aa3b322e348596fe139a3","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)","homepage":null,"documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":99,"comment_lines":14,"files":1}},"total_code_lines":99,"total_comment_lines":14}},{"id":219266,"crate":"ed25519","num":"1.0.0-pre.2","dl_path":"/api/v1/crates/ed25519/1.0.0-pre.2/download","readme_path":"/api/v1/crates/ed25519/1.0.0-pre.2/readme","updated_at":"2022-02-25T22:37:29.333711Z","created_at":"2020-03-08T22:23:41.984037Z","downloads":4341,"features":{"default":["std"],"std":["signature/std"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/1.0.0-pre.2/dependencies","version_downloads":"/api/v1/crates/ed25519/1.0.0-pre.2/downloads","authors":"/api/v1/crates/ed25519/1.0.0-pre.2/authors"},"crate_size":3932,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2020-03-08T22:23:41.984037Z"},{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-02-25T22:37:29.337392Z"}],"checksum":"80408ec92c1f70ba4f77797b5602961c252a60ec89eb15a4b7ecb83a7859bfa6","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)","homepage":null,"documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":99,"comment_lines":13,"files":1}},"total_code_lines":99,"total_comment_lines":13}},{"id":185483,"crate":"ed25519","num":"1.0.0-pre.1","dl_path":"/api/v1/crates/ed25519/1.0.0-pre.1/download","readme_path":"/api/v1/crates/ed25519/1.0.0-pre.1/readme","updated_at":"2022-02-25T22:37:28.169415Z","created_at":"2019-10-27T17:59:22.328489Z","downloads":52265,"features":{},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/1.0.0-pre.1/dependencies","version_downloads":"/api/v1/crates/ed25519/1.0.0-pre.1/downloads","authors":"/api/v1/crates/ed25519/1.0.0-pre.1/authors"},"crate_size":3654,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-02-25T22:37:28.174067Z"}],"checksum":"c28f2b738e873c40ce7339dfb8c5a48c936084b4540127e86c47a0fddcaa8624","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)","homepage":null,"documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":97,"comment_lines":8,"files":1}},"total_code_lines":97,"total_comment_lines":8}},{"id":181962,"crate":"ed25519","num":"1.0.0-pre.0","dl_path":"/api/v1/crates/ed25519/1.0.0-pre.0/download","readme_path":"/api/v1/crates/ed25519/1.0.0-pre.0/readme","updated_at":"2022-02-25T22:37:25.461470Z","created_at":"2019-10-11T18:00:58.192174Z","downloads":2210,"features":{"alloc":["signature/alloc"],"default":["alloc"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/1.0.0-pre.0/dependencies","version_downloads":"/api/v1/crates/ed25519/1.0.0-pre.0/downloads","authors":"/api/v1/crates/ed25519/1.0.0-pre.0/authors"},"crate_size":2898,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-02-25T22:37:25.465367Z"}],"checksum":"48fac43d8e4e9e7e3164e93daaf13657b6374102c8c11938ff56db63c7abf2da","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)","homepage":null,"documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":49,"comment_lines":0,"files":1}},"total_code_lines":49,"total_comment_lines":0}},{"id":181714,"crate":"ed25519","num":"0.2.0","dl_path":"/api/v1/crates/ed25519/0.2.0/download","readme_path":"/api/v1/crates/ed25519/0.2.0/readme","updated_at":"2022-02-25T22:37:20.683264Z","created_at":"2019-10-10T16:05:02.713944Z","downloads":3144,"features":{"alloc":["signature/alloc"],"default":["alloc"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/0.2.0/dependencies","version_downloads":"/api/v1/crates/ed25519/0.2.0/downloads","authors":"/api/v1/crates/ed25519/0.2.0/authors"},"crate_size":2855,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-02-25T22:37:20.687469Z"}],"checksum":"fdd4f7ef77fea914346157eb9090865349fc396f93271d792ca210c394aee01b","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)","homepage":null,"documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":49,"comment_lines":0,"files":1}},"total_code_lines":49,"total_comment_lines":0}},{"id":168608,"crate":"ed25519","num":"0.1.0","dl_path":"/api/v1/crates/ed25519/0.1.0/download","readme_path":"/api/v1/crates/ed25519/0.1.0/readme","updated_at":"2022-02-25T22:37:18.103085Z","created_at":"2019-08-10T19:05:50.564789Z","downloads":2305,"features":{"alloc":["signature/alloc"],"default":["alloc"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/ed25519/0.1.0/dependencies","version_downloads":"/api/v1/crates/ed25519/0.1.0/downloads","authors":"/api/v1/crates/ed25519/0.1.0/authors"},"crate_size":1724,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-02-25T22:37:18.108533Z"}],"checksum":"c2cc37d607ac61723617aa666fdff5614df792ec9fa2546e109ad8b1515e2906","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032)","homepage":null,"documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/signatures","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":47,"comment_lines":0,"files":1}},"total_code_lines":47,"total_comment_lines":0}},{"id":35316,"crate":"ed25519","num":"0.0.0","dl_path":"/api/v1/crates/ed25519/0.0.0/download","readme_path":"/api/v1/crates/ed25519/0.0.0/readme","updated_at":"2022-02-25T22:37:15.633421Z","created_at":"2016-10-06T21:33:33.887375Z","downloads":4337,"features":{},"yanked":true,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/ed25519/0.0.0/dependencies","version_downloads":"/api/v1/crates/ed25519/0.0.0/downloads","authors":"/api/v1/crates/ed25519/0.0.0/authors"},"crate_size":350,"published_by":null,"audit_actions":[{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-02-25T22:37:15.637580Z"}],"checksum":"3744657665bb03e6b3c306f0a91ee8861ea87a30debc307343acd5e6d6de869d","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Ed25519","homepage":null,"documentation":"https://docs.rs/ed25519","repository":"https://github.com/RustCrypto/rust-crypto-decoupled","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":0,"comment_lines":0,"files":1}},"total_code_lines":0,"total_comment_lines":0}}],"keywords":[{"id":"crypto","keyword":"crypto","created_at":"2014-11-24T02:30:36.413823Z","crates_cnt":2682},{"id":"curve25519","keyword":"curve25519","created_at":"2016-12-08T05:13:57.620503Z","crates_cnt":87},{"id":"ecc","keyword":"ecc","created_at":"2016-10-13T17:25:33.430203Z","crates_cnt":108},{"id":"signature","keyword":"signature","created_at":"2016-03-20T14:09:39.594960Z","crates_cnt":338},{"id":"signing","keyword":"signing","created_at":"2018-08-20T04:17:41.857763Z","crates_cnt":207}],"categories":[{"id":"cryptography","category":"Cryptography","slug":"cryptography","description":"Algorithms intended for securing data.","created_at":"2017-01-17T19:13:05.112025Z","crates_cnt":7915},{"id":"no-std","category":"No standard library","slug":"no-std","description":"Crates that are able to function without the Rust standard library.","created_at":"2017-02-10T01:52:09.447906Z","crates_cnt":13734}]} \ No newline at end of file diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/rand_core.json b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/rand_core.json new file mode 100644 index 0000000000..9211767dab --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/rand_core.json @@ -0,0 +1 @@ +{"crate":{"id":"rand_core","name":"rand_core","updated_at":"2026-09-02T08:19:33.285884Z","versions":[3133498,3133455,3133405,3133227,2251402,1989089,1968984,1958423,1956880,1940154,1937889,1896317,1802137,1802026,1464491,1456327,1448833,1423437,1358047,1353345,1217885,1087219,1055708,622116,390019,339498,322375,314879,172383,167659,154967,154953,130019,130016,110639,109405,95832,93663,92907,89273,86023,65314],"keywords":["random","rng"],"categories":["algorithms","no-std"],"badges":[],"created_at":"2017-09-14T12:02:18.709038Z","downloads":1896962456,"recent_downloads":494762316,"default_version":"0.10.1","num_versions":42,"yanked":false,"max_version":"0.10.1","newest_version":"0.1.1","max_stable_version":"0.10.1","description":"Core random number generator traits and tools for implementation.\n","homepage":"https://crates.io/crates/rand_core","documentation":"https://docs.rs/rand_core","repository":"https://github.com/rust-lang-nursery/rand","links":{"version_downloads":"/api/v1/crates/rand_core/downloads","versions":null,"owners":"/api/v1/crates/rand_core/owners","owner_team":"/api/v1/crates/rand_core/owner_team","owner_user":"/api/v1/crates/rand_core/owner_user","reverse_dependencies":"/api/v1/crates/rand_core/reverse_dependencies"},"exact_match":false,"trustpub_only":true},"versions":[{"id":3133498,"crate":"rand_core","num":"0.1.1","dl_path":"/api/v1/crates/rand_core/0.1.1/download","readme_path":"/api/v1/crates/rand_core/0.1.1/readme","updated_at":"2026-09-02T08:19:21.552477Z","created_at":"2026-09-02T08:19:21.552477Z","downloads":60,"features":{"alloc":[],"serde1":["serde","serde_derive"],"std":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.1.1/dependencies","version_downloads":"/api/v1/crates/rand_core/0.1.1/downloads","authors":"/api/v1/crates/rand_core/0.1.1/authors"},"crate_size":18798,"published_by":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"audit_actions":[{"action":"publish","user":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"time":"2026-09-02T08:19:21.552477Z"}],"checksum":"ee1a8a8a24e6349e38057abe223807798ffd2148d6a946e646d0e0c00fc8f12e","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Core random number generator traits and tools for implementation.\n","homepage":"https://crates.io/crates/rand_core","documentation":"https://docs.rs/rand_core","repository":"https://github.com/rust-lang-nursery/rand","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":551,"comment_lines":62,"files":4}},"total_code_lines":551,"total_comment_lines":62}},{"id":3133455,"crate":"rand_core","num":"0.2.3","dl_path":"/api/v1/crates/rand_core/0.2.3/download","readme_path":"/api/v1/crates/rand_core/0.2.3/readme","updated_at":"2026-09-02T08:13:41.665455Z","created_at":"2026-09-02T08:13:41.665455Z","downloads":7882,"features":{"alloc":["rand_core/alloc"],"serde1":["rand_core/serde1"],"std":["rand_core/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.2.3/dependencies","version_downloads":"/api/v1/crates/rand_core/0.2.3/downloads","authors":"/api/v1/crates/rand_core/0.2.3/authors"},"crate_size":16216,"published_by":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"audit_actions":[{"action":"publish","user":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"time":"2026-09-02T08:13:41.665455Z"}],"checksum":"46823c07f4cb1c318d0f50eb0d3a10393eab94171bf69a2119120713c1f7ef66","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Core random number generator traits and tools for implementation.\n","homepage":"https://crates.io/crates/rand_core","documentation":"https://docs.rs/rand_core","repository":"https://github.com/rust-random/rand","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":509,"comment_lines":61,"files":5}},"total_code_lines":509,"total_comment_lines":61}},{"id":3133405,"crate":"rand_core","num":"0.3.2","dl_path":"/api/v1/crates/rand_core/0.3.2/download","readme_path":"/api/v1/crates/rand_core/0.3.2/readme","updated_at":"2026-09-02T08:09:24.700854Z","created_at":"2026-09-02T08:09:24.700854Z","downloads":725261,"features":{"alloc":["rand_core/alloc"],"default":["std"],"serde1":["rand_core/serde1"],"std":["rand_core/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.3.2/dependencies","version_downloads":"/api/v1/crates/rand_core/0.3.2/downloads","authors":"/api/v1/crates/rand_core/0.3.2/authors"},"crate_size":16294,"published_by":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"audit_actions":[{"action":"publish","user":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"time":"2026-09-02T08:09:24.700854Z"}],"checksum":"96f815e01bbd9678b50d927f79aa1cf3ffdfdb1b9787317c1284dadb894ad0e8","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Core random number generator traits and tools for implementation.\n","homepage":"https://crates.io/crates/rand_core","documentation":"https://rust-random.github.io/rand/rand_core","repository":"https://github.com/rust-random/rand","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":515,"comment_lines":52,"files":5}},"total_code_lines":515,"total_comment_lines":52}},{"id":3133227,"crate":"rand_core","num":"0.4.3","dl_path":"/api/v1/crates/rand_core/0.4.3/download","readme_path":"/api/v1/crates/rand_core/0.4.3/readme","updated_at":"2026-09-02T07:50:31.835434Z","created_at":"2026-09-02T07:50:31.835434Z","downloads":737569,"features":{"alloc":[],"serde1":["serde","serde_derive"],"std":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.4.3/dependencies","version_downloads":"/api/v1/crates/rand_core/0.4.3/downloads","authors":"/api/v1/crates/rand_core/0.4.3/authors"},"crate_size":20963,"published_by":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"audit_actions":[{"action":"publish","user":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"time":"2026-09-02T07:50:31.835434Z"}],"checksum":"0e5937858e6fd18cd595d558f90bb5de3b72ae23f9e3763af0e805949b04ef60","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Core random number generator traits and tools for implementation.\n","homepage":"https://crates.io/crates/rand_core","documentation":"https://rust-random.github.io/rand/rand_core/","repository":"https://github.com/rust-random/rand","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":593,"comment_lines":60,"files":5}},"total_code_lines":593,"total_comment_lines":60}},{"id":2251402,"crate":"rand_core","num":"0.10.1","dl_path":"/api/v1/crates/rand_core/0.10.1/download","readme_path":"/api/v1/crates/rand_core/0.10.1/readme","updated_at":"2026-04-13T15:26:43.049921Z","created_at":"2026-04-13T15:26:43.049921Z","downloads":140429117,"features":{},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.10.1/dependencies","version_downloads":"/api/v1/crates/rand_core/0.10.1/downloads","authors":"/api/v1/crates/rand_core/0.10.1/authors"},"crate_size":22833,"published_by":null,"audit_actions":[],"checksum":"63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Core random number generation traits and tools for implementation.","homepage":"https://rust-random.github.io/book","documentation":"https://docs.rs/rand_core","repository":"https://github.com/rust-random/rand_core","trustpub_data":{"provider":"github","repository":"rust-random/rand_core","run_id":"24350942053","sha":"5cd7df496d0bff1d95534ac8b66a2610f5bf7808"},"linecounts":{"languages":{"Rust":{"code_lines":403,"comment_lines":10,"files":6}},"total_code_lines":403,"total_comment_lines":10}},{"id":1989089,"crate":"rand_core","num":"0.10.0","dl_path":"/api/v1/crates/rand_core/0.10.0/download","readme_path":"/api/v1/crates/rand_core/0.10.0/readme","updated_at":"2026-02-01T09:06:13.929911Z","created_at":"2026-02-01T09:06:13.929911Z","downloads":36726684,"features":{},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.10.0/dependencies","version_downloads":"/api/v1/crates/rand_core/0.10.0/downloads","authors":"/api/v1/crates/rand_core/0.10.0/authors"},"crate_size":22778,"published_by":null,"audit_actions":[],"checksum":"0c8d0fd677905edcbeedbf2edb6494d676f0e98d54d5cf9bda0b061cb8fb8aba","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Core random number generation traits and tools for implementation.","homepage":"https://rust-random.github.io/book","documentation":"https://docs.rs/rand_core","repository":"https://github.com/rust-random/rand_core","trustpub_data":{"provider":"github","repository":"rust-random/rand_core","run_id":"21560140931","sha":"0ce22c945d12cbad6b10eccb872961f4da061df2"},"linecounts":{"languages":{"Rust":{"code_lines":403,"comment_lines":10,"files":6}},"total_code_lines":403,"total_comment_lines":10}},{"id":1968984,"crate":"rand_core","num":"0.10.0-rc-6","dl_path":"/api/v1/crates/rand_core/0.10.0-rc-6/download","readme_path":"/api/v1/crates/rand_core/0.10.0-rc-6/readme","updated_at":"2026-01-24T09:27:40.959246Z","created_at":"2026-01-24T09:27:40.959246Z","downloads":66528,"features":{},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.10.0-rc-6/dependencies","version_downloads":"/api/v1/crates/rand_core/0.10.0-rc-6/downloads","authors":"/api/v1/crates/rand_core/0.10.0-rc-6/authors"},"crate_size":22672,"published_by":null,"audit_actions":[],"checksum":"70765ff7112b0fb2d272d24d9a2f907fc206211304328fe58b2db15a5649ef28","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Core random number generation traits and tools for implementation.","homepage":"https://rust-random.github.io/book","documentation":"https://docs.rs/rand_core","repository":"https://github.com/rust-random/rand_core","trustpub_data":{"provider":"github","repository":"rust-random/rand_core","run_id":"21311928331","sha":"e591ff2c1fb4ba6b48ea87c410530c180ee03af7"},"linecounts":{"languages":{"Rust":{"code_lines":389,"comment_lines":12,"files":4}},"total_code_lines":389,"total_comment_lines":12}},{"id":1958423,"crate":"rand_core","num":"0.10.0-rc-5","dl_path":"/api/v1/crates/rand_core/0.10.0-rc-5/download","readme_path":"/api/v1/crates/rand_core/0.10.0-rc-5/readme","updated_at":"2026-01-20T11:29:17.851566Z","created_at":"2026-01-20T11:29:17.851566Z","downloads":26726,"features":{},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.10.0-rc-5/dependencies","version_downloads":"/api/v1/crates/rand_core/0.10.0-rc-5/downloads","authors":"/api/v1/crates/rand_core/0.10.0-rc-5/authors"},"crate_size":22148,"published_by":null,"audit_actions":[],"checksum":"05a06e03bd1f2ae861ab9e7498b6c64ed3dadb9ce175c0464a2522a5f23c0045","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Core random number generation traits and tools for implementation.","homepage":"https://rust-random.github.io/book","documentation":"https://docs.rs/rand_core","repository":"https://github.com/rust-random/rand_core","trustpub_data":{"provider":"github","repository":"rust-random/rand_core","run_id":"21169787196","sha":"ca8acac34c48003501a9342a1a8acef57e7ebeec"},"linecounts":{"languages":{"Rust":{"code_lines":590,"comment_lines":27,"files":4}},"total_code_lines":590,"total_comment_lines":27}},{"id":1956880,"crate":"rand_core","num":"0.10.0-rc-4","dl_path":"/api/v1/crates/rand_core/0.10.0-rc-4/download","readme_path":"/api/v1/crates/rand_core/0.10.0-rc-4/readme","updated_at":"2026-01-19T17:27:09.681150Z","created_at":"2026-01-19T17:27:09.681150Z","downloads":4545,"features":{},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.10.0-rc-4/dependencies","version_downloads":"/api/v1/crates/rand_core/0.10.0-rc-4/downloads","authors":"/api/v1/crates/rand_core/0.10.0-rc-4/authors"},"crate_size":22124,"published_by":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"audit_actions":[{"action":"publish","user":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"time":"2026-01-19T17:27:09.681150Z"}],"checksum":"43bb1e3655c24705492d72208c9bacdefe07c30c14b8f7664c556a3e1953b72c","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Core random number generation traits and tools for implementation.","homepage":"https://rust-random.github.io/book","documentation":"https://docs.rs/rand_core","repository":"https://github.com/rust-random/rand_core","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":587,"comment_lines":27,"files":4}},"total_code_lines":587,"total_comment_lines":27}},{"id":1940154,"crate":"rand_core","num":"0.9.5","dl_path":"/api/v1/crates/rand_core/0.9.5/download","readme_path":"/api/v1/crates/rand_core/0.9.5/readme","updated_at":"2026-01-13T09:22:22.780002Z","created_at":"2026-01-13T09:22:22.780002Z","downloads":245568401,"features":{"os_rng":["dep:getrandom"],"serde":["dep:serde"],"std":["getrandom?/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.9.5/dependencies","version_downloads":"/api/v1/crates/rand_core/0.9.5/downloads","authors":"/api/v1/crates/rand_core/0.9.5/authors"},"crate_size":24129,"published_by":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"audit_actions":[{"action":"publish","user":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"time":"2026-01-13T09:22:22.780002Z"}],"checksum":"76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c","rust_version":"1.63","has_lib":true,"bin_names":[],"edition":"2021","description":"Core random number generator traits and tools for implementation.\n","homepage":"https://rust-random.github.io/book","documentation":"https://docs.rs/rand_core","repository":"https://github.com/rust-random/rand","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":829,"comment_lines":68,"files":5}},"total_code_lines":829,"total_comment_lines":68}},{"id":1937889,"crate":"rand_core","num":"0.9.4","dl_path":"/api/v1/crates/rand_core/0.9.4/download","readme_path":"/api/v1/crates/rand_core/0.9.4/readme","updated_at":"2026-01-12T14:40:25.884252Z","created_at":"2026-01-12T14:40:25.884252Z","downloads":561313,"features":{"os_rng":["dep:getrandom"],"serde":["dep:serde"],"std":["getrandom?/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.9.4/dependencies","version_downloads":"/api/v1/crates/rand_core/0.9.4/downloads","authors":"/api/v1/crates/rand_core/0.9.4/authors"},"crate_size":24089,"published_by":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"audit_actions":[{"action":"publish","user":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"time":"2026-01-12T14:40:25.884252Z"}],"checksum":"4f1b3bc831f92381018fd9c6350b917c7b21f1eed35a65a51900e0e55a3d7afa","rust_version":"1.63","has_lib":true,"bin_names":[],"edition":"2021","description":"Core random number generator traits and tools for implementation.\n","homepage":"https://rust-random.github.io/book","documentation":"https://docs.rs/rand_core","repository":"https://github.com/rust-random/rand","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":829,"comment_lines":68,"files":5}},"total_code_lines":829,"total_comment_lines":68}},{"id":1896317,"crate":"rand_core","num":"0.10.0-rc-3","dl_path":"/api/v1/crates/rand_core/0.10.0-rc-3/download","readme_path":"/api/v1/crates/rand_core/0.10.0-rc-3/readme","updated_at":"2025-12-22T12:00:48.487682Z","created_at":"2025-12-22T12:00:48.487682Z","downloads":1130378,"features":{},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.10.0-rc-3/dependencies","version_downloads":"/api/v1/crates/rand_core/0.10.0-rc-3/downloads","authors":"/api/v1/crates/rand_core/0.10.0-rc-3/authors"},"crate_size":21256,"published_by":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"audit_actions":[{"action":"publish","user":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"time":"2025-12-22T12:00:48.487682Z"}],"checksum":"f66ee92bc15280519ef199a274fe0cafff4245d31bc39aaa31c011ad56cb1f05","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Core random number generation traits and tools for implementation.","homepage":"https://rust-random.github.io/book","documentation":"https://docs.rs/rand_core","repository":"https://github.com/rust-random/rand_core","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":587,"comment_lines":29,"files":4}},"total_code_lines":587,"total_comment_lines":29}},{"id":1802137,"crate":"rand_core","num":"0.10.0-rc-2","dl_path":"/api/v1/crates/rand_core/0.10.0-rc-2/download","readme_path":"/api/v1/crates/rand_core/0.10.0-rc-2/readme","updated_at":"2025-10-31T16:44:01.604425Z","created_at":"2025-10-31T16:44:01.604425Z","downloads":355385,"features":{"serde":["dep:serde"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.10.0-rc-2/dependencies","version_downloads":"/api/v1/crates/rand_core/0.10.0-rc-2/downloads","authors":"/api/v1/crates/rand_core/0.10.0-rc-2/authors"},"crate_size":24532,"published_by":null,"audit_actions":[],"checksum":"104a23e4e8b77312a823b6b5613edbac78397e2f34320bc7ac4277013ec4478e","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Core random number generator traits and tools for implementation.\n","homepage":"https://rust-random.github.io/book","documentation":"https://docs.rs/rand_core","repository":"https://github.com/rust-random/rand","trustpub_data":{"provider":"github","repository":"rust-random/core","run_id":"18978945682","sha":"957e1f19feac735a1b88677dbfa4cc753bf30bd9"},"linecounts":{"languages":{"Rust":{"code_lines":750,"comment_lines":54,"files":3}},"total_code_lines":750,"total_comment_lines":54}},{"id":1802026,"crate":"rand_core","num":"0.10.0-rc-1","dl_path":"/api/v1/crates/rand_core/0.10.0-rc-1/download","readme_path":"/api/v1/crates/rand_core/0.10.0-rc-1/readme","updated_at":"2025-10-31T15:19:45.440866Z","created_at":"2025-10-31T15:19:45.440866Z","downloads":119,"features":{"serde":["dep:serde"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.10.0-rc-1/dependencies","version_downloads":"/api/v1/crates/rand_core/0.10.0-rc-1/downloads","authors":"/api/v1/crates/rand_core/0.10.0-rc-1/authors"},"crate_size":24386,"published_by":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"audit_actions":[{"action":"publish","user":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"time":"2025-10-31T15:19:45.440866Z"}],"checksum":"17e880bf4374de457656e3d85240b2f1bc4f17d5f657a7b00a852e946fa79fc0","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Core random number generator traits and tools for implementation.\n","homepage":"https://rust-random.github.io/book","documentation":"https://docs.rs/rand_core","repository":"https://github.com/rust-random/rand","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":750,"comment_lines":54,"files":3}},"total_code_lines":750,"total_comment_lines":54}},{"id":1464491,"crate":"rand_core","num":"0.9.3","dl_path":"/api/v1/crates/rand_core/0.9.3/download","readme_path":"/api/v1/crates/rand_core/0.9.3/readme","updated_at":"2025-03-01T14:01:08.459817Z","created_at":"2025-03-01T14:01:08.459817Z","downloads":192694707,"features":{"os_rng":["dep:getrandom"],"serde":["dep:serde"],"std":["getrandom?/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.9.3/dependencies","version_downloads":"/api/v1/crates/rand_core/0.9.3/downloads","authors":"/api/v1/crates/rand_core/0.9.3/authors"},"crate_size":24543,"published_by":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"audit_actions":[{"action":"publish","user":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"time":"2025-03-01T14:01:08.459817Z"}],"checksum":"99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38","rust_version":"1.63","has_lib":true,"bin_names":[],"edition":"2021","description":"Core random number generator traits and tools for implementation.\n","homepage":"https://rust-random.github.io/book","documentation":"https://docs.rs/rand_core","repository":"https://github.com/rust-random/rand","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":829,"comment_lines":68,"files":5}},"total_code_lines":829,"total_comment_lines":68}},{"id":1456327,"crate":"rand_core","num":"0.9.2","dl_path":"/api/v1/crates/rand_core/0.9.2/download","readme_path":"/api/v1/crates/rand_core/0.9.2/readme","updated_at":"2025-02-22T16:28:51.276641Z","created_at":"2025-02-22T16:28:51.276641Z","downloads":3924939,"features":{"os_rng":["dep:getrandom"],"serde":["dep:serde"],"std":["getrandom?/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.9.2/dependencies","version_downloads":"/api/v1/crates/rand_core/0.9.2/downloads","authors":"/api/v1/crates/rand_core/0.9.2/authors"},"crate_size":24632,"published_by":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"audit_actions":[{"action":"publish","user":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"time":"2025-02-22T16:28:51.276641Z"}],"checksum":"7a509b1a2ffbe92afab0e55c8fd99dea1c280e8171bd2d88682bb20bc41cbc2c","rust_version":"1.63","has_lib":true,"bin_names":[],"edition":"2021","description":"Core random number generator traits and tools for implementation.\n","homepage":"https://rust-random.github.io/book","documentation":"https://docs.rs/rand_core","repository":"https://github.com/rust-random/rand","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":824,"comment_lines":69,"files":5}},"total_code_lines":824,"total_comment_lines":69}},{"id":1448833,"crate":"rand_core","num":"0.9.1","dl_path":"/api/v1/crates/rand_core/0.9.1/download","readme_path":"/api/v1/crates/rand_core/0.9.1/readme","updated_at":"2025-02-16T17:53:34.055533Z","created_at":"2025-02-16T17:53:34.055533Z","downloads":4350896,"features":{"os_rng":["dep:getrandom"],"serde":["dep:serde"],"std":["getrandom?/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.9.1/dependencies","version_downloads":"/api/v1/crates/rand_core/0.9.1/downloads","authors":"/api/v1/crates/rand_core/0.9.1/authors"},"crate_size":23893,"published_by":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"audit_actions":[{"action":"publish","user":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"time":"2025-02-16T17:53:34.055533Z"}],"checksum":"a88e0da7a2c97baa202165137c158d0a2e824ac465d13d81046727b34cb247d3","rust_version":"1.63","has_lib":true,"bin_names":[],"edition":"2021","description":"Core random number generator traits and tools for implementation.\n","homepage":"https://rust-random.github.io/book","documentation":"https://docs.rs/rand_core","repository":"https://github.com/rust-random/rand","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":737,"comment_lines":56,"files":5}},"total_code_lines":737,"total_comment_lines":56}},{"id":1423437,"crate":"rand_core","num":"0.9.0","dl_path":"/api/v1/crates/rand_core/0.9.0/download","readme_path":"/api/v1/crates/rand_core/0.9.0/readme","updated_at":"2025-01-27T13:38:00.729180Z","created_at":"2025-01-27T13:38:00.729180Z","downloads":17683491,"features":{"os_rng":["dep:getrandom"],"serde":["dep:serde"],"std":["getrandom?/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.9.0/dependencies","version_downloads":"/api/v1/crates/rand_core/0.9.0/downloads","authors":"/api/v1/crates/rand_core/0.9.0/authors"},"crate_size":23441,"published_by":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"audit_actions":[{"action":"publish","user":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"time":"2025-01-27T13:38:00.729180Z"}],"checksum":"b08f3c9802962f7e1b25113931d94f43ed9725bebc59db9d0c3e9a23b67e15ff","rust_version":"1.63","has_lib":true,"bin_names":[],"edition":"2021","description":"Core random number generator traits and tools for implementation.\n","homepage":"https://rust-random.github.io/book","documentation":"https://docs.rs/rand_core","repository":"https://github.com/rust-random/rand","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":717,"comment_lines":56,"files":5}},"total_code_lines":717,"total_comment_lines":56}},{"id":1358047,"crate":"rand_core","num":"0.9.0-beta.1","dl_path":"/api/v1/crates/rand_core/0.9.0-beta.1/download","readme_path":"/api/v1/crates/rand_core/0.9.0-beta.1/readme","updated_at":"2024-11-30T08:45:42.133082Z","created_at":"2024-11-30T08:45:42.133082Z","downloads":122344,"features":{"os_rng":["dep:getrandom"],"serde":["dep:serde"],"std":["getrandom?/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.9.0-beta.1/dependencies","version_downloads":"/api/v1/crates/rand_core/0.9.0-beta.1/downloads","authors":"/api/v1/crates/rand_core/0.9.0-beta.1/authors"},"crate_size":24584,"published_by":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"audit_actions":[{"action":"publish","user":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"time":"2024-11-30T08:45:42.133082Z"}],"checksum":"a98fa0b8309344136abe6244130311e76997e546f76fae8054422a7539b43df7","rust_version":"1.63","has_lib":true,"bin_names":[],"edition":"2021","description":"Core random number generator traits and tools for implementation.","homepage":"https://rust-random.github.io/book","documentation":"https://docs.rs/rand_core","repository":"https://github.com/rust-random/rand","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":717,"comment_lines":56,"files":5}},"total_code_lines":717,"total_comment_lines":56}},{"id":1353345,"crate":"rand_core","num":"0.9.0-beta.0","dl_path":"/api/v1/crates/rand_core/0.9.0-beta.0/download","readme_path":"/api/v1/crates/rand_core/0.9.0-beta.0/readme","updated_at":"2024-11-26T13:29:44.851439Z","created_at":"2024-11-26T13:29:44.851439Z","downloads":10159,"features":{"alloc":[],"os_rng":["dep:getrandom"],"serde":["dep:serde"],"std":["alloc","getrandom?/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.9.0-beta.0/dependencies","version_downloads":"/api/v1/crates/rand_core/0.9.0-beta.0/downloads","authors":"/api/v1/crates/rand_core/0.9.0-beta.0/authors"},"crate_size":23521,"published_by":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"audit_actions":[{"action":"publish","user":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"time":"2024-11-26T13:29:44.851439Z"}],"checksum":"faff9cb0513c709c88c66ba1c44e7dfb0e6343494c57576614524400ee60d7cb","rust_version":"1.63","has_lib":true,"bin_names":[],"edition":"2021","description":"Core random number generator traits and tools for implementation.","homepage":"https://rust-random.github.io/book","documentation":"https://docs.rs/rand_core","repository":"https://github.com/rust-random/rand","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":729,"comment_lines":56,"files":5}},"total_code_lines":729,"total_comment_lines":56}},{"id":1217885,"crate":"rand_core","num":"0.9.0-alpha.2","dl_path":"/api/v1/crates/rand_core/0.9.0-alpha.2/download","readme_path":"/api/v1/crates/rand_core/0.9.0-alpha.2/readme","updated_at":"2024-07-29T10:42:18.116421Z","created_at":"2024-07-29T10:42:18.116421Z","downloads":154079,"features":{"alloc":[],"serde":["dep:serde"],"std":["alloc","getrandom?/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.9.0-alpha.2/dependencies","version_downloads":"/api/v1/crates/rand_core/0.9.0-alpha.2/downloads","authors":"/api/v1/crates/rand_core/0.9.0-alpha.2/authors"},"crate_size":22397,"published_by":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"audit_actions":[{"action":"publish","user":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"time":"2024-07-29T10:42:18.116421Z"}],"checksum":"f4e93f5a5e3c528cda9acb0928c31b2ba868c551cc46e67b778075e34aab9906","rust_version":"1.61","has_lib":true,"bin_names":[],"edition":"2021","description":"Core random number generator traits and tools for implementation.","homepage":"https://rust-random.github.io/book","documentation":"https://docs.rs/rand_core","repository":"https://github.com/rust-random/rand","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":769,"comment_lines":52,"files":6}},"total_code_lines":769,"total_comment_lines":52}},{"id":1087219,"crate":"rand_core","num":"0.9.0-alpha.1","dl_path":"/api/v1/crates/rand_core/0.9.0-alpha.1/download","readme_path":"/api/v1/crates/rand_core/0.9.0-alpha.1/readme","updated_at":"2024-03-18T19:11:42.171057Z","created_at":"2024-03-18T19:11:42.171057Z","downloads":220601,"features":{"alloc":[],"serde1":["serde"],"std":["alloc","getrandom?/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.9.0-alpha.1/dependencies","version_downloads":"/api/v1/crates/rand_core/0.9.0-alpha.1/downloads","authors":"/api/v1/crates/rand_core/0.9.0-alpha.1/authors"},"crate_size":23001,"published_by":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"audit_actions":[{"action":"publish","user":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"time":"2024-03-18T19:11:42.171057Z"}],"checksum":"cc89dffba8377c5ec847d12bb41492bda235dba31a25e8b695cd0fe6589eb8c9","rust_version":"1.60","has_lib":true,"bin_names":[],"edition":"2021","description":"Core random number generator traits and tools for implementation.","homepage":"https://rust-random.github.io/book","documentation":"https://docs.rs/rand_core","repository":"https://github.com/rust-random/rand","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":812,"comment_lines":68,"files":6}},"total_code_lines":812,"total_comment_lines":68}},{"id":1055708,"crate":"rand_core","num":"0.9.0-alpha.0","dl_path":"/api/v1/crates/rand_core/0.9.0-alpha.0/download","readme_path":"/api/v1/crates/rand_core/0.9.0-alpha.0/readme","updated_at":"2024-02-18T17:18:47.774673Z","created_at":"2024-02-18T17:18:47.774673Z","downloads":28717,"features":{"alloc":[],"serde1":["serde"],"std":["alloc","getrandom?/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.9.0-alpha.0/dependencies","version_downloads":"/api/v1/crates/rand_core/0.9.0-alpha.0/downloads","authors":"/api/v1/crates/rand_core/0.9.0-alpha.0/authors"},"crate_size":23003,"published_by":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"audit_actions":[{"action":"publish","user":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"time":"2024-02-18T17:18:47.774673Z"}],"checksum":"2b962254c1392bbfc8571c17acb5d0e52116bbefd704e965e92e6c60fadc096e","rust_version":"1.60","has_lib":true,"bin_names":[],"edition":"2021","description":"Core random number generator traits and tools for implementation.","homepage":"https://rust-random.github.io/book","documentation":"https://docs.rs/rand_core","repository":"https://github.com/rust-random/rand","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":815,"comment_lines":68,"files":6}},"total_code_lines":815,"total_comment_lines":68}},{"id":622116,"crate":"rand_core","num":"0.6.4","dl_path":"/api/v1/crates/rand_core/0.6.4/download","readme_path":"/api/v1/crates/rand_core/0.6.4/readme","updated_at":"2022-09-15T13:23:44.548230Z","created_at":"2022-09-15T13:23:44.548230Z","downloads":773340147,"features":{"alloc":[],"serde1":["serde"],"std":["alloc","getrandom","getrandom/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.6.4/dependencies","version_downloads":"/api/v1/crates/rand_core/0.6.4/downloads","authors":"/api/v1/crates/rand_core/0.6.4/authors"},"crate_size":22666,"published_by":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"audit_actions":[{"action":"publish","user":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"time":"2022-09-15T13:23:44.548230Z"}],"checksum":"ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Core random number generator traits and tools for implementation.","homepage":"https://rust-random.github.io/book","documentation":"https://docs.rs/rand_core","repository":"https://github.com/rust-random/rand","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":829,"comment_lines":68,"files":6}},"total_code_lines":829,"total_comment_lines":68}},{"id":390019,"crate":"rand_core","num":"0.6.3","dl_path":"/api/v1/crates/rand_core/0.6.3/download","readme_path":"/api/v1/crates/rand_core/0.6.3/readme","updated_at":"2021-06-15T14:41:35.904252Z","created_at":"2021-06-15T14:41:35.904252Z","downloads":62359988,"features":{"alloc":[],"serde1":["serde"],"std":["alloc","getrandom","getrandom/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.6.3/dependencies","version_downloads":"/api/v1/crates/rand_core/0.6.3/downloads","authors":"/api/v1/crates/rand_core/0.6.3/authors"},"crate_size":21938,"published_by":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"audit_actions":[{"action":"publish","user":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"time":"2021-06-15T14:41:35.904252Z"}],"checksum":"d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Core random number generator traits and tools for implementation.","homepage":"https://rust-random.github.io/book","documentation":"https://docs.rs/rand_core","repository":"https://github.com/rust-random/rand","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":720,"comment_lines":68,"files":6}},"total_code_lines":720,"total_comment_lines":68}},{"id":339498,"crate":"rand_core","num":"0.6.2","dl_path":"/api/v1/crates/rand_core/0.6.2/download","readme_path":"/api/v1/crates/rand_core/0.6.2/readme","updated_at":"2021-02-14T09:26:07.419245Z","created_at":"2021-02-14T09:26:07.419245Z","downloads":14520014,"features":{"alloc":[],"serde1":["serde"],"std":["alloc","getrandom","getrandom/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.6.2/dependencies","version_downloads":"/api/v1/crates/rand_core/0.6.2/downloads","authors":"/api/v1/crates/rand_core/0.6.2/authors"},"crate_size":21708,"published_by":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"audit_actions":[{"action":"publish","user":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"time":"2021-02-14T09:26:07.419245Z"}],"checksum":"34cf66eb183df1c5876e2dcf6b13d57340741e8dc255b48e40a26de954d06ae7","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Core random number generator traits and tools for implementation.","homepage":"https://rust-random.github.io/book","documentation":"https://docs.rs/rand_core","repository":"https://github.com/rust-random/rand","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":714,"comment_lines":68,"files":6}},"total_code_lines":714,"total_comment_lines":68}},{"id":322375,"crate":"rand_core","num":"0.6.1","dl_path":"/api/v1/crates/rand_core/0.6.1/download","readme_path":"/api/v1/crates/rand_core/0.6.1/readme","updated_at":"2021-02-15T15:35:05.531690Z","created_at":"2021-01-04T15:40:11.084094Z","downloads":3274699,"features":{"alloc":[],"serde1":["serde"],"std":["alloc","getrandom","getrandom/std"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.6.1/dependencies","version_downloads":"/api/v1/crates/rand_core/0.6.1/downloads","authors":"/api/v1/crates/rand_core/0.6.1/authors"},"crate_size":21634,"published_by":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"audit_actions":[{"action":"publish","user":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"time":"2021-01-04T15:40:11.084094Z"},{"action":"yank","user":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"time":"2021-02-15T15:35:02.135913Z"}],"checksum":"c026d7df8b298d90ccbbc5190bd04d85e159eaf5576caeacf8741da93ccbd2e5","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Core random number generator traits and tools for implementation.","homepage":"https://rust-random.github.io/book","documentation":"https://docs.rs/rand_core","repository":"https://github.com/rust-random/rand","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":714,"comment_lines":68,"files":6}},"total_code_lines":714,"total_comment_lines":68}},{"id":314879,"crate":"rand_core","num":"0.6.0","dl_path":"/api/v1/crates/rand_core/0.6.0/download","readme_path":"/api/v1/crates/rand_core/0.6.0/readme","updated_at":"2021-02-15T15:34:59.681426Z","created_at":"2020-12-14T15:46:44.482987Z","downloads":374732,"features":{"alloc":[],"serde1":["serde"],"std":["alloc","getrandom","getrandom/std"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.6.0/dependencies","version_downloads":"/api/v1/crates/rand_core/0.6.0/downloads","authors":"/api/v1/crates/rand_core/0.6.0/authors"},"crate_size":21448,"published_by":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"audit_actions":[{"action":"publish","user":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"time":"2020-12-14T15:46:44.482987Z"},{"action":"yank","user":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"time":"2021-02-15T15:34:57.870019Z"}],"checksum":"a8b34ba8cfb21243bd8df91854c830ff0d785fff2e82ebd4434c2644cb9ada18","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Core random number generator traits and tools for implementation.","homepage":"https://crates.io/crates/rand_core","documentation":"https://rust-random.github.io/rand/rand_core/","repository":"https://github.com/rust-random/rand","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":705,"comment_lines":68,"files":6}},"total_code_lines":705,"total_comment_lines":68}},{"id":172383,"crate":"rand_core","num":"0.5.1","dl_path":"/api/v1/crates/rand_core/0.5.1/download","readme_path":"/api/v1/crates/rand_core/0.5.1/readme","updated_at":"2019-08-28T11:51:48.451487Z","created_at":"2019-08-28T11:51:48.451487Z","downloads":223720017,"features":{"alloc":[],"serde1":["serde"],"std":["alloc","getrandom","getrandom/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.5.1/dependencies","version_downloads":"/api/v1/crates/rand_core/0.5.1/downloads","authors":"/api/v1/crates/rand_core/0.5.1/authors"},"crate_size":21116,"published_by":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"audit_actions":[],"checksum":"90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Core random number generator traits and tools for implementation.","homepage":"https://crates.io/crates/rand_core","documentation":"https://rust-random.github.io/rand/rand_core/","repository":"https://github.com/rust-random/rand","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":665,"comment_lines":68,"files":6}},"total_code_lines":665,"total_comment_lines":68}},{"id":167659,"crate":"rand_core","num":"0.4.2","dl_path":"/api/v1/crates/rand_core/0.4.2/download","readme_path":"/api/v1/crates/rand_core/0.4.2/readme","updated_at":"2019-08-06T07:44:00.845140Z","created_at":"2019-08-06T07:44:00.845140Z","downloads":78148407,"features":{"alloc":[],"serde1":["serde","serde_derive"],"std":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.4.2/dependencies","version_downloads":"/api/v1/crates/rand_core/0.4.2/downloads","authors":"/api/v1/crates/rand_core/0.4.2/authors"},"crate_size":20243,"published_by":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"audit_actions":[],"checksum":"9c33a3c44ca05fa6f1807d8e6743f3824e8509beca625669633be0acbdf509dc","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Core random number generator traits and tools for implementation.","homepage":"https://crates.io/crates/rand_core","documentation":"https://rust-random.github.io/rand/rand_core/","repository":"https://github.com/rust-random/rand","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":594,"comment_lines":60,"files":5}},"total_code_lines":594,"total_comment_lines":60}},{"id":154967,"crate":"rand_core","num":"0.4.1","dl_path":"/api/v1/crates/rand_core/0.4.1/download","readme_path":"/api/v1/crates/rand_core/0.4.1/readme","updated_at":"2019-06-06T16:55:04.974885Z","created_at":"2019-06-06T16:52:55.247782Z","downloads":4445,"features":{"alloc":["rand_core/alloc"],"serde1":["rand_core/serde1"],"std":["rand_core/std"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.4.1/dependencies","version_downloads":"/api/v1/crates/rand_core/0.4.1/downloads","authors":"/api/v1/crates/rand_core/0.4.1/authors"},"crate_size":10631,"published_by":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"audit_actions":[],"checksum":"34e182b2362c5f8d184967701ccc6a0eeb9ad79c1407bbba7f7d432dec30fe09","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Core random number generator traits and tools for implementation.","homepage":"https://crates.io/crates/rand_core","documentation":"https://rust-random.github.io/rand/rand_core","repository":"https://github.com/rust-random/rand","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":170,"comment_lines":19,"files":2}},"total_code_lines":170,"total_comment_lines":19}},{"id":154953,"crate":"rand_core","num":"0.5.0","dl_path":"/api/v1/crates/rand_core/0.5.0/download","readme_path":"/api/v1/crates/rand_core/0.5.0/readme","updated_at":"2019-06-06T15:51:23.297168Z","created_at":"2019-06-06T15:51:23.297168Z","downloads":1456193,"features":{"alloc":[],"serde1":["serde","serde_derive"],"std":["alloc","getrandom","getrandom/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.5.0/dependencies","version_downloads":"/api/v1/crates/rand_core/0.5.0/downloads","authors":"/api/v1/crates/rand_core/0.5.0/authors"},"crate_size":19736,"published_by":{"id":1234,"login":"dhardy","name":"Diggory Hardy","avatar":"https://avatars.githubusercontent.com/u/134893?v=4","url":"https://github.com/dhardy","github_username_matches":true,"created_at":"2009-10-04T15:54:11Z"},"audit_actions":[],"checksum":"615e683324e75af5d43d8f7a39ffe3ee4a9dc42c5c701167a71dc59c3a493aca","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Core random number generator traits and tools for implementation.","homepage":"https://crates.io/crates/rand_core","documentation":"https://rust-random.github.io/rand/rand_core/","repository":"https://github.com/rust-random/rand","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":594,"comment_lines":60,"files":5}},"total_code_lines":594,"total_comment_lines":60}},{"id":130019,"crate":"rand_core","num":"0.3.1","dl_path":"/api/v1/crates/rand_core/0.3.1/download","readme_path":"/api/v1/crates/rand_core/0.3.1/readme","updated_at":"2019-01-25T10:13:38.412651Z","created_at":"2019-01-25T10:13:38.412651Z","downloads":81279163,"features":{"alloc":["rand_core/alloc"],"default":["std"],"serde1":["rand_core/serde1"],"std":["rand_core/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.3.1/dependencies","version_downloads":"/api/v1/crates/rand_core/0.3.1/downloads","authors":"/api/v1/crates/rand_core/0.3.1/authors"},"crate_size":15483,"published_by":null,"audit_actions":[],"checksum":"7a6fdeb83b075e8266dcc8762c22776f6877a63111121f5f8c7411e5be7eed4b","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Core random number generator traits and tools for implementation.","homepage":"https://crates.io/crates/rand_core","documentation":"https://rust-random.github.io/rand/rand_core","repository":"https://github.com/rust-random/rand","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":516,"comment_lines":52,"files":5}},"total_code_lines":516,"total_comment_lines":52}},{"id":130016,"crate":"rand_core","num":"0.4.0","dl_path":"/api/v1/crates/rand_core/0.4.0/download","readme_path":"/api/v1/crates/rand_core/0.4.0/readme","updated_at":"2019-01-25T09:53:30.218977Z","created_at":"2019-01-25T09:53:30.218977Z","downloads":4730872,"features":{"alloc":[],"serde1":["serde","serde_derive"],"std":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.4.0/dependencies","version_downloads":"/api/v1/crates/rand_core/0.4.0/downloads","authors":"/api/v1/crates/rand_core/0.4.0/authors"},"crate_size":20326,"published_by":null,"audit_actions":[],"checksum":"d0e7a549d590831370895ab7ba4ea0c1b6b011d106b5ff2da6eee112615e6dc0","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Core random number generator traits and tools for implementation.","homepage":"https://crates.io/crates/rand_core","documentation":"https://rust-random.github.io/rand/rand_core","repository":"https://github.com/rust-random/rand","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":638,"comment_lines":68,"files":5}},"total_code_lines":638,"total_comment_lines":68}},{"id":110639,"crate":"rand_core","num":"0.2.2","dl_path":"/api/v1/crates/rand_core/0.2.2/download","readme_path":"/api/v1/crates/rand_core/0.2.2/readme","updated_at":"2018-10-03T09:45:23.787599Z","created_at":"2018-10-03T09:45:23.787599Z","downloads":2963782,"features":{"alloc":["rand_core/alloc"],"serde1":["rand_core/serde1"],"std":["rand_core/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.2.2/dependencies","version_downloads":"/api/v1/crates/rand_core/0.2.2/downloads","authors":"/api/v1/crates/rand_core/0.2.2/authors"},"crate_size":15450,"published_by":null,"audit_actions":[],"checksum":"1961a422c4d189dfb50ffa9320bf1f2a9bd54ecb92792fb9477f99a1045f3372","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Core random number generator traits and tools for implementation.","homepage":"https://crates.io/crates/rand_core","documentation":"https://docs.rs/rand_core","repository":"https://github.com/rust-random/rand","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":510,"comment_lines":61,"files":5}},"total_code_lines":510,"total_comment_lines":61}},{"id":109405,"crate":"rand_core","num":"0.3.0","dl_path":"/api/v1/crates/rand_core/0.3.0/download","readme_path":"/api/v1/crates/rand_core/0.3.0/readme","updated_at":"2018-09-24T11:23:45.790366Z","created_at":"2018-09-24T11:23:45.790366Z","downloads":3156336,"features":{"alloc":[],"default":["std"],"serde1":["serde","serde_derive"],"std":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.3.0/dependencies","version_downloads":"/api/v1/crates/rand_core/0.3.0/downloads","authors":"/api/v1/crates/rand_core/0.3.0/authors"},"crate_size":20581,"published_by":null,"audit_actions":[],"checksum":"0905b6b7079ec73b314d4c748701f6931eb79fd97c668caa3f1899b22b32c6db","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Core random number generator traits and tools for implementation.","homepage":"https://crates.io/crates/rand_core","documentation":"https://docs.rs/rand_core","repository":"https://github.com/rust-random/rand","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":638,"comment_lines":68,"files":5}},"total_code_lines":638,"total_comment_lines":68}},{"id":95832,"crate":"rand_core","num":"0.2.1","dl_path":"/api/v1/crates/rand_core/0.2.1/download","readme_path":"/api/v1/crates/rand_core/0.2.1/readme","updated_at":"2018-06-08T07:48:17.067003Z","created_at":"2018-06-08T07:48:17.067003Z","downloads":1143518,"features":{"alloc":[],"default":["std"],"serde1":["serde","serde_derive"],"std":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.2.1/dependencies","version_downloads":"/api/v1/crates/rand_core/0.2.1/downloads","authors":"/api/v1/crates/rand_core/0.2.1/authors"},"crate_size":19262,"published_by":null,"audit_actions":[],"checksum":"edecf0f94da5551fc9b492093e30b041a891657db7940ee221f9d2f66e82eef2","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Core random number generator traits and tools for implementation.","homepage":"https://crates.io/crates/rand_core","documentation":"https://docs.rs/rand_core","repository":"https://github.com/rust-lang-nursery/rand","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":582,"comment_lines":69,"files":5}},"total_code_lines":582,"total_comment_lines":69}},{"id":93663,"crate":"rand_core","num":"0.2.0","dl_path":"/api/v1/crates/rand_core/0.2.0/download","readme_path":"/api/v1/crates/rand_core/0.2.0/readme","updated_at":"2018-05-21T15:32:11.297818Z","created_at":"2018-05-21T15:32:11.297818Z","downloads":160740,"features":{"alloc":[],"default":["std"],"serde1":["serde","serde_derive"],"std":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.2.0/dependencies","version_downloads":"/api/v1/crates/rand_core/0.2.0/downloads","authors":"/api/v1/crates/rand_core/0.2.0/authors"},"crate_size":19222,"published_by":null,"audit_actions":[],"checksum":"1b7a5f27547c49e5ccf8a586db3f3782fd93cf849780b21853b9d981db203302","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Core random number generator traits and tools for implementation.","homepage":"https://crates.io/crates/rand_core","documentation":"https://docs.rs/rand_core","repository":"https://github.com/rust-lang-nursery/rand","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":579,"comment_lines":67,"files":5}},"total_code_lines":579,"total_comment_lines":67}},{"id":92907,"crate":"rand_core","num":"0.2.0-pre.0","dl_path":"/api/v1/crates/rand_core/0.2.0-pre.0/download","readme_path":"/api/v1/crates/rand_core/0.2.0-pre.0/readme","updated_at":"2018-05-15T11:22:51.204372Z","created_at":"2018-05-15T11:22:51.204372Z","downloads":15138,"features":{"alloc":[],"default":["std"],"serde1":["serde","serde_derive"],"std":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.2.0-pre.0/dependencies","version_downloads":"/api/v1/crates/rand_core/0.2.0-pre.0/downloads","authors":"/api/v1/crates/rand_core/0.2.0-pre.0/authors"},"crate_size":19211,"published_by":null,"audit_actions":[],"checksum":"c7255ffbdb188d5be1a69b6f9f3cf187de4207430b9e79ed5b76458a6b20de9a","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Core random number generator traits and tools for implementation.","homepage":"https://crates.io/crates/rand_core","documentation":"https://docs.rs/rand_core","repository":"https://github.com/rust-lang-nursery/rand","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":579,"comment_lines":67,"files":5}},"total_code_lines":579,"total_comment_lines":67}},{"id":89273,"crate":"rand_core","num":"0.1.0","dl_path":"/api/v1/crates/rand_core/0.1.0/download","readme_path":"/api/v1/crates/rand_core/0.1.0/readme","updated_at":"2018-04-17T12:51:30.969702Z","created_at":"2018-04-17T12:51:30.969702Z","downloads":14446,"features":{"alloc":[],"serde1":["serde","serde_derive"],"std":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.1.0/dependencies","version_downloads":"/api/v1/crates/rand_core/0.1.0/downloads","authors":"/api/v1/crates/rand_core/0.1.0/authors"},"crate_size":17979,"published_by":null,"audit_actions":[],"checksum":"0224284424a4b818387b58d59336c288f99b48f69681aa60cc681fe038bbca5d","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Core random number generator traits and tools for implementation.","homepage":"https://crates.io/crates/rand_core","documentation":"https://docs.rs/rand_core","repository":"https://github.com/rust-lang-nursery/rand","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":552,"comment_lines":62,"files":4}},"total_code_lines":552,"total_comment_lines":62}},{"id":86023,"crate":"rand_core","num":"0.1.0-pre.0","dl_path":"/api/v1/crates/rand_core/0.1.0-pre.0/download","readme_path":"/api/v1/crates/rand_core/0.1.0-pre.0/readme","updated_at":"2018-03-23T15:00:23.346656Z","created_at":"2018-03-23T15:00:23.346656Z","downloads":17404,"features":{"alloc":[],"std":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.1.0-pre.0/dependencies","version_downloads":"/api/v1/crates/rand_core/0.1.0-pre.0/downloads","authors":"/api/v1/crates/rand_core/0.1.0-pre.0/authors"},"crate_size":15796,"published_by":null,"audit_actions":[],"checksum":"2362a41734390a5953cfbf12dbb74b4573137f7ba9dad344bba804ea4355f23a","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Core random number generator traits and tools for implementation.","homepage":"https://crates.io/crates/rand_core","documentation":"https://docs.rs/rand_core","repository":"https://github.com/rust-lang-nursery/rand","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":402,"comment_lines":45,"files":4}},"total_code_lines":402,"total_comment_lines":45}},{"id":65314,"crate":"rand_core","num":"0.0.1","dl_path":"/api/v1/crates/rand_core/0.0.1/download","readme_path":"/api/v1/crates/rand_core/0.0.1/readme","updated_at":"2018-03-23T11:03:15.261728Z","created_at":"2017-09-14T12:02:18.709038Z","downloads":3143,"features":{"default":["std"],"i128_support":[],"nightly":["i128_support"],"std":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/rand_core/0.0.1/dependencies","version_downloads":"/api/v1/crates/rand_core/0.0.1/downloads","authors":"/api/v1/crates/rand_core/0.0.1/authors"},"crate_size":5643,"published_by":null,"audit_actions":[],"checksum":"5fc7748fc351bddb5ee2a10f0cbca9c929c6ff5991e927cddd4d60deb0c84d72","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Random number generator core: `Rng` and extensions","homepage":"https://github.com/dhardy/rand/tree/master/rand_core","documentation":"https://docs.rs/rand_core","repository":"https://github.com/dhardy/rand/","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":150,"comment_lines":31,"files":3}},"total_code_lines":150,"total_comment_lines":31}}],"keywords":[{"id":"random","keyword":"random","created_at":"2014-11-21T00:22:50.038243Z","crates_cnt":594},{"id":"rng","keyword":"rng","created_at":"2015-02-02T03:37:04.452064Z","crates_cnt":224}],"categories":[{"id":"algorithms","category":"Algorithms","slug":"algorithms","description":"Rust implementations of core algorithms such as hashing, sorting, searching, and more.","created_at":"2017-01-17T19:13:05.112025Z","crates_cnt":8583},{"id":"no-std","category":"No standard library","slug":"no-std","description":"Crates that are able to function without the Rust standard library.","created_at":"2017-02-10T01:52:09.447906Z","crates_cnt":13734}]} \ No newline at end of file diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/sha2.json b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/sha2.json new file mode 100644 index 0000000000..c942ddf170 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/sha2.json @@ -0,0 +1 @@ +{"crate":{"id":"sha2","name":"sha2","updated_at":"2026-03-25T15:05:27.949444Z","versions":[2167409,1992513,1969796,1810333,1712136,1583644,1545117,1470387,1216059,1036232,1017153,1010167,1007835,907374,823587,622453,613705,613617,611449,501532,478394,478383,464599,423436,423212,418247,377262,374814,333533,301553,255630,250781,244563,201429,110478,90465,71399,56521,55741,52763,51949,49665,43127,42795,40581,38005,36740,26710,26707,26705],"keywords":["digest","hash","sha2"],"categories":["cryptography","no-std"],"badges":[],"created_at":"2016-05-06T20:20:25.502104Z","downloads":1045158447,"recent_downloads":296963538,"default_version":"0.11.0","num_versions":50,"yanked":false,"max_version":"0.11.0","newest_version":"0.11.0","max_stable_version":"0.11.0","description":"Pure Rust implementation of the SHA-2 hash function family\nincluding SHA-224, SHA-256, SHA-384, and SHA-512.\n","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","links":{"version_downloads":"/api/v1/crates/sha2/downloads","versions":null,"owners":"/api/v1/crates/sha2/owners","owner_team":"/api/v1/crates/sha2/owner_team","owner_user":"/api/v1/crates/sha2/owner_user","reverse_dependencies":"/api/v1/crates/sha2/reverse_dependencies"},"exact_match":false,"trustpub_only":true},"versions":[{"id":2167409,"crate":"sha2","num":"0.11.0","dl_path":"/api/v1/crates/sha2/0.11.0/download","readme_path":"/api/v1/crates/sha2/0.11.0/readme","updated_at":"2026-03-25T15:05:27.949444Z","created_at":"2026-03-25T15:05:27.949444Z","downloads":116233407,"features":{"alloc":["digest/alloc"],"default":["alloc","oid"],"oid":["digest/oid"],"zeroize":["digest/zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.11.0/dependencies","version_downloads":"/api/v1/crates/sha2/0.11.0/downloads","authors":"/api/v1/crates/sha2/0.11.0/authors"},"crate_size":33969,"published_by":null,"audit_actions":[],"checksum":"446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Pure Rust implementation of the SHA-2 hash function family\nincluding SHA-224, SHA-256, SHA-384, and SHA-512.\n","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":{"provider":"github","repository":"RustCrypto/hashes","run_id":"23548042233","sha":"ffe093984c004769747e998f77da8ff7c0e7a765"},"linecounts":{"languages":{"Rust":{"code_lines":2622,"comment_lines":109,"files":27}},"total_code_lines":2622,"total_comment_lines":109}},{"id":1992513,"crate":"sha2","num":"0.11.0-rc.5","dl_path":"/api/v1/crates/sha2/0.11.0-rc.5/download","readme_path":"/api/v1/crates/sha2/0.11.0-rc.5/readme","updated_at":"2026-02-02T17:13:45.044660Z","created_at":"2026-02-02T17:13:45.044660Z","downloads":1361833,"features":{"alloc":["digest/alloc"],"default":["alloc","oid"],"oid":["digest/oid"],"zeroize":["digest/zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.11.0-rc.5/dependencies","version_downloads":"/api/v1/crates/sha2/0.11.0-rc.5/downloads","authors":"/api/v1/crates/sha2/0.11.0-rc.5/authors"},"crate_size":33246,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2026-02-02T17:13:45.044660Z"}],"checksum":"7c5f3b1e2dc8aad28310d8410bd4d7e180eca65fca176c52ab00d364475d0024","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Pure Rust implementation of the SHA-2 hash function family\nincluding SHA-224, SHA-256, SHA-384, and SHA-512.\n","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":2594,"comment_lines":108,"files":23}},"total_code_lines":2594,"total_comment_lines":108}},{"id":1969796,"crate":"sha2","num":"0.11.0-rc.4","dl_path":"/api/v1/crates/sha2/0.11.0-rc.4/download","readme_path":"/api/v1/crates/sha2/0.11.0-rc.4/readme","updated_at":"2026-01-24T17:24:47.342672Z","created_at":"2026-01-24T17:24:47.342672Z","downloads":74706,"features":{"alloc":["digest/alloc"],"default":["alloc","oid"],"oid":["digest/oid"],"zeroize":["digest/zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.11.0-rc.4/dependencies","version_downloads":"/api/v1/crates/sha2/0.11.0-rc.4/downloads","authors":"/api/v1/crates/sha2/0.11.0-rc.4/authors"},"crate_size":33257,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2026-01-24T17:24:47.342672Z"}],"checksum":"7535f94fa3339fe9e5e9be6260a909e62af97f6e14b32345ccf79b92b8b81233","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Pure Rust implementation of the SHA-2 hash function family\nincluding SHA-224, SHA-256, SHA-384, and SHA-512.\n","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":2594,"comment_lines":108,"files":23}},"total_code_lines":2594,"total_comment_lines":108}},{"id":1810333,"crate":"sha2","num":"0.11.0-rc.3","dl_path":"/api/v1/crates/sha2/0.11.0-rc.3/download","readme_path":"/api/v1/crates/sha2/0.11.0-rc.3/readme","updated_at":"2025-11-05T17:32:14.175790Z","created_at":"2025-11-05T17:32:14.175790Z","downloads":879756,"features":{"alloc":["digest/alloc"],"default":["alloc","oid"],"oid":["digest/oid"],"zeroize":["digest/zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.11.0-rc.3/dependencies","version_downloads":"/api/v1/crates/sha2/0.11.0-rc.3/downloads","authors":"/api/v1/crates/sha2/0.11.0-rc.3/authors"},"crate_size":33258,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2025-11-05T17:32:14.175790Z"}],"checksum":"19d43dc0354d88b791216bb5c1bfbb60c0814460cc653ae0ebd71f286d0bd927","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Pure Rust implementation of the SHA-2 hash function family\nincluding SHA-224, SHA-256, SHA-384, and SHA-512.\n","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":2594,"comment_lines":108,"files":23}},"total_code_lines":2594,"total_comment_lines":108}},{"id":1712136,"crate":"sha2","num":"0.11.0-rc.2","dl_path":"/api/v1/crates/sha2/0.11.0-rc.2/download","readme_path":"/api/v1/crates/sha2/0.11.0-rc.2/readme","updated_at":"2025-09-02T23:08:02.228378Z","created_at":"2025-09-02T23:08:02.228378Z","downloads":1540588,"features":{"alloc":["digest/alloc"],"default":["alloc","oid"],"oid":["digest/oid"],"zeroize":["digest/zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.11.0-rc.2/dependencies","version_downloads":"/api/v1/crates/sha2/0.11.0-rc.2/downloads","authors":"/api/v1/crates/sha2/0.11.0-rc.2/authors"},"crate_size":33230,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2025-09-02T23:08:02.228378Z"}],"checksum":"d1e3878ab0f98e35b2df35fe53201d088299b41a6bb63e3e34dada2ac4abd924","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Pure Rust implementation of the SHA-2 hash function family\nincluding SHA-224, SHA-256, SHA-384, and SHA-512.\n","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":2594,"comment_lines":108,"files":23}},"total_code_lines":2594,"total_comment_lines":108}},{"id":1583644,"crate":"sha2","num":"0.11.0-rc.0","dl_path":"/api/v1/crates/sha2/0.11.0-rc.0/download","readme_path":"/api/v1/crates/sha2/0.11.0-rc.0/readme","updated_at":"2025-05-29T14:06:53.977487Z","created_at":"2025-05-29T14:06:53.977487Z","downloads":254374,"features":{"alloc":["digest/alloc"],"default":["alloc","oid"],"oid":["digest/oid"],"zeroize":["digest/zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.11.0-rc.0/dependencies","version_downloads":"/api/v1/crates/sha2/0.11.0-rc.0/downloads","authors":"/api/v1/crates/sha2/0.11.0-rc.0/authors"},"crate_size":33237,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2025-05-29T14:06:53.977487Z"}],"checksum":"aa1d2e6b3cc4e43a8258a9a3b17aa5dfd2cc5186c7024bba8a64aa65b2c71a59","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Pure Rust implementation of the SHA-2 hash function family\nincluding SHA-224, SHA-256, SHA-384, and SHA-512.\n","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":2592,"comment_lines":108,"files":23}},"total_code_lines":2592,"total_comment_lines":108}},{"id":1545117,"crate":"sha2","num":"0.10.9","dl_path":"/api/v1/crates/sha2/0.10.9/download","readme_path":"/api/v1/crates/sha2/0.10.9/readme","updated_at":"2025-04-30T14:38:09.894118Z","created_at":"2025-04-30T14:38:09.894118Z","downloads":457506696,"features":{"asm":["sha2-asm"],"asm-aarch64":["asm"],"compress":[],"default":["std"],"force-soft":[],"force-soft-compact":[],"loongarch64_asm":[],"oid":["digest/oid"],"std":["digest/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.10.9/dependencies","version_downloads":"/api/v1/crates/sha2/0.10.9/downloads","authors":"/api/v1/crates/sha2/0.10.9/authors"},"crate_size":29271,"published_by":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"audit_actions":[{"action":"publish","user":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"time":"2025-04-30T14:38:09.894118Z"}],"checksum":"a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Pure Rust implementation of the SHA-2 hash function family\nincluding SHA-224, SHA-256, SHA-384, and SHA-512.\n","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":1869,"comment_lines":124,"files":15}},"total_code_lines":1869,"total_comment_lines":124}},{"id":1470387,"crate":"sha2","num":"0.11.0-pre.5","dl_path":"/api/v1/crates/sha2/0.11.0-pre.5/download","readme_path":"/api/v1/crates/sha2/0.11.0-pre.5/readme","updated_at":"2025-03-05T21:18:11.496292Z","created_at":"2025-03-05T21:18:11.496292Z","downloads":207231,"features":{"default":["oid","std"],"oid":["digest/oid"],"std":["digest/std"],"zeroize":["digest/zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.11.0-pre.5/dependencies","version_downloads":"/api/v1/crates/sha2/0.11.0-pre.5/downloads","authors":"/api/v1/crates/sha2/0.11.0-pre.5/authors"},"crate_size":33527,"published_by":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"audit_actions":[{"action":"publish","user":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"time":"2025-03-05T21:18:11.496292Z"}],"checksum":"19b4241d1a56954dce82cecda5c8e9c794eef6f53abe5e5216bac0a0ea71ffa7","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Pure Rust implementation of the SHA-2 hash function family\nincluding SHA-224, SHA-256, SHA-384, and SHA-512.\n","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":2685,"comment_lines":119,"files":21}},"total_code_lines":2685,"total_comment_lines":119}},{"id":1216059,"crate":"sha2","num":"0.11.0-pre.4","dl_path":"/api/v1/crates/sha2/0.11.0-pre.4/download","readme_path":"/api/v1/crates/sha2/0.11.0-pre.4/readme","updated_at":"2024-07-26T21:12:31.812624Z","created_at":"2024-07-26T21:12:31.812624Z","downloads":1125534,"features":{"default":["oid","std"],"force-soft":[],"oid":["digest/oid"],"std":["digest/std"],"zeroize":["digest/zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.11.0-pre.4/dependencies","version_downloads":"/api/v1/crates/sha2/0.11.0-pre.4/downloads","authors":"/api/v1/crates/sha2/0.11.0-pre.4/authors"},"crate_size":27021,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2024-07-26T21:12:31.812624Z"}],"checksum":"540c0893cce56cdbcfebcec191ec8e0f470dd1889b6e7a0b503e310a94a168f5","rust_version":"1.72","has_lib":true,"bin_names":[],"edition":"2021","description":"Pure Rust implementation of the SHA-2 hash function family\nincluding SHA-224, SHA-256, SHA-384, and SHA-512.","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":1806,"comment_lines":122,"files":13}},"total_code_lines":1806,"total_comment_lines":122}},{"id":1036232,"crate":"sha2","num":"0.11.0-pre.3","dl_path":"/api/v1/crates/sha2/0.11.0-pre.3/download","readme_path":"/api/v1/crates/sha2/0.11.0-pre.3/readme","updated_at":"2024-02-01T18:49:59.287316Z","created_at":"2024-02-01T18:49:59.287316Z","downloads":366184,"features":{"default":["oid","std"],"force-soft":[],"oid":["digest/oid"],"std":["digest/std"],"zeroize":["digest/zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.11.0-pre.3/dependencies","version_downloads":"/api/v1/crates/sha2/0.11.0-pre.3/downloads","authors":"/api/v1/crates/sha2/0.11.0-pre.3/authors"},"crate_size":25992,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2024-02-01T18:49:59.287316Z"}],"checksum":"8f33549bf3064b62478926aa89cbfc7c109aab66ae8f0d5d2ef839e482cc30d6","rust_version":"1.72","has_lib":true,"bin_names":[],"edition":"2021","description":"Pure Rust implementation of the SHA-2 hash function family\nincluding SHA-224, SHA-256, SHA-384, and SHA-512.","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":1761,"comment_lines":122,"files":13}},"total_code_lines":1761,"total_comment_lines":122}},{"id":1017153,"crate":"sha2","num":"0.11.0-pre.2","dl_path":"/api/v1/crates/sha2/0.11.0-pre.2/download","readme_path":"/api/v1/crates/sha2/0.11.0-pre.2/readme","updated_at":"2024-01-17T15:47:31.768437Z","created_at":"2024-01-17T15:47:31.768437Z","downloads":14293,"features":{"default":["oid","std"],"force-soft":[],"oid":["digest/oid"],"std":["digest/std"],"zeroize":["digest/zeroize"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.11.0-pre.2/dependencies","version_downloads":"/api/v1/crates/sha2/0.11.0-pre.2/downloads","authors":"/api/v1/crates/sha2/0.11.0-pre.2/authors"},"crate_size":25997,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2024-01-17T15:47:31.768437Z"}],"checksum":"e18b939d4051b69874cbdb8f55de6a14ae44b357ccb94bdbd0a2122f8f875a46","rust_version":"1.72","has_lib":true,"bin_names":[],"edition":"2021","description":"Pure Rust implementation of the SHA-2 hash function family\nincluding SHA-224, SHA-256, SHA-384, and SHA-512.","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":1761,"comment_lines":122,"files":13}},"total_code_lines":1761,"total_comment_lines":122}},{"id":1010167,"crate":"sha2","num":"0.11.0-pre.1","dl_path":"/api/v1/crates/sha2/0.11.0-pre.1/download","readme_path":"/api/v1/crates/sha2/0.11.0-pre.1/readme","updated_at":"2024-01-10T18:49:57.526286Z","created_at":"2024-01-10T18:49:57.526286Z","downloads":5781,"features":{"asm":["sha2-asm"],"asm-aarch64":["asm"],"compress":[],"default":["oid","std"],"force-soft":[],"loongarch64_asm":[],"oid":["digest/oid"],"std":["digest/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.11.0-pre.1/dependencies","version_downloads":"/api/v1/crates/sha2/0.11.0-pre.1/downloads","authors":"/api/v1/crates/sha2/0.11.0-pre.1/authors"},"crate_size":26292,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2024-01-10T18:49:57.526286Z"}],"checksum":"9daa731ca112bb569b34b41775363a461422813d8ed1ea6dba352eb58ec4e684","rust_version":"1.71","has_lib":true,"bin_names":[],"edition":"2021","description":"Pure Rust implementation of the SHA-2 hash function family\nincluding SHA-224, SHA-256, SHA-384, and SHA-512.","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":1748,"comment_lines":124,"files":13}},"total_code_lines":1748,"total_comment_lines":124}},{"id":1007835,"crate":"sha2","num":"0.11.0-pre.0","dl_path":"/api/v1/crates/sha2/0.11.0-pre.0/download","readme_path":"/api/v1/crates/sha2/0.11.0-pre.0/readme","updated_at":"2024-01-08T20:33:57.075383Z","created_at":"2024-01-08T20:33:57.075383Z","downloads":10967,"features":{"asm":["sha2-asm"],"asm-aarch64":["asm"],"compress":[],"default":["oid","std"],"force-soft":[],"loongarch64_asm":[],"oid":["digest/oid"],"std":["digest/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.11.0-pre.0/dependencies","version_downloads":"/api/v1/crates/sha2/0.11.0-pre.0/downloads","authors":"/api/v1/crates/sha2/0.11.0-pre.0/authors"},"crate_size":26362,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2024-01-08T20:33:57.075383Z"}],"checksum":"de0628cd6fd8219612c2d71ad52ab8c2014a18cbdbedbde17de04d400df65997","rust_version":"1.71","has_lib":true,"bin_names":[],"edition":"2021","description":"Pure Rust implementation of the SHA-2 hash function family\nincluding SHA-224, SHA-256, SHA-384, and SHA-512.","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":1747,"comment_lines":124,"files":13}},"total_code_lines":1747,"total_comment_lines":124}},{"id":907374,"crate":"sha2","num":"0.10.8","dl_path":"/api/v1/crates/sha2/0.10.8/download","readme_path":"/api/v1/crates/sha2/0.10.8/readme","updated_at":"2023-09-26T13:08:29.387707Z","created_at":"2023-09-26T13:08:29.387707Z","downloads":201815202,"features":{"asm":["sha2-asm"],"asm-aarch64":["asm"],"compress":[],"default":["std"],"force-soft":[],"loongarch64_asm":[],"oid":["digest/oid"],"std":["digest/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.10.8/dependencies","version_downloads":"/api/v1/crates/sha2/0.10.8/downloads","authors":"/api/v1/crates/sha2/0.10.8/authors"},"crate_size":26357,"published_by":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"audit_actions":[{"action":"publish","user":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"time":"2023-09-26T13:08:29.387707Z"}],"checksum":"793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Pure Rust implementation of the SHA-2 hash function family\nincluding SHA-224, SHA-256, SHA-384, and SHA-512.","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":1747,"comment_lines":124,"files":13}},"total_code_lines":1747,"total_comment_lines":124}},{"id":823587,"crate":"sha2","num":"0.10.7","dl_path":"/api/v1/crates/sha2/0.10.7/download","readme_path":"/api/v1/crates/sha2/0.10.7/readme","updated_at":"2023-06-15T17:50:20.001828Z","created_at":"2023-06-15T17:50:20.001828Z","downloads":19456442,"features":{"asm":["sha2-asm"],"asm-aarch64":["asm"],"compress":[],"default":["std"],"force-soft":[],"oid":["digest/oid"],"std":["digest/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.10.7/dependencies","version_downloads":"/api/v1/crates/sha2/0.10.7/downloads","authors":"/api/v1/crates/sha2/0.10.7/authors"},"crate_size":22541,"published_by":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"audit_actions":[{"action":"publish","user":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"time":"2023-06-15T17:50:20.001828Z"}],"checksum":"479fb9d862239e610720565ca91403019f2f00410f1864c5aa7479b950a76ed8","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Pure Rust implementation of the SHA-2 hash function family\nincluding SHA-224, SHA-256, SHA-384, and SHA-512.","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":1328,"comment_lines":102,"files":11}},"total_code_lines":1328,"total_comment_lines":102}},{"id":622453,"crate":"sha2","num":"0.10.6","dl_path":"/api/v1/crates/sha2/0.10.6/download","readme_path":"/api/v1/crates/sha2/0.10.6/readme","updated_at":"2022-09-16T02:07:38.658029Z","created_at":"2022-09-16T02:07:38.658029Z","downloads":45810868,"features":{"asm":["sha2-asm"],"asm-aarch64":["asm"],"compress":[],"default":["std"],"force-soft":[],"oid":["digest/oid"],"std":["digest/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.10.6/dependencies","version_downloads":"/api/v1/crates/sha2/0.10.6/downloads","authors":"/api/v1/crates/sha2/0.10.6/authors"},"crate_size":20558,"published_by":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"audit_actions":[{"action":"publish","user":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"time":"2022-09-16T02:07:38.658029Z"}],"checksum":"82e6b795fe2e3b1e845bafcb27aa35405c4d47cdfc92af5fc8d3002f76cebdc0","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Pure Rust implementation of the SHA-2 hash function family\nincluding SHA-224, SHA-256, SHA-384, and SHA-512.","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":1042,"comment_lines":58,"files":10}},"total_code_lines":1042,"total_comment_lines":58}},{"id":613705,"crate":"sha2","num":"0.10.5","dl_path":"/api/v1/crates/sha2/0.10.5/download","readme_path":"/api/v1/crates/sha2/0.10.5/readme","updated_at":"2022-09-02T22:22:45.700311Z","created_at":"2022-09-02T22:22:45.700311Z","downloads":2241991,"features":{"asm":["sha2-asm"],"asm-aarch64":["asm"],"compress":[],"default":["std"],"force-soft":[],"std":["digest/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.10.5/dependencies","version_downloads":"/api/v1/crates/sha2/0.10.5/downloads","authors":"/api/v1/crates/sha2/0.10.5/authors"},"crate_size":20325,"published_by":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"audit_actions":[{"action":"publish","user":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"time":"2022-09-02T22:22:45.700311Z"}],"checksum":"cf9db03534dff993187064c4e0c05a5708d2a9728ace9a8959b77bedf415dac5","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Pure Rust implementation of the SHA-2 hash function family\nincluding SHA-224, SHA-256, SHA-384, and SHA-512.","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":1034,"comment_lines":58,"files":10}},"total_code_lines":1034,"total_comment_lines":58}},{"id":613617,"crate":"sha2","num":"0.10.4","dl_path":"/api/v1/crates/sha2/0.10.4/download","readme_path":"/api/v1/crates/sha2/0.10.4/readme","updated_at":"2022-09-02T19:49:25.272077Z","created_at":"2022-09-02T19:49:25.272077Z","downloads":8347,"features":{"asm":["sha2-asm"],"asm-aarch64":["asm"],"compress":[],"default":["std"],"force-soft":[],"std":["digest/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.10.4/dependencies","version_downloads":"/api/v1/crates/sha2/0.10.4/downloads","authors":"/api/v1/crates/sha2/0.10.4/authors"},"crate_size":20293,"published_by":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"audit_actions":[{"action":"publish","user":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"time":"2022-09-02T19:49:25.272077Z"}],"checksum":"774e4e60efdce3075f9c44d7028b20a6a1d765d0ed642e4c19a4831edc8d576b","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Pure Rust implementation of the SHA-2 hash function family\nincluding SHA-224, SHA-256, SHA-384, and SHA-512.","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":1034,"comment_lines":58,"files":10}},"total_code_lines":1034,"total_comment_lines":58}},{"id":611449,"crate":"sha2","num":"0.10.3","dl_path":"/api/v1/crates/sha2/0.10.3/download","readme_path":"/api/v1/crates/sha2/0.10.3/readme","updated_at":"2022-08-30T15:29:59.893138Z","created_at":"2022-08-30T15:29:59.893138Z","downloads":369008,"features":{"asm":["sha2-asm"],"asm-aarch64":["asm"],"compress":[],"default":["std"],"force-soft":[],"std":["digest/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.10.3/dependencies","version_downloads":"/api/v1/crates/sha2/0.10.3/downloads","authors":"/api/v1/crates/sha2/0.10.3/authors"},"crate_size":20232,"published_by":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"audit_actions":[{"action":"publish","user":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"time":"2022-08-30T15:29:59.893138Z"}],"checksum":"899bf02746a2c92bf1053d9327dadb252b01af1f81f90cdb902411f518bc7215","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Pure Rust implementation of the SHA-2 hash function family\nincluding SHA-224, SHA-256, SHA-384, and SHA-512.","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":1034,"comment_lines":58,"files":10}},"total_code_lines":1034,"total_comment_lines":58}},{"id":501532,"crate":"sha2","num":"0.10.2","dl_path":"/api/v1/crates/sha2/0.10.2/download","readme_path":"/api/v1/crates/sha2/0.10.2/readme","updated_at":"2022-02-17T10:15:22.117602Z","created_at":"2022-02-17T10:15:22.117602Z","downloads":17147527,"features":{"asm":["sha2-asm"],"asm-aarch64":["asm"],"compress":[],"default":["std"],"force-soft":[],"std":["digest/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.10.2/dependencies","version_downloads":"/api/v1/crates/sha2/0.10.2/downloads","authors":"/api/v1/crates/sha2/0.10.2/authors"},"crate_size":20213,"published_by":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"audit_actions":[{"action":"publish","user":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"time":"2022-02-17T10:15:22.117602Z"}],"checksum":"55deaec60f81eefe3cce0dc50bda92d6d8e88f2a27df7c5033b42afeb1ed2676","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Pure Rust implementation of the SHA-2 hash function family\nincluding SHA-224, SHA-256, SHA-384, and SHA-512.","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":1035,"comment_lines":58,"files":10}},"total_code_lines":1035,"total_comment_lines":58}},{"id":478394,"crate":"sha2","num":"0.10.1","dl_path":"/api/v1/crates/sha2/0.10.1/download","readme_path":"/api/v1/crates/sha2/0.10.1/readme","updated_at":"2022-01-06T19:28:38.401495Z","created_at":"2022-01-06T19:28:38.401495Z","downloads":2105244,"features":{"asm":["sha2-asm"],"asm-aarch64":["asm"],"compress":[],"default":["std"],"force-soft":[],"std":["digest/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.10.1/dependencies","version_downloads":"/api/v1/crates/sha2/0.10.1/downloads","authors":"/api/v1/crates/sha2/0.10.1/authors"},"crate_size":20128,"published_by":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"audit_actions":[{"action":"publish","user":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"time":"2022-01-06T19:28:38.401495Z"}],"checksum":"99c3bd8169c58782adad9290a9af5939994036b76187f7b4f0e6de91dbbfc0ec","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Pure Rust implementation of the SHA-2 hash function family\nincluding SHA-224, SHA-256, SHA-384, and SHA-512.","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":1035,"comment_lines":58,"files":10}},"total_code_lines":1035,"total_comment_lines":58}},{"id":478383,"crate":"sha2","num":"0.9.9","dl_path":"/api/v1/crates/sha2/0.9.9/download","readme_path":"/api/v1/crates/sha2/0.9.9/readme","updated_at":"2022-01-06T18:32:21.638830Z","created_at":"2022-01-06T18:32:21.638830Z","downloads":127896023,"features":{"asm":["sha2-asm"],"asm-aarch64":["asm"],"compress":[],"default":["std"],"force-soft":[],"std":["digest/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.9.9/dependencies","version_downloads":"/api/v1/crates/sha2/0.9.9/downloads","authors":"/api/v1/crates/sha2/0.9.9/authors"},"crate_size":22247,"published_by":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"audit_actions":[{"action":"publish","user":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"time":"2022-01-06T18:32:21.638830Z"}],"checksum":"4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Pure Rust implementation of the SHA-2 hash function family\nincluding SHA-224, SHA-256, SHA-384, and SHA-512.","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":1302,"comment_lines":59,"files":9}},"total_code_lines":1302,"total_comment_lines":59}},{"id":464599,"crate":"sha2","num":"0.10.0","dl_path":"/api/v1/crates/sha2/0.10.0/download","readme_path":"/api/v1/crates/sha2/0.10.0/readme","updated_at":"2022-01-06T19:29:15.250584Z","created_at":"2021-12-07T20:01:32.346844Z","downloads":375594,"features":{"asm":["sha2-asm"],"asm-aarch64":["asm"],"compress":[],"default":["std"],"force-soft":[],"std":["digest/std"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.10.0/dependencies","version_downloads":"/api/v1/crates/sha2/0.10.0/downloads","authors":"/api/v1/crates/sha2/0.10.0/authors"},"crate_size":20037,"published_by":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"audit_actions":[{"action":"publish","user":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"time":"2021-12-07T20:01:32.346844Z"},{"action":"yank","user":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"time":"2022-01-06T19:29:15.254281Z"}],"checksum":"900d964dd36bb15bcf2f2b35694c072feab74969a54f2bbeec7a2d725d2bdcb6","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Pure Rust implementation of the SHA-2 hash function family\nincluding SHA-224, SHA-256, SHA-384, and SHA-512.","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":1032,"comment_lines":58,"files":10}},"total_code_lines":1032,"total_comment_lines":58}},{"id":423436,"crate":"sha2","num":"0.9.8","dl_path":"/api/v1/crates/sha2/0.9.8/download","readme_path":"/api/v1/crates/sha2/0.9.8/readme","updated_at":"2022-01-06T18:33:02.770963Z","created_at":"2021-09-09T10:39:34.904469Z","downloads":7201985,"features":{"asm":["sha2-asm"],"asm-aarch64":["asm"],"compress":[],"default":["std"],"force-soft":[],"std":["digest/std"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.9.8/dependencies","version_downloads":"/api/v1/crates/sha2/0.9.8/downloads","authors":"/api/v1/crates/sha2/0.9.8/authors"},"crate_size":22132,"published_by":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"audit_actions":[{"action":"publish","user":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"time":"2021-09-09T10:39:34.904469Z"},{"action":"yank","user":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"time":"2022-01-06T18:33:02.775014Z"}],"checksum":"b69f9a4c9740d74c5baa3fd2e547f9525fa8088a8a958e0ca2409a514e33f5fa","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Pure Rust implementation of the SHA-2 hash function family\nincluding SHA-224, SHA-256, SHA-384, and SHA-512.","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":1299,"comment_lines":59,"files":9}},"total_code_lines":1299,"total_comment_lines":59}},{"id":423212,"crate":"sha2","num":"0.9.7","dl_path":"/api/v1/crates/sha2/0.9.7/download","readme_path":"/api/v1/crates/sha2/0.9.7/readme","updated_at":"2021-09-09T01:02:50.189818Z","created_at":"2021-09-08T18:22:03.060590Z","downloads":16553,"features":{"asm":["sha2-asm"],"asm-aarch64":["asm"],"compress":[],"default":["std"],"force-soft":[],"std":["digest/std"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.9.7/dependencies","version_downloads":"/api/v1/crates/sha2/0.9.7/downloads","authors":"/api/v1/crates/sha2/0.9.7/authors"},"crate_size":21861,"published_by":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"audit_actions":[{"action":"publish","user":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"time":"2021-09-08T18:22:03.060590Z"},{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2021-09-09T01:02:48.270428Z"}],"checksum":"91e36fa7752016a6c4483706d634fd82c48860dd2df17a0cfaaebc714f23b2dd","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Pure Rust implementation of the SHA-2 hash function family\nincluding SHA-224, SHA-256, SHA-384, and SHA-512.","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":1299,"comment_lines":59,"files":9}},"total_code_lines":1299,"total_comment_lines":59}},{"id":418247,"crate":"sha2","num":"0.9.6","dl_path":"/api/v1/crates/sha2/0.9.6/download","readme_path":"/api/v1/crates/sha2/0.9.6/readme","updated_at":"2021-08-27T14:00:31.154421Z","created_at":"2021-08-27T14:00:31.154421Z","downloads":671603,"features":{"asm":["sha2-asm"],"asm-aarch64":["asm"],"compress":[],"default":["std"],"force-soft":[],"std":["digest/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.9.6/dependencies","version_downloads":"/api/v1/crates/sha2/0.9.6/downloads","authors":"/api/v1/crates/sha2/0.9.6/authors"},"crate_size":19879,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2021-08-27T14:00:31.154421Z"}],"checksum":"9204c41a1597a8c5af23c82d1c921cb01ec0a4c59e07a9c7306062829a3903f3","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Pure Rust implementation of the SHA-2 hash function family\nincluding SHA-224, SHA-256, SHA-384, and SHA-512.","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":1024,"comment_lines":26,"files":8}},"total_code_lines":1024,"total_comment_lines":26}},{"id":377262,"crate":"sha2","num":"0.9.5","dl_path":"/api/v1/crates/sha2/0.9.5/download","readme_path":"/api/v1/crates/sha2/0.9.5/readme","updated_at":"2021-05-11T16:29:26.150671Z","created_at":"2021-05-11T16:29:26.150671Z","downloads":6181178,"features":{"asm":["sha2-asm"],"asm-aarch64":["asm"],"compress":[],"default":["std"],"force-soft":[],"std":["digest/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.9.5/dependencies","version_downloads":"/api/v1/crates/sha2/0.9.5/downloads","authors":"/api/v1/crates/sha2/0.9.5/authors"},"crate_size":19912,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2021-05-11T16:29:26.150671Z"}],"checksum":"b362ae5752fd2137731f9fa25fd4d9058af34666ca1966fb969119cc35719f12","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Pure Rust implementation of the SHA-2 hash function family\nincluding SHA-224, SHA-256, SHA-384, and SHA-512.","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":1024,"comment_lines":26,"files":8}},"total_code_lines":1024,"total_comment_lines":26}},{"id":374814,"crate":"sha2","num":"0.9.4","dl_path":"/api/v1/crates/sha2/0.9.4/download","readme_path":"/api/v1/crates/sha2/0.9.4/readme","updated_at":"2021-05-05T16:35:02.725180Z","created_at":"2021-05-05T16:35:02.725180Z","downloads":687657,"features":{"asm":["sha2-asm","libc"],"asm-aarch64":["asm"],"compress":[],"default":["std"],"force-soft":[],"std":["digest/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.9.4/dependencies","version_downloads":"/api/v1/crates/sha2/0.9.4/downloads","authors":"/api/v1/crates/sha2/0.9.4/authors"},"crate_size":19775,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2021-05-05T16:35:02.725180Z"}],"checksum":"d8f6b75b17576b792bef0db1bcc4b8b8bcdf9506744cf34b974195487af6cff2","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Pure Rust implementation of the SHA-2 hash function family\nincluding SHA-224, SHA-256, SHA-384, and SHA-512.","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":1032,"comment_lines":26,"files":8}},"total_code_lines":1032,"total_comment_lines":26}},{"id":333533,"crate":"sha2","num":"0.9.3","dl_path":"/api/v1/crates/sha2/0.9.3/download","readme_path":"/api/v1/crates/sha2/0.9.3/readme","updated_at":"2021-01-30T19:10:24.678773Z","created_at":"2021-01-30T19:10:24.678773Z","downloads":4612233,"features":{"asm":["sha2-asm","libc"],"asm-aarch64":["asm"],"compress":[],"default":["std"],"force-soft":[],"std":["digest/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.9.3/dependencies","version_downloads":"/api/v1/crates/sha2/0.9.3/downloads","authors":"/api/v1/crates/sha2/0.9.3/authors"},"crate_size":19649,"published_by":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"audit_actions":[{"action":"publish","user":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"time":"2021-01-30T19:10:24.678773Z"}],"checksum":"fa827a14b29ab7f44778d14a88d3cb76e949c45083f7dbfa507d0cb699dc12de","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Pure Rust implementation of the SHA-2 hash function family\nincluding SHA-224, SHA-256, SHA-384, and SHA-512.","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":1031,"comment_lines":25,"files":8}},"total_code_lines":1031,"total_comment_lines":25}},{"id":301553,"crate":"sha2","num":"0.9.2","dl_path":"/api/v1/crates/sha2/0.9.2/download","readme_path":"/api/v1/crates/sha2/0.9.2/readme","updated_at":"2020-11-03T15:01:50.839211Z","created_at":"2020-11-03T15:01:50.839211Z","downloads":2707114,"features":{"asm":["sha2-asm","libc"],"asm-aarch64":["asm"],"compress":[],"default":["std"],"force-soft":[],"std":["digest/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.9.2/dependencies","version_downloads":"/api/v1/crates/sha2/0.9.2/downloads","authors":"/api/v1/crates/sha2/0.9.2/authors"},"crate_size":19665,"published_by":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"audit_actions":[{"action":"publish","user":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"time":"2020-11-03T15:01:50.839211Z"}],"checksum":"6e7aab86fe2149bad8c507606bdb3f4ef5e7b2380eb92350f56122cca72a42a8","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Pure Rust implementation of the SHA-2 hash function family\nincluding SHA-224, SHA-256, SHA-384, and SHA-512.","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":1028,"comment_lines":28,"files":8}},"total_code_lines":1028,"total_comment_lines":28}},{"id":255630,"crate":"sha2","num":"0.9.1","dl_path":"/api/v1/crates/sha2/0.9.1/download","readme_path":"/api/v1/crates/sha2/0.9.1/readme","updated_at":"2020-06-24T14:53:53.270795Z","created_at":"2020-06-24T14:53:53.270795Z","downloads":2785004,"features":{"asm":["sha2-asm","libc"],"asm-aarch64":["asm"],"compress":[],"default":["std"],"std":["digest/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.9.1/dependencies","version_downloads":"/api/v1/crates/sha2/0.9.1/downloads","authors":"/api/v1/crates/sha2/0.9.1/authors"},"crate_size":19434,"published_by":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"audit_actions":[{"action":"publish","user":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"time":"2020-06-24T14:53:53.270795Z"}],"checksum":"2933378ddfeda7ea26f48c555bdad8bb446bf8a3d17832dc83e380d444cfb8c1","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Pure Rust implementation of the SHA-2 hash function family\nincluding SHA-224, SHA-256, SHA-384, and SHA-512.","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":1019,"comment_lines":28,"files":8}},"total_code_lines":1019,"total_comment_lines":28}},{"id":250781,"crate":"sha2","num":"0.9.0","dl_path":"/api/v1/crates/sha2/0.9.0/download","readme_path":"/api/v1/crates/sha2/0.9.0/readme","updated_at":"2020-06-10T02:38:09.799286Z","created_at":"2020-06-10T02:38:09.799286Z","downloads":114847,"features":{"asm":["sha2-asm"],"asm-aarch64":["asm","libc"],"compress":[],"default":["std"],"std":["digest/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.9.0/dependencies","version_downloads":"/api/v1/crates/sha2/0.9.0/downloads","authors":"/api/v1/crates/sha2/0.9.0/authors"},"crate_size":20336,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2020-06-10T02:38:09.799286Z"}],"checksum":"72377440080fd008550fe9b441e854e43318db116f90181eef92e9ae9aedab48","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Pure Rust implementation of the SHA-2 hash function family\nincluding SHA-224, SHA-256, SHA-384, and SHA-512.","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":911,"comment_lines":23,"files":7}},"total_code_lines":911,"total_comment_lines":23}},{"id":244563,"crate":"sha2","num":"0.8.2","dl_path":"/api/v1/crates/sha2/0.8.2/download","readme_path":"/api/v1/crates/sha2/0.8.2/readme","updated_at":"2020-05-24T00:14:49.115446Z","created_at":"2020-05-24T00:14:49.115446Z","downloads":14499021,"features":{"asm":["sha2-asm"],"asm-aarch64":["asm","libc"],"compress":[],"default":["std"],"std":["digest/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.8.2/dependencies","version_downloads":"/api/v1/crates/sha2/0.8.2/downloads","authors":"/api/v1/crates/sha2/0.8.2/authors"},"crate_size":19851,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2020-05-24T00:14:49.115446Z"}],"checksum":"a256f46ea78a0c0d9ff00077504903ac881a1dafdc20da66545699e7776b3e69","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Pure Rust implementation of the SHA-2 hash function family\nincluding SHA-224, SHA-256, SHA-384, and SHA-512.","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":836,"comment_lines":23,"files":7}},"total_code_lines":836,"total_comment_lines":23}},{"id":201429,"crate":"sha2","num":"0.8.1","dl_path":"/api/v1/crates/sha2/0.8.1/download","readme_path":"/api/v1/crates/sha2/0.8.1/readme","updated_at":"2020-01-06T02:55:43.673541Z","created_at":"2020-01-06T02:55:43.673541Z","downloads":2291862,"features":{"asm":["sha2-asm"],"asm-aarch64":["asm","libc"],"default":["std"],"std":["digest/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.8.1/dependencies","version_downloads":"/api/v1/crates/sha2/0.8.1/downloads","authors":"/api/v1/crates/sha2/0.8.1/authors"},"crate_size":19283,"published_by":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"audit_actions":[{"action":"publish","user":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"time":"2020-01-06T02:55:43.673541Z"}],"checksum":"27044adfd2e1f077f649f59deb9490d3941d674002f7d062870a60ebe9bd47a0","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"SHA-2 hash functions","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":816,"comment_lines":24,"files":7}},"total_code_lines":816,"total_comment_lines":24}},{"id":110478,"crate":"sha2","num":"0.8.0","dl_path":"/api/v1/crates/sha2/0.8.0/download","readme_path":"/api/v1/crates/sha2/0.8.0/readme","updated_at":"2018-10-02T10:36:59.896390Z","created_at":"2018-10-02T10:36:59.896390Z","downloads":2145379,"features":{"asm":["sha2-asm"],"default":["std"],"std":["digest/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.8.0/dependencies","version_downloads":"/api/v1/crates/sha2/0.8.0/downloads","authors":"/api/v1/crates/sha2/0.8.0/authors"},"crate_size":17302,"published_by":null,"audit_actions":[],"checksum":"7b4d8bfd0e469f417657573d8451fb33d16cfe0989359b93baf3a1ffc639543d","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"SHA-2 hash functions","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":789,"comment_lines":19,"files":6}},"total_code_lines":789,"total_comment_lines":19}},{"id":90465,"crate":"sha2","num":"0.7.1","dl_path":"/api/v1/crates/sha2/0.7.1/download","readme_path":"/api/v1/crates/sha2/0.7.1/readme","updated_at":"2018-04-27T08:34:40.523123Z","created_at":"2018-04-27T08:34:40.523123Z","downloads":2509663,"features":{"asm":["sha2-asm"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.7.1/dependencies","version_downloads":"/api/v1/crates/sha2/0.7.1/downloads","authors":"/api/v1/crates/sha2/0.7.1/authors"},"crate_size":17626,"published_by":null,"audit_actions":[],"checksum":"9eb6be24e4c23a84d7184280d2722f7f2731fcdd4a9d886efbfe4413e4847ea0","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"SHA-2 hash functions","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":736,"comment_lines":21,"files":6}},"total_code_lines":736,"total_comment_lines":21}},{"id":71399,"crate":"sha2","num":"0.7.0","dl_path":"/api/v1/crates/sha2/0.7.0/download","readme_path":"/api/v1/crates/sha2/0.7.0/readme","updated_at":"2017-11-30T02:47:56.154249Z","created_at":"2017-11-15T15:59:03.519535Z","downloads":94658,"features":{"asm":["sha2-asm"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.7.0/dependencies","version_downloads":"/api/v1/crates/sha2/0.7.0/downloads","authors":"/api/v1/crates/sha2/0.7.0/authors"},"crate_size":17655,"published_by":null,"audit_actions":[],"checksum":"7daca11f2fdb8559c4f6c588386bed5e2ad4b6605c1442935a7f08144a918688","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"SHA-2 hash functions","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":736,"comment_lines":21,"files":6}},"total_code_lines":736,"total_comment_lines":21}},{"id":56521,"crate":"sha2","num":"0.6.0","dl_path":"/api/v1/crates/sha2/0.6.0/download","readme_path":"/api/v1/crates/sha2/0.6.0/readme","updated_at":"2017-11-30T03:54:19.377856Z","created_at":"2017-06-12T07:02:54.297540Z","downloads":942079,"features":{"asm":["sha2-asm"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.6.0/dependencies","version_downloads":"/api/v1/crates/sha2/0.6.0/downloads","authors":"/api/v1/crates/sha2/0.6.0/authors"},"crate_size":17463,"published_by":null,"audit_actions":[],"checksum":"7d963c78ce367df26d7ea8b8cc655c651b42e8a1e584e869c1e17dae3ccb116a","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"SHA-2 hash functions","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":721,"comment_lines":19,"files":6}},"total_code_lines":721,"total_comment_lines":19}},{"id":55741,"crate":"sha2","num":"0.5.3","dl_path":"/api/v1/crates/sha2/0.5.3/download","readme_path":"/api/v1/crates/sha2/0.5.3/readme","updated_at":"2021-08-27T02:41:05.774249Z","created_at":"2017-06-04T04:27:01.449719Z","downloads":234495,"features":{"asm":["sha2-asm"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.5.3/dependencies","version_downloads":"/api/v1/crates/sha2/0.5.3/downloads","authors":"/api/v1/crates/sha2/0.5.3/authors"},"crate_size":17463,"published_by":null,"audit_actions":[{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2021-08-27T02:41:03.679287Z"}],"checksum":"84920f9ac881e94e33ec89e1b3dcd36040523a308a92548e01217ce35d8cf6a8","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"SHA-2 hash functions","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":722,"comment_lines":20,"files":6}},"total_code_lines":722,"total_comment_lines":20}},{"id":52763,"crate":"sha2","num":"0.5.2","dl_path":"/api/v1/crates/sha2/0.5.2/download","readme_path":"/api/v1/crates/sha2/0.5.2/readme","updated_at":"2021-08-27T02:41:04.062297Z","created_at":"2017-05-09T05:28:45.588074Z","downloads":9421,"features":{"asm":["sha2-asm"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.5.2/dependencies","version_downloads":"/api/v1/crates/sha2/0.5.2/downloads","authors":"/api/v1/crates/sha2/0.5.2/authors"},"crate_size":17000,"published_by":null,"audit_actions":[{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2021-08-27T02:41:02.060560Z"}],"checksum":"84d24a04bbdb2b09512951fc4d13ac76bb309c63163a22394a92698183a31d67","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"SHA-2 hash functions","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":718,"comment_lines":20,"files":6}},"total_code_lines":718,"total_comment_lines":20}},{"id":51949,"crate":"sha2","num":"0.5.1","dl_path":"/api/v1/crates/sha2/0.5.1/download","readme_path":"/api/v1/crates/sha2/0.5.1/readme","updated_at":"2021-08-27T02:41:01.817055Z","created_at":"2017-05-02T05:37:05.983308Z","downloads":3264,"features":{},"yanked":true,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.5.1/dependencies","version_downloads":"/api/v1/crates/sha2/0.5.1/downloads","authors":"/api/v1/crates/sha2/0.5.1/authors"},"crate_size":16882,"published_by":null,"audit_actions":[{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2021-08-27T02:40:59.899851Z"}],"checksum":"8f6608b80fd4a0463b8a0234f3591562506ee495c8c8f6525e2998980b589b71","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"SHA-2 hash functions","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":707,"comment_lines":20,"files":6}},"total_code_lines":707,"total_comment_lines":20}},{"id":49665,"crate":"sha2","num":"0.5.0","dl_path":"/api/v1/crates/sha2/0.5.0/download","readme_path":"/api/v1/crates/sha2/0.5.0/readme","updated_at":"2021-08-27T02:40:59.774999Z","created_at":"2017-04-06T15:23:37.046900Z","downloads":5556,"features":{},"yanked":true,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.5.0/dependencies","version_downloads":"/api/v1/crates/sha2/0.5.0/downloads","authors":"/api/v1/crates/sha2/0.5.0/authors"},"crate_size":16899,"published_by":null,"audit_actions":[{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2021-08-27T02:40:57.947611Z"}],"checksum":"d2dc1ddceb09bccce894f9deaaec8ad0278ede6be5537c49a3549cf63937c39a","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"SHA-2 hash functions","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":707,"comment_lines":20,"files":6}},"total_code_lines":707,"total_comment_lines":20}},{"id":43127,"crate":"sha2","num":"0.4.2","dl_path":"/api/v1/crates/sha2/0.4.2/download","readme_path":"/api/v1/crates/sha2/0.4.2/readme","updated_at":"2021-08-27T02:40:49.959573Z","created_at":"2017-01-23T13:17:36.076768Z","downloads":17143,"features":{},"yanked":true,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.4.2/dependencies","version_downloads":"/api/v1/crates/sha2/0.4.2/downloads","authors":"/api/v1/crates/sha2/0.4.2/authors"},"crate_size":16952,"published_by":null,"audit_actions":[{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2021-08-27T02:40:47.853956Z"}],"checksum":"25405172e8d8325cbbb72af68adc28931dacd1482d067facc46ac808f48df55c","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"SHA-2 hash functions","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":716,"comment_lines":20,"files":6}},"total_code_lines":716,"total_comment_lines":20}},{"id":42795,"crate":"sha2","num":"0.4.1","dl_path":"/api/v1/crates/sha2/0.4.1/download","readme_path":"/api/v1/crates/sha2/0.4.1/readme","updated_at":"2021-08-27T02:40:48.216310Z","created_at":"2017-01-20T16:43:58.262332Z","downloads":3093,"features":{},"yanked":true,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.4.1/dependencies","version_downloads":"/api/v1/crates/sha2/0.4.1/downloads","authors":"/api/v1/crates/sha2/0.4.1/authors"},"crate_size":16955,"published_by":null,"audit_actions":[{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2021-08-27T02:40:45.161153Z"}],"checksum":"008e228ca4003176be82d897933317dc91b653027f6f0eb14925d3feefbeb0ed","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"SHA-2 hash functions","homepage":null,"documentation":null,"repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":716,"comment_lines":20,"files":6}},"total_code_lines":716,"total_comment_lines":20}},{"id":40581,"crate":"sha2","num":"0.4.0","dl_path":"/api/v1/crates/sha2/0.4.0/download","readme_path":"/api/v1/crates/sha2/0.4.0/readme","updated_at":"2021-08-27T02:40:45.474392Z","created_at":"2016-12-25T02:22:01.168867Z","downloads":5197,"features":{},"yanked":true,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.4.0/dependencies","version_downloads":"/api/v1/crates/sha2/0.4.0/downloads","authors":"/api/v1/crates/sha2/0.4.0/authors"},"crate_size":17056,"published_by":null,"audit_actions":[{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2021-08-27T02:40:42.683747Z"}],"checksum":"edb7da6a2ed37c4f3090012c8a8eb085da2aa6465e6df21d9a245e294f4a59e8","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"SHA-2 hash functions","homepage":null,"documentation":null,"repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":716,"comment_lines":20,"files":6}},"total_code_lines":716,"total_comment_lines":20}},{"id":38005,"crate":"sha2","num":"0.3.0","dl_path":"/api/v1/crates/sha2/0.3.0/download","readme_path":"/api/v1/crates/sha2/0.3.0/readme","updated_at":"2021-07-26T23:06:00.209458Z","created_at":"2016-11-17T18:00:09.024643Z","downloads":6882,"features":{},"yanked":true,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.3.0/dependencies","version_downloads":"/api/v1/crates/sha2/0.3.0/downloads","authors":"/api/v1/crates/sha2/0.3.0/authors"},"crate_size":17781,"published_by":null,"audit_actions":[{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2021-07-26T23:05:30.657065Z"}],"checksum":"b0372dfb9a4f9c882468288bdab48a4d6dcf9e63abf41d6785464c592845e0fa","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"SHA-2 hash functions","homepage":null,"documentation":null,"repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":714,"comment_lines":20,"files":6}},"total_code_lines":714,"total_comment_lines":20}},{"id":36740,"crate":"sha2","num":"0.2.0","dl_path":"/api/v1/crates/sha2/0.2.0/download","readme_path":"/api/v1/crates/sha2/0.2.0/readme","updated_at":"2021-07-26T23:05:55.539869Z","created_at":"2016-10-26T19:10:49.299490Z","downloads":4234,"features":{},"yanked":true,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.2.0/dependencies","version_downloads":"/api/v1/crates/sha2/0.2.0/downloads","authors":"/api/v1/crates/sha2/0.2.0/authors"},"crate_size":16438,"published_by":null,"audit_actions":[{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2021-07-26T23:05:26.252574Z"}],"checksum":"1f31bcd58861be78a3779ba40cb84c1e9da0a650ae2ea5041a8d9cdb735b3389","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"SHA-2 hash functions","homepage":null,"documentation":"https://docs.rs/sha2","repository":"https://github.com/RustCrypto/hashes","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":684,"comment_lines":20,"files":6}},"total_code_lines":684,"total_comment_lines":20}},{"id":26710,"crate":"sha2","num":"0.1.2","dl_path":"/api/v1/crates/sha2/0.1.2/download","readme_path":"/api/v1/crates/sha2/0.1.2/readme","updated_at":"2021-07-26T23:05:49.766016Z","created_at":"2016-05-06T20:46:23.112878Z","downloads":38421,"features":{},"yanked":true,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.1.2/dependencies","version_downloads":"/api/v1/crates/sha2/0.1.2/downloads","authors":"/api/v1/crates/sha2/0.1.2/authors"},"crate_size":857457,"published_by":null,"audit_actions":[{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2021-07-26T23:05:22.133336Z"}],"checksum":"e0cd9505afe45df2b8bdda585776281c7b29eb9d0e34b1e6dd2b12cba5d4ae1e","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Pure Rust SHA-2","homepage":null,"documentation":"http://brson.github.io/rust-sha2/sha2","repository":"https://github.com/brson/rust-sha2","trustpub_data":null,"linecounts":{"languages":{"Assembly":{"code_lines":106,"comment_lines":11,"files":2},"C":{"code_lines":440,"comment_lines":10,"files":2},"Rust":{"code_lines":24646,"comment_lines":2222,"files":43}},"total_code_lines":25192,"total_comment_lines":2243}},{"id":26707,"crate":"sha2","num":"0.1.1","dl_path":"/api/v1/crates/sha2/0.1.1/download","readme_path":"/api/v1/crates/sha2/0.1.1/readme","updated_at":"2021-07-26T23:05:37.627988Z","created_at":"2016-05-06T20:41:27.800051Z","downloads":3309,"features":{},"yanked":true,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.1.1/dependencies","version_downloads":"/api/v1/crates/sha2/0.1.1/downloads","authors":"/api/v1/crates/sha2/0.1.1/authors"},"crate_size":857454,"published_by":null,"audit_actions":[{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2021-07-26T23:05:20.378784Z"}],"checksum":"53834e70969feb901ae9c8bf3cecddb19d02739ca0526453032cacfbe54ace05","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Pure Rust SHA-2","homepage":null,"documentation":"http://brson.github.io/rust-sha2/sha2","repository":"https://github.com/brson/rust-sha2","trustpub_data":null,"linecounts":{"languages":{"Assembly":{"code_lines":106,"comment_lines":11,"files":2},"C":{"code_lines":440,"comment_lines":10,"files":2},"Rust":{"code_lines":24645,"comment_lines":2222,"files":43}},"total_code_lines":25191,"total_comment_lines":2243}},{"id":26705,"crate":"sha2","num":"0.1.0","dl_path":"/api/v1/crates/sha2/0.1.0/download","readme_path":"/api/v1/crates/sha2/0.1.0/readme","updated_at":"2021-07-26T23:05:27.789891Z","created_at":"2016-05-06T20:20:25.502104Z","downloads":3357,"features":{},"yanked":true,"yank_message":null,"lib_links":null,"license":"MIT/Apache-2.0","links":{"dependencies":"/api/v1/crates/sha2/0.1.0/dependencies","version_downloads":"/api/v1/crates/sha2/0.1.0/downloads","authors":"/api/v1/crates/sha2/0.1.0/authors"},"crate_size":857433,"published_by":null,"audit_actions":[{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2021-07-26T23:05:18.197804Z"}],"checksum":"c0210b94be05316421b181665dd9665cd6acd5984a73335e8c6cc961d6b4edd7","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Pure Rust SHA-2","homepage":null,"documentation":"http://brson.github.io/rust-sha2/sha2","repository":"https://github.com/brson/rust-sha2","trustpub_data":null,"linecounts":{"languages":{"Assembly":{"code_lines":106,"comment_lines":11,"files":2},"C":{"code_lines":440,"comment_lines":10,"files":2},"Rust":{"code_lines":24644,"comment_lines":2222,"files":43}},"total_code_lines":25190,"total_comment_lines":2243}}],"keywords":[{"id":"digest","keyword":"digest","created_at":"2016-06-27T01:08:18.960899Z","crates_cnt":182},{"id":"hash","keyword":"hash","created_at":"2014-11-21T00:04:00.701711Z","crates_cnt":939},{"id":"sha2","keyword":"sha2","created_at":"2016-05-06T20:20:25.502104Z","crates_cnt":30}],"categories":[{"id":"cryptography","category":"Cryptography","slug":"cryptography","description":"Algorithms intended for securing data.","created_at":"2017-01-17T19:13:05.112025Z","crates_cnt":7915},{"id":"no-std","category":"No standard library","slug":"no-std","description":"Crates that are able to function without the Rust standard library.","created_at":"2017-02-10T01:52:09.447906Z","crates_cnt":13734}]} \ No newline at end of file diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/signature.json b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/signature.json new file mode 100644 index 0000000000..ca928213b7 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/signature.json @@ -0,0 +1 @@ +{"crate":{"id":"signature","name":"signature","updated_at":"2026-05-02T16:30:00.281044Z","versions":[2339500,1989617,1969684,1958756,1957079,1905569,1810223,1727653,1711917,1644935,1588401,1583758,1532194,1453209,1444476,1216182,1036431,1017194,1010226,1009105,952868,766034,704062,698185,696284,680651,657083,656484,654360,635727,622746,622328,619548,602536,477566,441071,440758,395257,323706,267659,267652,267629,250786,232937,232605,221765,221338,219245,219208,185479,181950,181710,155026,152798,115345],"keywords":["crypto","ecdsa","ed25519","signature","signing"],"categories":["cryptography","no-std"],"badges":[],"created_at":"2018-10-30T23:56:33.764106Z","downloads":475683791,"recent_downloads":119541793,"default_version":"3.0.0","num_versions":55,"yanked":false,"max_version":"3.0.0","newest_version":"3.0.0","max_stable_version":"3.0.0","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits","links":{"version_downloads":"/api/v1/crates/signature/downloads","versions":null,"owners":"/api/v1/crates/signature/owners","owner_team":"/api/v1/crates/signature/owner_team","owner_user":"/api/v1/crates/signature/owner_user","reverse_dependencies":"/api/v1/crates/signature/reverse_dependencies"},"exact_match":false,"trustpub_only":true},"versions":[{"id":2339500,"crate":"signature","num":"3.0.0","dl_path":"/api/v1/crates/signature/3.0.0/download","readme_path":"/api/v1/crates/signature/3.0.0/readme","updated_at":"2026-05-02T16:30:00.281044Z","created_at":"2026-05-02T16:30:00.281044Z","downloads":15384183,"features":{"alloc":[],"rand_core":["dep:rand_core"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/3.0.0/dependencies","version_downloads":"/api/v1/crates/signature/3.0.0/downloads","authors":"/api/v1/crates/signature/3.0.0/authors"},"crate_size":15027,"published_by":null,"audit_actions":[],"checksum":"28d567dcbaf0049cb8ac2608a76cd95ff9e4412e1899d389ee400918ca7537f5","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits","trustpub_data":{"provider":"github","repository":"RustCrypto/traits","run_id":"25256472561","sha":"9488e7ea66763b5cbdc7a4814a96421e0114dc97"},"linecounts":{"languages":{"Rust":{"code_lines":353,"comment_lines":0,"files":7}},"total_code_lines":353,"total_comment_lines":0}},{"id":1989617,"crate":"signature","num":"3.0.0-rc.10","dl_path":"/api/v1/crates/signature/3.0.0-rc.10/download","readme_path":"/api/v1/crates/signature/3.0.0-rc.10/readme","updated_at":"2026-02-01T14:56:21.323639Z","created_at":"2026-02-01T14:56:21.323639Z","downloads":3101321,"features":{"alloc":[],"rand_core":["dep:rand_core"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/3.0.0-rc.10/dependencies","version_downloads":"/api/v1/crates/signature/3.0.0-rc.10/downloads","authors":"/api/v1/crates/signature/3.0.0-rc.10/authors"},"crate_size":15754,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2026-02-01T14:56:21.323639Z"}],"checksum":"7f1880df446116126965eeec169136b2e0251dba37c6223bcc819569550edea3","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":330,"comment_lines":0,"files":7}},"total_code_lines":330,"total_comment_lines":0}},{"id":1969684,"crate":"signature","num":"3.0.0-rc.9","dl_path":"/api/v1/crates/signature/3.0.0-rc.9/download","readme_path":"/api/v1/crates/signature/3.0.0-rc.9/readme","updated_at":"2026-01-24T15:59:09.961908Z","created_at":"2026-01-24T15:59:09.961908Z","downloads":61805,"features":{"alloc":[],"rand_core":["dep:rand_core"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/3.0.0-rc.9/dependencies","version_downloads":"/api/v1/crates/signature/3.0.0-rc.9/downloads","authors":"/api/v1/crates/signature/3.0.0-rc.9/authors"},"crate_size":15723,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2026-01-24T15:59:09.961908Z"}],"checksum":"0ad0ce3b3f8efd7406f22e2ca5d02be21cdf3b3d1d53ab141f784de8965c7c7e","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":330,"comment_lines":0,"files":7}},"total_code_lines":330,"total_comment_lines":0}},{"id":1958756,"crate":"signature","num":"3.0.0-rc.8","dl_path":"/api/v1/crates/signature/3.0.0-rc.8/download","readme_path":"/api/v1/crates/signature/3.0.0-rc.8/readme","updated_at":"2026-01-20T14:51:51.959617Z","created_at":"2026-01-20T14:51:51.959617Z","downloads":34715,"features":{"alloc":[],"rand_core":["dep:rand_core"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/3.0.0-rc.8/dependencies","version_downloads":"/api/v1/crates/signature/3.0.0-rc.8/downloads","authors":"/api/v1/crates/signature/3.0.0-rc.8/authors"},"crate_size":15731,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2026-01-20T14:51:51.959617Z"}],"checksum":"c04b70a14ee5f15e2e0c785a5fdb2e9a51138dfe13ba3cf8eab037a9e60b1879","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":330,"comment_lines":0,"files":7}},"total_code_lines":330,"total_comment_lines":0}},{"id":1957079,"crate":"signature","num":"3.0.0-rc.7","dl_path":"/api/v1/crates/signature/3.0.0-rc.7/download","readme_path":"/api/v1/crates/signature/3.0.0-rc.7/readme","updated_at":"2026-01-19T19:48:41.584026Z","created_at":"2026-01-19T19:48:41.584026Z","downloads":4651,"features":{"alloc":[],"rand_core":["dep:rand_core"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/3.0.0-rc.7/dependencies","version_downloads":"/api/v1/crates/signature/3.0.0-rc.7/downloads","authors":"/api/v1/crates/signature/3.0.0-rc.7/authors"},"crate_size":15729,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2026-01-19T19:48:41.584026Z"}],"checksum":"f0d05d104d9010ca73d00ffcb12eca5dceda21347e8d69683547385ffd972e74","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":330,"comment_lines":0,"files":7}},"total_code_lines":330,"total_comment_lines":0}},{"id":1905569,"crate":"signature","num":"3.0.0-rc.6","dl_path":"/api/v1/crates/signature/3.0.0-rc.6/download","readme_path":"/api/v1/crates/signature/3.0.0-rc.6/readme","updated_at":"2025-12-27T20:18:50.488245Z","created_at":"2025-12-27T20:18:50.488245Z","downloads":1076944,"features":{"alloc":[],"rand_core":["dep:rand_core"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/3.0.0-rc.6/dependencies","version_downloads":"/api/v1/crates/signature/3.0.0-rc.6/downloads","authors":"/api/v1/crates/signature/3.0.0-rc.6/authors"},"crate_size":15733,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2025-12-27T20:18:50.488245Z"}],"checksum":"597a96996ccff7dfa16f052bd995b4cecc72af22c35138738dc029f0ead6608d","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":330,"comment_lines":0,"files":7}},"total_code_lines":330,"total_comment_lines":0}},{"id":1810223,"crate":"signature","num":"3.0.0-rc.5","dl_path":"/api/v1/crates/signature/3.0.0-rc.5/download","readme_path":"/api/v1/crates/signature/3.0.0-rc.5/readme","updated_at":"2025-11-05T15:59:27.344526Z","created_at":"2025-11-05T15:59:27.344526Z","downloads":211894,"features":{"alloc":[],"rand_core":["dep:rand_core"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/3.0.0-rc.5/dependencies","version_downloads":"/api/v1/crates/signature/3.0.0-rc.5/downloads","authors":"/api/v1/crates/signature/3.0.0-rc.5/authors"},"crate_size":15734,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2025-11-05T15:59:27.344526Z"}],"checksum":"2a0251c9d6468f4ba853b6352b190fb7c1e405087779917c238445eb03993826","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":330,"comment_lines":0,"files":7}},"total_code_lines":330,"total_comment_lines":0}},{"id":1727653,"crate":"signature","num":"3.0.0-rc.4","dl_path":"/api/v1/crates/signature/3.0.0-rc.4/download","readme_path":"/api/v1/crates/signature/3.0.0-rc.4/readme","updated_at":"2025-09-13T02:20:31.683875Z","created_at":"2025-09-13T02:20:31.683875Z","downloads":1076081,"features":{"alloc":[],"rand_core":["dep:rand_core"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/3.0.0-rc.4/dependencies","version_downloads":"/api/v1/crates/signature/3.0.0-rc.4/downloads","authors":"/api/v1/crates/signature/3.0.0-rc.4/authors"},"crate_size":15732,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2025-09-13T02:20:31.683875Z"}],"checksum":"fc280a6ff65c79fbd6622f64d7127f32b85563bca8c53cd2e9141d6744a9056d","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":330,"comment_lines":0,"files":7}},"total_code_lines":330,"total_comment_lines":0}},{"id":1711917,"crate":"signature","num":"3.0.0-rc.3","dl_path":"/api/v1/crates/signature/3.0.0-rc.3/download","readme_path":"/api/v1/crates/signature/3.0.0-rc.3/readme","updated_at":"2025-09-02T19:36:44.759614Z","created_at":"2025-09-02T19:36:44.759614Z","downloads":25686,"features":{"alloc":[],"rand_core":["dep:rand_core"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/3.0.0-rc.3/dependencies","version_downloads":"/api/v1/crates/signature/3.0.0-rc.3/downloads","authors":"/api/v1/crates/signature/3.0.0-rc.3/authors"},"crate_size":15556,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2025-09-02T19:36:44.759614Z"}],"checksum":"39195ff4c0dc41c93e123825ca1f0d11b856df8b26d5fe140a522355632c4345","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":317,"comment_lines":0,"files":7}},"total_code_lines":317,"total_comment_lines":0}},{"id":1644935,"crate":"signature","num":"3.0.0-rc.2","dl_path":"/api/v1/crates/signature/3.0.0-rc.2/download","readme_path":"/api/v1/crates/signature/3.0.0-rc.2/readme","updated_at":"2025-07-16T13:37:54.761885Z","created_at":"2025-07-16T13:37:54.761885Z","downloads":58597,"features":{"alloc":[],"rand_core":["dep:rand_core"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/3.0.0-rc.2/dependencies","version_downloads":"/api/v1/crates/signature/3.0.0-rc.2/downloads","authors":"/api/v1/crates/signature/3.0.0-rc.2/authors"},"crate_size":15770,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2025-07-16T13:37:54.761885Z"}],"checksum":"4835c3b5ecb10171941a4998a95a3a76ecac1c5ae8e6954f2ad030acd1c7e8ab","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":317,"comment_lines":0,"files":7}},"total_code_lines":317,"total_comment_lines":0}},{"id":1588401,"crate":"signature","num":"3.0.0-rc.1","dl_path":"/api/v1/crates/signature/3.0.0-rc.1/download","readme_path":"/api/v1/crates/signature/3.0.0-rc.1/readme","updated_at":"2025-06-03T02:17:01.508277Z","created_at":"2025-06-03T02:17:01.508277Z","downloads":61908,"features":{"alloc":[],"rand_core":["dep:rand_core"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/3.0.0-rc.1/dependencies","version_downloads":"/api/v1/crates/signature/3.0.0-rc.1/downloads","authors":"/api/v1/crates/signature/3.0.0-rc.1/authors"},"crate_size":16095,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2025-06-03T02:17:01.508277Z"}],"checksum":"b8852cecbd17ba45978bbbe43061ebe36a2ae376058c5c172e09f72888f8f7de","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":332,"comment_lines":0,"files":8}},"total_code_lines":332,"total_comment_lines":0}},{"id":1583758,"crate":"signature","num":"3.0.0-rc.0","dl_path":"/api/v1/crates/signature/3.0.0-rc.0/download","readme_path":"/api/v1/crates/signature/3.0.0-rc.0/readme","updated_at":"2025-05-29T15:41:17.993672Z","created_at":"2025-05-29T15:41:17.993672Z","downloads":9992,"features":{"alloc":[],"rand_core":["dep:rand_core"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/3.0.0-rc.0/dependencies","version_downloads":"/api/v1/crates/signature/3.0.0-rc.0/downloads","authors":"/api/v1/crates/signature/3.0.0-rc.0/authors"},"crate_size":15861,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2025-05-29T15:41:17.993672Z"}],"checksum":"d7ae074ff622614874804868b07d9cb786223082c9fe726a6653608f32f37b02","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":298,"comment_lines":0,"files":8}},"total_code_lines":298,"total_comment_lines":0}},{"id":1532194,"crate":"signature","num":"2.3.0-pre.7","dl_path":"/api/v1/crates/signature/2.3.0-pre.7/download","readme_path":"/api/v1/crates/signature/2.3.0-pre.7/readme","updated_at":"2025-04-20T20:37:58.233885Z","created_at":"2025-04-20T20:37:58.233885Z","downloads":3490,"features":{"alloc":[],"rand_core":["dep:rand_core"],"std":["alloc","rand_core?/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/2.3.0-pre.7/dependencies","version_downloads":"/api/v1/crates/signature/2.3.0-pre.7/downloads","authors":"/api/v1/crates/signature/2.3.0-pre.7/authors"},"crate_size":17733,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2025-04-20T20:37:58.233885Z"}],"checksum":"a6e22be6d22b655ff65ed5635383d63ac17a99c5c0a05a83a414d399056d4e1d","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":304,"comment_lines":0,"files":8}},"total_code_lines":304,"total_comment_lines":0}},{"id":1453209,"crate":"signature","num":"2.3.0-pre.6","dl_path":"/api/v1/crates/signature/2.3.0-pre.6/download","readme_path":"/api/v1/crates/signature/2.3.0-pre.6/readme","updated_at":"2025-02-20T09:23:30.867051Z","created_at":"2025-02-20T09:23:30.867051Z","downloads":1976,"features":{"alloc":[],"rand_core":["dep:rand_core"],"std":["alloc","rand_core?/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/2.3.0-pre.6/dependencies","version_downloads":"/api/v1/crates/signature/2.3.0-pre.6/downloads","authors":"/api/v1/crates/signature/2.3.0-pre.6/authors"},"crate_size":18317,"published_by":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"audit_actions":[{"action":"publish","user":{"id":5059,"login":"newpavlov","name":"Artyom Pavlov","avatar":"https://avatars.githubusercontent.com/u/329626?v=4","url":"https://github.com/newpavlov","github_username_matches":true,"created_at":"2010-07-12T13:48:27Z"},"time":"2025-02-20T09:23:30.867051Z"}],"checksum":"4633ec5613e4218fbab07568ca79ee388e3c041af75f0f83a15f040f096f94cf","rust_version":"1.81","has_lib":true,"bin_names":[],"edition":"2021","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":"https://github.com/RustCrypto/traits/tree/master/signature","documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":289,"comment_lines":0,"files":8}},"total_code_lines":289,"total_comment_lines":0}},{"id":1444476,"crate":"signature","num":"2.3.0-pre.5","dl_path":"/api/v1/crates/signature/2.3.0-pre.5/download","readme_path":"/api/v1/crates/signature/2.3.0-pre.5/readme","updated_at":"2025-02-12T23:42:22.620059Z","created_at":"2025-02-12T23:42:22.620059Z","downloads":1908,"features":{"alloc":[],"rand_core":["dep:rand_core"],"std":["alloc","rand_core?/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/2.3.0-pre.5/dependencies","version_downloads":"/api/v1/crates/signature/2.3.0-pre.5/downloads","authors":"/api/v1/crates/signature/2.3.0-pre.5/authors"},"crate_size":18323,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2025-02-12T23:42:22.620059Z"}],"checksum":"7c2709fb57c97dd1496b041ae261a6b92def6e6f97d206898b4726e6bdf4ec8f","rust_version":"1.81","has_lib":true,"bin_names":[],"edition":"2021","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":"https://github.com/RustCrypto/traits/tree/master/signature","documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":285,"comment_lines":0,"files":8}},"total_code_lines":285,"total_comment_lines":0}},{"id":1216182,"crate":"signature","num":"2.3.0-pre.4","dl_path":"/api/v1/crates/signature/2.3.0-pre.4/download","readme_path":"/api/v1/crates/signature/2.3.0-pre.4/readme","updated_at":"2024-07-27T00:15:31.879180Z","created_at":"2024-07-27T00:15:31.879180Z","downloads":225774,"features":{"alloc":[],"std":["alloc","rand_core?/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/2.3.0-pre.4/dependencies","version_downloads":"/api/v1/crates/signature/2.3.0-pre.4/downloads","authors":"/api/v1/crates/signature/2.3.0-pre.4/authors"},"crate_size":15706,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2024-07-27T00:15:31.879180Z"}],"checksum":"054d71959c7051b9042c26af337f05cc930575ed2604d7d3ced3158383e59734","rust_version":"1.72","has_lib":true,"bin_names":[],"edition":"2021","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":"https://github.com/RustCrypto/traits/tree/master/signature","documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":243,"comment_lines":0,"files":8}},"total_code_lines":243,"total_comment_lines":0}},{"id":1036431,"crate":"signature","num":"2.3.0-pre.3","dl_path":"/api/v1/crates/signature/2.3.0-pre.3/download","readme_path":"/api/v1/crates/signature/2.3.0-pre.3/readme","updated_at":"2024-02-01T23:00:33.371917Z","created_at":"2024-02-01T23:00:33.371917Z","downloads":94218,"features":{"alloc":[],"std":["alloc","rand_core?/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/2.3.0-pre.3/dependencies","version_downloads":"/api/v1/crates/signature/2.3.0-pre.3/downloads","authors":"/api/v1/crates/signature/2.3.0-pre.3/authors"},"crate_size":15660,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2024-02-01T23:00:33.371917Z"}],"checksum":"1700c22ba9ce32c7b0a1495068a906c3552e7db386af7cf865162e0dea498523","rust_version":"1.72","has_lib":true,"bin_names":[],"edition":"2021","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits/tree/master/signature","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":243,"comment_lines":0,"files":8}},"total_code_lines":243,"total_comment_lines":0}},{"id":1017194,"crate":"signature","num":"2.3.0-pre.2","dl_path":"/api/v1/crates/signature/2.3.0-pre.2/download","readme_path":"/api/v1/crates/signature/2.3.0-pre.2/readme","updated_at":"2024-01-17T16:35:23.848982Z","created_at":"2024-01-17T16:35:23.848982Z","downloads":13599,"features":{"alloc":[],"std":["alloc","rand_core?/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/2.3.0-pre.2/dependencies","version_downloads":"/api/v1/crates/signature/2.3.0-pre.2/downloads","authors":"/api/v1/crates/signature/2.3.0-pre.2/authors"},"crate_size":15659,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2024-01-17T16:35:23.848982Z"}],"checksum":"017ea2f120415e4bf9c6177425b40386f207284147564e19d196c7bc90483c08","rust_version":"1.72","has_lib":true,"bin_names":[],"edition":"2021","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits/tree/master/signature","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":243,"comment_lines":0,"files":8}},"total_code_lines":243,"total_comment_lines":0}},{"id":1010226,"crate":"signature","num":"2.3.0-pre.1","dl_path":"/api/v1/crates/signature/2.3.0-pre.1/download","readme_path":"/api/v1/crates/signature/2.3.0-pre.1/readme","updated_at":"2024-01-10T20:17:05.380892Z","created_at":"2024-01-10T20:17:05.380892Z","downloads":5223,"features":{"alloc":[],"std":["alloc","rand_core?/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/2.3.0-pre.1/dependencies","version_downloads":"/api/v1/crates/signature/2.3.0-pre.1/downloads","authors":"/api/v1/crates/signature/2.3.0-pre.1/authors"},"crate_size":15662,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2024-01-10T20:17:05.380892Z"}],"checksum":"4d40c007df8d40a44d464726cc639e1b48c1894ad074eb4168ff91e62d94b53a","rust_version":"1.71","has_lib":true,"bin_names":[],"edition":"2021","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits/tree/master/signature","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":243,"comment_lines":0,"files":8}},"total_code_lines":243,"total_comment_lines":0}},{"id":1009105,"crate":"signature","num":"2.3.0-pre.0","dl_path":"/api/v1/crates/signature/2.3.0-pre.0/download","readme_path":"/api/v1/crates/signature/2.3.0-pre.0/readme","updated_at":"2024-01-09T18:11:14.865158Z","created_at":"2024-01-09T18:11:14.865158Z","downloads":2517,"features":{"alloc":[],"std":["alloc","rand_core?/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/2.3.0-pre.0/dependencies","version_downloads":"/api/v1/crates/signature/2.3.0-pre.0/downloads","authors":"/api/v1/crates/signature/2.3.0-pre.0/authors"},"crate_size":15661,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2024-01-09T18:11:14.865158Z"}],"checksum":"68a9b544e1447a755027450a51bc29aa51772e071bd839aca18136a7dab1b93e","rust_version":"1.71","has_lib":true,"bin_names":[],"edition":"2021","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits/tree/master/signature","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":243,"comment_lines":0,"files":8}},"total_code_lines":243,"total_comment_lines":0}},{"id":952868,"crate":"signature","num":"2.2.0","dl_path":"/api/v1/crates/signature/2.2.0/download","readme_path":"/api/v1/crates/signature/2.2.0/readme","updated_at":"2023-11-12T20:49:39.435224Z","created_at":"2023-11-12T20:49:39.435224Z","downloads":305235663,"features":{"alloc":[],"std":["alloc","rand_core?/std"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/2.2.0/dependencies","version_downloads":"/api/v1/crates/signature/2.2.0/downloads","authors":"/api/v1/crates/signature/2.2.0/authors"},"crate_size":15531,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2023-11-12T20:49:39.435224Z"}],"checksum":"77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de","rust_version":"1.60","has_lib":true,"bin_names":[],"edition":"2021","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits/tree/master/signature","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":228,"comment_lines":0,"files":8}},"total_code_lines":228,"total_comment_lines":0}},{"id":766034,"crate":"signature","num":"2.1.0","dl_path":"/api/v1/crates/signature/2.1.0/download","readme_path":"/api/v1/crates/signature/2.1.0/readme","updated_at":"2023-04-02T01:59:49.997317Z","created_at":"2023-04-02T01:59:49.997317Z","downloads":22747673,"features":{"alloc":[],"std":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/2.1.0/dependencies","version_downloads":"/api/v1/crates/signature/2.1.0/downloads","authors":"/api/v1/crates/signature/2.1.0/authors"},"crate_size":15627,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2023-04-02T01:59:49.997317Z"}],"checksum":"5e1788eed21689f9cf370582dfc467ef36ed9c707f073528ddafa8d83e3b8500","rust_version":"1.56","has_lib":true,"bin_names":[],"edition":"2021","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits/tree/master/signature","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":217,"comment_lines":0,"files":8}},"total_code_lines":217,"total_comment_lines":0}},{"id":704062,"crate":"signature","num":"2.0.0","dl_path":"/api/v1/crates/signature/2.0.0/download","readme_path":"/api/v1/crates/signature/2.0.0/readme","updated_at":"2023-01-15T18:59:13.431156Z","created_at":"2023-01-15T18:59:13.431156Z","downloads":13096112,"features":{"alloc":[],"std":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/2.0.0/dependencies","version_downloads":"/api/v1/crates/signature/2.0.0/downloads","authors":"/api/v1/crates/signature/2.0.0/authors"},"crate_size":15564,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2023-01-15T18:59:13.431156Z"}],"checksum":"8fe458c98333f9c8152221191a77e2a44e8325d0193484af2e9421a53019e57d","rust_version":"1.56","has_lib":true,"bin_names":[],"edition":"2021","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits/tree/master/signature","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":214,"comment_lines":0,"files":8}},"total_code_lines":214,"total_comment_lines":0}},{"id":698185,"crate":"signature","num":"2.0.0-rc.1","dl_path":"/api/v1/crates/signature/2.0.0-rc.1/download","readme_path":"/api/v1/crates/signature/2.0.0-rc.1/readme","updated_at":"2023-01-07T22:11:39.824738Z","created_at":"2023-01-07T22:11:39.824738Z","downloads":5737,"features":{"alloc":[],"digest-preview":["digest"],"rand-preview":["rand_core"],"std":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/2.0.0-rc.1/dependencies","version_downloads":"/api/v1/crates/signature/2.0.0-rc.1/downloads","authors":"/api/v1/crates/signature/2.0.0-rc.1/authors"},"crate_size":15556,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2023-01-07T22:11:39.824738Z"}],"checksum":"a27af965d7572471973d1307767b3d7ecaff1b7a26674bbbe16877e5dc4cc60d","rust_version":"1.56","has_lib":true,"bin_names":[],"edition":"2021","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits/tree/master/signature","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":229,"comment_lines":0,"files":8}},"total_code_lines":229,"total_comment_lines":0}},{"id":696284,"crate":"signature","num":"2.0.0-rc.0","dl_path":"/api/v1/crates/signature/2.0.0-rc.0/download","readme_path":"/api/v1/crates/signature/2.0.0-rc.0/readme","updated_at":"2023-01-04T20:04:19.816972Z","created_at":"2023-01-04T20:04:19.816972Z","downloads":3416,"features":{"alloc":[],"digest-preview":["digest"],"rand-preview":["rand_core"],"std":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/2.0.0-rc.0/dependencies","version_downloads":"/api/v1/crates/signature/2.0.0-rc.0/downloads","authors":"/api/v1/crates/signature/2.0.0-rc.0/authors"},"crate_size":15569,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2023-01-04T20:04:19.816972Z"}],"checksum":"51659052c3c82a3cb69d911c1c1d8cb5d383012b7ec537918d5ecc5f42870d2d","rust_version":"1.56","has_lib":true,"bin_names":[],"edition":"2021","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits/tree/master/signature","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":236,"comment_lines":0,"files":8}},"total_code_lines":236,"total_comment_lines":0}},{"id":680651,"crate":"signature","num":"2.0.0-pre.3","dl_path":"/api/v1/crates/signature/2.0.0-pre.3/download","readme_path":"/api/v1/crates/signature/2.0.0-pre.3/readme","updated_at":"2022-12-10T23:34:57.645138Z","created_at":"2022-12-10T23:34:57.645138Z","downloads":7403,"features":{"alloc":[],"digest-preview":["digest"],"rand-preview":["rand_core"],"std":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/2.0.0-pre.3/dependencies","version_downloads":"/api/v1/crates/signature/2.0.0-pre.3/downloads","authors":"/api/v1/crates/signature/2.0.0-pre.3/authors"},"crate_size":15573,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-12-10T23:34:57.645138Z"}],"checksum":"72c5ea30954aaba8f04263dd4d766a33d4838ae5535fccc81341b147604e7526","rust_version":"1.56","has_lib":true,"bin_names":[],"edition":"2021","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits/tree/master/signature","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":237,"comment_lines":0,"files":8}},"total_code_lines":237,"total_comment_lines":0}},{"id":657083,"crate":"signature","num":"2.0.0-pre.2","dl_path":"/api/v1/crates/signature/2.0.0-pre.2/download","readme_path":"/api/v1/crates/signature/2.0.0-pre.2/readme","updated_at":"2022-11-04T16:54:38.172746Z","created_at":"2022-11-04T16:54:38.172746Z","downloads":7440,"features":{"alloc":[],"digest-preview":["digest"],"rand-preview":["rand_core"],"std":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/2.0.0-pre.2/dependencies","version_downloads":"/api/v1/crates/signature/2.0.0-pre.2/downloads","authors":"/api/v1/crates/signature/2.0.0-pre.2/authors"},"crate_size":15541,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-11-04T16:54:38.172746Z"}],"checksum":"3b7d7471fcfa786b75b657061bd5bf1d51179b3aac54db33bba7e44f5a4b5b75","rust_version":"1.56","has_lib":true,"bin_names":[],"edition":"2021","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits/tree/master/signature","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":227,"comment_lines":0,"files":8}},"total_code_lines":227,"total_comment_lines":0}},{"id":656484,"crate":"signature","num":"2.0.0-pre.1","dl_path":"/api/v1/crates/signature/2.0.0-pre.1/download","readme_path":"/api/v1/crates/signature/2.0.0-pre.1/readme","updated_at":"2022-11-03T21:17:55.584799Z","created_at":"2022-11-03T21:17:55.584799Z","downloads":2348,"features":{"alloc":[],"digest-preview":["digest"],"rand-preview":["rand_core"],"std":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/2.0.0-pre.1/dependencies","version_downloads":"/api/v1/crates/signature/2.0.0-pre.1/downloads","authors":"/api/v1/crates/signature/2.0.0-pre.1/authors"},"crate_size":15564,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-11-03T21:17:55.584799Z"}],"checksum":"cbe00de72c12505db04af21f17a2e0c103a080cd44f29cd6368435a1806b713d","rust_version":"1.56","has_lib":true,"bin_names":[],"edition":"2021","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits/tree/master/signature","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":227,"comment_lines":0,"files":8}},"total_code_lines":227,"total_comment_lines":0}},{"id":654360,"crate":"signature","num":"2.0.0-pre.0","dl_path":"/api/v1/crates/signature/2.0.0-pre.0/download","readme_path":"/api/v1/crates/signature/2.0.0-pre.0/readme","updated_at":"2022-10-31T16:44:43.821433Z","created_at":"2022-10-31T16:44:43.821433Z","downloads":4270,"features":{"alloc":[],"digest-preview":["digest"],"rand-preview":["rand_core"],"std":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/2.0.0-pre.0/dependencies","version_downloads":"/api/v1/crates/signature/2.0.0-pre.0/downloads","authors":"/api/v1/crates/signature/2.0.0-pre.0/authors"},"crate_size":15625,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-10-31T16:44:43.821433Z"}],"checksum":"c75dc0120d23bd04b0a818a398647f657a11516c9f0a10849fa20d2dab358889","rust_version":"1.56","has_lib":true,"bin_names":[],"edition":"2021","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits/tree/master/signature","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":238,"comment_lines":0,"files":8}},"total_code_lines":238,"total_comment_lines":0}},{"id":635727,"crate":"signature","num":"1.6.4","dl_path":"/api/v1/crates/signature/1.6.4/download","readme_path":"/api/v1/crates/signature/1.6.4/readme","updated_at":"2022-10-06T15:19:00.715544Z","created_at":"2022-10-06T15:19:00.715544Z","downloads":90965519,"features":{"default":["std"],"derive-preview":["digest-preview","signature_derive"],"digest-preview":["digest"],"hazmat-preview":[],"rand-preview":["rand_core"],"std":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/1.6.4/dependencies","version_downloads":"/api/v1/crates/signature/1.6.4/downloads","authors":"/api/v1/crates/signature/1.6.4/authors"},"crate_size":16012,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-10-06T15:19:00.715544Z"}],"checksum":"74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c","rust_version":"1.56","has_lib":true,"bin_names":[],"edition":"2021","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits/tree/master/signature","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":241,"comment_lines":1,"files":7}},"total_code_lines":241,"total_comment_lines":1}},{"id":622746,"crate":"signature","num":"1.6.3","dl_path":"/api/v1/crates/signature/1.6.3/download","readme_path":"/api/v1/crates/signature/1.6.3/readme","updated_at":"2022-09-16T14:23:37.080590Z","created_at":"2022-09-16T14:23:37.080590Z","downloads":801255,"features":{"default":["std"],"derive-preview":["digest-preview","signature_derive"],"digest-preview":["digest"],"hazmat-preview":[],"rand-preview":["rand_core"],"std":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/1.6.3/dependencies","version_downloads":"/api/v1/crates/signature/1.6.3/downloads","authors":"/api/v1/crates/signature/1.6.3/authors"},"crate_size":15942,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-09-16T14:23:37.080590Z"}],"checksum":"deb766570a2825fa972bceff0d195727876a9cdf2460ab2e52d455dc2de47fd9","rust_version":"1.56","has_lib":true,"bin_names":[],"edition":"2021","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits/tree/master/signature","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":230,"comment_lines":1,"files":7}},"total_code_lines":230,"total_comment_lines":1}},{"id":622328,"crate":"signature","num":"1.6.2","dl_path":"/api/v1/crates/signature/1.6.2/download","readme_path":"/api/v1/crates/signature/1.6.2/readme","updated_at":"2022-09-15T19:34:44.156162Z","created_at":"2022-09-15T19:34:44.156162Z","downloads":65156,"features":{"default":["std"],"derive-preview":["digest-preview","signature_derive"],"digest-preview":["digest"],"hazmat-preview":[],"rand-preview":["rand_core"],"std":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/1.6.2/dependencies","version_downloads":"/api/v1/crates/signature/1.6.2/downloads","authors":"/api/v1/crates/signature/1.6.2/authors"},"crate_size":15936,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-09-15T19:34:44.156162Z"}],"checksum":"a622c5fc69cf2a070d3217981bded5071cdd1b1ac17ae906646debae83579b54","rust_version":"1.56","has_lib":true,"bin_names":[],"edition":"2021","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits/tree/master/signature","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":230,"comment_lines":1,"files":7}},"total_code_lines":230,"total_comment_lines":1}},{"id":619548,"crate":"signature","num":"1.6.1","dl_path":"/api/v1/crates/signature/1.6.1/download","readme_path":"/api/v1/crates/signature/1.6.1/readme","updated_at":"2022-09-15T22:08:27.300881Z","created_at":"2022-09-12T19:21:31.265674Z","downloads":80248,"features":{"default":["std"],"derive-preview":["digest-preview","signature_derive"],"digest-preview":["digest"],"hazmat-preview":[],"rand-preview":["rand_core"],"std":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/1.6.1/dependencies","version_downloads":"/api/v1/crates/signature/1.6.1/downloads","authors":"/api/v1/crates/signature/1.6.1/authors"},"crate_size":15904,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-09-12T19:21:31.265674Z"},{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-09-15T22:08:27.304244Z"}],"checksum":"e90531723b08e4d6d71b791108faf51f03e1b4a7784f96b2b87f852ebc247228","rust_version":"1.56","has_lib":true,"bin_names":[],"edition":"2021","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits/tree/master/signature","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":230,"comment_lines":1,"files":7}},"total_code_lines":230,"total_comment_lines":1}},{"id":602536,"crate":"signature","num":"1.6.0","dl_path":"/api/v1/crates/signature/1.6.0/download","readme_path":"/api/v1/crates/signature/1.6.0/readme","updated_at":"2022-09-12T19:21:40.048653Z","created_at":"2022-08-14T17:02:53.254368Z","downloads":722923,"features":{"default":["std"],"derive-preview":["digest-preview","signature_derive"],"digest-preview":["digest"],"rand-preview":["rand_core"],"std":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/1.6.0/dependencies","version_downloads":"/api/v1/crates/signature/1.6.0/downloads","authors":"/api/v1/crates/signature/1.6.0/authors"},"crate_size":15229,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-08-14T17:02:53.254368Z"},{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-09-12T19:21:40.052591Z"}],"checksum":"f0ea32af43239f0d353a7dd75a22d94c329c8cdaafdcb4c1c1335aa10c298a4a","rust_version":"1.56","has_lib":true,"bin_names":[],"edition":"2021","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits/tree/master/signature","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":214,"comment_lines":1,"files":6}},"total_code_lines":214,"total_comment_lines":1}},{"id":477566,"crate":"signature","num":"1.5.0","dl_path":"/api/v1/crates/signature/1.5.0/download","readme_path":"/api/v1/crates/signature/1.5.0/readme","updated_at":"2022-01-05T05:40:54.664382Z","created_at":"2022-01-05T05:40:54.664382Z","downloads":3976269,"features":{"default":["std"],"derive-preview":["digest-preview","signature_derive"],"digest-preview":["digest"],"rand-preview":["rand_core"],"std":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/1.5.0/dependencies","version_downloads":"/api/v1/crates/signature/1.5.0/downloads","authors":"/api/v1/crates/signature/1.5.0/authors"},"crate_size":15084,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-01-05T05:40:54.664382Z"}],"checksum":"f054c6c1a6e95179d6f23ed974060dcefb2d9388bb7256900badad682c499de4","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits/tree/master/signature","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":206,"comment_lines":1,"files":5}},"total_code_lines":206,"total_comment_lines":1}},{"id":441071,"crate":"signature","num":"1.3.2","dl_path":"/api/v1/crates/signature/1.3.2/download","readme_path":"/api/v1/crates/signature/1.3.2/readme","updated_at":"2021-10-21T15:53:59.709391Z","created_at":"2021-10-21T15:53:59.709391Z","downloads":2697257,"features":{"default":["std"],"derive-preview":["digest-preview","signature_derive"],"digest-preview":["digest"],"rand-preview":["rand_core"],"std":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/1.3.2/dependencies","version_downloads":"/api/v1/crates/signature/1.3.2/downloads","authors":"/api/v1/crates/signature/1.3.2/authors"},"crate_size":10323,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2021-10-21T15:53:59.709391Z"}],"checksum":"f2807892cfa58e081aa1f1111391c7a0649d4fa127a4ffbe34bcbfb35a1171a4","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits/tree/master/signature","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":175,"comment_lines":0,"files":5}},"total_code_lines":175,"total_comment_lines":0}},{"id":440758,"crate":"signature","num":"1.4.0","dl_path":"/api/v1/crates/signature/1.4.0/download","readme_path":"/api/v1/crates/signature/1.4.0/readme","updated_at":"2021-10-21T00:45:58.628496Z","created_at":"2021-10-21T00:45:58.628496Z","downloads":7014734,"features":{"default":["std"],"derive-preview":["digest-preview","signature_derive"],"digest-preview":["digest"],"rand-preview":["rand_core"],"std":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/1.4.0/dependencies","version_downloads":"/api/v1/crates/signature/1.4.0/downloads","authors":"/api/v1/crates/signature/1.4.0/authors"},"crate_size":14979,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2021-10-21T00:45:58.628496Z"}],"checksum":"02658e48d89f2bec991f9a78e69cfa4c316f8d6a6c4ec12fae1aeb263d486788","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits/tree/master/signature","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":206,"comment_lines":1,"files":5}},"total_code_lines":206,"total_comment_lines":1}},{"id":395257,"crate":"signature","num":"1.3.1","dl_path":"/api/v1/crates/signature/1.3.1/download","readme_path":"/api/v1/crates/signature/1.3.1/readme","updated_at":"2021-06-29T14:21:09.435953Z","created_at":"2021-06-29T14:21:09.435953Z","downloads":2383487,"features":{"default":["std"],"derive-preview":["digest-preview","signature_derive"],"digest-preview":["digest"],"rand-preview":["rand_core"],"std":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/1.3.1/dependencies","version_downloads":"/api/v1/crates/signature/1.3.1/downloads","authors":"/api/v1/crates/signature/1.3.1/authors"},"crate_size":10385,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2021-06-29T14:21:09.435953Z"}],"checksum":"c19772be3c4dd2ceaacf03cb41d5885f2a02c4d8804884918e3a258480803335","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits/tree/master/signature","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":168,"comment_lines":0,"files":5}},"total_code_lines":168,"total_comment_lines":0}},{"id":323706,"crate":"signature","num":"1.3.0","dl_path":"/api/v1/crates/signature/1.3.0/download","readme_path":"/api/v1/crates/signature/1.3.0/readme","updated_at":"2021-01-06T16:39:28.445076Z","created_at":"2021-01-06T16:39:28.445076Z","downloads":1839292,"features":{"default":["std"],"derive-preview":["digest-preview","signature_derive"],"digest-preview":["digest"],"rand-preview":["rand_core"],"std":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/1.3.0/dependencies","version_downloads":"/api/v1/crates/signature/1.3.0/downloads","authors":"/api/v1/crates/signature/1.3.0/authors"},"crate_size":10353,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2021-01-06T16:39:28.445076Z"}],"checksum":"0f0242b8e50dd9accdd56170e94ca1ebd223b098eb9c83539a6e367d0f36ae68","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits/tree/master/signature","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":167,"comment_lines":0,"files":5}},"total_code_lines":167,"total_comment_lines":0}},{"id":267659,"crate":"signature","num":"1.2.2","dl_path":"/api/v1/crates/signature/1.2.2/download","readme_path":"/api/v1/crates/signature/1.2.2/readme","updated_at":"2020-07-29T19:54:27.783502Z","created_at":"2020-07-29T19:54:27.783502Z","downloads":1510737,"features":{"default":["std"],"derive-preview":["digest-preview","signature_derive"],"digest-preview":["digest"],"rand-preview":["rand_core"],"std":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/1.2.2/dependencies","version_downloads":"/api/v1/crates/signature/1.2.2/downloads","authors":"/api/v1/crates/signature/1.2.2/authors"},"crate_size":10190,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2020-07-29T19:54:27.783502Z"}],"checksum":"29f060a7d147e33490ec10da418795238fd7545bba241504d6b31a409f2e6210","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits/tree/master/signature","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":171,"comment_lines":0,"files":5}},"total_code_lines":171,"total_comment_lines":0}},{"id":267652,"crate":"signature","num":"1.2.1","dl_path":"/api/v1/crates/signature/1.2.1/download","readme_path":"/api/v1/crates/signature/1.2.1/readme","updated_at":"2020-07-29T19:30:28.914287Z","created_at":"2020-07-29T19:30:28.914287Z","downloads":4681,"features":{"default":["std"],"derive-preview":["digest-preview","signature_derive"],"digest-preview":["digest"],"rand-preview":["rand_core"],"std":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/1.2.1/dependencies","version_downloads":"/api/v1/crates/signature/1.2.1/downloads","authors":"/api/v1/crates/signature/1.2.1/authors"},"crate_size":10066,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2020-07-29T19:30:28.914287Z"}],"checksum":"60d9774ec6524dc4790d11f652559b839546464c40f6106309d778b76538d97c","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits/tree/master/signature","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":153,"comment_lines":0,"files":5}},"total_code_lines":153,"total_comment_lines":0}},{"id":267629,"crate":"signature","num":"1.2.0","dl_path":"/api/v1/crates/signature/1.2.0/download","readme_path":"/api/v1/crates/signature/1.2.0/readme","updated_at":"2020-07-29T19:31:04.466792Z","created_at":"2020-07-29T18:35:33.088689Z","downloads":3400,"features":{"default":["std"],"derive-preview":["digest-preview","signature_derive"],"digest-preview":["digest"],"rand-preview":["rand_core"],"std":[]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/1.2.0/dependencies","version_downloads":"/api/v1/crates/signature/1.2.0/downloads","authors":"/api/v1/crates/signature/1.2.0/authors"},"crate_size":10049,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2020-07-29T18:35:33.088689Z"},{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2020-07-29T19:31:02.294046Z"}],"checksum":"d2ad6641b36e4115f2422f61e6f706ba67c2b0f12a1eef5f09c4e1dae44b1645","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits/tree/master/signature","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":157,"comment_lines":0,"files":5}},"total_code_lines":157,"total_comment_lines":0}},{"id":250786,"crate":"signature","num":"1.1.0","dl_path":"/api/v1/crates/signature/1.1.0/download","readme_path":"/api/v1/crates/signature/1.1.0/readme","updated_at":"2020-06-10T02:49:57.637872Z","created_at":"2020-06-10T02:49:57.637872Z","downloads":746745,"features":{"default":["std"],"derive-preview":["digest-preview","signature_derive"],"digest-preview":["digest"],"rand-preview":["rand_core"],"std":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/1.1.0/dependencies","version_downloads":"/api/v1/crates/signature/1.1.0/downloads","authors":"/api/v1/crates/signature/1.1.0/authors"},"crate_size":9996,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2020-06-10T02:49:57.637872Z"}],"checksum":"65211b7b6fc3f14ff9fc7a2011a434e3e6880585bd2e9e9396315ae24cbf7852","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits/tree/master/signature","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":157,"comment_lines":0,"files":5}},"total_code_lines":157,"total_comment_lines":0}},{"id":232937,"crate":"signature","num":"1.0.1","dl_path":"/api/v1/crates/signature/1.0.1/download","readme_path":"/api/v1/crates/signature/1.0.1/readme","updated_at":"2020-04-19T19:04:20.065072Z","created_at":"2020-04-19T19:04:20.065072Z","downloads":14952,"features":{"default":["std"],"derive-preview":["digest-preview","signature_derive"],"digest-preview":["digest"],"rand-preview":["rand_core"],"std":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/1.0.1/dependencies","version_downloads":"/api/v1/crates/signature/1.0.1/downloads","authors":"/api/v1/crates/signature/1.0.1/authors"},"crate_size":9811,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2020-04-19T19:04:20.065072Z"}],"checksum":"685e1c5b65c6cc6fd0eb9ba63c6cfb8431f7f9c7e078c626f23f50e13fa378d7","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits/tree/master/signature","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":157,"comment_lines":0,"files":5}},"total_code_lines":157,"total_comment_lines":0}},{"id":232605,"crate":"signature","num":"1.0.0","dl_path":"/api/v1/crates/signature/1.0.0/download","readme_path":"/api/v1/crates/signature/1.0.0/readme","updated_at":"2020-04-18T18:08:24.035301Z","created_at":"2020-04-18T18:08:24.035301Z","downloads":15000,"features":{"default":["std"],"derive-preview":["digest-preview","signature_derive"],"digest-preview":["digest"],"rand-preview":["rand_core"],"std":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/1.0.0/dependencies","version_downloads":"/api/v1/crates/signature/1.0.0/downloads","authors":"/api/v1/crates/signature/1.0.0/authors"},"crate_size":9778,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2020-04-18T18:08:24.035301Z"}],"checksum":"c6a893a09d55d59208e489aa572859071d2c691f1d3d6d54a806fcad7f35a253","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits/tree/master/signature","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":157,"comment_lines":0,"files":5}},"total_code_lines":157,"total_comment_lines":0}},{"id":221765,"crate":"signature","num":"1.0.0-pre.5","dl_path":"/api/v1/crates/signature/1.0.0-pre.5/download","readme_path":"/api/v1/crates/signature/1.0.0-pre.5/readme","updated_at":"2020-03-16T15:16:08.852369Z","created_at":"2020-03-16T15:16:08.852369Z","downloads":4329,"features":{"default":["std"],"derive-preview":["digest-preview","signature_derive"],"digest-preview":["digest"],"rand-preview":["rand_core"],"std":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/1.0.0-pre.5/dependencies","version_downloads":"/api/v1/crates/signature/1.0.0-pre.5/downloads","authors":"/api/v1/crates/signature/1.0.0-pre.5/authors"},"crate_size":9588,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2020-03-16T15:16:08.852369Z"}],"checksum":"7633506bfb9bb78fd228f8fa51d46802fc72fe642e707b42a64f57b07eaf8fb8","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits/tree/master/signature","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":157,"comment_lines":0,"files":5}},"total_code_lines":157,"total_comment_lines":0}},{"id":221338,"crate":"signature","num":"1.0.0-pre.4","dl_path":"/api/v1/crates/signature/1.0.0-pre.4/download","readme_path":"/api/v1/crates/signature/1.0.0-pre.4/readme","updated_at":"2020-03-15T23:47:16.650650Z","created_at":"2020-03-15T23:47:16.650650Z","downloads":2466,"features":{"default":["std"],"derive-preview":["digest-preview","signature_derive"],"digest-preview":["digest"],"rand-preview":["rand_core"],"std":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/1.0.0-pre.4/dependencies","version_downloads":"/api/v1/crates/signature/1.0.0-pre.4/downloads","authors":"/api/v1/crates/signature/1.0.0-pre.4/authors"},"crate_size":9229,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2020-03-15T23:47:16.650650Z"}],"checksum":"aa49beacbe66b0691b58458a73e1f80334bd15e59b9ec0d55404813e30fbe063","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits/tree/master/signature","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":145,"comment_lines":0,"files":5}},"total_code_lines":145,"total_comment_lines":0}},{"id":219245,"crate":"signature","num":"1.0.0-pre.3","dl_path":"/api/v1/crates/signature/1.0.0-pre.3/download","readme_path":"/api/v1/crates/signature/1.0.0-pre.3/readme","updated_at":"2020-03-08T20:28:23.809959Z","created_at":"2020-03-08T20:28:23.809959Z","downloads":5869,"features":{"default":["std"],"derive-preview":["digest-preview","signature_derive"],"digest-preview":["digest"],"rand-preview":["rand_core"],"std":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/1.0.0-pre.3/dependencies","version_downloads":"/api/v1/crates/signature/1.0.0-pre.3/downloads","authors":"/api/v1/crates/signature/1.0.0-pre.3/authors"},"crate_size":9049,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2020-03-08T20:28:23.809959Z"}],"checksum":"561619c00cf6a187ebfc21e46bc4c0ce4e4d5f67cd640e7b1c58d9c3754b38aa","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits/tree/master/signature","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":144,"comment_lines":0,"files":5}},"total_code_lines":144,"total_comment_lines":0}},{"id":219208,"crate":"signature","num":"1.0.0-pre.2","dl_path":"/api/v1/crates/signature/1.0.0-pre.2/download","readme_path":"/api/v1/crates/signature/1.0.0-pre.2/readme","updated_at":"2020-03-08T18:18:29.193841Z","created_at":"2020-03-08T18:18:29.193841Z","downloads":2480,"features":{"default":["std"],"derive-preview":["digest-preview","signature_derive"],"digest-preview":["digest"],"rand-preview":["rand_core"],"std":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/1.0.0-pre.2/dependencies","version_downloads":"/api/v1/crates/signature/1.0.0-pre.2/downloads","authors":"/api/v1/crates/signature/1.0.0-pre.2/authors"},"crate_size":8829,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2020-03-08T18:18:29.193841Z"}],"checksum":"5db9a9528769d5ae71081ae4f6a20795169b950cd1dd811161be0a094787dc98","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits/tree/master/signature","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":141,"comment_lines":0,"files":5}},"total_code_lines":141,"total_comment_lines":0}},{"id":185479,"crate":"signature","num":"1.0.0-pre.1","dl_path":"/api/v1/crates/signature/1.0.0-pre.1/download","readme_path":"/api/v1/crates/signature/1.0.0-pre.1/readme","updated_at":"2019-10-27T17:21:11.006177Z","created_at":"2019-10-27T17:21:11.006177Z","downloads":55934,"features":{"default":["std"],"derive-preview":["digest-preview","signature_derive"],"digest-preview":["digest"],"std":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/1.0.0-pre.1/dependencies","version_downloads":"/api/v1/crates/signature/1.0.0-pre.1/downloads","authors":"/api/v1/crates/signature/1.0.0-pre.1/authors"},"crate_size":5713,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[],"checksum":"a0cfcdc45066661979294e965c21b60355da35eb5d638af8143e5aa83fdfce53","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/signatures/tree/master/signature-crate","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":112,"comment_lines":0,"files":5}},"total_code_lines":112,"total_comment_lines":0}},{"id":181950,"crate":"signature","num":"1.0.0-pre.0","dl_path":"/api/v1/crates/signature/1.0.0-pre.0/download","readme_path":"/api/v1/crates/signature/1.0.0-pre.0/readme","updated_at":"2019-10-11T17:07:01.064064Z","created_at":"2019-10-11T17:07:01.064064Z","downloads":2586,"features":{"alloc":[],"default":["std"],"derive-preview":["digest-preview","signature_derive"],"digest-preview":["digest"],"std":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/1.0.0-pre.0/dependencies","version_downloads":"/api/v1/crates/signature/1.0.0-pre.0/downloads","authors":"/api/v1/crates/signature/1.0.0-pre.0/authors"},"crate_size":5856,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[],"checksum":"d6e483c183785ef062c61c5cbd40531c014857796a15fd230a552aec914b1d7d","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/signatures/tree/master/signature-crate","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":143,"comment_lines":0,"files":5}},"total_code_lines":143,"total_comment_lines":0}},{"id":181710,"crate":"signature","num":"0.3.0","dl_path":"/api/v1/crates/signature/0.3.0/download","readme_path":"/api/v1/crates/signature/0.3.0/readme","updated_at":"2019-10-10T15:37:33.506897Z","created_at":"2019-10-10T15:37:33.506897Z","downloads":4120,"features":{"alloc":[],"default":["digest","std"],"std":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/0.3.0/dependencies","version_downloads":"/api/v1/crates/signature/0.3.0/downloads","authors":"/api/v1/crates/signature/0.3.0/authors"},"crate_size":5040,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[],"checksum":"b4a5e37049d50ec8878c63cd6e91cc2f41073d49f29a1b038eede1500116557b","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/signatures/tree/master/signature-crate","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":139,"comment_lines":0,"files":5}},"total_code_lines":139,"total_comment_lines":0}},{"id":155026,"crate":"signature","num":"0.2.0","dl_path":"/api/v1/crates/signature/0.2.0/download","readme_path":"/api/v1/crates/signature/0.2.0/readme","updated_at":"2019-06-07T00:37:24.827503Z","created_at":"2019-06-07T00:37:24.827503Z","downloads":24967,"features":{"alloc":[],"default":["digest","std"],"std":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/0.2.0/dependencies","version_downloads":"/api/v1/crates/signature/0.2.0/downloads","authors":"/api/v1/crates/signature/0.2.0/authors"},"crate_size":5018,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[],"checksum":"144b5d1138a4339c839603f15f69ffe3195e51b5caa92f815b47d4553db47337","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/signatures/tree/master/signature-crate","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":161,"comment_lines":0,"files":6}},"total_code_lines":161,"total_comment_lines":0}},{"id":152798,"crate":"signature","num":"0.1.0","dl_path":"/api/v1/crates/signature/0.1.0/download","readme_path":"/api/v1/crates/signature/0.1.0/readme","updated_at":"2019-05-25T16:54:32.608449Z","created_at":"2019-05-25T16:54:32.608449Z","downloads":2618,"features":{"alloc":[],"default":["digest","std"],"std":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/signature/0.1.0/dependencies","version_downloads":"/api/v1/crates/signature/0.1.0/downloads","authors":"/api/v1/crates/signature/0.1.0/authors"},"crate_size":3867,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[],"checksum":"079792f1da646596b70806f81214b59fba451ab0ed8c5b7a8ce81d2c437637e7","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/signatures/tree/master/signature-crate","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":180,"comment_lines":1,"files":6}},"total_code_lines":180,"total_comment_lines":1}},{"id":115345,"crate":"signature","num":"0.0.0","dl_path":"/api/v1/crates/signature/0.0.0/download","readme_path":"/api/v1/crates/signature/0.0.0/readme","updated_at":"2018-10-30T23:56:33.764106Z","created_at":"2018-10-30T23:56:33.764106Z","downloads":2625,"features":{},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/signature/0.0.0/dependencies","version_downloads":"/api/v1/crates/signature/0.0.0/downloads","authors":"/api/v1/crates/signature/0.0.0/authors"},"crate_size":735,"published_by":null,"audit_actions":[],"checksum":"e80f589c29e4a83ba38a27df6a74df871a283add6fb8d3b2b5d0f64e97214f1d","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Digital signature traits","homepage":null,"documentation":"https://docs.rs/signature","repository":"https://github.com/RustCrypto/traits","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":0,"comment_lines":0,"files":1}},"total_code_lines":0,"total_comment_lines":0}}],"keywords":[{"id":"crypto","keyword":"crypto","created_at":"2014-11-24T02:30:36.413823Z","crates_cnt":2682},{"id":"ecdsa","keyword":"ecdsa","created_at":"2015-05-04T15:32:52.178717Z","crates_cnt":99},{"id":"ed25519","keyword":"ed25519","created_at":"2016-03-09T13:34:56.155850Z","crates_cnt":330},{"id":"signature","keyword":"signature","created_at":"2016-03-20T14:09:39.594960Z","crates_cnt":338},{"id":"signing","keyword":"signing","created_at":"2018-08-20T04:17:41.857763Z","crates_cnt":207}],"categories":[{"id":"cryptography","category":"Cryptography","slug":"cryptography","description":"Algorithms intended for securing data.","created_at":"2017-01-17T19:13:05.112025Z","crates_cnt":7915},{"id":"no-std","category":"No standard library","slug":"no-std","description":"Crates that are able to function without the Rust standard library.","created_at":"2017-02-10T01:52:09.447906Z","crates_cnt":13734}]} \ No newline at end of file diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/zeroize.json b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/zeroize.json new file mode 100644 index 0000000000..3dcc8d5adc --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/meta/zeroize.json @@ -0,0 +1 @@ +{"crate":{"id":"zeroize","name":"zeroize","updated_at":"2026-10-06T17:49:21.148259Z","versions":[3419535,2561637,1751197,1155800,1124696,957041,956202,760240,587601,575399,541912,517571,506689,492875,490944,482976,479077,449044,428482,403396,402655,368605,313534,284114,193604,182428,179524,173652,170637,165671,159081,154617,154584,151625,151493,141069,124053,123944,123941,119878,119870,112110,112016,111977,110698,110647,110637],"keywords":["memory","memset","secure","volatile","zero"],"categories":["os","memory-management","cryptography","no-std"],"badges":[],"created_at":"2018-10-03T09:33:21.998452Z","downloads":758331314,"recent_downloads":201714602,"default_version":"1.9.1","num_versions":47,"yanked":false,"max_version":"1.9.1","newest_version":"1.9.1","max_stable_version":"1.9.1","description":"Securely clear secrets from memory with a simple trait built on\nstable Rust primitives which guarantee memory is zeroed using an\noperation will not be 'optimized away' by the compiler.\nUses a portable pure Rust implementation that works everywhere,\neven WASM!\n","homepage":null,"documentation":"https://docs.rs/zeroize","repository":"https://github.com/RustCrypto/utils","links":{"version_downloads":"/api/v1/crates/zeroize/downloads","versions":null,"owners":"/api/v1/crates/zeroize/owners","owner_team":"/api/v1/crates/zeroize/owner_team","owner_user":"/api/v1/crates/zeroize/owner_user","reverse_dependencies":"/api/v1/crates/zeroize/reverse_dependencies"},"exact_match":false,"trustpub_only":false},"versions":[{"id":3419535,"crate":"zeroize","num":"1.9.1","dl_path":"/api/v1/crates/zeroize/1.9.1/download","readme_path":"/api/v1/crates/zeroize/1.9.1/readme","updated_at":"2026-10-06T17:49:21.148259Z","created_at":"2026-10-06T17:49:21.148259Z","downloads":1933907,"features":{"aarch64":[],"alloc":[],"default":["alloc"],"derive":["zeroize_derive"],"simd":[],"std":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/1.9.1/dependencies","version_downloads":"/api/v1/crates/zeroize/1.9.1/downloads","authors":"/api/v1/crates/zeroize/1.9.1/authors"},"crate_size":25043,"published_by":null,"audit_actions":[],"checksum":"e13084392c5e4bc371903e2935a5eaeed24905a7511356b883835e18a78f6879","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Securely clear secrets from memory with a simple trait built on\nstable Rust primitives which guarantee memory is zeroed using an\noperation will not be 'optimized away' by the compiler.\nUses a portable pure Rust implementation that works everywhere,\neven WASM!\n","homepage":null,"documentation":"https://docs.rs/zeroize","repository":"https://github.com/RustCrypto/utils","trustpub_data":{"provider":"github","repository":"RustCrypto/utils","run_id":"37505746323","sha":"34a6ebcb9b920ec7ae5809e470fce94fe7c0cb55"},"linecounts":{"languages":{"Rust":{"code_lines":494,"comment_lines":65,"files":5}},"total_code_lines":494,"total_comment_lines":65}},{"id":2561637,"crate":"zeroize","num":"1.9.0","dl_path":"/api/v1/crates/zeroize/1.9.0/download","readme_path":"/api/v1/crates/zeroize/1.9.0/readme","updated_at":"2026-06-12T18:42:35.275395Z","created_at":"2026-06-12T18:42:35.275395Z","downloads":115006349,"features":{"aarch64":[],"alloc":[],"default":["alloc"],"derive":["zeroize_derive"],"simd":[],"std":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/1.9.0/dependencies","version_downloads":"/api/v1/crates/zeroize/1.9.0/downloads","authors":"/api/v1/crates/zeroize/1.9.0/authors"},"crate_size":24480,"published_by":null,"audit_actions":[],"checksum":"e13c156562582aa81c60cb29407084cdb54c4164760106ab78e6c5b0858cf64e","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2024","description":"Securely clear secrets from memory with a simple trait built on\nstable Rust primitives which guarantee memory is zeroed using an\noperation will not be 'optimized away' by the compiler.\nUses a portable pure Rust implementation that works everywhere,\neven WASM!\n","homepage":null,"documentation":"https://docs.rs/zeroize","repository":"https://github.com/RustCrypto/utils","trustpub_data":{"provider":"github","repository":"RustCrypto/utils","run_id":"27435742654","sha":"0b715735a660a8566ccd240bf42489fe2ed98efb"},"linecounts":{"languages":{"Rust":{"code_lines":497,"comment_lines":63,"files":5}},"total_code_lines":497,"total_comment_lines":63}},{"id":1751197,"crate":"zeroize","num":"1.8.2","dl_path":"/api/v1/crates/zeroize/1.8.2/download","readme_path":"/api/v1/crates/zeroize/1.8.2/readme","updated_at":"2025-09-29T20:20:03.524506Z","created_at":"2025-09-29T20:20:03.524506Z","downloads":263869589,"features":{"aarch64":[],"alloc":[],"default":["alloc"],"derive":["zeroize_derive"],"simd":[],"std":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/1.8.2/dependencies","version_downloads":"/api/v1/crates/zeroize/1.8.2/downloads","authors":"/api/v1/crates/zeroize/1.8.2/authors"},"crate_size":20907,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2025-09-29T20:20:03.524506Z"}],"checksum":"b97154e67e32c85465826e8bcc1c59429aaaf107c1e4a9e53c8d8ccd5eff88d0","rust_version":"1.60","has_lib":true,"bin_names":[],"edition":"2021","description":"Securely clear secrets from memory with a simple trait built on\nstable Rust primitives which guarantee memory is zeroed using an\noperation will not be 'optimized away' by the compiler.\nUses a portable pure Rust implementation that works everywhere,\neven WASM!\n","homepage":"https://github.com/RustCrypto/utils/tree/master/zeroize","documentation":null,"repository":"https://github.com/RustCrypto/utils","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":439,"comment_lines":64,"files":3}},"total_code_lines":439,"total_comment_lines":64}},{"id":1155800,"crate":"zeroize","num":"1.8.1","dl_path":"/api/v1/crates/zeroize/1.8.1/download","readme_path":"/api/v1/crates/zeroize/1.8.1/readme","updated_at":"2024-05-25T19:10:18.831246Z","created_at":"2024-05-25T19:10:18.831246Z","downloads":232689917,"features":{"aarch64":[],"alloc":[],"default":["alloc"],"derive":["zeroize_derive"],"simd":[],"std":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/1.8.1/dependencies","version_downloads":"/api/v1/crates/zeroize/1.8.1/downloads","authors":"/api/v1/crates/zeroize/1.8.1/authors"},"crate_size":20029,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2024-05-25T19:10:18.831246Z"}],"checksum":"ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde","rust_version":"1.60","has_lib":true,"bin_names":[],"edition":"2021","description":"Securely clear secrets from memory with a simple trait built on\nstable Rust primitives which guarantee memory is zeroed using an\noperation will not be 'optimized away' by the compiler.\nUses a portable pure Rust implementation that works everywhere,\neven WASM!","homepage":null,"documentation":null,"repository":"https://github.com/RustCrypto/utils/tree/master/zeroize","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":438,"comment_lines":64,"files":3}},"total_code_lines":438,"total_comment_lines":64}},{"id":1124696,"crate":"zeroize","num":"1.8.0","dl_path":"/api/v1/crates/zeroize/1.8.0/download","readme_path":"/api/v1/crates/zeroize/1.8.0/readme","updated_at":"2024-04-25T13:26:33.715762Z","created_at":"2024-04-24T14:41:47.274302Z","downloads":265375,"features":{"aarch64":[],"alloc":[],"default":["alloc"],"derive":["zeroize_derive"],"std":["alloc"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/1.8.0/dependencies","version_downloads":"/api/v1/crates/zeroize/1.8.0/downloads","authors":"/api/v1/crates/zeroize/1.8.0/authors"},"crate_size":19890,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2024-04-24T14:41:47.274302Z"},{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2024-04-25T13:26:33.717851Z"}],"checksum":"63381fa6624bf92130a6b87c0d07380116f80b565c42cf0d754136f0238359ef","rust_version":"1.72","has_lib":true,"bin_names":[],"edition":"2021","description":"Securely clear secrets from memory with a simple trait built on\nstable Rust primitives which guarantee memory is zeroed using an\noperation will not be 'optimized away' by the compiler.\nUses a portable pure Rust implementation that works everywhere,\neven WASM!","homepage":null,"documentation":null,"repository":"https://github.com/RustCrypto/utils/tree/master/zeroize","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":438,"comment_lines":63,"files":3}},"total_code_lines":438,"total_comment_lines":63}},{"id":957041,"crate":"zeroize","num":"1.7.0","dl_path":"/api/v1/crates/zeroize/1.7.0/download","readme_path":"/api/v1/crates/zeroize/1.7.0/readme","updated_at":"2023-11-16T15:26:29.153944Z","created_at":"2023-11-16T15:26:29.153944Z","downloads":51344171,"features":{"aarch64":[],"alloc":[],"default":["alloc"],"derive":["zeroize_derive"],"std":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/1.7.0/dependencies","version_downloads":"/api/v1/crates/zeroize/1.7.0/downloads","authors":"/api/v1/crates/zeroize/1.7.0/authors"},"crate_size":19039,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2023-11-16T15:26:29.153944Z"}],"checksum":"525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d","rust_version":"1.60","has_lib":true,"bin_names":[],"edition":"2021","description":"Securely clear secrets from memory with a simple trait built on\nstable Rust primitives which guarantee memory is zeroed using an\noperation will not be 'optimized away' by the compiler.\nUses a portable pure Rust implementation that works everywhere,\neven WASM!","homepage":null,"documentation":null,"repository":"https://github.com/RustCrypto/utils/tree/master/zeroize","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":440,"comment_lines":59,"files":3}},"total_code_lines":440,"total_comment_lines":59}},{"id":956202,"crate":"zeroize","num":"1.6.1","dl_path":"/api/v1/crates/zeroize/1.6.1/download","readme_path":"/api/v1/crates/zeroize/1.6.1/readme","updated_at":"2023-11-16T15:27:04.138038Z","created_at":"2023-11-15T19:52:00.719159Z","downloads":113236,"features":{"aarch64":[],"alloc":[],"default":["alloc"],"derive":["zeroize_derive"],"std":["alloc"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/1.6.1/dependencies","version_downloads":"/api/v1/crates/zeroize/1.6.1/downloads","authors":"/api/v1/crates/zeroize/1.6.1/authors"},"crate_size":18973,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2023-11-15T19:52:00.719159Z"},{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2023-11-16T15:27:04.140148Z"}],"checksum":"12a3946ecfc929b583800f4629b6c25b88ac6e92a40ea5670f77112a85d40a8b","rust_version":"1.60","has_lib":true,"bin_names":[],"edition":"2021","description":"Securely clear secrets from memory with a simple trait built on\nstable Rust primitives which guarantee memory is zeroed using an\noperation will not be 'optimized away' by the compiler.\nUses a portable pure Rust implementation that works everywhere,\neven WASM!","homepage":null,"documentation":null,"repository":"https://github.com/RustCrypto/utils/tree/master/zeroize","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":440,"comment_lines":59,"files":3}},"total_code_lines":440,"total_comment_lines":59}},{"id":760240,"crate":"zeroize","num":"1.6.0","dl_path":"/api/v1/crates/zeroize/1.6.0/download","readme_path":"/api/v1/crates/zeroize/1.6.0/readme","updated_at":"2023-03-26T23:26:21.043830Z","created_at":"2023-03-26T23:26:21.043830Z","downloads":26356460,"features":{"aarch64":[],"alloc":[],"default":["alloc"],"derive":["zeroize_derive"],"std":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/1.6.0/dependencies","version_downloads":"/api/v1/crates/zeroize/1.6.0/downloads","authors":"/api/v1/crates/zeroize/1.6.0/authors"},"crate_size":19049,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2023-03-26T23:26:21.043830Z"}],"checksum":"2a0956f1ba7c7909bfb66c2e9e4124ab6f6482560f6628b5aaeba39207c9aad9","rust_version":"1.56","has_lib":true,"bin_names":[],"edition":"2021","description":"Securely clear secrets from memory with a simple trait built on\nstable Rust primitives which guarantee memory is zeroed using an\noperation will not be 'optimized away' by the compiler.\nUses a portable pure Rust implementation that works everywhere,\neven WASM!","homepage":null,"documentation":null,"repository":"https://github.com/RustCrypto/utils/tree/master/zeroize","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":456,"comment_lines":63,"files":3}},"total_code_lines":456,"total_comment_lines":63}},{"id":587601,"crate":"zeroize","num":"1.5.7","dl_path":"/api/v1/crates/zeroize/1.5.7/download","readme_path":"/api/v1/crates/zeroize/1.5.7/readme","updated_at":"2022-07-20T21:57:50.351056Z","created_at":"2022-07-20T21:57:50.351056Z","downloads":20520098,"features":{"aarch64":[],"alloc":[],"default":["alloc"],"derive":["zeroize_derive"],"std":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/1.5.7/dependencies","version_downloads":"/api/v1/crates/zeroize/1.5.7/downloads","authors":"/api/v1/crates/zeroize/1.5.7/authors"},"crate_size":18861,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-07-20T21:57:50.351056Z"}],"checksum":"c394b5bd0c6f669e7275d9c20aa90ae064cb22e75a1cad54e1b34088034b149f","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Securely clear secrets from memory with a simple trait built on\nstable Rust primitives which guarantee memory is zeroed using an\noperation will not be 'optimized away' by the compiler.\nUses a portable pure Rust implementation that works everywhere,\neven WASM!","homepage":null,"documentation":null,"repository":"https://github.com/RustCrypto/utils/tree/master/zeroize","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":436,"comment_lines":61,"files":3}},"total_code_lines":436,"total_comment_lines":61}},{"id":575399,"crate":"zeroize","num":"1.5.6","dl_path":"/api/v1/crates/zeroize/1.5.6/download","readme_path":"/api/v1/crates/zeroize/1.5.6/readme","updated_at":"2022-06-29T19:54:06.593434Z","created_at":"2022-06-29T19:54:06.593434Z","downloads":903772,"features":{"aarch64":[],"alloc":[],"default":["alloc"],"derive":["zeroize_derive"],"std":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/1.5.6/dependencies","version_downloads":"/api/v1/crates/zeroize/1.5.6/downloads","authors":"/api/v1/crates/zeroize/1.5.6/authors"},"crate_size":18655,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-06-29T19:54:06.593434Z"}],"checksum":"20b578acffd8516a6c3f2a1bdefc1ec37e547bb4e0fb8b6b01a4cafc886b4442","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Securely clear secrets from memory with a simple trait built on\nstable Rust primitives which guarantee memory is zeroed using an\noperation will not be 'optimized away' by the compiler.\nUses a portable pure Rust implementation that works everywhere,\neven WASM!","homepage":null,"documentation":null,"repository":"https://github.com/RustCrypto/utils/tree/master/zeroize","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":410,"comment_lines":61,"files":3}},"total_code_lines":410,"total_comment_lines":61}},{"id":541912,"crate":"zeroize","num":"1.5.5","dl_path":"/api/v1/crates/zeroize/1.5.5/download","readme_path":"/api/v1/crates/zeroize/1.5.5/readme","updated_at":"2022-05-01T01:29:17.904911Z","created_at":"2022-05-01T01:29:17.904911Z","downloads":2409608,"features":{"aarch64":[],"alloc":[],"default":["alloc"],"derive":["zeroize_derive"],"std":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/1.5.5/dependencies","version_downloads":"/api/v1/crates/zeroize/1.5.5/downloads","authors":"/api/v1/crates/zeroize/1.5.5/authors"},"crate_size":18550,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-05-01T01:29:17.904911Z"}],"checksum":"94693807d016b2f2d2e14420eb3bfcca689311ff775dcf113d74ea624b7cdf07","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Securely clear secrets from memory with a simple trait built on\nstable Rust primitives which guarantee memory is zeroed using an\noperation will not be 'optimized away' by the compiler.\nUses a portable pure Rust implementation that works everywhere,\neven WASM!","homepage":null,"documentation":null,"repository":"https://github.com/RustCrypto/utils/tree/master/zeroize","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":563,"comment_lines":72,"files":3}},"total_code_lines":563,"total_comment_lines":72}},{"id":517571,"crate":"zeroize","num":"1.5.4","dl_path":"/api/v1/crates/zeroize/1.5.4/download","readme_path":"/api/v1/crates/zeroize/1.5.4/readme","updated_at":"2022-03-17T01:12:57.201716Z","created_at":"2022-03-17T01:12:57.201716Z","downloads":1822268,"features":{"aarch64":[],"alloc":[],"default":["alloc"],"derive":["zeroize_derive"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/1.5.4/dependencies","version_downloads":"/api/v1/crates/zeroize/1.5.4/downloads","authors":"/api/v1/crates/zeroize/1.5.4/authors"},"crate_size":17586,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-03-17T01:12:57.201716Z"}],"checksum":"7eb5728b8afd3f280a869ce1d4c554ffaed35f45c231fc41bfbd0381bef50317","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Securely clear secrets from memory with a simple trait built on\nstable Rust primitives which guarantee memory is zeroed using an\noperation will not be 'optimized away' by the compiler.\nUses a portable pure Rust implementation that works everywhere,\neven WASM!","homepage":null,"documentation":null,"repository":"https://github.com/RustCrypto/utils/tree/master/zeroize","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":502,"comment_lines":57,"files":3}},"total_code_lines":502,"total_comment_lines":57}},{"id":506689,"crate":"zeroize","num":"1.5.3","dl_path":"/api/v1/crates/zeroize/1.5.3/download","readme_path":"/api/v1/crates/zeroize/1.5.3/readme","updated_at":"2022-02-25T19:42:08.826720Z","created_at":"2022-02-25T19:42:08.826720Z","downloads":604657,"features":{"alloc":[],"default":["alloc"],"derive":["zeroize_derive"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/1.5.3/dependencies","version_downloads":"/api/v1/crates/zeroize/1.5.3/downloads","authors":"/api/v1/crates/zeroize/1.5.3/authors"},"crate_size":17287,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-02-25T19:42:08.826720Z"}],"checksum":"50344758e2f40e3a1fcfc8f6f91aa57b5f8ebd8d27919fe6451f15aaaf9ee608","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Securely clear secrets from memory with a simple trait built on\nstable Rust primitives which guarantee memory is zeroed using an\noperation will not be 'optimized away' by the compiler.\nUses a portable pure Rust implementation that works everywhere,\neven WASM!","homepage":null,"documentation":null,"repository":"https://github.com/RustCrypto/utils/tree/master/zeroize","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":475,"comment_lines":56,"files":2}},"total_code_lines":475,"total_comment_lines":56}},{"id":492875,"crate":"zeroize","num":"1.5.2","dl_path":"/api/v1/crates/zeroize/1.5.2/download","readme_path":"/api/v1/crates/zeroize/1.5.2/readme","updated_at":"2022-02-25T19:42:33.704768Z","created_at":"2022-01-31T15:48:01.048767Z","downloads":903002,"features":{"alloc":[],"default":["alloc"],"derive":["zeroize_derive"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/1.5.2/dependencies","version_downloads":"/api/v1/crates/zeroize/1.5.2/downloads","authors":"/api/v1/crates/zeroize/1.5.2/authors"},"crate_size":17201,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-01-31T15:48:01.048767Z"},{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-02-25T19:42:33.708411Z"}],"checksum":"7c88870063c39ee00ec285a2f8d6a966e5b6fb2becc4e8dac77ed0d370ed6006","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Securely clear secrets from memory with a simple trait built on\nstable Rust primitives which guarantee memory is zeroed using an\noperation will not be 'optimized away' by the compiler.\nUses a portable pure Rust implementation that works everywhere,\neven WASM!","homepage":null,"documentation":null,"repository":"https://github.com/RustCrypto/utils/tree/master/zeroize","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":475,"comment_lines":56,"files":2}},"total_code_lines":475,"total_comment_lines":56}},{"id":490944,"crate":"zeroize","num":"1.5.1","dl_path":"/api/v1/crates/zeroize/1.5.1/download","readme_path":"/api/v1/crates/zeroize/1.5.1/readme","updated_at":"2022-01-31T15:48:22.905788Z","created_at":"2022-01-27T15:06:04.205836Z","downloads":581998,"features":{"alloc":[],"default":["alloc"],"derive":["zeroize_derive"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/1.5.1/dependencies","version_downloads":"/api/v1/crates/zeroize/1.5.1/downloads","authors":"/api/v1/crates/zeroize/1.5.1/authors"},"crate_size":17136,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-01-27T15:06:04.205836Z"},{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-01-31T15:48:22.908587Z"}],"checksum":"4062c749be08d90be727e9c5895371c3a0e49b90ba2b9592dc7afda95cc2b719","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Securely clear secrets from memory with a simple trait built on\nstable Rust primitives which guarantee memory is zeroed using an\noperation will not be 'optimized away' by the compiler.\nUses a portable pure Rust implementation that works everywhere,\neven WASM!","homepage":null,"documentation":null,"repository":"https://github.com/RustCrypto/utils/tree/master/zeroize","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":475,"comment_lines":56,"files":2}},"total_code_lines":475,"total_comment_lines":56}},{"id":482976,"crate":"zeroize","num":"1.5.0","dl_path":"/api/v1/crates/zeroize/1.5.0/download","readme_path":"/api/v1/crates/zeroize/1.5.0/readme","updated_at":"2022-01-27T15:06:36.756956Z","created_at":"2022-01-14T19:52:28.027914Z","downloads":966549,"features":{"alloc":[],"default":["alloc"],"derive":["zeroize_derive"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/1.5.0/dependencies","version_downloads":"/api/v1/crates/zeroize/1.5.0/downloads","authors":"/api/v1/crates/zeroize/1.5.0/authors"},"crate_size":17017,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-01-14T19:52:28.027914Z"},{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-01-27T15:06:36.761169Z"}],"checksum":"cc222aec311c323c717f56060324f32b82da1ce1dd81d9a09aa6a9030bfe08db","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Securely clear secrets from memory with a simple trait built on\nstable Rust primitives which guarantee memory is zeroed using an\noperation will not be 'optimized away' by the compiler.\nUses a portable pure Rust implementation that works everywhere,\neven WASM!","homepage":null,"documentation":null,"repository":"https://github.com/RustCrypto/utils/tree/master/zeroize","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":475,"comment_lines":56,"files":2}},"total_code_lines":475,"total_comment_lines":56}},{"id":479077,"crate":"zeroize","num":"1.5.0-pre","dl_path":"/api/v1/crates/zeroize/1.5.0-pre/download","readme_path":"/api/v1/crates/zeroize/1.5.0-pre/readme","updated_at":"2022-02-25T19:43:40.715992Z","created_at":"2022-01-07T17:27:14.970869Z","downloads":4158,"features":{"alloc":[],"default":["alloc"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/1.5.0-pre/dependencies","version_downloads":"/api/v1/crates/zeroize/1.5.0-pre/downloads","authors":"/api/v1/crates/zeroize/1.5.0-pre/authors"},"crate_size":16880,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-01-07T17:27:14.970869Z"},{"action":"yank","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2022-02-25T19:43:40.719720Z"}],"checksum":"b721327ab11a3d94da9274d68ff4e1bd6cc40a0ebf74e87daadc459251a3f638","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Securely clear secrets from memory with a simple trait built on\nstable Rust primitives which guarantee memory is zeroed using an\noperation will not be 'optimized away' by the compiler.\nUses a portable pure Rust implementation that works everywhere,\neven WASM!","homepage":null,"documentation":null,"repository":"https://github.com/RustCrypto/utils/tree/master/zeroize","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":475,"comment_lines":56,"files":2}},"total_code_lines":475,"total_comment_lines":56}},{"id":449044,"crate":"zeroize","num":"1.4.3","dl_path":"/api/v1/crates/zeroize/1.4.3/download","readme_path":"/api/v1/crates/zeroize/1.4.3/readme","updated_at":"2021-11-05T01:46:22.720075Z","created_at":"2021-11-05T01:46:22.720075Z","downloads":7463193,"features":{"alloc":[],"default":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/1.4.3/dependencies","version_downloads":"/api/v1/crates/zeroize/1.4.3/downloads","authors":"/api/v1/crates/zeroize/1.4.3/authors"},"crate_size":15573,"published_by":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"audit_actions":[{"action":"publish","user":{"id":267,"login":"tarcieri","name":"Tony Arcieri","avatar":"https://avatars.githubusercontent.com/u/797?v=4","url":"https://github.com/tarcieri","github_username_matches":true,"created_at":"2008-02-25T04:32:26Z"},"time":"2021-11-05T01:46:22.720075Z"}],"checksum":"d68d9dcec5f9b43a30d38c49f91dfedfaac384cb8f085faca366c26207dd1619","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Securely clear secrets from memory with a simple trait built on\nstable Rust primitives which guarantee memory is zeroed using an\noperation will not be 'optimized away' by the compiler.\nUses a portable pure Rust implementation that works everywhere,\neven WASM!","homepage":null,"documentation":null,"repository":"https://github.com/RustCrypto/utils/tree/master/zeroize","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":365,"comment_lines":53,"files":2}},"total_code_lines":365,"total_comment_lines":53}},{"id":428482,"crate":"zeroize","num":"1.4.2","dl_path":"/api/v1/crates/zeroize/1.4.2/download","readme_path":"/api/v1/crates/zeroize/1.4.2/readme","updated_at":"2021-09-21T19:02:28.174990Z","created_at":"2021-09-21T19:02:28.174990Z","downloads":1353097,"features":{"alloc":[],"default":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/1.4.2/dependencies","version_downloads":"/api/v1/crates/zeroize/1.4.2/downloads","authors":"/api/v1/crates/zeroize/1.4.2/authors"},"crate_size":16048,"published_by":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"audit_actions":[{"action":"publish","user":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"time":"2021-09-21T19:02:28.174990Z"}],"checksum":"bf68b08513768deaa790264a7fac27a58cbf2705cfcdc9448362229217d7e970","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Securely clear secrets from memory with a simple trait built on\nstable Rust primitives which guarantee memory is zeroed using an\noperation will not be 'optimized away' by the compiler.\nUses a portable pure Rust implementation that works everywhere,\neven WASM!","homepage":"https://github.com/iqlusioninc/crates/","documentation":null,"repository":"https://github.com/iqlusioninc/crates/tree/main/zeroize","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":308,"comment_lines":53,"files":2}},"total_code_lines":308,"total_comment_lines":53}},{"id":403396,"crate":"zeroize","num":"1.4.1","dl_path":"/api/v1/crates/zeroize/1.4.1/download","readme_path":"/api/v1/crates/zeroize/1.4.1/readme","updated_at":"2021-07-20T17:29:11.020165Z","created_at":"2021-07-20T17:29:11.020165Z","downloads":1663794,"features":{"alloc":[],"default":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/1.4.1/dependencies","version_downloads":"/api/v1/crates/zeroize/1.4.1/downloads","authors":"/api/v1/crates/zeroize/1.4.1/authors"},"crate_size":16153,"published_by":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"audit_actions":[{"action":"publish","user":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"time":"2021-07-20T17:29:11.020165Z"}],"checksum":"377db0846015f7ae377174787dd452e1c5f5a9050bc6f954911d01f116daa0cd","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Securely clear secrets from memory with a simple trait built on\nstable Rust primitives which guarantee memory is zeroed using an\noperation will not be 'optimized away' by the compiler.\nUses a portable pure Rust implementation that works everywhere,\neven WASM!","homepage":"https://github.com/iqlusioninc/crates/","documentation":null,"repository":"https://github.com/iqlusioninc/crates/tree/main/zeroize","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":308,"comment_lines":53,"files":2}},"total_code_lines":308,"total_comment_lines":53}},{"id":402655,"crate":"zeroize","num":"1.4.0","dl_path":"/api/v1/crates/zeroize/1.4.0/download","readme_path":"/api/v1/crates/zeroize/1.4.0/readme","updated_at":"2021-07-18T18:38:38.646724Z","created_at":"2021-07-18T18:38:38.646724Z","downloads":53634,"features":{"alloc":[],"default":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/1.4.0/dependencies","version_downloads":"/api/v1/crates/zeroize/1.4.0/downloads","authors":"/api/v1/crates/zeroize/1.4.0/authors"},"crate_size":15945,"published_by":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"audit_actions":[{"action":"publish","user":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"time":"2021-07-18T18:38:38.646724Z"}],"checksum":"eeafe61337cb2c879d328b74aa6cd9d794592c82da6be559fdf11493f02a2d18","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Securely clear secrets from memory with a simple trait built on\nstable Rust primitives which guarantee memory is zeroed using an\noperation will not be 'optimized away' by the compiler.\nUses a portable pure Rust implementation that works everywhere,\neven WASM!","homepage":"https://github.com/iqlusioninc/crates/","documentation":null,"repository":"https://github.com/iqlusioninc/crates/tree/main/zeroize","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":298,"comment_lines":52,"files":2}},"total_code_lines":298,"total_comment_lines":52}},{"id":368605,"crate":"zeroize","num":"1.3.0","dl_path":"/api/v1/crates/zeroize/1.3.0/download","readme_path":"/api/v1/crates/zeroize/1.3.0/readme","updated_at":"2021-04-19T16:18:01.674485Z","created_at":"2021-04-19T16:18:01.674485Z","downloads":17382141,"features":{"alloc":[],"default":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/1.3.0/dependencies","version_downloads":"/api/v1/crates/zeroize/1.3.0/downloads","authors":"/api/v1/crates/zeroize/1.3.0/authors"},"crate_size":15913,"published_by":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"audit_actions":[{"action":"publish","user":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"time":"2021-04-19T16:18:01.674485Z"}],"checksum":"4756f7db3f7b5574938c3eb1c117038b8e07f95ee6718c0efad4ac21508f1efd","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Securely clear secrets from memory with a simple trait built on\nstable Rust primitives which guarantee memory is zeroed using an\noperation will not be 'optimized away' by the compiler.\nUses a portable pure Rust implementation that works everywhere,\neven WASM!","homepage":"https://github.com/iqlusioninc/crates/","documentation":null,"repository":"https://github.com/iqlusioninc/crates/tree/main/zeroize","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":300,"comment_lines":53,"files":2}},"total_code_lines":300,"total_comment_lines":53}},{"id":313534,"crate":"zeroize","num":"1.2.0","dl_path":"/api/v1/crates/zeroize/1.2.0/download","readme_path":"/api/v1/crates/zeroize/1.2.0/readme","updated_at":"2020-12-09T21:35:04.369067Z","created_at":"2020-12-09T21:35:04.369067Z","downloads":3678544,"features":{"alloc":[],"default":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/1.2.0/dependencies","version_downloads":"/api/v1/crates/zeroize/1.2.0/downloads","authors":"/api/v1/crates/zeroize/1.2.0/authors"},"crate_size":15450,"published_by":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"audit_actions":[{"action":"publish","user":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"time":"2020-12-09T21:35:04.369067Z"}],"checksum":"81a974bcdd357f0dca4d41677db03436324d45a4c9ed2d0b873a5a360ce41c36","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Securely clear secrets from memory with a simple trait built on\nstable Rust primitives which guarantee memory is zeroed using an\noperation will not be 'optimized away' by the compiler.\nUses a portable pure Rust implementation that works everywhere,\neven WASM!","homepage":"https://github.com/iqlusioninc/crates/","documentation":null,"repository":"https://github.com/iqlusioninc/crates/tree/develop/zeroize","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":285,"comment_lines":34,"files":2}},"total_code_lines":285,"total_comment_lines":34}},{"id":284114,"crate":"zeroize","num":"1.1.1","dl_path":"/api/v1/crates/zeroize/1.1.1/download","readme_path":"/api/v1/crates/zeroize/1.1.1/readme","updated_at":"2020-09-15T21:55:57.374552Z","created_at":"2020-09-15T21:55:57.374552Z","downloads":1440600,"features":{"alloc":[],"default":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/1.1.1/dependencies","version_downloads":"/api/v1/crates/zeroize/1.1.1/downloads","authors":"/api/v1/crates/zeroize/1.1.1/authors"},"crate_size":15108,"published_by":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"audit_actions":[{"action":"publish","user":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"time":"2020-09-15T21:55:57.374552Z"}],"checksum":"05f33972566adbd2d3588b0491eb94b98b43695c4ef897903470ede4f3f5a28a","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Securely clear secrets from memory with a simple trait built on\nstable Rust primitives which guarantee memory is zeroed using an\noperation will not be 'optimized away' by the compiler.\nUses a portable pure Rust implementation that works everywhere,\neven WASM!","homepage":"https://github.com/iqlusioninc/crates/","documentation":null,"repository":"https://github.com/iqlusioninc/crates/tree/develop/zeroize","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":262,"comment_lines":46,"files":1}},"total_code_lines":262,"total_comment_lines":46}},{"id":193604,"crate":"zeroize","num":"1.1.0","dl_path":"/api/v1/crates/zeroize/1.1.0/download","readme_path":"/api/v1/crates/zeroize/1.1.0/readme","updated_at":"2019-12-03T00:53:53.569808Z","created_at":"2019-12-03T00:53:53.569808Z","downloads":3079214,"features":{"alloc":[],"default":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/1.1.0/dependencies","version_downloads":"/api/v1/crates/zeroize/1.1.0/downloads","authors":"/api/v1/crates/zeroize/1.1.0/authors"},"crate_size":10316,"published_by":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"audit_actions":[],"checksum":"3cbac2ed2ba24cc90f5e06485ac8c7c1e5449fe8911aef4d8877218af021a5b8","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Securely clear secrets from memory with a simple trait built on\nstable Rust primitives which guarantee memory is zeroed using an\noperation will not be 'optimized away' by the compiler.\nUses a portable pure Rust implementation that works everywhere,\neven WASM!","homepage":"https://github.com/iqlusioninc/crates/","documentation":null,"repository":"https://github.com/iqlusioninc/crates/tree/develop/zeroize","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":204,"comment_lines":2,"files":1}},"total_code_lines":204,"total_comment_lines":2}},{"id":182428,"crate":"zeroize","num":"1.0.0","dl_path":"/api/v1/crates/zeroize/1.0.0/download","readme_path":"/api/v1/crates/zeroize/1.0.0/readme","updated_at":"2019-10-13T22:22:56.222740Z","created_at":"2019-10-13T22:22:56.222740Z","downloads":176491,"features":{"alloc":[],"bytes-preview":["bytes"],"default":["alloc"]},"yanked":false,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/1.0.0/dependencies","version_downloads":"/api/v1/crates/zeroize/1.0.0/downloads","authors":"/api/v1/crates/zeroize/1.0.0/authors"},"crate_size":10475,"published_by":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"audit_actions":[],"checksum":"cdc979d9b5ead18184c357c4d8a3f81b579aae264e32507223032e64715462d3","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Securely clear secrets from memory with a simple trait built on\nstable Rust primitives which guarantee memory is zeroed using an\noperation will not be 'optimized away' by the compiler.\nUses a portable pure Rust implementation that works everywhere,\neven WASM!","homepage":"https://github.com/iqlusioninc/crates/","documentation":null,"repository":"https://github.com/iqlusioninc/crates/tree/develop/zeroize","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":217,"comment_lines":3,"files":2}},"total_code_lines":217,"total_comment_lines":3}},{"id":179524,"crate":"zeroize","num":"1.0.0-pre","dl_path":"/api/v1/crates/zeroize/1.0.0-pre/download","readme_path":"/api/v1/crates/zeroize/1.0.0-pre/readme","updated_at":"2021-04-19T16:22:34.200234Z","created_at":"2019-09-30T18:39:23.939100Z","downloads":4736,"features":{"alloc":[],"default":["alloc"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/1.0.0-pre/dependencies","version_downloads":"/api/v1/crates/zeroize/1.0.0-pre/downloads","authors":"/api/v1/crates/zeroize/1.0.0-pre/authors"},"crate_size":10272,"published_by":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"audit_actions":[{"action":"yank","user":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"time":"2021-04-19T16:20:53.551583Z"}],"checksum":"55436126e1eaf98db43dad9bf3439848249765f53541ad917ea707c99175edf7","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Securely clear secrets from memory with a simple trait built on\n stable Rust primitives which guarantee memory is zeroed using an\n operation will not be 'optimized away' by the compiler.\n Uses a portable pure Rust implementation that works everywhere,\n even WASM!","homepage":"https://github.com/iqlusioninc/crates/","documentation":null,"repository":"https://github.com/iqlusioninc/crates/tree/develop/zeroize","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":239,"comment_lines":7,"files":2}},"total_code_lines":239,"total_comment_lines":7}},{"id":173652,"crate":"zeroize","num":"0.10.1","dl_path":"/api/v1/crates/zeroize/0.10.1/download","readme_path":"/api/v1/crates/zeroize/0.10.1/readme","updated_at":"2021-04-19T16:22:26.876622Z","created_at":"2019-09-03T14:38:54.538064Z","downloads":177170,"features":{"alloc":[],"default":["alloc"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/0.10.1/dependencies","version_downloads":"/api/v1/crates/zeroize/0.10.1/downloads","authors":"/api/v1/crates/zeroize/0.10.1/authors"},"crate_size":10177,"published_by":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"audit_actions":[{"action":"yank","user":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"time":"2021-04-19T16:20:52.085246Z"}],"checksum":"4090487fa66630f7b166fba2bbb525e247a5449f41c468cc1d98f8ae6ac03120","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Securely clear secrets from memory with a simple trait built on\n stable Rust primitives which guarantee memory is zeroed using an\n operation will not be 'optimized away' by the compiler.\n Uses a portable pure Rust implementation that works everywhere,\n even WASM!","homepage":"https://github.com/iqlusioninc/crates/","documentation":null,"repository":"https://github.com/iqlusioninc/crates/tree/develop/zeroize","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":239,"comment_lines":7,"files":2}},"total_code_lines":239,"total_comment_lines":7}},{"id":170637,"crate":"zeroize","num":"0.10.0","dl_path":"/api/v1/crates/zeroize/0.10.0/download","readme_path":"/api/v1/crates/zeroize/0.10.0/readme","updated_at":"2021-04-19T16:22:21.798541Z","created_at":"2019-08-20T00:49:20.963808Z","downloads":7122,"features":{"alloc":[],"default":["alloc"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/0.10.0/dependencies","version_downloads":"/api/v1/crates/zeroize/0.10.0/downloads","authors":"/api/v1/crates/zeroize/0.10.0/authors"},"crate_size":9877,"published_by":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"audit_actions":[{"action":"yank","user":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"time":"2021-04-19T16:20:49.211040Z"}],"checksum":"6c37858ebbf3c38907c01c2d93e53f6fed489f44b16999be3b6f86bf0610ca10","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Securely clear secrets from memory with a simple trait built on\n stable Rust primitives which guarantee memory is zeroed using an\n operation will not be 'optimized away' by the compiler.\n Uses a portable pure Rust implementation that works everywhere,\n even WASM!","homepage":"https://github.com/iqlusioninc/crates/","documentation":null,"repository":"https://github.com/iqlusioninc/crates/tree/develop/zeroize","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":215,"comment_lines":6,"files":1}},"total_code_lines":215,"total_comment_lines":6}},{"id":165671,"crate":"zeroize","num":"0.9.3","dl_path":"/api/v1/crates/zeroize/0.9.3/download","readme_path":"/api/v1/crates/zeroize/0.9.3/readme","updated_at":"2021-04-19T16:22:16.862010Z","created_at":"2019-07-27T19:40:35.694652Z","downloads":770887,"features":{"alloc":[],"default":["std","zeroize_derive"],"std":["alloc"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/0.9.3/dependencies","version_downloads":"/api/v1/crates/zeroize/0.9.3/downloads","authors":"/api/v1/crates/zeroize/0.9.3/authors"},"crate_size":9797,"published_by":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"audit_actions":[{"action":"yank","user":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"time":"2021-04-19T16:20:47.445175Z"}],"checksum":"45af6a010d13e4cf5b54c94ba5a2b2eba5596b9e46bf5875612d332a1f2b3f86","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Securely clear secrets from memory with a simple trait built on\n stable Rust primitives which guarantee memory is zeroed using an\n operation will not be 'optimized away' by the compiler.\n Uses a portable pure Rust implementation that works everywhere,\n even WASM!","homepage":"https://github.com/iqlusioninc/crates/","documentation":null,"repository":"https://github.com/iqlusioninc/crates/tree/develop/zeroize","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":223,"comment_lines":6,"files":1}},"total_code_lines":223,"total_comment_lines":6}},{"id":159081,"crate":"zeroize","num":"0.9.2","dl_path":"/api/v1/crates/zeroize/0.9.2/download","readme_path":"/api/v1/crates/zeroize/0.9.2/readme","updated_at":"2021-04-19T16:22:10.463295Z","created_at":"2019-06-28T21:11:57.550521Z","downloads":82915,"features":{"alloc":[],"default":["std","zeroize_derive"],"std":["alloc"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/0.9.2/dependencies","version_downloads":"/api/v1/crates/zeroize/0.9.2/downloads","authors":"/api/v1/crates/zeroize/0.9.2/authors"},"crate_size":9828,"published_by":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"audit_actions":[{"action":"yank","user":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"time":"2021-04-19T16:20:45.183533Z"}],"checksum":"4177936c03b5a349c1b8e4509c46add268e66bc66fe92663729fa0570fe4f213","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Securely clear secrets from memory with a simple trait built on\n stable Rust primitives which guarantee memory is zeroed using an\n operation will not be 'optimized away' by the compiler.\n Uses a portable pure Rust implementation that works everywhere,\n even WASM!","homepage":"https://github.com/iqlusioninc/crates/","documentation":null,"repository":"https://github.com/iqlusioninc/crates/tree/develop/zeroize","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":223,"comment_lines":6,"files":1}},"total_code_lines":223,"total_comment_lines":6}},{"id":154617,"crate":"zeroize","num":"0.9.1","dl_path":"/api/v1/crates/zeroize/0.9.1/download","readme_path":"/api/v1/crates/zeroize/0.9.1/readme","updated_at":"2021-04-19T16:22:00.967884Z","created_at":"2019-06-05T04:01:57.020813Z","downloads":26637,"features":{"alloc":[],"default":["std","zeroize_derive"],"std":["alloc"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/0.9.1/dependencies","version_downloads":"/api/v1/crates/zeroize/0.9.1/downloads","authors":"/api/v1/crates/zeroize/0.9.1/authors"},"crate_size":9761,"published_by":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"audit_actions":[{"action":"yank","user":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"time":"2021-04-19T16:20:44.076369Z"}],"checksum":"5e2ea4afc22e9497e26b42bf047083c30f7e3ca566f3bcd7187f83d18b327043","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Securely clear secrets from memory with a simple trait built on\n stable Rust primitives which guarantee memory is zeroed using an\n operation will not be 'optimized away' by the compiler.\n Uses a portable pure Rust implementation that works everywhere,\n even WASM!","homepage":"https://github.com/iqlusioninc/crates/","documentation":null,"repository":"https://github.com/iqlusioninc/crates/tree/develop/zeroize","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":230,"comment_lines":6,"files":1}},"total_code_lines":230,"total_comment_lines":6}},{"id":154584,"crate":"zeroize","num":"0.9.0","dl_path":"/api/v1/crates/zeroize/0.9.0/download","readme_path":"/api/v1/crates/zeroize/0.9.0/readme","updated_at":"2021-04-19T16:21:53.954758Z","created_at":"2019-06-04T23:14:25.957115Z","downloads":3023,"features":{"alloc":[],"default":["std","zeroize_derive"],"std":["alloc"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/0.9.0/dependencies","version_downloads":"/api/v1/crates/zeroize/0.9.0/downloads","authors":"/api/v1/crates/zeroize/0.9.0/authors"},"crate_size":9686,"published_by":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"audit_actions":[{"action":"yank","user":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"time":"2021-04-19T16:20:43.248088Z"}],"checksum":"e135012cfcf3e74e8c43daca9ce5c13611bf4126721cf162e0b606e013091a5a","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Securely clear secrets from memory with a simple trait built on\n stable Rust primitives which guarantee memory is zeroed using an\n operation will not be 'optimized away' by the compiler.\n Uses a portable pure Rust implementation that works everywhere,\n even WASM!","homepage":"https://github.com/iqlusioninc/crates/","documentation":null,"repository":"https://github.com/iqlusioninc/crates/tree/develop/zeroize","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":219,"comment_lines":6,"files":1}},"total_code_lines":219,"total_comment_lines":6}},{"id":151625,"crate":"zeroize","num":"0.8.0","dl_path":"/api/v1/crates/zeroize/0.8.0/download","readme_path":"/api/v1/crates/zeroize/0.8.0/readme","updated_at":"2019-06-24T22:38:43.260858Z","created_at":"2019-05-20T17:27:38.233426Z","downloads":11733,"features":{"alloc":[],"default":["std","zeroize_derive"],"std":["alloc"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/0.8.0/dependencies","version_downloads":"/api/v1/crates/zeroize/0.8.0/downloads","authors":"/api/v1/crates/zeroize/0.8.0/authors"},"crate_size":11156,"published_by":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"audit_actions":[],"checksum":"b60a6c572b91d8ecb0a460950d84fe5b40699edd07d65f73789b31237afc8f66","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Securely clear secrets from memory with a simple trait built on\n stable Rust primitives which guarantee memory is zeroed using an\n operation will not be 'optimized away' by the compiler.\n Uses a portable pure Rust implementation that works everywhere,\n even WASM!","homepage":"https://github.com/iqlusioninc/crates/","documentation":null,"repository":"https://github.com/iqlusioninc/crates/tree/develop/zeroize","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":216,"comment_lines":9,"files":1}},"total_code_lines":216,"total_comment_lines":9}},{"id":151493,"crate":"zeroize","num":"0.7.0","dl_path":"/api/v1/crates/zeroize/0.7.0/download","readme_path":"/api/v1/crates/zeroize/0.7.0/readme","updated_at":"2021-04-19T16:21:46.448093Z","created_at":"2019-05-19T23:52:49.737001Z","downloads":3125,"features":{"alloc":[],"default":["std","zeroize_derive"],"std":["alloc"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/0.7.0/dependencies","version_downloads":"/api/v1/crates/zeroize/0.7.0/downloads","authors":"/api/v1/crates/zeroize/0.7.0/authors"},"crate_size":10953,"published_by":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"audit_actions":[{"action":"yank","user":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"time":"2021-04-19T16:20:39.559052Z"}],"checksum":"dc3eec922face7733bfa86e585f298ef09dd279a15dee2b5ec192aebcbb7317a","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Securely clear secrets from memory with a simple trait built on\n stable Rust primitives which guarantee memory is zeroed using an\n operation will not be 'optimized away' by the compiler.\n Uses a portable pure Rust implementation that works everywhere,\n even WASM!","homepage":"https://github.com/iqlusioninc/crates/","documentation":null,"repository":"https://github.com/iqlusioninc/crates/tree/develop/zeroize","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":218,"comment_lines":10,"files":1}},"total_code_lines":218,"total_comment_lines":10}},{"id":141069,"crate":"zeroize","num":"0.6.0","dl_path":"/api/v1/crates/zeroize/0.6.0/download","readme_path":"/api/v1/crates/zeroize/0.6.0/readme","updated_at":"2021-04-19T16:21:39.882868Z","created_at":"2019-03-23T21:25:50.616724Z","downloads":66805,"features":{"alloc":[],"default":["std","zeroize_derive"],"nightly":[],"std":["alloc"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/0.6.0/dependencies","version_downloads":"/api/v1/crates/zeroize/0.6.0/downloads","authors":"/api/v1/crates/zeroize/0.6.0/authors"},"crate_size":9470,"published_by":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"audit_actions":[{"action":"yank","user":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"time":"2021-04-19T16:20:38.360838Z"}],"checksum":"e68403b858b6af538b11614e62dfe9ab2facba9f13a0cafb974855cfb495ec95","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Securely clear secrets from memory with a simple trait built on\n stable Rust primitives which guarantee memory is zeroed using an\n operation will not be 'optimized away' by the compiler.\n Uses a portable pure Rust implementation that works everywhere,\n even WASM!","homepage":"https://github.com/iqlusioninc/crates/","documentation":null,"repository":"https://github.com/iqlusioninc/crates/tree/master/zeroize","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":194,"comment_lines":1,"files":1}},"total_code_lines":194,"total_comment_lines":1}},{"id":124053,"crate":"zeroize","num":"0.5.2","dl_path":"/api/v1/crates/zeroize/0.5.2/download","readme_path":"/api/v1/crates/zeroize/0.5.2/readme","updated_at":"2021-04-19T16:21:33.453243Z","created_at":"2018-12-25T21:04:06.687269Z","downloads":234983,"features":{"alloc":[],"default":["std"],"nightly":[],"std":["alloc"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/0.5.2/dependencies","version_downloads":"/api/v1/crates/zeroize/0.5.2/downloads","authors":"/api/v1/crates/zeroize/0.5.2/authors"},"crate_size":8839,"published_by":null,"audit_actions":[{"action":"yank","user":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"time":"2021-04-19T16:20:37.510824Z"}],"checksum":"8ddfeb6eee2fb3b262ef6e0898a52b7563bb8e0d5955a313b3cf2f808246ea14","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Securely clear secrets from memory with a simple trait built on\n stable Rust primitives which guarantee they will be zeroed out\n using an operation will not be 'optimized away' by the compiler.\n Uses a portable implementation that leverages LLVM's volatile\n write semantics and memory fences. No weird tricks, no FFI/ASM,\n no insecure fallbacks, no dependencies, no std, just a trait\n implemented for all of Rust's core scalar types and\n slices/iterators thereof for securely zeroing memory.","homepage":"https://github.com/iqlusioninc/crates/","documentation":null,"repository":"https://github.com/iqlusioninc/crates/tree/master/zeroize","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":150,"comment_lines":1,"files":1}},"total_code_lines":150,"total_comment_lines":1}},{"id":123944,"crate":"zeroize","num":"0.5.1","dl_path":"/api/v1/crates/zeroize/0.5.1/download","readme_path":"/api/v1/crates/zeroize/0.5.1/readme","updated_at":"2021-04-19T16:21:27.964381Z","created_at":"2018-12-24T18:38:35.515171Z","downloads":5522,"features":{"alloc":[],"default":["std"],"nightly":[],"std":["alloc"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/0.5.1/dependencies","version_downloads":"/api/v1/crates/zeroize/0.5.1/downloads","authors":"/api/v1/crates/zeroize/0.5.1/authors"},"crate_size":8783,"published_by":null,"audit_actions":[{"action":"yank","user":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"time":"2021-04-19T16:20:34.524748Z"}],"checksum":"f36215ad2c05d1444c2807b7284667080f34e05660c335b20d3e2524f7b1dbde","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Securely zero memory with using a simple trait built on stable\n Rust primitives which guarantee they will not be 'optimized away'\n by leveraging LLVM's volatile write semantics and memory fences.\n No weird tricks, no insecure fallbacks, no dependencies, no std,\n just a trait implemented for all of Rust's core scalar types\n and slices/iterators thereof for securely zeroing memory.","homepage":"https://github.com/iqlusioninc/crates/","documentation":null,"repository":"https://github.com/iqlusioninc/crates/tree/master/zeroize","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":149,"comment_lines":1,"files":1}},"total_code_lines":149,"total_comment_lines":1}},{"id":123941,"crate":"zeroize","num":"0.5.0","dl_path":"/api/v1/crates/zeroize/0.5.0/download","readme_path":"/api/v1/crates/zeroize/0.5.0/readme","updated_at":"2021-04-19T16:21:21.802911Z","created_at":"2018-12-24T17:50:46.744239Z","downloads":3038,"features":{"alloc":[],"default":["std"],"nightly":[],"std":["alloc"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/0.5.0/dependencies","version_downloads":"/api/v1/crates/zeroize/0.5.0/downloads","authors":"/api/v1/crates/zeroize/0.5.0/authors"},"crate_size":8727,"published_by":null,"audit_actions":[{"action":"yank","user":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"time":"2021-04-19T16:20:33.522561Z"}],"checksum":"de1961c3ba766f0b4e0dd3d3214ff540eb34c3ba3e44b4cc8d5bf8824086d5b3","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Securely zero memory with using a simple trait built on stable\n Rust primitives which guarantee they will not be 'optimized away'\n by leveraging LLVM's volatile write semantics and memory fences.\n No weird tricks, no insecure fallbacks, no dependencies, no std,\n just a trait implemented for all of Rust's core scalar types\n and slices/iterators thereof for securely zeroing memory.","homepage":"https://github.com/iqlusioninc/crates/","documentation":null,"repository":"https://github.com/iqlusioninc/crates/tree/master/zeroize","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":149,"comment_lines":1,"files":1}},"total_code_lines":149,"total_comment_lines":1}},{"id":119878,"crate":"zeroize","num":"0.4.2","dl_path":"/api/v1/crates/zeroize/0.4.2/download","readme_path":"/api/v1/crates/zeroize/0.4.2/readme","updated_at":"2021-04-19T16:21:14.433216Z","created_at":"2018-11-28T03:58:07.266986Z","downloads":16952,"features":{"default":["linux-backport","std","windows"],"linux-backport":["cc","semver"],"nightly":[],"std":[],"windows":["cc"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/0.4.2/dependencies","version_downloads":"/api/v1/crates/zeroize/0.4.2/downloads","authors":"/api/v1/crates/zeroize/0.4.2/authors"},"crate_size":9546,"published_by":null,"audit_actions":[{"action":"yank","user":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"time":"2021-04-19T16:20:32.636247Z"}],"checksum":"d7ddffec9ddef28ba2d6359bcbf0dc6772e62b112bc103dfb1e6fab46cd47c39","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Securely zero memory while avoiding compiler optimizations:\n cross-platform secure intrinsics for zeroing memory, using FFI\n to invoke OS intrinsics on stable Rust (with support for Linux,\n Windows, macOS/iOS, FreeBSD, OpenBSD, NetBSD, DragonflyBSD),\n or the unstable 'volatile_set_memory()` intrinsic on nightly.\n No insecure fallbacks, no dependencies, no std, no functionality\n besides securely zeroing memory.","homepage":"https://github.com/iqlusioninc/crates/","documentation":null,"repository":"https://github.com/iqlusioninc/crates/tree/master/zeroize","trustpub_data":null,"linecounts":{"languages":{"C":{"code_lines":11,"comment_lines":8,"files":2},"Rust":{"code_lines":344,"comment_lines":9,"files":8}},"total_code_lines":355,"total_comment_lines":17}},{"id":119870,"crate":"zeroize","num":"0.4.1","dl_path":"/api/v1/crates/zeroize/0.4.1/download","readme_path":"/api/v1/crates/zeroize/0.4.1/readme","updated_at":"2021-04-19T16:21:05.591002Z","created_at":"2018-11-28T02:36:08.832319Z","downloads":3033,"features":{"default":["linux-backport","std","windows"],"linux-backport":["cc","semver"],"nightly":[],"std":[],"windows":["cc"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/0.4.1/dependencies","version_downloads":"/api/v1/crates/zeroize/0.4.1/downloads","authors":"/api/v1/crates/zeroize/0.4.1/authors"},"crate_size":9467,"published_by":null,"audit_actions":[{"action":"yank","user":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"time":"2021-04-19T16:20:30.924528Z"}],"checksum":"fe99d5efb45c579a957cd177c2c1671dfb6eea0ecb124a3a54cc18b48d10e4bd","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Securely zero memory while avoiding compiler optimizations:\n cross-platform secure intrinsics for zeroing memory, using FFI\n to invoke OS intrinsics on stable Rust (with support for Linux,\n Windows, macOS/iOS, FreeBSD, OpenBSD, NetBSD, DragonflyBSD),\n or the unstable 'volatile_set_memory()` intrinsic on nightly.\n No insecure fallbacks, no dependencies, no std, no functionality\n besides securely zeroing memory.","homepage":"https://github.com/iqlusioninc/crates/","documentation":null,"repository":"https://github.com/iqlusioninc/crates/tree/master/zeroize","trustpub_data":null,"linecounts":{"languages":{"C":{"code_lines":11,"comment_lines":8,"files":2},"Rust":{"code_lines":342,"comment_lines":9,"files":8}},"total_code_lines":353,"total_comment_lines":17}},{"id":112110,"crate":"zeroize","num":"0.4.0","dl_path":"/api/v1/crates/zeroize/0.4.0/download","readme_path":"/api/v1/crates/zeroize/0.4.0/readme","updated_at":"2021-04-19T16:20:54.751979Z","created_at":"2018-10-12T18:39:20.609223Z","downloads":4378,"features":{"default":["linux-backport","std","windows"],"linux-backport":["cc"],"nightly":[],"std":[],"windows":["cc"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/0.4.0/dependencies","version_downloads":"/api/v1/crates/zeroize/0.4.0/downloads","authors":"/api/v1/crates/zeroize/0.4.0/authors"},"crate_size":8765,"published_by":null,"audit_actions":[{"action":"yank","user":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"time":"2021-04-19T16:20:27.873360Z"}],"checksum":"4d9ca03392699478c8ae9240a5b2a9500babb9e1eccc195e347ab06a082d9f20","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Securely zero memory while avoiding compiler optimizations:\n cross-platform secure intrinsics for zeroing memory, using FFI\n to invoke OS intrinsics on stable Rust (with support for Linux,\n Windows, macOS/iOS, FreeBSD, OpenBSD, NetBSD, DragonflyBSD),\n or the unstable 'volatile_set_memory()` intrinsic on nightly.\n No insecure fallbacks, no dependencies, no std, no functionality\n besides securely zeroing memory.","homepage":"https://github.com/iqlusioninc/crates/","documentation":null,"repository":"https://github.com/iqlusioninc/crates/tree/master/zeroize","trustpub_data":null,"linecounts":{"languages":{"C":{"code_lines":11,"comment_lines":8,"files":2},"Rust":{"code_lines":293,"comment_lines":8,"files":8}},"total_code_lines":304,"total_comment_lines":16}},{"id":112016,"crate":"zeroize","num":"0.3.0","dl_path":"/api/v1/crates/zeroize/0.3.0/download","readme_path":"/api/v1/crates/zeroize/0.3.0/readme","updated_at":"2021-04-19T16:20:46.720770Z","created_at":"2018-10-12T00:40:38.235034Z","downloads":3111,"features":{"default":["linux-backport","windows"],"linux-backport":["cc"],"nightly":[],"windows":["cc"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/0.3.0/dependencies","version_downloads":"/api/v1/crates/zeroize/0.3.0/downloads","authors":"/api/v1/crates/zeroize/0.3.0/authors"},"crate_size":8102,"published_by":null,"audit_actions":[{"action":"yank","user":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"time":"2021-04-19T16:20:26.782254Z"}],"checksum":"e0bacecba28e4c0b77ecc0180ae5b74acbcee1220d820312f1f2a61ca9e3034d","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Securely zero memory while avoiding compiler optimizations:\n cross-platform secure intrinsics for zeroing memory, using FFI\n to invoke OS intrinsics on stable Rust (with support for Linux,\n Windows, macOS/iOS, FreeBSD, OpenBSD, NetBSD, DragonflyBSD),\n or the unstable 'volatile_set_memory()` intrinsic on nightly.\n No insecure fallbacks, no dependencies, no std, no functionality\n besides securely zeroing memory.","homepage":"https://github.com/iqlusioninc/crates/","documentation":null,"repository":"https://github.com/iqlusioninc/crates/tree/master/zeroize","trustpub_data":null,"linecounts":{"languages":{"C":{"code_lines":11,"comment_lines":8,"files":2},"Rust":{"code_lines":192,"comment_lines":7,"files":8}},"total_code_lines":203,"total_comment_lines":15}},{"id":111977,"crate":"zeroize","num":"0.2.0","dl_path":"/api/v1/crates/zeroize/0.2.0/download","readme_path":"/api/v1/crates/zeroize/0.2.0/readme","updated_at":"2021-04-19T16:20:40.472579Z","created_at":"2018-10-11T20:09:52.235295Z","downloads":3044,"features":{"default":["linux-backport","windows"],"linux-backport":["cc"],"nightly":[],"windows":["cc"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/0.2.0/dependencies","version_downloads":"/api/v1/crates/zeroize/0.2.0/downloads","authors":"/api/v1/crates/zeroize/0.2.0/authors"},"crate_size":7935,"published_by":null,"audit_actions":[{"action":"yank","user":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"time":"2021-04-19T16:20:25.264441Z"}],"checksum":"556b6cc51a212062e018536a2a5f5ed39b2f2cbf6e7c273221f5c632f4eb0fc3","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Securely zero memory while avoiding compiler optimizations:\n unified 'secure_zero_memory()' wrapper for secure intrinsic\n functions for zeroing memory, using FFI to invoke OS intrinsics\n on stable (with support for Linux, Windows, OS X/iOS, FreeBSD,\n OpenBSD, NetBSD, DragonflyBSD), or the unstable\n 'volatile_set_memory()` intrinsic on nightly.\n No insecure fallbacks, no dependencies, no std, no functionality\n besides securely zeroing memory.","homepage":"https://github.com/iqlusioninc/crates/","documentation":null,"repository":"https://github.com/iqlusioninc/crates/tree/master/zeroize","trustpub_data":null,"linecounts":{"languages":{"C":{"code_lines":11,"comment_lines":8,"files":2},"Rust":{"code_lines":192,"comment_lines":7,"files":8}},"total_code_lines":203,"total_comment_lines":15}},{"id":110698,"crate":"zeroize","num":"0.1.2","dl_path":"/api/v1/crates/zeroize/0.1.2/download","readme_path":"/api/v1/crates/zeroize/0.1.2/readme","updated_at":"2021-04-19T16:20:34.433495Z","created_at":"2018-10-03T15:03:23.034476Z","downloads":3343,"features":{"default":["linux-backport","windows"],"linux-backport":["cc"],"nightly":[],"windows":["cc"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/0.1.2/dependencies","version_downloads":"/api/v1/crates/zeroize/0.1.2/downloads","authors":"/api/v1/crates/zeroize/0.1.2/authors"},"crate_size":7535,"published_by":null,"audit_actions":[{"action":"yank","user":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"time":"2021-04-19T16:20:22.041357Z"}],"checksum":"d578f76311059e419360b151137cfb495e17bbc732c3795bf2953f898ce1dd76","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"(Alpha quality preview) Securely zero memory while avoiding\n compiler optimizations: unified 'secure_zero_memory()' wrapper for\n secure intrinsic functions for zeroing memory, using FFI to\n invoke OS intrinsics on stable (with support for Linux, Windows,\n OS X/iOS, FreeBSD, OpenBSD, NetBSD, DragonflyBSD), or the\n unstable 'volatile_set_memory()` intrinsic on nightly.\n No insecure fallbacks, no dependencies, no std, no functionality\n besides securely zeroing memory.","homepage":"https://github.com/iqlusioninc/crates/","documentation":null,"repository":"https://github.com/iqlusioninc/crates/tree/master/zeroize","trustpub_data":null,"linecounts":{"languages":{"C":{"code_lines":11,"comment_lines":8,"files":2},"Rust":{"code_lines":162,"comment_lines":6,"files":7}},"total_code_lines":173,"total_comment_lines":14}},{"id":110647,"crate":"zeroize","num":"0.1.1","dl_path":"/api/v1/crates/zeroize/0.1.1/download","readme_path":"/api/v1/crates/zeroize/0.1.1/readme","updated_at":"2021-04-19T16:20:25.894833Z","created_at":"2018-10-03T10:00:48.834245Z","downloads":3091,"features":{"default":["linux-backport","windows"],"linux-backport":["cc"],"nightly":[],"windows":["cc"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/0.1.1/dependencies","version_downloads":"/api/v1/crates/zeroize/0.1.1/downloads","authors":"/api/v1/crates/zeroize/0.1.1/authors"},"crate_size":7534,"published_by":null,"audit_actions":[{"action":"yank","user":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"time":"2021-04-19T16:20:17.291223Z"}],"checksum":"8df90d68a3894cf28c5cda32eef28d3394596478ef321ea671a1cc19093e4afe","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"(Alpha quality preview) Securely zero memory while avoiding\n compiler optimizations: unified 'secure_zero_memory()' wrapper for\n secure intrinsic functions for zeroing memory, using FFI to\n invoke OS intrinsics on stable (with support for Linux, Windows,\n OS X/iOS, FreeBSD, OpenBSD, NetBSD, DragonflyBSD), or the\n unstable 'volatile_set_memory()` intrinsic on nightly.\n No insecure fallbacks, no dependencies, no std, no functionality\n besides securely zeroing memory.","homepage":"https://github.com/iqlusioninc/crates/","documentation":null,"repository":"https://github.com/iqlusioninc/crates/tree/master/zeroize","trustpub_data":null,"linecounts":{"languages":{"C":{"code_lines":11,"comment_lines":8,"files":2},"Rust":{"code_lines":162,"comment_lines":6,"files":7}},"total_code_lines":173,"total_comment_lines":14}},{"id":110637,"crate":"zeroize","num":"0.1.0","dl_path":"/api/v1/crates/zeroize/0.1.0/download","readme_path":"/api/v1/crates/zeroize/0.1.0/readme","updated_at":"2021-04-19T16:20:19.483390Z","created_at":"2018-10-03T09:33:21.998452Z","downloads":2997,"features":{"default":["linux-backport","windows"],"linux-backport":["cc"],"nightly":[],"windows":["cc"]},"yanked":true,"yank_message":null,"lib_links":null,"license":"Apache-2.0 OR MIT","links":{"dependencies":"/api/v1/crates/zeroize/0.1.0/dependencies","version_downloads":"/api/v1/crates/zeroize/0.1.0/downloads","authors":"/api/v1/crates/zeroize/0.1.0/authors"},"crate_size":7200,"published_by":null,"audit_actions":[{"action":"yank","user":{"id":19631,"login":"tony-iqlusion","name":"Tony Arcieri (iqlusion)","avatar":"https://avatars.githubusercontent.com/u/37432020?v=4","url":"https://github.com/tony-iqlusion","github_username_matches":true,"created_at":"2018-03-16T05:14:58Z"},"time":"2021-04-19T16:20:15.475785Z"}],"checksum":"bfad9572908a72d6b653649a1393acfc653fb43f8a966cd05ee7110afaca55bf","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"(Alpha quality preview) Securely zero out memory while avoiding\n compiler optimizations: unified 'secure_zero_memory()' wrapper for\n secure intrinsic functions for zeroing memory, using FFI to\n invoke OS intrinsics on stable (with support for Linux, Windows,\n OS X/iOS, FreeBSD, OpenBSD, NetBSD, DragonflyBSD), or the\n unstable 'volatile_set_memory()` intrinsic on nightly.\n No insecure fallbacks, no dependencies, no std, no functionality\n besides securely zeroing memory.","homepage":"https://github.com/iqlusioninc/crates/","documentation":null,"repository":"https://github.com/iqlusioninc/crates/tree/master/zeroize","trustpub_data":null,"linecounts":{"languages":{"C":{"code_lines":11,"comment_lines":8,"files":2},"Rust":{"code_lines":162,"comment_lines":6,"files":7}},"total_code_lines":173,"total_comment_lines":14}}],"keywords":[{"id":"memory","keyword":"memory","created_at":"2015-02-22T04:49:48.537543Z","crates_cnt":1637},{"id":"memset","keyword":"memset","created_at":"2016-09-10T02:34:44.350724Z","crates_cnt":3},{"id":"secure","keyword":"secure","created_at":"2016-07-30T11:24:38.975705Z","crates_cnt":83},{"id":"volatile","keyword":"volatile","created_at":"2015-12-28T20:55:27.448732Z","crates_cnt":13},{"id":"zero","keyword":"zero","created_at":"2017-01-12T06:55:44.176956Z","crates_cnt":27}],"categories":[{"id":"os","category":"Operating systems","slug":"os","description":"Bindings to operating system-specific APIs.","created_at":"2017-01-17T19:13:05.112025Z","crates_cnt":2022},{"id":"memory-management","category":"Memory management","slug":"memory-management","description":"Crates to help with allocation, memory mapping, garbage collection, reference counting, or interfaces to foreign memory managers.","created_at":"2017-01-17T19:13:05.112025Z","crates_cnt":1537},{"id":"cryptography","category":"Cryptography","slug":"cryptography","description":"Algorithms intended for securing data.","created_at":"2017-01-17T19:13:05.112025Z","crates_cnt":7915},{"id":"no-std","category":"No standard library","slug":"no-std","description":"Crates that are able to function without the Rust standard library.","created_at":"2017-02-10T01:52:09.447906Z","crates_cnt":13734}]} \ No newline at end of file diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/rfc/dl/rfc8032.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/rfc/dl/rfc8032.txt new file mode 100644 index 0000000000..b5dfdf0e34 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/rfc/dl/rfc8032.txt @@ -0,0 +1,3363 @@ + + + + + + +Internet Research Task Force (IRTF) S. Josefsson +Request for Comments: 8032 SJD AB +Category: Informational I. Liusvaara +ISSN: 2070-1721 Independent + January 2017 + + + Edwards-Curve Digital Signature Algorithm (EdDSA) + +Abstract + + This document describes elliptic curve signature scheme Edwards-curve + Digital Signature Algorithm (EdDSA). The algorithm is instantiated + with recommended parameters for the edwards25519 and edwards448 + curves. An example implementation and test vectors are provided. + +Status of This Memo + + This document is not an Internet Standards Track specification; it is + published for informational purposes. + + This document is a product of the Internet Research Task Force + (IRTF). The IRTF publishes the results of Internet-related research + and development activities. These results might not be suitable for + deployment. This RFC represents the consensus of the Crypto Forum + Research Group of the Internet Research Task Force (IRTF). Documents + approved for publication by the IRSG are not a candidate for any + level of Internet Standard; see Section 2 of RFC 7841. + + Information about the current status of this document, any errata, + and how to provide feedback on it may be obtained at + http://www.rfc-editor.org/info/rfc8032. + +Copyright Notice + + Copyright (c) 2017 IETF Trust and the persons identified as the + document authors. All rights reserved. + + This document is subject to BCP 78 and the IETF Trust's Legal + Provisions Relating to IETF Documents + (http://trustee.ietf.org/license-info) in effect on the date of + publication of this document. Please review these documents + carefully, as they describe your rights and restrictions with respect + to this document. + + + + + + + +Josefsson & Liusvaara Informational [Page 1] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + +Table of Contents + + 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 3 + 2. Notation and Conventions . . . . . . . . . . . . . . . . . . 4 + 3. EdDSA Algorithm . . . . . . . . . . . . . . . . . . . . . . . 5 + 3.1. Encoding . . . . . . . . . . . . . . . . . . . . . . . . 7 + 3.2. Keys . . . . . . . . . . . . . . . . . . . . . . . . . . 7 + 3.3. Sign . . . . . . . . . . . . . . . . . . . . . . . . . . 8 + 3.4. Verify . . . . . . . . . . . . . . . . . . . . . . . . . 8 + 4. PureEdDSA, HashEdDSA, and Naming . . . . . . . . . . . . . . 8 + 5. EdDSA Instances . . . . . . . . . . . . . . . . . . . . . . . 9 + 5.1. Ed25519ph, Ed25519ctx, and Ed25519 . . . . . . . . . . . 9 + 5.1.1. Modular Arithmetic . . . . . . . . . . . . . . . . . 10 + 5.1.2. Encoding . . . . . . . . . . . . . . . . . . . . . . 10 + 5.1.3. Decoding . . . . . . . . . . . . . . . . . . . . . . 11 + 5.1.4. Point Addition . . . . . . . . . . . . . . . . . . . 11 + 5.1.5. Key Generation . . . . . . . . . . . . . . . . . . . 13 + 5.1.6. Sign . . . . . . . . . . . . . . . . . . . . . . . . 13 + 5.1.7. Verify . . . . . . . . . . . . . . . . . . . . . . . 14 + 5.2. Ed448ph and Ed448 . . . . . . . . . . . . . . . . . . . . 15 + 5.2.1. Modular Arithmetic . . . . . . . . . . . . . . . . . 16 + 5.2.2. Encoding . . . . . . . . . . . . . . . . . . . . . . 16 + 5.2.3. Decoding . . . . . . . . . . . . . . . . . . . . . . 16 + 5.2.4. Point Addition . . . . . . . . . . . . . . . . . . . 17 + 5.2.5. Key Generation . . . . . . . . . . . . . . . . . . . 18 + 5.2.6. Sign . . . . . . . . . . . . . . . . . . . . . . . . 19 + 5.2.7. Verify . . . . . . . . . . . . . . . . . . . . . . . 19 + 6. Ed25519 Python Illustration . . . . . . . . . . . . . . . . . 20 + 7. Test Vectors . . . . . . . . . . . . . . . . . . . . . . . . 23 + 7.1. Test Vectors for Ed25519 . . . . . . . . . . . . . . . . 24 + 7.2. Test Vectors for Ed25519ctx . . . . . . . . . . . . . . . 27 + 7.3. Test Vectors for Ed25519ph . . . . . . . . . . . . . . . 30 + 7.4. Test Vectors for Ed448 . . . . . . . . . . . . . . . . . 30 + 7.5. Test Vectors for Ed448ph . . . . . . . . . . . . . . . . 38 + 8. Security Considerations . . . . . . . . . . . . . . . . . . . 40 + 8.1. Side-Channel Leaks . . . . . . . . . . . . . . . . . . . 40 + 8.2. Randomness Considerations . . . . . . . . . . . . . . . . 40 + 8.3. Use of Contexts . . . . . . . . . . . . . . . . . . . . . 41 + 8.4. Signature Malleability . . . . . . . . . . . . . . . . . 41 + 8.5. Choice of Signature Primitive . . . . . . . . . . . . . . 41 + 8.6. Mixing Different Prehashes . . . . . . . . . . . . . . . 42 + 8.7. Signing Large Amounts of Data at Once . . . . . . . . . . 42 + 8.8. Multiplication by Cofactor in Verification . . . . . . . 43 + 8.9. Use of SHAKE256 as a Hash Function . . . . . . . . . . . 43 + 9. References . . . . . . . . . . . . . . . . . . . . . . . . . 43 + 9.1. Normative References . . . . . . . . . . . . . . . . . . 43 + 9.2. Informative References . . . . . . . . . . . . . . . . . 44 + + + + +Josefsson & Liusvaara Informational [Page 2] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + + Appendix A. Ed25519/Ed448 Python Library . . . . . . . . . . . . 46 + Appendix B. Library Driver . . . . . . . . . . . . . . . . . . . 58 + Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . . 60 + Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 60 + +1. Introduction + + The Edwards-curve Digital Signature Algorithm (EdDSA) is a variant of + Schnorr's signature system with (possibly twisted) Edwards curves. + EdDSA needs to be instantiated with certain parameters, and this + document describes some recommended variants. + + To facilitate adoption of EdDSA in the Internet community, this + document describes the signature scheme in an implementation-oriented + way and provides sample code and test vectors. + + The advantages with EdDSA are as follows: + + 1. EdDSA provides high performance on a variety of platforms; + + 2. The use of a unique random number for each signature is not + required; + + 3. It is more resilient to side-channel attacks; + + 4. EdDSA uses small public keys (32 or 57 bytes) and signatures (64 + or 114 bytes) for Ed25519 and Ed448, respectively; + + 5. The formulas are "complete", i.e., they are valid for all points + on the curve, with no exceptions. This obviates the need for + EdDSA to perform expensive point validation on untrusted public + values; and + + 6. EdDSA provides collision resilience, meaning that hash-function + collisions do not break this system (only holds for PureEdDSA). + + The original EdDSA paper [EDDSA] and the generalized version + described in "EdDSA for more curves" [EDDSA2] provide further + background. RFC 7748 [RFC7748] discusses specific curves, including + Curve25519 [CURVE25519] and Ed448-Goldilocks [ED448]. + + Ed25519 is intended to operate at around the 128-bit security level + and Ed448 at around the 224-bit security level. A sufficiently large + quantum computer would be able to break both. Reasonable projections + of the abilities of classical computers conclude that Ed25519 is + perfectly safe. Ed448 is provided for those applications with + relaxed performance requirements and where there is a desire to hedge + against analytical attacks on elliptic curves. + + + +Josefsson & Liusvaara Informational [Page 3] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + +2. Notation and Conventions + + The following notation is used throughout the document: + + p Denotes the prime number defining the underlying field + + GF(p) Finite field with p elements + + x^y x multiplied by itself y times + + B Generator of the group or subgroup of interest + + [n]X X added to itself n times + + h[i] The i'th octet of octet string + + h_i The i'th bit of h + + a || b (bit-)string a concatenated with (bit-)string b + + a <= b a is less than or equal to b + + a >= b a is greater than or equal to b + + i+j Sum of i and j + + i*j Multiplication of i and j + + i-j Subtraction of j from i + + i/j Division of i by j + + i x j Cartesian product of i and j + + (u,v) Elliptic curve point with x-coordinate u and + y-coordinate v + + SHAKE256(x, y) The y first octets of SHAKE256 [FIPS202] output for + input x + + OCTET(x) The octet with value x + + OLEN(x) The number of octets in string x + + + + + + + + +Josefsson & Liusvaara Informational [Page 4] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + + dom2(x, y) The blank octet string when signing or verifying + Ed25519. Otherwise, the octet string: "SigEd25519 no + Ed25519 collisions" || octet(x) || octet(OLEN(y)) || + y, where x is in range 0-255 and y is an octet string + of at most 255 octets. "SigEd25519 no Ed25519 + collisions" is in ASCII (32 octets). + + dom4(x, y) The octet string "SigEd448" || octet(x) || + octet(OLEN(y)) || y, where x is in range 0-255 and y + is an octet string of at most 255 octets. "SigEd448" + is in ASCII (8 octets). + + Parentheses (i.e., '(' and ')') are used to group expressions, in + order to avoid having the description depend on a binding order + between operators. + + Bit strings are converted to octet strings by taking bits from left + to right, packing those from the least significant bit of each octet + to the most significant bit, and moving to the next octet when each + octet fills up. The conversion from octet string to bit string is + the reverse of this process; for example, the 16-bit bit string + + b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b12 b13 b14 b15 + + is converted into two octets x0 and x1 (in this order) as + + x0 = b7*128+b6*64+b5*32+b4*16+b3*8+b2*4+b1*2+b0 + x1 = b15*128+b14*64+b13*32+b12*16+b11*8+b10*4+b9*2+b8 + + Little-endian encoding into bits places bits from left to right and + from least significant to most significant. If combined with + bit-string-to-octet-string conversion defined above, this results in + little-endian encoding into octets (if length is not a multiple of 8, + the most significant bits of the last octet remain unused). + + The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", + "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this + document are to be interpreted as described in [RFC2119]. + +3. EdDSA Algorithm + + EdDSA is a digital signature system with 11 parameters. + + The generic EdDSA digital signature system with its 11 input + parameters is not intended to be implemented directly. Choosing + parameters is critical for secure and efficient operation. Instead, + you would implement a particular parameter choice for EdDSA (such as + + + + +Josefsson & Liusvaara Informational [Page 5] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + + Ed25519 or Ed448), sometimes slightly generalized to achieve code + reuse to cover Ed25519 and Ed448. + + Therefore, a precise explanation of the generic EdDSA is thus not + particularly useful for implementers. For background and + completeness, a succinct description of the generic EdDSA algorithm + is given here. + + The definition of some parameters, such as n and c, may help to + explain some steps of the algorithm that are not intuitive. + + This description closely follows [EDDSA2]. + + EdDSA has 11 parameters: + + 1. An odd prime power p. EdDSA uses an elliptic curve over the + finite field GF(p). + + 2. An integer b with 2^(b-1) > p. EdDSA public keys have exactly b + bits, and EdDSA signatures have exactly 2*b bits. b is + recommended to be a multiple of 8, so public key and signature + lengths are an integral number of octets. + + 3. A (b-1)-bit encoding of elements of the finite field GF(p). + + 4. A cryptographic hash function H producing 2*b-bit output. + Conservative hash functions (i.e., hash functions where it is + infeasible to create collisions) are recommended and do not have + much impact on the total cost of EdDSA. + + 5. An integer c that is 2 or 3. Secret EdDSA scalars are multiples + of 2^c. The integer c is the base-2 logarithm of the so-called + cofactor. + + 6. An integer n with c <= n < b. Secret EdDSA scalars have exactly + n + 1 bits, with the top bit (the 2^n position) always set and + the bottom c bits always cleared. + + 7. A non-square element d of GF(p). The usual recommendation is to + take it as the value nearest to zero that gives an acceptable + curve. + + 8. A non-zero square element a of GF(p). The usual recommendation + for best performance is a = -1 if p mod 4 = 1, and a = 1 if + p mod 4 = 3. + + 9. An element B != (0,1) of the set E = { (x,y) is a member of + GF(p) x GF(p) such that a * x^2 + y^2 = 1 + d * x^2 * y^2 }. + + + +Josefsson & Liusvaara Informational [Page 6] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + + 10. An odd prime L such that [L]B = 0 and 2^c * L = #E. The number + #E (the number of points on the curve) is part of the standard + data provided for an elliptic curve E, or it can be computed as + cofactor * order. + + 11. A "prehash" function PH. PureEdDSA means EdDSA where PH is the + identity function, i.e., PH(M) = M. HashEdDSA means EdDSA where + PH generates a short output, no matter how long the message is; + for example, PH(M) = SHA-512(M). + + Points on the curve form a group under addition, (x3, y3) = (x1, y1) + + (x2, y2), with the formulas + + x1 * y2 + x2 * y1 y1 * y2 - a * x1 * x2 + x3 = --------------------------, y3 = --------------------------- + 1 + d * x1 * x2 * y1 * y2 1 - d * x1 * x2 * y1 * y2 + + The neutral element in the group is (0,1). + + Unlike many other curves used for cryptographic applications, these + formulas are "complete"; they are valid for all points on the curve, + with no exceptions. In particular, the denominators are non-zero for + all input points. + + There are more efficient formulas, which are still complete, that use + homogeneous coordinates to avoid the expensive modulo p inversions. + See [Faster-ECC] and [Edwards-revisited]. + +3.1. Encoding + + An integer 0 < S < L - 1 is encoded in little-endian form as a b-bit + string ENC(S). + + An element (x,y) of E is encoded as a b-bit string called ENC(x,y), + which is the (b-1)-bit encoding of y concatenated with one bit that + is 1 if x is negative and 0 if x is not negative. + + The encoding of GF(p) is used to define "negative" elements of GF(p): + specifically, x is negative if the (b-1)-bit encoding of x is + lexicographically larger than the (b-1)-bit encoding of -x. + +3.2. Keys + + An EdDSA private key is a b-bit string k. Let the hash H(k) = + (h_0, h_1, ..., h_(2b-1)) determine an integer s, which is 2^n plus + the sum of m = 2^i * h_i for all integer i, c <= i < n. Let s + determine the multiple A = [s]B. The EdDSA public key is ENC(A). + The bits h_b, ..., h_(2b-1) are used below during signing. + + + +Josefsson & Liusvaara Informational [Page 7] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + +3.3. Sign + + The EdDSA signature of a message M under a private key k is defined + as the PureEdDSA signature of PH(M). In other words, EdDSA simply + uses PureEdDSA to sign PH(M). + + The PureEdDSA signature of a message M under a private key k is the + 2*b-bit string ENC(R) || ENC(S). R and S are derived as follows. + First define r = H(h_b || ... || h_(2b-1) || M) interpreting 2*b-bit + strings in little-endian form as integers in {0, 1, ..., 2^(2*b) - + 1}. Let R = [r]B and S = (r + H(ENC(R) || ENC(A) || PH(M)) * s) mod + L. The s used here is from the previous section. + +3.4. Verify + + To verify a PureEdDSA signature ENC(R) || ENC(S) on a message M under + a public key ENC(A), proceed as follows. Parse the inputs so that A + and R are elements of E, and S is a member of the set {0, 1, ..., + L-1}. Compute h = H(ENC(R) || ENC(A) || M), and check the group + equation [2^c * S] B = 2^c * R + [2^c * h] A in E. The signature is + rejected if parsing fails (including S being out of range) or if the + group equation does not hold. + + EdDSA verification for a message M is defined as PureEdDSA + verification for PH(M). + +4. PureEdDSA, HashEdDSA, and Naming + + One of the parameters of the EdDSA algorithm is the "prehash" + function. This may be the identity function, resulting in an + algorithm called PureEdDSA, or a collision-resistant hash function + such as SHA-512, resulting in an algorithm called HashEdDSA. + + Choosing which variant to use depends on which property is deemed to + be more important between 1) collision resilience and 2) a single- + pass interface for creating signatures. The collision resilience + property means EdDSA is secure even if it is feasible to compute + collisions for the hash function. The single-pass interface property + means that only one pass over the input message is required to create + a signature. PureEdDSA requires two passes over the input. Many + existing APIs, protocols, and environments assume digital signature + algorithms only need one pass over the input and may have API or + bandwidth concerns supporting anything else. + + Note that single-pass verification is not possible with most uses of + signatures, no matter which signature algorithm is chosen. This is + because most of the time, one can't process the message until the + signature is validated, which needs a pass on the entire message. + + + +Josefsson & Liusvaara Informational [Page 8] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + + This document specifies parameters resulting in the HashEdDSA + variants Ed25519ph and Ed448ph and the PureEdDSA variants Ed25519 and + Ed448. + +5. EdDSA Instances + + This section instantiates the general EdDSA algorithm for the + edwards25519 and edwards448 curves, each for the PureEdDSA and + HashEdDSA variants (plus a contextualized extension of the Ed25519 + scheme). Thus, five different parameter sets are described. + +5.1. Ed25519ph, Ed25519ctx, and Ed25519 + + Ed25519 is EdDSA instantiated with: + + +-----------+-------------------------------------------------------+ + | Parameter | Value | + +-----------+-------------------------------------------------------+ + | p | p of edwards25519 in [RFC7748] (i.e., 2^255 - 19) | + | b | 256 | + | encoding | 255-bit little-endian encoding of {0, 1, ..., p-1} | + | of GF(p) | | + | H(x) | SHA-512(dom2(phflag,context)||x) [RFC6234] | + | c | base 2 logarithm of cofactor of edwards25519 in | + | | [RFC7748] (i.e., 3) | + | n | 254 | + | d | d of edwards25519 in [RFC7748] (i.e., -121665/121666 | + | | = 370957059346694393431380835087545651895421138798432 | + | | 19016388785533085940283555) | + | a | -1 | + | B | (X(P),Y(P)) of edwards25519 in [RFC7748] (i.e., (1511 | + | | 22213495354007725011514095885315114540126930418572060 | + | | 46113283949847762202, 4631683569492647816942839400347 | + | | 5163141307993866256225615783033603165251855960)) | + | L | order of edwards25519 in [RFC7748] (i.e., | + | | 2^252+27742317777372353535851937790883648493). | + | PH(x) | x (i.e., the identity function) | + +-----------+-------------------------------------------------------+ + + Table 1: Parameters of Ed25519 + + For Ed25519, dom2(f,c) is the empty string. The phflag value is + irrelevant. The context (if present at all) MUST be empty. This + causes the scheme to be one and the same with the Ed25519 scheme + published earlier. + + For Ed25519ctx, phflag=0. The context input SHOULD NOT be empty. + + + + +Josefsson & Liusvaara Informational [Page 9] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + + For Ed25519ph, phflag=1 and PH is SHA512 instead. That is, the input + is hashed using SHA-512 before signing with Ed25519. + + Value of context is set by the signer and verifier (maximum of 255 + octets; the default is empty string, except for Ed25519, which can't + have context) and has to match octet by octet for verification to be + successful. + + The curve used is equivalent to Curve25519 [CURVE25519], under a + change of coordinates, which means that the difficulty of the + discrete logarithm problem is the same as for Curve25519. + +5.1.1. Modular Arithmetic + + For advice on how to implement arithmetic modulo p = 2^255 - 19 + efficiently and securely, see Curve25519 [CURVE25519]. For inversion + modulo p, it is recommended to use the identity x^-1 = x^(p-2) (mod + p). Inverting zero should never happen, as it would require invalid + input, which would have been detected before, or would be a + calculation error. + + For point decoding or "decompression", square roots modulo p are + needed. They can be computed using the Tonelli-Shanks algorithm or + the special case for p = 5 (mod 8). To find a square root of a, + first compute the candidate root x = a^((p+3)/8) (mod p). Then there + are three cases: + + x^2 = a (mod p). Then x is a square root. + + x^2 = -a (mod p). Then 2^((p-1)/4) * x is a square root. + + a is not a square modulo p. + +5.1.2. Encoding + + All values are coded as octet strings, and integers are coded using + little-endian convention, i.e., a 32-octet string h h[0],...h[31] + represents the integer h[0] + 2^8 * h[1] + ... + 2^248 * h[31]. + + A curve point (x,y), with coordinates in the range 0 <= x,y < p, is + coded as follows. First, encode the y-coordinate as a little-endian + string of 32 octets. The most significant bit of the final octet is + always zero. To form the encoding of the point, copy the least + significant bit of the x-coordinate to the most significant bit of + the final octet. + + + + + + +Josefsson & Liusvaara Informational [Page 10] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + +5.1.3. Decoding + + Decoding a point, given as a 32-octet string, is a little more + complicated. + + 1. First, interpret the string as an integer in little-endian + representation. Bit 255 of this number is the least significant + bit of the x-coordinate and denote this value x_0. The + y-coordinate is recovered simply by clearing this bit. If the + resulting value is >= p, decoding fails. + + 2. To recover the x-coordinate, the curve equation implies + x^2 = (y^2 - 1) / (d y^2 + 1) (mod p). The denominator is always + non-zero mod p. Let u = y^2 - 1 and v = d y^2 + 1. To compute + the square root of (u/v), the first step is to compute the + candidate root x = (u/v)^((p+3)/8). This can be done with the + following trick, using a single modular powering for both the + inversion of v and the square root: + + (p+3)/8 3 (p-5)/8 + x = (u/v) = u v (u v^7) (mod p) + + 3. Again, there are three cases: + + 1. If v x^2 = u (mod p), x is a square root. + + 2. If v x^2 = -u (mod p), set x <-- x * 2^((p-1)/4), which is a + square root. + + 3. Otherwise, no square root exists for modulo p, and decoding + fails. + + 4. Finally, use the x_0 bit to select the right square root. If + x = 0, and x_0 = 1, decoding fails. Otherwise, if x_0 != x mod + 2, set x <-- p - x. Return the decoded point (x,y). + +5.1.4. Point Addition + + For point addition, the following method is recommended. A point + (x,y) is represented in extended homogeneous coordinates (X, Y, Z, + T), with x = X/Z, y = Y/Z, x * y = T/Z. + + The neutral point is (0,1), or equivalently in extended homogeneous + coordinates (0, Z, Z, 0) for any non-zero Z. + + + + + + + +Josefsson & Liusvaara Informational [Page 11] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + + The following formulas for adding two points, (x3,y3) = + (x1,y1)+(x2,y2), on twisted Edwards curves with a=-1, square a, and + non-square d are described in Section 3.1 of [Edwards-revisited] and + in [EFD-TWISTED-ADD]. They are complete, i.e., they work for any + pair of valid input points. + + A = (Y1-X1)*(Y2-X2) + B = (Y1+X1)*(Y2+X2) + C = T1*2*d*T2 + D = Z1*2*Z2 + E = B-A + F = D-C + G = D+C + H = B+A + X3 = E*F + Y3 = G*H + T3 = E*H + Z3 = F*G + + For point doubling, (x3,y3) = (x1,y1)+(x1,y1), one could just + substitute equal points in the above (because of completeness, such + substitution is valid) and observe that four multiplications turn + into squares. However, using the formulas described in Section 3.2 + of [Edwards-revisited] and in [EFD-TWISTED-DBL] saves a few smaller + operations. + + A = X1^2 + B = Y1^2 + C = 2*Z1^2 + H = A+B + E = H-(X1+Y1)^2 + G = A-B + F = C+G + X3 = E*F + Y3 = G*H + T3 = E*H + Z3 = F*G + + + + + + + + + + + + + + +Josefsson & Liusvaara Informational [Page 12] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + +5.1.5. Key Generation + + The private key is 32 octets (256 bits, corresponding to b) of + cryptographically secure random data. See [RFC4086] for a discussion + about randomness. + + The 32-byte public key is generated by the following steps. + + 1. Hash the 32-byte private key using SHA-512, storing the digest in + a 64-octet large buffer, denoted h. Only the lower 32 bytes are + used for generating the public key. + + 2. Prune the buffer: The lowest three bits of the first octet are + cleared, the highest bit of the last octet is cleared, and the + second highest bit of the last octet is set. + + 3. Interpret the buffer as the little-endian integer, forming a + secret scalar s. Perform a fixed-base scalar multiplication + [s]B. + + 4. The public key A is the encoding of the point [s]B. First, + encode the y-coordinate (in the range 0 <= y < p) as a little- + endian string of 32 octets. The most significant bit of the + final octet is always zero. To form the encoding of the point + [s]B, copy the least significant bit of the x coordinate to the + most significant bit of the final octet. The result is the + public key. + +5.1.6. Sign + + The inputs to the signing procedure is the private key, a 32-octet + string, and a message M of arbitrary size. For Ed25519ctx and + Ed25519ph, there is additionally a context C of at most 255 octets + and a flag F, 0 for Ed25519ctx and 1 for Ed25519ph. + + 1. Hash the private key, 32 octets, using SHA-512. Let h denote the + resulting digest. Construct the secret scalar s from the first + half of the digest, and the corresponding public key A, as + described in the previous section. Let prefix denote the second + half of the hash digest, h[32],...,h[63]. + + 2. Compute SHA-512(dom2(F, C) || prefix || PH(M)), where M is the + message to be signed. Interpret the 64-octet digest as a little- + endian integer r. + + 3. Compute the point [r]B. For efficiency, do this by first + reducing r modulo L, the group order of B. Let the string R be + the encoding of this point. + + + +Josefsson & Liusvaara Informational [Page 13] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + + 4. Compute SHA512(dom2(F, C) || R || A || PH(M)), and interpret the + 64-octet digest as a little-endian integer k. + + 5. Compute S = (r + k * s) mod L. For efficiency, again reduce k + modulo L first. + + 6. Form the signature of the concatenation of R (32 octets) and the + little-endian encoding of S (32 octets; the three most + significant bits of the final octet are always zero). + +5.1.7. Verify + + 1. To verify a signature on a message M using public key A, with F + being 0 for Ed25519ctx, 1 for Ed25519ph, and if Ed25519ctx or + Ed25519ph is being used, C being the context, first split the + signature into two 32-octet halves. Decode the first half as a + point R, and the second half as an integer S, in the range + 0 <= s < L. Decode the public key A as point A'. If any of the + decodings fail (including S being out of range), the signature is + invalid. + + 2. Compute SHA512(dom2(F, C) || R || A || PH(M)), and interpret the + 64-octet digest as a little-endian integer k. + + 3. Check the group equation [8][S]B = [8]R + [8][k]A'. It's + sufficient, but not required, to instead check [S]B = R + [k]A'. + + + + + + + + + + + + + + + + + + + + + + + + + +Josefsson & Liusvaara Informational [Page 14] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + +5.2. Ed448ph and Ed448 + + Ed448 is EdDSA instantiated with: + + +-----------+-------------------------------------------------------+ + | Parameter | Value | + +-----------+-------------------------------------------------------+ + | p | p of edwards448 in [RFC7748] (i.e., 2^448 - 2^224 - | + | | 1) | + | b | 456 | + | encoding | 455-bit little-endian encoding of {0, 1, ..., p-1} | + | of GF(p) | | + | H(x) | SHAKE256(dom4(phflag,context)||x, 114) | + | phflag | 0 | + | c | base 2 logarithm of cofactor of edwards448 in | + | | [RFC7748] (i.e., 2) | + | n | 447 | + | d | d of edwards448 in [RFC7748] (i.e., -39081) | + | a | 1 | + | B | (X(P),Y(P)) of edwards448 in [RFC7748] (i.e., (224580 | + | | 04029592430018760433409989603624678964163256413424612 | + | | 54616869504154674060329090291928693579532825780320751 | + | | 46446173674602635247710, 2988192100784814926760179304 | + | | 43930673437544040154080242095928241372331506189835876 | + | | 00353687865541878473398230323350346250053154506283266 | + | | 0)) | + | L | order of edwards448 in [RFC7748] (i.e., 2^446 - 13818 | + | | 06680989511535200738674851542688033669247488217860989 | + | | 4547503885). | + | PH(x) | x (i.e., the identity function) | + +-----------+-------------------------------------------------------+ + + Table 2: Parameters of Ed448 + + Ed448ph is the same but with PH being SHAKE256(x, 64) and phflag + being 1, i.e., the input is hashed before signing with Ed448 with a + hash constant modified. + + Value of context is set by signer and verifier (maximum of 255 + octets; the default is empty string) and has to match octet by octet + for verification to be successful. + + The curve is equivalent to Ed448-Goldilocks under change of the + basepoint, which preserves difficulty of the discrete logarithm. + + + + + + + +Josefsson & Liusvaara Informational [Page 15] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + +5.2.1. Modular Arithmetic + + For advice on how to implement arithmetic modulo p = 2^448 - 2^224 - + 1 efficiently and securely, see [ED448]. For inversion modulo p, it + is recommended to use the identity x^-1 = x^(p-2) (mod p). Inverting + zero should never happen, as it would require invalid input, which + would have been detected before, or would be a calculation error. + + For point decoding or "decompression", square roots modulo p are + needed. They can be computed by first computing candidate root + x = a ^ (p+1)/4 (mod p) and then checking if x^2 = a. If it is, then + x is the square root of a; if it isn't, then a does not have a square + root. + +5.2.2. Encoding + + All values are coded as octet strings, and integers are coded using + little-endian convention, i.e., a 57-octet string h h[0],...h[56] + represents the integer h[0] + 2^8 * h[1] + ... + 2^448 * h[56]. + + A curve point (x,y), with coordinates in the range 0 <= x,y < p, is + coded as follows. First, encode the y-coordinate as a little-endian + string of 57 octets. The final octet is always zero. To form the + encoding of the point, copy the least significant bit of the + x-coordinate to the most significant bit of the final octet. + +5.2.3. Decoding + + Decoding a point, given as a 57-octet string, is a little more + complicated. + + 1. First, interpret the string as an integer in little-endian + representation. Bit 455 of this number is the least significant + bit of the x-coordinate, and denote this value x_0. The + y-coordinate is recovered simply by clearing this bit. If the + resulting value is >= p, decoding fails. + + 2. To recover the x-coordinate, the curve equation implies + x^2 = (y^2 - 1) / (d y^2 - 1) (mod p). The denominator is always + non-zero mod p. Let u = y^2 - 1 and v = d y^2 - 1. To compute + the square root of (u/v), the first step is to compute the + candidate root x = (u/v)^((p+1)/4). This can be done using the + following trick, to use a single modular powering for both the + inversion of v and the square root: + + (p+1)/4 3 (p-3)/4 + x = (u/v) = u v (u^5 v^3) (mod p) + + + + +Josefsson & Liusvaara Informational [Page 16] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + + 3. If v * x^2 = u, the recovered x-coordinate is x. Otherwise, no + square root exists, and the decoding fails. + + 4. Finally, use the x_0 bit to select the right square root. If + x = 0, and x_0 = 1, decoding fails. Otherwise, if x_0 != x mod + 2, set x <-- p - x. Return the decoded point (x,y). + +5.2.4. Point Addition + + For point addition, the following method is recommended. A point + (x,y) is represented in projective coordinates (X, Y, Z), with + x = X/Z, y = Y/Z. + + The neutral point is (0,1), or equivalently in projective coordinates + (0, Z, Z) for any non-zero Z. + + The following formulas for adding two points, (x3,y3) = + (x1,y1)+(x2,y2) on untwisted Edwards curve (i.e., a=1) with non- + square d, are described in Section 4 of [Faster-ECC] and in + [EFD-ADD]. They are complete, i.e., they work for any pair of valid + input points. + + A = Z1*Z2 + B = A^2 + C = X1*X2 + D = Y1*Y2 + E = d*C*D + F = B-E + G = B+E + H = (X1+Y1)*(X2+Y2) + X3 = A*F*(H-C-D) + Y3 = A*G*(D-C) + Z3 = F*G + + + + + + + + + + + + + + + + + + +Josefsson & Liusvaara Informational [Page 17] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + + Again, similar to the other curve, doubling formulas can be obtained + by substituting equal points, turning four multiplications into + squares. However, this is not even nearly optimal; the following + formulas described in Section 4 of [Faster-ECC] and in [EFD-DBL] save + multiple multiplications. + + B = (X1+Y1)^2 + C = X1^2 + D = Y1^2 + E = C+D + H = Z1^2 + J = E-2*H + X3 = (B-E)*J + Y3 = E*(C-D) + Z3 = E*J + +5.2.5. Key Generation + + The private key is 57 octets (456 bits, corresponding to b) of + cryptographically secure random data. See [RFC4086] for a discussion + about randomness. + + The 57-byte public key is generated by the following steps: + + 1. Hash the 57-byte private key using SHAKE256(x, 114), storing the + digest in a 114-octet large buffer, denoted h. Only the lower 57 + bytes are used for generating the public key. + + 2. Prune the buffer: The two least significant bits of the first + octet are cleared, all eight bits the last octet are cleared, and + the highest bit of the second to last octet is set. + + 3. Interpret the buffer as the little-endian integer, forming a + secret scalar s. Perform a known-base-point scalar + multiplication [s]B. + + 4. The public key A is the encoding of the point [s]B. First encode + the y-coordinate (in the range 0 <= y < p) as a little-endian + string of 57 octets. The most significant bit of the final octet + is always zero. To form the encoding of the point [s]B, copy the + least significant bit of the x coordinate to the most significant + bit of the final octet. The result is the public key. + + + + + + + + + +Josefsson & Liusvaara Informational [Page 18] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + +5.2.6. Sign + + The inputs to the signing procedure is the private key, a 57-octet + string, a flag F, which is 0 for Ed448, 1 for Ed448ph, context C of + at most 255 octets, and a message M of arbitrary size. + + 1. Hash the private key, 57 octets, using SHAKE256(x, 114). Let h + denote the resulting digest. Construct the secret scalar s from + the first half of the digest, and the corresponding public key A, + as described in the previous section. Let prefix denote the + second half of the hash digest, h[57],...,h[113]. + + 2. Compute SHAKE256(dom4(F, C) || prefix || PH(M), 114), where M is + the message to be signed, F is 1 for Ed448ph, 0 for Ed448, and C + is the context to use. Interpret the 114-octet digest as a + little-endian integer r. + + 3. Compute the point [r]B. For efficiency, do this by first + reducing r modulo L, the group order of B. Let the string R be + the encoding of this point. + + 4. Compute SHAKE256(dom4(F, C) || R || A || PH(M), 114), and + interpret the 114-octet digest as a little-endian integer k. + + 5. Compute S = (r + k * s) mod L. For efficiency, again reduce k + modulo L first. + + 6. Form the signature of the concatenation of R (57 octets) and the + little-endian encoding of S (57 octets; the ten most significant + bits of the final octets are always zero). + +5.2.7. Verify + + 1. To verify a signature on a message M using context C and public + key A, with F being 0 for Ed448 and 1 for Ed448ph, first split + the signature into two 57-octet halves. Decode the first half as + a point R, and the second half as an integer S, in the range 0 <= + s < L. Decode the public key A as point A'. If any of the + decodings fail (including S being out of range), the signature is + invalid. + + 2. Compute SHAKE256(dom4(F, C) || R || A || PH(M), 114), and + interpret the 114-octet digest as a little-endian integer k. + + 3. Check the group equation [4][S]B = [4]R + [4][k]A'. It's + sufficient, but not required, to instead check [S]B = R + [k]A'. + + + + + +Josefsson & Liusvaara Informational [Page 19] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + +6. Ed25519 Python Illustration + + The rest of this section describes how Ed25519 can be implemented in + Python (version 3.2 or later) for illustration. See Appendix A for + the complete implementation and Appendix B for a test-driver to run + it through some test vectors. + + Note that this code is not intended for production as it is not + proven to be correct for all inputs, nor does it protect against + side-channel attacks. The purpose is to illustrate the algorithm to + help implementers with their own implementation. + +## First, some preliminaries that will be needed. + +import hashlib + +def sha512(s): + return hashlib.sha512(s).digest() + +# Base field Z_p +p = 2**255 - 19 + +def modp_inv(x): + return pow(x, p-2, p) + +# Curve constant +d = -121665 * modp_inv(121666) % p + +# Group order +q = 2**252 + 27742317777372353535851937790883648493 + +def sha512_modq(s): + return int.from_bytes(sha512(s), "little") % q + +## Then follows functions to perform point operations. + +# Points are represented as tuples (X, Y, Z, T) of extended +# coordinates, with x = X/Z, y = Y/Z, x*y = T/Z + +def point_add(P, Q): + A, B = (P[1]-P[0]) * (Q[1]-Q[0]) % p, (P[1]+P[0]) * (Q[1]+Q[0]) % p; + C, D = 2 * P[3] * Q[3] * d % p, 2 * P[2] * Q[2] % p; + E, F, G, H = B-A, D-C, D+C, B+A; + return (E*F, G*H, F*G, E*H); + + + + + + + +Josefsson & Liusvaara Informational [Page 20] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + +# Computes Q = s * Q +def point_mul(s, P): + Q = (0, 1, 1, 0) # Neutral element + while s > 0: + if s & 1: + Q = point_add(Q, P) + P = point_add(P, P) + s >>= 1 + return Q + +def point_equal(P, Q): + # x1 / z1 == x2 / z2 <==> x1 * z2 == x2 * z1 + if (P[0] * Q[2] - Q[0] * P[2]) % p != 0: + return False + if (P[1] * Q[2] - Q[1] * P[2]) % p != 0: + return False + return True + +## Now follows functions for point compression. + +# Square root of -1 +modp_sqrt_m1 = pow(2, (p-1) // 4, p) + +# Compute corresponding x-coordinate, with low bit corresponding to +# sign, or return None on failure +def recover_x(y, sign): + if y >= p: + return None + x2 = (y*y-1) * modp_inv(d*y*y+1) + if x2 == 0: + if sign: + return None + else: + return 0 + + # Compute square root of x2 + x = pow(x2, (p+3) // 8, p) + if (x*x - x2) % p != 0: + x = x * modp_sqrt_m1 % p + if (x*x - x2) % p != 0: + return None + + if (x & 1) != sign: + x = p - x + return x + + + + + + +Josefsson & Liusvaara Informational [Page 21] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + +# Base point +g_y = 4 * modp_inv(5) % p +g_x = recover_x(g_y, 0) +G = (g_x, g_y, 1, g_x * g_y % p) + +def point_compress(P): + zinv = modp_inv(P[2]) + x = P[0] * zinv % p + y = P[1] * zinv % p + return int.to_bytes(y | ((x & 1) << 255), 32, "little") + +def point_decompress(s): + if len(s) != 32: + raise Exception("Invalid input length for decompression") + y = int.from_bytes(s, "little") + sign = y >> 255 + y &= (1 << 255) - 1 + + x = recover_x(y, sign) + if x is None: + return None + else: + return (x, y, 1, x*y % p) + +## These are functions for manipulating the private key. + +def secret_expand(secret): + if len(secret) != 32: + raise Exception("Bad size of private key") + h = sha512(secret) + a = int.from_bytes(h[:32], "little") + a &= (1 << 254) - 8 + a |= (1 << 254) + return (a, h[32:]) + +def secret_to_public(secret): + (a, dummy) = secret_expand(secret) + return point_compress(point_mul(a, G)) + + + + + + + + + + + + + +Josefsson & Liusvaara Informational [Page 22] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + +## The signature function works as below. + +def sign(secret, msg): + a, prefix = secret_expand(secret) + A = point_compress(point_mul(a, G)) + r = sha512_modq(prefix + msg) + R = point_mul(r, G) + Rs = point_compress(R) + h = sha512_modq(Rs + A + msg) + s = (r + h * a) % q + return Rs + int.to_bytes(s, 32, "little") + +## And finally the verification function. + +def verify(public, msg, signature): + if len(public) != 32: + raise Exception("Bad public key length") + if len(signature) != 64: + Exception("Bad signature length") + A = point_decompress(public) + if not A: + return False + Rs = signature[:32] + R = point_decompress(Rs) + if not R: + return False + s = int.from_bytes(signature[32:], "little") + if s >= q: return False + h = sha512_modq(Rs + public + msg) + sB = point_mul(s, G) + hA = point_mul(h, A) + return point_equal(sB, point_add(R, hA)) + +7. Test Vectors + + This section contains test vectors for Ed25519ph, Ed25519ctx, + Ed448ph, Ed25519, and Ed448. + + Each section contains a sequence of test vectors. The octets are hex + encoded, and whitespace is inserted for readability. Ed25519, + Ed25519ctx, and Ed25519ph private and public keys are 32 octets; + signatures are 64 octets. Ed448 and Ed448ph private and public keys + are 57 octets; signatures are 114 octets. Messages are of arbitrary + length. If the context is non-empty, it is given as 1-255 octets. + + + + + + + +Josefsson & Liusvaara Informational [Page 23] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + +7.1. Test Vectors for Ed25519 + + These test vectors are taken from [ED25519-TEST-VECTORS] (but we + removed the public key as a suffix of the private key and removed the + message from the signature) and [ED25519-LIBGCRYPT-TEST-VECTORS]. + + -----TEST 1 + + ALGORITHM: + Ed25519 + + SECRET KEY: + 9d61b19deffd5a60ba844af492ec2cc4 + 4449c5697b326919703bac031cae7f60 + + PUBLIC KEY: + d75a980182b10ab7d54bfed3c964073a + 0ee172f3daa62325af021a68f707511a + + MESSAGE (length 0 bytes): + + SIGNATURE: + e5564300c360ac729086e2cc806e828a + 84877f1eb8e5d974d873e06522490155 + 5fb8821590a33bacc61e39701cf9b46b + d25bf5f0595bbe24655141438e7a100b + + -----TEST 2 + + ALGORITHM: + Ed25519 + + SECRET KEY: + 4ccd089b28ff96da9db6c346ec114e0f + 5b8a319f35aba624da8cf6ed4fb8a6fb + + PUBLIC KEY: + 3d4017c3e843895a92b70aa74d1b7ebc + 9c982ccf2ec4968cc0cd55f12af4660c + + MESSAGE (length 1 byte): + 72 + + SIGNATURE: + 92a009a9f0d4cab8720e820b5f642540 + a2b27b5416503f8fb3762223ebdb69da + 085ac1e43e15996e458f3613d0f11d8c + 387b2eaeb4302aeeb00d291612bb0c00 + + + +Josefsson & Liusvaara Informational [Page 24] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + + -----TEST 3 + + ALGORITHM: + Ed25519 + + SECRET KEY: + c5aa8df43f9f837bedb7442f31dcb7b1 + 66d38535076f094b85ce3a2e0b4458f7 + + PUBLIC KEY: + fc51cd8e6218a1a38da47ed00230f058 + 0816ed13ba3303ac5deb911548908025 + + MESSAGE (length 2 bytes): + af82 + + SIGNATURE: + 6291d657deec24024827e69c3abe01a3 + 0ce548a284743a445e3680d7db5ac3ac + 18ff9b538d16f290ae67f760984dc659 + 4a7c15e9716ed28dc027beceea1ec40a + + -----TEST 1024 + + ALGORITHM: + Ed25519 + + SECRET KEY: + f5e5767cf153319517630f226876b86c + 8160cc583bc013744c6bf255f5cc0ee5 + + PUBLIC KEY: + 278117fc144c72340f67d0f2316e8386 + ceffbf2b2428c9c51fef7c597f1d426e + + MESSAGE (length 1023 bytes): + 08b8b2b733424243760fe426a4b54908 + 632110a66c2f6591eabd3345e3e4eb98 + fa6e264bf09efe12ee50f8f54e9f77b1 + e355f6c50544e23fb1433ddf73be84d8 + 79de7c0046dc4996d9e773f4bc9efe57 + 38829adb26c81b37c93a1b270b20329d + 658675fc6ea534e0810a4432826bf58c + 941efb65d57a338bbd2e26640f89ffbc + 1a858efcb8550ee3a5e1998bd177e93a + 7363c344fe6b199ee5d02e82d522c4fe + ba15452f80288a821a579116ec6dad2b + 3b310da903401aa62100ab5d1a36553e + + + +Josefsson & Liusvaara Informational [Page 25] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + + 06203b33890cc9b832f79ef80560ccb9 + a39ce767967ed628c6ad573cb116dbef + efd75499da96bd68a8a97b928a8bbc10 + 3b6621fcde2beca1231d206be6cd9ec7 + aff6f6c94fcd7204ed3455c68c83f4a4 + 1da4af2b74ef5c53f1d8ac70bdcb7ed1 + 85ce81bd84359d44254d95629e9855a9 + 4a7c1958d1f8ada5d0532ed8a5aa3fb2 + d17ba70eb6248e594e1a2297acbbb39d + 502f1a8c6eb6f1ce22b3de1a1f40cc24 + 554119a831a9aad6079cad88425de6bd + e1a9187ebb6092cf67bf2b13fd65f270 + 88d78b7e883c8759d2c4f5c65adb7553 + 878ad575f9fad878e80a0c9ba63bcbcc + 2732e69485bbc9c90bfbd62481d9089b + eccf80cfe2df16a2cf65bd92dd597b07 + 07e0917af48bbb75fed413d238f5555a + 7a569d80c3414a8d0859dc65a46128ba + b27af87a71314f318c782b23ebfe808b + 82b0ce26401d2e22f04d83d1255dc51a + ddd3b75a2b1ae0784504df543af8969b + e3ea7082ff7fc9888c144da2af58429e + c96031dbcad3dad9af0dcbaaaf268cb8 + fcffead94f3c7ca495e056a9b47acdb7 + 51fb73e666c6c655ade8297297d07ad1 + ba5e43f1bca32301651339e22904cc8c + 42f58c30c04aafdb038dda0847dd988d + cda6f3bfd15c4b4c4525004aa06eeff8 + ca61783aacec57fb3d1f92b0fe2fd1a8 + 5f6724517b65e614ad6808d6f6ee34df + f7310fdc82aebfd904b01e1dc54b2927 + 094b2db68d6f903b68401adebf5a7e08 + d78ff4ef5d63653a65040cf9bfd4aca7 + 984a74d37145986780fc0b16ac451649 + de6188a7dbdf191f64b5fc5e2ab47b57 + f7f7276cd419c17a3ca8e1b939ae49e4 + 88acba6b965610b5480109c8b17b80e1 + b7b750dfc7598d5d5011fd2dcc5600a3 + 2ef5b52a1ecc820e308aa342721aac09 + 43bf6686b64b2579376504ccc493d97e + 6aed3fb0f9cd71a43dd497f01f17c0e2 + cb3797aa2a2f256656168e6c496afc5f + b93246f6b1116398a346f1a641f3b041 + e989f7914f90cc2c7fff357876e506b5 + 0d334ba77c225bc307ba537152f3f161 + 0e4eafe595f6d9d90d11faa933a15ef1 + 369546868a7f3a45a96768d40fd9d034 + 12c091c6315cf4fde7cb68606937380d + + + +Josefsson & Liusvaara Informational [Page 26] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + + b2eaaa707b4c4185c32eddcdd306705e + 4dc1ffc872eeee475a64dfac86aba41c + 0618983f8741c5ef68d3a101e8a3b8ca + c60c905c15fc910840b94c00a0b9d0 + + SIGNATURE: + 0aab4c900501b3e24d7cdf4663326a3a + 87df5e4843b2cbdb67cbf6e460fec350 + aa5371b1508f9f4528ecea23c436d94b + 5e8fcd4f681e30a6ac00a9704a188a03 + + -----TEST SHA(abc) + + ALGORITHM: + Ed25519 + + SECRET KEY: + 833fe62409237b9d62ec77587520911e + 9a759cec1d19755b7da901b96dca3d42 + + PUBLIC KEY: + ec172b93ad5e563bf4932c70e1245034 + c35467ef2efd4d64ebf819683467e2bf + + MESSAGE (length 64 bytes): + ddaf35a193617abacc417349ae204131 + 12e6fa4e89a97ea20a9eeee64b55d39a + 2192992a274fc1a836ba3c23a3feebbd + 454d4423643ce80e2a9ac94fa54ca49f + + SIGNATURE: + dc2a4459e7369633a52b1bf277839a00 + 201009a3efbf3ecb69bea2186c26b589 + 09351fc9ac90b3ecfdfbc7c66431e030 + 3dca179c138ac17ad9bef1177331a704 + ----- + +7.2. Test Vectors for Ed25519ctx + + -----foo + + ALGORITHM: + Ed25519ctx + + SECRET KEY: + 0305334e381af78f141cb666f6199f57 + bc3495335a256a95bd2a55bf546663f6 + + + + +Josefsson & Liusvaara Informational [Page 27] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + + PUBLIC KEY: + dfc9425e4f968f7f0c29f0259cf5f9ae + d6851c2bb4ad8bfb860cfee0ab248292 + + MESSAGE (length 16 bytes): + f726936d19c800494e3fdaff20b276a8 + + CONTEXT: + 666f6f + + SIGNATURE: + 55a4cc2f70a54e04288c5f4cd1e45a7b + b520b36292911876cada7323198dd87a + 8b36950b95130022907a7fb7c4e9b2d5 + f6cca685a587b4b21f4b888e4e7edb0d + + -----bar + + ALGORITHM: + Ed25519ctx + + SECRET KEY: + 0305334e381af78f141cb666f6199f57 + bc3495335a256a95bd2a55bf546663f6 + + PUBLIC KEY: + dfc9425e4f968f7f0c29f0259cf5f9ae + d6851c2bb4ad8bfb860cfee0ab248292 + + MESSAGE (length 16 bytes): + f726936d19c800494e3fdaff20b276a8 + + CONTEXT: + 626172 + + SIGNATURE: + fc60d5872fc46b3aa69f8b5b4351d580 + 8f92bcc044606db097abab6dbcb1aee3 + 216c48e8b3b66431b5b186d1d28f8ee1 + 5a5ca2df6668346291c2043d4eb3e90d + + -----foo2 + + ALGORITHM: + Ed25519ctx + + + + + + +Josefsson & Liusvaara Informational [Page 28] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + + SECRET KEY: + 0305334e381af78f141cb666f6199f57 + bc3495335a256a95bd2a55bf546663f6 + + PUBLIC KEY: + dfc9425e4f968f7f0c29f0259cf5f9ae + d6851c2bb4ad8bfb860cfee0ab248292 + + MESSAGE (length 16 bytes): + 508e9e6882b979fea900f62adceaca35 + + CONTEXT: + 666f6f + + SIGNATURE: + 8b70c1cc8310e1de20ac53ce28ae6e72 + 07f33c3295e03bb5c0732a1d20dc6490 + 8922a8b052cf99b7c4fe107a5abb5b2c + 4085ae75890d02df26269d8945f84b0b + + -----foo3 + + ALGORITHM: + Ed25519ctx + + SECRET KEY: + ab9c2853ce297ddab85c993b3ae14bca + d39b2c682beabc27d6d4eb20711d6560 + + PUBLIC KEY: + 0f1d1274943b91415889152e893d80e9 + 3275a1fc0b65fd71b4b0dda10ad7d772 + + MESSAGE (length 16 bytes): + f726936d19c800494e3fdaff20b276a8 + + CONTEXT: + 666f6f + + SIGNATURE: + 21655b5f1aa965996b3f97b3c849eafb + a922a0a62992f73b3d1b73106a84ad85 + e9b86a7b6005ea868337ff2d20a7f5fb + d4cd10b0be49a68da2b2e0dc0ad8960f + ----- + + + + + + +Josefsson & Liusvaara Informational [Page 29] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + +7.3. Test Vectors for Ed25519ph + + -----TEST abc + + ALGORITHM: + Ed25519ph + + SECRET KEY: + 833fe62409237b9d62ec77587520911e + 9a759cec1d19755b7da901b96dca3d42 + + PUBLIC KEY: + ec172b93ad5e563bf4932c70e1245034 + c35467ef2efd4d64ebf819683467e2bf + + MESSAGE (length 3 bytes): + 616263 + + SIGNATURE: + 98a70222f0b8121aa9d30f813d683f80 + 9e462b469c7ff87639499bb94e6dae41 + 31f85042463c2a355a2003d062adf5aa + a10b8c61e636062aaad11c2a26083406 + ----- + +7.4. Test Vectors for Ed448 + + -----Blank + + ALGORITHM: + Ed448 + + SECRET KEY: + 6c82a562cb808d10d632be89c8513ebf + 6c929f34ddfa8c9f63c9960ef6e348a3 + 528c8a3fcc2f044e39a3fc5b94492f8f + 032e7549a20098f95b + + PUBLIC KEY: + 5fd7449b59b461fd2ce787ec616ad46a + 1da1342485a70e1f8a0ea75d80e96778 + edf124769b46c7061bd6783df1e50f6c + d1fa1abeafe8256180 + + MESSAGE (length 0 bytes): + + + + + + +Josefsson & Liusvaara Informational [Page 30] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + + SIGNATURE: + 533a37f6bbe457251f023c0d88f976ae + 2dfb504a843e34d2074fd823d41a591f + 2b233f034f628281f2fd7a22ddd47d78 + 28c59bd0a21bfd3980ff0d2028d4b18a + 9df63e006c5d1c2d345b925d8dc00b41 + 04852db99ac5c7cdda8530a113a0f4db + b61149f05a7363268c71d95808ff2e65 + 2600 + + -----1 octet + + ALGORITHM: + Ed448 + + SECRET KEY: + c4eab05d357007c632f3dbb48489924d + 552b08fe0c353a0d4a1f00acda2c463a + fbea67c5e8d2877c5e3bc397a659949e + f8021e954e0a12274e + + PUBLIC KEY: + 43ba28f430cdff456ae531545f7ecd0a + c834a55d9358c0372bfa0c6c6798c086 + 6aea01eb00742802b8438ea4cb82169c + 235160627b4c3a9480 + + MESSAGE (length 1 byte): + 03 + + SIGNATURE: + 26b8f91727bd62897af15e41eb43c377 + efb9c610d48f2335cb0bd0087810f435 + 2541b143c4b981b7e18f62de8ccdf633 + fc1bf037ab7cd779805e0dbcc0aae1cb + cee1afb2e027df36bc04dcecbf154336 + c19f0af7e0a6472905e799f1953d2a0f + f3348ab21aa4adafd1d234441cf807c0 + 3a00 + + -----1 octet (with context) + + ALGORITHM: + Ed448 + + + + + + + +Josefsson & Liusvaara Informational [Page 31] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + + SECRET KEY: + c4eab05d357007c632f3dbb48489924d + 552b08fe0c353a0d4a1f00acda2c463a + fbea67c5e8d2877c5e3bc397a659949e + f8021e954e0a12274e + + PUBLIC KEY: + 43ba28f430cdff456ae531545f7ecd0a + c834a55d9358c0372bfa0c6c6798c086 + 6aea01eb00742802b8438ea4cb82169c + 235160627b4c3a9480 + + MESSAGE (length 1 byte): + 03 + + CONTEXT: + 666f6f + + SIGNATURE: + d4f8f6131770dd46f40867d6fd5d5055 + de43541f8c5e35abbcd001b32a89f7d2 + 151f7647f11d8ca2ae279fb842d60721 + 7fce6e042f6815ea000c85741de5c8da + 1144a6a1aba7f96de42505d7a7298524 + fda538fccbbb754f578c1cad10d54d0d + 5428407e85dcbc98a49155c13764e66c + 3c00 + + -----11 octets + + ALGORITHM: + Ed448 + + SECRET KEY: + cd23d24f714274e744343237b93290f5 + 11f6425f98e64459ff203e8985083ffd + f60500553abc0e05cd02184bdb89c4cc + d67e187951267eb328 + + PUBLIC KEY: + dcea9e78f35a1bf3499a831b10b86c90 + aac01cd84b67a0109b55a36e9328b1e3 + 65fce161d71ce7131a543ea4cb5f7e9f + 1d8b00696447001400 + + MESSAGE (length 11 bytes): + 0c3e544074ec63b0265e0c + + + + +Josefsson & Liusvaara Informational [Page 32] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + + SIGNATURE: + 1f0a8888ce25e8d458a21130879b840a + 9089d999aaba039eaf3e3afa090a09d3 + 89dba82c4ff2ae8ac5cdfb7c55e94d5d + 961a29fe0109941e00b8dbdeea6d3b05 + 1068df7254c0cdc129cbe62db2dc957d + bb47b51fd3f213fb8698f064774250a5 + 028961c9bf8ffd973fe5d5c206492b14 + 0e00 + + -----12 octets + + ALGORITHM: + Ed448 + + SECRET KEY: + 258cdd4ada32ed9c9ff54e63756ae582 + fb8fab2ac721f2c8e676a72768513d93 + 9f63dddb55609133f29adf86ec9929dc + cb52c1c5fd2ff7e21b + + PUBLIC KEY: + 3ba16da0c6f2cc1f30187740756f5e79 + 8d6bc5fc015d7c63cc9510ee3fd44adc + 24d8e968b6e46e6f94d19b945361726b + d75e149ef09817f580 + + MESSAGE (length 12 bytes): + 64a65f3cdedcdd66811e2915 + + SIGNATURE: + 7eeeab7c4e50fb799b418ee5e3197ff6 + bf15d43a14c34389b59dd1a7b1b85b4a + e90438aca634bea45e3a2695f1270f07 + fdcdf7c62b8efeaf00b45c2c96ba457e + b1a8bf075a3db28e5c24f6b923ed4ad7 + 47c3c9e03c7079efb87cb110d3a99861 + e72003cbae6d6b8b827e4e6c143064ff + 3c00 + + -----13 octets + + ALGORITHM: + Ed448 + + + + + + + +Josefsson & Liusvaara Informational [Page 33] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + + SECRET KEY: + 7ef4e84544236752fbb56b8f31a23a10 + e42814f5f55ca037cdcc11c64c9a3b29 + 49c1bb60700314611732a6c2fea98eeb + c0266a11a93970100e + + PUBLIC KEY: + b3da079b0aa493a5772029f0467baebe + e5a8112d9d3a22532361da294f7bb381 + 5c5dc59e176b4d9f381ca0938e13c6c0 + 7b174be65dfa578e80 + + MESSAGE (length 13 bytes): + 64a65f3cdedcdd66811e2915e7 + + SIGNATURE: + 6a12066f55331b6c22acd5d5bfc5d712 + 28fbda80ae8dec26bdd306743c5027cb + 4890810c162c027468675ecf645a8317 + 6c0d7323a2ccde2d80efe5a1268e8aca + 1d6fbc194d3f77c44986eb4ab4177919 + ad8bec33eb47bbb5fc6e28196fd1caf5 + 6b4e7e0ba5519234d047155ac727a105 + 3100 + + -----64 octets + + ALGORITHM: + Ed448 + + SECRET KEY: + d65df341ad13e008567688baedda8e9d + cdc17dc024974ea5b4227b6530e339bf + f21f99e68ca6968f3cca6dfe0fb9f4fa + b4fa135d5542ea3f01 + + PUBLIC KEY: + df9705f58edbab802c7f8363cfe5560a + b1c6132c20a9f1dd163483a26f8ac53a + 39d6808bf4a1dfbd261b099bb03b3fb5 + 0906cb28bd8a081f00 + + MESSAGE (length 64 bytes): + bd0f6a3747cd561bdddf4640a332461a + 4a30a12a434cd0bf40d766d9c6d458e5 + 512204a30c17d1f50b5079631f64eb31 + 12182da3005835461113718d1a5ef944 + + + + +Josefsson & Liusvaara Informational [Page 34] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + + SIGNATURE: + 554bc2480860b49eab8532d2a533b7d5 + 78ef473eeb58c98bb2d0e1ce488a98b1 + 8dfde9b9b90775e67f47d4a1c3482058 + efc9f40d2ca033a0801b63d45b3b722e + f552bad3b4ccb667da350192b61c508c + f7b6b5adadc2c8d9a446ef003fb05cba + 5f30e88e36ec2703b349ca229c267083 + 3900 + + -----256 octets + + ALGORITHM: + Ed448 + + SECRET KEY: + 2ec5fe3c17045abdb136a5e6a913e32a + b75ae68b53d2fc149b77e504132d3756 + 9b7e766ba74a19bd6162343a21c8590a + a9cebca9014c636df5 + + PUBLIC KEY: + 79756f014dcfe2079f5dd9e718be4171 + e2ef2486a08f25186f6bff43a9936b9b + fe12402b08ae65798a3d81e22e9ec80e + 7690862ef3d4ed3a00 + + MESSAGE (length 256 bytes): + 15777532b0bdd0d1389f636c5f6b9ba7 + 34c90af572877e2d272dd078aa1e567c + fa80e12928bb542330e8409f31745041 + 07ecd5efac61ae7504dabe2a602ede89 + e5cca6257a7c77e27a702b3ae39fc769 + fc54f2395ae6a1178cab4738e543072f + c1c177fe71e92e25bf03e4ecb72f47b6 + 4d0465aaea4c7fad372536c8ba516a60 + 39c3c2a39f0e4d832be432dfa9a706a6 + e5c7e19f397964ca4258002f7c0541b5 + 90316dbc5622b6b2a6fe7a4abffd9610 + 5eca76ea7b98816af0748c10df048ce0 + 12d901015a51f189f3888145c03650aa + 23ce894c3bd889e030d565071c59f409 + a9981b51878fd6fc110624dcbcde0bf7 + a69ccce38fabdf86f3bef6044819de11 + + + + + + + +Josefsson & Liusvaara Informational [Page 35] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + + SIGNATURE: + c650ddbb0601c19ca11439e1640dd931 + f43c518ea5bea70d3dcde5f4191fe53f + 00cf966546b72bcc7d58be2b9badef28 + 743954e3a44a23f880e8d4f1cfce2d7a + 61452d26da05896f0a50da66a239a8a1 + 88b6d825b3305ad77b73fbac0836ecc6 + 0987fd08527c1a8e80d5823e65cafe2a + 3d00 + + -----1023 octets + + ALGORITHM: + Ed448 + + SECRET KEY: + 872d093780f5d3730df7c212664b37b8 + a0f24f56810daa8382cd4fa3f77634ec + 44dc54f1c2ed9bea86fafb7632d8be19 + 9ea165f5ad55dd9ce8 + + PUBLIC KEY: + a81b2e8a70a5ac94ffdbcc9badfc3feb + 0801f258578bb114ad44ece1ec0e799d + a08effb81c5d685c0c56f64eecaef8cd + f11cc38737838cf400 + + MESSAGE (length 1023 bytes): + 6ddf802e1aae4986935f7f981ba3f035 + 1d6273c0a0c22c9c0e8339168e675412 + a3debfaf435ed651558007db4384b650 + fcc07e3b586a27a4f7a00ac8a6fec2cd + 86ae4bf1570c41e6a40c931db27b2faa + 15a8cedd52cff7362c4e6e23daec0fbc + 3a79b6806e316efcc7b68119bf46bc76 + a26067a53f296dafdbdc11c77f7777e9 + 72660cf4b6a9b369a6665f02e0cc9b6e + dfad136b4fabe723d2813db3136cfde9 + b6d044322fee2947952e031b73ab5c60 + 3349b307bdc27bc6cb8b8bbd7bd32321 + 9b8033a581b59eadebb09b3c4f3d2277 + d4f0343624acc817804728b25ab79717 + 2b4c5c21a22f9c7839d64300232eb66e + 53f31c723fa37fe387c7d3e50bdf9813 + a30e5bb12cf4cd930c40cfb4e1fc6225 + 92a49588794494d56d24ea4b40c89fc0 + 596cc9ebb961c8cb10adde976a5d602b + 1c3f85b9b9a001ed3c6a4d3b1437f520 + + + +Josefsson & Liusvaara Informational [Page 36] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + + 96cd1956d042a597d561a596ecd3d173 + 5a8d570ea0ec27225a2c4aaff26306d1 + 526c1af3ca6d9cf5a2c98f47e1c46db9 + a33234cfd4d81f2c98538a09ebe76998 + d0d8fd25997c7d255c6d66ece6fa56f1 + 1144950f027795e653008f4bd7ca2dee + 85d8e90f3dc315130ce2a00375a318c7 + c3d97be2c8ce5b6db41a6254ff264fa6 + 155baee3b0773c0f497c573f19bb4f42 + 40281f0b1f4f7be857a4e59d416c06b4 + c50fa09e1810ddc6b1467baeac5a3668 + d11b6ecaa901440016f389f80acc4db9 + 77025e7f5924388c7e340a732e554440 + e76570f8dd71b7d640b3450d1fd5f041 + 0a18f9a3494f707c717b79b4bf75c984 + 00b096b21653b5d217cf3565c9597456 + f70703497a078763829bc01bb1cbc8fa + 04eadc9a6e3f6699587a9e75c94e5bab + 0036e0b2e711392cff0047d0d6b05bd2 + a588bc109718954259f1d86678a579a3 + 120f19cfb2963f177aeb70f2d4844826 + 262e51b80271272068ef5b3856fa8535 + aa2a88b2d41f2a0e2fda7624c2850272 + ac4a2f561f8f2f7a318bfd5caf969614 + 9e4ac824ad3460538fdc25421beec2cc + 6818162d06bbed0c40a387192349db67 + a118bada6cd5ab0140ee273204f628aa + d1c135f770279a651e24d8c14d75a605 + 9d76b96a6fd857def5e0b354b27ab937 + a5815d16b5fae407ff18222c6d1ed263 + be68c95f32d908bd895cd76207ae7264 + 87567f9a67dad79abec316f683b17f2d + 02bf07e0ac8b5bc6162cf94697b3c27c + d1fea49b27f23ba2901871962506520c + 392da8b6ad0d99f7013fbc06c2c17a56 + 9500c8a7696481c1cd33e9b14e40b82e + 79a5f5db82571ba97bae3ad3e0479515 + bb0e2b0f3bfcd1fd33034efc6245eddd + 7ee2086ddae2600d8ca73e214e8c2b0b + db2b047c6a464a562ed77b73d2d841c4 + b34973551257713b753632efba348169 + abc90a68f42611a40126d7cb21b58695 + 568186f7e569d2ff0f9e745d0487dd2e + b997cafc5abf9dd102e62ff66cba87 + + + + + + + +Josefsson & Liusvaara Informational [Page 37] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + + SIGNATURE: + e301345a41a39a4d72fff8df69c98075 + a0cc082b802fc9b2b6bc503f926b65bd + df7f4c8f1cb49f6396afc8a70abe6d8a + ef0db478d4c6b2970076c6a0484fe76d + 76b3a97625d79f1ce240e7c576750d29 + 5528286f719b413de9ada3e8eb78ed57 + 3603ce30d8bb761785dc30dbc320869e + 1a00 + ----- + +7.5. Test Vectors for Ed448ph + + -----TEST abc + + ALGORITHM: + Ed448ph + + SECRET KEY: + 833fe62409237b9d62ec77587520911e + 9a759cec1d19755b7da901b96dca3d42 + ef7822e0d5104127dc05d6dbefde69e3 + ab2cec7c867c6e2c49 + + PUBLIC KEY: + 259b71c19f83ef77a7abd26524cbdb31 + 61b590a48f7d17de3ee0ba9c52beb743 + c09428a131d6b1b57303d90d8132c276 + d5ed3d5d01c0f53880 + + MESSAGE (length 3 bytes): + 616263 + + SIGNATURE: + 822f6901f7480f3d5f562c592994d969 + 3602875614483256505600bbc281ae38 + 1f54d6bce2ea911574932f52a4e6cadd + 78769375ec3ffd1b801a0d9b3f4030cd + 433964b6457ea39476511214f97469b5 + 7dd32dbc560a9a94d00bff07620464a3 + ad203df7dc7ce360c3cd3696d9d9fab9 + 0f00 + + + + + + + + + +Josefsson & Liusvaara Informational [Page 38] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + + -----TEST abc (with context) + + ALGORITHM: + Ed448ph + + SECRET KEY: + 833fe62409237b9d62ec77587520911e + 9a759cec1d19755b7da901b96dca3d42 + ef7822e0d5104127dc05d6dbefde69e3 + ab2cec7c867c6e2c49 + + PUBLIC KEY: + 259b71c19f83ef77a7abd26524cbdb31 + 61b590a48f7d17de3ee0ba9c52beb743 + c09428a131d6b1b57303d90d8132c276 + d5ed3d5d01c0f53880 + + MESSAGE (length 3 bytes): + 616263 + + CONTEXT: + 666f6f + + SIGNATURE: + c32299d46ec8ff02b54540982814dce9 + a05812f81962b649d528095916a2aa48 + 1065b1580423ef927ecf0af5888f90da + 0f6a9a85ad5dc3f280d91224ba9911a3 + 653d00e484e2ce232521481c8658df30 + 4bb7745a73514cdb9bf3e15784ab7128 + 4f8d0704a608c54a6b62d97beb511d13 + 2100 + ----- + + + + + + + + + + + + + + + + + + +Josefsson & Liusvaara Informational [Page 39] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + +8. Security Considerations + +8.1. Side-Channel Leaks + + For implementations performing signatures, secrecy of the private key + is fundamental. It is possible to protect against some side-channel + attacks by ensuring that the implementation executes exactly the same + sequence of instructions and performs exactly the same memory + accesses, for any value of the private key. + + To make an implementation side-channel silent in this way, the modulo + p arithmetic must not use any data-dependent branches, e.g., related + to carry propagation. Side-channel silent point addition is + straightforward, thanks to the unified formulas. + + Scalar multiplication, multiplying a point by an integer, needs some + additional effort to implement in a side-channel silent manner. One + simple approach is to implement a side-channel silent conditional + assignment, and use it together with the binary algorithm to examine + one bit of the integer at a time. + + Compared to other signature schemes, avoiding data-dependent branches + is easier due to side-channel silent modulo p arithmetic being easier + (with recommended curves) and having complete addition formulas + instead of having a number of special cases. + + Note that the example implementations in this document do not attempt + to be side-channel silent. + +8.2. Randomness Considerations + + EdDSA signatures are deterministic. This protects against attacks + arising from signing with bad randomness; the effects of which can, + depending on the algorithm, range up to full private key compromise. + It can be surprisingly hard to ensure good-quality random numbers, + and there have been numerous security failures relating to this. + + Obviously, private key generation requires randomness, but due to the + fact that the private key is hashed before use, a few missing bits of + entropy doesn't constitute a disaster. + + The basic signature verification is also deterministic. However, + some speedups by verifying multiple signatures at once do require + random numbers. + + + + + + + +Josefsson & Liusvaara Informational [Page 40] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + +8.3. Use of Contexts + + Contexts can be used to separate uses of the protocol between + different protocols (which is very hard to reliably do otherwise) and + between different uses within the same protocol. However, the + following SHOULD be kept in mind when using this facility: + + The context SHOULD be a constant string specified by the protocol + using it. It SHOULD NOT incorporate variable elements from the + message itself. + + Contexts SHOULD NOT be used opportunistically, as that kind of use + is very error prone. If contexts are used, one SHOULD require all + signature schemes available for use in that purpose support + contexts. + + Contexts are an extra input, which percolate out of APIs; as such, + even if the signature scheme supports contexts, those may not be + available for use. This problem is compounded by the fact that + many times the application is not invoking the signing and + verification functions directly but via some other protocol. + +8.4. Signature Malleability + + Some systems assume signatures are not malleable: that is, given a + valid signature for some message under some key, the attacker can't + produce another valid signature for the same message and key. + + Ed25519 and Ed448 signatures are not malleable due to the + verification check that decoded S is smaller than l. Without this + check, one can add a multiple of l into a scalar part and still pass + signature verification, resulting in malleable signatures. + +8.5. Choice of Signature Primitive + + Ed25519 and Ed25519ph have a nominal strength of 128 bits, whereas + Ed448 and Ed448ph have the strength of 224. While the lower strength + is sufficient for the foreseeable future, the higher level brings + some defense against possible future cryptographic advances. Both + are demolished by quantum computers just about the same. + + The Ed25519ph and Ed448ph variants are prehashed. This is mainly + useful for interoperation with legacy APIs, since in most of the + cases, either the amount of data signed is not large or the protocol + is in the position to do digesting in ways better than just + prehashing (e.g., tree hashing or splitting the data). The + + + + + +Josefsson & Liusvaara Informational [Page 41] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + + prehashing also makes the functions greatly more vulnerable to + weaknesses in hash functions used. These variants SHOULD NOT be + used. + + Ed25519ctx and Ed448 have contexts. However, this is balanced by the + problems noted in Section 8.3 about contexts. + + On the implementation front, Ed25519 is widely implemented and has + many high-quality implementations. The others have much worse + support. + + In summary, if a high 128-bit security level is enough, use of + Ed25519 is RECOMMENDED; otherwise, Ed448 is RECOMMENDED. + +8.6. Mixing Different Prehashes + + The schemes described in this document are designed to be resistant + to mixing prehashes. That is, it is infeasible to find a message + that verifies using the same signature under another scheme, even if + the original signed message was chosen. Thus, one can use the same + key pair for Ed25519, Ed25519ctx, and Ed25519ph and correspondingly + with Ed448 and Ed448ph. + + The "SigEd25519 no Ed25519 collisions" constant is chosen to be a + textual string such that it does not decode as a point. Because the + inner hash input in the Ed25519 signature always starts with a valid + point, there is no way trivial collision can be constructed. In the + case of seed hash, trivial collisions are so unlikely, even with an + attacker choosing all inputs, that it is much more probable that + something else goes catastrophically wrong. + +8.7. Signing Large Amounts of Data at Once + + Avoid signing large amounts of data at once (where "large" depends on + the expected verifier). In particular, unless the underlying + protocol does not require it, the receiver MUST buffer the entire + message (or enough information to reconstruct it, e.g., compressed or + encrypted version) to be verified. + + This is needed because most of the time, it is unsafe to process + unverified data, and verifying the signature makes a pass through the + whole message, causing ultimately at least two passes through. + + As an API consideration, this means that any Initialize Update + Finalize (IFU) verification interface is prone to misuse. + + + + + + +Josefsson & Liusvaara Informational [Page 42] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + + It is a bad idea to modify Ed25519 or Ed448 signing to be able to + create valid Ed25519/Ed448 signatures using an IUF interface with + only constant buffering. Pretty much any error in such would cause + catastrophic security failure. + +8.8. Multiplication by Cofactor in Verification + + The given verification formulas for both Ed25519 and Ed448 multiply + points by the cofactor. While this is not strictly necessary for + security (in fact, any signature that meets the non-multiplied + equation will satisfy the multiplied one), in some applications it is + undesirable for implementations to disagree about the exact set of + valid signatures. Such disagreements could open up, e.g., + fingerprinting attacks. + +8.9. Use of SHAKE256 as a Hash Function + + Ed448 uses SHAKE256 as a hash function, even if SHAKE256 is + specifically defined not to be a hash function. + + The first potentially troublesome property is that shorter outputs + are prefixes of longer ones. This is acceptable because output + lengths are fixed. + + The second potentially troublesome property is failing to meet + standard hash security notions (especially with preimages). However, + the estimated 256-bit security level against collisions and preimages + is sufficient to pair with a 224-bit level elliptic curve. + +9. References + +9.1. Normative References + + [FIPS202] National Institute of Standards and Technology, "SHA-3 + Standard: Permutation-Based Hash and Extendable-Output + Functions", FIPS PUB 202, August 2015, + . + + [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate + Requirement Levels", BCP 14, RFC 2119, DOI + 10.17487/RFC2119, March 1997, + . + + [RFC6234] Eastlake 3rd, D. and T. Hansen, "US Secure Hash Algorithms + (SHA and SHA-based HMAC and HKDF)", RFC 6234, + DOI 10.17487/RFC6234, May 2011, + . + + + + +Josefsson & Liusvaara Informational [Page 43] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + + [RFC7748] Langley, A., Hamburg, M., and S. Turner, "Elliptic Curves + for Security", RFC 7748, DOI 10.17487/RFC7748, January + 2016, . + +9.2. Informative References + + [CURVE25519] + Bernstein, D., "Curve25519: new Diffie-Hellman speed + records", DOI 10.1007/11745853_14, February 2006, + . + + [ED25519-LIBGCRYPT-TEST-VECTORS] + Koch, W., "Ed25519 Libgcrypt test vectors", July 2014, + . + + [ED25519-TEST-VECTORS] + Bernstein, D., Duif, N., Lange, T., Schwabe, P., and B. + Yang, "Ed25519 test vectors", July 2011, + . + + [ED448] Hamburg, M., "Ed448-Goldilocks, a new elliptic curve", + June 2015, . + + [EDDSA] Bernstein, D., Duif, N., Lange, T., Schwabe, P., and B. + Yang, "High-speed high-security signatures", + DOI 10.1007/978-3-642-23951-9_9, September 2011, + . + + [EDDSA2] Bernstein, D., Josefsson, S., Lange, T., Schwabe, P., and + B. Yang, "EdDSA for more curves", July 2015, + . + + [Edwards-revisited] + Hisil, H., Wong, K., Carter, G., and E. Dawson, "Twisted + Edwards Curves Revisited", + DOI 10.1007/978-3-540-89255-7_20, December 2008, + . + + [EFD-ADD] Bernstein, D. and T. Lange, "Projective coordinates for + Edwards curves", The 'add-2007-bl' addition formulas, + 2007, . + + + + + + +Josefsson & Liusvaara Informational [Page 44] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + + [EFD-DBL] Bernstein, D. and T. Lange, "Projective coordinates for + Edwards curves", The 'dbl-2007-bl' doubling formulas, + 2007, . + + [EFD-TWISTED-ADD] + Hisil, H., Wong, K., Carter, G., and E. Dawson, "Extended + coordinates with a=-1 for twisted Edwards curves", The + 'add-2008-hwcd-3' addition formulas, December 2008, + . + + [EFD-TWISTED-DBL] + Hisil, H., Wong, K., Carter, G., and E. Dawson, "Extended + coordinates with a=-1 for twisted Edwards curves", The + 'dbl-2008-hwcd' doubling formulas, December 2008, + . + + [Faster-ECC] + Bernstein, D. and T. Lange, "Faster addition and doubling + on elliptic curves", DOI 10.1007/978-3-540-76900-2_3, + July 2007, . + + [RFC4086] Eastlake 3rd, D., Schiller, J., and S. Crocker, + "Randomness Requirements for Security", BCP 106, RFC 4086, + DOI 10.17487/RFC4086, June 2005, + . + + + + + + + + + + + + + + + + + + + + + + + +Josefsson & Liusvaara Informational [Page 45] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + +Appendix A. Ed25519/Ed448 Python Library + + Below is an example implementation of Ed25519/Ed448 written in + Python; version 3.2 or higher is required. + + Note: This code is not intended for production. Although it should + produce correct results for every input, it is slow and makes no + attempt to avoid side-channel attacks. + +import hashlib; +import os; + +#Compute candidate square root of x modulo p, with p = 3 (mod 4). +def sqrt4k3(x,p): return pow(x,(p + 1)//4,p) + +#Compute candidate square root of x modulo p, with p = 5 (mod 8). +def sqrt8k5(x,p): + y = pow(x,(p+3)//8,p) + #If the square root exists, it is either y or y*2^(p-1)/4. + if (y * y) % p == x % p: return y + else: + z = pow(2,(p - 1)//4,p) + return (y * z) % p + +#Decode a hexadecimal string representation of the integer. +def hexi(s): return int.from_bytes(bytes.fromhex(s),byteorder="big") + +#Rotate a word x by b places to the left. +def rol(x,b): return ((x << b) | (x >> (64 - b))) & (2**64-1) + +#From little endian. +def from_le(s): return int.from_bytes(s, byteorder="little") + +#Do the SHA-3 state transform on state s. +def sha3_transform(s): + ROTATIONS = [0,1,62,28,27,36,44,6,55,20,3,10,43,25,39,41,45,15,\ + 21,8,18,2,61,56,14] + PERMUTATION = [1,6,9,22,14,20,2,12,13,19,23,15,4,24,21,8,16,5,3,\ + 18,17,11,7,10] + RC = [0x0000000000000001,0x0000000000008082,0x800000000000808a,\ + 0x8000000080008000,0x000000000000808b,0x0000000080000001,\ + 0x8000000080008081,0x8000000000008009,0x000000000000008a,\ + 0x0000000000000088,0x0000000080008009,0x000000008000000a,\ + 0x000000008000808b,0x800000000000008b,0x8000000000008089,\ + 0x8000000000008003,0x8000000000008002,0x8000000000000080,\ + 0x000000000000800a,0x800000008000000a,0x8000000080008081,\ + 0x8000000000008080,0x0000000080000001,0x8000000080008008] + + + + +Josefsson & Liusvaara Informational [Page 46] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + + for rnd in range(0,24): + #AddColumnParity (Theta) + c = [0]*5; + d = [0]*5; + for i in range(0,25): c[i%5]^=s[i] + for i in range(0,5): d[i]=c[(i+4)%5]^rol(c[(i+1)%5],1) + for i in range(0,25): s[i]^=d[i%5] + #RotateWords (Rho) + for i in range(0,25): s[i]=rol(s[i],ROTATIONS[i]) + #PermuteWords (Pi) + t = s[PERMUTATION[0]] + for i in range(0,len(PERMUTATION)-1): + s[PERMUTATION[i]]=s[PERMUTATION[i+1]] + s[PERMUTATION[-1]]=t; + #NonlinearMixRows (Chi) + for i in range(0,25,5): + t=[s[i],s[i+1],s[i+2],s[i+3],s[i+4],s[i],s[i+1]] + for j in range(0,5): s[i+j]=t[j]^((~t[j+1])&(t[j+2])) + #AddRoundConstant (Iota) + s[0]^=RC[rnd] + +#Reinterpret octet array b to word array and XOR it to state s. +def reinterpret_to_words_and_xor(s,b): + for j in range(0,len(b)//8): + s[j]^=from_le(b[8*j:][:8]) + +#Reinterpret word array w to octet array and return it. +def reinterpret_to_octets(w): + mp=bytearray() + for j in range(0,len(w)): + mp+=w[j].to_bytes(8,byteorder="little") + return mp + + + + + + + + + + + + + + + + + + + +Josefsson & Liusvaara Informational [Page 47] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + +#(semi-)generic SHA-3 implementation +def sha3_raw(msg,r_w,o_p,e_b): + r_b=8*r_w + s=[0]*25 + #Handle whole blocks. + idx=0 + blocks=len(msg)//r_b + for i in range(0,blocks): + reinterpret_to_words_and_xor(s,msg[idx:][:r_b]) + idx+=r_b + sha3_transform(s) + #Handle last block padding. + m=bytearray(msg[idx:]) + m.append(o_p) + while len(m) < r_b: m.append(0) + m[len(m)-1]|=128 + #Handle padded last block. + reinterpret_to_words_and_xor(s,m) + sha3_transform(s) + #Output. + out = bytearray() + while len(out)>((b-1)&7) + #Decode y. If this fails, fail. + y = self.base_field.frombytes(s,b) + if y is None: return (None,None) + #Try to recover x. If it does not exist, or if zero and xs + #are wrong, fail. + x=self.solve_x2(y).sqrt() + if x is None or (x.iszero() and xs!=x.sign()): + return (None,None) + #If sign of x isn't correct, flip it. + if x.sign()!=xs: x=-x + # Return the constructed point. + return (x,y) + def encode_base(self,b): + xp,yp=self.x/self.z,self.y/self.z + #Encode y. + s=bytearray(yp.tobytes(b)) + #Add sign bit of x to encoding. + if xp.sign()!=0: s[(b-1)//8]|=1<<(b-1)%8 + return s + + + +Josefsson & Liusvaara Informational [Page 50] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + + def __mul__(self,x): + r=self.zero_elem() + s=self + while x > 0: + if (x%2)>0: + r=r+s + s=s.double() + x=x//2 + return r + #Check that two points are equal. + def __eq__(self,y): + #Need to check x1/z1 == x2/z2 and similarly for y, so cross + #multiply to eliminate divisions. + xn1=self.x*y.z + xn2=y.x*self.z + yn1=self.y*y.z + yn2=y.y*self.z + return xn1==xn2 and yn1==yn2 + #Check if two points are not equal. + def __ne__(self,y): return not (self==y) + +#A point on Edwards25519. +class Edwards25519Point(EdwardsPoint): + #Create a new point on the curve. + base_field=Field(1,2**255-19) + d=-base_field.make(121665)/base_field.make(121666) + f0=base_field.make(0) + f1=base_field.make(1) + xb=base_field.make(hexi("216936D3CD6E53FEC0A4E231FDD6DC5C692CC76"+\ + "09525A7B2C9562D608F25D51A")) + yb=base_field.make(hexi("666666666666666666666666666666666666666"+\ + "6666666666666666666666658")) + #The standard base point. + @staticmethod + def stdbase(): + return Edwards25519Point(Edwards25519Point.xb,\ + Edwards25519Point.yb) + def __init__(self,x,y): + #Check the point is actually on the curve. + if y*y-x*x!=self.f1+self.d*x*x*y*y: + raise ValueError("Invalid point") + self.initpoint(x, y) + self.t=x*y + #Decode a point representation. + def decode(self,s): + x,y=self.decode_base(s,256); + return Edwards25519Point(x, y) if x is not None else None + + + + +Josefsson & Liusvaara Informational [Page 51] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + + #Encode a point representation. + def encode(self): + return self.encode_base(256) + #Construct a neutral point on this curve. + def zero_elem(self): + return Edwards25519Point(self.f0,self.f1) + #Solve for x^2. + def solve_x2(self,y): + return ((y*y-self.f1)/(self.d*y*y+self.f1)) + #Point addition. + def __add__(self,y): + #The formulas are from EFD. + tmp=self.zero_elem() + zcp=self.z*y.z + A=(self.y-self.x)*(y.y-y.x) + B=(self.y+self.x)*(y.y+y.x) + C=(self.d+self.d)*self.t*y.t + D=zcp+zcp + E,H=B-A,B+A + F,G=D-C,D+C + tmp.x,tmp.y,tmp.z,tmp.t=E*F,G*H,F*G,E*H + return tmp + #Point doubling. + def double(self): + #The formulas are from EFD (with assumption a=-1 propagated). + tmp=self.zero_elem() + A=self.x*self.x + B=self.y*self.y + Ch=self.z*self.z + C=Ch+Ch + H=A+B + xys=self.x+self.y + E=H-xys*xys + G=A-B + F=C+G + tmp.x,tmp.y,tmp.z,tmp.t=E*F,G*H,F*G,E*H + return tmp + #Order of basepoint. + def l(self): + return hexi("1000000000000000000000000000000014def9dea2f79cd"+\ + "65812631a5cf5d3ed") + #The logarithm of cofactor. + def c(self): return 3 + #The highest set bit + def n(self): return 254 + #The coding length + def b(self): return 256 + + + + +Josefsson & Liusvaara Informational [Page 52] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + + #Validity check (for debugging) + def is_valid_point(self): + x,y,z,t=self.x,self.y,self.z,self.t + x2=x*x + y2=y*y + z2=z*z + lhs=(y2-x2)*z2 + rhs=z2*z2+self.d*x2*y2 + assert(lhs == rhs) + assert(t*z == x*y) + +#A point on Edwards448. +class Edwards448Point(EdwardsPoint): + #Create a new point on the curve. + base_field=Field(1,2**448-2**224-1) + d=base_field.make(-39081) + f0=base_field.make(0) + f1=base_field.make(1) + xb=base_field.make(hexi("4F1970C66BED0DED221D15A622BF36DA9E14657"+\ + "0470F1767EA6DE324A3D3A46412AE1AF72AB66511433B80E18B00938E26"+\ + "26A82BC70CC05E")) + yb=base_field.make(hexi("693F46716EB6BC248876203756C9C7624BEA737"+\ + "36CA3984087789C1E05A0C2D73AD3FF1CE67C39C4FDBD132C4ED7C8AD98"+\ + "08795BF230FA14")) + #The standard base point. + @staticmethod + def stdbase(): + return Edwards448Point(Edwards448Point.xb,Edwards448Point.yb) + def __init__(self,x,y): + #Check that the point is actually on the curve. + if y*y+x*x!=self.f1+self.d*x*x*y*y: + raise ValueError("Invalid point") + self.initpoint(x, y) + #Decode a point representation. + def decode(self,s): + x,y=self.decode_base(s,456); + return Edwards448Point(x, y) if x is not None else None + #Encode a point representation. + def encode(self): + return self.encode_base(456) + #Construct a neutral point on this curve. + def zero_elem(self): + return Edwards448Point(self.f0,self.f1) + #Solve for x^2. + def solve_x2(self,y): + return ((y*y-self.f1)/(self.d*y*y-self.f1)) + + + + + +Josefsson & Liusvaara Informational [Page 53] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + + #Point addition. + def __add__(self,y): + #The formulas are from EFD. + tmp=self.zero_elem() + xcp,ycp,zcp=self.x*y.x,self.y*y.y,self.z*y.z + B=zcp*zcp + E=self.d*xcp*ycp + F,G=B-E,B+E + tmp.x=zcp*F*((self.x+self.y)*(y.x+y.y)-xcp-ycp) + tmp.y,tmp.z=zcp*G*(ycp-xcp),F*G + return tmp + #Point doubling. + def double(self): + #The formulas are from EFD. + tmp=self.zero_elem() + x1s,y1s,z1s=self.x*self.x,self.y*self.y,self.z*self.z + xys=self.x+self.y + F=x1s+y1s + J=F-(z1s+z1s) + tmp.x,tmp.y,tmp.z=(xys*xys-x1s-y1s)*J,F*(x1s-y1s),F*J + return tmp + #Order of basepoint. + def l(self): + return hexi("3ffffffffffffffffffffffffffffffffffffffffffffff"+\ + "fffffffff7cca23e9c44edb49aed63690216cc2728dc58f552378c2"+\ + "92ab5844f3") + #The logarithm of cofactor. + def c(self): return 2 + #The highest set bit. + def n(self): return 447 + #The coding length. + def b(self): return 456 + #Validity check (for debugging). + def is_valid_point(self): + x,y,z=self.x,self.y,self.z + x2=x*x + y2=y*y + z2=z*z + lhs=(x2+y2)*z2 + rhs=z2*z2+self.d*x2*y2 + assert(lhs == rhs) + + + + + + + + + + +Josefsson & Liusvaara Informational [Page 54] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + +#Simple self-check. +def curve_self_check(point): + p=point + q=point.zero_elem() + z=q + l=p.l()+1 + p.is_valid_point() + q.is_valid_point() + for i in range(0,point.b()): + if (l>>i)&1 != 0: + q=q+p + q.is_valid_point() + p=p.double() + p.is_valid_point() + assert q.encode() == point.encode() + assert q.encode() != p.encode() + assert q.encode() != z.encode() + +#Simple self-check. +def self_check_curves(): + curve_self_check(Edwards25519Point.stdbase()) + curve_self_check(Edwards448Point.stdbase()) + +#PureEdDSA scheme. +#Limitation: only b mod 8 = 0 is handled. +class PureEdDSA: + #Create a new object. + def __init__(self,properties): + self.B=properties["B"] + self.H=properties["H"] + self.l=self.B.l() + self.n=self.B.n() + self.b=self.B.b() + self.c=self.B.c() + #Clamp a private scalar. + def __clamp(self,a): + _a = bytearray(a) + for i in range(0,self.c): _a[i//8]&=~(1<<(i%8)) + _a[self.n//8]|=1<<(self.n%8) + for i in range(self.n+1,self.b): _a[i//8]&=~(1<<(i%8)) + return _a + #Generate a key. If privkey is None, a random one is generated. + #In any case, the (privkey, pubkey) pair is returned. + def keygen(self,privkey): + #If no private key data is given, generate random. + if privkey is None: privkey=os.urandom(self.b//8) + + + + + +Josefsson & Liusvaara Informational [Page 55] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + + #Expand key. + khash=self.H(privkey,None,None) + a=from_le(self.__clamp(khash[:self.b//8])) + #Return the key pair (public key is A=Enc(aB). + return privkey,(self.B*a).encode() + #Sign with key pair. + def sign(self,privkey,pubkey,msg,ctx,hflag): + #Expand key. + khash=self.H(privkey,None,None) + a=from_le(self.__clamp(khash[:self.b//8])) + seed=khash[self.b//8:] + #Calculate r and R (R only used in encoded form). + r=from_le(self.H(seed+msg,ctx,hflag))%self.l + R=(self.B*r).encode() + #Calculate h. + h=from_le(self.H(R+pubkey+msg,ctx,hflag))%self.l + #Calculate s. + S=((r+h*a)%self.l).to_bytes(self.b//8,byteorder="little") + #The final signature is a concatenation of R and S. + return R+S + #Verify signature with public key. + def verify(self,pubkey,msg,sig,ctx,hflag): + #Sanity-check sizes. + if len(sig)!=self.b//4: return False + if len(pubkey)!=self.b//8: return False + #Split signature into R and S, and parse. + Rraw,Sraw=sig[:self.b//8],sig[self.b//8:] + R,S=self.B.decode(Rraw),from_le(Sraw) + #Parse public key. + A=self.B.decode(pubkey) + #Check parse results. + if (R is None) or (A is None) or S>=self.l: return False + #Calculate h. + h=from_le(self.H(Rraw+pubkey+msg,ctx,hflag))%self.l + #Calculate left and right sides of check eq. + rhs=R+(A*h) + lhs=self.B*S + for i in range(0, self.c): + lhs = lhs.double() + rhs = rhs.double() + #Check eq. holds? + return lhs==rhs + +def Ed25519_inthash(data,ctx,hflag): + if (ctx is not None and len(ctx) > 0) or hflag: + raise ValueError("Contexts/hashes not supported") + return hashlib.sha512(data).digest() + + + + +Josefsson & Liusvaara Informational [Page 56] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + +#The base PureEdDSA schemes. +pEd25519=PureEdDSA({\ + "B":Edwards25519Point.stdbase(),\ + "H":Ed25519_inthash\ +}) + +def Ed25519ctx_inthash(data,ctx,hflag): + dompfx = b"" + PREFIX=b"SigEd25519 no Ed25519 collisions" + if ctx is not None: + if len(ctx) > 255: raise ValueError("Context too big") + dompfx=PREFIX+bytes([1 if hflag else 0,len(ctx)])+ctx + return hashlib.sha512(dompfx+data).digest() + +pEd25519ctx=PureEdDSA({\ + "B":Edwards25519Point.stdbase(),\ + "H":Ed25519ctx_inthash\ +}) + +def Ed448_inthash(data,ctx,hflag): + dompfx = b"" + if ctx is not None: + if len(ctx) > 255: raise ValueError("Context too big") + dompfx=b"SigEd448"+bytes([1 if hflag else 0,len(ctx)])+ctx + return shake256(dompfx+data,114) + +pEd448 = PureEdDSA({\ + "B":Edwards448Point.stdbase(),\ + "H":Ed448_inthash\ +}) + +#EdDSA scheme. +class EdDSA: + #Create a new scheme object, with the specified PureEdDSA base + #scheme and specified prehash. + def __init__(self,pure_scheme,prehash): + self.__pflag = True + self.__pure=pure_scheme + self.__prehash=prehash + if self.__prehash is None: + self.__prehash = lambda x,y:x + self.__pflag = False + # Generate a key. If privkey is none, it generates a random + # privkey key, otherwise it uses a specified private key. + # Returns pair (privkey, pubkey). + def keygen(self,privkey): return self.__pure.keygen(privkey) + + + + + +Josefsson & Liusvaara Informational [Page 57] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + + # Sign message msg using specified key pair. + def sign(self,privkey,pubkey,msg,ctx=None): + if ctx is None: ctx=b""; + return self.__pure.sign(privkey,pubkey,self.__prehash(msg,ctx),\ + ctx,self.__pflag) + # Verify signature sig on message msg using public key pubkey. + def verify(self,pubkey,msg,sig,ctx=None): + if ctx is None: ctx=b""; + return self.__pure.verify(pubkey,self.__prehash(msg,ctx),sig,\ + ctx,self.__pflag) + +def Ed448ph_prehash(data,ctx): + return shake256(data,64) + +#Our signature schemes. +Ed25519 = EdDSA(pEd25519,None) +Ed25519ctx = EdDSA(pEd25519ctx,None) +Ed25519ph = EdDSA(pEd25519ctx,lambda x,y:hashlib.sha512(x).digest()) +Ed448 = EdDSA(pEd448,None) +Ed448ph = EdDSA(pEd448,Ed448ph_prehash) + +def eddsa_obj(name): + if name == "Ed25519": return Ed25519 + if name == "Ed25519ctx": return Ed25519ctx + if name == "Ed25519ph": return Ed25519ph + if name == "Ed448": return Ed448 + if name == "Ed448ph": return Ed448ph + raise NotImplementedError("Algorithm not implemented") + +Appendix B. Library Driver + + Below is a command-line tool that uses the library above to perform + computations for interactive use or for self-checking. + +import sys +import binascii + +from eddsa2 import Ed25519 + + +def munge_string(s, pos, change): + return (s[:pos] + + int.to_bytes(s[pos] ^ change, 1, "little") + + s[pos+1:]) + + + + + + + +Josefsson & Liusvaara Informational [Page 58] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + +# Read a file in the format of +# http://ed25519.cr.yp.to/python/sign.input +lineno = 0 +while True: + line = sys.stdin.readline() + if not line: + break + lineno = lineno + 1 + print(lineno) + fields = line.split(":") + secret = (binascii.unhexlify(fields[0]))[:32] + public = binascii.unhexlify(fields[1]) + msg = binascii.unhexlify(fields[2]) + signature = binascii.unhexlify(fields[3])[:64] + + privkey,pubkey = Ed25519.keygen(secret) + assert public == pubkey + assert signature == Ed25519.sign(privkey, pubkey, msg) + assert Ed25519.verify(public, msg, signature) + if len(msg) == 0: + bad_msg = b"x" + else: + bad_msg = munge_string(msg, len(msg) // 3, 4) + assert not Ed25519.verify(public,bad_msg,signature) + assert not Ed25519.verify(public, msg, munge_string(signature,20,8)) + assert not Ed25519.verify(public,msg,munge_string(signature,40,16)) + + + + + + + + + + + + + + + + + + + + + + + + + +Josefsson & Liusvaara Informational [Page 59] + +RFC 8032 EdDSA: Ed25519 and Ed448 January 2017 + + +Acknowledgements + + EdDSA and Ed25519 were initially described in a paper due to Daniel + J. Bernstein, Niels Duif, Tanja Lange, Peter Schwabe, and Bo-Yin + Yang. The Ed448 curve is due to Mike Hamburg. + + An earlier draft version of this document was coauthored by Niels + Moeller. + + Feedback on this document was received from Werner Koch, Damien + Miller, Bob Bradley, Franck Rondepierre, Alexey Melnikov, Kenny + Paterson, and Robert Edmonds. + + The Ed25519 test vectors were double checked by Bob Bradley using + three separate implementations (one based on TweetNaCl and two + different implementations based on code from SUPERCOP). + +Authors' Addresses + + Simon Josefsson + SJD AB + + Email: simon@josefsson.org + URI: http://josefsson.org/ + + + Ilari Liusvaara + Independent + + Email: ilariliusvaara@welho.com + + + + + + + + + + + + + + + + + + + + + +Josefsson & Liusvaara Informational [Page 60] + diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/scripts/gen_rfc_vectors.py b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/scripts/gen_rfc_vectors.py new file mode 100644 index 0000000000..2b64c06300 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/scripts/gen_rfc_vectors.py @@ -0,0 +1,43 @@ +# Reads the RFC 8032 text (argv[1]) and writes a Rust table of its Ed25519 test vectors (argv[2]). +import re, sys +lines = open(sys.argv[1], encoding="utf-8").read().splitlines() +blocks, cur, label = {}, None, None +for line in lines: + m = re.match(r"\s*-----TEST (.+)$", line) + if m: + cur = m.group(1).strip() + blocks[cur] = {"msg_len": None} + label = None + continue + if cur is None: + continue + s = line.strip() + if not s: + continue + if s.startswith("SECRET KEY:"): + if "sk" in blocks[cur]: # a second SECRET KEY without a new header starts section 7.2/7.3 vectors: stop here + cur, label = None, None + continue + label = "sk" + elif s.startswith("PUBLIC KEY:"): + label = "pk" + elif s.startswith("MESSAGE"): + label = "msg" + blocks[cur]["msg_len"] = int(re.search(r"length (\d+) byte", s).group(1)) + blocks[cur].setdefault("msg", "") + elif s.startswith("SIGNATURE:"): + label = "sig" + elif s.startswith("ALGORITHM:"): + label = None + elif label and re.fullmatch(r"[0-9a-f]+", s): + blocks[cur][label] = blocks[cur].get(label, "") + s +out = ["// Generated by scripts/gen_rfc_vectors.py from RFC 8032 section 7.1 (rfc-editor.org/rfc/rfc8032.txt).", "pub const RFC8032: &[(&str, &str, &str, &str, &str)] = &["] +for name in ["1", "2", "3", "1024", "SHA(abc)"]: + b = blocks[name] + assert len(b["sk"]) == 64 and len(b["pk"]) == 64 and len(b["sig"]) == 128, name + assert len(b.get("msg", "")) == 2 * b["msg_len"], (name, b["msg_len"]) + print(f"ok {name}: msg_len={b['msg_len']}") + out.append(f' ("TEST {name}", "{b["sk"]}", "{b["pk"]}", "{b.get("msg", "")}", "{b["sig"]}"),') +out.append("];") +open(sys.argv[2], "w", encoding="utf-8").write("\n".join(out) + "\n") +print("wrote", sys.argv[2]) diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/scripts/versions.py b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/scripts/versions.py new file mode 100644 index 0000000000..4e49e8365f --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/scripts/versions.py @@ -0,0 +1,10 @@ +import json, sys +path = sys.argv[1] +d = json.load(open(path, encoding="utf-8")) +c = d["crate"] +print("crate:", c["id"], "| max_version:", c.get("max_version"), "| max_stable_version:", c.get("max_stable_version"), "| newest_version:", c.get("newest_version"), "| updated_at:", c.get("updated_at"), "| downloads:", c.get("downloads"), "| repo:", c.get("repository")) +print("description:", c.get("description")) +rows = d.get("versions", []) +print("total versions listed:", len(rows)) +for v in rows: + print(f'{v["num"]:<22} created={v["created_at"][:19]} yanked={v["yanked"]!s:<5} rust={v.get("rust_version")} checksum={v["checksum"][:16]} license={v.get("license")}') diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/wire-run1.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/wire-run1.txt new file mode 100644 index 0000000000..1e72a54789 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/wire-run1.txt @@ -0,0 +1,39 @@ +PASS keys: public key from the same 32-byte seed, 256 seeds: mismatches=0 +PASS keys: 64-byte keypair (seed||pk), 256 seeds: mismatches=0 +PASS RFC 8032 TEST 1 (0 byte msg): pk2=true pk3=true sig2=true sig3=true v2 verify/strict=true/true v3 verify/strict=true/true +PASS RFC 8032 TEST 2 (1 byte msg): pk2=true pk3=true sig2=true sig3=true v2 verify/strict=true/true v3 verify/strict=true/true +PASS RFC 8032 TEST 3 (2 byte msg): pk2=true pk3=true sig2=true sig3=true v2 verify/strict=true/true v3 verify/strict=true/true +PASS RFC 8032 TEST 1024 (1023 byte msg): pk2=true pk3=true sig2=true sig3=true v2 verify/strict=true/true v3 verify/strict=true/true +PASS RFC 8032 TEST SHA(abc) (64 byte msg): pk2=true pk3=true sig2=true sig3=true v2 verify/strict=true/true v3 verify/strict=true/true +PASS sign: same seed+message gives identical 64 bytes in 2.2.0 and 3.0.0: cases=960 differing=0 +PASS cross-verify: 2.2.0 signatures accepted by 3.0.0 (verify and verify_strict): cases=960 rejected by verify=0 by verify_strict=0 +PASS cross-verify: 3.0.0 signatures accepted by 2.2.0 (verify and verify_strict): cases=960 rejected by verify=0 by verify_strict=0 +PASS tampered message, R, S or key: all rejected: cases=96 accepted [v2 verify, v2 strict, v3 verify, v3 strict]=[0, 0, 0, 0] +PASS non-canonical S: control (canonical S) accepted by all four paths: v2=(true, true) v3=(true, true) +PASS non-canonical S+L: rejected by v2 verify and verify_strict and v3 verify and verify_strict: v2=(false, false) v3=(false, false) top byte of S+L=0x12 (old top-3-bits check would pass) +PASS S with bit 255 set: rejected by all four paths: v2=(false, false) v3=(false, false) +INFO small-order key EIGHT_TORSION[0]: decodes v2=true v3=true is_weak v2=true v3=true | of 8 torsion R with S=0 accepted: v2 verify=1 v2 strict=0 v3 verify=1 v3 strict=0 | key=0100000000000000000000000000000000000000000000000000000000000000 +INFO small-order key EIGHT_TORSION[1]: decodes v2=true v3=true is_weak v2=true v3=true | of 8 torsion R with S=0 accepted: v2 verify=3 v2 strict=0 v3 verify=3 v3 strict=0 | key=c7176a703d4dd84fba3c0b760d10670f2a2053fa2c39ccc64ec7fd7792ac037a +INFO small-order key EIGHT_TORSION[2]: decodes v2=true v3=true is_weak v2=true v3=true | of 8 torsion R with S=0 accepted: v2 verify=1 v2 strict=0 v3 verify=1 v3 strict=0 | key=0000000000000000000000000000000000000000000000000000000000000080 +INFO small-order key EIGHT_TORSION[3]: decodes v2=true v3=true is_weak v2=true v3=true | of 8 torsion R with S=0 accepted: v2 verify=0 v2 strict=0 v3 verify=0 v3 strict=0 | key=26e8958fc2b227b045c3f489f2ef98f0d5dfac05d3c63339b13802886d53fc05 +INFO small-order key EIGHT_TORSION[4]: decodes v2=true v3=true is_weak v2=true v3=true | of 8 torsion R with S=0 accepted: v2 verify=2 v2 strict=0 v3 verify=2 v3 strict=0 | key=ecffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f +INFO small-order key EIGHT_TORSION[5]: decodes v2=true v3=true is_weak v2=true v3=true | of 8 torsion R with S=0 accepted: v2 verify=0 v2 strict=0 v3 verify=0 v3 strict=0 | key=26e8958fc2b227b045c3f489f2ef98f0d5dfac05d3c63339b13802886d53fc85 +INFO small-order key EIGHT_TORSION[6]: decodes v2=true v3=true is_weak v2=true v3=true | of 8 torsion R with S=0 accepted: v2 verify=2 v2 strict=0 v3 verify=2 v3 strict=0 | key=0000000000000000000000000000000000000000000000000000000000000000 +INFO small-order key EIGHT_TORSION[7]: decodes v2=true v3=true is_weak v2=true v3=true | of 8 torsion R with S=0 accepted: v2 verify=1 v2 strict=0 v3 verify=1 v3 strict=0 | key=c7176a703d4dd84fba3c0b760d10670f2a2053fa2c39ccc64ec7fd7792ac03fa +INFO small-order key identity, non-canonical (y=p+1): decodes v2=true v3=true is_weak v2=true v3=true | of 8 torsion R with S=0 accepted: v2 verify=1 v2 strict=0 v3 verify=1 v3 strict=0 | key=eeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f +INFO small-order key order-4 point, non-canonical (y=p): decodes v2=true v3=true is_weak v2=true v3=true | of 8 torsion R with S=0 accepted: v2 verify=1 v2 strict=0 v3 verify=1 v3 strict=0 | key=edffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f +PASS small-order keys: verify_strict accepts no torsion-R forgery (2.2.0 and 3.0.0): see the per-key lines above +PASS small-order keys: 2.2.0 and 3.0.0 give identical decode, is_weak and verify counts: per-key counts above +PASS identity key: plain verify accepts a torsion-R forgery (2.2.0), as predicted: accepted=1 +PASS identity key: forgery R=[s]B, S=s accepted by verify, rejected by verify_strict (both versions): trials=8 accepted [v2 verify, v2 strict, v3 verify, v3 strict]=[8, 0, 8, 0] +PASS control: non-small-order key with R=identity, S=0 rejected by all four paths: v2=false/false v3=false/false +INFO pkcs8 DER of seed 0: 2.2.0 == 3.0.0: true; hex=3051020101300506032b65700422042000e0efadd9a564bd99df5139b29d4172462faa72037d6c0e90dad0ed1298041b81210007c1c9e0833b8ab6f978b69a73e99878c4543d15e4d2ee5c47bad9cd05ddca80 +PASS expanded key: SHA-512(seed) through hazmat gives the same signatures and keys as seed signing: seeds=32 mismatches=0 +PASS keypair (seed||pk): 2.2.0 bytes load in 3.0.0, and a tampered public half is refused by both: seeds=32 failures=0 +PASS PKCS#8 DER of the seed: byte-identical in 2.2.0 and 3.0.0, and 3.0.0 reads 2.2.0's: seeds=32 failures=0 +PASS decode: VerifyingKey::from_bytes accepts the same 32-byte strings in 2.2.0 and 3.0.0: encodings=5806 decodes v2=2900 v3=2900 disagreements=0 +PASS decode: is_weak agrees for every decodable key: disagreements=0 small-order among decodable=14 +INFO error: off-curve public key (both versions return Err): v2 Display="signature error: Cannot decompress Edwards point" Debug="signature::Error { source: Some(Cannot decompress Edwards point) }" | v3 Display="signature error" Debug="signature::Error { source: Some(Cannot decompress Edwards point) }" | bytes=0200000000000000000000000000000000000000000000000000000000000000 +INFO error: 63-byte signature slice (both versions return Err): v2 Display="signature error" | v3 Display="signature error" +PASS generate(): keys from OsRng (2.2.0, rand_core 0.6) and SysRng via UnwrapErr (3.0.0, rand_core 0.10) cross-verify: v3 verifies v2-generated key: (true, true); v2 verifies v3-generated key: (true, true) +SUMMARY pass=25 fail=0 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/wire/Cargo.lock b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/wire/Cargo.lock new file mode 100644 index 0000000000..d305561f0a --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/wire/Cargo.lock @@ -0,0 +1,548 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "base16ct" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd307490d624467aa6f74b0eabb77633d1f758a7b25f12bceb0b22e08d9726f6" + +[[package]] +name = "base64ct" +version = "1.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2af50177e190e07a26ab74f8b1efbfe2ef87da2116221318cb1c2e82baf7de06" + +[[package]] +name = "block-buffer" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" +dependencies = [ + "generic-array", +] + +[[package]] +name = "block-buffer" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2f6c7dbe95a6ed67ad9f18e57daf93a2f034c524b99fd2b76d18fdfeb6660aa" +dependencies = [ + "hybrid-array", +] + +[[package]] +name = "cfg-if" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600" + +[[package]] +name = "const-oid" +version = "0.9.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" + +[[package]] +name = "const-oid" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6ef517f0926dd24a1582492c791b6a4818a4d94e789a334894aa15b0d12f55c" + +[[package]] +name = "cpufeatures" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" +dependencies = [ + "libc", +] + +[[package]] +name = "cpufeatures" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ca28b0ae3115b884660db4118d803791fd6756b6e88f39c0f3f7859060d7566" +dependencies = [ + "libc", +] + +[[package]] +name = "crypto-common" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" +dependencies = [ + "generic-array", + "typenum", +] + +[[package]] +name = "crypto-common" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453" +dependencies = [ + "hybrid-array", + "rand_core 0.10.1", +] + +[[package]] +name = "curve25519-dalek" +version = "4.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "curve25519-dalek-derive", + "digest 0.10.7", + "fiat-crypto 0.2.9", + "rustc_version", + "subtle", + "zeroize", +] + +[[package]] +name = "curve25519-dalek" +version = "5.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5eed333089e2e1c1ac8c6c0398e5e2497b4c9926ca6d0365ed1e099afa5bc23" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "curve25519-dalek-derive", + "digest 0.11.3", + "fiat-crypto 0.3.0", + "rand_core 0.10.1", + "rustc_version", + "subtle", + "zeroize", +] + +[[package]] +name = "curve25519-dalek-derive" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "der" +version = "0.7.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb" +dependencies = [ + "const-oid 0.9.6", + "zeroize", +] + +[[package]] +name = "der" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a878c850e9e421b20262e9b41f9c860e4785fa07541c266b62ff9d1ef998a80a" +dependencies = [ + "const-oid 0.10.2", + "pem-rfc7468", + "zeroize", +] + +[[package]] +name = "digest" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" +dependencies = [ + "block-buffer 0.10.4", + "crypto-common 0.1.7", +] + +[[package]] +name = "digest" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2" +dependencies = [ + "block-buffer 0.12.1", + "crypto-common 0.2.2", +] + +[[package]] +name = "ed25519" +version = "2.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" +dependencies = [ + "pkcs8 0.10.2", + "signature 2.2.0", +] + +[[package]] +name = "ed25519" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29fcf32e6c73d1079f83ab4d782de2d81620346a5f38c6237a86a22f8368980a" +dependencies = [ + "pkcs8 0.11.0", + "serdect", + "signature 3.0.0", +] + +[[package]] +name = "ed25519-dalek" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70e796c081cee67dc755e1a36a0a172b897fab85fc3f6bc48307991f64e4eca9" +dependencies = [ + "curve25519-dalek 4.1.3", + "ed25519 2.2.3", + "rand_core 0.6.4", + "serde", + "sha2 0.10.9", + "signature 2.2.0", + "subtle", + "zeroize", +] + +[[package]] +name = "ed25519-dalek" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ebaa1a2bf1290ab3bfe5a7b771d050ebffab2711c19a81691c683a5144a25de" +dependencies = [ + "curve25519-dalek 5.0.0", + "ed25519 3.0.0", + "rand_core 0.10.1", + "serde", + "sha2 0.11.0", + "signature 3.0.0", + "subtle", + "zeroize", +] + +[[package]] +name = "ed25519-wire-compat" +version = "0.0.0" +dependencies = [ + "curve25519-dalek 4.1.3", + "ed25519-dalek 2.2.0", + "ed25519-dalek 3.0.0", + "getrandom 0.4.3", + "hex", + "rand_core 0.6.4", + "sha2 0.10.9", +] + +[[package]] +name = "fiat-crypto" +version = "0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d" + +[[package]] +name = "fiat-crypto" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64cd1e32ddd350061ae6edb1b082d7c54915b5c672c389143b9a63403a109f24" + +[[package]] +name = "generic-array" +version = "0.14.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +dependencies = [ + "typenum", + "version_check", +] + +[[package]] +name = "getrandom" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0" +dependencies = [ + "cfg-if", + "libc", + "wasi", +] + +[[package]] +name = "getrandom" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" +dependencies = [ + "cfg-if", + "libc", + "r-efi", + "rand_core 0.10.1", +] + +[[package]] +name = "hex" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" + +[[package]] +name = "hybrid-array" +version = "0.4.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27f864f10dfb56725ce5ce5472bc52252c8f93a4ab86327122cebf62c5f59a17" +dependencies = [ + "typenum", +] + +[[package]] +name = "libc" +version = "0.2.190" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78" + +[[package]] +name = "pem-rfc7468" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6305423e0e7738146434843d1694d621cce767262b2a86910beab705e4493d9" +dependencies = [ + "base64ct", +] + +[[package]] +name = "pkcs8" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" +dependencies = [ + "der 0.7.10", + "spki 0.7.3", +] + +[[package]] +name = "pkcs8" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "451913da69c775a56034ea8d9003d27ee8948e12443eae7c038ba100a4f21cb7" +dependencies = [ + "der 0.8.2", + "spki 0.8.1", +] + +[[package]] +name = "proc-macro2" +version = "1.0.107" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "quote" +version = "1.0.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "r-efi" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" + +[[package]] +name = "rand_core" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +dependencies = [ + "getrandom 0.2.17", +] + +[[package]] +name = "rand_core" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" + +[[package]] +name = "rustc_version" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" +dependencies = [ + "semver", +] + +[[package]] +name = "semver" +version = "1.0.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd" + +[[package]] +name = "serde" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba" +dependencies = [ + "serde_core", +] + +[[package]] +name = "serde_core" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.8", +] + +[[package]] +name = "serdect" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "66cf8fedced2fcf12406bcb34223dffb92eaf34908ede12fed414c82b7f00b3e" +dependencies = [ + "base16ct", + "serde", +] + +[[package]] +name = "sha2" +version = "0.10.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "digest 0.10.7", +] + +[[package]] +name = "sha2" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "digest 0.11.3", +] + +[[package]] +name = "signature" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" +dependencies = [ + "digest 0.10.7", + "rand_core 0.6.4", +] + +[[package]] +name = "signature" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28d567dcbaf0049cb8ac2608a76cd95ff9e4412e1899d389ee400918ca7537f5" +dependencies = [ + "digest 0.11.3", + "rand_core 0.10.1", +] + +[[package]] +name = "spki" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" +dependencies = [ + "base64ct", + "der 0.7.10", +] + +[[package]] +name = "spki" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ef958a98b9d5da290cfc78946e9f3e61e1e62a18db0d92cac0b83cc161491a9" +dependencies = [ + "base64ct", + "der 0.8.2", +] + +[[package]] +name = "subtle" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" + +[[package]] +name = "syn" +version = "2.0.119" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "3.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01016da373cd8f7ef12624f796309f5c31ba8d646dd08856c02cd741d823c622" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "typenum" +version = "1.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" + +[[package]] +name = "unicode-ident" +version = "1.0.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d245f478577f809a851594d02313b640fb437e0bb33866753cff937863096954" + +[[package]] +name = "version_check" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" + +[[package]] +name = "wasi" +version = "0.11.1+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" + +[[package]] +name = "zeroize" +version = "1.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e13084392c5e4bc371903e2935a5eaeed24905a7511356b883835e18a78f6879" diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/wire/Cargo.toml b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/wire/Cargo.toml new file mode 100644 index 0000000000..e5c2108249 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/wire/Cargo.toml @@ -0,0 +1,22 @@ +[package] +name = "ed25519-wire-compat" +version = "0.0.0" +edition = "2024" +publish = false + +# Standalone research crate for the round 2 ed25519 question. Not part of pkgs/id or the spikes workspace. +[workspace] + +[dependencies] +# Same major/minor pins as the trees: 2.2.0 is what p2panda-core 0.7.1 (rev 3e84cac) uses; +# 3.0.0 is what pkgs/id/Cargo.lock and iroh-base 1.3.0 use. Feature sets mirror those dependents. +ed25519-dalek-v2 = { package = "ed25519-dalek", version = "=2.2.0", features = ["rand_core", "hazmat", "pkcs8", "digest"] } +ed25519-dalek-v3 = { package = "ed25519-dalek", version = "=3.0.0", features = ["rand_core", "hazmat", "serde", "zeroize", "pkcs8", "pem", "digest"] } +# Only used for EIGHT_TORSION and ED25519_BASEPOINT_POINT (small-order points for the forgery tests). +curve25519-dalek-v4 = { package = "curve25519-dalek", version = "=4.1.3" } +# rand_core 0.6 for ed25519-dalek 2.x generate(); getrandom 0.4 (re-exports rand_core 0.10) for 3.x generate(). +rand_core-v06 = { package = "rand_core", version = "=0.6.4", features = ["getrandom"] } +getrandom-v04 = { package = "getrandom", version = "0.4", features = ["sys_rng"] } +# SHA-512 seed expansion done by hand in the test, so the expanded-key path does not depend on either crate's helpers. +sha2 = "0.10" +hex = "0.4" diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/wire/src/main.rs b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/wire/src/main.rs new file mode 100644 index 0000000000..cd30626296 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/wire/src/main.rs @@ -0,0 +1,620 @@ +//! Wire compatibility of ed25519-dalek 2.2.0 (p2panda-core's pin) and 3.0.0 (pkgs/id, iroh-base). +//! Both versions are linked into one binary. A value crosses between them only as a byte array. +//! Prints one line per check, then a summary. Research code, not product code. + +mod rfc_vectors; + +use curve25519_dalek_v4::{constants, scalar::Scalar}; +use ed25519_dalek_v2 as v2; +use ed25519_dalek_v3 as v3; +use sha2::{Digest, Sha512}; + +#[derive(Default)] +struct Report { + pass: usize, + fail: usize, + lines: Vec, +} + +impl Report { + fn check(&mut self, name: &str, ok: bool, detail: impl Into) { + if ok { + self.pass += 1 + } else { + self.fail += 1 + } + self.lines + .push(format!("{} {name}: {}", if ok { "PASS" } else { "FAIL" }, detail.into())); + } + + /// Observations that are not pass/fail (printed, not counted). + fn info(&mut self, name: &str, detail: impl Into) { + self.lines.push(format!("INFO {name}: {}", detail.into())); + } +} + +fn hex(b: &[u8]) -> String { + b.iter().map(|x| format!("{x:02x}")).collect() +} + +fn unhex(s: &str) -> [u8; N] { + hex::decode(s).expect("hex").try_into().expect("length") +} + +/// splitmix64: deterministic seeds and messages without an RNG crate. +struct Mix(u64); + +impl Mix { + fn next(&mut self) -> u64 { + self.0 = self.0.wrapping_add(0x9e37_79b9_7f4a_7c15); + let mut z = self.0; + z = (z ^ (z >> 30)).wrapping_mul(0xbf58_476d_1ce4_e5b9); + z = (z ^ (z >> 27)).wrapping_mul(0x94d0_49bb_1331_11eb); + z ^ (z >> 31) + } + + fn bytes(&mut self) -> [u8; N] { + let mut out = [0u8; N]; + for chunk in out.chunks_mut(8) { + let r = self.next().to_le_bytes(); + chunk.copy_from_slice(&r[..chunk.len()]); + } + out + } +} + +/// Little-endian 32-byte add (a + b). Panics on carry out, which the callers never hit. +fn add_le(a: &[u8; 32], b: &[u8; 32]) -> [u8; 32] { + let mut out = [0u8; 32]; + let mut carry = 0u16; + for i in 0..32 { + let s = a[i] as u16 + b[i] as u16 + carry; + out[i] = s as u8; + carry = s >> 8; + } + assert_eq!(carry, 0); + out +} + +/// Little-endian 32-byte value a + d (d small). Wraps at 2^256; only used far below that. +fn le_add_small(a: &[u8; 32], d: u32) -> [u8; 32] { + let mut out = *a; + let mut carry = d as u64; + for byte in out.iter_mut() { + let s = *byte as u64 + carry; + *byte = s as u8; + carry = s >> 8; + } + out +} + +/// Little-endian 32-byte value a - d (d small). Only used for a >= d. +fn le_sub_small(a: &[u8; 32], d: u32) -> [u8; 32] { + let mut out = *a; + let mut borrow = d as i64; + for byte in out.iter_mut() { + let s = *byte as i64 - (borrow & 0xff); + borrow >>= 8; + if s < 0 { + *byte = (s + 256) as u8; + borrow += 1; + } else { + *byte = s as u8; + } + } + out +} + +const P_LE: &str = "edffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f"; +/// Canonical identity point, encoded. +const IDENTITY: &str = "0100000000000000000000000000000000000000000000000000000000000000"; +/// Non-canonical encodings of small-order points: y = p + 1 (identity) and y = p (order 4). +const IDENTITY_NONCANON: &str = "eeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f"; +const ORDER4_NONCANON: &str = P_LE; +/// L, the group order, little-endian: 2^252 + 27742317777372353535851937790883648493. +const L_LE: &str = "edd3f55c1a631258d69cf7a2def9de1400000000000000000000000000000010"; + +// ---- one helper pair per version; each takes and returns bytes only ---- + +fn sign2(seed: &[u8; 32], msg: &[u8]) -> [u8; 64] { + use v2::Signer; + v2::SigningKey::from_bytes(seed).sign(msg).to_bytes() +} + +fn sign3(seed: &[u8; 32], msg: &[u8]) -> [u8; 64] { + use v3::Signer; + v3::SigningKey::from_bytes(seed).sign(msg).to_bytes() +} + +fn pk2(seed: &[u8; 32]) -> [u8; 32] { + v2::SigningKey::from_bytes(seed).verifying_key().to_bytes() +} + +fn pk3(seed: &[u8; 32]) -> [u8; 32] { + v3::SigningKey::from_bytes(seed).verifying_key().to_bytes() +} + +/// (verify, verify_strict) under ed25519-dalek 2.2.0. A key that fails to decode counts as (false, false). +fn check2(pk: &[u8; 32], msg: &[u8], sig: &[u8; 64]) -> (bool, bool) { + use v2::Verifier; + match v2::VerifyingKey::from_bytes(pk) { + Err(_) => (false, false), + Ok(vk) => { + let s = v2::Signature::from_bytes(sig); + (vk.verify(msg, &s).is_ok(), vk.verify_strict(msg, &s).is_ok()) + } + } +} + +/// (verify, verify_strict) under ed25519-dalek 3.0.0. +fn check3(pk: &[u8; 32], msg: &[u8], sig: &[u8; 64]) -> (bool, bool) { + use v3::Verifier; + match v3::VerifyingKey::from_bytes(pk) { + Err(_) => (false, false), + Ok(vk) => { + let s = v3::Signature::from_bytes(sig); + (vk.verify(msg, &s).is_ok(), vk.verify_strict(msg, &s).is_ok()) + } + } +} + +fn torsion_encodings() -> Vec<[u8; 32]> { + constants::EIGHT_TORSION + .iter() + .map(|p| p.compress().to_bytes()) + .collect() +} + +// ---- checks ---- + +/// Keys and keypairs from the same seed; RFC 8032 section 7.1 vectors through both versions. +fn keys_and_rfc(r: &mut Report) { + let mut mix = Mix(1); + let seeds: Vec<[u8; 32]> = (0..256).map(|_| mix.bytes()).collect(); + let key_mismatch = seeds.iter().filter(|s| pk2(s) != pk3(s)).count(); + let kp_mismatch = seeds + .iter() + .filter(|s| { + v2::SigningKey::from_bytes(s).to_keypair_bytes() + != v3::SigningKey::from_bytes(s).to_keypair_bytes() + }) + .count(); + r.check( + "keys: public key from the same 32-byte seed, 256 seeds", + key_mismatch == 0, + format!("mismatches={key_mismatch}"), + ); + r.check( + "keys: 64-byte keypair (seed||pk), 256 seeds", + kp_mismatch == 0, + format!("mismatches={kp_mismatch}"), + ); + + for (name, sk, pk, msg, sig) in rfc_vectors::RFC8032 { + let sk: [u8; 32] = unhex(sk); + let pk: [u8; 32] = unhex(pk); + let msg = hex::decode(msg).expect("hex"); + let sig: [u8; 64] = unhex(sig); + let (s2, s3) = (sign2(&sk, &msg), sign3(&sk, &msg)); + let (v2v, v2s) = check2(&pk, &msg, &sig); + let (v3v, v3s) = check3(&pk, &msg, &sig); + let ok = pk2(&sk) == pk + && pk3(&sk) == pk + && s2 == sig + && s3 == sig + && v2v + && v2s + && v3v + && v3s; + r.check( + &format!("RFC 8032 {name} ({} byte msg)", msg.len()), + ok, + format!( + "pk2={} pk3={} sig2={} sig3={} v2 verify/strict={v2v}/{v2s} v3 verify/strict={v3v}/{v3s}", + pk2(&sk) == pk, + pk3(&sk) == pk, + s2 == sig, + s3 == sig + ), + ); + } +} + +/// Signatures are deterministic: same seed and message must give the same 64 bytes in both versions. +/// Then cross-verify in both directions, verify and verify_strict. +fn deterministic_and_cross(r: &mut Report) { + let lens = [0usize, 1, 2, 31, 32, 55, 56, 63, 64, 111, 112, 127, 128, 129, 1000]; + let mut mix = Mix(2); + let (mut n, mut sig_diff) = (0usize, 0usize); + let (mut v3_rejects_v2_sig, mut v3_strict_rejects_v2_sig) = (0usize, 0usize); + let (mut v2_rejects_v3_sig, mut v2_strict_rejects_v3_sig) = (0usize, 0usize); + for _ in 0..64 { + let seed: [u8; 32] = mix.bytes(); + let pk = pk2(&seed); + for &len in &lens { + let msg: Vec = (0..len).map(|_| mix.next() as u8).collect(); + let (s2, s3) = (sign2(&seed, &msg), sign3(&seed, &msg)); + n += 1; + sig_diff += (s2 != s3) as usize; + let (a, b) = check3(&pk, &msg, &s2); + v3_rejects_v2_sig += (!a) as usize; + v3_strict_rejects_v2_sig += (!b) as usize; + let (c, d) = check2(&pk, &msg, &s3); + v2_rejects_v3_sig += (!c) as usize; + v2_strict_rejects_v3_sig += (!d) as usize; + } + } + r.check( + "sign: same seed+message gives identical 64 bytes in 2.2.0 and 3.0.0", + sig_diff == 0, + format!("cases={n} differing={sig_diff}"), + ); + r.check( + "cross-verify: 2.2.0 signatures accepted by 3.0.0 (verify and verify_strict)", + v3_rejects_v2_sig == 0 && v3_strict_rejects_v2_sig == 0, + format!("cases={n} rejected by verify={v3_rejects_v2_sig} by verify_strict={v3_strict_rejects_v2_sig}"), + ); + r.check( + "cross-verify: 3.0.0 signatures accepted by 2.2.0 (verify and verify_strict)", + v2_rejects_v3_sig == 0 && v2_strict_rejects_v3_sig == 0, + format!("cases={n} rejected by verify={v2_rejects_v3_sig} by verify_strict={v2_strict_rejects_v3_sig}"), + ); +} + +/// Tampered inputs must be rejected by both versions, in both verify and verify_strict. +fn negatives(r: &mut Report) { + let mut mix = Mix(3); + let mut accepted = [0usize; 4]; // [v2 verify, v2 strict, v3 verify, v3 strict] + let mut cases = 0usize; + for _ in 0..16 { + let seed: [u8; 32] = mix.bytes(); + let other: [u8; 32] = mix.bytes(); + let msg: Vec = (0..40).map(|_| mix.next() as u8).collect(); + let sig = sign2(&seed, &msg); + let pk = pk2(&seed); + let mut tampered: Vec<([u8; 32], Vec, [u8; 64])> = Vec::new(); + let mut m2 = msg.clone(); + m2[7] ^= 0x10; + tampered.push((pk, m2, sig)); // message bit flip + for byte in [0usize, 31, 32, 63] { + let mut s = sig; + s[byte] ^= 0x01; // R or S bit flip + tampered.push((pk, msg.clone(), s)); + } + tampered.push((pk2(&other), msg.clone(), sig)); // wrong key + for (p, m, s) in &tampered { + cases += 1; + let (a, b) = check2(p, m, s); + let (c, d) = check3(p, m, s); + accepted[0] += a as usize; + accepted[1] += b as usize; + accepted[2] += c as usize; + accepted[3] += d as usize; + } + } + r.check( + "tampered message, R, S or key: all rejected", + accepted.iter().all(|&x| x == 0), + format!("cases={cases} accepted [v2 verify, v2 strict, v3 verify, v3 strict]={accepted:?}"), + ); +} + +/// S and S + L encode the same scalar. RFC 8032 requires 0 <= S < L. Both versions should refuse S + L +/// under default features (the canonical check in check_scalar), and S + L is below 2^253, so the old +/// top-three-bits check would not catch it. +fn non_canonical_s(r: &mut Report) { + let l: [u8; 32] = unhex(L_LE); + let seed = [7u8; 32]; + let msg = b"non-canonical S test".to_vec(); + let sig = sign2(&seed, &msg); + let pk = pk2(&seed); + let s: [u8; 32] = sig[32..].try_into().expect("32"); + let s_plus_l = add_le(&s, &l); + let mut malleated = sig; + malleated[32..].copy_from_slice(&s_plus_l); + let mut high_bit = sig; + high_bit[63] |= 0x80; // S >= 2^255: rejected by the old top-bits check too + let control = (check2(&pk, &msg, &sig), check3(&pk, &msg, &sig)); + let mal = (check2(&pk, &msg, &malleated), check3(&pk, &msg, &malleated)); + let hib = (check2(&pk, &msg, &high_bit), check3(&pk, &msg, &high_bit)); + r.check( + "non-canonical S: control (canonical S) accepted by all four paths", + control.0 == (true, true) && control.1 == (true, true), + format!("v2={:?} v3={:?}", control.0, control.1), + ); + r.check( + "non-canonical S+L: rejected by v2 verify and verify_strict and v3 verify and verify_strict", + mal.0 == (false, false) && mal.1 == (false, false), + format!( + "v2={:?} v3={:?} top byte of S+L={:#04x} (old top-3-bits check would pass)", + mal.0, mal.1, s_plus_l[31] + ), + ); + r.check( + "S with bit 255 set: rejected by all four paths", + hib.0 == (false, false) && hib.1 == (false, false), + format!("v2={:?} v3={:?}", hib.0, hib.1), + ); +} + +/// Small-order public keys and R values. For each small-order key, try all 8 torsion R values with S = 0. +/// verify_strict must reject every one (it rejects small-order A and R). verify (cofactorless, byte compare) +/// is expected to accept only the forgeries where [k]A is the identity, which means A is the identity. +fn small_order(r: &mut Report) { + let mut keys: Vec<(String, [u8; 32])> = Vec::new(); + for (i, e) in torsion_encodings().into_iter().enumerate() { + keys.push((format!("EIGHT_TORSION[{i}]"), e)); + } + keys.push(("identity, non-canonical (y=p+1)".into(), unhex(IDENTITY_NONCANON))); + keys.push(("order-4 point, non-canonical (y=p)".into(), unhex(ORDER4_NONCANON))); + let torsion_r = torsion_encodings(); + let msg = b"small-order forgery probe".to_vec(); + + let mut strict_accepts_any = false; + let mut versions_differ = false; + let mut identity_non_strict_accepts = 0usize; + for (name, a) in &keys { + let dec2 = v2::VerifyingKey::from_bytes(a).is_ok(); + let dec3 = v3::VerifyingKey::from_bytes(a).is_ok(); + let weak2 = v2::VerifyingKey::from_bytes(a).map(|k| k.is_weak()).unwrap_or(false); + let weak3 = v3::VerifyingKey::from_bytes(a).map(|k| k.is_weak()).unwrap_or(false); + let mut acc = [0usize; 4]; + for t in &torsion_r { + let mut sig = [0u8; 64]; + sig[..32].copy_from_slice(t); // R = torsion point, S = 0 + let (x, y) = check2(a, &msg, &sig); + let (z, w) = check3(a, &msg, &sig); + acc[0] += x as usize; + acc[1] += y as usize; + acc[2] += z as usize; + acc[3] += w as usize; + } + strict_accepts_any |= acc[1] > 0 || acc[3] > 0; + versions_differ |= acc[0] != acc[2] || acc[1] != acc[3] || dec2 != dec3 || weak2 != weak3; + if name.starts_with("EIGHT_TORSION") && a == &unhex::<32>(IDENTITY) { + identity_non_strict_accepts += acc[0]; + } + r.info( + &format!("small-order key {name}"), + format!( + "decodes v2={dec2} v3={dec3} is_weak v2={weak2} v3={weak3} | of 8 torsion R with S=0 accepted: v2 verify={} v2 strict={} v3 verify={} v3 strict={} | key={}", + acc[0], acc[1], acc[2], acc[3], hex(a) + ), + ); + } + r.check( + "small-order keys: verify_strict accepts no torsion-R forgery (2.2.0 and 3.0.0)", + !strict_accepts_any, + "see the per-key lines above", + ); + r.check( + "small-order keys: 2.2.0 and 3.0.0 give identical decode, is_weak and verify counts", + !versions_differ, + "per-key counts above", + ); + r.check( + "identity key: plain verify accepts a torsion-R forgery (2.2.0), as predicted", + identity_non_strict_accepts > 0, + format!("accepted={identity_non_strict_accepts}"), + ); + + // Identity public key, R = [s]B, S = s: valid under plain verify for any message, without a secret key. + let ident: [u8; 32] = unhex(IDENTITY); + let mut universal = [0usize; 4]; + let mut trials = 0usize; + for n in [1u64, 2, 12345, 0xdead_beef] { + let s = Scalar::from(n); + let mut sig = [0u8; 64]; + sig[..32].copy_from_slice(&(s * constants::ED25519_BASEPOINT_POINT).compress().to_bytes()); + sig[32..].copy_from_slice(&s.to_bytes()); + for m in [b"any message".as_slice(), b"another message, another length".as_slice()] { + trials += 1; + let (a, b) = check2(&ident, m, &sig); + let (c, d) = check3(&ident, m, &sig); + universal[0] += a as usize; + universal[1] += b as usize; + universal[2] += c as usize; + universal[3] += d as usize; + } + } + r.check( + "identity key: forgery R=[s]B, S=s accepted by verify, rejected by verify_strict (both versions)", + universal[0] == trials && universal[2] == trials && universal[1] == 0 && universal[3] == 0, + format!("trials={trials} accepted [v2 verify, v2 strict, v3 verify, v3 strict]={universal:?}"), + ); + + // Control: a real key with R = identity and S = 0 must still be rejected. + let seed = [9u8; 32]; + let real = pk2(&seed); + let mut sig = [0u8; 64]; + sig[..32].copy_from_slice(&unhex::<32>(IDENTITY)); + let (a, b) = check2(&real, &msg, &sig); + let (c, d) = check3(&real, &msg, &sig); + r.check( + "control: non-small-order key with R=identity, S=0 rejected by all four paths", + !a && !b && !c && !d, + format!("v2={a}/{b} v3={c}/{d}"), + ); +} + +/// Seed vs expanded key vs keypair vs PKCS#8. SHA-512(seed) is computed here by hand, then fed to hazmat. +fn expanded_and_formats(r: &mut Report) { + let mut mix = Mix(6); + let (mut hz_bad, mut kp_bad, mut der_bad, mut trials) = (0usize, 0usize, 0usize, 0usize); + for _ in 0..32 { + trials += 1; + let seed: [u8; 32] = mix.bytes(); + let msg: Vec = (0..50).map(|_| mix.next() as u8).collect(); + let expanded: [u8; 64] = Sha512::digest(seed).into(); + + let esk2 = v2::hazmat::ExpandedSecretKey::from_bytes(&expanded); + let vk2 = v2::VerifyingKey::from(&esk2); + let hz2 = v2::hazmat::raw_sign::(&esk2, &msg, &vk2).to_bytes(); + let esk3 = v3::hazmat::ExpandedSecretKey::from_bytes(&expanded); + let vk3 = v3::VerifyingKey::from(&esk3); + let hz3 = v3::hazmat::raw_sign::(&esk3, &msg, &vk3).to_bytes(); + let same = hz2 == sign2(&seed, &msg) + && hz3 == sign3(&seed, &msg) + && vk2.to_bytes() == pk2(&seed) + && vk3.to_bytes() == pk3(&seed); + hz_bad += (!same) as usize; + + let kp2 = v2::SigningKey::from_bytes(&seed).to_keypair_bytes(); + let kp_ok = matches!(v3::SigningKey::from_keypair_bytes(&kp2), Ok(k) if k.to_bytes() == seed); + let mut tampered = kp2; + tampered[63] ^= 1; + let kp_tamper_rejected = v2::SigningKey::from_keypair_bytes(&tampered).is_err() + && v3::SigningKey::from_keypair_bytes(&tampered).is_err(); + kp_bad += (!(kp_ok && kp_tamper_rejected)) as usize; + + use v2::pkcs8::EncodePrivateKey as _; + let der2 = v2::SigningKey::from_bytes(&seed).to_pkcs8_der().expect("der2"); + use v3::pkcs8::EncodePrivateKey as _; + let der3 = v3::SigningKey::from_bytes(&seed).to_pkcs8_der().expect("der3"); + use v3::pkcs8::DecodePrivateKey as _; + let back = v3::SigningKey::from_pkcs8_der(der2.as_bytes()).map(|k| k.to_bytes() == seed); + der_bad += (!(der2.as_bytes() == der3.as_bytes() && back == Ok(true))) as usize; + if trials == 1 { + let same = der2.as_bytes() == der3.as_bytes(); + r.info("pkcs8 DER of seed 0", format!("2.2.0 == 3.0.0: {same}; hex={}", hex(der2.as_bytes()))); + } + } + r.check( + "expanded key: SHA-512(seed) through hazmat gives the same signatures and keys as seed signing", + hz_bad == 0, + format!("seeds={trials} mismatches={hz_bad}"), + ); + r.check( + "keypair (seed||pk): 2.2.0 bytes load in 3.0.0, and a tampered public half is refused by both", + kp_bad == 0, + format!("seeds={trials} failures={kp_bad}"), + ); + r.check( + "PKCS#8 DER of the seed: byte-identical in 2.2.0 and 3.0.0, and 3.0.0 reads 2.2.0's", + der_bad == 0, + format!("seeds={trials} failures={der_bad}"), + ); +} + +/// Which 32-byte strings decode, and is_weak, across the two versions. Covers canonical y, non-canonical y +/// (y >= p), both sign bits, and random bytes. +fn decoding_table(r: &mut Report) { + let p: [u8; 32] = unhex(P_LE); + let mut encodings: Vec<[u8; 32]> = Vec::new(); + for d in 0..=300u32 { + let small = le_add_small(&[0u8; 32], d); + encodings.push(small); + encodings.push(le_add_small(&p, d)); // y = p + d, non-canonical for every d >= 0 + encodings.push(le_sub_small(&p, d + 1)); // y = p - (d+1), canonical + } + let mut mix = Mix(8); + for _ in 0..2000 { + encodings.push(mix.bytes()); + } + let mut both_sign = Vec::new(); + for e in &encodings { + both_sign.push(*e); + let mut flipped = *e; + flipped[31] ^= 0x80; + both_sign.push(flipped); + } + let (mut total, mut ok2, mut ok3, mut decode_diff, mut weak_diff, mut weak_true) = (0usize, 0usize, 0usize, 0usize, 0usize, 0usize); + for e in &both_sign { + total += 1; + let k2 = v2::VerifyingKey::from_bytes(e); + let k3 = v3::VerifyingKey::from_bytes(e); + ok2 += k2.is_ok() as usize; + ok3 += k3.is_ok() as usize; + if k2.is_ok() != k3.is_ok() { + decode_diff += 1; + } + if let (Ok(a), Ok(b)) = (k2, k3) { + if a.is_weak() != b.is_weak() { + weak_diff += 1; + } + weak_true += b.is_weak() as usize; + } + } + r.check( + "decode: VerifyingKey::from_bytes accepts the same 32-byte strings in 2.2.0 and 3.0.0", + decode_diff == 0, + format!("encodings={total} decodes v2={ok2} v3={ok3} disagreements={decode_diff}"), + ); + r.check( + "decode: is_weak agrees for every decodable key", + weak_diff == 0, + format!("disagreements={weak_diff} small-order among decodable={weak_true}"), + ); +} + +/// Error text and generate(). Display strings are printed, not compared, because they are a detail. +fn errors_and_generate(r: &mut Report) { + let mut bad = None; + for y in 2u32..400 { + let e = le_add_small(&[0u8; 32], y); + if v2::VerifyingKey::from_bytes(&e).is_err() { + bad = Some(e); + break; + } + } + let bad = bad.expect("an off-curve y below 400"); + let e2 = v2::VerifyingKey::from_bytes(&bad).expect_err("v2 rejects"); + let e3 = v3::VerifyingKey::from_bytes(&bad).expect_err("v3 rejects"); + r.info( + "error: off-curve public key (both versions return Err)", + format!( + "v2 Display={:?} Debug={:?} | v3 Display={:?} Debug={:?} | bytes={}", + e2.to_string(), + format!("{e2:?}"), + e3.to_string(), + format!("{e3:?}"), + hex(&bad) + ), + ); + let s2 = v2::Signature::from_slice(&[0u8; 63]).expect_err("63 bytes"); + let s3 = v3::Signature::from_slice(&[0u8; 63]).expect_err("63 bytes"); + r.info( + "error: 63-byte signature slice (both versions return Err)", + format!("v2 Display={:?} | v3 Display={:?}", s2.to_string(), s3.to_string()), + ); + + let mut rng2 = rand_core_v06::OsRng; + let sk2 = v2::SigningKey::generate(&mut rng2); + let mut rng3 = getrandom_v04::rand_core::UnwrapErr(getrandom_v04::SysRng); + let sk3 = v3::SigningKey::generate(&mut rng3); + let msg = b"generated keys"; + let s2 = { + use v2::Signer; + sk2.sign(msg).to_bytes() + }; + let s3 = { + use v3::Signer; + sk3.sign(msg).to_bytes() + }; + let x = check3(&sk2.verifying_key().to_bytes(), msg, &s2); + let y = check2(&sk3.verifying_key().to_bytes(), msg, &s3); + r.check( + "generate(): keys from OsRng (2.2.0, rand_core 0.6) and SysRng via UnwrapErr (3.0.0, rand_core 0.10) cross-verify", + x == (true, true) && y == (true, true), + format!("v3 verifies v2-generated key: {x:?}; v2 verifies v3-generated key: {y:?}"), + ); +} + +fn main() { + let mut r = Report::default(); + keys_and_rfc(&mut r); + deterministic_and_cross(&mut r); + negatives(&mut r); + non_canonical_s(&mut r); + small_order(&mut r); + expanded_and_formats(&mut r); + decoding_table(&mut r); + errors_and_generate(&mut r); + for line in &r.lines { + println!("{line}"); + } + println!("SUMMARY pass={} fail={}", r.pass, r.fail); + if r.fail > 0 { + std::process::exit(1); + } +} diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/wire/src/rfc_vectors.rs b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/wire/src/rfc_vectors.rs new file mode 100644 index 0000000000..9a6adf4a7d --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ed25519/wire/src/rfc_vectors.rs @@ -0,0 +1,8 @@ +// Generated by scripts/gen_rfc_vectors.py from RFC 8032 section 7.1 (rfc-editor.org/rfc/rfc8032.txt). +pub const RFC8032: &[(&str, &str, &str, &str, &str)] = &[ + ("TEST 1", "9d61b19deffd5a60ba844af492ec2cc44449c5697b326919703bac031cae7f60", "d75a980182b10ab7d54bfed3c964073a0ee172f3daa62325af021a68f707511a", "", "e5564300c360ac729086e2cc806e828a84877f1eb8e5d974d873e065224901555fb8821590a33bacc61e39701cf9b46bd25bf5f0595bbe24655141438e7a100b"), + ("TEST 2", "4ccd089b28ff96da9db6c346ec114e0f5b8a319f35aba624da8cf6ed4fb8a6fb", "3d4017c3e843895a92b70aa74d1b7ebc9c982ccf2ec4968cc0cd55f12af4660c", "72", "92a009a9f0d4cab8720e820b5f642540a2b27b5416503f8fb3762223ebdb69da085ac1e43e15996e458f3613d0f11d8c387b2eaeb4302aeeb00d291612bb0c00"), + ("TEST 3", "c5aa8df43f9f837bedb7442f31dcb7b166d38535076f094b85ce3a2e0b4458f7", "fc51cd8e6218a1a38da47ed00230f0580816ed13ba3303ac5deb911548908025", "af82", "6291d657deec24024827e69c3abe01a30ce548a284743a445e3680d7db5ac3ac18ff9b538d16f290ae67f760984dc6594a7c15e9716ed28dc027beceea1ec40a"), + ("TEST 1024", "f5e5767cf153319517630f226876b86c8160cc583bc013744c6bf255f5cc0ee5", "278117fc144c72340f67d0f2316e8386ceffbf2b2428c9c51fef7c597f1d426e", "08b8b2b733424243760fe426a4b54908632110a66c2f6591eabd3345e3e4eb98fa6e264bf09efe12ee50f8f54e9f77b1e355f6c50544e23fb1433ddf73be84d879de7c0046dc4996d9e773f4bc9efe5738829adb26c81b37c93a1b270b20329d658675fc6ea534e0810a4432826bf58c941efb65d57a338bbd2e26640f89ffbc1a858efcb8550ee3a5e1998bd177e93a7363c344fe6b199ee5d02e82d522c4feba15452f80288a821a579116ec6dad2b3b310da903401aa62100ab5d1a36553e06203b33890cc9b832f79ef80560ccb9a39ce767967ed628c6ad573cb116dbefefd75499da96bd68a8a97b928a8bbc103b6621fcde2beca1231d206be6cd9ec7aff6f6c94fcd7204ed3455c68c83f4a41da4af2b74ef5c53f1d8ac70bdcb7ed185ce81bd84359d44254d95629e9855a94a7c1958d1f8ada5d0532ed8a5aa3fb2d17ba70eb6248e594e1a2297acbbb39d502f1a8c6eb6f1ce22b3de1a1f40cc24554119a831a9aad6079cad88425de6bde1a9187ebb6092cf67bf2b13fd65f27088d78b7e883c8759d2c4f5c65adb7553878ad575f9fad878e80a0c9ba63bcbcc2732e69485bbc9c90bfbd62481d9089beccf80cfe2df16a2cf65bd92dd597b0707e0917af48bbb75fed413d238f5555a7a569d80c3414a8d0859dc65a46128bab27af87a71314f318c782b23ebfe808b82b0ce26401d2e22f04d83d1255dc51addd3b75a2b1ae0784504df543af8969be3ea7082ff7fc9888c144da2af58429ec96031dbcad3dad9af0dcbaaaf268cb8fcffead94f3c7ca495e056a9b47acdb751fb73e666c6c655ade8297297d07ad1ba5e43f1bca32301651339e22904cc8c42f58c30c04aafdb038dda0847dd988dcda6f3bfd15c4b4c4525004aa06eeff8ca61783aacec57fb3d1f92b0fe2fd1a85f6724517b65e614ad6808d6f6ee34dff7310fdc82aebfd904b01e1dc54b2927094b2db68d6f903b68401adebf5a7e08d78ff4ef5d63653a65040cf9bfd4aca7984a74d37145986780fc0b16ac451649de6188a7dbdf191f64b5fc5e2ab47b57f7f7276cd419c17a3ca8e1b939ae49e488acba6b965610b5480109c8b17b80e1b7b750dfc7598d5d5011fd2dcc5600a32ef5b52a1ecc820e308aa342721aac0943bf6686b64b2579376504ccc493d97e6aed3fb0f9cd71a43dd497f01f17c0e2cb3797aa2a2f256656168e6c496afc5fb93246f6b1116398a346f1a641f3b041e989f7914f90cc2c7fff357876e506b50d334ba77c225bc307ba537152f3f1610e4eafe595f6d9d90d11faa933a15ef1369546868a7f3a45a96768d40fd9d03412c091c6315cf4fde7cb68606937380db2eaaa707b4c4185c32eddcdd306705e4dc1ffc872eeee475a64dfac86aba41c0618983f8741c5ef68d3a101e8a3b8cac60c905c15fc910840b94c00a0b9d0", "0aab4c900501b3e24d7cdf4663326a3a87df5e4843b2cbdb67cbf6e460fec350aa5371b1508f9f4528ecea23c436d94b5e8fcd4f681e30a6ac00a9704a188a03"), + ("TEST SHA(abc)", "833fe62409237b9d62ec77587520911e9a759cec1d19755b7da901b96dca3d42", "ec172b93ad5e563bf4932c70e1245034c35467ef2efd4d64ebf819683467e2bf", "ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f", "dc2a4459e7369633a52b1bf277839a00201009a3efbf3ecb69bea2186c26b58909351fc9ac90b3ecfdfbc7c66431e0303dca179c138ac17ad9bef1177331a704"), +]; diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/Cargo.lock b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/Cargo.lock new file mode 100644 index 0000000000..cc56d7f684 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/Cargo.lock @@ -0,0 +1,3810 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "aead" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0" +dependencies = [ + "crypto-common 0.1.7", + "generic-array", +] + +[[package]] +name = "aes" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" +dependencies = [ + "cfg-if", + "cipher", + "cpufeatures 0.2.17", +] + +[[package]] +name = "aes-gcm" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "831010a0f742e1209b3bcea8fab6a8e149051ba6099432c8cb2cc117dec3ead1" +dependencies = [ + "aead", + "aes", + "cipher", + "ctr", + "ghash", + "subtle", +] + +[[package]] +name = "aho-corasick" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba" +dependencies = [ + "memchr", +] + +[[package]] +name = "android_system_properties" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae221649c9976a6f6c56ae1facf410f3ddb33cc661c4b7b61020a912d4237fbc" +dependencies = [ + "libc", +] + +[[package]] +name = "anyhow" +version = "1.0.104" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470" + +[[package]] +name = "arc-swap" +version = "1.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c049c0be4daef0b145cb3555416b3b8ef5b7888a38aea1a3a155801fe7b0810b" +dependencies = [ + "rustversion", +] + +[[package]] +name = "arrayvec" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56" + +[[package]] +name = "async_io_stream" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6d7b9decdf35d8908a7e3ef02f64c5e9b1695e230154c0e8de3969142d9b94c" +dependencies = [ + "futures", + "pharos", + "rustc_version", +] + +[[package]] +name = "atomic-waker" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" + +[[package]] +name = "attohttpc" +version = "0.30.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16e2cdb6d5ed835199484bb92bb8b3edd526effe995c61732580439c1a67e2e9" +dependencies = [ + "base64 0.22.1", + "http", + "log", + "url", +] + +[[package]] +name = "autocfg" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" + +[[package]] +name = "backon" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cffb0e931875b666fc4fcb20fee52e9bbd1ef836fd9e9e04ec21555f9f85f7ef" +dependencies = [ + "fastrand", + "gloo-timers", + "tokio", +] + +[[package]] +name = "base16ct" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd307490d624467aa6f74b0eabb77633d1f758a7b25f12bceb0b22e08d9726f6" + +[[package]] +name = "base64" +version = "0.22.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" + +[[package]] +name = "base64" +version = "0.23.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac07cdecf99051d9a5238b80f35af32cdeba5b336e55d957b318b50137e18da5" + +[[package]] +name = "base64ct" +version = "1.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2af50177e190e07a26ab74f8b1efbfe2ef87da2116221318cb1c2e82baf7de06" + +[[package]] +name = "bitflags" +version = "2.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06" + +[[package]] +name = "blake3" +version = "1.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d9e454fc11f76977dc803893aff6304ed33d6a26efae8696573bea74baa27ae" +dependencies = [ + "arrayvec", + "cc", + "cfg-if", + "constant_time_eq", + "cpufeatures 0.3.1", +] + +[[package]] +name = "block-buffer" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2f6c7dbe95a6ed67ad9f18e57daf93a2f034c524b99fd2b76d18fdfeb6660aa" +dependencies = [ + "hybrid-array", +] + +[[package]] +name = "block2" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdeb9d870516001442e364c5220d3574d2da8dc765554b4a617230d33fa58ef5" +dependencies = [ + "objc2", +] + +[[package]] +name = "bumpalo" +version = "3.20.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649" + +[[package]] +name = "bytes" +version = "1.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04" + +[[package]] +name = "cc" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50a649af8a827553c29fb0cb4bd4a6f1a0dd695bd3232b9bc98bd9c8a3ffbb8b" +dependencies = [ + "find-msvc-tools", + "shlex", +] + +[[package]] +name = "cesu8" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c" + +[[package]] +name = "cfg-if" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600" + +[[package]] +name = "cfg_aliases" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527" + +[[package]] +name = "chacha20" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65c35e4b699c7e15ccbe7ee35c005e4fc0a278d22238a2857e6ce2dadeda1b06" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "rand_core", +] + +[[package]] +name = "chrono" +version = "0.4.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1aa79e62e7697b8e29b513a68abacf485adcd1fe8284a4316c5ae868e6633327" +dependencies = [ + "iana-time-zone", + "num-traits", + "serde", + "windows-link", +] + +[[package]] +name = "cipher" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" +dependencies = [ + "crypto-common 0.1.7", + "inout", +] + +[[package]] +name = "cmov" +version = "0.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c9ea0ac24bc397ab3c98583a3c9ba74fa56b09a4449bbe172b9b1ddb016027a" + +[[package]] +name = "cobs" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fa961b519f0b462e3a3b4a34b64d119eeaca1d59af726fe450bbba07a9fc0a1" +dependencies = [ + "thiserror 2.0.21", +] + +[[package]] +name = "combine" +version = "4.6.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfc320937d09e6de266b31b9afb480f197d7a861be86be7cb2ea7e5d1bfffc5e" +dependencies = [ + "bytes", + "memchr", +] + +[[package]] +name = "const-oid" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6ef517f0926dd24a1582492c791b6a4818a4d94e789a334894aa15b0d12f55c" + +[[package]] +name = "constant_time_eq" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d52eff69cd5e647efe296129160853a42795992097e8af39800e1060caeea9b" + +[[package]] +name = "convert_case" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "633458d4ef8c78b72454de2d54fd6ab2e60f9e02be22f3c6104cdc8a4e0fceb9" +dependencies = [ + "unicode-segmentation", +] + +[[package]] +name = "cordyceps" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b9ab7e0ca1d179628fa0172b2b97203c7fa0cd81be2448bd446fb9559ca9261" +dependencies = [ + "loom", + "tracing", +] + +[[package]] +name = "core-foundation" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "core-foundation-sys" +version = "0.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" + +[[package]] +name = "cpufeatures" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" +dependencies = [ + "libc", +] + +[[package]] +name = "cpufeatures" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ca28b0ae3115b884660db4118d803791fd6756b6e88f39c0f3f7859060d7566" +dependencies = [ + "libc", +] + +[[package]] +name = "crypto-common" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" +dependencies = [ + "generic-array", + "typenum", +] + +[[package]] +name = "crypto-common" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453" +dependencies = [ + "hybrid-array", + "rand_core", +] + +[[package]] +name = "ctr" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835" +dependencies = [ + "cipher", +] + +[[package]] +name = "ctutils" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03bb0e1cc970d482d121d9a1744999169b69a07470b3d644a7894e53fcaf4574" +dependencies = [ + "cmov", +] + +[[package]] +name = "curve25519-dalek" +version = "5.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5eed333089e2e1c1ac8c6c0398e5e2497b4c9926ca6d0365ed1e099afa5bc23" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "curve25519-dalek-derive", + "digest", + "fiat-crypto", + "rand_core", + "rustc_version", + "serde", + "subtle", + "zeroize", +] + +[[package]] +name = "curve25519-dalek-derive" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "data-encoding" +version = "2.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4583a4551df46e2792f82ceeac45e850d2e2d5debba0b91f102385cda5b11f06" + +[[package]] +name = "data-encoding-macro" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6a127ecbb3c4632e1525380e04c0c3fcf8dcb44d32a79ea290d8a36906edcd8" +dependencies = [ + "data-encoding", + "data-encoding-macro-internal", +] + +[[package]] +name = "data-encoding-macro-internal" +version = "0.1.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c54e03a951783e8b327515db3f2a2fd0e3bed362a96b066f341ce66ed49b4ead" +dependencies = [ + "data-encoding", + "syn 3.0.7", +] + +[[package]] +name = "der" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a878c850e9e421b20262e9b41f9c860e4785fa07541c266b62ff9d1ef998a80a" +dependencies = [ + "const-oid", + "pem-rfc7468", + "zeroize", +] + +[[package]] +name = "deranged" +version = "0.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c" + +[[package]] +name = "derive_more" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d751e9e49156b02b44f9c1815bcb94b984cdcc4396ecc32521c739452808b134" +dependencies = [ + "derive_more-impl", +] + +[[package]] +name = "derive_more-impl" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "799a97264921d8623a957f6c3b9011f3b5492f557bbb7a5a19b7fa6d06ba8dcb" +dependencies = [ + "convert_case", + "proc-macro2", + "quote", + "rustc_version", + "syn 2.0.119", + "unicode-xid", +] + +[[package]] +name = "diatomic-waker" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab03c107fafeb3ee9f5925686dbb7a73bc76e3932abb0d2b365cb64b169cf04c" + +[[package]] +name = "digest" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2" +dependencies = [ + "block-buffer", + "crypto-common 0.2.2", +] + +[[package]] +name = "dispatch2" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e0e367e4e7da84520dedcac1901e4da967309406d1e51017ae1abfb97adbd38" +dependencies = [ + "bitflags", + "block2", + "libc", + "objc2", +] + +[[package]] +name = "displaydoc" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "dlopen2" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e2c5bd4158e66d1e215c49b837e11d62f3267b30c92f1d171c4d3105e3dc4d4" +dependencies = [ + "libc", + "once_cell", + "winapi", +] + +[[package]] +name = "ed25519" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29fcf32e6c73d1079f83ab4d782de2d81620346a5f38c6237a86a22f8368980a" +dependencies = [ + "pkcs8", + "serdect", + "signature", +] + +[[package]] +name = "ed25519-dalek" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ebaa1a2bf1290ab3bfe5a7b771d050ebffab2711c19a81691c683a5144a25de" +dependencies = [ + "curve25519-dalek", + "ed25519", + "rand_core", + "serde", + "sha2", + "signature", + "subtle", + "zeroize", +] + +[[package]] +name = "embedded-io" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef1a6892d9eef45c8fa6b9e0086428a2cca8491aca8f787c534a3d6d0bcb3ced" + +[[package]] +name = "embedded-io" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "edd0f118536f44f5ccd48bcb8b111bdc3de888b58c74639dfb034a357d0f206d" + +[[package]] +name = "enum-assoc" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0590c4a94da3372e83493b956755a6e2266830b6e4e3b101afe66e3f39477b91" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "equivalent" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" + +[[package]] +name = "errno" +version = "0.3.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" +dependencies = [ + "libc", + "windows-sys 0.61.2", +] + +[[package]] +name = "fastrand" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223" + +[[package]] +name = "fiat-crypto" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64cd1e32ddd350061ae6edb1b082d7c54915b5c672c389143b9a63403a109f24" + +[[package]] +name = "find-msvc-tools" +version = "0.1.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aedcfb3409746eddb02b9e19ebda1c3394f759a152e48ee875a0844d1b955484" + +[[package]] +name = "fnv" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" + +[[package]] +name = "foldhash" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" + +[[package]] +name = "form_urlencoded" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" +dependencies = [ + "percent-encoding", +] + +[[package]] +name = "futures" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a31d2a3fbaaeb2af2368bbdd904aa8e812d3c04a1ee10d3171f52d556e5d0a3" +dependencies = [ + "futures-channel", + "futures-core", + "futures-executor", + "futures-io", + "futures-sink", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-buffered" +version = "0.2.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4421cb78ee172b6b06080093479d3c50f058e7c81b7d577bbb8d118d551d4cd5" +dependencies = [ + "cordyceps", + "diatomic-waker", + "futures-core", + "pin-project-lite", + "spin", +] + +[[package]] +name = "futures-channel" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1f9e3d69d39e4862ffed03ed071a76f9a13ba1d9109d355b0f0aa6b15e393c4" +dependencies = [ + "futures-core", + "futures-sink", +] + +[[package]] +name = "futures-core" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e" + +[[package]] +name = "futures-executor" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "031b47cf1a3c6cc8bc2fc76cd437f521619387907d469316e7c0bc278f1f5432" +dependencies = [ + "futures-core", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-io" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53c0fa8157de1303bfffdaa1cc2a673bfffb60102f76b0ef4441659124373fed" + +[[package]] +name = "futures-lite" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f78e10609fe0e0b3f4157ffab1876319b5b0db102a2c60dc4626306dc46b44ad" +dependencies = [ + "fastrand", + "futures-core", + "futures-io", + "parking", + "pin-project-lite", +] + +[[package]] +name = "futures-macro" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fb9654ba8355388abeb8dcb4fc62f511300867002afc858860463bdd9fe0c44" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "futures-sink" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1944426bf7d03f1d14f708785e4b33efd750b36d48a157b836b3efc15ede8e1d" + +[[package]] +name = "futures-task" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd" + +[[package]] +name = "futures-util" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc" +dependencies = [ + "futures-channel", + "futures-core", + "futures-io", + "futures-macro", + "futures-sink", + "futures-task", + "memchr", + "pin-project-lite", + "slab", +] + +[[package]] +name = "generator" +version = "0.8.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "54ade96dc9003043bce7c035c85a9df5a858bfb2039c5a2e6fdf00f324f6c551" +dependencies = [ + "cc", + "cfg-if", + "libc", + "log", + "rustversion", + "windows-link", + "windows-result", +] + +[[package]] +name = "generic-array" +version = "0.14.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +dependencies = [ + "typenum", + "version_check", +] + +[[package]] +name = "getrandom" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0" +dependencies = [ + "cfg-if", + "js-sys", + "libc", + "wasi", + "wasm-bindgen", +] + +[[package]] +name = "getrandom" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" +dependencies = [ + "cfg-if", + "js-sys", + "libc", + "r-efi", + "rand_core", + "wasm-bindgen", +] + +[[package]] +name = "ghash" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0d8a4362ccb29cb0b265253fb0a2728f592895ee6854fd9bc13f2ffda266ff1" +dependencies = [ + "opaque-debug", + "polyval", +] + +[[package]] +name = "gloo-timers" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbb143cf96099802033e0d4f4963b19fd2e0b728bcf076cd9cf7f6634f092994" +dependencies = [ + "futures-channel", + "futures-core", + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "h2" +version = "0.4.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d29020232d6aa3fb1daca64c1127cf662cf97f254ae16c18c05b8ab635fc118" +dependencies = [ + "atomic-waker", + "bytes", + "fnv", + "futures-core", + "futures-sink", + "http", + "indexmap", + "slab", + "tokio", + "tokio-util", + "tracing", +] + +[[package]] +name = "hashbrown" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" +dependencies = [ + "foldhash", +] + +[[package]] +name = "heck" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" + +[[package]] +name = "http" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "918d3568bebf352712bc2ef3d46a8bcf1a75b373be6539de198e9105cbbf9ce0" +dependencies = [ + "bytes", + "itoa", +] + +[[package]] +name = "http-body" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca2a8f2913ee65f60facd6a5905613afaa448497a0230cc41ce022d93290bc2c" +dependencies = [ + "bytes", + "http", +] + +[[package]] +name = "http-body-util" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23169fe34a5fbcdd3f3862e78fb9b6fccd5f02a6dc6f732547005d45631ce71c" +dependencies = [ + "bytes", + "futures-core", + "http", + "http-body", + "pin-project-lite", +] + +[[package]] +name = "httparse" +version = "1.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" + +[[package]] +name = "httpdate" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" + +[[package]] +name = "hybrid-array" +version = "0.4.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27f864f10dfb56725ce5ce5472bc52252c8f93a4ab86327122cebf62c5f59a17" +dependencies = [ + "typenum", +] + +[[package]] +name = "hyper" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c3e324da4c95177d6291d4c8730197c0d1822f8a9766814a4a44fa5ab797c9c" +dependencies = [ + "atomic-waker", + "bytes", + "futures-channel", + "futures-core", + "h2", + "http", + "http-body", + "httparse", + "httpdate", + "itoa", + "pin-project-lite", + "smallvec", + "tokio", + "want", +] + +[[package]] +name = "hyper-rustls" +version = "0.27.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfa8e654703247911e29c23fbeaa261834bd9bb74efba2f9acddc37bfb127f53" +dependencies = [ + "http", + "hyper", + "hyper-util", + "rustls", + "tokio", + "tokio-rustls", + "tower-service", +] + +[[package]] +name = "hyper-util" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddc03d96684f9226b8a787cdb71488417b53ab5ea8fdb1dac946cb9431cc8bff" +dependencies = [ + "base64 0.23.1", + "bytes", + "futures-channel", + "futures-util", + "http", + "http-body", + "httparse", + "hyper", + "ipnet", + "libc", + "percent-encoding", + "pin-project-lite", + "socket2", + "tokio", + "tower-service", + "tracing", +] + +[[package]] +name = "iana-time-zone" +version = "0.1.65" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e31bc9ad994ba00e440a8aa5c9ef0ec67d5cb5e5cb0cc7f8b744a35b389cc470" +dependencies = [ + "android_system_properties", + "core-foundation-sys", + "iana-time-zone-haiku", + "js-sys", + "log", + "wasm-bindgen", + "windows-core", +] + +[[package]] +name = "iana-time-zone-haiku" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" +dependencies = [ + "cc", +] + +[[package]] +name = "icu_collections" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa68d21081c4a05d5a901a1c62add574c77048b6a1c67be3b50ce0b60d4ca513" +dependencies = [ + "displaydoc", + "potential_utf", + "utf8_iter", + "yoke", + "zerofrom", + "zerovec", +] + +[[package]] +name = "icu_locale_core" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d56e28588da92eee5c3201a6eff33fabdd49b62269c8938d4ff050ce4d900deb" +dependencies = [ + "displaydoc", + "litemap", + "tinystr", + "writeable", + "zerovec", +] + +[[package]] +name = "icu_normalizer" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12f9cf5f235641ed274641dd81c3f28d870e276763d0797aeeab72317b1c646f" +dependencies = [ + "icu_collections", + "icu_normalizer_data", + "icu_properties", + "icu_provider", + "smallvec", + "zerovec", +] + +[[package]] +name = "icu_normalizer_data" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1563da1ed3e0b3bf3d74c9b85917ac9c56464d2f57242270c09c9e752f8021a0" + +[[package]] +name = "icu_properties" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e7ca276ad3145661a65914e6daf131ca5120cd3dcee8f8f3214b8875184a148" +dependencies = [ + "displaydoc", + "icu_collections", + "icu_locale_core", + "icu_properties_data", + "icu_provider", + "zerotrie", + "zerovec", +] + +[[package]] +name = "icu_properties_data" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e590f038c1464a96894fd6d10127e90a8be4509f56ff7ecef851b15cee0b7caa" + +[[package]] +name = "icu_provider" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d27bbb9d3abbefac45d55f647c9de1d44aafcd1186eb91879afef17c396c3e73" +dependencies = [ + "displaydoc", + "icu_locale_core", + "writeable", + "yoke", + "zerofrom", + "zerotrie", + "zerovec", +] + +[[package]] +name = "identity-hash" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfdd7caa900436d8f13b2346fe10257e0c05c1f1f9e351f4f5d57c03bd5f45da" + +[[package]] +name = "idna" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" +dependencies = [ + "idna_adapter", + "smallvec", + "utf8_iter", +] + +[[package]] +name = "idna_adapter" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714" +dependencies = [ + "icu_normalizer", + "icu_properties", +] + +[[package]] +name = "igd-next" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de7238d487a9aff61f81b5ab41c0a841532a115a398b5fa92a2fadd0885e2581" +dependencies = [ + "attohttpc", + "bytes", + "futures", + "http", + "http-body-util", + "hyper", + "hyper-util", + "log", + "rand", + "tokio", + "url", + "xmltree", +] + +[[package]] +name = "indexmap" +version = "2.14.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855" +dependencies = [ + "equivalent", + "hashbrown", +] + +[[package]] +name = "inout" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01" +dependencies = [ + "generic-array", +] + +[[package]] +name = "ipconfig" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4d40460c0ce33d6ce4b0630ad68ff63d6661961c48b6dba35e5a4d81cfb48222" +dependencies = [ + "socket2", + "widestring", + "windows-registry", + "windows-result", + "windows-sys 0.61.2", +] + +[[package]] +name = "ipnet" +version = "2.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "791930b43c0d5973160d90a8f3894509f2b273430f5c5c73b668636d0287c5c0" + +[[package]] +name = "iroh" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "885787b892b5e2507c701f132ecbd45d2bad4bbb75157a19427087c16dadb833" +dependencies = [ + "backon", + "blake3", + "bytes", + "cfg_aliases", + "ctutils", + "data-encoding", + "derive_more", + "ed25519-dalek", + "futures-util", + "getrandom 0.4.3", + "http", + "ipnet", + "iroh-base", + "iroh-dns", + "iroh-metrics", + "iroh-relay", + "n0-error", + "n0-future", + "n0-watcher", + "netwatch", + "noq", + "noq-proto", + "noq-udp", + "papaya", + "pin-project", + "portable-atomic", + "portmapper", + "rand", + "reqwest", + "rustc-hash", + "rustls", + "rustls-pki-types", + "serde", + "smallvec", + "strum", + "time", + "tokio", + "tokio-stream", + "tokio-util", + "tracing", + "url", + "wasm-bindgen-futures", +] + +[[package]] +name = "iroh-allowlist-spike" +version = "0.0.0" +dependencies = [ + "anyhow", + "iroh", + "tokio", + "tracing", + "tracing-subscriber", +] + +[[package]] +name = "iroh-base" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ae9092be76c9f5429776ab3394f5a5a78dc19dc2524267e884a5b9781546c3f" +dependencies = [ + "curve25519-dalek", + "data-encoding", + "data-encoding-macro", + "derive_more", + "ed25519-dalek", + "getrandom 0.4.3", + "n0-error", + "rand", + "serde", + "url", + "zeroize", +] + +[[package]] +name = "iroh-dns" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80276761b56e904e26ea71d0863beef0bb8d5ab6b639cbd1338e4b615209e3a1" +dependencies = [ + "arc-swap", + "cfg_aliases", + "derive_more", + "iroh-base", + "n0-dns-resolver", + "n0-error", + "n0-future", + "portable-atomic", + "rand", + "rustls", + "simple-dns", + "strum", + "tokio", + "tracing", + "url", +] + +[[package]] +name = "iroh-metrics" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ede55536349842337f7cdc63012ec33dc637945f3259c98a0763aac364cdf09" +dependencies = [ + "iroh-metrics-derive", + "itoa", + "n0-error", + "portable-atomic", + "ryu", + "serde", + "tracing", +] + +[[package]] +name = "iroh-metrics-derive" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ae5f0c4405d1fbc9fb16ff422ca40620e93dc36c30ecaba0c2aee3992b7bd48" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "iroh-relay" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee116a8233f84980574bb8d11e4517503080cd2c3605bafca04ee9c35d708bd9" +dependencies = [ + "blake3", + "bytes", + "cfg_aliases", + "data-encoding", + "derive_more", + "getrandom 0.4.3", + "http", + "http-body-util", + "hyper", + "hyper-util", + "iroh-base", + "iroh-dns", + "iroh-metrics", + "lru", + "n0-error", + "n0-future", + "noq", + "noq-proto", + "num_enum", + "pin-project", + "postcard", + "rand", + "reqwest", + "rustls", + "rustls-pki-types", + "serde", + "serde_bytes", + "strum", + "tokio", + "tokio-rustls", + "tokio-util", + "tokio-websockets", + "tracing", + "url", + "webpki-roots", + "ws_stream_wasm", +] + +[[package]] +name = "itoa" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" + +[[package]] +name = "jni" +version = "0.21.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97" +dependencies = [ + "cesu8", + "cfg-if", + "combine", + "jni-sys 0.3.1", + "log", + "thiserror 1.0.69", + "walkdir", + "windows-sys 0.45.0", +] + +[[package]] +name = "jni" +version = "0.22.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5efd9a482cf3a427f00d6b35f14332adc7902ce91efb778580e180ff90fa3498" +dependencies = [ + "cfg-if", + "combine", + "jni-macros", + "jni-sys 0.4.1", + "log", + "simd_cesu8", + "thiserror 2.0.21", + "walkdir", + "windows-link", +] + +[[package]] +name = "jni-macros" +version = "0.22.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a00109accc170f0bdb141fed3e393c565b6f5e072365c3bd58f5b062591560a3" +dependencies = [ + "proc-macro2", + "quote", + "rustc_version", + "simd_cesu8", + "syn 2.0.119", +] + +[[package]] +name = "jni-sys" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41a652e1f9b6e0275df1f15b32661cf0d4b78d4d87ddec5e0c3c20f097433258" +dependencies = [ + "jni-sys 0.4.1", +] + +[[package]] +name = "jni-sys" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6377a88cb3910bee9b0fa88d4f42e1d2da8e79915598f65fb0c7ee14c878af2" +dependencies = [ + "jni-sys-macros", +] + +[[package]] +name = "jni-sys-macros" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38c0b942f458fe50cdac086d2f946512305e5631e720728f2a61aabcd47a6264" +dependencies = [ + "quote", + "syn 2.0.119", +] + +[[package]] +name = "js-sys" +version = "0.3.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7883d941dae510fb2d978fc3fe018c71c9e2892fd38854de3e8b92c2e5ad9cc5" +dependencies = [ + "cfg-if", + "futures-util", + "wasm-bindgen", +] + +[[package]] +name = "lazy_static" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20870f649af7073d53e38067b2a84312175d56ea15217e1b15bc83506ec50afb" + +[[package]] +name = "libc" +version = "0.2.190" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78" + +[[package]] +name = "litemap" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47d9d19d1d6efa0109d2f65ff4c85cddd50bd572e5a00127ab10987290bcefae" + +[[package]] +name = "lock_api" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" +dependencies = [ + "scopeguard", +] + +[[package]] +name = "log" +version = "0.4.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6" + +[[package]] +name = "loom" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "419e0dc8046cb947daa77eb95ae174acfbddb7673b4151f56d1eed8e93fbfaca" +dependencies = [ + "cfg-if", + "generator", + "scoped-tls", + "tracing", + "tracing-subscriber", +] + +[[package]] +name = "lru" +version = "0.18.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef9ac18847474e638e3702b76c65d4eb93428471a74778ef0f1be711717f89b5" +dependencies = [ + "hashbrown", +] + +[[package]] +name = "lru-slab" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4050469837a6ff301cd14c1f8f24f88549e6d548f24f64e2148eb0f72cebc51f" + +[[package]] +name = "mac-addr" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3d25b0e0b648a86960ac23b7ad4abb9717601dec6f66c165f5b037f3f03065f" + +[[package]] +name = "matchers" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1525a2a28c7f4fa0fc98bb91ae755d1e2d1505079e05539e35bc876b5d65ae9" +dependencies = [ + "regex-automata", +] + +[[package]] +name = "memchr" +version = "2.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" + +[[package]] +name = "mio" +version = "1.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1788edb87fdc09c7e26304471e2f5be8cdefb1b6930d6e3985fc02ff53bf86ee" +dependencies = [ + "libc", + "wasi", + "windows-sys 0.61.2", +] + +[[package]] +name = "n0-dns-resolver" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "535c99c9a786bee714155d2ee4fc2477405c2c43536e1bc6a51de09a0d1448f7" +dependencies = [ + "derive_more", + "ipconfig", + "jni 0.22.4", + "lru", + "n0-error", + "n0-future", + "ndk-context", + "rand", + "reqwest", + "rustc-hash", + "rustls", + "simple-dns", + "system-configuration", + "tokio", + "tokio-rustls", + "tracing", + "webpki-roots", +] + +[[package]] +name = "n0-error" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26c59ea174675ce6bc196878851e5049e11b8b1f9af3ba87e4d6df8d828bb001" +dependencies = [ + "n0-error-macros", + "spez", +] + +[[package]] +name = "n0-error-macros" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4412346410d6616f3668c40e53c298e5320c7b856f7a960e5914e442601be79f" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "n0-future" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2ab99dfb861450e68853d34ae665243a88b8c493d01ba957321a1e9b2312bbe" +dependencies = [ + "cfg_aliases", + "derive_more", + "futures-buffered", + "futures-lite", + "futures-util", + "js-sys", + "pin-project", + "send_wrapper", + "tokio", + "tokio-util", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-time", +] + +[[package]] +name = "n0-watcher" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbc618745ad0b7414b149d0517ad8b5573b2fb4d4e2717add3d2446ce1fdd826" +dependencies = [ + "derive_more", + "n0-error", + "n0-future", +] + +[[package]] +name = "ndk-context" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27b02d87554356db9e9a873add8782d4ea6e3e58ea071a9adb9a2e8ddb884a8b" + +[[package]] +name = "netdev" +version = "0.45.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "096c44b66a9b09b99b4dd36b1c295ff3a492039ccecaf55466bd6ddcdba59968" +dependencies = [ + "block2", + "dispatch2", + "dlopen2", + "ipnet", + "jni 0.21.1", + "libc", + "mac-addr", + "ndk-context", + "netlink-packet-core 0.8.2", + "netlink-packet-route 0.31.0", + "netlink-sys 0.8.8", + "objc2", + "objc2-core-foundation", + "objc2-core-wlan", + "objc2-foundation", + "objc2-system-configuration", + "once_cell", + "plist", + "windows-sys 0.61.2", +] + +[[package]] +name = "netdev" +version = "0.46.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3c52c2584961c68f5a6e3356797344061f818c93b8acc9cd6d7e284795e563e" +dependencies = [ + "block2", + "dispatch2", + "dlopen2", + "ipnet", + "jni 0.21.1", + "libc", + "mac-addr", + "ndk-context", + "netlink-packet-core 0.9.0", + "netlink-packet-route 0.33.0", + "netlink-sys 0.9.0", + "objc2-core-foundation", + "objc2-system-configuration", + "once_cell", + "plist", + "windows-sys 0.61.2", +] + +[[package]] +name = "netlink-packet-core" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b897d7bd4f0af82e68d40d0344cf37e97f9c97ddf74a098de3e4da05e96ca395" +dependencies = [ + "paste", +] + +[[package]] +name = "netlink-packet-core" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d6e2daf9a8c2e21302714706860a0e6be02e03d17294ecc66b354ea7d4059dd" + +[[package]] +name = "netlink-packet-route" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2288fcb784eb3defd5fb16f4c4160d5f477de192eac730f43e1d11c24d9a007" +dependencies = [ + "bitflags", + "libc", + "log", + "netlink-packet-core 0.8.2", +] + +[[package]] +name = "netlink-packet-route" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59d48ffc8b73a506e1ff0878528c72668f2bfbc3d875b6be890a96be5d0d5576" +dependencies = [ + "bitflags", + "libc", + "log", + "netlink-packet-core 0.9.0", + "zerocopy", +] + +[[package]] +name = "netlink-proto" +version = "0.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93af8261786086024cd5e96e0a991dd65ced07bbf7c233a487bbc96b971d5539" +dependencies = [ + "bytes", + "futures-channel", + "futures-util", + "log", + "netlink-packet-core 0.8.2", + "netlink-sys 0.8.8", + "thiserror 2.0.21", +] + +[[package]] +name = "netlink-sys" +version = "0.8.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd6c30ed10fa69cc491d491b85cc971f6bdeb8e7367b7cde2ee6cc878d583fae" +dependencies = [ + "bytes", + "futures-util", + "libc", + "log", + "tokio", +] + +[[package]] +name = "netlink-sys" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c99d38e00b420df49e940fe0826e667c3dad82ac68eb4c2bbf754c1c14a83a10" +dependencies = [ + "bytes", + "libc", + "log", +] + +[[package]] +name = "netwatch" +version = "0.19.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39da9cad5f23aa43401f09497d3b280e51b5feba115d9ffbf38ca35d6ff95e96" +dependencies = [ + "atomic-waker", + "bytes", + "cfg_aliases", + "derive_more", + "ipnet", + "js-sys", + "libc", + "n0-error", + "n0-future", + "n0-watcher", + "netdev 0.45.1", + "netdev 0.46.3", + "netlink-packet-core 0.8.2", + "netlink-packet-route 0.31.0", + "netlink-proto", + "netlink-sys 0.8.8", + "noq-udp", + "objc2-core-foundation", + "objc2-system-configuration", + "pin-project-lite", + "serde", + "socket2", + "time", + "tokio", + "tokio-util", + "tracing", + "web-sys", + "windows", + "windows-result", + "wmi", +] + +[[package]] +name = "noq" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b78be567e796cfa74bb9bdc4117790af2d505eb887019cf8803244353eb09d89" +dependencies = [ + "bytes", + "cfg_aliases", + "derive_more", + "noq-proto", + "noq-udp", + "pin-project-lite", + "rustc-hash", + "rustls", + "socket2", + "thiserror 2.0.21", + "tokio", + "tokio-stream", + "tracing", + "web-time", +] + +[[package]] +name = "noq-proto" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c1e5b6fe668491eca022f745a0a9402585626c73a7b839b3424ace15d6a9c8f" +dependencies = [ + "aes-gcm", + "bytes", + "derive_more", + "enum-assoc", + "getrandom 0.4.3", + "identity-hash", + "lru-slab", + "rand", + "rand_pcg", + "ring", + "rustc-hash", + "rustls", + "rustls-pki-types", + "slab", + "sorted-index-buffer", + "thiserror 2.0.21", + "tinyvec", + "tracing", + "web-time", +] + +[[package]] +name = "noq-udp" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4dc50afea61aff926e150a36c31f06094608848e114a3fe667d76ec233163b1c" +dependencies = [ + "cfg_aliases", + "libc", + "socket2", + "tracing", + "windows-sys 0.61.2", +] + +[[package]] +name = "nu-ansi-term" +version = "0.50.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "num-conv" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "521739c6d2bac4aa25192232afe6841231376b2b26d4d9fae5ecf8ca5772e441" + +[[package]] +name = "num-traits" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +dependencies = [ + "autocfg", +] + +[[package]] +name = "num_enum" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d0bca838442ec211fa11de3a8b0e0e8f3a4522575b5c4c06ed722e005036f26" +dependencies = [ + "num_enum_derive", + "rustversion", +] + +[[package]] +name = "num_enum_derive" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "680998035259dcfcafe653688bf2aa6d3e2dc05e98be6ab46afb089dc84f1df8" +dependencies = [ + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "objc2" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08849bbd4767dfae9457696856ae1c84fe4e0281bbe4a7abff2d0e06fb7981f8" +dependencies = [ + "objc2-encode", +] + +[[package]] +name = "objc2-core-foundation" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a180dd8642fa45cdb7dd721cd4c11b1cadd4929ce112ebd8b9f5803cc79d536" +dependencies = [ + "bitflags", + "block2", + "dispatch2", + "libc", + "objc2", +] + +[[package]] +name = "objc2-core-wlan" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c71e34919aba0d701380d911702455038a8a3587467fe0141d6a71501e7ffe48" +dependencies = [ + "bitflags", + "objc2", + "objc2-core-foundation", + "objc2-foundation", + "objc2-security", + "objc2-security-foundation", +] + +[[package]] +name = "objc2-encode" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef25abbcd74fb2609453eb695bd2f860d389e457f67dc17cafc8b8cbc89d0c33" + +[[package]] +name = "objc2-foundation" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3e0adef53c21f888deb4fa59fc59f7eb17404926ee8a6f59f5df0fd7f9f3272" +dependencies = [ + "bitflags", + "block2", + "libc", + "objc2", + "objc2-core-foundation", +] + +[[package]] +name = "objc2-security" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "709fe137109bd1e8b5a99390f77a7d8b2961dafc1a1c5db8f2e60329ad6d895a" +dependencies = [ + "bitflags", + "objc2", + "objc2-core-foundation", +] + +[[package]] +name = "objc2-security-foundation" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef76382e9cedd18123099f17638715cc3d81dba3637d4c0d39ab69df2ef345a5" +dependencies = [ + "objc2", + "objc2-foundation", +] + +[[package]] +name = "objc2-system-configuration" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7216bd11cbda54ccabcab84d523dc93b858ec75ecfb3a7d89513fa22464da396" +dependencies = [ + "bitflags", + "dispatch2", + "libc", + "objc2", + "objc2-core-foundation", + "objc2-security", +] + +[[package]] +name = "once_cell" +version = "1.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" + +[[package]] +name = "opaque-debug" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" + +[[package]] +name = "openssl-probe" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c87def4c32ab89d880effc9e097653c8da5d6ef28e6b539d313baaacfbafcbe" + +[[package]] +name = "papaya" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da2442474a9404698c42509b8967f437249dbc7b50493e83020333d3943ec0ae" +dependencies = [ + "equivalent", + "seize", +] + +[[package]] +name = "parking" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba" + +[[package]] +name = "parking_lot" +version = "0.12.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" +dependencies = [ + "lock_api", + "parking_lot_core", +] + +[[package]] +name = "parking_lot_core" +version = "0.9.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" +dependencies = [ + "cfg-if", + "libc", + "redox_syscall", + "smallvec", + "windows-link", +] + +[[package]] +name = "paste" +version = "1.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" + +[[package]] +name = "pem-rfc7468" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6305423e0e7738146434843d1694d621cce767262b2a86910beab705e4493d9" +dependencies = [ + "base64ct", +] + +[[package]] +name = "percent-encoding" +version = "2.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" + +[[package]] +name = "pharos" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9567389417feee6ce15dd6527a8a1ecac205ef62c2932bcf3d9f6fc5b78b414" +dependencies = [ + "futures", + "rustc_version", +] + +[[package]] +name = "pin-project" +version = "1.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2466b2336ed02bcdca6b294417127b90ec92038d1d5c4fbeac971a922e0e0924" +dependencies = [ + "pin-project-internal", +] + +[[package]] +name = "pin-project-internal" +version = "1.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c96395f0a926bc13b1c17622aaddda1ecb55d49c8f1bf9777e4d877800a43f8b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "pin-project-lite" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" + +[[package]] +name = "pkcs8" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "451913da69c775a56034ea8d9003d27ee8948e12443eae7c038ba100a4f21cb7" +dependencies = [ + "der", + "spki", +] + +[[package]] +name = "plist" +version = "1.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2896bade328c13f7042a297ea5ac5b0951f6cf989dea5f32c2fd98da398195cb" +dependencies = [ + "base64 0.23.1", + "indexmap", + "quick-xml", + "serde", + "time", +] + +[[package]] +name = "polyval" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d1fe60d06143b2430aa532c94cfe9e29783047f06c0d7fd359a9a51b729fa25" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "opaque-debug", + "universal-hash", +] + +[[package]] +name = "portable-atomic" +version = "1.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85" +dependencies = [ + "serde", +] + +[[package]] +name = "portmapper" +version = "0.19.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca97242f016e090a25330613bc2382aab65eb22f9149dbe84d8f8e711d49a530" +dependencies = [ + "base64 0.22.1", + "bytes", + "derive_more", + "hyper-util", + "igd-next", + "iroh-metrics", + "libc", + "n0-error", + "n0-future", + "netwatch", + "num_enum", + "rand", + "serde", + "smallvec", + "socket2", + "time", + "tokio", + "tokio-util", + "tower-layer", + "tracing", + "url", +] + +[[package]] +name = "postcard" +version = "1.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6764c3b5dd454e283a30e6dfe78e9b31096d9e32036b5d1eaac7a6119ccb9a24" +dependencies = [ + "cobs", + "embedded-io 0.4.0", + "embedded-io 0.6.1", + "postcard-derive", + "serde", +] + +[[package]] +name = "postcard-derive" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0232bd009a197ceec9cc881ba46f727fcd8060a2d8d6a9dde7a69030a6fe2bb" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "potential_utf" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d83eb9bc6d8e5cf568e7a1101d60ee05e81ed50ea106026f3d18deeb046d7661" +dependencies = [ + "zerovec", +] + +[[package]] +name = "powerfmt" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a6394b9e965e73d0a289ee54f589087e2c676aedf60885baf52c76b771e4958" + +[[package]] +name = "proc-macro-crate" +version = "3.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e67ba7e9b2b56446f1d419b1d807906278ffa1a658a8a5d8a39dcb1f5a78614f" +dependencies = [ + "toml_edit", +] + +[[package]] +name = "proc-macro2" +version = "1.0.107" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "quick-xml" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41b1177fdf999d2321d3fb46ff47159d9c1fb9ad66a4879f8c50a0b504615e9b" +dependencies = [ + "memchr", +] + +[[package]] +name = "quote" +version = "1.0.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "r-efi" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" + +[[package]] +name = "rand" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65c9fb96cbc91e3478eaae79a69fcd3f1ae4ad052e471fe6732fff548984b4af" +dependencies = [ + "chacha20", + "getrandom 0.4.3", + "rand_core", +] + +[[package]] +name = "rand_core" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" + +[[package]] +name = "rand_pcg" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "caa0f4137e1c0a72f4c651489402276c8e8e1cf081f3b0ba156d2cbeef09e86a" +dependencies = [ + "rand_core", +] + +[[package]] +name = "redox_syscall" +version = "0.5.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" +dependencies = [ + "bitflags", +] + +[[package]] +name = "regex-automata" +version = "0.4.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.8.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" + +[[package]] +name = "reqwest" +version = "0.13.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16a1cfa75cc186dd73d5818e510e042e40927bccc9c236b061cea97e1eb08029" +dependencies = [ + "base64 0.23.1", + "bytes", + "futures-core", + "futures-util", + "http", + "http-body", + "http-body-util", + "hyper", + "hyper-rustls", + "hyper-util", + "js-sys", + "log", + "percent-encoding", + "pin-project-lite", + "rustls", + "rustls-pki-types", + "rustls-platform-verifier", + "sync_wrapper", + "tokio", + "tokio-rustls", + "tokio-util", + "tower", + "tower-http", + "tower-service", + "url", + "wasm-bindgen", + "wasm-bindgen-futures", + "wasm-streams", + "web-sys", +] + +[[package]] +name = "ring" +version = "0.17.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" +dependencies = [ + "cc", + "cfg-if", + "getrandom 0.2.17", + "libc", + "untrusted", + "windows-sys 0.52.0", +] + +[[package]] +name = "rustc-hash" +version = "2.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d" + +[[package]] +name = "rustc_version" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" +dependencies = [ + "semver", +] + +[[package]] +name = "rustls" +version = "0.23.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d41d731c7d2f962d1ccc364cec258de3c0e93b38c2fb3ba97ac74513048d634" +dependencies = [ + "log", + "once_cell", + "ring", + "rustls-pki-types", + "rustls-webpki", + "subtle", + "zeroize", +] + +[[package]] +name = "rustls-native-certs" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dab5152771c58876a2146916e53e35057e1a4dfa2b9df0f0305b07f611fdea4d" +dependencies = [ + "openssl-probe", + "rustls-pki-types", + "schannel", + "security-framework", +] + +[[package]] +name = "rustls-pki-types" +version = "1.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f4925028c7eb5d1fcdaf196971378ed9d2c1c4efc7dc5d011256f76c99c0a96" +dependencies = [ + "web-time", + "zeroize", +] + +[[package]] +name = "rustls-platform-verifier" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1167586491e2b18b8bfbb293e8180ec17c201c4f076d7cb3070ca964e7598f98" +dependencies = [ + "core-foundation", + "core-foundation-sys", + "jni 0.22.4", + "log", + "once_cell", + "rustls", + "rustls-native-certs", + "rustls-platform-verifier-android", + "rustls-webpki", + "security-framework", + "security-framework-sys", + "webpki-root-certs", + "windows-sys 0.61.2", +] + +[[package]] +name = "rustls-platform-verifier-android" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eec689c0bc40ff2458a5977b6619cb718087084a18e02a131c599b62d05e1a5f" + +[[package]] +name = "rustls-webpki" +version = "0.103.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3c3cf1d8b1e7d4927e2d154c3fcb02979afb9939629c62cd9048d4f07b60ac2" +dependencies = [ + "ring", + "rustls-pki-types", + "untrusted", +] + +[[package]] +name = "rustversion" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f" + +[[package]] +name = "ryu" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f" + +[[package]] +name = "same-file" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "schannel" +version = "0.1.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91c1b7e4904c873ef0710c1f407dde2e6287de2bebc1bbbf7d430bb7cbffd939" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "scoped-tls" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294" + +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + +[[package]] +name = "security-framework" +version = "3.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7f4bc775c73d9a02cde8bf7b2ec4c9d12743edf609006c7facc23998404cd1d" +dependencies = [ + "bitflags", + "core-foundation", + "core-foundation-sys", + "libc", + "security-framework-sys", +] + +[[package]] +name = "security-framework-sys" +version = "2.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ce2691df843ecc5d231c0b14ece2acc3efb62c0a398c7e1d875f3983ce020e3" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "seize" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b55fb86dfd3a2f5f76ea78310a88f96c4ea21a3031f8d212443d56123fd0521" + +[[package]] +name = "semver" +version = "1.0.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd" + +[[package]] +name = "send_wrapper" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd0b0ec5f1c1ca621c432a25813d8d60c88abe6d3e08a3eb9cf37d97a0fe3d73" + +[[package]] +name = "serde" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba" +dependencies = [ + "serde_core", + "serde_derive", +] + +[[package]] +name = "serde_bytes" +version = "0.11.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5d440709e79d88e51ac01c4b72fc6cb7314017bb7da9eeff678aa94c10e3ea8" +dependencies = [ + "serde", + "serde_core", +] + +[[package]] +name = "serde_core" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "serdect" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "66cf8fedced2fcf12406bcb34223dffb92eaf34908ede12fed414c82b7f00b3e" +dependencies = [ + "base16ct", + "serde", +] + +[[package]] +name = "sha1_smol" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbfa15b3dddfee50a0fff136974b3e1bde555604ba463834a7eb7deb6417705d" + +[[package]] +name = "sha2" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "digest", +] + +[[package]] +name = "sharded-slab" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" +dependencies = [ + "lazy_static", +] + +[[package]] +name = "shlex" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba" + +[[package]] +name = "signal-hook-registry" +version = "1.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b" +dependencies = [ + "errno", + "libc", +] + +[[package]] +name = "signature" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28d567dcbaf0049cb8ac2608a76cd95ff9e4412e1899d389ee400918ca7537f5" +dependencies = [ + "rand_core", +] + +[[package]] +name = "simd_cesu8" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11031e251abf8611c80f460e19dbdeb54a66db918e49c65a7065b46ac7aec520" +dependencies = [ + "rustc_version", + "simdutf8", +] + +[[package]] +name = "simdutf8" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e" + +[[package]] +name = "simple-dns" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b6f884fa9a8d48101774bfbd3aeb81e968dd22cffd19a372da69f183db22c1a" +dependencies = [ + "bitflags", +] + +[[package]] +name = "slab" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" + +[[package]] +name = "smallvec" +version = "1.16.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b3dc8af474f516a851ff4bd12db780f948b9250ad37211e4eec0bccea54e01b" + +[[package]] +name = "socket2" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3d1e2c7f27f8d4cb10542a02c49005dbd6e93095799d6f3be745fae9f8fedd4" +dependencies = [ + "libc", + "windows-sys 0.61.2", +] + +[[package]] +name = "sorted-index-buffer" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea06cc588e43c632923a55450401b8f25e628131571d4e1baea1bdfdb2b5ed06" + +[[package]] +name = "spez" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c87e960f4dca2788eeb86bbdde8dd246be8948790b7618d656e68f9b720a86e8" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "spin" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "023a211cb3138dbc438680b32560ad89f699977624c9f8dbb95a47d5b4c07dd3" + +[[package]] +name = "spki" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ef958a98b9d5da290cfc78946e9f3e61e1e62a18db0d92cac0b83cc161491a9" +dependencies = [ + "base64ct", + "der", +] + +[[package]] +name = "stable_deref_trait" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" + +[[package]] +name = "strum" +version = "0.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9628de9b8791db39ceda2b119bbe13134770b56c138ec1d3af810d045c04f9bd" +dependencies = [ + "strum_macros", +] + +[[package]] +name = "strum_macros" +version = "0.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab85eea0270ee17587ed4156089e10b9e6880ee688791d45a905f5b1ca36f664" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "subtle" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" + +[[package]] +name = "syn" +version = "2.0.119" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "3.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d62a2e0561533f2ca2561d0cf27fd9fedb640a1bf2616ff5d5c80d99017faadc" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "sync_wrapper" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263" +dependencies = [ + "futures-core", +] + +[[package]] +name = "synstructure" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "901704edd0dfe137f1987838ee4f259e4e063c31371bdb423f7ae38ec6f77f02" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "system-configuration" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "501336eb7ba9e417300a6a0fa985721065467aa83a6dcf0422a8e43e4c0328fa" +dependencies = [ + "bitflags", + "core-foundation", + "system-configuration-sys", +] + +[[package]] +name = "system-configuration-sys" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e1d1b10ced5ca923a1fcb8d03e96b8d3268065d724548c0211415ff6ac6bac4" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "thiserror" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" +dependencies = [ + "thiserror-impl 1.0.69", +] + +[[package]] +name = "thiserror" +version = "2.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e" +dependencies = [ + "thiserror-impl 2.0.21", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "thread_local" +version = "1.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ad99c4c6d32803332c548b1af0540b357b3f5fc0be8f6c6bfe8b2e6ae784070" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "time" +version = "0.3.55" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdb87b95ec50ddfa440816d227a17b2ccbdda963a316a727fda0fc4334f7d134" +dependencies = [ + "deranged", + "js-sys", + "num-conv", + "powerfmt", + "serde_core", + "time-core", + "time-macros", +] + +[[package]] +name = "time-core" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e1c906769ad99c88eaa54e728060edef082f8e358ff32030cb7c7d315e81109" + +[[package]] +name = "time-macros" +version = "0.2.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e689342a48d2ea927c87ea50cabf8594854bf940e9310208848d680d668ed85" +dependencies = [ + "num-conv", + "time-core", +] + +[[package]] +name = "tinystr" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1e27c91459209c2986af3dcf603a5a74a4368754ce37414f59acc971167f643" +dependencies = [ + "displaydoc", + "zerovec", +] + +[[package]] +name = "tinyvec" +version = "1.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd3ca314f692efd6c868f8408f53fe444634a845f96c028b97d35f6a1f79f0ee" + +[[package]] +name = "tokio" +version = "1.53.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e95f91fcc7a621e8b030f6aa23c71fe9838ae2fb4d8118b75602a328f5144044" +dependencies = [ + "bytes", + "libc", + "mio", + "parking_lot", + "pin-project-lite", + "signal-hook-registry", + "socket2", + "tokio-macros", + "windows-sys 0.61.2", +] + +[[package]] +name = "tokio-macros" +version = "2.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78773a2a397f451582ce068015985c33193cf6dea8b74d2a639fe457b2f07b0e" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "tokio-rustls" +version = "0.26.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9cc2678c2cdd569ef8215e2afd7954ada2ae20b4fdd2c5fe6139a3b02d105db" +dependencies = [ + "rustls", + "tokio", +] + +[[package]] +name = "tokio-stream" +version = "0.1.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3d06f0b082ba57c26b79407372e57cf2a1e28124f78e9479fe80322cf53420b" +dependencies = [ + "futures-core", + "pin-project-lite", + "tokio", + "tokio-util", +] + +[[package]] +name = "tokio-util" +version = "0.7.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e464cf451ba96ebfc6f9b6542f17ee8b8956e33f1e40d9690624e59d7a7f8a4b" +dependencies = [ + "bytes", + "futures-core", + "futures-sink", + "futures-util", + "libc", + "pin-project-lite", + "tokio", +] + +[[package]] +name = "tokio-websockets" +version = "0.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d52efb639344a7c6adb8e62c6f3d2c19c001ff1b79a5041ba1c6ed42e19c6aa5" +dependencies = [ + "base64 0.22.1", + "bytes", + "futures-core", + "futures-sink", + "getrandom 0.4.3", + "http", + "httparse", + "rand", + "ring", + "rustls-pki-types", + "sha1_smol", + "simdutf8", + "tokio", + "tokio-rustls", + "tokio-util", +] + +[[package]] +name = "toml_datetime" +version = "1.1.2+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b86d767906c6c42421dcba507eb9d203e779497710a47782a224bb871653053" +dependencies = [ + "serde_core", +] + +[[package]] +name = "toml_edit" +version = "0.25.17+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3641d5bbb5349a79e1020a242d251efbc546ad8048d133958323ce9c40a9c9c" +dependencies = [ + "indexmap", + "toml_datetime", + "toml_parser", + "winnow", +] + +[[package]] +name = "toml_parser" +version = "1.1.5+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baa693a8032d7e1cada7d0041e96126df243179ff061456783ac7f12bda4744c" +dependencies = [ + "winnow", +] + +[[package]] +name = "tower" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebe5ef63511595f1344e2d5cfa636d973292adc0eec1f0ad45fae9f0851ab1d4" +dependencies = [ + "futures-core", + "futures-util", + "pin-project-lite", + "sync_wrapper", + "tokio", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-http" +version = "0.6.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cfcf7e2740e6fc6d4d688b4ef00650406bb94adf4731e43c096c3a19fe40840" +dependencies = [ + "bitflags", + "bytes", + "futures-util", + "http", + "http-body", + "pin-project-lite", + "tower", + "tower-layer", + "tower-service", + "url", +] + +[[package]] +name = "tower-layer" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" + +[[package]] +name = "tower-service" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" + +[[package]] +name = "tracing" +version = "0.1.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100" +dependencies = [ + "log", + "pin-project-lite", + "tracing-attributes", + "tracing-core", +] + +[[package]] +name = "tracing-attributes" +version = "0.1.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "tracing-core" +version = "0.1.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a" +dependencies = [ + "once_cell", + "valuable", +] + +[[package]] +name = "tracing-log" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" +dependencies = [ + "log", + "once_cell", + "tracing-core", +] + +[[package]] +name = "tracing-subscriber" +version = "0.3.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb7f578e5945fb242538965c2d0b04418d38ec25c79d160cd279bf0731c8d319" +dependencies = [ + "matchers", + "nu-ansi-term", + "once_cell", + "regex-automata", + "sharded-slab", + "smallvec", + "thread_local", + "tracing", + "tracing-core", + "tracing-log", +] + +[[package]] +name = "try-lock" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" + +[[package]] +name = "typenum" +version = "1.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" + +[[package]] +name = "unicode-ident" +version = "1.0.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d245f478577f809a851594d02313b640fb437e0bb33866753cff937863096954" + +[[package]] +name = "unicode-segmentation" +version = "1.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8" + +[[package]] +name = "unicode-xid" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" + +[[package]] +name = "universal-hash" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea" +dependencies = [ + "crypto-common 0.1.7", + "subtle", +] + +[[package]] +name = "untrusted" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" + +[[package]] +name = "url" +version = "2.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" +dependencies = [ + "form_urlencoded", + "idna", + "percent-encoding", + "serde", + "serde_derive", +] + +[[package]] +name = "utf8_iter" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" + +[[package]] +name = "valuable" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" + +[[package]] +name = "version_check" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" + +[[package]] +name = "walkdir" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" +dependencies = [ + "same-file", + "winapi-util", +] + +[[package]] +name = "want" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec4cdd0dd910afe868b7ef477227d8d538b46b3075031afee8a9f2acb0a2ed0b" +dependencies = [ + "try-lock", +] + +[[package]] +name = "wasi" +version = "0.11.1+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" + +[[package]] +name = "wasm-bindgen" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9bb54f33acc68fd454578d9820b0bde1a1a3d17aa17bb7b6595806d02886d409" +dependencies = [ + "cfg-if", + "once_cell", + "rustversion", + "wasm-bindgen-macro", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-futures" +version = "0.4.79" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3cbab34de2d982e9b48e18d216d04c4a6f641066ff19ffb699980f591ee3610e" +dependencies = [ + "js-sys", + "tokio", + "wasm-bindgen", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e29d0c35b16e224a7eeb5cd2d25e3e1968fbd65604117b44d3b789d00ee8535" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f501a8bc3719dba86ef8ae4728879c08001bea749eb1333ac5b91e040e2a6b7" +dependencies = [ + "bumpalo", + "proc-macro2", + "quote", + "syn 3.0.7", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23f0c9c52aa7cd7d77769a4cfe2a9adb1b331f489a41d912ce14513d5ab995c6" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "wasm-streams" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d1ec4f6517c9e11ae630e200b2b65d193279042e28edd4a2cda233e46670bbb" +dependencies = [ + "futures-util", + "js-sys", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "web-sys" +version = "0.3.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88261b9deccee56594c11a3460c462c41f58d148598fe70ad77070126a68aba4" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "web-time" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "webpki-root-certs" +version = "1.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b96554aa2acc8ccdb7e1c9a58a7a68dd5d13bccc69cd124cb09406db612a1c9b" +dependencies = [ + "rustls-pki-types", +] + +[[package]] +name = "webpki-roots" +version = "1.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7dcd9d09a39985f5344844e66b0c530a33843579125f23e21e9f0f220850f22a" +dependencies = [ + "rustls-pki-types", +] + +[[package]] +name = "widestring" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72069c3113ab32ab29e5584db3c6ec55d416895e60715417b5b883a357c3e471" + +[[package]] +name = "winapi" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +dependencies = [ + "winapi-i686-pc-windows-gnu", + "winapi-x86_64-pc-windows-gnu", +] + +[[package]] +name = "winapi-i686-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" + +[[package]] +name = "winapi-util" +version = "0.1.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "winapi-x86_64-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" + +[[package]] +name = "windows" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "527fadee13e0c05939a6a05d5bd6eec6cd2e3dbd648b9f8e447c6518133d8580" +dependencies = [ + "windows-collections", + "windows-core", + "windows-future", + "windows-numerics", +] + +[[package]] +name = "windows-collections" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23b2d95af1a8a14a3c7367e1ed4fc9c20e0a26e79551b1454d72583c97cc6610" +dependencies = [ + "windows-core", +] + +[[package]] +name = "windows-core" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" +dependencies = [ + "windows-implement", + "windows-interface", + "windows-link", + "windows-result", + "windows-strings", +] + +[[package]] +name = "windows-future" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1d6f90251fe18a279739e78025bd6ddc52a7e22f921070ccdc67dde84c605cb" +dependencies = [ + "windows-core", + "windows-link", + "windows-threading", +] + +[[package]] +name = "windows-implement" +version = "0.60.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "windows-interface" +version = "0.59.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + +[[package]] +name = "windows-numerics" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e2e40844ac143cdb44aead537bbf727de9b044e107a0f1220392177d15b0f26" +dependencies = [ + "windows-core", + "windows-link", +] + +[[package]] +name = "windows-registry" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02752bf7fbdcce7f2a27a742f798510f3e5ad88dbe84871e5168e2120c3d5720" +dependencies = [ + "windows-link", + "windows-result", + "windows-strings", +] + +[[package]] +name = "windows-result" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-strings" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-sys" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" +dependencies = [ + "windows-targets 0.42.2", +] + +[[package]] +name = "windows-sys" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +dependencies = [ + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-sys" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-targets" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" +dependencies = [ + "windows_aarch64_gnullvm 0.42.2", + "windows_aarch64_msvc 0.42.2", + "windows_i686_gnu 0.42.2", + "windows_i686_msvc 0.42.2", + "windows_x86_64_gnu 0.42.2", + "windows_x86_64_gnullvm 0.42.2", + "windows_x86_64_msvc 0.42.2", +] + +[[package]] +name = "windows-targets" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" +dependencies = [ + "windows_aarch64_gnullvm 0.52.6", + "windows_aarch64_msvc 0.52.6", + "windows_i686_gnu 0.52.6", + "windows_i686_gnullvm", + "windows_i686_msvc 0.52.6", + "windows_x86_64_gnu 0.52.6", + "windows_x86_64_gnullvm 0.52.6", + "windows_x86_64_msvc 0.52.6", +] + +[[package]] +name = "windows-threading" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" + +[[package]] +name = "windows_i686_gnu" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" + +[[package]] +name = "windows_i686_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" + +[[package]] +name = "windows_i686_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" + +[[package]] +name = "windows_i686_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" + +[[package]] +name = "windows_i686_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" + +[[package]] +name = "winnow" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23b97319f7b8343df12cc98938e5c3eb436064524c8d2b4e30a1d3a36eecdf81" +dependencies = [ + "memchr", +] + +[[package]] +name = "wmi" +version = "0.18.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c81b85c57a57500e56669586496bf2abd5cf082b9d32995251185d105208b64" +dependencies = [ + "chrono", + "futures", + "log", + "serde", + "thiserror 2.0.21", + "windows", + "windows-core", +] + +[[package]] +name = "writeable" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc" + +[[package]] +name = "ws_stream_wasm" +version = "0.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c173014acad22e83f16403ee360115b38846fe754e735c5d9d3803fe70c6abc" +dependencies = [ + "async_io_stream", + "futures", + "js-sys", + "log", + "pharos", + "rustc_version", + "send_wrapper", + "thiserror 2.0.21", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "xml-rs" +version = "0.8.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e450f9b2ed1dff33c94c12589a87338689467b9c4f5d8a5710bd09a847d2c8a7" + +[[package]] +name = "xmltree" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7d8a75eaf6557bb84a65ace8609883db44a29951042ada9b393151532e41fcb" +dependencies = [ + "xml-rs", +] + +[[package]] +name = "yoke" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5" +dependencies = [ + "stable_deref_trait", + "yoke-derive", + "zerofrom", +] + +[[package]] +name = "yoke-derive" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec8ebde2db3681e8c9980cc27822030e68752690ddfa9473e739aeb4dbde6d71" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", + "synstructure", +] + +[[package]] +name = "zerocopy" +version = "0.8.62" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86502bf56ac7c77571a32e2647bb2a15894565e981fb2a48d7bde2d91c965a9d" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.8.62" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5457206954b06561e2608c7e19cf58b1926586d999c246eebe4502f7e2039d1a" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "zerofrom" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272" +dependencies = [ + "zerofrom-derive", +] + +[[package]] +name = "zerofrom-derive" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f75b4683f6c7f45248d4d64056a24298c6281e0993356d7d1b4a1a962ef10d4a" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", + "synstructure", +] + +[[package]] +name = "zeroize" +version = "1.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e13084392c5e4bc371903e2935a5eaeed24905a7511356b883835e18a78f6879" +dependencies = [ + "zeroize_derive", +] + +[[package]] +name = "zeroize_derive" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c50655cbb0fe3fc43170059e702f1ce5e19b84cec58dc87b037a09935c2f328" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "zerotrie" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ea269c3bd32f0a32c321907a2ae912ba6f4649bb0fc764a15627e99a7095a3f" +dependencies = [ + "displaydoc", + "yoke", + "zerofrom", +] + +[[package]] +name = "zerovec" +version = "0.11.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb0464e17806c1d976d5cba29399c7f08e516e279e2ba493f63123b5fca67dd8" +dependencies = [ + "yoke", + "zerofrom", + "zerovec-derive", +] + +[[package]] +name = "zerovec-derive" +version = "0.11.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34df6fc39dbd26ddc9c10e6a2984476e13acce22e64e4487636ef494369225da" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/Cargo.toml b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/Cargo.toml new file mode 100644 index 0000000000..0e5817d515 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/Cargo.toml @@ -0,0 +1,17 @@ +[package] +name = "iroh-allowlist-spike" +version = "0.0.0" +edition = "2024" +rust-version = "1.96" +publish = false + +# N30 spike: can an iroh 1.3.0 endpoint refuse an unlisted EndpointId before the peer learns our +# addresses? Standalone: the empty [workspace] keeps cargo from joining the spikes workspace. +[workspace] + +[dependencies] +iroh = "=1.3.0" +tokio = { version = "1", features = ["full"] } +anyhow = "1" +tracing = "0.1" +tracing-subscriber = { version = "0.3", features = ["env-filter"] } diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/RESULTS.md b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/RESULTS.md new file mode 100644 index 0000000000..e4d59d0d8b --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/RESULTS.md @@ -0,0 +1,353 @@ +# N30: can an iroh 1.3.0 endpoint refuse a peer before it learns our addresses? + +Date: 2026-10-11. Folder: `/home/user/work/research-round2/iroh-allowlist/`. +Pins: `iroh = "=1.3.0"` (with iroh-base 1.3.0), noq 1.3.0, noq-proto 1.3.0, tokio 1.53.2, cargo/rustc 1.97.0. Lockfile copied from `spikes-next/c2-holepunch/Cargo.lock` (locks iroh 1.3.0). Built into the shared `/home/user/work/spikes/target` (BRIEF2 rule 4). +Test host: one Linux host, user and network namespace (`unshare -Urn`), IPv4 only, `RelayMode::Disabled`, `presets::Minimal`, no address lookup. + +Labels used below: **[V]** verified by output or source I read, **[I]** inferred, **[N]** not checked. + +--- + +## Questions (verbatim) + +Owner's question: "n30 document but allow tickets to have addresses or whatever else they need. if addr aren't needed then fine. i'm not sure what auth peers before connecting means." + +Background: "C2 found that candidates are exchanged inside the QUIC connection, so a connected peer learns our addresses. The open question is whether an endpoint can refuse peers before they learn anything." + +1. "Read the iroh 1.3.0 source (`~/.cargo/registry/src/*/iroh-1.3.0`, and iroh-relay 1.3.0). Find: the accept path (`Endpoint::accept`, `Incoming`, the connection handshake), and where the remote EndpointId becomes known; any hook or filter that can refuse a connection by remote id (endpoint hooks, connection filters, the address filter, `addr_filter`), and what each one controls; when the path and candidate exchange starts relative to the handshake, and whether the server sends its candidates before the application accepts; when the client learns the server's addresses. Give file and line for each." +2. "Test with two local endpoints (`RelayMode::Disabled`, the Minimal preset, IPv4 loopback). One endpoint refuses an unlisted id. Record what the refused side observes: the error, the timing, and whether it saw any address of the other side. Also record what the refusing side saw before refusing. Run the test in a user namespace if needed." +3. "Answer what 'authorize peers before connecting' can achieve in iroh 1.3.0. Three cases: (a) refuse during the handshake; (b) refuse right after the handshake but before any candidate or path traffic; (c) refuse at the application layer after streams open. For each, what is revealed." +4. "Recommend what we should do for N30, given that the owner accepts addresses in tickets when they are needed." + +Output: "RESULTS.md with file-and-line references, the test output, and the recommendation." + +--- + +## Short answers + +**What "authorize peers before connecting" means.** It means only peers on our list get a connection. In iroh 1.3.0 that check can run before any packet for outgoing dials (`before_connect`). For incoming peers it can run only after the TLS handshake (`after_handshake`), because that is the first point where the peer's EndpointId is known. By then the server has already queued its candidate addresses. So the list limits who gets application access. It does not stop an unlisted peer from learning our addresses. [V] + +**1. Source.** The remote EndpointId becomes known only when the TLS handshake finishes. It is read from the peer's TLS certificate (`connection.rs:369-413`). The only hook that sees it is `EndpointHooks::after_handshake`. That runs after the connection is registered with the socket and before the `Accepting` future resolves (`connection.rs:347-363`, `671-686`). Before the handshake the server has only an `Incoming`: the UDP source, the ALPNs from the ClientHello, and retry state (`connection.rs:130-229`; noq-proto `endpoint.rs:1326-1398`). The Router's `IncomingFilter` sees the same `Incoming` (`protocol.rs:164-215`, `573-593`). The TLS client verifier accepts any valid raw key and holds no id list (`tls/verifier.rs:125-141`; `tls.rs:63`, `116`). `before_connect` runs only for outgoing dials, before any packet (`endpoint.rs:1108-1127`; `hooks.rs:74-78`). `addr_filter` only filters what is published to address-lookup services (`endpoint.rs:628-640`; `address_lookup.rs:529-531`). Candidate exchange starts at connection registration. `handle_msg_add_connection` queues the server's direct addresses as ADD_ADDRESS (`remote_state.rs:387-409`, `1118-1137`), and this completes before the hook runs. The server sends ADD_ADDRESS as soon as it can send 1-RTT data (noq-proto `connection/mod.rs:7109-7116`, `6248-6260`). The client learns the server's addresses from the ticket and from ADD_ADDRESS (noq-proto `connection/mod.rs:5464-5490`; `remote_state.rs:288-290`). The client sends its own candidates in a REACH_OUT round at its own registration, before `connect()` returns (`remote_state.rs:944-958`; noq-proto `n0_nat_traversal.rs:456-470` and `connection/mod.rs:7165-7187`). Holepunching runs on client connections only (`remote_state.rs:517-531`). [V] + +**2. Test.** Two processes in one namespace. The server refuses an unlisted id in `after_handshake`. The unlisted client's `connect()` returned `Ok` in all 60 refused runs (loopback and multi-address), and each time its return was logged before the server's hook ran. The server then closed the connection with `ApplicationClosed` code 4097, reason "not on allowlist". In the multi-address runs the client saw that close a median 19 ms after `connect()` returned (range 13.6 to 36.6 ms). In the loopback runs the median was 56 ms. With the server bound to loopback only, the client saw no address beyond its ticket hint (0 of 30 runs). With the server also on two more local addresses (10.200.0.1 and 10.200.0.2), the client received the server's ADD_ADDRESS frames in 17 of 30 runs. Each time it got all three server addresses, two of them new. Its `remote_info` listed a server address in only one of those runs. The refusing server, before it refused, saw the peer's UDP source address (every run), the peer's ALPN before the handshake, and the peer's EndpointId in the hook (every run). In traced runs it also received the peer's three candidate addresses in REACH_OUT frames, before the hook in 10 of 10 runs. Timings come from a shared machine and are indicative only. [V] + +**3. The three cases.** (a) **Refuse during the handshake by EndpointId: not possible in 1.3.0.** No hook or filter sees the id before the handshake completes. Refusal before the handshake works only on UDP source, ALPN, or retry. The filter test refused 10 of 10 peers with `Incoming::refuse()`. The client's `connect()` failed after a median 4.5 ms, and no candidates were exchanged (0 of 10). That reveals nothing about us, but it cannot key on an id. (b) **Refuse right after the handshake, before candidate traffic: possible for identity, but not before candidate traffic.** This is the `after_handshake` gate, which is what the test ran. Our candidate frames are queued before the hook in 30 of 30 runs, a median 0.5 ms before it. The refused client's noq state processed them in 17 of 30 runs. The peer's candidate frames (REACH_OUT) reached us before the hook in 10 of 10 traced runs. The refused client's `connect()` succeeds first, so it believes it is connected for about 19 ms. (c) **Refuse at the application layer after streams open: reveals everything in (b) and more.** The refused peer had our full candidate set in 29 of 30 runs. Our server received its REACH_OUT candidates before refusing in 5 of 5 traced runs. [V] + +**4. Recommendation.** Keep N30 as a documented exposure, and reword it so it does not promise that the gate prevents exposure. Allow addresses in tickets when a direct path needs them. Connected peers learn our candidates whether or not the ticket holds addresses, so address-free tickets protect only against third parties who read a ticket without connecting. Use the EndpointId list as an `after_handshake` gate for inbound peers, and as a `before_connect` gate for our own outbound dials. Say plainly that neither hides addresses. If the owner needs unlisted peers never to see our IPs, the options are relay-only transports for that group (inferred to send no candidates, not run) or an iroh change that defers candidate queuing until after the hook (not in 1.3.0, not tested). [V for the facts; the advice is mine.] + +--- + +## Evidence + +### E1. Source map + +Paths are relative to `~/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/iroh-1.3.0/` unless a row names another crate (noq-proto-1.3.0, noq-1.3.0, netwatch-0.19.3). + +| Claim | Where | +|---|---| +| `Endpoint::accept` returns an `Accept` future that yields an `Incoming` on the first Initial packet | `src/endpoint.rs:1181-1186`; `src/endpoint/connection.rs:100-128` (`Accept::poll` builds `Incoming` at 115-118) | +| `Incoming` struct; `accept` / `refuse` / `retry` / `ignore` | `connection.rs:130-136`; `148-152`; `175-177`; `185-194` | +| `Incoming::remote_addr` (UDP source, before any handshake) | `connection.rs:204-213` | +| `Incoming::decrypt` (ClientHello bytes, via ALPN iterator) | `connection.rs:223-229`; noq-proto `src/endpoint.rs:1326-1336` (`DecryptedInitial::alpns`), `1378-1398` (`IncomingAlpns` iterator) | +| `Incoming` into a connection: `conn_from_noq_conn` | `connection.rs:232-243`; `317-367` | +| Identity from the TLS certificate (`peer_identity`) | `connection.rs:369-373` (`static_info_from_conn`), `383-413` (`remote_id_from_noq_conn`) | +| Registration with the socket, then the hook | `connection.rs:347` (`register_connection`), `352` (`fut.await?`), `358-363` (`after_handshake`, Reject closes and returns `LocallyRejected`) | +| `Accepting` yields only after registration and the hook | `connection.rs:671-686` | +| Client side (`Connecting`) goes through the same path | `connection.rs:574-587`; `541` (0-RTT path) | +| `EndpointHooks` trait; what `after_handshake` knows ("the remote's endpoint id and ALPN") | `src/endpoint/hooks.rs:68-108`, with the doc at `87-101` | +| Hook list semantics (first Reject wins) | `hooks.rs:133-171` | +| `before_connect`: outgoing only, "before any packets are sent" | `hooks.rs:74-85`; `src/endpoint.rs:1108-1127` (called at `1124-1126`) | +| `Router::incoming_filter`: sees `&Incoming`, returns Accept/Retry/Reject/Ignore | `src/protocol.rs:164-215`; `466-480` (setter, doc says it runs before the handshake completes); `573-593` (applied per Incoming) | +| TLS client verifier: no id check, only intermediates | `src/tls/verifier.rs:114-141` (comment at 137); `src/tls.rs:63`, `116` (fixed, no public setter) | +| TLS server verifier: server cert must match the dialed id | `src/tls/verifier.rs:33-75` | +| `addr_filter`: a builder option that applies at bind, to address lookup only | `src/endpoint.rs:628-640` (doc), `306-307` (applied to the `AddressLookupServices`); `src/address_lookup.rs:464-489` (struct and setter at 488), `529-531` (`publish` applies the filter) | +| Registration queues local candidates | `src/socket/remote_map/remote_state.rs:387-409` (`handle_msg_add_connection`; `update_qnt_candidates` called at 409); `src/socket.rs:1355-1366` (`register_connection`) | +| `update_qnt_candidates` calls noq `add_nat_traversal_address` for each direct address | `remote_state.rs:1105-1137` (`local_candidates` at 1105; `update_qnt_candidates` at 1118; add at 1127) | +| Candidates are local direct addresses; loopback-flagged interfaces count as local | `netwatch-0.19.3/src/interfaces/netdev_impl.rs:190-213` (addresses on loopback interfaces go to `loopback`); `iroh-1.3.0/src/socket.rs:1744-1748` (hint uses `regular` and `loopback`) | +| Holepunching (and so REACH_OUT) runs on client connections only | `remote_state.rs:517-531` (`trigger_holepunching`, filter at 527) | +| The client reacts to ADD_ADDRESS by triggering holepunching | `remote_state.rs:288-290` (addr_events; trace log at 289) | +| The initial round at registration: `do_holepunching` runs with possibly empty remote candidates | `remote_state.rs:944-958` (`initiate_nat_traversal_round` at 947; `iroh::_events::qnt::init` event at 954); failure at 967 | +| ADD_ADDRESS is queued and sent in 1-RTT packets | noq-proto `src/connection/mod.rs:7109-7116` (queue), `6248-6260` (send) | +| ADD_ADDRESS receipt (client-side state) | noq-proto `src/connection/mod.rs:5464-5490` | +| REACH_OUT receipt (server-side state) | noq-proto `src/connection/mod.rs:5507-5530` | +| REACH_OUT is produced from local addresses, even with no remote candidates | noq-proto `src/n0_nat_traversal.rs:456-470` (returns `NotEnoughAddresses` only if no local address); `src/connection/mod.rs:7165-7187` (frames appended to `pending.reach_out`); observed: see E4 | +| `handle_reach_out` logs nothing on the success path | noq-proto `src/n0_nat_traversal.rs:789-832` (trace only for stale rounds, 797 and 801) | +| Server advertises ADD_ADDRESS, client advertises via REACH_OUT | noq-proto `src/n0_nat_traversal.rs:200-217` (doc at 200-204) | +| Public remote info (paths, with usage) | `src/endpoint.rs:1644-1652` (`remote_info`); `src/socket.rs:1337-1347`; `src/socket/remote_map/remote_state.rs:370-380`; `src/socket/remote_map/remote_state/remote_info.rs:11` (`RemoteInfo`), `89` (`TransportAddrUsage`: Active / Inactive) | +| `preferred_address` (the handshake-time address carrier) is not set by iroh | grep of `iroh-1.3.0/src` and `noq-1.3.0/src`: no setter call. Only noq-proto `src/config/mod.rs:224-252`, `303-312`, `374` (defaults `None`) [V] | +| No public accessor for a remote's NAT candidate list | grep `pub fn .*nat` in `iroh-1.3.0/src`: only `src/endpoint/quic.rs:538` (a config knob) [V] | + +### E2. Commands + +``` +# build: pinned toolchain, shared target dir (BRIEF2 rule 4) +CARGO="$(rustup which --toolchain 1.97.0 cargo)" +CARGO_TARGET_DIR=/home/user/work/spikes/target "$CARGO" build +# Compiling iroh-allowlist-spike v0.0.0 ... +# Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.86s (exit 0) + +# main runs: each run is a fresh server and a fresh client, both inside `unshare -Urn` +bash lab/run.sh loopback-refuse 30 +bash lab/run.sh multi-refuse 30 +bash lab/run.sh multi-allow 10 +bash lab/run.sh multi-app 30 +bash lab/run.sh filter-refuse 10 +python3 -I lab/summarize.py logs > logs/SUMMARY.txt + +# debug runs: qnt::init events and noq debug output +RUST_LOG='harness=info,iroh::_events::qnt::init=debug,iroh::socket::remote_map::remote_state=trace,noq_proto=debug,iroh=warn' \ + LOG_ROOT=$PWD/logs-debug bash lab/run.sh multi-app 5 # and multi-refuse 5 + +# trace runs: noq frame trace (REACH_OUT), with remote_state trace kept on +RUST_LOG='harness=info,noq_proto=trace,iroh::socket::remote_map::remote_state=trace,iroh=warn' \ + LOG_ROOT=$PWD/logs-trace bash lab/run.sh multi-refuse 10 # and multi-app 5 +python3 -I lab/summarize.py logs-trace multi-refuse multi-app > logs-trace/SUMMARY.txt +``` + +Namespace setup, inside `lab/run.sh`: `ip link set lo up`, then `ip addr add 10.200.0.1/32 dev lo` and `ip addr add 10.200.0.2/32 dev lo`. Anything bound to `0.0.0.0` then advertises these as direct addresses (E1, netdev classification). + +The ticket the client gets is `EndpointAddr::new(server_id).with_ip_addr(127.0.0.1:PORT)`. Nothing else. + +| Scenario | Server bind and mode | Client (seed, bind, role) | Purpose | +|---|---|---|---| +| `loopback-refuse` | 127.0.0.1:0, refuse in `after_handshake` | seed 3 (unlisted), 127.0.0.1:0, `connect` | the literal spec: IPv4 loopback only | +| `multi-refuse` | 0.0.0.0:0, refuse | seed 3, 0.0.0.0:0, `connect` | candidates beyond the ticket hint | +| `multi-allow` | 0.0.0.0:0, refuse | seed 2 (allowed), 0.0.0.0:0, opens a stream | control: allowed peer | +| `multi-app` | 0.0.0.0:0, accept handshake, refuse after first stream | seed 3, 0.0.0.0:0, opens a stream | case (c) | +| `filter-refuse` | 0.0.0.0:0, `Incoming::refuse()` before handshake | seed 3, 0.0.0.0:0, `connect` | case (a) | + +Keys are fixed seeds: server 1, allowed client 2, unlisted client 3. The allowlist holds seed 2's id. + +### E3. Test output + +Copied from `logs/SUMMARY.txt` (generated by `lab/summarize.py`, which uses only the log lines) and `logs-trace/SUMMARY.txt`. + +``` +== filter-refuse (10 runs) == +server hook ran: 0/10 (0%, 95% Wilson 0-28%); allowed flag at hook: 0 allowed of 0 +server refused in hook: 0/10 (0%, 95% Wilson 0-28%); handed to application: 0/10 (0%, 95% Wilson 0-28%); refused after stream: 0/10 (0%, 95% Wilson 0-28%); refused before handshake: 10/10 (100%, 95% Wilson 72-100%) +server candidates queued before hook: 0/10 (0%, 95% Wilson 0-28%); queue-to-hook gap n/a +server first Initial packet to candidates queued (server-side handshake) n/a +server hook-to-refusal gap n/a +client connect() returned Ok: 0/10 (0%, 95% Wilson 0-28%); connect() error: 10/10 (100%, 95% Wilson 72-100%) +client connect() error text: {'aborted by peer: the server refused to accept a new connection': 10} +client connect() return time n/a +client connect() error time median 4.5 ms (min 4.0, max 11.4, n=10) +client peer close observed time from start n/a; connect-return to close n/a +client close message(s): none +client saw >=1 server AddressAdded before/at close: 0/10 (0%, 95% Wilson 0-28%); of those, AddressAdded before the close event: 0 +client saw a server address NOT in the ticket (new information): 0/10 (0%, 95% Wilson 0-28%) +client holepunch attempt failed ('connection is already closed' etc.) in: 0/10 (0%, 95% Wilson 0-28%) + +== loopback-refuse (30 runs) == +server hook ran: 30/30 (100%, 95% Wilson 89-100%); allowed flag at hook: 0 allowed of 30 +server refused in hook: 30/30 (100%, 95% Wilson 89-100%); handed to application: 0/30 (0%, 95% Wilson 0-11%); refused after stream: 0/30 (0%, 95% Wilson 0-11%); refused before handshake: 0/30 (0%, 95% Wilson 0-11%) +server candidates queued before hook: 30/30 (100%, 95% Wilson 89-100%); queue-to-hook gap median 0.5 ms (min 0.3, max 7.4, n=30) +server first Initial packet to candidates queued (server-side handshake) median 134.1 ms (min 58.5, max 248.8, n=30) +server hook-to-refusal gap median 0.4 ms (min 0.3, max 18.0, n=30) +client connect() returned Ok: 30/30 (100%, 95% Wilson 89-100%); connect() error: 0/30 (0%, 95% Wilson 0-11%) +client connect() return time median 90.7 ms (min 35.5, max 184.9, n=30) +client connect() returned before the server's hook ran: 30/30 (100%, 95% Wilson 89-100%) +client peer close observed time from start median 147.1 ms (min 75.0, max 287.9, n=30); connect-return to close median 56.4 ms (min 21.4, max 109.2, n=30) +client close message(s): {'closed by peer: not on allowlist (code 4097)': 30} +client saw >=1 server AddressAdded before/at close: 5/30 (17%, 95% Wilson 7-34%); of those, AddressAdded before the close event: 5 +client saw a server address NOT in the ticket (new information): 0/30 (0%, 95% Wilson 0-11%) +client holepunch attempt failed ('connection is already closed' etc.) in: 0/30 (0%, 95% Wilson 0-11%) + +== multi-allow (10 runs) == +server hook ran: 10/10 (100%, 95% Wilson 72-100%); allowed flag at hook: 10 allowed of 10 +server refused in hook: 0/10 (0%, 95% Wilson 0-28%); handed to application: 10/10 (100%, 95% Wilson 72-100%); refused after stream: 0/10 (0%, 95% Wilson 0-28%); refused before handshake: 0/10 (0%, 95% Wilson 0-28%) +server candidates queued before hook: 10/10 (100%, 95% Wilson 72-100%); queue-to-hook gap median 0.5 ms (min 0.2, max 1.2, n=10) +server first Initial packet to candidates queued (server-side handshake) median 32.1 ms (min 27.8, max 67.8, n=10) +server hook-to-refusal gap n/a +client connect() returned Ok: 10/10 (100%, 95% Wilson 72-100%); connect() error: 0/10 (0%, 95% Wilson 0-28%) +client connect() return time median 23.5 ms (min 18.7, max 49.8, n=10) +client connect() returned before the server's hook ran: 10/10 (100%, 95% Wilson 72-100%) +client peer close observed time from start n/a; connect-return to close n/a +client close message(s): none +client stream reply(s): {'welcome': 10} +client saw >=1 server AddressAdded before/at close: 10/10 (100%, 95% Wilson 72-100%); of those, AddressAdded before the close event: 0 +client saw a server address NOT in the ticket (new information): 10/10 (100%, 95% Wilson 72-100%) +client holepunch attempt failed ('connection is already closed' etc.) in: 0/10 (0%, 95% Wilson 0-28%) +client example new addresses (run-01): ['10.200.0.1:41743', '10.200.0.2:41743'] + +== multi-app (30 runs) == +server hook ran: 30/30 (100%, 95% Wilson 89-100%); allowed flag at hook: 0 allowed of 30 +server refused in hook: 0/30 (0%, 95% Wilson 0-11%); handed to application: 30/30 (100%, 95% Wilson 89-100%); refused after stream: 30/30 (100%, 95% Wilson 89-100%); refused before handshake: 0/30 (0%, 95% Wilson 0-11%) +server candidates queued before hook: 30/30 (100%, 95% Wilson 89-100%); queue-to-hook gap median 0.7 ms (min 0.2, max 1.6, n=30) +server first Initial packet to candidates queued (server-side handshake) median 34.4 ms (min 28.9, max 71.9, n=30) +server hook-to-refusal gap n/a +client connect() returned Ok: 30/30 (100%, 95% Wilson 89-100%); connect() error: 0/30 (0%, 95% Wilson 0-11%) +client connect() return time median 23.1 ms (min 18.5, max 50.4, n=30) +client connect() returned before the server's hook ran: 30/30 (100%, 95% Wilson 89-100%) +client peer close observed time from start median 43.7 ms (min 33.0, max 86.5, n=30); connect-return to close median 18.0 ms (min 14.5, max 36.1, n=30) +client close message(s): {'closed by peer: not on allowlist (code 4098)': 30} +client stream error(s): {'read error: connection lost': 30} +client saw >=1 server AddressAdded before/at close: 29/30 (97%, 95% Wilson 83-99%); of those, AddressAdded before the close event: 28 +client saw a server address NOT in the ticket (new information): 29/30 (97%, 95% Wilson 83-99%) +client holepunch attempt failed ('connection is already closed' etc.) in: 6/30 (20%, 95% Wilson 10-37%) +client example new addresses (run-01): ['10.200.0.1:38631', '10.200.0.2:38631'] + +== multi-refuse (30 runs) == +server hook ran: 30/30 (100%, 95% Wilson 89-100%); allowed flag at hook: 0 allowed of 30 +server refused in hook: 30/30 (100%, 95% Wilson 89-100%); handed to application: 0/30 (0%, 95% Wilson 0-11%); refused after stream: 0/30 (0%, 95% Wilson 0-11%); refused before handshake: 0/30 (0%, 95% Wilson 0-11%) +server candidates queued before hook: 30/30 (100%, 95% Wilson 89-100%); queue-to-hook gap median 0.5 ms (min 0.3, max 4.9, n=30) +server first Initial packet to candidates queued (server-side handshake) median 37.3 ms (min 30.9, max 69.3, n=30) +server hook-to-refusal gap median 0.6 ms (min 0.3, max 4.8, n=30) +client connect() returned Ok: 30/30 (100%, 95% Wilson 89-100%); connect() error: 0/30 (0%, 95% Wilson 0-11%) +client connect() return time median 27.0 ms (min 21.7, max 55.9, n=30) +client connect() returned before the server's hook ran: 30/30 (100%, 95% Wilson 89-100%) +client peer close observed time from start median 47.4 ms (min 37.3, max 77.8, n=30); connect-return to close median 19.2 ms (min 13.6, max 36.6, n=30) +client close message(s): {'closed by peer: not on allowlist (code 4097)': 30} +client saw >=1 server AddressAdded before/at close: 17/30 (57%, 95% Wilson 39-73%); of those, AddressAdded before the close event: 14 +client saw a server address NOT in the ticket (new information): 17/30 (57%, 95% Wilson 39-73%) +client holepunch attempt failed ('connection is already closed' etc.) in: 6/30 (20%, 95% Wilson 10-37%) +client example new addresses (run-02): ['10.200.0.1:38337', '10.200.0.2:38337'] +``` + +Trace runs (`logs-trace/SUMMARY.txt`; the trace logging slows the server, so its handshake timings are about 3 to 4 times the plain runs): + +``` +== multi-refuse (10 runs) == +server hook ran: 10/10; allowed flag at hook: 0 allowed of 10 +server refused in hook: 10/10 (100%, 95% Wilson 72-100%); handed to application: 0/10; refused before handshake: 0/10 +server candidates queued before hook: 10/10 (100%, 95% Wilson 72-100%); queue-to-hook gap median 0.7 ms (min 0.5, max 7.4, n=10) +server first Initial packet to candidates queued (server-side handshake) median 127.6 ms (min 92.1, max 178.8, n=10) +server hook-to-refusal gap median 0.6 ms (min 0.5, max 11.3, n=10) +server REACH_OUT received (trace runs only): 10/10 (100%); received before hook 10/10 (100%); before refusal 10/10 (100%) +client connect() returned Ok: 10/10 (100%); connect() error: 0/10 +client connect() return time median 91.1 ms (min 71.3, max 124.8, n=10) +client connect() returned before the server's hook ran: 10/10 (100%) +client peer close observed time from start median 156.5 ms (min 121.2, max 208.5, n=10); connect-return to close median 60.3 ms (min 42.7, max 99.5, n=10) +client close message(s): {'closed by peer: not on allowlist (code 4097)': 10} +client saw >=1 server AddressAdded before/at close: 1/10 (10%, 95% Wilson 2-40%) +client saw a server address NOT in the ticket (new information): 1/10 (10%, 95% Wilson 2-40%) +client example new addresses (run-02): ['10.200.0.1:43082', '10.200.0.2:43082'] + +== multi-app (5 runs) == +server hook ran: 5/5 (100%); allowed flag at hook: 0 allowed of 5 +server refused in hook: 0/5; handed to application: 5/5 (100%); refused after stream: 5/5 (100%) +server candidates queued before hook: 5/5 (100%); queue-to-hook gap median 0.8 ms (min 0.6, max 7.7, n=5) +server first Initial packet to candidates queued (server-side handshake) median 124.9 ms (min 78.5, max 166.3, n=5) +server REACH_OUT received (trace runs only): 5/5 (100%); received before hook 5/5 (100%); before refusal 5/5 (100%) +client connect() returned Ok: 5/5 (100%); connect() error: 0/5 +client connect() returned before the server's hook ran: 5/5 (100%) +client close message(s): {'closed by peer: not on allowlist (code 4098)': 5} +client stream error(s): {'read error: connection lost': 5} +client saw >=1 server AddressAdded before/at close: 5/5 (100%); saw a server address NOT in the ticket: 5/5 (100%) +client holepunch attempt failed ('connection is already closed' etc.) in: 3/5 (60%, 95% Wilson 23-88%) +client example new addresses (run-1): ['10.200.0.1:60063', '10.200.0.2:60063'] +``` + +Notes on these numbers: +- The "AddressAdded before the close event" counts are not a reliable order measure at this resolution. The AddressAdded lines come from iroh's remote-state actor, which can run after the application sees the close. The leak counts (at least one `AddressAdded` event) come from noq having processed an ADD_ADDRESS frame, so they do not depend on that ordering. +- An earlier trace batch used `iroh=warn` without enabling `iroh::socket::remote_map::remote_state` at trace level. That hid all `AddressAdded` lines, and it showed "0 of 10" as a result. That was a filter artifact, not a result. It was rerun with the trace enabled, and only the rerun is reported above. + +### E4. Log excerpts + +Leaking run, `logs/multi-refuse/run-02`, with the harness prefix trimmed. The server queues its candidates, its hook refuses, and the client receives three AddressAdded events after `connect()` has returned. + +``` +SERVER +17:22:39.833160Z INFO harness: first Initial packet; no EndpointId is known yet event="incoming" remote=Ip(127.0.0.1:42350) alpns=["n30/allowlist/0"] +17:22:39.889465Z TRACE remote_state: updated local QNT addresses [10.200.0.1, 10.200.0.2, 127.0.0.1 on port 38337] +17:22:39.891089Z INFO harness: hook runs event="after_handshake" peer=ed4928c628 allowed=false enforce=true +17:22:39.895851Z INFO harness: no Connection was handed to the application event="handshake_refused" error=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:42350)/Active"] + +CLIENT +17:22:39.826904Z INFO harness: dialing with one loopback hint event="start" ticket=[127.0.0.1:38337] +17:22:39.863568Z TRACE remote_state: updated local QNT addresses [client's own three addresses] +17:22:39.869958Z INFO harness: connect() returned a Connection event="connect_ok" elapsed_ms=42.9 remote_info=["Ip(127.0.0.1:38337)/Active"] +17:22:39.892596Z TRACE remote_state: remote addrs updated, triggering holepunching evt=Ok(AddressAdded(127.0.0.1:38337)) +17:22:39.892822Z TRACE remote_state: remote addrs updated, triggering holepunching evt=Ok(AddressAdded(10.200.0.2:38337)) +17:22:39.892950Z TRACE remote_state: remote addrs updated, triggering holepunching evt=Ok(AddressAdded(10.200.0.1:38337)) +17:22:39.897418Z INFO harness: peer closed event="closed_by_peer" elapsed_ms=70.4 why=closed by peer: not on allowlist (code 4097) +17:22:40.098774Z INFO harness: final snapshot remote_info=["Ip(127.0.0.1:38337)/Active"] +``` + +Ordering of REACH_OUT, the client's candidates, in `logs-trace/multi-app/run-1` (noq frame trace) [V]: + +``` +CLIENT 17:31:27.119416Z TRACE noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 10.200.0.2:33516 +CLIENT 17:31:27.119449Z ... frame=REACH_OUT round: 1 local_addr: 127.0.0.1:33516 +CLIENT 17:31:27.119461Z ... frame=REACH_OUT round: 1 local_addr: 10.200.0.1:33516 +SERVER 17:31:27.152097Z TRACE noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 10.200.0.2:33516 +SERVER 17:31:27.152144Z ... got frame REACH_OUT round: 1 local_addr: 127.0.0.1:33516 +SERVER 17:31:27.152169Z ... got frame REACH_OUT round: 1 local_addr: 10.200.0.1:33516 +SERVER 17:31:27.193261Z INFO harness: hook runs event="after_handshake" allowed=false enforce=false +SERVER 17:31:27.194985Z INFO harness: stream from peer event="stream_opened" first_bytes=hello +SERVER 17:31:27.195143Z INFO harness: refusing after the stream opened event="app_refusal" +``` + +The client's registration-time round, `logs-debug/multi-app/run-1` (the `qnt::init` event at DEBUG) [V]: + +``` +17:26:37.722638Z TRACE remote_state: handle_message{msg=AddConnection ...}: updated local QNT addresses +17:26:37.722925Z DEBUG ...do_holepunching: iroh::_events::qnt::init: remote=8a88e3dd74 local_candidates={10.200.0.1:40807, 10.200.0.2:40807, 127.0.0.1:40807} remote_candidates={} +17:26:37.725847Z INFO harness: connect() returned a Connection event="connect_ok" elapsed_ms=158.2 +``` + +So the client sends its candidates (REACH_OUT) during registration, before `connect()` returns, with no remote candidates known yet. Its second round, after AddressAdded, has `remote_candidates={10.200.0.1:34455, 10.200.0.2:34455, 127.0.0.1:34455}`. + +### E5. Other checks + +- **When the client learns the server's addresses.** The client's first `AddressAdded` came 13.9 ms (multi-allow), 15.7 ms (multi-refuse) and 16.0 ms (multi-app) after `connect()` returned, as medians. In no run did it come before `connect()` returned. [V] +- **Handshake-time address carriers.** iroh never calls the noq-proto `preferred_address` setter (E1). The ServerHello and certificate carry no addresses. [V for iroh; the TLS content is I] +- **Public visibility of the leaked candidates.** In the refused runs, `remote_info` showed only the ticket address in 29 of the 30 `multi-refuse` runs. In one of them it listed `10.200.0.2` and `10.200.0.1` as Inactive (paths the client was probing). In one `multi-app` run it listed `10.200.0.1` as Active, which is a live path to the server's second address. [V] +- **Server-side view before the hook.** `Incoming` shows `remote=Ip(UDP source)` and `alpns=["n30/allowlist/0"]`, with no EndpointId (every run). `remote_info` on the server, read after refusal, listed only the client's UDP source. [V] +- **Filter-refuse.** `Incoming::refuse()` produces a `connect()` error after 4.5 ms (median). Its text is "aborted by peer: the server refused to accept a new connection". No candidate was exchanged. [V] + +--- + +## Options + +| Option | What it stops | What it still reveals | Achievable in iroh 1.3.0? | Verdict | +|---|---|---|---|---| +| A. Document as an accepted exposure; tickets may carry addresses when a direct path needs them | Nothing new | Our candidates to any peer that completes the handshake, unlisted ones included (17/30 runs in the lab) | Yes, it is the status quo | **Recommended** (with the wording below) | +| B. EndpointId allowlist in `after_handshake` (inbound) | Application access and group state for unlisted peers | Candidates still leak in the race (E3), and the peer's candidates reach us (E4) | Yes (`hooks.rs:102-108`; `connection.rs:358-363`) | **Do it**, but call it an access gate, not address privacy | +| C. EndpointId allowlist in `before_connect` (outbound dials) | Any packet to an unlisted server, from us | Nothing on the inbound side | Yes (`endpoint.rs:1124-1126`; `hooks.rs:74-78`). Source only; not run [N] | **Recommended** for our own dials | +| D. Refuse inbound by EndpointId before the handshake | (would stop everything) | (would reveal nothing) | **No**: no identity before the handshake (E1; `connection.rs:130-229`; `tls/verifier.rs:125-141`) | Not possible | +| E. Pre-handshake refusal by UDP source, ALPN, or retry (`IncomingFilter`) | Unsolicited floods, wrong-ALPN peers | Nothing about us (filter test: 0 of 10 exchanges) | Yes (E3 filter-refuse) | Use for hygiene only; cannot key on an id | +| F. Relay-only transport for groups that need address privacy (`clear_ip_transports`) | Candidates: no direct address means no ADD_ADDRESS and no REACH_OUT | The relay sees traffic; direct paths are lost | Config yes. Inferred to send no candidates: `initiate_nat_traversal_round` returns `NotEnoughAddresses` with no local address (`n0_nat_traversal.rs:457-459`). Not run [N] | Option for specific groups; costs direct paths | +| G. Patch iroh (or fork): queue local candidates only after `after_handshake` accepts (move `update_qnt_candidates` after the hook, `remote_state.rs:387-409`, `connection.rs:358-363`) | Candidates to refused peers | Fork or upstream change to maintain; the server still sees the peer's UDP source | Not in 1.3.0. Not built or tested [N] | Not now; record as the only route to a strict guarantee | +| H. `addr_filter` set to relay-only | Nothing on connections | Filters only lookup publishing (`address_lookup.rs:529-531`) | Yes, but irrelevant to connected peers | Use it for public DNS/DHT policy only | + +--- + +## Recommendation + +**Reasons.** + +1. The EndpointId check does what the owner wants for access. When it runs in `after_handshake`, an unlisted peer never gets a connection to the application (`loopback-refuse` and `multi-refuse`, 60 of 60). When the check runs after the first stream instead (`multi-app`), the unlisted peer can open one stream and send one message before it is refused (30 of 30). The hook placement is the one to use. The check is cheap and should stay. +2. It cannot do what "before they learn anything" would need. Candidate queuing precedes the hook by design (E1), and nothing in 1.3.0 identifies a peer before its handshake. So "authorize before connecting" should not be presented as address privacy. +3. Tickets are not where the leak is. A connected peer learns our candidates whether or not the ticket holds addresses (the test ticket held only a loopback hint, and the candidates still went out: to the accepted peer in 10 of 10 runs and to the refused peer in 17 of 30). So "allow addresses in tickets when needed" adds exposure only to whoever holds the ticket, who can read it without connecting. That is a real but separate exposure, and it is acceptable when the ticket goes only to invited peers. Address-free tickets limit third-party lookup exposure. They do not protect against connected peers. +4. The outbound side can genuinely be "authorized before connecting": `before_connect` stops any packet to an unlisted server (Option C). That is the honest meaning of the phrase for our own dials. + +**Proposed N30 wording** (for the design index row and the main design's N30 note): + +> **N30. Address exposure to connected peers.** A peer that completes the TLS handshake with us learns our direct addresses (every local IP we bind), and so does an unlisted peer. The candidates are queued right after the handshake, before the EndpointId check (`after_handshake`) runs. In the lab, an unlisted peer got them in 17 of 30 refused attempts. The peer's candidates reach us in the same window. Tickets may carry addresses when a direct path needs them. Those are unsigned hints (N24), and they expose addresses to whoever holds the ticket. For address privacy from a group, use relay-only transports for it, at the cost of direct paths. + +**Replace in the index row for N30:** the option "Authorize peers before connecting (invite first), so only trusted peers connect" should read "Gate by EndpointId after the handshake (access only). Address privacy needs relay-only transports or a patched iroh (not in 1.3.0)." + +**What would change this recommendation.** + +- If the owner needs unlisted peers never to see our IPs, the answer becomes Option F (relay-only for that group) or G (a patched iroh). Neither is built or tested here. +- If real networks show a much lower or higher leak rate, the wording "in about half of refusals" needs updating. The outcome depends on whether the queued candidate frame leaves before the close is queued. In the lab that gap is about 1 ms (queue-to-hook median 0.5 ms, hook-to-refusal median 0.6 ms). That is local scheduling rather than network round-trip time, so the rate may differ on a real network. This is inferred [I]. +- If iroh adds a pre-candidate or per-connection candidate control, Option G becomes an iroh option rather than a fork. +- If the owner accepts that any direct peer sees our IP, the N30 question narrows to the candidate list, which is what the wording above covers. + +--- + +## Not verified + +- **[N] Real networks.** This is one host, loopback and two local addresses. No NAT, IPv6, multi-NIC host, or relay (`RelayMode::Disabled`). The leak rate is a local race and was measured on a shared machine. Trace runs add overhead. +- **[N] iroh-relay 1.3.0 source.** I listed its files but did not read the relay code. The test does not use a relay. Relay-side identity or auth would live there, and it is outside this test. +- **[N] Outbound `before_connect` refusal** (Option C): source only. Not run. +- **[N] `IncomingFilterOutcome::Ignore` and `Retry`**: source only. Not run. +- **[N] ClientHello contents beyond ALPN** (SNI, key shares, other extensions). `decrypt()` exposes only the ALPN iterator (noq-proto `endpoint.rs:1334-1398`), so I did not inspect the bytes. +- **[I] TLS 1.3 placement of the client's Certificate** (after the server's flight, under handshake keys). This is standard TLS 1.3 behaviour (RFC 8446 §2, §4.4.2). I did not fetch the RFC in this run. +- **[N] Server-side REACH_OUT handling after receipt.** I observed receipt, not what the server did next (probe scheduling, path opens). One plain `multi-app` run showed an Active client path to the server's 10.200.0.1. +- **[N] One `multi-app` run with no AddressAdded** (`logs/multi-app/run-28`). I did not investigate why. +- **[N] Effect of close timing or error code on the race.** Not varied. +- **[I] Relay-only candidate absence.** Inferred from `clear_ip_transports` and `initiate_nat_traversal_round` (E1), not run. +- **[N] Timing values as absolutes.** The first batch (`loopback-refuse`) ran while other agents were building, and its connect medians (about 91 ms) are three to four times the later batches (23 to 27 ms). Use the ratios and the counts, not the absolute times. diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/lab/run.sh b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/lab/run.sh new file mode 100755 index 0000000000..645dcee3cc --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/lab/run.sh @@ -0,0 +1,78 @@ +#!/usr/bin/env bash +# N30 runner. One scenario, N runs. Each run starts a fresh server process and a fresh client +# process in one user+network namespace (unshare -Urn), so every side logs only what it saw. +# +# lab/run.sh SCENARIO RUNS (from anywhere; logs go to logs/SCENARIO/run-NN/) +# +# Scenarios: +# loopback-refuse server binds 127.0.0.1 only. Unlisted client (seed 3) binds 127.0.0.1. +# Refusal in after_handshake. Client opens no stream. +# multi-refuse server and unlisted client bind 0.0.0.0. lo also carries 10.200.0.1 (server) +# and 10.200.0.2 (client), so each side has candidates beyond the ticket hint. +# Refusal in after_handshake. +# multi-allow as multi-refuse, but the allowed client (seed 2) opens a stream. Control. +# multi-app after_handshake accepts everyone. Unlisted client opens a stream, which the +# server refuses after it opens. +# filter-refuse Incoming::refuse() before any handshake, unlisted client. +# +# The ticket the client gets is the server's EndpointId plus 127.0.0.1:PORT, nothing else. +set -euo pipefail + +SELF=$(readlink -f "${BASH_SOURCE[0]}") +HERE=$(dirname "$(dirname "$SELF")") +BIN=${BIN:-/home/user/work/spikes/target/debug/iroh-allowlist-spike} + +if [ "${1:-}" != "--inner" ]; then + exec unshare -Urn bash "$SELF" --inner "$@" +fi +shift + +scenario=${1:?usage: run.sh SCENARIO RUNS} +runs=${2:?usage: run.sh SCENARIO RUNS} + +# Inside the namespace: bring lo up and give it two extra addresses. Anything bound to 0.0.0.0 +# advertises these as direct addresses (netdev_impl.rs classes lo addresses as loopback). +ip link set lo up +ip addr add 10.200.0.1/32 dev lo +ip addr add 10.200.0.2/32 dev lo + +case "$scenario" in +loopback-refuse) srv_bind=127.0.0.1:0 srv_mode=refuse seed=3 cli_bind=127.0.0.1:0 kind=connect ;; +multi-refuse) srv_bind=0.0.0.0:0 srv_mode=refuse seed=3 cli_bind=0.0.0.0:0 kind=connect ;; +multi-allow) srv_bind=0.0.0.0:0 srv_mode=refuse seed=2 cli_bind=0.0.0.0:0 kind=stream ;; +multi-app) srv_bind=0.0.0.0:0 srv_mode=app seed=3 cli_bind=0.0.0.0:0 kind=stream ;; +filter-refuse) srv_bind=0.0.0.0:0 srv_mode=filter seed=3 cli_bind=0.0.0.0:0 kind=connect ;; +*) + echo "unknown scenario: $scenario" >&2 + exit 2 + ;; +esac + +out="${LOG_ROOT:-$HERE/logs}/$scenario" +rm -rf "$out" +mkdir -p "$out" +echo "scenario=$scenario runs=$runs server=$srv_bind/$srv_mode client=seed$seed/$cli_bind/$kind" + +for i in $(seq -w 1 "$runs"); do + d="$out/run-$i" + mkdir -p "$d" + "$BIN" server --bind "$srv_bind" --mode "$srv_mode" --ready "$d/ready.txt" >"$d/server.log" 2>&1 & + spid=$! + for _ in $(seq 1 200); do + [ -s "$d/ready.txt" ] && break + sleep 0.05 + done + if [ ! -s "$d/ready.txt" ]; then + echo "run $i: server never became ready (see $d/server.log)" >&2 + kill "$spid" 2>/dev/null || true + wait "$spid" 2>/dev/null || true + continue + fi + "$BIN" client --seed "$seed" --bind "$cli_bind" --kind "$kind" --ticket "$d/ready.txt" \ + >"$d/client.log" 2>&1 || true + sleep 0.3 + kill "$spid" 2>/dev/null || true + wait "$spid" 2>/dev/null || true +done + +echo "done: $out" diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/lab/summarize.py b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/lab/summarize.py new file mode 100644 index 0000000000..dd7f92cb28 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/lab/summarize.py @@ -0,0 +1,250 @@ +#!/usr/bin/env python3 +"""Summarize N30 runs: one block per scenario, from logs/SCENARIO/run-*/{server,client}.log. + +Usage (from the spike folder): + python3 -I lab/summarize.py [LOG_ROOT] [SCENARIO ...] + +Only the standard library is used. Every number printed here is computed from the log lines; +nothing is hand-entered. +""" + +import glob +import math +import os +import re +import statistics +import sys +from datetime import datetime, timezone + +HERE = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) +LOG_LINE = re.compile(r"^(\S+Z)\s+(\w+)\s+(.*)$") +ADDR_ADDED = re.compile(r"AddressAdded\(([^)]*)\)") +QNT = re.compile(r"updated local QNT addresses direct_addrs=\{([^}]*)\}") +REACH_RX = re.compile(r"got frame REACH_OUT round: \d+ local_addr: (\S+)") +ELAPSED = re.compile(r"elapsed_ms=([\d.]+)") + + +def parse_ts(s): + return datetime.strptime(s, "%Y-%m-%dT%H:%M:%S.%fZ").replace(tzinfo=timezone.utc).timestamp() + + +def read_log(path): + out = [] + if not os.path.exists(path): + return out + with open(path, encoding="utf-8", errors="replace") as fh: + for line in fh: + m = LOG_LINE.match(line.rstrip("\n")) + if m: + out.append((parse_ts(m.group(1)), m.group(2), m.group(3))) + return out + + +def ms(a, b): + return (b - a) * 1000.0 + + +def server_facts(lines): + f = {"added_refuse_candidates": None} + for t, _lvl, text in lines: + if 'event="incoming"' in text and "incoming" not in f: + f["incoming"] = t + src = re.search(r"remote=Ip\(([^)]*)\)", text) + f["udp_src"] = src.group(1) if src else None + f["alpns"] = re.search(r"alpns=(\[[^\]]*\])", text).group(1) + if "updated local QNT addresses" in text and "qnt" not in f: + f["qnt"] = t + f["qnt_addrs"] = QNT.search(text).group(1) + if 'event="after_handshake"' in text and "hook" not in f: + f["hook"] = t + f["allowed"] = "allowed=true" in text + for ev in ( + "refused_before_handshake", + "handshake_refused", + "application_has_connection", + "stream_opened", + "app_refusal", + "connection_closed", + ): + if f'event="{ev}"' in text and ev not in f: + f[ev] = t + if "got frame REACH_OUT" in text: + r = REACH_RX.search(text) + f.setdefault("reach_out_rx", []).append((t, r.group(1) if r else "?")) + return f + + +def client_facts(lines): + f = {"addr_added": [], "hp_fail": []} + for t, _lvl, text in lines: + if 'event="connect_ok"' in text and "connect_ok" not in f: + f["connect_ok"] = t + f["connect_ok_ms"] = float(ELAPSED.search(text).group(1)) + if 'event="connect_err"' in text and "connect_err" not in f: + f["connect_err"] = t + f["connect_err_ms"] = float(ELAPSED.search(text).group(1)) + f["connect_err_msg"] = text.split("error=", 1)[1].split(" dbg=")[0] + if 'event="closed_by_peer"' in text and "closed" not in f: + f["closed"] = t + f["closed_ms"] = float(ELAPSED.search(text).group(1)) + f["closed_msg"] = text.split("why=", 1)[1].split(" dbg=")[0] + if 'event="closed_locally"' in text and "closed" not in f: + f["closed_local"] = True + if 'event="stream_reply"' in text: + f["reply"] = text.split("reply=", 1)[1].strip() + if 'event="stream_error"' in text: + f["stream_error"] = text.split("error=", 1)[1].split(" dbg=")[0] + for m in ADDR_ADDED.finditer(text): + f["addr_added"].append((t, m.group(1))) + if "failed to initiate NAT traversal" in text: + f["hp_fail"].append(t) + if "initiating NAT traversal round" in text: + f.setdefault("reach_out_tx", t) + return f + + +def wilson(k, n, z=1.96): + if n == 0: + return (0.0, 0.0) + p = k / n + d = 1 + z * z / n + c = (p + z * z / (2 * n)) / d + h = z * math.sqrt(p * (1 - p) / n + z * z / (4 * n * n)) / d + return (max(0.0, c - h), min(1.0, c + h)) + + +def pct(k, n): + lo, hi = wilson(k, n) + return f"{k}/{n} ({100.0 * k / n:.0f}%, 95% Wilson {100 * lo:.0f}-{100 * hi:.0f}%)" if n else f"0/0" + + +def stats(values): + if not values: + return "n/a" + return f"median {statistics.median(values):.1f} ms (min {min(values):.1f}, max {max(values):.1f}, n={len(values)})" + + +def summarize(root, scenario): + runs = sorted(glob.glob(os.path.join(root, scenario, "run-*"))) + if not runs: + print(f"== {scenario}: no runs under {root}") + return + srv_all, cli_all = [], [] + port_of = {} + for r in runs: + ready = open(os.path.join(r, "ready.txt")).read() if os.path.exists(os.path.join(r, "ready.txt")) else "" + port = re.search(r"port=(\d+)", ready) + port_of[r] = port.group(1) if port else None + srv_all.append(server_facts(read_log(os.path.join(r, "server.log")))) + cli_all.append(client_facts(read_log(os.path.join(r, "client.log")))) + + n = len(runs) + hook_ran = sum("hook" in s for s in srv_all) + refused = sum("handshake_refused" in s for s in srv_all) + handed = sum("application_has_connection" in s for s in srv_all) + app_refused = sum("app_refusal" in s for s in srv_all) + pre_refused = sum("refused_before_handshake" in s for s in srv_all) + qnt_before_hook = sum( + 1 for s in srv_all if "qnt" in s and "hook" in s and s["qnt"] < s["hook"] + ) + qnt_gap = [ms(s["qnt"], s["hook"]) for s in srv_all if "qnt" in s and "hook" in s] + hook_to_refuse = [ms(s["hook"], s["handshake_refused"]) for s in srv_all if "hook" in s and "handshake_refused" in s] + + c_ok = sum("connect_ok" in c for c in cli_all) + c_err = sum("connect_err" in c for c in cli_all) + c_ok_ms = [c["connect_ok_ms"] for c in cli_all if "connect_ok_ms" in c] + c_closed_ms = [c["closed_ms"] for c in cli_all if "closed_ms" in c] + c_ok_to_close = [ms(c["connect_ok"], c["closed"]) for c in cli_all if "connect_ok" in c and "closed" in c] + any_added = sum(1 for c in cli_all if c["addr_added"]) + new_added_runs = 0 + new_added_detail = {} + for r, c in zip(runs, cli_all): + port = port_of[r] + new = sorted({a for _t, a in c["addr_added"] if port and not a.startswith(f"127.0.0.1:{port}")}) + if new: + new_added_runs += 1 + new_added_detail[os.path.basename(r)] = new + added_before_close = sum( + 1 for c in cli_all if c["addr_added"] and "closed" in c and c["addr_added"][0][0] < c["closed"] + ) + hp_fail_runs = sum(1 for c in cli_all if c["hp_fail"]) + closed_msgs = {} + for c in cli_all: + if "closed_msg" in c: + closed_msgs[c["closed_msg"]] = closed_msgs.get(c["closed_msg"], 0) + 1 + connect_err_msgs = {} + for c in cli_all: + if "connect_err_msg" in c: + connect_err_msgs[c["connect_err_msg"]] = connect_err_msgs.get(c["connect_err_msg"], 0) + 1 + replies = {} + for c in cli_all: + if "reply" in c: + replies[c["reply"]] = replies.get(c["reply"], 0) + 1 + stream_errs = {} + for c in cli_all: + if "stream_error" in c: + stream_errs[c["stream_error"]] = stream_errs.get(c["stream_error"], 0) + 1 + # Cross-process check: both logs carry wall-clock stamps, so compare the client's connect() + # return with the server's hook (the client finishes its handshake first). + connect_before_hook = sum( + 1 for s, c in zip(srv_all, cli_all) + if "hook" in s and "connect_ok" in c and c["connect_ok"] < s["hook"] + ) + connect_err_ms = [c["connect_err_ms"] for c in cli_all if "connect_err_ms" in c] + srv_allowed = [s.get("allowed") for s in srv_all if "hook" in s] + reach_runs = sum(1 for s in srv_all if "reach_out_rx" in s) + reach_before_hook = sum(1 for s in srv_all if "reach_out_rx" in s and "hook" in s and s["reach_out_rx"][0][0] < s["hook"]) + reach_before_refuse = sum( + 1 + for s in srv_all + if "reach_out_rx" in s and ("handshake_refused" in s or "app_refusal" in s) + and s["reach_out_rx"][0][0] < s.get("handshake_refused", s.get("app_refusal")) + ) + reach_client_tx = sum(1 for c in cli_all if "reach_out_tx" in c) + + print(f"== {scenario} ({n} runs) ==") + print(f"server hook ran: {pct(hook_ran, n)}; allowed flag at hook: {sum(1 for a in srv_allowed if a)} allowed of {len(srv_allowed)}") + print(f"server refused in hook: {pct(refused, n)}; handed to application: {pct(handed, n)}; refused after stream: {pct(app_refused, n)}; refused before handshake: {pct(pre_refused, n)}") + print(f"server candidates queued before hook: {pct(qnt_before_hook, n)}; queue-to-hook gap {stats(qnt_gap)}") + inc_qnt = [ms(s["incoming"], s["qnt"]) for s in srv_all if "qnt" in s and "incoming" in s] + print(f"server first Initial packet to candidates queued (server-side handshake) {stats(inc_qnt)}") + print(f"server hook-to-refusal gap {stats(hook_to_refuse)}") + if reach_runs: + print(f"server REACH_OUT received (trace runs only): {pct(reach_runs, n)}; received before hook {pct(reach_before_hook, n)}; before refusal {pct(reach_before_refuse, n)}") + print(f"client connect() returned Ok: {pct(c_ok, n)}; connect() error: {pct(c_err, n)}") + if connect_err_msgs: + print(f"client connect() error text: {connect_err_msgs}") + print(f"client connect() return time {stats(c_ok_ms)}") + if connect_err_ms: + print(f"client connect() error time {stats(connect_err_ms)}") + if any("hook" in s for s in srv_all): + print(f"client connect() returned before the server's hook ran: {pct(connect_before_hook, n)}") + print(f"client peer close observed time from start {stats(c_closed_ms)}; connect-return to close {stats(c_ok_to_close)}") + print(f"client close message(s): {closed_msgs if closed_msgs else 'none'}") + if replies: + print(f"client stream reply(s): {replies}") + if stream_errs: + print(f"client stream error(s): {stream_errs}") + print(f"client saw >=1 server AddressAdded before/at close: {pct(any_added, n)}; of those, AddressAdded before the close event: {added_before_close}") + print(f"client saw a server address NOT in the ticket (new information): {pct(new_added_runs, n)}") + print(f"client holepunch attempt failed ('connection is already closed' etc.) in: {pct(hp_fail_runs, n)}") + if new_added_detail: + first = next(iter(new_added_detail.items())) + print(f"client example new addresses ({first[0]}): {first[1]}") + print() + + +def main(): + args = sys.argv[1:] + root = os.path.join(HERE, "logs") + if args and os.path.isdir(args[0]): + root = args.pop(0) + scenarios = args or sorted( + d for d in os.listdir(root) if os.path.isdir(os.path.join(root, d)) + ) + for s in scenarios: + summarize(root, s) + + +if __name__ == "__main__": + main() diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-1/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-1/client.log new file mode 100644 index 0000000000..512a3a13ef --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-1/client.log @@ -0,0 +1,40 @@ +2026-10-11T17:26:37.567520Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:34455] +2026-10-11T17:26:37.568197Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:26:37.568342Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:26:37.568459Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:26:37.568475Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:26:37.568506Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:26:37.571057Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:34455)] +2026-10-11T17:26:37.688669Z DEBUG noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:26:37.688743Z DEBUG noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:26:37.722638Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(108010018562400) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:40807, 10.200.0.2:40807, 127.0.0.1:40807} +2026-10-11T17:26:37.722925Z DEBUG RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(108010018562400) send_tasks=FuturesUnorderedBounded { len: 0, .. }}:do_holepunching: iroh::_events::qnt::init: remote=8a88e3dd74 local_candidates={10.200.0.1:40807, 10.200.0.2:40807, 127.0.0.1:40807} remote_candidates={} +2026-10-11T17:26:37.725847Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=158.186574 remote_info=["Ip(127.0.0.1:34455)/Active"] +2026-10-11T17:26:37.795742Z DEBUG noq_proto::connection: Blocked opening NAT traversal path, enqueued err=RemoteCidsExhausted network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:34455) +2026-10-11T17:26:37.797231Z DEBUG noq_proto::connection: Blocked opening NAT traversal path, enqueued err=RemoteCidsExhausted network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:34455) +2026-10-11T17:26:37.797674Z DEBUG noq_proto::connection::paths: remote changed path status status=Available seq=2 +2026-10-11T17:26:37.797718Z DEBUG noq_proto::connection: path added validated=false path_id=1 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:34455) +2026-10-11T17:26:37.797760Z DEBUG noq_proto::connection: Opened NAT traversal path path_id=1 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:34455) new_path=true +2026-10-11T17:26:37.797778Z DEBUG noq_proto::connection: Blocked opening NAT traversal path, enqueued err=RemoteCidsExhausted network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:34455) +2026-10-11T17:26:37.797796Z DEBUG noq_proto::connection: Blocked opening NAT traversal path, enqueued err=RemoteCidsExhausted network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:34455) +2026-10-11T17:26:37.797811Z DEBUG noq_proto::connection: Blocked opening NAT traversal path, enqueued err=RemoteCidsExhausted network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:34455) +2026-10-11T17:26:37.797825Z DEBUG noq_proto::connection: Blocked opening NAT traversal path, enqueued err=RemoteCidsExhausted network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:34455) +2026-10-11T17:26:37.797841Z DEBUG noq_proto::connection: Blocked opening NAT traversal path, enqueued err=RemoteCidsExhausted network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:34455) +2026-10-11T17:26:37.797858Z DEBUG noq_proto::connection: path added validated=false path_id=2 network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:34455) +2026-10-11T17:26:37.797891Z DEBUG noq_proto::connection: Opened NAT traversal path path_id=2 network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:34455) new_path=true +2026-10-11T17:26:37.800583Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(108010018562400) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:26:37.800724Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(108010018562400) evt=Ok(AddressAdded(127.0.0.1:34455)) +2026-10-11T17:26:37.800821Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37235, tv_nsec: 162089587 }, local_candidates: {10.200.0.1:40807, 10.200.0.2:40807, 127.0.0.1:40807}, remote_candidates: {} } local_candidates={10.200.0.1:40807, 10.200.0.2:40807, 127.0.0.1:40807} remote_candidates={10.200.0.1:34455, 10.200.0.2:34455, 127.0.0.1:34455} +2026-10-11T17:26:37.800993Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::_events::qnt::init: remote=8a88e3dd74 local_candidates={10.200.0.1:40807, 10.200.0.2:40807, 127.0.0.1:40807} remote_candidates={10.200.0.1:34455, 10.200.0.2:34455, 127.0.0.1:34455} +2026-10-11T17:26:37.801104Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(108010018562400) evt=Ok(AddressAdded(10.200.0.2:34455)) +2026-10-11T17:26:37.801143Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37235, tv_nsec: 240156728 }, local_candidates: {10.200.0.1:40807, 10.200.0.2:40807, 127.0.0.1:40807}, remote_candidates: {10.200.0.1:34455, 10.200.0.2:34455, 127.0.0.1:34455} } local_candidates={10.200.0.1:40807, 10.200.0.2:40807, 127.0.0.1:40807} remote_candidates={10.200.0.1:34455, 10.200.0.2:34455, 127.0.0.1:34455} +2026-10-11T17:26:37.801186Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999870475s +2026-10-11T17:26:37.801223Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(108010018562400) evt=Ok(AddressAdded(10.200.0.1:34455)) +2026-10-11T17:26:37.801251Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37235, tv_nsec: 240156728 }, local_candidates: {10.200.0.1:40807, 10.200.0.2:40807, 127.0.0.1:40807}, remote_candidates: {10.200.0.1:34455, 10.200.0.2:34455, 127.0.0.1:34455} } local_candidates={10.200.0.1:40807, 10.200.0.2:40807, 127.0.0.1:40807} remote_candidates={10.200.0.1:34455, 10.200.0.2:34455, 127.0.0.1:34455} +2026-10-11T17:26:37.801282Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999769314s +2026-10-11T17:26:37.807354Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:26:37.807663Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=240.008747 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:26:37.809296Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=241.638539 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:34455)/Active"] +2026-10-11T17:26:38.012418Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:34455)/Active"] +2026-10-11T17:26:38.013015Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:26:38.013080Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-1/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-1/ready.txt new file mode 100644 index 0000000000..2e8257c300 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-1/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=34455 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-1/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-1/server.log new file mode 100644 index 0000000000..98754657e8 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-1/server.log @@ -0,0 +1,20 @@ +2026-10-11T17:26:37.382172Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=34455 direct=["10.200.0.1:34455", "10.200.0.2:34455", "127.0.0.1:34455"] +2026-10-11T17:26:37.572268Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:40807) alpns=["n30/allowlist/0"] +2026-10-11T17:26:37.577319Z DEBUG noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:26:37.577388Z DEBUG noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:26:37.773332Z DEBUG noq_proto::connection::paths: remote changed path status status=Available seq=2 +2026-10-11T17:26:37.773410Z DEBUG noq_proto::connection::packet_crypto: dropping unexpected packet encryption_level=Some(Handshake) bytes=227 +2026-10-11T17:26:37.773428Z DEBUG noq_proto::connection::packet_crypto: dropping unexpected packet encryption_level=Some(Handshake) bytes=227 +2026-10-11T17:26:37.780488Z DEBUG noq_proto::connection::packet_crypto: dropping unexpected packet encryption_level=Some(Handshake) bytes=227 +2026-10-11T17:26:37.780562Z DEBUG noq_proto::connection::packet_crypto: dropping unexpected packet encryption_level=Some(Handshake) bytes=227 +2026-10-11T17:26:37.781544Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:26:37.781817Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(130638208386736) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:34455, 10.200.0.2:34455, 127.0.0.1:34455} +2026-10-11T17:26:37.789392Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(130638208386736) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:26:37.793249Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:26:37.793357Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:26:37.793460Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:26:37.793737Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:40807)/Active"] +2026-10-11T17:26:37.794147Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:40807)/Active"] +2026-10-11T17:26:37.797326Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:40807)/Active"] +2026-10-11T17:26:37.797499Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:26:37.797671Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-2/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-2/client.log new file mode 100644 index 0000000000..0c2df9858c --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-2/client.log @@ -0,0 +1,20 @@ +2026-10-11T17:26:39.175001Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:59042] +2026-10-11T17:26:39.176022Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:26:39.176162Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:26:39.176278Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:26:39.176299Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:26:39.176326Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:26:39.178391Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:59042)] +2026-10-11T17:26:39.288028Z DEBUG noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:26:39.288122Z DEBUG noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:26:39.297473Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(100630873240544) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:57209, 10.200.0.2:57209, 127.0.0.1:57209} +2026-10-11T17:26:39.297745Z DEBUG RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(100630873240544) send_tasks=FuturesUnorderedBounded { len: 0, .. }}:do_holepunching: iroh::_events::qnt::init: remote=8a88e3dd74 local_candidates={10.200.0.1:57209, 10.200.0.2:57209, 127.0.0.1:57209} remote_candidates={} +2026-10-11T17:26:39.298976Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=123.833162 remote_info=["Ip(127.0.0.1:59042)/Active"] +2026-10-11T17:26:39.315605Z DEBUG noq_proto::connection: Blocked opening NAT traversal path, enqueued err=RemoteCidsExhausted network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:59042) +2026-10-11T17:26:39.317101Z DEBUG noq_proto::connection: Blocked opening NAT traversal path, enqueued err=RemoteCidsExhausted network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:59042) +2026-10-11T17:26:39.325306Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:26:39.325551Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=150.41105299999998 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:26:39.325819Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=150.678018 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:59042)/Active"] +2026-10-11T17:26:39.560465Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:59042)/Active"] +2026-10-11T17:26:39.654163Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:26:39.654267Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-2/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-2/ready.txt new file mode 100644 index 0000000000..d103c31ba3 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-2/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=59042 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-2/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-2/server.log new file mode 100644 index 0000000000..803631d294 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-2/server.log @@ -0,0 +1,14 @@ +2026-10-11T17:26:38.944492Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=59042 direct=["10.200.0.1:59042", "10.200.0.2:59042", "127.0.0.1:59042"] +2026-10-11T17:26:39.179420Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:57209) alpns=["n30/allowlist/0"] +2026-10-11T17:26:39.181788Z DEBUG noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:26:39.181849Z DEBUG noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:26:39.309439Z DEBUG noq_proto::connection::paths: remote changed path status status=Available seq=2 +2026-10-11T17:26:39.312804Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:26:39.313199Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(138009244681248) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:59042, 10.200.0.2:59042, 127.0.0.1:59042} +2026-10-11T17:26:39.313348Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(138009244681248) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:26:39.313574Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:26:39.313769Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:57209)/Active"] +2026-10-11T17:26:39.318461Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:57209)/Active"] +2026-10-11T17:26:39.318637Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:57209)/Active"] +2026-10-11T17:26:39.318739Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:26:39.318969Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-3/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-3/client.log new file mode 100644 index 0000000000..c59b854d56 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-3/client.log @@ -0,0 +1,29 @@ +2026-10-11T17:26:40.463131Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:57746] +2026-10-11T17:26:40.464271Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:26:40.464430Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:26:40.464554Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:26:40.464577Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:26:40.464607Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:26:40.466591Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:57746)] +2026-10-11T17:26:40.544196Z DEBUG noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:26:40.544287Z DEBUG noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:26:40.555173Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(109821214351968) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:40746, 10.200.0.2:40746, 127.0.0.1:40746} +2026-10-11T17:26:40.555519Z DEBUG RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(109821214351968) send_tasks=FuturesUnorderedBounded { len: 0, .. }}:do_holepunching: iroh::_events::qnt::init: remote=8a88e3dd74 local_candidates={10.200.0.1:40746, 10.200.0.2:40746, 127.0.0.1:40746} remote_candidates={} +2026-10-11T17:26:40.562509Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=99.25761800000001 remote_info=["Ip(127.0.0.1:57746)/Active"] +2026-10-11T17:26:40.598045Z DEBUG noq_proto::connection::paths: remote changed path status status=Available seq=2 +2026-10-11T17:26:40.599151Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(109821214351968) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:26:40.599278Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(109821214351968) evt=Ok(AddressAdded(127.0.0.1:57746)) +2026-10-11T17:26:40.599372Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37237, tv_nsec: 994677584 }, local_candidates: {10.200.0.1:40746, 10.200.0.2:40746, 127.0.0.1:40746}, remote_candidates: {} } local_candidates={10.200.0.1:40746, 10.200.0.2:40746, 127.0.0.1:40746} remote_candidates={10.200.0.1:57746, 10.200.0.2:57746, 127.0.0.1:57746} +2026-10-11T17:26:40.599472Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::_events::qnt::init: remote=8a88e3dd74 local_candidates={10.200.0.1:40746, 10.200.0.2:40746, 127.0.0.1:40746} remote_candidates={10.200.0.1:57746, 10.200.0.2:57746, 127.0.0.1:57746} +2026-10-11T17:26:40.599569Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(109821214351968) evt=Ok(AddressAdded(10.200.0.2:57746)) +2026-10-11T17:26:40.599628Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37238, tv_nsec: 38625208 }, local_candidates: {10.200.0.1:40746, 10.200.0.2:40746, 127.0.0.1:40746}, remote_candidates: {10.200.0.1:57746, 10.200.0.2:57746, 127.0.0.1:57746} } local_candidates={10.200.0.1:40746, 10.200.0.2:40746, 127.0.0.1:40746} remote_candidates={10.200.0.1:57746, 10.200.0.2:57746, 127.0.0.1:57746} +2026-10-11T17:26:40.599679Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999844857s +2026-10-11T17:26:40.599725Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(109821214351968) evt=Ok(AddressAdded(10.200.0.1:57746)) +2026-10-11T17:26:40.599757Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37238, tv_nsec: 38625208 }, local_candidates: {10.200.0.1:40746, 10.200.0.2:40746, 127.0.0.1:40746}, remote_candidates: {10.200.0.1:57746, 10.200.0.2:57746, 127.0.0.1:57746} } local_candidates={10.200.0.1:40746, 10.200.0.2:40746, 127.0.0.1:40746} remote_candidates={10.200.0.1:57746, 10.200.0.2:57746, 127.0.0.1:57746} +2026-10-11T17:26:40.599788Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999731592s +2026-10-11T17:26:40.609018Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:26:40.609778Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=146.530661 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:26:40.610162Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=146.916611 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:57746)/Active"] +2026-10-11T17:26:40.845827Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:57746)/Active"] +2026-10-11T17:26:40.846287Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:26:40.846345Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-3/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-3/ready.txt new file mode 100644 index 0000000000..b3cdbffc01 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-3/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=57746 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-3/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-3/server.log new file mode 100644 index 0000000000..f26f5a8742 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-3/server.log @@ -0,0 +1,14 @@ +2026-10-11T17:26:40.425325Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=57746 direct=["10.200.0.1:57746", "10.200.0.2:57746", "127.0.0.1:57746"] +2026-10-11T17:26:40.474568Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:40746) alpns=["n30/allowlist/0"] +2026-10-11T17:26:40.477209Z DEBUG noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:26:40.477273Z DEBUG noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:26:40.588490Z DEBUG noq_proto::connection::paths: remote changed path status status=Available seq=2 +2026-10-11T17:26:40.591699Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:26:40.592118Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(130004029543200) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:57746, 10.200.0.2:57746, 127.0.0.1:57746} +2026-10-11T17:26:40.594696Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(130004029543200) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:26:40.595232Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:26:40.595518Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:40746)/Active"] +2026-10-11T17:26:40.596417Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:40746)/Active"] +2026-10-11T17:26:40.596590Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:40746)/Active"] +2026-10-11T17:26:40.596694Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:26:40.596874Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-4/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-4/client.log new file mode 100644 index 0000000000..8bc308a48f --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-4/client.log @@ -0,0 +1,29 @@ +2026-10-11T17:26:41.695397Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:45954] +2026-10-11T17:26:41.697354Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:26:41.698450Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:26:41.699113Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:26:41.699171Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:26:41.699213Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:26:41.701269Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:45954)] +2026-10-11T17:26:41.760327Z DEBUG noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:26:41.760401Z DEBUG noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:26:41.772705Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(94205328839648) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:47297, 10.200.0.2:47297, 127.0.0.1:47297} +2026-10-11T17:26:41.772999Z DEBUG RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(94205328839648) send_tasks=FuturesUnorderedBounded { len: 0, .. }}:do_holepunching: iroh::_events::qnt::init: remote=8a88e3dd74 local_candidates={10.200.0.1:47297, 10.200.0.2:47297, 127.0.0.1:47297} remote_candidates={} +2026-10-11T17:26:41.775091Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=78.569056 remote_info=["Ip(127.0.0.1:45954)/Active"] +2026-10-11T17:26:41.811167Z DEBUG noq_proto::connection::paths: remote changed path status status=Available seq=2 +2026-10-11T17:26:41.811506Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94205328839648) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:26:41.811620Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(94205328839648) evt=Ok(AddressAdded(127.0.0.1:45954)) +2026-10-11T17:26:41.811730Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37239, tv_nsec: 212163298 }, local_candidates: {10.200.0.1:47297, 10.200.0.2:47297, 127.0.0.1:47297}, remote_candidates: {} } local_candidates={10.200.0.1:47297, 10.200.0.2:47297, 127.0.0.1:47297} remote_candidates={10.200.0.1:45954, 10.200.0.2:45954, 127.0.0.1:45954} +2026-10-11T17:26:41.811831Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::_events::qnt::init: remote=8a88e3dd74 local_candidates={10.200.0.1:47297, 10.200.0.2:47297, 127.0.0.1:47297} remote_candidates={10.200.0.1:45954, 10.200.0.2:45954, 127.0.0.1:45954} +2026-10-11T17:26:41.811937Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(94205328839648) evt=Ok(AddressAdded(10.200.0.2:45954)) +2026-10-11T17:26:41.811985Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37239, tv_nsec: 250979606 }, local_candidates: {10.200.0.1:47297, 10.200.0.2:47297, 127.0.0.1:47297}, remote_candidates: {10.200.0.1:45954, 10.200.0.2:45954, 127.0.0.1:45954} } local_candidates={10.200.0.1:47297, 10.200.0.2:47297, 127.0.0.1:47297} remote_candidates={10.200.0.1:45954, 10.200.0.2:45954, 127.0.0.1:45954} +2026-10-11T17:26:41.812040Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999839316s +2026-10-11T17:26:41.812086Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(94205328839648) evt=Ok(AddressAdded(10.200.0.1:45954)) +2026-10-11T17:26:41.812120Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37239, tv_nsec: 250979606 }, local_candidates: {10.200.0.1:47297, 10.200.0.2:47297, 127.0.0.1:47297}, remote_candidates: {10.200.0.1:45954, 10.200.0.2:45954, 127.0.0.1:45954} } local_candidates={10.200.0.1:47297, 10.200.0.2:47297, 127.0.0.1:47297} remote_candidates={10.200.0.1:45954, 10.200.0.2:45954, 127.0.0.1:45954} +2026-10-11T17:26:41.812151Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999723277s +2026-10-11T17:26:41.824118Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=127.600825 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:26:41.823825Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:26:41.824439Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=127.921903 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:45954)/Active"] +2026-10-11T17:26:42.025251Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:45954)/Active"] +2026-10-11T17:26:42.025966Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:26:42.026017Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-4/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-4/ready.txt new file mode 100644 index 0000000000..b0c4c4d088 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-4/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=45954 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-4/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-4/server.log new file mode 100644 index 0000000000..afecb5e9ee --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-4/server.log @@ -0,0 +1,14 @@ +2026-10-11T17:26:41.647041Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=45954 direct=["10.200.0.1:45954", "10.200.0.2:45954", "127.0.0.1:45954"] +2026-10-11T17:26:41.704255Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:47297) alpns=["n30/allowlist/0"] +2026-10-11T17:26:41.716532Z DEBUG noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:26:41.716592Z DEBUG noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:26:41.797218Z DEBUG noq_proto::connection::paths: remote changed path status status=Available seq=2 +2026-10-11T17:26:41.807199Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:26:41.807555Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(124495197193216) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:45954, 10.200.0.2:45954, 127.0.0.1:45954} +2026-10-11T17:26:41.807678Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(124495197193216) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:26:41.809538Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:26:41.809867Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:47297)/Active"] +2026-10-11T17:26:41.814620Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:47297)/Active"] +2026-10-11T17:26:41.814793Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:47297)/Active"] +2026-10-11T17:26:41.814916Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:26:41.815055Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-5/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-5/client.log new file mode 100644 index 0000000000..0cb129864a --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-5/client.log @@ -0,0 +1,33 @@ +2026-10-11T17:26:42.866168Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:56032] +2026-10-11T17:26:42.869785Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:26:42.870006Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:26:42.870160Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:26:42.870186Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:26:42.875884Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:26:42.876133Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:56032)] +2026-10-11T17:26:42.919750Z DEBUG noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:26:42.919809Z DEBUG noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:26:42.926892Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(104184559944672) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:57998, 10.200.0.2:57998, 127.0.0.1:57998} +2026-10-11T17:26:42.927144Z DEBUG RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(104184559944672) send_tasks=FuturesUnorderedBounded { len: 0, .. }}:do_holepunching: iroh::_events::qnt::init: remote=8a88e3dd74 local_candidates={10.200.0.1:57998, 10.200.0.2:57998, 127.0.0.1:57998} remote_candidates={} +2026-10-11T17:26:42.934969Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=68.66563500000001 remote_info=["Ip(127.0.0.1:56032)/Active"] +2026-10-11T17:26:42.982612Z DEBUG noq_proto::connection: path added validated=false path_id=1 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:56032) +2026-10-11T17:26:42.982711Z DEBUG noq_proto::connection: Opened NAT traversal path path_id=1 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:56032) new_path=true +2026-10-11T17:26:42.982986Z DEBUG noq_proto::connection: path added validated=false path_id=2 network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:56032) +2026-10-11T17:26:42.983017Z DEBUG noq_proto::connection: Opened NAT traversal path path_id=2 network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:56032) new_path=true +2026-10-11T17:26:42.983805Z DEBUG noq_proto::connection::paths: remote changed path status status=Available seq=2 +2026-10-11T17:26:42.984015Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(104184559944672) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:26:42.984100Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(104184559944672) evt=Ok(AddressAdded(127.0.0.1:56032)) +2026-10-11T17:26:42.984171Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37240, tv_nsec: 366301560 }, local_candidates: {10.200.0.1:57998, 10.200.0.2:57998, 127.0.0.1:57998}, remote_candidates: {} } local_candidates={10.200.0.1:57998, 10.200.0.2:57998, 127.0.0.1:57998} remote_candidates={10.200.0.1:56032, 10.200.0.2:56032, 127.0.0.1:56032} +2026-10-11T17:26:42.984259Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::_events::qnt::init: remote=8a88e3dd74 local_candidates={10.200.0.1:57998, 10.200.0.2:57998, 127.0.0.1:57998} remote_candidates={10.200.0.1:56032, 10.200.0.2:56032, 127.0.0.1:56032} +2026-10-11T17:26:42.984353Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(104184559944672) evt=Ok(AddressAdded(10.200.0.2:56032)) +2026-10-11T17:26:42.984395Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37240, tv_nsec: 423413252 }, local_candidates: {10.200.0.1:57998, 10.200.0.2:57998, 127.0.0.1:57998}, remote_candidates: {10.200.0.1:56032, 10.200.0.2:56032, 127.0.0.1:56032} } local_candidates={10.200.0.1:57998, 10.200.0.2:57998, 127.0.0.1:57998} remote_candidates={10.200.0.1:56032, 10.200.0.2:56032, 127.0.0.1:56032} +2026-10-11T17:26:42.984433Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999879092s +2026-10-11T17:26:42.984472Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(104184559944672) evt=Ok(AddressAdded(10.200.0.1:56032)) +2026-10-11T17:26:42.984504Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37240, tv_nsec: 423413252 }, local_candidates: {10.200.0.1:57998, 10.200.0.2:57998, 127.0.0.1:57998}, remote_candidates: {10.200.0.1:56032, 10.200.0.2:56032, 127.0.0.1:56032} } local_candidates={10.200.0.1:57998, 10.200.0.2:57998, 127.0.0.1:57998} remote_candidates={10.200.0.1:56032, 10.200.0.2:56032, 127.0.0.1:56032} +2026-10-11T17:26:42.984533Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999774444s +2026-10-11T17:26:42.985753Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=119.45262299999999 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:26:42.987154Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:26:42.987940Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=121.64193399999999 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:56032)/Active"] +2026-10-11T17:26:43.194876Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:56032)/Active"] +2026-10-11T17:26:43.195362Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:26:43.195448Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-5/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-5/ready.txt new file mode 100644 index 0000000000..e76af6f186 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-5/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=56032 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-5/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-5/server.log new file mode 100644 index 0000000000..664eb137a6 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-app/run-5/server.log @@ -0,0 +1,18 @@ +2026-10-11T17:26:42.752170Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=56032 direct=["10.200.0.1:56032", "10.200.0.2:56032", "127.0.0.1:56032"] +2026-10-11T17:26:42.877323Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:57998) alpns=["n30/allowlist/0"] +2026-10-11T17:26:42.884471Z DEBUG noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:26:42.884538Z DEBUG noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:26:42.964994Z DEBUG noq_proto::connection::paths: remote changed path status status=Available seq=2 +2026-10-11T17:26:42.965306Z DEBUG noq_proto::connection::packet_crypto: dropping unexpected packet encryption_level=Some(Handshake) bytes=227 +2026-10-11T17:26:42.965341Z DEBUG noq_proto::connection::packet_crypto: dropping unexpected packet encryption_level=Some(Handshake) bytes=227 +2026-10-11T17:26:42.972085Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:26:42.982671Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(128919080617392) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:56032, 10.200.0.2:56032, 127.0.0.1:56032} +2026-10-11T17:26:42.982842Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(128919080617392) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:26:42.983096Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:26:42.983123Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:26:42.983189Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:26:42.983409Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:57998)/Active"] +2026-10-11T17:26:42.983827Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:57998)/Active"] +2026-10-11T17:26:42.983967Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:57998)/Active"] +2026-10-11T17:26:42.984061Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:26:42.984161Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-1/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-1/client.log new file mode 100644 index 0000000000..73dc15c4a0 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-1/client.log @@ -0,0 +1,17 @@ +2026-10-11T17:26:44.091714Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:46658] +2026-10-11T17:26:44.092459Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:26:44.092617Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:26:44.092719Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:26:44.092738Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:26:44.092762Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:26:44.094780Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:46658)] +2026-10-11T17:26:44.137942Z DEBUG noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:26:44.138007Z DEBUG noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:26:44.144835Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(110084041458272) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:42504, 10.200.0.2:42504, 127.0.0.1:42504} +2026-10-11T17:26:44.145130Z DEBUG RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(110084041458272) send_tasks=FuturesUnorderedBounded { len: 0, .. }}:do_holepunching: iroh::_events::qnt::init: remote=8a88e3dd74 local_candidates={10.200.0.1:42504, 10.200.0.2:42504, 127.0.0.1:42504} remote_candidates={} +2026-10-11T17:26:44.155108Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=63.282642 remote_info=["Ip(127.0.0.1:46658)/Active"] +2026-10-11T17:26:44.172419Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:26:44.174354Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=82.53189900000001 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:46658)/Active"] +2026-10-11T17:26:44.379802Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:46658)/Active"] +2026-10-11T17:26:44.380055Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:26:44.380099Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-1/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-1/ready.txt new file mode 100644 index 0000000000..d07c3c8174 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-1/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=46658 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-1/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-1/server.log new file mode 100644 index 0000000000..345ed80a25 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-1/server.log @@ -0,0 +1,11 @@ +2026-10-11T17:26:44.005497Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=46658 direct=["10.200.0.1:46658", "10.200.0.2:46658", "127.0.0.1:46658"] +2026-10-11T17:26:44.096142Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:42504) alpns=["n30/allowlist/0"] +2026-10-11T17:26:44.098690Z DEBUG noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:26:44.098747Z DEBUG noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:26:44.166649Z DEBUG noq_proto::connection::paths: remote changed path status status=Available seq=2 +2026-10-11T17:26:44.168939Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:26:44.169266Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(129829143921792) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:46658, 10.200.0.2:46658, 127.0.0.1:46658} +2026-10-11T17:26:44.169402Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(129829143921792) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:26:44.169644Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:26:44.169969Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:26:44.170060Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:42504)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-2/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-2/client.log new file mode 100644 index 0000000000..4387caed5b --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-2/client.log @@ -0,0 +1,17 @@ +2026-10-11T17:26:45.172381Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:48149] +2026-10-11T17:26:45.173340Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:26:45.173492Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:26:45.173600Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:26:45.173616Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:26:45.173638Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:26:45.175590Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:48149)] +2026-10-11T17:26:45.213844Z DEBUG noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:26:45.216328Z DEBUG noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:26:45.227354Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(95571349276000) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:57988, 10.200.0.2:57988, 127.0.0.1:57988} +2026-10-11T17:26:45.229265Z DEBUG RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(95571349276000) send_tasks=FuturesUnorderedBounded { len: 0, .. }}:do_holepunching: iroh::_events::qnt::init: remote=8a88e3dd74 local_candidates={10.200.0.1:57988, 10.200.0.2:57988, 127.0.0.1:57988} remote_candidates={} +2026-10-11T17:26:45.230925Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=58.408902999999995 remote_info=["Ip(127.0.0.1:48149)/Active"] +2026-10-11T17:26:45.267944Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:26:45.268580Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=96.07043499999999 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:48149)/Active"] +2026-10-11T17:26:45.471394Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:48149)/Active"] +2026-10-11T17:26:45.471645Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:26:45.471690Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-2/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-2/ready.txt new file mode 100644 index 0000000000..a4a58c13c3 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-2/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=48149 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-2/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-2/server.log new file mode 100644 index 0000000000..87a1c00f3c --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-2/server.log @@ -0,0 +1,13 @@ +2026-10-11T17:26:45.108051Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=48149 direct=["10.200.0.1:48149", "10.200.0.2:48149", "127.0.0.1:48149"] +2026-10-11T17:26:45.176991Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:57988) alpns=["n30/allowlist/0"] +2026-10-11T17:26:45.181706Z DEBUG noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:26:45.181773Z DEBUG noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:26:45.250078Z DEBUG noq_proto::connection::paths: remote changed path status status=Available seq=2 +2026-10-11T17:26:45.250965Z DEBUG noq_proto::connection::packet_crypto: dropping unexpected packet encryption_level=Some(Handshake) bytes=227 +2026-10-11T17:26:45.251005Z DEBUG noq_proto::connection::packet_crypto: dropping unexpected packet encryption_level=Some(Handshake) bytes=227 +2026-10-11T17:26:45.261153Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:26:45.261446Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(132154600276992) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:48149, 10.200.0.2:48149, 127.0.0.1:48149} +2026-10-11T17:26:45.261553Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(132154600276992) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:26:45.263319Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:26:45.263679Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:26:45.263758Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:57988)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-3/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-3/client.log new file mode 100644 index 0000000000..face169516 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-3/client.log @@ -0,0 +1,21 @@ +2026-10-11T17:26:46.251891Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:38064] +2026-10-11T17:26:46.253062Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:26:46.254325Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:26:46.254473Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:26:46.254493Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:26:46.254528Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:26:46.261958Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:38064)] +2026-10-11T17:26:46.344042Z DEBUG noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:26:46.344111Z DEBUG noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:26:46.351086Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(106995594978272) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:33919, 10.200.0.2:33919, 127.0.0.1:33919} +2026-10-11T17:26:46.351303Z DEBUG RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(106995594978272) send_tasks=FuturesUnorderedBounded { len: 0, .. }}:do_holepunching: iroh::_events::qnt::init: remote=8a88e3dd74 local_candidates={10.200.0.1:33919, 10.200.0.2:33919, 127.0.0.1:33919} remote_candidates={} +2026-10-11T17:26:46.359403Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=106.955461 remote_info=["Ip(127.0.0.1:38064)/Active"] +2026-10-11T17:26:46.422444Z DEBUG noq_proto::connection: path added validated=false path_id=1 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:38064) +2026-10-11T17:26:46.422560Z DEBUG noq_proto::connection: Opened NAT traversal path path_id=1 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:38064) new_path=true +2026-10-11T17:26:46.422814Z DEBUG noq_proto::connection: path added validated=false path_id=2 network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:38064) +2026-10-11T17:26:46.422840Z DEBUG noq_proto::connection: Opened NAT traversal path path_id=2 network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:38064) new_path=true +2026-10-11T17:26:46.430888Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:26:46.432855Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=180.407465 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:38064)/Active"] +2026-10-11T17:26:46.641395Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:38064)/Active"] +2026-10-11T17:26:46.641692Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:26:46.641744Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-3/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-3/ready.txt new file mode 100644 index 0000000000..bb364c2a30 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-3/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=38064 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-3/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-3/server.log new file mode 100644 index 0000000000..d0821c41ed --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-3/server.log @@ -0,0 +1,11 @@ +2026-10-11T17:26:46.156408Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=38064 direct=["10.200.0.1:38064", "10.200.0.2:38064", "127.0.0.1:38064"] +2026-10-11T17:26:46.263156Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:33919) alpns=["n30/allowlist/0"] +2026-10-11T17:26:46.265700Z DEBUG noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:26:46.265757Z DEBUG noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:26:46.400455Z DEBUG noq_proto::connection::paths: remote changed path status status=Available seq=2 +2026-10-11T17:26:46.416511Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:26:46.416806Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(126615367457216) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:38064, 10.200.0.2:38064, 127.0.0.1:38064} +2026-10-11T17:26:46.416947Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(126615367457216) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:26:46.417195Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:26:46.417470Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:26:46.417541Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:33919)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-4/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-4/client.log new file mode 100644 index 0000000000..be55408154 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-4/client.log @@ -0,0 +1,17 @@ +2026-10-11T17:26:47.396600Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:55757] +2026-10-11T17:26:47.397603Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:26:47.397734Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:26:47.397834Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:26:47.397849Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:26:47.397871Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:26:47.403655Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:55757)] +2026-10-11T17:26:47.443044Z DEBUG noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:26:47.443116Z DEBUG noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:26:47.453232Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(105839175337440) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:44838, 10.200.0.2:44838, 127.0.0.1:44838} +2026-10-11T17:26:47.453452Z DEBUG RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(105839175337440) send_tasks=FuturesUnorderedBounded { len: 0, .. }}:do_holepunching: iroh::_events::qnt::init: remote=8a88e3dd74 local_candidates={10.200.0.1:44838, 10.200.0.2:44838, 127.0.0.1:44838} remote_candidates={} +2026-10-11T17:26:47.455038Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=58.306909 remote_info=["Ip(127.0.0.1:55757)/Active"] +2026-10-11T17:26:47.496875Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:26:47.499359Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=102.628918 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:55757)/Active"] +2026-10-11T17:26:47.700256Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:55757)/Active"] +2026-10-11T17:26:47.702695Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:26:47.702790Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-4/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-4/ready.txt new file mode 100644 index 0000000000..32432e3ad7 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-4/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=55757 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-4/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-4/server.log new file mode 100644 index 0000000000..95ab83a1c2 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-4/server.log @@ -0,0 +1,15 @@ +2026-10-11T17:26:47.354272Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=55757 direct=["10.200.0.1:55757", "10.200.0.2:55757", "127.0.0.1:55757"] +2026-10-11T17:26:47.406951Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:44838) alpns=["n30/allowlist/0"] +2026-10-11T17:26:47.412091Z DEBUG noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:26:47.412157Z DEBUG noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:26:47.485003Z DEBUG noq_proto::connection::paths: remote changed path status status=Available seq=2 +2026-10-11T17:26:47.485070Z DEBUG noq_proto::connection::packet_crypto: dropping unexpected packet encryption_level=Some(Handshake) bytes=227 +2026-10-11T17:26:47.485086Z DEBUG noq_proto::connection::packet_crypto: dropping unexpected packet encryption_level=Some(Handshake) bytes=227 +2026-10-11T17:26:47.490360Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:26:47.494743Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(136090199527488) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:55757, 10.200.0.2:55757, 127.0.0.1:55757} +2026-10-11T17:26:47.495016Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(136090199527488) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:26:47.495314Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:26:47.495353Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:26:47.495428Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:26:47.495723Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:26:47.495799Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:44838)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-5/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-5/client.log new file mode 100644 index 0000000000..56d7da54ee --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-5/client.log @@ -0,0 +1,17 @@ +2026-10-11T17:26:48.463174Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:48524] +2026-10-11T17:26:48.463979Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:26:48.464131Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:26:48.465616Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:26:48.465690Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:26:48.465727Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:26:48.466531Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:48524)] +2026-10-11T17:26:48.526450Z DEBUG noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:26:48.526518Z DEBUG noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:26:48.537776Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(109870003381856) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:36496, 10.200.0.2:36496, 127.0.0.1:36496} +2026-10-11T17:26:48.538063Z DEBUG RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(109870003381856) send_tasks=FuturesUnorderedBounded { len: 0, .. }}:do_holepunching: iroh::_events::qnt::init: remote=8a88e3dd74 local_candidates={10.200.0.1:36496, 10.200.0.2:36496, 127.0.0.1:36496} remote_candidates={} +2026-10-11T17:26:48.538424Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=75.131439 remote_info=["Ip(127.0.0.1:48524)/Active"] +2026-10-11T17:26:48.603209Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=139.908795 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:48524)/Active"] +2026-10-11T17:26:48.603462Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:26:48.807962Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:48524)/Active"] +2026-10-11T17:26:48.812204Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:26:48.812313Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-5/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-5/ready.txt new file mode 100644 index 0000000000..b9cb0fe100 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-5/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=48524 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-5/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-5/server.log new file mode 100644 index 0000000000..662b1aafff --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-debug/multi-refuse/run-5/server.log @@ -0,0 +1,15 @@ +2026-10-11T17:26:48.400363Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=48524 direct=["10.200.0.1:48524", "10.200.0.2:48524", "127.0.0.1:48524"] +2026-10-11T17:26:48.467701Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:36496) alpns=["n30/allowlist/0"] +2026-10-11T17:26:48.470333Z DEBUG noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:26:48.470403Z DEBUG noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:26:48.588396Z DEBUG noq_proto::connection::paths: remote changed path status status=Available seq=2 +2026-10-11T17:26:48.588485Z DEBUG noq_proto::connection::packet_crypto: dropping unexpected packet encryption_level=Some(Handshake) bytes=227 +2026-10-11T17:26:48.588503Z DEBUG noq_proto::connection::packet_crypto: dropping unexpected packet encryption_level=Some(Handshake) bytes=227 +2026-10-11T17:26:48.593542Z DEBUG noq_proto::connection::packet_crypto: dropping unexpected packet encryption_level=Some(Handshake) bytes=227 +2026-10-11T17:26:48.593595Z DEBUG noq_proto::connection::packet_crypto: dropping unexpected packet encryption_level=Some(Handshake) bytes=227 +2026-10-11T17:26:48.594926Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:26:48.595269Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(139190226394752) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:48524, 10.200.0.2:48524, 127.0.0.1:48524} +2026-10-11T17:26:48.595393Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(139190226394752) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:26:48.595609Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:26:48.609007Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:26:48.609368Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:36496)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/SUMMARY.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/SUMMARY.txt new file mode 100644 index 0000000000..bce1ffb639 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/SUMMARY.txt @@ -0,0 +1,35 @@ +== multi-refuse (10 runs) == +server hook ran: 10/10 (100%, 95% Wilson 72-100%); allowed flag at hook: 0 allowed of 10 +server refused in hook: 10/10 (100%, 95% Wilson 72-100%); handed to application: 0/10 (0%, 95% Wilson 0-28%); refused after stream: 0/10 (0%, 95% Wilson 0-28%); refused before handshake: 0/10 (0%, 95% Wilson 0-28%) +server candidates queued before hook: 10/10 (100%, 95% Wilson 72-100%); queue-to-hook gap median 0.7 ms (min 0.5, max 7.4, n=10) +server first Initial packet to candidates queued (server-side handshake) median 127.6 ms (min 92.1, max 178.8, n=10) +server hook-to-refusal gap median 0.6 ms (min 0.5, max 11.3, n=10) +server REACH_OUT received (trace runs only): 10/10 (100%, 95% Wilson 72-100%); received before hook 10/10 (100%, 95% Wilson 72-100%); before refusal 10/10 (100%, 95% Wilson 72-100%) +client connect() returned Ok: 10/10 (100%, 95% Wilson 72-100%); connect() error: 0/10 (0%, 95% Wilson 0-28%) +client connect() return time median 91.1 ms (min 71.3, max 124.8, n=10) +client connect() returned before the server's hook ran: 10/10 (100%, 95% Wilson 72-100%) +client peer close observed time from start median 156.5 ms (min 121.2, max 208.5, n=10); connect-return to close median 60.3 ms (min 42.7, max 99.5, n=10) +client close message(s): {'closed by peer: not on allowlist (code 4097)': 10} +client saw >=1 server AddressAdded before/at close: 1/10 (10%, 95% Wilson 2-40%); of those, AddressAdded before the close event: 1 +client saw a server address NOT in the ticket (new information): 1/10 (10%, 95% Wilson 2-40%) +client holepunch attempt failed ('connection is already closed' etc.) in: 0/10 (0%, 95% Wilson 0-28%) +client example new addresses (run-02): ['10.200.0.1:43082', '10.200.0.2:43082'] + +== multi-app (5 runs) == +server hook ran: 5/5 (100%, 95% Wilson 57-100%); allowed flag at hook: 0 allowed of 5 +server refused in hook: 0/5 (0%, 95% Wilson 0-43%); handed to application: 5/5 (100%, 95% Wilson 57-100%); refused after stream: 5/5 (100%, 95% Wilson 57-100%); refused before handshake: 0/5 (0%, 95% Wilson 0-43%) +server candidates queued before hook: 5/5 (100%, 95% Wilson 57-100%); queue-to-hook gap median 0.8 ms (min 0.6, max 7.7, n=5) +server first Initial packet to candidates queued (server-side handshake) median 124.9 ms (min 78.5, max 166.3, n=5) +server hook-to-refusal gap n/a +server REACH_OUT received (trace runs only): 5/5 (100%, 95% Wilson 57-100%); received before hook 5/5 (100%, 95% Wilson 57-100%); before refusal 5/5 (100%, 95% Wilson 57-100%) +client connect() returned Ok: 5/5 (100%, 95% Wilson 57-100%); connect() error: 0/5 (0%, 95% Wilson 0-43%) +client connect() return time median 97.6 ms (min 57.3, max 114.8, n=5) +client connect() returned before the server's hook ran: 5/5 (100%, 95% Wilson 57-100%) +client peer close observed time from start median 159.9 ms (min 96.9, max 211.9, n=5); connect-return to close median 63.2 ms (min 31.8, max 97.1, n=5) +client close message(s): {'closed by peer: not on allowlist (code 4098)': 5} +client stream error(s): {'read error: connection lost': 5} +client saw >=1 server AddressAdded before/at close: 5/5 (100%, 95% Wilson 57-100%); of those, AddressAdded before the close event: 4 +client saw a server address NOT in the ticket (new information): 5/5 (100%, 95% Wilson 57-100%) +client holepunch attempt failed ('connection is already closed' etc.) in: 3/5 (60%, 95% Wilson 23-88%) +client example new addresses (run-1): ['10.200.0.1:60063', '10.200.0.2:60063'] + diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-1/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-1/client.log new file mode 100644 index 0000000000..9b72b8815f --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-1/client.log @@ -0,0 +1,358 @@ +2026-10-11T17:31:27.007085Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:60063] +2026-10-11T17:31:27.011010Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:31:27.011220Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:31:27.011385Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:31:27.011413Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:31:27.011442Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:31:27.014275Z TRACE noq_proto::endpoint: initial_dcid=ed5ac4012c9ab772d703e9da7396b573cdba828e +2026-10-11T17:31:27.015365Z TRACE noq_proto::token_memory_cache: taking token server_name=ha4e7nbk17opbvaircmjpeiteb56e2dv3ma146vjei403d0fdte0.iroh.invalid found=false +2026-10-11T17:31:27.016625Z TRACE noq_proto::connection: wrote 290 Initial CRYPTO bytes +2026-10-11T17:31:27.023389Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:27.023602Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 290 +2026-10-11T17:31:27.023682Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 851 +2026-10-11T17:31:27.023743Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:27.023824Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: , remote: [fd15:70a:510b:0:ad1:f8b2:14fd:a886]:12345) +2026-10-11T17:31:27.023970Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:27.024183Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:60063)] +2026-10-11T17:31:27.035874Z TRACE pkt{path_id=0}: noq_proto::connection: got Initial packet (146 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60063) using id 62e22797f9587716 +2026-10-11T17:31:27.035997Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: server migrated to new remote network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60063) prev=(local: , remote: [fd15:70a:510b:0:ad1:f8b2:14fd:a886]:12345) +2026-10-11T17:31:27.036092Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: switching remote CID to 6668bd1dee3c9cf0 +2026-10-11T17:31:27.036123Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection::state: connection state: handshake +2026-10-11T17:31:27.036319Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 90 CRYPTO bytes +2026-10-11T17:31:27.037157Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: Handshake keys ready +2026-10-11T17:31:27.037231Z TRACE pkt{path_id=0}: noq_proto::connection: got Handshake packet (1054 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60063) using id 62e22797f9587716 +2026-10-11T17:31:27.037322Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 384 CRYPTO bytes +2026-10-11T17:31:27.089635Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: Data keys ready +2026-10-11T17:31:27.089841Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: wrote 181 Handshake CRYPTO bytes +2026-10-11T17:31:27.093099Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: negotiated max idle timeout Some(30s) +2026-10-11T17:31:27.093260Z DEBUG pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:31:27.093283Z DEBUG pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:31:27.093325Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection::state: connection state: established +2026-10-11T17:31:27.093342Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: established +2026-10-11T17:31:27.093542Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (138 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60063) using id 62e22797f9587716 +2026-10-11T17:31:27.093684Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 1 id: 024dd01501a85698 +2026-10-11T17:31:27.093733Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 2 id: 5af4bcd5b855bed0 +2026-10-11T17:31:27.093757Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 3 id: 0a6da0a9b0a93ba3 +2026-10-11T17:31:27.093780Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 4 id: e9aec25a13f5b25f +2026-10-11T17:31:27.093876Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:27.093973Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 7286µs +2026-10-11T17:31:27.094044Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection: will coalesce with next packet +2026-10-11T17:31:27.094089Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=52 +2026-10-11T17:31:27.094120Z TRACE noq_proto::connection: discarding Initial keys +2026-10-11T17:31:27.094174Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 7286µs +2026-10-11T17:31:27.094195Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 181 +2026-10-11T17:31:27.094229Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 912 +2026-10-11T17:31:27.094254Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1148 +2026-10-11T17:31:27.094290Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:27.094304Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60063) +2026-10-11T17:31:27.094538Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:27.094556Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:27.094602Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1326 +2026-10-11T17:31:27.094626Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:27.094656Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:27.094670Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1298 +2026-10-11T17:31:27.094699Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1326 +2026-10-11T17:31:27.094736Z TRACE noq_proto::connection: sending 1326 bytes in 1 datagrams segment_size=1326 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60063) +2026-10-11T17:31:27.094803Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:27.094820Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:27.095678Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:27.095738Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:27.095843Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 1 id: 6ba58d2aa11cd290 +2026-10-11T17:31:27.095889Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 2 id: 184cac060b5904c4 +2026-10-11T17:31:27.106677Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 3 id: 50106798f128aa4c +2026-10-11T17:31:27.106734Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 4 id: 2276f34723f8dba3 +2026-10-11T17:31:27.106747Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: 5b5d0e5034a800f3 +2026-10-11T17:31:27.106769Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: 2134a46629cee442 +2026-10-11T17:31:27.106783Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 6323f9f6df88dc77 +2026-10-11T17:31:27.106796Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 2d2a1315fc37c90e +2026-10-11T17:31:27.106810Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: dc4d0d1bc838cb88 +2026-10-11T17:31:27.106824Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: ca08cfe85100d681 +2026-10-11T17:31:27.106837Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: df8303087cfeb385 +2026-10-11T17:31:27.106851Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 2b05d147aa3667a7 +2026-10-11T17:31:27.106865Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: e5ea75f065e45b83 +2026-10-11T17:31:27.106879Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 9cdb82c1791fdaaf +2026-10-11T17:31:27.106905Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: df76fcd0f21794fd +2026-10-11T17:31:27.106922Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 01b0faf878f22155 +2026-10-11T17:31:27.106935Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 99fc1bbbfe64ed2c +2026-10-11T17:31:27.106949Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 76b8b28cb39bf5f8 +2026-10-11T17:31:27.106962Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: f0c30ca20e08117d +2026-10-11T17:31:27.106976Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: 666d458e6bcf7f8b +2026-10-11T17:31:27.106988Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 0e915be9d67bad38 +2026-10-11T17:31:27.107001Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: fae431fb09818c82 +2026-10-11T17:31:27.107014Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: 20c6ab1093a3b776 +2026-10-11T17:31:27.107041Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: fb88e5f0023b12e6 +2026-10-11T17:31:27.107054Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: d9685067284ba76f +2026-10-11T17:31:27.107067Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: eff298cbd1ee10a7 +2026-10-11T17:31:27.107079Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 1b05c7391d2c51be +2026-10-11T17:31:27.107094Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: eb83db3401cfcf80 +2026-10-11T17:31:27.107107Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 3f20549785cb5f2a +2026-10-11T17:31:27.107120Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 6507bc1f1750b07b +2026-10-11T17:31:27.107133Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: 5a9d61b20d17f124 +2026-10-11T17:31:27.107146Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: 6711010cf4c74f8f +2026-10-11T17:31:27.107160Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: a3c83fa028c36bbe +2026-10-11T17:31:27.107181Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: f757a53e29cb4894 +2026-10-11T17:31:27.107195Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 23cfa49dc58f0b88 +2026-10-11T17:31:27.107209Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: d9bf4334ceb248c4 +2026-10-11T17:31:27.107222Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: b758ec6e7201ebb2 +2026-10-11T17:31:27.107235Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 672d6c5e9867e4c2 +2026-10-11T17:31:27.107366Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1166 +2026-10-11T17:31:27.107584Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1166 prev_segment_size=1200 +2026-10-11T17:31:27.107668Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=952.704µs +2026-10-11T17:31:27.107697Z TRACE noq_proto::connection: sending 1166 bytes in 1 datagrams segment_size=1166 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60063) +2026-10-11T17:31:27.108479Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:27.112046Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=952.704µs +2026-10-11T17:31:27.112202Z TRACE timer_fired{scope="path" path_id=0 timer=Pacing}: noq_proto::connection: timeout +2026-10-11T17:31:27.112450Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:27.112475Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:27.112638Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 21f7e2b0f58e7d4a +2026-10-11T17:31:27.112758Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:27.112829Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=56 prev_segment_size=1200 +2026-10-11T17:31:27.112857Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=56 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60063) +2026-10-11T17:31:27.113023Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:27.113044Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:27.118587Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(100821108322400) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:33516, 10.200.0.2:33516, 127.0.0.1:33516} +2026-10-11T17:31:27.118916Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(100821108322400) send_tasks=FuturesUnorderedBounded { len: 0, .. }}:do_holepunching: noq_proto::n0_nat_traversal: initiating NAT traversal round round=1 reach_out=3 to_probe=0 +2026-10-11T17:31:27.119293Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:27.119339Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:27.119416Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 10.200.0.2:33516 +2026-10-11T17:31:27.119449Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 127.0.0.1:33516 +2026-10-11T17:31:27.119461Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 10.200.0.1:33516 +2026-10-11T17:31:27.119479Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:27.119557Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=63 +2026-10-11T17:31:27.119604Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=63 prev_segment_size=1200 +2026-10-11T17:31:27.119620Z TRACE noq_proto::connection: sending 63 bytes in 1 datagrams segment_size=63 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60063) +2026-10-11T17:31:27.119749Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:27.119762Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:27.122115Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=114.81997 remote_info=["Ip(127.0.0.1:60063)/Active"] +2026-10-11T17:31:27.122275Z TRACE noq_proto::connection::streams: wrote 6 bytes stream=client bidirectional stream 0 +2026-10-11T17:31:27.122451Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:27.122497Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:27.122616Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=STREAM id: client bidirectional stream 0 off: 0 len: 6 fin: true +2026-10-11T17:31:27.122711Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:27.122789Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=35 prev_segment_size=1200 +2026-10-11T17:31:27.122810Z TRACE noq_proto::connection: sending 35 bytes in 1 datagrams segment_size=35 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60063) +2026-10-11T17:31:27.122978Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:27.123000Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:27.132395Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:27.132551Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:27.132758Z TRACE timer_fired{scope="path" path_id=0 timer=LossDetection}: noq_proto::connection: timeout +2026-10-11T17:31:27.132859Z TRACE timer_fired{scope="path" path_id=0 timer=LossDetection}: noq_proto::connection: PTO fired in_flight=3794 count=0 space=Handshake path_id=0 +2026-10-11T17:31:27.133164Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:27.133258Z TRACE send{space=Handshake pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 181 +2026-10-11T17:31:27.133375Z TRACE send{space=Handshake pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=227 +2026-10-11T17:31:27.133419Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=227 prev_segment_size=1200 +2026-10-11T17:31:27.133441Z TRACE noq_proto::connection: new datagram started count=2 +2026-10-11T17:31:27.133465Z TRACE send{space=Handshake pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 181 +2026-10-11T17:31:27.133486Z TRACE send{space=Handshake pn=2 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=227 +2026-10-11T17:31:27.133515Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:27.133528Z TRACE noq_proto::connection: sending 454 bytes in 2 datagrams segment_size=227 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60063) +2026-10-11T17:31:27.133745Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:27.133758Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:27.158563Z TRACE pkt{path_id=0}: noq_proto::connection: discarding packet from unrecognized peer path_id=0 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:60063) known_path.network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60063) +2026-10-11T17:31:27.158709Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60063) using id 6ba58d2aa11cd290 +2026-10-11T17:31:27.158862Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_CHALLENGE(933993e625f850d2) +2026-10-11T17:31:27.158964Z TRACE pkt{path_id=0}: noq_proto::connection: discarding packet from unrecognized peer path_id=0 network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:60063) known_path.network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60063) +2026-10-11T17:31:27.159037Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:27.159063Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:27.159100Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:27.159129Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3] delay: 100µs +2026-10-11T17:31:27.159165Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(933993e625f850d2) +2026-10-11T17:31:27.159213Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1152 +2026-10-11T17:31:27.159247Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:27.159307Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60063) +2026-10-11T17:31:27.159431Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:27.159445Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:27.162783Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (223 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60063) using id 6ba58d2aa11cd290 +2026-10-11T17:31:27.163036Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame HANDSHAKE_DONE +2026-10-11T17:31:27.163085Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=HANDSHAKE_DONE}: noq_proto::connection: discarding Handshake keys +2026-10-11T17:31:27.163208Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=HANDSHAKE_DONE}: noq_proto::connection: handshake confirmed +2026-10-11T17:31:27.163270Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..5] delay: 3653µs +2026-10-11T17:31:27.163333Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1326 +2026-10-11T17:31:27.163448Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame CRYPTO offset=0 len=178 +2026-10-11T17:31:27.163474Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=CRYPTO}: noq_proto::connection: consumed 178 CRYPTO bytes +2026-10-11T17:31:27.163726Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_RETIRE_CONNECTION_ID path_id: 0 seq: 0 +2026-10-11T17:31:27.163849Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1326 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60063) using id 6ba58d2aa11cd290 +2026-10-11T17:31:27.163963Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame PING +2026-10-11T17:31:27.164026Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:27.166734Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:27.166921Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3,4..6] delay: 545µs +2026-10-11T17:31:27.167131Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=40 +2026-10-11T17:31:27.167183Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=40 prev_segment_size=1326 +2026-10-11T17:31:27.167208Z TRACE noq_proto::connection: sending 40 bytes in 1 datagrams segment_size=40 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60063) +2026-10-11T17:31:27.167387Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:27.167445Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1389 +2026-10-11T17:31:27.167472Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:27.167487Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:27.167498Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1361 +2026-10-11T17:31:27.167529Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1389 +2026-10-11T17:31:27.167575Z TRACE noq_proto::connection: sending 1389 bytes in 1 datagrams segment_size=1389 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60063) +2026-10-11T17:31:27.167645Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:27.167864Z TRACE noq_proto::endpoint: local CID retired 0: 62e22797f9587716 path_id=0 +2026-10-11T17:31:27.170703Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:60063) using id 6ba58d2aa11cd290 +2026-10-11T17:31:27.170829Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_CHALLENGE(c893c27db65192ae) +2026-10-11T17:31:27.170948Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(c893c27db65192ae) msg="(off-path)" +2026-10-11T17:31:27.170972Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(e0b97f901fcc7f72) +2026-10-11T17:31:27.170993Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1156 +2026-10-11T17:31:27.171036Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:27.171063Z TRACE noq_proto::connection: sending off-path PATH_RESPONSE dst=[::ffff:10.200.0.2]:60063 src=Some(10.200.0.2) len=1200 +2026-10-11T17:31:27.172386Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:27.178225Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 5 id: 1d18868e7d87f1bc +2026-10-11T17:31:27.178340Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:27.178474Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=56 prev_segment_size=1326 +2026-10-11T17:31:27.178511Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=56 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60063) +2026-10-11T17:31:27.178626Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:27.178878Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60063) using id 6ba58d2aa11cd290 +2026-10-11T17:31:27.183087Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_CHALLENGE(5fa41a6ef62b84ba) +2026-10-11T17:31:27.183275Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:27.183323Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:27.183362Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3,4..8] delay: 689µs +2026-10-11T17:31:27.183393Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(5fa41a6ef62b84ba) +2026-10-11T17:31:27.183427Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1150 +2026-10-11T17:31:27.183461Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:27.183526Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1200 prev_segment_size=1326 +2026-10-11T17:31:27.183543Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60063) +2026-10-11T17:31:27.183701Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:27.188696Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 10.200.0.1, remote: [::ffff:10.200.0.1]:60063) using id 6ba58d2aa11cd290 +2026-10-11T17:31:27.188822Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: got frame PATH_CHALLENGE(7e08ff2c907b0269) +2026-10-11T17:31:27.188885Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1086 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60063) using id 6ba58d2aa11cd290 +2026-10-11T17:31:27.188962Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [5..8] delay: 193µs +2026-10-11T17:31:27.189022Z TRACE pkt{path_id=0}:recv{space=Data pn=9}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1389 +2026-10-11T17:31:27.189079Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: bcc9299c5d7bb2dd +2026-10-11T17:31:27.189115Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: b4f4d8788ae80cf9 +2026-10-11T17:31:27.189143Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 01636ab382ddb29f +2026-10-11T17:31:27.189169Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: a0b0f187f03cfbff +2026-10-11T17:31:27.189218Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: c241ffe1b8db7094 +2026-10-11T17:31:27.189248Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 896d33c376228d19 +2026-10-11T17:31:27.189277Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: d9a44604e50cd21e +2026-10-11T17:31:27.189306Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: be2efd7071bba5a4 +2026-10-11T17:31:27.189334Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 41028a0beaf7ff04 +2026-10-11T17:31:27.189363Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: f9272f6eff6e53e7 +2026-10-11T17:31:27.189390Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: 54eed06e47264687 +2026-10-11T17:31:27.189436Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 7f46dcca38c99556 +2026-10-11T17:31:27.189463Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 744da8a21a758568 +2026-10-11T17:31:27.189501Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 75b08ac2a33386fb +2026-10-11T17:31:27.189528Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 3620d5f17d0ad7c3 +2026-10-11T17:31:27.189554Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: d3b46c125e7ba159 +2026-10-11T17:31:27.189583Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: d70d72ab95f97f6e +2026-10-11T17:31:27.189611Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 9699aa97f8331a07 +2026-10-11T17:31:27.189638Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: d8b89b992cd111ad +2026-10-11T17:31:27.189664Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: fcddcc3c1bb00aff +2026-10-11T17:31:27.189690Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: c6c0edc8b71ad8f5 +2026-10-11T17:31:27.189717Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 9153c64cd1baef74 +2026-10-11T17:31:27.189750Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: c3ab471622e71993 +2026-10-11T17:31:27.189777Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 1e17fb949936ebc7 +2026-10-11T17:31:27.189804Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: bb92429174438cab +2026-10-11T17:31:27.189834Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 51b42a024ede2346 +2026-10-11T17:31:27.189865Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: aabbb9e066cf06c0 +2026-10-11T17:31:27.189892Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: 5ebbe1a9329ef0cd +2026-10-11T17:31:27.189946Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: aaac121ff9a70238 +2026-10-11T17:31:27.189984Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: b98a197bbfcfa85c +2026-10-11T17:31:27.190013Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: aa8954116a508ffd +2026-10-11T17:31:27.190053Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: 6dc3aa4d68010622 +2026-10-11T17:31:27.190081Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: ec92e807bd1a9b55 +2026-10-11T17:31:27.190108Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 25c48e04ac72395c +2026-10-11T17:31:27.190140Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: d84d0579101af429 +2026-10-11T17:31:27.190267Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1389 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60063) using id 6ba58d2aa11cd290 +2026-10-11T17:31:27.190406Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: got frame PING +2026-10-11T17:31:27.190440Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:27.190735Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:60063) using id 6ba58d2aa11cd290 +2026-10-11T17:31:27.190800Z TRACE pkt{path_id=0}:recv{space=Data pn=11}: noq_proto::connection: got frame PATH_RESPONSE(e0b97f901fcc7f72) +2026-10-11T17:31:27.190868Z TRACE pkt{path_id=0}:recv{space=Data pn=11}:frame{ty=PATH_RESPONSE}: noq_proto::n0_nat_traversal: Received valid NAT traversal probe response network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:60063) challenge=0xe0b97f901fcc7f72 +2026-10-11T17:31:27.190929Z TRACE pkt{path_id=0}:recv{space=Data pn=11}:frame{ty=PATH_RESPONSE}: noq_proto::n0_nat_traversal: probe opened un-advertised address, peer likely behind DEDN +2026-10-11T17:31:27.190979Z DEBUG pkt{path_id=0}:recv{space=Data pn=11}:frame{ty=PATH_RESPONSE}: noq_proto::connection: path added validated=false path_id=1 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:60063) +2026-10-11T17:31:27.191054Z DEBUG pkt{path_id=0}:recv{space=Data pn=11}:frame{ty=PATH_RESPONSE}: noq_proto::connection: Opened NAT traversal path path_id=1 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:60063) new_path=true +2026-10-11T17:31:27.191351Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (36 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60063) using id 6ba58d2aa11cd290 +2026-10-11T17:31:27.191418Z TRACE pkt{path_id=0}:recv{space=Data pn=13}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [5..11] delay: 404µs +2026-10-11T17:31:27.191599Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(7e08ff2c907b0269) msg="(off-path)" +2026-10-11T17:31:27.191629Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(62ccfea7b14f9674) +2026-10-11T17:31:27.191655Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1156 +2026-10-11T17:31:27.191689Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:27.191711Z TRACE noq_proto::connection: sending off-path PATH_RESPONSE dst=[::ffff:10.200.0.1]:60063 src=Some(10.200.0.1) len=1200 +2026-10-11T17:31:27.197912Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:27.198249Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [8..12,13..14] delay: 389µs +2026-10-11T17:31:27.198414Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=38 +2026-10-11T17:31:27.198488Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=38 prev_segment_size=1389 +2026-10-11T17:31:27.198527Z TRACE noq_proto::connection: sending 38 bytes in 1 datagrams segment_size=38 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60063) +2026-10-11T17:31:27.200638Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:27.200777Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:27.200870Z TRACE send{space=Data pn=0 path_id=1}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(5a4ecfbbec5b1cd7) +2026-10-11T17:31:27.200937Z TRACE send{space=Data pn=0 path_id=1}: noq_proto::connection::packet_builder: PADDING * 1165 +2026-10-11T17:31:27.200980Z TRACE send{space=Data pn=0 path_id=1}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:27.201050Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:60063) +2026-10-11T17:31:27.201077Z TRACE noq_proto::connection::paths: anti amplification budget decreased network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:60063) anti_amplification_budget=0 +2026-10-11T17:31:27.201170Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:27.201187Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=1 +2026-10-11T17:31:27.201222Z TRACE send{space=Data pn=13 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1420 +2026-10-11T17:31:27.201244Z TRACE send{space=Data pn=13 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:27.201257Z TRACE send{space=Data pn=13 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:27.201268Z TRACE send{space=Data pn=13 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1392 +2026-10-11T17:31:27.201291Z TRACE send{space=Data pn=13 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1420 +2026-10-11T17:31:27.201326Z TRACE noq_proto::connection: sending 1420 bytes in 1 datagrams segment_size=1420 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60063) +2026-10-11T17:31:27.201375Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:27.201389Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=1 +2026-10-11T17:31:27.201588Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (63 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60063) using id 6ba58d2aa11cd290 +2026-10-11T17:31:27.201711Z TRACE pkt{path_id=0}:recv{space=Data pn=14}: noq_proto::connection: got frame ADD_IPV_4_ADDRESS seq_no: 2 addr: 127.0.0.1:60063 +2026-10-11T17:31:27.201764Z TRACE pkt{path_id=0}:recv{space=Data pn=14}: noq_proto::connection: got frame ADD_IPV_4_ADDRESS seq_no: 1 addr: 10.200.0.2:60063 +2026-10-11T17:31:27.201789Z TRACE pkt{path_id=0}:recv{space=Data pn=14}: noq_proto::connection: got frame ADD_IPV_4_ADDRESS seq_no: 0 addr: 10.200.0.1:60063 +2026-10-11T17:31:27.201816Z TRACE pkt{path_id=0}:recv{space=Data pn=14}: noq_proto::connection: got frame PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:27.201853Z DEBUG pkt{path_id=0}:recv{space=Data pn=14}:frame{ty=PATH_STATUS_AVAILABLE path=0}: noq_proto::connection::paths: remote changed path status status=Available seq=2 +2026-10-11T17:31:27.201933Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 10.200.0.1, remote: [::ffff:10.200.0.1]:60063) using id 6ba58d2aa11cd290 +2026-10-11T17:31:27.202002Z TRACE pkt{path_id=0}:recv{space=Data pn=15}: noq_proto::connection: got frame PATH_RESPONSE(62ccfea7b14f9674) +2026-10-11T17:31:27.202025Z TRACE pkt{path_id=0}:recv{space=Data pn=15}:frame{ty=PATH_RESPONSE}: noq_proto::n0_nat_traversal: Received valid NAT traversal probe response network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:60063) challenge=0x62ccfea7b14f9674 +2026-10-11T17:31:27.202109Z DEBUG pkt{path_id=0}:recv{space=Data pn=15}:frame{ty=PATH_RESPONSE}: noq_proto::connection: path added validated=false path_id=2 network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:60063) +2026-10-11T17:31:27.202173Z DEBUG pkt{path_id=0}:recv{space=Data pn=15}:frame{ty=PATH_RESPONSE}: noq_proto::connection: Opened NAT traversal path path_id=2 network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:60063) new_path=true +2026-10-11T17:31:27.202453Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 10.200.0.1, remote: [::ffff:10.200.0.1]:60063) using id 6ba58d2aa11cd290 +2026-10-11T17:31:27.202508Z TRACE pkt{path_id=0}:recv{space=Data pn=16}: noq_proto::connection: got frame PATH_CHALLENGE(649c43de12625dfa) +2026-10-11T17:31:27.202583Z TRACE send{space=Data pn=14 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(649c43de12625dfa) msg="(off-path)" +2026-10-11T17:31:27.202605Z TRACE send{space=Data pn=14 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(ddf6cd4b41cee884) +2026-10-11T17:31:27.202625Z TRACE send{space=Data pn=14 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1156 +2026-10-11T17:31:27.202650Z TRACE send{space=Data pn=14 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:27.202680Z TRACE noq_proto::connection: sending off-path PATH_RESPONSE dst=[::ffff:10.200.0.1]:60063 src=Some(10.200.0.1) len=1200 +2026-10-11T17:31:27.202860Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:27.206908Z TRACE send{space=Data pn=15 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [8..12,13..17] delay: 321µs +2026-10-11T17:31:27.208863Z TRACE send{space=Data pn=15 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=38 +2026-10-11T17:31:27.211341Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=38 prev_segment_size=1389 +2026-10-11T17:31:27.211390Z TRACE noq_proto::connection: sending 38 bytes in 1 datagrams segment_size=38 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60063) +2026-10-11T17:31:27.211482Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:27.211503Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=1 +2026-10-11T17:31:27.211520Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:27.211588Z TRACE send{space=Data pn=0 path_id=2}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(f63fd8c7e488f1fb) +2026-10-11T17:31:27.211638Z TRACE send{space=Data pn=0 path_id=2}: noq_proto::connection::packet_builder: PADDING * 1165 +2026-10-11T17:31:27.211677Z TRACE send{space=Data pn=0 path_id=2}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:27.211725Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:60063) +2026-10-11T17:31:27.211746Z TRACE noq_proto::connection::paths: anti amplification budget decreased network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:60063) anti_amplification_budget=0 +2026-10-11T17:31:27.211821Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:27.211835Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=1 +2026-10-11T17:31:27.211848Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=2 +2026-10-11T17:31:27.212095Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1420 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60063) using id 6ba58d2aa11cd290 +2026-10-11T17:31:27.216201Z TRACE pkt{path_id=0}:recv{space=Data pn=17}: noq_proto::connection: got frame PING +2026-10-11T17:31:27.216288Z TRACE pkt{path_id=0}:recv{space=Data pn=17}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:27.216634Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60063) using id 6ba58d2aa11cd290 +2026-10-11T17:31:27.216703Z TRACE pkt{path_id=0}:recv{space=Data pn=18}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [11..13] delay: 759µs +2026-10-11T17:31:27.216803Z TRACE pkt{path_id=0}:recv{space=Data pn=18}: noq_proto::connection: got frame CONNECTION_CLOSE error_code=4098 reason='not on allowlist' +2026-10-11T17:31:27.216837Z TRACE pkt{path_id=0}:recv{space=Data pn=18}: noq_proto::connection::state: connection state: draining +2026-10-11T17:31:27.216860Z TRACE pkt{path_id=0}: noq_proto::connection: connection closed +2026-10-11T17:31:27.216903Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60063) using id 6ba58d2aa11cd290 +2026-10-11T17:31:27.217000Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:27.217033Z TRACE send{space=Data pn=16 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:27.217065Z TRACE send{space=Data pn=16 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [14..19] delay: 1412µs +2026-10-11T17:31:27.217124Z TRACE send{space=Data pn=16 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=0 reason='' +2026-10-11T17:31:27.217156Z TRACE send{space=Data pn=16 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=40 +2026-10-11T17:31:27.217186Z TRACE noq_proto::connection: sending 40 bytes in 1 datagrams segment_size=1389 last_datagram_len=40 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60063) +2026-10-11T17:31:27.217778Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=210.48515500000002 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:31:27.212283Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(100821108322400) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:31:27.218382Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(100821108322400) evt=Ok(AddressAdded(127.0.0.1:60063)) +2026-10-11T17:31:27.218509Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37524, tv_nsec: 558069502 }, local_candidates: {10.200.0.1:33516, 10.200.0.2:33516, 127.0.0.1:33516}, remote_candidates: {} } local_candidates={10.200.0.1:33516, 10.200.0.2:33516, 127.0.0.1:33516} remote_candidates={10.200.0.1:60063, 10.200.0.2:60063, 127.0.0.1:60063} +2026-10-11T17:31:27.218578Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:31:27.218631Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(100821108322400) evt=Ok(AddressAdded(10.200.0.2:60063)) +2026-10-11T17:31:27.218654Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37524, tv_nsec: 558069502 }, local_candidates: {10.200.0.1:33516, 10.200.0.2:33516, 127.0.0.1:33516}, remote_candidates: {} } local_candidates={10.200.0.1:33516, 10.200.0.2:33516, 127.0.0.1:33516} remote_candidates={10.200.0.1:60063, 10.200.0.2:60063, 127.0.0.1:60063} +2026-10-11T17:31:27.218685Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:31:27.218739Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(100821108322400) evt=Ok(AddressAdded(10.200.0.1:60063)) +2026-10-11T17:31:27.218767Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37524, tv_nsec: 558069502 }, local_candidates: {10.200.0.1:33516, 10.200.0.2:33516, 127.0.0.1:33516}, remote_candidates: {} } local_candidates={10.200.0.1:33516, 10.200.0.2:33516, 127.0.0.1:33516} remote_candidates={10.200.0.1:60063, 10.200.0.2:60063, 127.0.0.1:60063} +2026-10-11T17:31:27.218800Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:31:27.218946Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:31:27.219194Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=211.906601 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:60063)/Active"] +2026-10-11T17:31:27.220748Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (40 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60063) using id 6ba58d2aa11cd290 +2026-10-11T17:31:27.421812Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:60063)/Active"] +2026-10-11T17:31:27.422260Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:31:27.422326Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-1/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-1/ready.txt new file mode 100644 index 0000000000..1cd7169847 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-1/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=60063 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-1/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-1/server.log new file mode 100644 index 0000000000..c0b7fefd86 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-1/server.log @@ -0,0 +1,305 @@ +2026-10-11T17:31:26.928258Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=60063 direct=["10.200.0.1:60063", "10.200.0.2:60063", "127.0.0.1:60063"] +2026-10-11T17:31:27.026144Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:33516) alpns=["n30/allowlist/0"] +2026-10-11T17:31:27.026964Z TRACE first recv:frame{ty=CRYPTO}: noq_proto::connection: consumed 290 CRYPTO bytes +2026-10-11T17:31:27.033493Z TRACE first recv: noq_proto::connection: Handshake keys ready +2026-10-11T17:31:27.033633Z TRACE first recv: noq_proto::connection: wrote 90 Initial CRYPTO bytes +2026-10-11T17:31:27.033730Z TRACE first recv: noq_proto::connection: Data keys ready +2026-10-11T17:31:27.033799Z TRACE first recv: noq_proto::connection: wrote 384 Handshake CRYPTO bytes +2026-10-11T17:31:27.033929Z TRACE first recv: noq_proto::connection: negotiated max idle timeout Some(30s) +2026-10-11T17:31:27.033957Z DEBUG first recv: noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:31:27.033979Z DEBUG first recv: noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:31:27.034107Z TRACE noq_proto::endpoint: new connection id=0 icid=ed5ac4012c9ab772d703e9da7396b573cdba828e network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33516) +2026-10-11T17:31:27.034664Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:27.034889Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 1225µs +2026-10-11T17:31:27.034994Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 90 +2026-10-11T17:31:27.035035Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection: will coalesce with next packet +2026-10-11T17:31:27.035093Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=146 +2026-10-11T17:31:27.035191Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 384 +2026-10-11T17:31:27.035222Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 624 +2026-10-11T17:31:27.035242Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1054 +2026-10-11T17:31:27.035272Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:27.035286Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33516) +2026-10-11T17:31:27.035304Z TRACE noq_proto::connection::paths: anti amplification budget decreased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33516) anti_amplification_budget=2352 +2026-10-11T17:31:27.039299Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:27.039366Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:27.039391Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:27.039706Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:27.039732Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:27.039766Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=11.6994ms +2026-10-11T17:31:27.053416Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:27.053501Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:27.053564Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:27.053812Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 1 id: 024dd01501a85698 +2026-10-11T17:31:27.053884Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 2 id: 5af4bcd5b855bed0 +2026-10-11T17:31:27.053926Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 3 id: 0a6da0a9b0a93ba3 +2026-10-11T17:31:27.053939Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 4 id: e9aec25a13f5b25f +2026-10-11T17:31:27.054030Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=138 +2026-10-11T17:31:27.054130Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=138 prev_segment_size=1200 +2026-10-11T17:31:27.054157Z TRACE noq_proto::connection: sending 138 bytes in 1 datagrams segment_size=138 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33516) +2026-10-11T17:31:27.054176Z TRACE noq_proto::connection::paths: anti amplification budget decreased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33516) anti_amplification_budget=2214 +2026-10-11T17:31:27.062990Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:27.063033Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:27.063183Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:27.065224Z TRACE timer_fired{scope="path" path_id=0 timer=Pacing}: noq_proto::connection: timeout +2026-10-11T17:31:27.066120Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:27.066188Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:27.066238Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:27.096504Z TRACE pkt{path_id=0}: noq_proto::connection: got Initial packet (52 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33516) using id 6668bd1dee3c9cf0 +2026-10-11T17:31:27.096808Z TRACE pkt{path_id=0}: noq_proto::connection::paths: anti amplification budget increased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33516) anti_amplification_budget=2370 +2026-10-11T17:31:27.096839Z TRACE pkt{path_id=0}: noq_proto::connection::paths: anti amplification budget increased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33516) anti_amplification_budget=5814 +2026-10-11T17:31:27.096869Z TRACE pkt{path_id=0}: noq_proto::connection: got Handshake packet (1148 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33516) using id 6668bd1dee3c9cf0 +2026-10-11T17:31:27.096953Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: discarding Initial keys +2026-10-11T17:31:27.097074Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 181 CRYPTO bytes +2026-10-11T17:31:27.146192Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: wrote 178 Data CRYPTO bytes +2026-10-11T17:31:27.146306Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: discarding Handshake keys +2026-10-11T17:31:27.146381Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: handshake confirmed +2026-10-11T17:31:27.146397Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection::state: connection state: established +2026-10-11T17:31:27.146412Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: established +2026-10-11T17:31:27.146559Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1326 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33516) using id 6668bd1dee3c9cf0 +2026-10-11T17:31:27.146697Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame PING +2026-10-11T17:31:27.146729Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:27.147026Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1166 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33516) using id 6668bd1dee3c9cf0 +2026-10-11T17:31:27.147101Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 1 id: 6ba58d2aa11cd290 +2026-10-11T17:31:27.147165Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 2 id: 184cac060b5904c4 +2026-10-11T17:31:27.147194Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 3 id: 50106798f128aa4c +2026-10-11T17:31:27.147220Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 4 id: 2276f34723f8dba3 +2026-10-11T17:31:27.147247Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: 5b5d0e5034a800f3 +2026-10-11T17:31:27.147276Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: 2134a46629cee442 +2026-10-11T17:31:27.147301Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 6323f9f6df88dc77 +2026-10-11T17:31:27.147326Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 2d2a1315fc37c90e +2026-10-11T17:31:27.147351Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: dc4d0d1bc838cb88 +2026-10-11T17:31:27.147376Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: ca08cfe85100d681 +2026-10-11T17:31:27.147401Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: df8303087cfeb385 +2026-10-11T17:31:27.147427Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 2b05d147aa3667a7 +2026-10-11T17:31:27.147451Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: e5ea75f065e45b83 +2026-10-11T17:31:27.147476Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 9cdb82c1791fdaaf +2026-10-11T17:31:27.147504Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: df76fcd0f21794fd +2026-10-11T17:31:27.147536Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 01b0faf878f22155 +2026-10-11T17:31:27.147562Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 99fc1bbbfe64ed2c +2026-10-11T17:31:27.147587Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 76b8b28cb39bf5f8 +2026-10-11T17:31:27.147612Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: f0c30ca20e08117d +2026-10-11T17:31:27.147638Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: 666d458e6bcf7f8b +2026-10-11T17:31:27.147663Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 0e915be9d67bad38 +2026-10-11T17:31:27.147688Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: fae431fb09818c82 +2026-10-11T17:31:27.147713Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: 20c6ab1093a3b776 +2026-10-11T17:31:27.147739Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: fb88e5f0023b12e6 +2026-10-11T17:31:27.147763Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: d9685067284ba76f +2026-10-11T17:31:27.147796Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: eff298cbd1ee10a7 +2026-10-11T17:31:27.147821Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 1b05c7391d2c51be +2026-10-11T17:31:27.147846Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: eb83db3401cfcf80 +2026-10-11T17:31:27.147871Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 3f20549785cb5f2a +2026-10-11T17:31:27.147932Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 6507bc1f1750b07b +2026-10-11T17:31:27.147965Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: 5a9d61b20d17f124 +2026-10-11T17:31:27.147988Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: 6711010cf4c74f8f +2026-10-11T17:31:27.151311Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: a3c83fa028c36bbe +2026-10-11T17:31:27.151427Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: f757a53e29cb4894 +2026-10-11T17:31:27.151458Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 23cfa49dc58f0b88 +2026-10-11T17:31:27.151521Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: d9bf4334ceb248c4 +2026-10-11T17:31:27.151550Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: b758ec6e7201ebb2 +2026-10-11T17:31:27.151579Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 672d6c5e9867e4c2 +2026-10-11T17:31:27.151760Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33516) using id 6668bd1dee3c9cf0 +2026-10-11T17:31:27.151919Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 21f7e2b0f58e7d4a +2026-10-11T17:31:27.152036Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (63 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33516) using id 6668bd1dee3c9cf0 +2026-10-11T17:31:27.152097Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 10.200.0.2:33516 +2026-10-11T17:31:27.152144Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 127.0.0.1:33516 +2026-10-11T17:31:27.152169Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 10.200.0.1:33516 +2026-10-11T17:31:27.152195Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:27.152230Z DEBUG pkt{path_id=0}:recv{space=Data pn=3}:frame{ty=PATH_STATUS_AVAILABLE path=0}: noq_proto::connection::paths: remote changed path status status=Available seq=2 +2026-10-11T17:31:27.152280Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33516) using id 6668bd1dee3c9cf0 +2026-10-11T17:31:27.152334Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame STREAM id=client bidirectional stream 0 offset=0 len=6 fin=true +2026-10-11T17:31:27.152410Z DEBUG pkt{path_id=0}: noq_proto::connection::packet_crypto: dropping unexpected packet encryption_level=Some(Handshake) bytes=227 +2026-10-11T17:31:27.152448Z DEBUG pkt{path_id=0}: noq_proto::connection::packet_crypto: dropping unexpected packet encryption_level=Some(Handshake) bytes=227 +2026-10-11T17:31:27.152567Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(c6d00bd06aeefcef) msg="(nat-traversal)" +2026-10-11T17:31:27.152608Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:27.152653Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.2, 33516) len=35 +2026-10-11T17:31:27.152831Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(933993e625f850d2) msg="(nat-traversal)" +2026-10-11T17:31:27.152863Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:27.152888Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:127.0.0.1, 33516) len=35 +2026-10-11T17:31:27.157162Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(8cd9f75da495913e) msg="(nat-traversal)" +2026-10-11T17:31:27.157294Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:27.157396Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.1, 33516) len=35 +2026-10-11T17:31:27.157744Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:27.157810Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=HANDSHAKE_DONE +2026-10-11T17:31:27.157869Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..5] delay: 3653µs +2026-10-11T17:31:27.160090Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 178 +2026-10-11T17:31:27.160230Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RETIRE_CONNECTION_ID path_id: 0 seq: 0 +2026-10-11T17:31:27.160337Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=223 +2026-10-11T17:31:27.160448Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=223 prev_segment_size=1200 +2026-10-11T17:31:27.160493Z TRACE noq_proto::connection: sending 223 bytes in 1 datagrams segment_size=223 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33516) +2026-10-11T17:31:27.160669Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:27.160771Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1326 +2026-10-11T17:31:27.160804Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:27.160819Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:27.160832Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1298 +2026-10-11T17:31:27.160876Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1326 +2026-10-11T17:31:27.160941Z TRACE noq_proto::connection: sending 1326 bytes in 1 datagrams segment_size=1326 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33516) +2026-10-11T17:31:27.161093Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:27.161207Z TRACE timeout{scope="conn" timer=NatTraversalProbeRetry}: noq_proto::connection: timeout +2026-10-11T17:31:27.161263Z TRACE timeout{scope="conn" timer=NatTraversalProbeRetry}: noq_proto::connection: re-queued NAT probes +2026-10-11T17:31:27.165679Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33516) using id 6668bd1dee3c9cf0 +2026-10-11T17:31:27.165844Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:27.166017Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:31:27.168329Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3] delay: 100µs +2026-10-11T17:31:27.168503Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame PATH_RESPONSE(933993e625f850d2) +2026-10-11T17:31:27.168878Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (40 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33516) using id 6668bd1dee3c9cf0 +2026-10-11T17:31:27.169007Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3,4..6] delay: 545µs +2026-10-11T17:31:27.169075Z TRACE pkt{path_id=0}:recv{space=Data pn=6}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1326 +2026-10-11T17:31:27.169176Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1389 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33516) using id 6668bd1dee3c9cf0 +2026-10-11T17:31:27.169236Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PING +2026-10-11T17:31:27.169262Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:27.169637Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(c893c27db65192ae) msg="(nat-traversal)" +2026-10-11T17:31:27.169685Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:27.169715Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.2, 33516) len=35 +2026-10-11T17:31:27.171655Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(5fa41a6ef62b84ba) msg="(nat-traversal)" +2026-10-11T17:31:27.177097Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:27.177354Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:127.0.0.1, 33516) len=35 +2026-10-11T17:31:27.179787Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(7e08ff2c907b0269) msg="(nat-traversal)" +2026-10-11T17:31:27.184365Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:27.184492Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.1, 33516) len=35 +2026-10-11T17:31:27.184634Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:27.184715Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [5..8] delay: 193µs +2026-10-11T17:31:27.184815Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: bcc9299c5d7bb2dd +2026-10-11T17:31:27.184839Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: b4f4d8788ae80cf9 +2026-10-11T17:31:27.184853Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 01636ab382ddb29f +2026-10-11T17:31:27.184866Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: a0b0f187f03cfbff +2026-10-11T17:31:27.184878Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: c241ffe1b8db7094 +2026-10-11T17:31:27.184903Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 896d33c376228d19 +2026-10-11T17:31:27.184920Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: d9a44604e50cd21e +2026-10-11T17:31:27.184945Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: be2efd7071bba5a4 +2026-10-11T17:31:27.184958Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 41028a0beaf7ff04 +2026-10-11T17:31:27.184971Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: f9272f6eff6e53e7 +2026-10-11T17:31:27.184983Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: 54eed06e47264687 +2026-10-11T17:31:27.184996Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 7f46dcca38c99556 +2026-10-11T17:31:27.185008Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 744da8a21a758568 +2026-10-11T17:31:27.185021Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 75b08ac2a33386fb +2026-10-11T17:31:27.185033Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 3620d5f17d0ad7c3 +2026-10-11T17:31:27.185046Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: d3b46c125e7ba159 +2026-10-11T17:31:27.185059Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: d70d72ab95f97f6e +2026-10-11T17:31:27.185073Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 9699aa97f8331a07 +2026-10-11T17:31:27.185085Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: d8b89b992cd111ad +2026-10-11T17:31:27.185098Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: fcddcc3c1bb00aff +2026-10-11T17:31:27.185111Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: c6c0edc8b71ad8f5 +2026-10-11T17:31:27.185123Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 9153c64cd1baef74 +2026-10-11T17:31:27.185136Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: c3ab471622e71993 +2026-10-11T17:31:27.185149Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 1e17fb949936ebc7 +2026-10-11T17:31:27.185162Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: bb92429174438cab +2026-10-11T17:31:27.185176Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 51b42a024ede2346 +2026-10-11T17:31:27.185189Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: aabbb9e066cf06c0 +2026-10-11T17:31:27.185202Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: 5ebbe1a9329ef0cd +2026-10-11T17:31:27.185216Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: aaac121ff9a70238 +2026-10-11T17:31:27.185229Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: b98a197bbfcfa85c +2026-10-11T17:31:27.185242Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: aa8954116a508ffd +2026-10-11T17:31:27.185259Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: 6dc3aa4d68010622 +2026-10-11T17:31:27.185272Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: ec92e807bd1a9b55 +2026-10-11T17:31:27.185292Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 25c48e04ac72395c +2026-10-11T17:31:27.185305Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: d84d0579101af429 +2026-10-11T17:31:27.185363Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1086 +2026-10-11T17:31:27.185424Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1086 prev_segment_size=1326 +2026-10-11T17:31:27.185448Z TRACE noq_proto::connection: sending 1086 bytes in 1 datagrams segment_size=1086 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33516) +2026-10-11T17:31:27.185535Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:27.185585Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1389 +2026-10-11T17:31:27.185605Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:27.185619Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:27.185631Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1361 +2026-10-11T17:31:27.185654Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1389 +2026-10-11T17:31:27.185687Z TRACE noq_proto::connection: sending 1389 bytes in 1 datagrams segment_size=1389 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33516) +2026-10-11T17:31:27.185737Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:27.186104Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:33516) using id 6668bd1dee3c9cf0 +2026-10-11T17:31:27.186279Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: got frame PATH_RESPONSE(c893c27db65192ae) +2026-10-11T17:31:27.186339Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: got frame PATH_CHALLENGE(e0b97f901fcc7f72) +2026-10-11T17:31:27.186625Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33516) using id 6668bd1dee3c9cf0 +2026-10-11T17:31:27.186691Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 5 id: 1d18868e7d87f1bc +2026-10-11T17:31:27.186808Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33516) using id 6668bd1dee3c9cf0 +2026-10-11T17:31:27.186869Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:27.186972Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3,4..8] delay: 689µs +2026-10-11T17:31:27.187053Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: got frame PATH_RESPONSE(5fa41a6ef62b84ba) +2026-10-11T17:31:27.187401Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(e0b97f901fcc7f72) msg="(off-path)" +2026-10-11T17:31:27.187438Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1165 +2026-10-11T17:31:27.187476Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:27.187536Z TRACE noq_proto::connection: sending off-path PATH_RESPONSE dst=[::ffff:10.200.0.2]:33516 src=Some(10.200.0.2) len=1200 +2026-10-11T17:31:27.187803Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:27.187827Z TRACE noq_proto::connection::spaces: skipping pn 12 +2026-10-11T17:31:27.187918Z TRACE send{space=Data pn=13 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [5..11] delay: 404µs +2026-10-11T17:31:27.188018Z TRACE send{space=Data pn=13 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=36 +2026-10-11T17:31:27.188055Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=36 prev_segment_size=1326 +2026-10-11T17:31:27.188074Z TRACE noq_proto::connection: sending 36 bytes in 1 datagrams segment_size=36 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33516) +2026-10-11T17:31:27.188146Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:27.192470Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(123885848632240) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:60063, 10.200.0.2:60063, 127.0.0.1:60063} +2026-10-11T17:31:27.192715Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(123885848632240) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:31:27.193055Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:31:27.193132Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:31:27.193261Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:31:27.193671Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:33516)/Active"] +2026-10-11T17:31:27.194011Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:27.194110Z TRACE send{space=Data pn=14 path_id=0}: noq_proto::connection::packet_builder: frame=ADD_IPV_4_ADDRESS seq_no: 2 addr: 127.0.0.1:60063 +2026-10-11T17:31:27.194145Z TRACE send{space=Data pn=14 path_id=0}: noq_proto::connection::packet_builder: frame=ADD_IPV_4_ADDRESS seq_no: 1 addr: 10.200.0.2:60063 +2026-10-11T17:31:27.194159Z TRACE send{space=Data pn=14 path_id=0}: noq_proto::connection::packet_builder: frame=ADD_IPV_4_ADDRESS seq_no: 0 addr: 10.200.0.1:60063 +2026-10-11T17:31:27.194189Z TRACE send{space=Data pn=14 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:27.194277Z TRACE send{space=Data pn=14 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=63 +2026-10-11T17:31:27.194335Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=63 prev_segment_size=1326 +2026-10-11T17:31:27.194371Z TRACE noq_proto::connection: sending 63 bytes in 1 datagrams segment_size=63 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33516) +2026-10-11T17:31:27.194985Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:33516)/Active"] +2026-10-11T17:31:27.195143Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:33516)/Active"] +2026-10-11T17:31:27.195501Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:27.195589Z TRACE timeout{scope="conn" timer=NatTraversalProbeRetry}: noq_proto::connection: timeout +2026-10-11T17:31:27.195636Z TRACE timeout{scope="conn" timer=NatTraversalProbeRetry}: noq_proto::connection: re-queued NAT probes +2026-10-11T17:31:27.195773Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 10.200.0.1, remote: [::ffff:10.200.0.1]:33516) using id 6668bd1dee3c9cf0 +2026-10-11T17:31:27.195933Z TRACE pkt{path_id=0}:recv{space=Data pn=11}: noq_proto::connection: got frame PATH_RESPONSE(7e08ff2c907b0269) +2026-10-11T17:31:27.195987Z TRACE pkt{path_id=0}:recv{space=Data pn=11}: noq_proto::connection: got frame PATH_CHALLENGE(62ccfea7b14f9674) +2026-10-11T17:31:27.196283Z TRACE send{space=Data pn=15 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(62ccfea7b14f9674) msg="(off-path)" +2026-10-11T17:31:27.196307Z TRACE send{space=Data pn=15 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1165 +2026-10-11T17:31:27.196340Z TRACE send{space=Data pn=15 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:27.196359Z TRACE noq_proto::connection: sending off-path PATH_RESPONSE dst=[::ffff:10.200.0.1]:33516 src=Some(10.200.0.1) len=1200 +2026-10-11T17:31:27.199547Z TRACE send{space=Data pn=16 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(649c43de12625dfa) msg="(nat-traversal)" +2026-10-11T17:31:27.199677Z TRACE send{space=Data pn=16 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:27.199756Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.1, 33516) len=35 +2026-10-11T17:31:27.200453Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:27.203571Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (38 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33516) using id 6668bd1dee3c9cf0 +2026-10-11T17:31:27.203811Z TRACE pkt{path_id=0}:recv{space=Data pn=12}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [8..12,13..14] delay: 389µs +2026-10-11T17:31:27.203999Z TRACE pkt{path_id=0}:recv{space=Data pn=12}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1389 +2026-10-11T17:31:27.204151Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:27.204196Z TRACE send{space=Data pn=17 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1420 +2026-10-11T17:31:27.204216Z TRACE send{space=Data pn=17 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:27.204230Z TRACE send{space=Data pn=17 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:27.204243Z TRACE send{space=Data pn=17 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1392 +2026-10-11T17:31:27.204280Z TRACE send{space=Data pn=17 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1420 +2026-10-11T17:31:27.204311Z TRACE noq_proto::connection: sending 1420 bytes in 1 datagrams segment_size=1420 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33516) +2026-10-11T17:31:27.204420Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:27.204600Z TRACE noq_proto::connection: connection closed +2026-10-11T17:31:27.204620Z TRACE noq_proto::connection::state: connection state: closed remote_reason=Application(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) is_local=true +2026-10-11T17:31:27.204730Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:31:27.204928Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:31:27.205051Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:27.205095Z TRACE send{space=Data pn=18 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:27.205153Z TRACE send{space=Data pn=18 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [11..13] delay: 759µs +2026-10-11T17:31:27.205198Z TRACE send{space=Data pn=18 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=4098 reason='not on allowlist' +2026-10-11T17:31:27.205265Z TRACE send{space=Data pn=18 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:27.205318Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=1389 last_datagram_len=56 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33516) +2026-10-11T17:31:27.208970Z TRACE pkt{path_id=1}: noq_proto::connection: got Data packet (1200 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:33516) using id bcc9299c5d7bb2dd +2026-10-11T17:31:27.209467Z TRACE pkt{path_id=1}:recv{space=Data pn=0}: noq_proto::connection: discarding packet for unknown path path_id=1 number=Some(0) +2026-10-11T17:31:27.209615Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1420 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33516) using id 6668bd1dee3c9cf0 +2026-10-11T17:31:27.209683Z TRACE pkt{path_id=0}:recv{space=Data pn=13}: noq_proto::connection: processing frame in closed state frame=Ping +2026-10-11T17:31:27.209703Z TRACE pkt{path_id=0}:recv{space=Data pn=13}: noq_proto::connection: processing frame in closed state frame=ImmediateAck +2026-10-11T17:31:27.210066Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 10.200.0.1, remote: [::ffff:10.200.0.1]:33516) using id 6668bd1dee3c9cf0 +2026-10-11T17:31:27.210183Z TRACE pkt{path_id=0}:recv{space=Data pn=14}: noq_proto::connection: processing frame in closed state frame=PathResponse(PathResponse(7249744121229893114)) +2026-10-11T17:31:27.210239Z TRACE pkt{path_id=0}:recv{space=Data pn=14}: noq_proto::connection: processing frame in closed state frame=PathChallenge(PathChallenge(15994196849763215492)) +2026-10-11T17:31:27.210552Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:27.210618Z TRACE send{space=Data pn=19 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:27.210678Z TRACE send{space=Data pn=19 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [11..13] delay: 1438µs +2026-10-11T17:31:27.210744Z TRACE send{space=Data pn=19 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=4098 reason='not on allowlist' +2026-10-11T17:31:27.210808Z TRACE send{space=Data pn=19 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:27.210850Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=1389 last_datagram_len=56 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33516) +2026-10-11T17:31:27.213133Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (38 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33516) using id 6668bd1dee3c9cf0 +2026-10-11T17:31:27.219482Z TRACE pkt{path_id=0}:recv{space=Data pn=15}: noq_proto::connection: processing frame in closed state frame=PathAck(PathAck { path_id: PathId(0), largest: 16, delay: 321, ranges: [8..12,13..17], ecn: Some(EcnCounts { ect0: 7, ect1: 0, ce: 0 }) }) +2026-10-11T17:31:27.219656Z TRACE pkt{path_id=2}: noq_proto::connection: got Data packet (1200 bytes) from (local: 10.200.0.1, remote: [::ffff:10.200.0.1]:33516) using id 896d33c376228d19 +2026-10-11T17:31:27.219705Z TRACE pkt{path_id=2}:recv{space=Data pn=0}: noq_proto::connection: discarding packet for unknown path path_id=2 number=Some(0) +2026-10-11T17:31:27.219743Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (40 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33516) using id 6668bd1dee3c9cf0 +2026-10-11T17:31:27.219777Z TRACE pkt{path_id=0}:recv{space=Data pn=16}: noq_proto::connection: processing frame in closed state frame=PathAck(PathAck { path_id: PathId(0), largest: 18, delay: 1412, ranges: [14..19], ecn: Some(EcnCounts { ect0: 9, ect1: 0, ce: 0 }) }) +2026-10-11T17:31:27.219800Z TRACE pkt{path_id=0}:recv{space=Data pn=16}: noq_proto::connection: processing frame in closed state frame=Close(Connection(ConnectionClose { error_code: NO_ERROR, frame_type: None, reason: b"" })) +2026-10-11T17:31:27.219846Z TRACE pkt{path_id=0}:recv{space=Data pn=16}: noq_proto::connection::state: connection state: draining +2026-10-11T17:31:27.219950Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:27.219992Z TRACE send{space=Data pn=20 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:27.220028Z TRACE send{space=Data pn=20 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [11..13] delay: 2616µs +2026-10-11T17:31:27.220065Z TRACE send{space=Data pn=20 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=0 reason='' +2026-10-11T17:31:27.220151Z TRACE send{space=Data pn=20 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=40 +2026-10-11T17:31:27.220180Z TRACE noq_proto::connection: sending 40 bytes in 1 datagrams segment_size=1389 last_datagram_len=40 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33516) diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-2/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-2/client.log new file mode 100644 index 0000000000..e63fa614fe --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-2/client.log @@ -0,0 +1,215 @@ +2026-10-11T17:31:28.198381Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:47495] +2026-10-11T17:31:28.199341Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:31:28.199494Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:31:28.199624Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:31:28.199653Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:31:28.199682Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:31:28.200265Z TRACE noq_proto::endpoint: initial_dcid=de4c8cdf997e9c6c77201dd3f946ee418ad5f554 +2026-10-11T17:31:28.201231Z TRACE noq_proto::token_memory_cache: taking token server_name=ha4e7nbk17opbvaircmjpeiteb56e2dv3ma146vjei403d0fdte0.iroh.invalid found=false +2026-10-11T17:31:28.201628Z TRACE noq_proto::connection: wrote 284 Initial CRYPTO bytes +2026-10-11T17:31:28.202859Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:28.203110Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 284 +2026-10-11T17:31:28.203198Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 857 +2026-10-11T17:31:28.203277Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:28.203364Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: , remote: [fd15:70a:510b:0:eddc:529f:5e23:caf2]:12345) +2026-10-11T17:31:28.203504Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:28.203722Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:47495)] +2026-10-11T17:31:28.232174Z TRACE pkt{path_id=0}: noq_proto::connection: got Initial packet (146 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:47495) using id 0472577b7c4de1c7 +2026-10-11T17:31:28.232292Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: server migrated to new remote network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:47495) prev=(local: , remote: [fd15:70a:510b:0:eddc:529f:5e23:caf2]:12345) +2026-10-11T17:31:28.232373Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: switching remote CID to d2fc953954c49371 +2026-10-11T17:31:28.232409Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection::state: connection state: handshake +2026-10-11T17:31:28.232646Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 90 CRYPTO bytes +2026-10-11T17:31:28.233733Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: Handshake keys ready +2026-10-11T17:31:28.233835Z TRACE pkt{path_id=0}: noq_proto::connection: got Handshake packet (1054 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:47495) using id 0472577b7c4de1c7 +2026-10-11T17:31:28.233972Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 376 CRYPTO bytes +2026-10-11T17:31:28.271787Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: Data keys ready +2026-10-11T17:31:28.271971Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: wrote 181 Handshake CRYPTO bytes +2026-10-11T17:31:28.272128Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: negotiated max idle timeout Some(30s) +2026-10-11T17:31:28.272175Z DEBUG pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:31:28.272196Z DEBUG pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:31:28.272242Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection::state: connection state: established +2026-10-11T17:31:28.272260Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: established +2026-10-11T17:31:28.272443Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (138 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:47495) using id 0472577b7c4de1c7 +2026-10-11T17:31:28.272597Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 1 id: 150bc7d9af022801 +2026-10-11T17:31:28.272649Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 2 id: e685a8be01ad69de +2026-10-11T17:31:28.272671Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 3 id: 930bdc79285f4e05 +2026-10-11T17:31:28.272692Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 4 id: 57a9c9cb6ee4d590 +2026-10-11T17:31:28.272816Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:28.274992Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 5113µs +2026-10-11T17:31:28.275553Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection: will coalesce with next packet +2026-10-11T17:31:28.275686Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=52 +2026-10-11T17:31:28.275753Z TRACE noq_proto::connection: discarding Initial keys +2026-10-11T17:31:28.275871Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 5113µs +2026-10-11T17:31:28.275921Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 181 +2026-10-11T17:31:28.275976Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 912 +2026-10-11T17:31:28.276012Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1148 +2026-10-11T17:31:28.276062Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:28.276075Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:47495) +2026-10-11T17:31:28.276233Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:28.276248Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:28.276292Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1326 +2026-10-11T17:31:28.276313Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:28.276326Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:28.276336Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1298 +2026-10-11T17:31:28.276359Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1326 +2026-10-11T17:31:28.276387Z TRACE noq_proto::connection: sending 1326 bytes in 1 datagrams segment_size=1326 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:47495) +2026-10-11T17:31:28.276432Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:28.276444Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:28.276996Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:28.277064Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:28.277184Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 1 id: 6814a4cca0d4219c +2026-10-11T17:31:28.277237Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 2 id: b49e24d0dae376c9 +2026-10-11T17:31:28.277257Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 3 id: 300c499e786675df +2026-10-11T17:31:28.277272Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 4 id: 58f174cf56d371b2 +2026-10-11T17:31:28.277286Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: 4807f35f3632a731 +2026-10-11T17:31:28.277300Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: 0c847675bb92eb19 +2026-10-11T17:31:28.277314Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 39426544c3fc4d3b +2026-10-11T17:31:28.277328Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 64653835c89cdd90 +2026-10-11T17:31:28.277342Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: 4687604ef5af6a57 +2026-10-11T17:31:28.277356Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: bac907e30c64656a +2026-10-11T17:31:28.277368Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: dcf5c19a5a1e74ed +2026-10-11T17:31:28.277382Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 726c8374287d66fd +2026-10-11T17:31:28.277396Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: c8f5fbb908e37e5f +2026-10-11T17:31:28.277411Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: f2cb5850c09723d5 +2026-10-11T17:31:28.277424Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: 9349a699480b9d7e +2026-10-11T17:31:28.277437Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 03d041d1c83acb38 +2026-10-11T17:31:28.277451Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: f163e3762e1f0733 +2026-10-11T17:31:28.277468Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: b10d4f14aec74090 +2026-10-11T17:31:28.277481Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 2ff7e1b099b4b800 +2026-10-11T17:31:28.277495Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: a963186de891cea3 +2026-10-11T17:31:28.277508Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 48ea77dced2edd19 +2026-10-11T17:31:28.277521Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 46dcc231f12189b8 +2026-10-11T17:31:28.277536Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: 9279e85235fe20f6 +2026-10-11T17:31:28.277559Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 2ab419e8e006111e +2026-10-11T17:31:28.277573Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 2a1b981145eef7c6 +2026-10-11T17:31:28.277588Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: aa39cec2db32ab2d +2026-10-11T17:31:28.277604Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 9b112b3baf1d5d0f +2026-10-11T17:31:28.277616Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 2880288443c67a68 +2026-10-11T17:31:28.277629Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 596846dd72e0f756 +2026-10-11T17:31:28.277644Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 38478d51a280f785 +2026-10-11T17:31:28.277657Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: 0adb69e3579922bd +2026-10-11T17:31:28.277671Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: 949c7dedd5707d5f +2026-10-11T17:31:28.277685Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 3f4aa4263da79a28 +2026-10-11T17:31:28.277699Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: 1a3ece396b628918 +2026-10-11T17:31:28.277712Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 8e4310afdcacbceb +2026-10-11T17:31:28.277730Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: cfc8b5c419ad3225 +2026-10-11T17:31:28.277746Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 6206ea2f6d99c2aa +2026-10-11T17:31:28.277761Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 0bbfec771ef1b065 +2026-10-11T17:31:28.277852Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1166 +2026-10-11T17:31:28.287546Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1166 prev_segment_size=1200 +2026-10-11T17:31:28.287687Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=2.260156ms +2026-10-11T17:31:28.287740Z TRACE noq_proto::connection: sending 1166 bytes in 1 datagrams segment_size=1166 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:47495) +2026-10-11T17:31:28.294061Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:28.294159Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=2.260156ms +2026-10-11T17:31:28.294286Z TRACE timer_fired{scope="path" path_id=0 timer=Pacing}: noq_proto::connection: timeout +2026-10-11T17:31:28.295318Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(94624636482880) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:40150, 10.200.0.2:40150, 127.0.0.1:40150} +2026-10-11T17:31:28.295557Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(94624636482880) send_tasks=FuturesUnorderedBounded { len: 0, .. }}:do_holepunching: noq_proto::n0_nat_traversal: initiating NAT traversal round round=1 reach_out=3 to_probe=0 +2026-10-11T17:31:28.296250Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=97.649383 remote_info=["Ip(127.0.0.1:47495)/Active"] +2026-10-11T17:31:28.296324Z TRACE noq_proto::connection::streams: wrote 6 bytes stream=client bidirectional stream 0 +2026-10-11T17:31:28.296500Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:28.296549Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:28.296616Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 10.200.0.1:40150 +2026-10-11T17:31:28.296649Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 10.200.0.2:40150 +2026-10-11T17:31:28.296662Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 127.0.0.1:40150 +2026-10-11T17:31:28.296682Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:28.296725Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 6a138d31fc70fd7d +2026-10-11T17:31:28.296760Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=STREAM id: client bidirectional stream 0 off: 0 len: 6 fin: true +2026-10-11T17:31:28.296836Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=102 +2026-10-11T17:31:28.296892Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=102 prev_segment_size=1200 +2026-10-11T17:31:28.306085Z TRACE noq_proto::connection: sending 102 bytes in 1 datagrams segment_size=102 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:47495) +2026-10-11T17:31:28.309087Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:28.309183Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:28.332233Z TRACE pkt{path_id=0}: noq_proto::connection: discarding packet from unrecognized peer path_id=0 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:47495) known_path.network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:47495) +2026-10-11T17:31:28.332380Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:28.332406Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:28.334719Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:47495) using id 6814a4cca0d4219c +2026-10-11T17:31:28.336020Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame PATH_CHALLENGE(2984311f5e55106c) +2026-10-11T17:31:28.336184Z TRACE pkt{path_id=0}: noq_proto::connection: discarding packet from unrecognized peer path_id=0 network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:47495) known_path.network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:47495) +2026-10-11T17:31:28.336250Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (223 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:47495) using id 6814a4cca0d4219c +2026-10-11T17:31:28.336384Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame HANDSHAKE_DONE +2026-10-11T17:31:28.336408Z TRACE pkt{path_id=0}:recv{space=Data pn=5}:frame{ty=HANDSHAKE_DONE}: noq_proto::connection: discarding Handshake keys +2026-10-11T17:31:28.336530Z TRACE pkt{path_id=0}:recv{space=Data pn=5}:frame{ty=HANDSHAKE_DONE}: noq_proto::connection: handshake confirmed +2026-10-11T17:31:28.336594Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..3] delay: 3090µs +2026-10-11T17:31:28.336658Z TRACE pkt{path_id=0}:recv{space=Data pn=5}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1326 +2026-10-11T17:31:28.336812Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame CRYPTO offset=0 len=178 +2026-10-11T17:31:28.336850Z TRACE pkt{path_id=0}:recv{space=Data pn=5}:frame{ty=CRYPTO}: noq_proto::connection: consumed 178 CRYPTO bytes +2026-10-11T17:31:28.337133Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame PATH_RETIRE_CONNECTION_ID path_id: 0 seq: 0 +2026-10-11T17:31:28.343562Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1326 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:47495) using id 6814a4cca0d4219c +2026-10-11T17:31:28.343692Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PING +2026-10-11T17:31:28.343724Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:28.344026Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1076 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:47495) using id 6814a4cca0d4219c +2026-10-11T17:31:28.344101Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: 08ab6a9d1a1026f5 +2026-10-11T17:31:28.344145Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: d9423f90c1853a01 +2026-10-11T17:31:28.344170Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 8a06fbeb8d76be01 +2026-10-11T17:31:28.344193Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 8cae08c1f9112b04 +2026-10-11T17:31:28.344217Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: 53c22d5d37c6dff3 +2026-10-11T17:31:28.344243Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: b45b528f52346422 +2026-10-11T17:31:28.344271Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: ced7c644a010daef +2026-10-11T17:31:28.344297Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: ada8c157517120a0 +2026-10-11T17:31:28.344324Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 57fb2311ef242b92 +2026-10-11T17:31:28.344348Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 19a5c6d461c87604 +2026-10-11T17:31:28.344371Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: 5a84556199d52080 +2026-10-11T17:31:28.344403Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: c8c3712a0ba45a35 +2026-10-11T17:31:28.344430Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 8ca06f4c4c92b06e +2026-10-11T17:31:28.344457Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: d4332bd0a58b237a +2026-10-11T17:31:28.344486Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 6caff6eb8a9b46e2 +2026-10-11T17:31:28.344512Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: 048fb7a7b10f1801 +2026-10-11T17:31:28.344541Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 72d2410a32d35f28 +2026-10-11T17:31:28.344575Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 8a2c94ddb9e95310 +2026-10-11T17:31:28.344651Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: 96e33111c24be02f +2026-10-11T17:31:28.344698Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 6591310d8b9eb53f +2026-10-11T17:31:28.344738Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: a95ce4a1e43517ff +2026-10-11T17:31:28.344779Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: d814041ca56cf426 +2026-10-11T17:31:28.344820Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 297dd740c2124700 +2026-10-11T17:31:28.344862Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 799e01c6fac3fc8e +2026-10-11T17:31:28.351672Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 500dcedd4b6417ba +2026-10-11T17:31:28.351833Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 2141c919c64c91f0 +2026-10-11T17:31:28.351879Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: 76d4d4ef0894f774 +2026-10-11T17:31:28.351944Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: 54348f14aed35997 +2026-10-11T17:31:28.351975Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 256be431d9833a14 +2026-10-11T17:31:28.352002Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: 7ef5040ec2323168 +2026-10-11T17:31:28.352029Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 0542118e781d68cf +2026-10-11T17:31:28.352070Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: fe9b0e766eab21ea +2026-10-11T17:31:28.352098Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 1d30309daab78985 +2026-10-11T17:31:28.352133Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: f026fe550b8607f2 +2026-10-11T17:31:28.352167Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 814735328c24675b +2026-10-11T17:31:28.352336Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (63 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:47495) using id 6814a4cca0d4219c +2026-10-11T17:31:28.352465Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: got frame ADD_IPV_4_ADDRESS seq_no: 2 addr: 127.0.0.1:47495 +2026-10-11T17:31:28.352511Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: got frame ADD_IPV_4_ADDRESS seq_no: 1 addr: 10.200.0.2:47495 +2026-10-11T17:31:28.352536Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: got frame ADD_IPV_4_ADDRESS seq_no: 0 addr: 10.200.0.1:47495 +2026-10-11T17:31:28.352560Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: got frame PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:28.352593Z DEBUG pkt{path_id=0}:recv{space=Data pn=8}:frame{ty=PATH_STATUS_AVAILABLE path=0}: noq_proto::connection::paths: remote changed path status status=Available seq=2 +2026-10-11T17:31:28.352656Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:47495) using id 6814a4cca0d4219c +2026-10-11T17:31:28.352701Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_CHALLENGE(8aef80d7f46b3760) +2026-10-11T17:31:28.352760Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 10.200.0.1, remote: [::ffff:10.200.0.1]:47495) using id 6814a4cca0d4219c +2026-10-11T17:31:28.352798Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: got frame PATH_CHALLENGE(191e064ded80bb54) +2026-10-11T17:31:28.352832Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:47495) using id 6814a4cca0d4219c +2026-10-11T17:31:28.352868Z TRACE pkt{path_id=0}:recv{space=Data pn=11}: noq_proto::connection: got frame PATH_CHALLENGE(a3e0fa6f5ddb1ac0) +2026-10-11T17:31:28.352917Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:47495) using id 6814a4cca0d4219c +2026-10-11T17:31:28.352966Z TRACE pkt{path_id=0}:recv{space=Data pn=12}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..3] delay: 5392µs +2026-10-11T17:31:28.353015Z TRACE pkt{path_id=0}:recv{space=Data pn=12}: noq_proto::connection: got frame CONNECTION_CLOSE error_code=4098 reason='not on allowlist' +2026-10-11T17:31:28.353048Z TRACE pkt{path_id=0}:recv{space=Data pn=12}: noq_proto::connection::state: connection state: draining +2026-10-11T17:31:28.353074Z TRACE pkt{path_id=0}: noq_proto::connection: connection closed +2026-10-11T17:31:28.353166Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:28.353205Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:28.353240Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..1,3..4,5..13] delay: 260µs +2026-10-11T17:31:28.353285Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=0 reason='' +2026-10-11T17:31:28.353319Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=44 +2026-10-11T17:31:28.353347Z TRACE noq_proto::connection: sending 44 bytes in 1 datagrams segment_size=1326 last_datagram_len=44 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:47495) +2026-10-11T17:31:28.353757Z TRACE noq_proto::endpoint: local CID retired 0: 0472577b7c4de1c7 path_id=0 +2026-10-11T17:31:28.358659Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=160.04064200000002 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:31:28.359468Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=160.858277 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:47495)/Active"] +2026-10-11T17:31:28.359733Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94624636482880) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:31:28.359842Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(94624636482880) evt=Ok(AddressAdded(127.0.0.1:47495)) +2026-10-11T17:31:28.360071Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37525, tv_nsec: 734730289 }, local_candidates: {10.200.0.1:40150, 10.200.0.2:40150, 127.0.0.1:40150}, remote_candidates: {} } local_candidates={10.200.0.1:40150, 10.200.0.2:40150, 127.0.0.1:40150} remote_candidates={10.200.0.1:47495, 10.200.0.2:47495, 127.0.0.1:47495} +2026-10-11T17:31:28.360154Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:31:28.360241Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(94624636482880) evt=Ok(AddressAdded(10.200.0.2:47495)) +2026-10-11T17:31:28.360278Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37525, tv_nsec: 734730289 }, local_candidates: {10.200.0.1:40150, 10.200.0.2:40150, 127.0.0.1:40150}, remote_candidates: {} } local_candidates={10.200.0.1:40150, 10.200.0.2:40150, 127.0.0.1:40150} remote_candidates={10.200.0.1:47495, 10.200.0.2:47495, 127.0.0.1:47495} +2026-10-11T17:31:28.360317Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:31:28.360364Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(94624636482880) evt=Ok(AddressAdded(10.200.0.1:47495)) +2026-10-11T17:31:28.360396Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37525, tv_nsec: 734730289 }, local_candidates: {10.200.0.1:40150, 10.200.0.2:40150, 127.0.0.1:40150}, remote_candidates: {} } local_candidates={10.200.0.1:40150, 10.200.0.2:40150, 127.0.0.1:40150} remote_candidates={10.200.0.1:47495, 10.200.0.2:47495, 127.0.0.1:47495} +2026-10-11T17:31:28.360430Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:31:28.360559Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:31:28.561032Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:47495)/Active"] +2026-10-11T17:31:28.565113Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:31:28.565220Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-2/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-2/ready.txt new file mode 100644 index 0000000000..4bc268f958 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-2/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=47495 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-2/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-2/server.log new file mode 100644 index 0000000000..223fd9f291 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-2/server.log @@ -0,0 +1,213 @@ +2026-10-11T17:31:28.110599Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=47495 direct=["10.200.0.1:47495", "10.200.0.2:47495", "127.0.0.1:47495"] +2026-10-11T17:31:28.208574Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:40150) alpns=["n30/allowlist/0"] +2026-10-11T17:31:28.209389Z TRACE first recv:frame{ty=CRYPTO}: noq_proto::connection: consumed 284 CRYPTO bytes +2026-10-11T17:31:28.211548Z TRACE first recv: noq_proto::connection: Handshake keys ready +2026-10-11T17:31:28.211631Z TRACE first recv: noq_proto::connection: wrote 90 Initial CRYPTO bytes +2026-10-11T17:31:28.211715Z TRACE first recv: noq_proto::connection: Data keys ready +2026-10-11T17:31:28.211775Z TRACE first recv: noq_proto::connection: wrote 376 Handshake CRYPTO bytes +2026-10-11T17:31:28.211840Z TRACE first recv: noq_proto::connection: negotiated max idle timeout Some(30s) +2026-10-11T17:31:28.211859Z DEBUG first recv: noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:31:28.211874Z DEBUG first recv: noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:31:28.229287Z TRACE noq_proto::endpoint: new connection id=0 icid=de4c8cdf997e9c6c77201dd3f946ee418ad5f554 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40150) +2026-10-11T17:31:28.229797Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:28.230032Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 3178µs +2026-10-11T17:31:28.230121Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 90 +2026-10-11T17:31:28.230173Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection: will coalesce with next packet +2026-10-11T17:31:28.230247Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=146 +2026-10-11T17:31:28.230348Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 376 +2026-10-11T17:31:28.230385Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 632 +2026-10-11T17:31:28.230416Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1054 +2026-10-11T17:31:28.230450Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:28.230465Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40150) +2026-10-11T17:31:28.230483Z TRACE noq_proto::connection::paths: anti amplification budget decreased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40150) anti_amplification_budget=2352 +2026-10-11T17:31:28.230695Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:28.230709Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:28.230720Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:28.231089Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:28.231116Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:28.231135Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:28.231240Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 1 id: 150bc7d9af022801 +2026-10-11T17:31:28.231288Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 2 id: e685a8be01ad69de +2026-10-11T17:31:28.231302Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 3 id: 930bdc79285f4e05 +2026-10-11T17:31:28.231316Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 4 id: 57a9c9cb6ee4d590 +2026-10-11T17:31:28.231368Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=138 +2026-10-11T17:31:28.231416Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=138 prev_segment_size=1200 +2026-10-11T17:31:28.231435Z TRACE noq_proto::connection: sending 138 bytes in 1 datagrams segment_size=138 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40150) +2026-10-11T17:31:28.231449Z TRACE noq_proto::connection::paths: anti amplification budget decreased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40150) anti_amplification_budget=2214 +2026-10-11T17:31:28.231523Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:28.231536Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:28.231548Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:28.280750Z TRACE pkt{path_id=0}: noq_proto::connection: got Initial packet (52 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40150) using id d2fc953954c49371 +2026-10-11T17:31:28.281104Z TRACE pkt{path_id=0}: noq_proto::connection::paths: anti amplification budget increased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40150) anti_amplification_budget=2370 +2026-10-11T17:31:28.281154Z TRACE pkt{path_id=0}: noq_proto::connection::paths: anti amplification budget increased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40150) anti_amplification_budget=5814 +2026-10-11T17:31:28.281222Z TRACE pkt{path_id=0}: noq_proto::connection: got Handshake packet (1148 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40150) using id d2fc953954c49371 +2026-10-11T17:31:28.281342Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: discarding Initial keys +2026-10-11T17:31:28.281475Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 181 CRYPTO bytes +2026-10-11T17:31:28.320615Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: wrote 178 Data CRYPTO bytes +2026-10-11T17:31:28.320799Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: discarding Handshake keys +2026-10-11T17:31:28.322510Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: handshake confirmed +2026-10-11T17:31:28.322642Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection::state: connection state: established +2026-10-11T17:31:28.322660Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: established +2026-10-11T17:31:28.322864Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1326 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40150) using id d2fc953954c49371 +2026-10-11T17:31:28.325387Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame PING +2026-10-11T17:31:28.325519Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:28.326020Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1166 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40150) using id d2fc953954c49371 +2026-10-11T17:31:28.326161Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 1 id: 6814a4cca0d4219c +2026-10-11T17:31:28.326252Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 2 id: b49e24d0dae376c9 +2026-10-11T17:31:28.326304Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 3 id: 300c499e786675df +2026-10-11T17:31:28.326354Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 4 id: 58f174cf56d371b2 +2026-10-11T17:31:28.326390Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: 4807f35f3632a731 +2026-10-11T17:31:28.326442Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: 0c847675bb92eb19 +2026-10-11T17:31:28.326474Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 39426544c3fc4d3b +2026-10-11T17:31:28.326505Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 64653835c89cdd90 +2026-10-11T17:31:28.326532Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: 4687604ef5af6a57 +2026-10-11T17:31:28.326561Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: bac907e30c64656a +2026-10-11T17:31:28.326591Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: dcf5c19a5a1e74ed +2026-10-11T17:31:28.326620Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 726c8374287d66fd +2026-10-11T17:31:28.326648Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: c8f5fbb908e37e5f +2026-10-11T17:31:28.326679Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: f2cb5850c09723d5 +2026-10-11T17:31:28.326708Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: 9349a699480b9d7e +2026-10-11T17:31:28.326743Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 03d041d1c83acb38 +2026-10-11T17:31:28.326771Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: f163e3762e1f0733 +2026-10-11T17:31:28.326797Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: b10d4f14aec74090 +2026-10-11T17:31:28.326824Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 2ff7e1b099b4b800 +2026-10-11T17:31:28.326851Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: a963186de891cea3 +2026-10-11T17:31:28.326881Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 48ea77dced2edd19 +2026-10-11T17:31:28.326934Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 46dcc231f12189b8 +2026-10-11T17:31:28.326962Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: 9279e85235fe20f6 +2026-10-11T17:31:28.326989Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 2ab419e8e006111e +2026-10-11T17:31:28.327015Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 2a1b981145eef7c6 +2026-10-11T17:31:28.327042Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: aa39cec2db32ab2d +2026-10-11T17:31:28.327070Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 9b112b3baf1d5d0f +2026-10-11T17:31:28.327098Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 2880288443c67a68 +2026-10-11T17:31:28.327130Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 596846dd72e0f756 +2026-10-11T17:31:28.327168Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 38478d51a280f785 +2026-10-11T17:31:28.327197Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: 0adb69e3579922bd +2026-10-11T17:31:28.327244Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: 949c7dedd5707d5f +2026-10-11T17:31:28.327272Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 3f4aa4263da79a28 +2026-10-11T17:31:28.327300Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: 1a3ece396b628918 +2026-10-11T17:31:28.327327Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 8e4310afdcacbceb +2026-10-11T17:31:28.327370Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: cfc8b5c419ad3225 +2026-10-11T17:31:28.327393Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 6206ea2f6d99c2aa +2026-10-11T17:31:28.327416Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 0bbfec771ef1b065 +2026-10-11T17:31:28.327522Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (102 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40150) using id d2fc953954c49371 +2026-10-11T17:31:28.327614Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 10.200.0.1:40150 +2026-10-11T17:31:28.327669Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 10.200.0.2:40150 +2026-10-11T17:31:28.327694Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 127.0.0.1:40150 +2026-10-11T17:31:28.327719Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:28.327759Z DEBUG pkt{path_id=0}:recv{space=Data pn=2}:frame{ty=PATH_STATUS_AVAILABLE path=0}: noq_proto::connection::paths: remote changed path status status=Available seq=2 +2026-10-11T17:31:28.327800Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 6a138d31fc70fd7d +2026-10-11T17:31:28.327847Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame STREAM id=client bidirectional stream 0 offset=0 len=6 fin=true +2026-10-11T17:31:28.331328Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(d3d2a0d856c75895) msg="(nat-traversal)" +2026-10-11T17:31:28.331471Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:28.331515Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.2, 40150) len=35 +2026-10-11T17:31:28.332658Z TRACE noq_proto::connection::spaces: skipping pn 2 +2026-10-11T17:31:28.332759Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(2984311f5e55106c) msg="(nat-traversal)" +2026-10-11T17:31:28.332823Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:28.332860Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:127.0.0.1, 40150) len=35 +2026-10-11T17:31:28.333009Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(add560b42fec082d) msg="(nat-traversal)" +2026-10-11T17:31:28.333045Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:28.333076Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.1, 40150) len=35 +2026-10-11T17:31:28.333175Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:28.333213Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=HANDSHAKE_DONE +2026-10-11T17:31:28.333264Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..3] delay: 3090µs +2026-10-11T17:31:28.333299Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 178 +2026-10-11T17:31:28.333335Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RETIRE_CONNECTION_ID path_id: 0 seq: 0 +2026-10-11T17:31:28.333380Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=223 +2026-10-11T17:31:28.333439Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=223 prev_segment_size=1200 +2026-10-11T17:31:28.333462Z TRACE noq_proto::connection: sending 223 bytes in 1 datagrams segment_size=223 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40150) +2026-10-11T17:31:28.333518Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:28.333567Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1326 +2026-10-11T17:31:28.333591Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:28.333607Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:28.333620Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1298 +2026-10-11T17:31:28.333643Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1326 +2026-10-11T17:31:28.333678Z TRACE noq_proto::connection: sending 1326 bytes in 1 datagrams segment_size=1326 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40150) +2026-10-11T17:31:28.333734Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:28.337658Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:28.337944Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: 08ab6a9d1a1026f5 +2026-10-11T17:31:28.338007Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: d9423f90c1853a01 +2026-10-11T17:31:28.338025Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 8a06fbeb8d76be01 +2026-10-11T17:31:28.338041Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 8cae08c1f9112b04 +2026-10-11T17:31:28.338055Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: 53c22d5d37c6dff3 +2026-10-11T17:31:28.338070Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: b45b528f52346422 +2026-10-11T17:31:28.338084Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: ced7c644a010daef +2026-10-11T17:31:28.338097Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: ada8c157517120a0 +2026-10-11T17:31:28.338111Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 57fb2311ef242b92 +2026-10-11T17:31:28.338124Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 19a5c6d461c87604 +2026-10-11T17:31:28.338138Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: 5a84556199d52080 +2026-10-11T17:31:28.338164Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: c8c3712a0ba45a35 +2026-10-11T17:31:28.338179Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 8ca06f4c4c92b06e +2026-10-11T17:31:28.338194Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: d4332bd0a58b237a +2026-10-11T17:31:28.338207Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 6caff6eb8a9b46e2 +2026-10-11T17:31:28.338220Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: 048fb7a7b10f1801 +2026-10-11T17:31:28.338234Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 72d2410a32d35f28 +2026-10-11T17:31:28.338248Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 8a2c94ddb9e95310 +2026-10-11T17:31:28.338261Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: 96e33111c24be02f +2026-10-11T17:31:28.338275Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 6591310d8b9eb53f +2026-10-11T17:31:28.338289Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: a95ce4a1e43517ff +2026-10-11T17:31:28.338304Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: d814041ca56cf426 +2026-10-11T17:31:28.338319Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 297dd740c2124700 +2026-10-11T17:31:28.338333Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 799e01c6fac3fc8e +2026-10-11T17:31:28.338346Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 500dcedd4b6417ba +2026-10-11T17:31:28.338361Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 2141c919c64c91f0 +2026-10-11T17:31:28.338376Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: 76d4d4ef0894f774 +2026-10-11T17:31:28.338390Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: 54348f14aed35997 +2026-10-11T17:31:28.338405Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 256be431d9833a14 +2026-10-11T17:31:28.338420Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: 7ef5040ec2323168 +2026-10-11T17:31:28.338434Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 0542118e781d68cf +2026-10-11T17:31:28.338448Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: fe9b0e766eab21ea +2026-10-11T17:31:28.338461Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 1d30309daab78985 +2026-10-11T17:31:28.338480Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: f026fe550b8607f2 +2026-10-11T17:31:28.338502Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 814735328c24675b +2026-10-11T17:31:28.338578Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1076 +2026-10-11T17:31:28.338660Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1076 prev_segment_size=1200 +2026-10-11T17:31:28.338694Z TRACE noq_proto::connection: sending 1076 bytes in 1 datagrams segment_size=1076 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40150) +2026-10-11T17:31:28.338958Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:28.340129Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:31:28.340545Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(128493073472000) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:47495, 10.200.0.2:47495, 127.0.0.1:47495} +2026-10-11T17:31:28.340755Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(128493073472000) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:31:28.341748Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:28.341924Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=ADD_IPV_4_ADDRESS seq_no: 2 addr: 127.0.0.1:47495 +2026-10-11T17:31:28.342007Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=ADD_IPV_4_ADDRESS seq_no: 1 addr: 10.200.0.2:47495 +2026-10-11T17:31:28.342027Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=ADD_IPV_4_ADDRESS seq_no: 0 addr: 10.200.0.1:47495 +2026-10-11T17:31:28.342051Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:28.342139Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=63 +2026-10-11T17:31:28.342219Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=63 prev_segment_size=1200 +2026-10-11T17:31:28.342244Z TRACE noq_proto::connection: sending 63 bytes in 1 datagrams segment_size=63 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40150) +2026-10-11T17:31:28.342400Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:28.342484Z TRACE timeout{scope="conn" timer=NatTraversalProbeRetry}: noq_proto::connection: timeout +2026-10-11T17:31:28.342523Z TRACE timeout{scope="conn" timer=NatTraversalProbeRetry}: noq_proto::connection: re-queued NAT probes +2026-10-11T17:31:28.342641Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(8aef80d7f46b3760) msg="(nat-traversal)" +2026-10-11T17:31:28.342679Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:28.342717Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:127.0.0.1, 40150) len=35 +2026-10-11T17:31:28.342788Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(191e064ded80bb54) msg="(nat-traversal)" +2026-10-11T17:31:28.342828Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:28.342846Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.1, 40150) len=35 +2026-10-11T17:31:28.342889Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(a3e0fa6f5ddb1ac0) msg="(nat-traversal)" +2026-10-11T17:31:28.342929Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:28.342962Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.2, 40150) len=35 +2026-10-11T17:31:28.343007Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:28.347973Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:31:28.348135Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:31:28.348273Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:31:28.348602Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:40150)/Active"] +2026-10-11T17:31:28.348926Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:28.349120Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:40150)/Active"] +2026-10-11T17:31:28.349232Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:40150)/Active"] +2026-10-11T17:31:28.349258Z TRACE noq_proto::connection: connection closed +2026-10-11T17:31:28.349280Z TRACE noq_proto::connection::state: connection state: closed remote_reason=Application(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) is_local=true +2026-10-11T17:31:28.349376Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:31:28.349513Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:31:28.349614Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:28.349683Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:28.349722Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..3] delay: 5392µs +2026-10-11T17:31:28.349780Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=4098 reason='not on allowlist' +2026-10-11T17:31:28.349856Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:28.349912Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=1200 last_datagram_len=56 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40150) +2026-10-11T17:31:28.354497Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (44 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40150) using id d2fc953954c49371 +2026-10-11T17:31:28.354684Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: processing frame in closed state frame=PathAck(PathAck { path_id: PathId(0), largest: 12, delay: 260, ranges: [0..1,3..4,5..13], ecn: Some(EcnCounts { ect0: 6, ect1: 0, ce: 0 }) }) +2026-10-11T17:31:28.354751Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: processing frame in closed state frame=Close(Connection(ConnectionClose { error_code: NO_ERROR, frame_type: None, reason: b"" })) +2026-10-11T17:31:28.354789Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection::state: connection state: draining +2026-10-11T17:31:28.803750Z TRACE timeout{scope="conn" timer=Close}: noq_proto::connection: timeout +2026-10-11T17:31:28.803846Z TRACE timeout{scope="conn" timer=Close}: noq_proto::connection::state: connection state: drained diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-3/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-3/client.log new file mode 100644 index 0000000000..51267abbcd --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-3/client.log @@ -0,0 +1,268 @@ +2026-10-11T17:31:29.341011Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:33240] +2026-10-11T17:31:29.342310Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:31:29.342510Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:31:29.342634Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:31:29.342652Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:31:29.342678Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:31:29.343084Z TRACE noq_proto::endpoint: initial_dcid=9e54a445942692924c660e6045a5135c8ac2f227 +2026-10-11T17:31:29.343956Z TRACE noq_proto::token_memory_cache: taking token server_name=ha4e7nbk17opbvaircmjpeiteb56e2dv3ma146vjei403d0fdte0.iroh.invalid found=false +2026-10-11T17:31:29.344373Z TRACE noq_proto::connection: wrote 293 Initial CRYPTO bytes +2026-10-11T17:31:29.347297Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:29.347577Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 293 +2026-10-11T17:31:29.347663Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 848 +2026-10-11T17:31:29.347738Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:29.347838Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: , remote: [fd15:70a:510b:0:8753:d273:bbaa:ff4f]:12345) +2026-10-11T17:31:29.348325Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:29.348601Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:33240)] +2026-10-11T17:31:29.362116Z TRACE pkt{path_id=0}: noq_proto::connection: got Initial packet (146 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33240) using id 06429348b2de873c +2026-10-11T17:31:29.362251Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: server migrated to new remote network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33240) prev=(local: , remote: [fd15:70a:510b:0:8753:d273:bbaa:ff4f]:12345) +2026-10-11T17:31:29.362308Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: switching remote CID to 6c21ae9024f8ce5f +2026-10-11T17:31:29.362343Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection::state: connection state: handshake +2026-10-11T17:31:29.362525Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 90 CRYPTO bytes +2026-10-11T17:31:29.363389Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: Handshake keys ready +2026-10-11T17:31:29.363495Z TRACE pkt{path_id=0}: noq_proto::connection: got Handshake packet (1054 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33240) using id 06429348b2de873c +2026-10-11T17:31:29.363624Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 391 CRYPTO bytes +2026-10-11T17:31:29.382517Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: Data keys ready +2026-10-11T17:31:29.382694Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: wrote 181 Handshake CRYPTO bytes +2026-10-11T17:31:29.382798Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: negotiated max idle timeout Some(30s) +2026-10-11T17:31:29.382848Z DEBUG pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:31:29.382869Z DEBUG pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:31:29.382934Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection::state: connection state: established +2026-10-11T17:31:29.382956Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: established +2026-10-11T17:31:29.383099Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (138 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33240) using id 06429348b2de873c +2026-10-11T17:31:29.383218Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 1 id: d3097f5123a87986 +2026-10-11T17:31:29.383274Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 2 id: f29ca9d6fed2c522 +2026-10-11T17:31:29.383300Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 3 id: 8085adf1431120e0 +2026-10-11T17:31:29.383326Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 4 id: e0f7c6a9f5e4ae36 +2026-10-11T17:31:29.383434Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:29.383508Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 2718µs +2026-10-11T17:31:29.383581Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection: will coalesce with next packet +2026-10-11T17:31:29.383628Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=52 +2026-10-11T17:31:29.383674Z TRACE noq_proto::connection: discarding Initial keys +2026-10-11T17:31:29.383756Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 2718µs +2026-10-11T17:31:29.383789Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 181 +2026-10-11T17:31:29.383827Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 912 +2026-10-11T17:31:29.383858Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1148 +2026-10-11T17:31:29.383923Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:29.383946Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33240) +2026-10-11T17:31:29.389137Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:29.389261Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:29.389393Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1326 +2026-10-11T17:31:29.389453Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:29.389484Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:29.389496Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1298 +2026-10-11T17:31:29.389617Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1326 +2026-10-11T17:31:29.389776Z TRACE noq_proto::connection: sending 1326 bytes in 1 datagrams segment_size=1326 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33240) +2026-10-11T17:31:29.390009Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:29.390050Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:29.391652Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:29.392478Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:29.392537Z TRACE noq_proto::connection::spaces: skipping pn 1 +2026-10-11T17:31:29.392707Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 1 id: 6f6c6c3d73fd11fd +2026-10-11T17:31:29.392765Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 2 id: 7d4436edba50e8ae +2026-10-11T17:31:29.392779Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 3 id: b7211be0e1ae807a +2026-10-11T17:31:29.392792Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 4 id: cf4b634876418d5b +2026-10-11T17:31:29.392806Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: be153d53082de2cc +2026-10-11T17:31:29.392821Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: 7bc3985e7e04984a +2026-10-11T17:31:29.392835Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 2311ea6fe4e71317 +2026-10-11T17:31:29.392848Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 97bc20ed3b4c5cb2 +2026-10-11T17:31:29.392861Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: dc6c6fea41ecb86a +2026-10-11T17:31:29.392881Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 29e366369dfc9887 +2026-10-11T17:31:29.392910Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: 2968c1f8d2c90fdc +2026-10-11T17:31:29.392927Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 68c28b3bd036edd9 +2026-10-11T17:31:29.392940Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 31d5b304464124da +2026-10-11T17:31:29.392952Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 1c32a4c88456e332 +2026-10-11T17:31:29.392965Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: 941b417b13128471 +2026-10-11T17:31:29.392978Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 03f9a30f1c53985f +2026-10-11T17:31:29.392992Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 39ceba651019a6d0 +2026-10-11T17:31:29.393007Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 8d264e2d5bce0333 +2026-10-11T17:31:29.393020Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 7051c23d05b989b5 +2026-10-11T17:31:29.393034Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: 243fadb4127a937b +2026-10-11T17:31:29.393048Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 58e593df675e41f5 +2026-10-11T17:31:29.393062Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 079577c5ccd05505 +2026-10-11T17:31:29.393075Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: a4e4a28c0cb41114 +2026-10-11T17:31:29.393096Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 62116f209a74997e +2026-10-11T17:31:29.393110Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 0ea202e7c023a459 +2026-10-11T17:31:29.393124Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 564b7676905237e4 +2026-10-11T17:31:29.393137Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 988740762f061f1a +2026-10-11T17:31:29.393150Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 3e04349e5e21ddc9 +2026-10-11T17:31:29.393164Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 4ec416aa1da6b641 +2026-10-11T17:31:29.393177Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 5c5566d5be1ce994 +2026-10-11T17:31:29.393191Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: e5983458ff789eeb +2026-10-11T17:31:29.393204Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: bb68bc13691f5bd8 +2026-10-11T17:31:29.393217Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 10bfa3e90469cc0e +2026-10-11T17:31:29.393231Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: 20ee2edb379a02eb +2026-10-11T17:31:29.393243Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: ecb170cafda47174 +2026-10-11T17:31:29.393257Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: 8447180ffe907df1 +2026-10-11T17:31:29.393271Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: d55895858fae1b55 +2026-10-11T17:31:29.393285Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: e4eb14fe78582142 +2026-10-11T17:31:29.393361Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1166 +2026-10-11T17:31:29.393454Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1166 prev_segment_size=1200 +2026-10-11T17:31:29.393491Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=1.128752ms +2026-10-11T17:31:29.393512Z TRACE noq_proto::connection: sending 1166 bytes in 1 datagrams segment_size=1166 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33240) +2026-10-11T17:31:29.395358Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:29.395456Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=1.128752ms +2026-10-11T17:31:29.395617Z TRACE timer_fired{scope="path" path_id=0 timer=Pacing}: noq_proto::connection: timeout +2026-10-11T17:31:29.396804Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(95213788757952) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:37759, 10.200.0.2:37759, 127.0.0.1:37759} +2026-10-11T17:31:29.397308Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(95213788757952) send_tasks=FuturesUnorderedBounded { len: 0, .. }}:do_holepunching: noq_proto::n0_nat_traversal: initiating NAT traversal round round=1 reach_out=3 to_probe=0 +2026-10-11T17:31:29.398450Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=57.302265999999996 remote_info=["Ip(127.0.0.1:33240)/Active"] +2026-10-11T17:31:29.398598Z TRACE noq_proto::connection::streams: wrote 6 bytes stream=client bidirectional stream 0 +2026-10-11T17:31:29.400498Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:29.400639Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:29.401168Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 127.0.0.1:37759 +2026-10-11T17:31:29.401359Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 10.200.0.1:37759 +2026-10-11T17:31:29.401384Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 10.200.0.2:37759 +2026-10-11T17:31:29.401419Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:29.401484Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: fea03bd2c2acc99a +2026-10-11T17:31:29.401541Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=STREAM id: client bidirectional stream 0 off: 0 len: 6 fin: true +2026-10-11T17:31:29.401655Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=102 +2026-10-11T17:31:29.401810Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=102 prev_segment_size=1200 +2026-10-11T17:31:29.401859Z TRACE noq_proto::connection: sending 102 bytes in 1 datagrams segment_size=102 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33240) +2026-10-11T17:31:29.403974Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:29.404080Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:29.418736Z TRACE pkt{path_id=0}: noq_proto::connection: discarding packet from unrecognized peer path_id=0 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:33240) known_path.network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33240) +2026-10-11T17:31:29.418860Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:29.418884Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:29.420337Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33240) using id 6f6c6c3d73fd11fd +2026-10-11T17:31:29.420540Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_CHALLENGE(7e675e959ba081ac) +2026-10-11T17:31:29.420654Z TRACE pkt{path_id=0}: noq_proto::connection: discarding packet from unrecognized peer path_id=0 network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:33240) known_path.network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33240) +2026-10-11T17:31:29.422144Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (225 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33240) using id 6f6c6c3d73fd11fd +2026-10-11T17:31:29.422298Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame HANDSHAKE_DONE +2026-10-11T17:31:29.422329Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=HANDSHAKE_DONE}: noq_proto::connection: discarding Handshake keys +2026-10-11T17:31:29.424013Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=HANDSHAKE_DONE}: noq_proto::connection: handshake confirmed +2026-10-11T17:31:29.424312Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..1,2..4] delay: 1886µs +2026-10-11T17:31:29.424422Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1326 +2026-10-11T17:31:29.424584Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame CRYPTO offset=0 len=178 +2026-10-11T17:31:29.424622Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=CRYPTO}: noq_proto::connection: consumed 178 CRYPTO bytes +2026-10-11T17:31:29.424869Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_RETIRE_CONNECTION_ID path_id: 0 seq: 0 +2026-10-11T17:31:29.425065Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:29.425122Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:29.425163Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3,4..5] delay: 400µs +2026-10-11T17:31:29.425196Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(7e675e959ba081ac) +2026-10-11T17:31:29.425247Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1150 +2026-10-11T17:31:29.425313Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:29.425373Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1200 prev_segment_size=1326 +2026-10-11T17:31:29.425409Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33240) +2026-10-11T17:31:29.425642Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:29.425706Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1389 +2026-10-11T17:31:29.425733Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:29.425748Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:29.425758Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1361 +2026-10-11T17:31:29.425789Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1389 +2026-10-11T17:31:29.425826Z TRACE noq_proto::connection: sending 1389 bytes in 1 datagrams segment_size=1389 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33240) +2026-10-11T17:31:29.431840Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:29.432194Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1326 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33240) using id 6f6c6c3d73fd11fd +2026-10-11T17:31:29.432376Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame PING +2026-10-11T17:31:29.432486Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:29.432857Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1086 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33240) using id 6f6c6c3d73fd11fd +2026-10-11T17:31:29.433009Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [4..6] delay: 246µs +2026-10-11T17:31:29.433095Z TRACE pkt{path_id=0}:recv{space=Data pn=6}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1389 +2026-10-11T17:31:29.433215Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: 0037ca31b5e1bdee +2026-10-11T17:31:29.433280Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: 288b5640b17e5d46 +2026-10-11T17:31:29.433312Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 0a1f45dc387e4af9 +2026-10-11T17:31:29.433376Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: b196213ffd4cfbdb +2026-10-11T17:31:29.433413Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: 20b2057c98bafd5a +2026-10-11T17:31:29.433444Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 685fd1378fbdbd9a +2026-10-11T17:31:29.433472Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: 72e642e3b5149cc8 +2026-10-11T17:31:29.433499Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: b5e45c0d68ca1840 +2026-10-11T17:31:29.433526Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 1beb6ed40d2696a1 +2026-10-11T17:31:29.433556Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 96526f740636eb85 +2026-10-11T17:31:29.433586Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: c23c5e825e9be987 +2026-10-11T17:31:29.433626Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: ef8238d83fcb85a1 +2026-10-11T17:31:29.433667Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 2dd1fae7cfaf23e9 +2026-10-11T17:31:29.433696Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: c498ff1d8dd711c7 +2026-10-11T17:31:29.433725Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 2b48e8dd0fd6847d +2026-10-11T17:31:29.433752Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: a9621f08ec76fb5e +2026-10-11T17:31:29.433781Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 5fc95dce084f5a0b +2026-10-11T17:31:29.433815Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 1a0b1add4a3bb154 +2026-10-11T17:31:29.433845Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: 6741769c3e32505e +2026-10-11T17:31:29.433874Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 1070b8016f935f3e +2026-10-11T17:31:29.433923Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: ff6a121082d8fa95 +2026-10-11T17:31:29.433965Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 5721c5960e740884 +2026-10-11T17:31:29.434000Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: cfaa1157d09642ba +2026-10-11T17:31:29.434033Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 0884c82dfb7499b1 +2026-10-11T17:31:29.434064Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: a86f86bb66988668 +2026-10-11T17:31:29.434093Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: df85ff579d3414fc +2026-10-11T17:31:29.434127Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: 612f9e656d891bef +2026-10-11T17:31:29.434157Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: 33f73624b72f92a8 +2026-10-11T17:31:29.434199Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 9e2cc42da55f1941 +2026-10-11T17:31:29.434231Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: 157ed5f2acfb2085 +2026-10-11T17:31:29.434262Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 34f33ad375ff5ccb +2026-10-11T17:31:29.434320Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: b0b90104264d5d97 +2026-10-11T17:31:29.434354Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: a3f0b8c895105fb1 +2026-10-11T17:31:29.434384Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 25c766530f0c50bc +2026-10-11T17:31:29.434413Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 1613ed0d0e1eeb37 +2026-10-11T17:31:29.434556Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:29.434651Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [5..7] delay: 444µs +2026-10-11T17:31:29.434791Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=36 +2026-10-11T17:31:29.434861Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=36 prev_segment_size=1389 +2026-10-11T17:31:29.435433Z TRACE noq_proto::endpoint: local CID retired 0: 06429348b2de873c path_id=0 +2026-10-11T17:31:29.440785Z TRACE noq_proto::connection: sending 36 bytes in 1 datagrams segment_size=36 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33240) +2026-10-11T17:31:29.443061Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:29.443197Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1420 +2026-10-11T17:31:29.443243Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:29.443259Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:29.443269Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1392 +2026-10-11T17:31:29.443316Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1420 +2026-10-11T17:31:29.443386Z TRACE noq_proto::connection: sending 1420 bytes in 1 datagrams segment_size=1420 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33240) +2026-10-11T17:31:29.447653Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:29.447969Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (63 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33240) using id 6f6c6c3d73fd11fd +2026-10-11T17:31:29.448151Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame ADD_IPV_4_ADDRESS seq_no: 2 addr: 127.0.0.1:33240 +2026-10-11T17:31:29.448240Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame ADD_IPV_4_ADDRESS seq_no: 1 addr: 10.200.0.2:33240 +2026-10-11T17:31:29.448269Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame ADD_IPV_4_ADDRESS seq_no: 0 addr: 10.200.0.1:33240 +2026-10-11T17:31:29.448298Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:29.448343Z DEBUG pkt{path_id=0}:recv{space=Data pn=7}:frame{ty=PATH_STATUS_AVAILABLE path=0}: noq_proto::connection::paths: remote changed path status status=Available seq=2 +2026-10-11T17:31:29.448453Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:33240) using id 6f6c6c3d73fd11fd +2026-10-11T17:31:29.448877Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: got frame PATH_CHALLENGE(fb3472c0c37f87b8) +2026-10-11T17:31:29.449002Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 10.200.0.1, remote: [::ffff:10.200.0.1]:33240) using id 6f6c6c3d73fd11fd +2026-10-11T17:31:29.449323Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_CHALLENGE(5d5991786ad93501) +2026-10-11T17:31:29.449416Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1389 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33240) using id 6f6c6c3d73fd11fd +2026-10-11T17:31:29.449496Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: got frame PING +2026-10-11T17:31:29.449538Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:29.452069Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(5d5991786ad93501) msg="(off-path)" +2026-10-11T17:31:29.452157Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(3cb8aaef3de4f65b) +2026-10-11T17:31:29.452193Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1156 +2026-10-11T17:31:29.452241Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:29.452286Z TRACE noq_proto::connection: sending off-path PATH_RESPONSE dst=[::ffff:10.200.0.1]:33240 src=Some(10.200.0.1) len=1200 +2026-10-11T17:31:29.452801Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(fb3472c0c37f87b8) msg="(off-path)" +2026-10-11T17:31:29.452844Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(fafac6abea7c512) +2026-10-11T17:31:29.452862Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1156 +2026-10-11T17:31:29.452915Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:29.452957Z TRACE noq_proto::connection: sending off-path PATH_RESPONSE dst=[::ffff:10.200.0.2]:33240 src=Some(10.200.0.2) len=1200 +2026-10-11T17:31:29.455671Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:29.455826Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [5..11] delay: 893µs +2026-10-11T17:31:29.455937Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 5 id: a53e7d0e6162a9aa +2026-10-11T17:31:29.456082Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=66 +2026-10-11T17:31:29.456171Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=66 prev_segment_size=1389 +2026-10-11T17:31:29.456208Z TRACE noq_proto::connection: sending 66 bytes in 1 datagrams segment_size=66 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33240) +2026-10-11T17:31:29.458281Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:29.458764Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33240) using id 6f6c6c3d73fd11fd +2026-10-11T17:31:29.459173Z TRACE pkt{path_id=0}:recv{space=Data pn=11}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [6..7] delay: 1210µs +2026-10-11T17:31:29.459459Z TRACE pkt{path_id=0}:recv{space=Data pn=11}: noq_proto::connection: got frame CONNECTION_CLOSE error_code=4098 reason='not on allowlist' +2026-10-11T17:31:29.459521Z TRACE pkt{path_id=0}:recv{space=Data pn=11}: noq_proto::connection::state: connection state: draining +2026-10-11T17:31:29.459597Z TRACE pkt{path_id=0}: noq_proto::connection: connection closed +2026-10-11T17:31:29.459690Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33240) using id 6f6c6c3d73fd11fd +2026-10-11T17:31:29.459879Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:29.459976Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:29.460042Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [7..12] delay: 1054µs +2026-10-11T17:31:29.460099Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=0 reason='' +2026-10-11T17:31:29.460147Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=40 +2026-10-11T17:31:29.460207Z TRACE noq_proto::connection: sending 40 bytes in 1 datagrams segment_size=1389 last_datagram_len=40 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33240) +2026-10-11T17:31:29.460770Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95213788757952) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:31:29.460886Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(95213788757952) evt=Ok(AddressAdded(127.0.0.1:33240)) +2026-10-11T17:31:29.461020Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37526, tv_nsec: 836524723 }, local_candidates: {10.200.0.1:37759, 10.200.0.2:37759, 127.0.0.1:37759}, remote_candidates: {} } local_candidates={10.200.0.1:37759, 10.200.0.2:37759, 127.0.0.1:37759} remote_candidates={10.200.0.1:33240, 10.200.0.2:33240, 127.0.0.1:33240} +2026-10-11T17:31:29.461101Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:31:29.461186Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(95213788757952) evt=Ok(AddressAdded(10.200.0.2:33240)) +2026-10-11T17:31:29.461244Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37526, tv_nsec: 836524723 }, local_candidates: {10.200.0.1:37759, 10.200.0.2:37759, 127.0.0.1:37759}, remote_candidates: {} } local_candidates={10.200.0.1:37759, 10.200.0.2:37759, 127.0.0.1:37759} remote_candidates={10.200.0.1:33240, 10.200.0.2:33240, 127.0.0.1:33240} +2026-10-11T17:31:29.461313Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:31:29.461385Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(95213788757952) evt=Ok(AddressAdded(10.200.0.1:33240)) +2026-10-11T17:31:29.461428Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37526, tv_nsec: 836524723 }, local_candidates: {10.200.0.1:37759, 10.200.0.2:37759, 127.0.0.1:37759}, remote_candidates: {} } local_candidates={10.200.0.1:37759, 10.200.0.2:37759, 127.0.0.1:37759} remote_candidates={10.200.0.1:33240, 10.200.0.2:33240, 127.0.0.1:33240} +2026-10-11T17:31:29.461477Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:31:29.461655Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:31:29.462014Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=120.865659 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:31:29.464176Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=123.021161 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:33240)/Active"] +2026-10-11T17:31:29.664003Z TRACE timeout{scope="conn" timer=Close}: noq_proto::connection: timeout +2026-10-11T17:31:29.664133Z TRACE timeout{scope="conn" timer=Close}: noq_proto::connection::state: connection state: drained +2026-10-11T17:31:29.668332Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:33240)/Active"] +2026-10-11T17:31:29.669037Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:31:29.669134Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-3/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-3/ready.txt new file mode 100644 index 0000000000..27c813b686 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-3/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=33240 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-3/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-3/server.log new file mode 100644 index 0000000000..b8988d8ecb --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-3/server.log @@ -0,0 +1,253 @@ +2026-10-11T17:31:29.274983Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=33240 direct=["10.200.0.1:33240", "10.200.0.2:33240", "127.0.0.1:33240"] +2026-10-11T17:31:29.350626Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:37759) alpns=["n30/allowlist/0"] +2026-10-11T17:31:29.351653Z TRACE first recv:frame{ty=CRYPTO}: noq_proto::connection: consumed 293 CRYPTO bytes +2026-10-11T17:31:29.359754Z TRACE first recv: noq_proto::connection: Handshake keys ready +2026-10-11T17:31:29.359879Z TRACE first recv: noq_proto::connection: wrote 90 Initial CRYPTO bytes +2026-10-11T17:31:29.359990Z TRACE first recv: noq_proto::connection: Data keys ready +2026-10-11T17:31:29.360063Z TRACE first recv: noq_proto::connection: wrote 391 Handshake CRYPTO bytes +2026-10-11T17:31:29.360148Z TRACE first recv: noq_proto::connection: negotiated max idle timeout Some(30s) +2026-10-11T17:31:29.360170Z DEBUG first recv: noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:31:29.360188Z DEBUG first recv: noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:31:29.360245Z TRACE noq_proto::endpoint: new connection id=0 icid=9e54a445942692924c660e6045a5135c8ac2f227 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37759) +2026-10-11T17:31:29.360679Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:29.360868Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 1389µs +2026-10-11T17:31:29.360937Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 90 +2026-10-11T17:31:29.360991Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection: will coalesce with next packet +2026-10-11T17:31:29.361043Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=146 +2026-10-11T17:31:29.361134Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 391 +2026-10-11T17:31:29.361164Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 617 +2026-10-11T17:31:29.361182Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1054 +2026-10-11T17:31:29.361205Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:29.361220Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37759) +2026-10-11T17:31:29.361237Z TRACE noq_proto::connection::paths: anti amplification budget decreased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37759) anti_amplification_budget=2352 +2026-10-11T17:31:29.365229Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:29.365308Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:29.365338Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:29.365697Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:29.365729Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:29.365757Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=10.4562ms +2026-10-11T17:31:29.377528Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:29.377673Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:29.377719Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:29.378114Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 1 id: d3097f5123a87986 +2026-10-11T17:31:29.378239Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 2 id: f29ca9d6fed2c522 +2026-10-11T17:31:29.378288Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 3 id: 8085adf1431120e0 +2026-10-11T17:31:29.378302Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 4 id: e0f7c6a9f5e4ae36 +2026-10-11T17:31:29.378400Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=138 +2026-10-11T17:31:29.378543Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=138 prev_segment_size=1200 +2026-10-11T17:31:29.378577Z TRACE noq_proto::connection: sending 138 bytes in 1 datagrams segment_size=138 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37759) +2026-10-11T17:31:29.378595Z TRACE noq_proto::connection::paths: anti amplification budget decreased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37759) anti_amplification_budget=2214 +2026-10-11T17:31:29.379505Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:29.379585Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:29.379604Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:29.379745Z TRACE timer_fired{scope="path" path_id=0 timer=Pacing}: noq_proto::connection: timeout +2026-10-11T17:31:29.379925Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:29.379949Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:29.379964Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:29.386115Z TRACE pkt{path_id=0}: noq_proto::connection: got Initial packet (52 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37759) using id 6c21ae9024f8ce5f +2026-10-11T17:31:29.386650Z TRACE pkt{path_id=0}: noq_proto::connection::paths: anti amplification budget increased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37759) anti_amplification_budget=2370 +2026-10-11T17:31:29.386720Z TRACE pkt{path_id=0}: noq_proto::connection::paths: anti amplification budget increased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37759) anti_amplification_budget=5814 +2026-10-11T17:31:29.386780Z TRACE pkt{path_id=0}: noq_proto::connection: got Handshake packet (1148 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37759) using id 6c21ae9024f8ce5f +2026-10-11T17:31:29.386866Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: discarding Initial keys +2026-10-11T17:31:29.387024Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 181 CRYPTO bytes +2026-10-11T17:31:29.415360Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: wrote 178 Data CRYPTO bytes +2026-10-11T17:31:29.415502Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: discarding Handshake keys +2026-10-11T17:31:29.415598Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: handshake confirmed +2026-10-11T17:31:29.415613Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection::state: connection state: established +2026-10-11T17:31:29.415628Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: established +2026-10-11T17:31:29.415823Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1326 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37759) using id 6c21ae9024f8ce5f +2026-10-11T17:31:29.416033Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame PING +2026-10-11T17:31:29.416095Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:29.416425Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1166 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37759) using id 6c21ae9024f8ce5f +2026-10-11T17:31:29.416571Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 1 id: 6f6c6c3d73fd11fd +2026-10-11T17:31:29.416673Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 2 id: 7d4436edba50e8ae +2026-10-11T17:31:29.416712Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 3 id: b7211be0e1ae807a +2026-10-11T17:31:29.416746Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 4 id: cf4b634876418d5b +2026-10-11T17:31:29.416779Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: be153d53082de2cc +2026-10-11T17:31:29.416813Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: 7bc3985e7e04984a +2026-10-11T17:31:29.416838Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 2311ea6fe4e71317 +2026-10-11T17:31:29.416870Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 97bc20ed3b4c5cb2 +2026-10-11T17:31:29.416917Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: dc6c6fea41ecb86a +2026-10-11T17:31:29.416953Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 29e366369dfc9887 +2026-10-11T17:31:29.416978Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: 2968c1f8d2c90fdc +2026-10-11T17:31:29.417003Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 68c28b3bd036edd9 +2026-10-11T17:31:29.417027Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 31d5b304464124da +2026-10-11T17:31:29.417049Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 1c32a4c88456e332 +2026-10-11T17:31:29.417072Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: 941b417b13128471 +2026-10-11T17:31:29.417110Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 03f9a30f1c53985f +2026-10-11T17:31:29.417134Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 39ceba651019a6d0 +2026-10-11T17:31:29.417159Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 8d264e2d5bce0333 +2026-10-11T17:31:29.417183Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 7051c23d05b989b5 +2026-10-11T17:31:29.417206Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: 243fadb4127a937b +2026-10-11T17:31:29.417229Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 58e593df675e41f5 +2026-10-11T17:31:29.417252Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 079577c5ccd05505 +2026-10-11T17:31:29.417275Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: a4e4a28c0cb41114 +2026-10-11T17:31:29.417299Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 62116f209a74997e +2026-10-11T17:31:29.417323Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 0ea202e7c023a459 +2026-10-11T17:31:29.417358Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 564b7676905237e4 +2026-10-11T17:31:29.417381Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 988740762f061f1a +2026-10-11T17:31:29.417405Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 3e04349e5e21ddc9 +2026-10-11T17:31:29.417428Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 4ec416aa1da6b641 +2026-10-11T17:31:29.417453Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 5c5566d5be1ce994 +2026-10-11T17:31:29.417477Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: e5983458ff789eeb +2026-10-11T17:31:29.417501Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: bb68bc13691f5bd8 +2026-10-11T17:31:29.417524Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 10bfa3e90469cc0e +2026-10-11T17:31:29.417547Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: 20ee2edb379a02eb +2026-10-11T17:31:29.417570Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: ecb170cafda47174 +2026-10-11T17:31:29.417596Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: 8447180ffe907df1 +2026-10-11T17:31:29.417620Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: d55895858fae1b55 +2026-10-11T17:31:29.417644Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: e4eb14fe78582142 +2026-10-11T17:31:29.417716Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (102 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37759) using id 6c21ae9024f8ce5f +2026-10-11T17:31:29.417788Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 127.0.0.1:37759 +2026-10-11T17:31:29.417844Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 10.200.0.1:37759 +2026-10-11T17:31:29.417867Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 10.200.0.2:37759 +2026-10-11T17:31:29.417891Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:29.417948Z DEBUG pkt{path_id=0}:recv{space=Data pn=3}:frame{ty=PATH_STATUS_AVAILABLE path=0}: noq_proto::connection::paths: remote changed path status status=Available seq=2 +2026-10-11T17:31:29.417978Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: fea03bd2c2acc99a +2026-10-11T17:31:29.418017Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame STREAM id=client bidirectional stream 0 offset=0 len=6 fin=true +2026-10-11T17:31:29.418153Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(3528f82f88c3dd09) msg="(nat-traversal)" +2026-10-11T17:31:29.418188Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:29.418216Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.2, 37759) len=35 +2026-10-11T17:31:29.419239Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(7e675e959ba081ac) msg="(nat-traversal)" +2026-10-11T17:31:29.419314Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:29.419347Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:127.0.0.1, 37759) len=35 +2026-10-11T17:31:29.419787Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(fd701fe9d21bb0d0) msg="(nat-traversal)" +2026-10-11T17:31:29.419831Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:29.419861Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.1, 37759) len=35 +2026-10-11T17:31:29.421077Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:29.421277Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=HANDSHAKE_DONE +2026-10-11T17:31:29.421345Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..1,2..4] delay: 1886µs +2026-10-11T17:31:29.421399Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 178 +2026-10-11T17:31:29.421437Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RETIRE_CONNECTION_ID path_id: 0 seq: 0 +2026-10-11T17:31:29.421494Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=225 +2026-10-11T17:31:29.421585Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=225 prev_segment_size=1200 +2026-10-11T17:31:29.421613Z TRACE noq_proto::connection: sending 225 bytes in 1 datagrams segment_size=225 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37759) +2026-10-11T17:31:29.422784Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:29.422917Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1326 +2026-10-11T17:31:29.422961Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:29.422989Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:29.423004Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1298 +2026-10-11T17:31:29.423057Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1326 +2026-10-11T17:31:29.423133Z TRACE noq_proto::connection: sending 1326 bytes in 1 datagrams segment_size=1326 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37759) +2026-10-11T17:31:29.423299Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:29.426722Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37759) using id 6c21ae9024f8ce5f +2026-10-11T17:31:29.426973Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:29.427107Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3,4..5] delay: 400µs +2026-10-11T17:31:29.427281Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_RESPONSE(7e675e959ba081ac) +2026-10-11T17:31:29.427609Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1389 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37759) using id 6c21ae9024f8ce5f +2026-10-11T17:31:29.427705Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame PING +2026-10-11T17:31:29.427741Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:29.428115Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:29.428236Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [4..6] delay: 246µs +2026-10-11T17:31:29.428354Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: 0037ca31b5e1bdee +2026-10-11T17:31:29.428397Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: 288b5640b17e5d46 +2026-10-11T17:31:29.428411Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 0a1f45dc387e4af9 +2026-10-11T17:31:29.428423Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: b196213ffd4cfbdb +2026-10-11T17:31:29.428435Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: 20b2057c98bafd5a +2026-10-11T17:31:29.428453Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 685fd1378fbdbd9a +2026-10-11T17:31:29.428466Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: 72e642e3b5149cc8 +2026-10-11T17:31:29.428480Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: b5e45c0d68ca1840 +2026-10-11T17:31:29.428493Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 1beb6ed40d2696a1 +2026-10-11T17:31:29.428517Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 96526f740636eb85 +2026-10-11T17:31:29.428532Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: c23c5e825e9be987 +2026-10-11T17:31:29.428548Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: ef8238d83fcb85a1 +2026-10-11T17:31:29.428564Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 2dd1fae7cfaf23e9 +2026-10-11T17:31:29.428585Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: c498ff1d8dd711c7 +2026-10-11T17:31:29.428600Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 2b48e8dd0fd6847d +2026-10-11T17:31:29.428615Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: a9621f08ec76fb5e +2026-10-11T17:31:29.428626Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 5fc95dce084f5a0b +2026-10-11T17:31:29.428640Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 1a0b1add4a3bb154 +2026-10-11T17:31:29.428654Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: 6741769c3e32505e +2026-10-11T17:31:29.428667Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 1070b8016f935f3e +2026-10-11T17:31:29.428681Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: ff6a121082d8fa95 +2026-10-11T17:31:29.428695Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 5721c5960e740884 +2026-10-11T17:31:29.428709Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: cfaa1157d09642ba +2026-10-11T17:31:29.428749Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 0884c82dfb7499b1 +2026-10-11T17:31:29.428765Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: a86f86bb66988668 +2026-10-11T17:31:29.428779Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: df85ff579d3414fc +2026-10-11T17:31:29.428795Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: 612f9e656d891bef +2026-10-11T17:31:29.428809Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: 33f73624b72f92a8 +2026-10-11T17:31:29.428823Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 9e2cc42da55f1941 +2026-10-11T17:31:29.428835Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: 157ed5f2acfb2085 +2026-10-11T17:31:29.428849Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 34f33ad375ff5ccb +2026-10-11T17:31:29.428862Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: b0b90104264d5d97 +2026-10-11T17:31:29.428876Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: a3f0b8c895105fb1 +2026-10-11T17:31:29.428891Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 25c766530f0c50bc +2026-10-11T17:31:29.428928Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 1613ed0d0e1eeb37 +2026-10-11T17:31:29.428996Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1086 +2026-10-11T17:31:29.429063Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1086 prev_segment_size=1200 +2026-10-11T17:31:29.429099Z TRACE noq_proto::connection: sending 1086 bytes in 1 datagrams segment_size=1086 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37759) +2026-10-11T17:31:29.429310Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:29.430609Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:31:29.436244Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(136832020987616) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:33240, 10.200.0.2:33240, 127.0.0.1:33240} +2026-10-11T17:31:29.436459Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(136832020987616) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:31:29.436755Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:31:29.436803Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:31:29.436911Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:31:29.437557Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:37759)/Active"] +2026-10-11T17:31:29.437140Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:29.437731Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=ADD_IPV_4_ADDRESS seq_no: 2 addr: 127.0.0.1:33240 +2026-10-11T17:31:29.437794Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=ADD_IPV_4_ADDRESS seq_no: 1 addr: 10.200.0.2:33240 +2026-10-11T17:31:29.437814Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=ADD_IPV_4_ADDRESS seq_no: 0 addr: 10.200.0.1:33240 +2026-10-11T17:31:29.437837Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:29.437988Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=63 +2026-10-11T17:31:29.438149Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=63 prev_segment_size=1200 +2026-10-11T17:31:29.438190Z TRACE noq_proto::connection: sending 63 bytes in 1 datagrams segment_size=63 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37759) +2026-10-11T17:31:29.438975Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:29.439095Z TRACE timeout{scope="conn" timer=NatTraversalProbeRetry}: noq_proto::connection: timeout +2026-10-11T17:31:29.439133Z TRACE timeout{scope="conn" timer=NatTraversalProbeRetry}: noq_proto::connection: re-queued NAT probes +2026-10-11T17:31:29.439369Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(fb3472c0c37f87b8) msg="(nat-traversal)" +2026-10-11T17:31:29.439442Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:29.439488Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.2, 37759) len=35 +2026-10-11T17:31:29.439678Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(5d5991786ad93501) msg="(nat-traversal)" +2026-10-11T17:31:29.439734Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:29.439783Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.1, 37759) len=35 +2026-10-11T17:31:29.439884Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:29.441335Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (36 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37759) using id 6c21ae9024f8ce5f +2026-10-11T17:31:29.441580Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [5..7] delay: 444µs +2026-10-11T17:31:29.441656Z TRACE pkt{path_id=0}:recv{space=Data pn=6}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1326 +2026-10-11T17:31:29.441866Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:29.441954Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1389 +2026-10-11T17:31:29.442000Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:29.442023Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:29.442036Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1361 +2026-10-11T17:31:29.442099Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1389 +2026-10-11T17:31:29.442174Z TRACE noq_proto::connection: sending 1389 bytes in 1 datagrams segment_size=1389 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37759) +2026-10-11T17:31:29.442352Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:29.443940Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:29.444738Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:37759)/Active"] +2026-10-11T17:31:29.445193Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:37759)/Active"] +2026-10-11T17:31:29.445285Z TRACE noq_proto::connection: connection closed +2026-10-11T17:31:29.445336Z TRACE noq_proto::connection::state: connection state: closed remote_reason=Application(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) is_local=true +2026-10-11T17:31:29.445503Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:31:29.445762Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:31:29.447139Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1420 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37759) using id 6c21ae9024f8ce5f +2026-10-11T17:31:29.450358Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: processing frame in closed state frame=Ping +2026-10-11T17:31:29.450423Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: processing frame in closed state frame=ImmediateAck +2026-10-11T17:31:29.450772Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:29.450834Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:29.450878Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [6..7] delay: 1210µs +2026-10-11T17:31:29.450954Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=4098 reason='not on allowlist' +2026-10-11T17:31:29.451007Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:29.451056Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=1326 last_datagram_len=56 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37759) +2026-10-11T17:31:29.453968Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 10.200.0.1, remote: [::ffff:10.200.0.1]:37759) using id 6c21ae9024f8ce5f +2026-10-11T17:31:29.454172Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: processing frame in closed state frame=PathResponse(PathResponse(6726567464829269249)) +2026-10-11T17:31:29.454261Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: processing frame in closed state frame=PathChallenge(PathChallenge(4375434982502757979)) +2026-10-11T17:31:29.454650Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:37759) using id 6c21ae9024f8ce5f +2026-10-11T17:31:29.454748Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: processing frame in closed state frame=PathResponse(PathResponse(18101218974548068280)) +2026-10-11T17:31:29.454773Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: processing frame in closed state frame=PathChallenge(PathChallenge(1130311605958460690)) +2026-10-11T17:31:29.456803Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (66 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37759) using id 6c21ae9024f8ce5f +2026-10-11T17:31:29.456985Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: processing frame in closed state frame=PathAck(PathAck { path_id: PathId(0), largest: 10, delay: 893, ranges: [5..11], ecn: Some(EcnCounts { ect0: 6, ect1: 0, ce: 0 }) }) +2026-10-11T17:31:29.457056Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: processing frame in closed state frame=NewConnectionId(NewConnectionId { path_id: Some(PathId(0)), sequence: 5, retire_prior_to: 0, id: [165, 62, 125, 14, 97, 98, 169, 170], reset_token: ResetToken([41, 173, 114, 180, 118, 81, 186, 44, 138, 179, 178, 231, 59, 94, 10, 130]) }) +2026-10-11T17:31:29.457202Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:29.457286Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:29.457339Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [6..7] delay: 2018µs +2026-10-11T17:31:29.457389Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=4098 reason='not on allowlist' +2026-10-11T17:31:29.457435Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:29.457483Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=1326 last_datagram_len=56 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37759) +2026-10-11T17:31:29.463002Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (40 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37759) using id 6c21ae9024f8ce5f +2026-10-11T17:31:29.463197Z TRACE pkt{path_id=0}:recv{space=Data pn=11}: noq_proto::connection: processing frame in closed state frame=PathAck(PathAck { path_id: PathId(0), largest: 11, delay: 1054, ranges: [7..12], ecn: Some(EcnCounts { ect0: 7, ect1: 0, ce: 0 }) }) +2026-10-11T17:31:29.463259Z TRACE pkt{path_id=0}:recv{space=Data pn=11}: noq_proto::connection: processing frame in closed state frame=Close(Connection(ConnectionClose { error_code: NO_ERROR, frame_type: None, reason: b"" })) +2026-10-11T17:31:29.463305Z TRACE pkt{path_id=0}:recv{space=Data pn=11}: noq_proto::connection::state: connection state: draining +2026-10-11T17:31:29.714943Z TRACE timeout{scope="conn" timer=Close}: noq_proto::connection: timeout +2026-10-11T17:31:29.715082Z TRACE timeout{scope="conn" timer=Close}: noq_proto::connection::state: connection state: drained diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-4/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-4/client.log new file mode 100644 index 0000000000..f13e64e45c --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-4/client.log @@ -0,0 +1,292 @@ +2026-10-11T17:31:30.476260Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:49096] +2026-10-11T17:31:30.477547Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:31:30.477734Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:31:30.477921Z TRACE noq_proto::endpoint: initial_dcid=99248bad3257fa20a93c4b5778385012b903af9c +2026-10-11T17:31:30.478666Z TRACE noq_proto::token_memory_cache: taking token server_name=ha4e7nbk17opbvaircmjpeiteb56e2dv3ma146vjei403d0fdte0.iroh.invalid found=false +2026-10-11T17:31:30.479154Z TRACE noq_proto::connection: wrote 295 Initial CRYPTO bytes +2026-10-11T17:31:30.479665Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:31:30.479711Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:31:30.479746Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:31:30.486364Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:30.486952Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 295 +2026-10-11T17:31:30.487056Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 846 +2026-10-11T17:31:30.487131Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:30.487228Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: , remote: [fd15:70a:510b:0:2c1d:816a:f3fb:c38e]:12345) +2026-10-11T17:31:30.487360Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:30.490185Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:49096)] +2026-10-11T17:31:30.519118Z TRACE pkt{path_id=0}: noq_proto::connection: got Initial packet (146 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:49096) using id 7cd2d1cbdadb85cc +2026-10-11T17:31:30.519310Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: server migrated to new remote network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:49096) prev=(local: , remote: [fd15:70a:510b:0:2c1d:816a:f3fb:c38e]:12345) +2026-10-11T17:31:30.519389Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: switching remote CID to 2b80061ca514a162 +2026-10-11T17:31:30.519421Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection::state: connection state: handshake +2026-10-11T17:31:30.519673Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 90 CRYPTO bytes +2026-10-11T17:31:30.520601Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: Handshake keys ready +2026-10-11T17:31:30.520706Z TRACE pkt{path_id=0}: noq_proto::connection: got Handshake packet (1054 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:49096) using id 7cd2d1cbdadb85cc +2026-10-11T17:31:30.520822Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 389 CRYPTO bytes +2026-10-11T17:31:30.575038Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: Data keys ready +2026-10-11T17:31:30.575211Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: wrote 181 Handshake CRYPTO bytes +2026-10-11T17:31:30.575310Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: negotiated max idle timeout Some(30s) +2026-10-11T17:31:30.575346Z DEBUG pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:31:30.575365Z DEBUG pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:31:30.575399Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection::state: connection state: established +2026-10-11T17:31:30.575415Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: established +2026-10-11T17:31:30.575536Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (138 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:49096) using id 7cd2d1cbdadb85cc +2026-10-11T17:31:30.575637Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 1 id: 2ab3b574f09d7b85 +2026-10-11T17:31:30.575674Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 2 id: de951f7afb9d9cfd +2026-10-11T17:31:30.575696Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 3 id: 6be56c3f31e9ee4a +2026-10-11T17:31:30.575717Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 4 id: 274400209e4a6626 +2026-10-11T17:31:30.575811Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:30.576167Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 7157µs +2026-10-11T17:31:30.576263Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection: will coalesce with next packet +2026-10-11T17:31:30.576315Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=52 +2026-10-11T17:31:30.576355Z TRACE noq_proto::connection: discarding Initial keys +2026-10-11T17:31:30.576440Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 7157µs +2026-10-11T17:31:30.576473Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 181 +2026-10-11T17:31:30.576510Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 912 +2026-10-11T17:31:30.576540Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1148 +2026-10-11T17:31:30.576584Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:30.576598Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:49096) +2026-10-11T17:31:30.576858Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:30.576912Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:30.576969Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1326 +2026-10-11T17:31:30.576997Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:30.577017Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:30.577029Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1298 +2026-10-11T17:31:30.577059Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1326 +2026-10-11T17:31:30.577099Z TRACE noq_proto::connection: sending 1326 bytes in 1 datagrams segment_size=1326 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:49096) +2026-10-11T17:31:30.577642Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:30.577677Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:30.578320Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:30.578391Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=541.984µs +2026-10-11T17:31:30.578710Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(95303612530880) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:46442, 10.200.0.2:46442, 127.0.0.1:46442} +2026-10-11T17:31:30.578968Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(95303612530880) send_tasks=FuturesUnorderedBounded { len: 0, .. }}:do_holepunching: noq_proto::n0_nat_traversal: initiating NAT traversal round round=1 reach_out=3 to_probe=0 +2026-10-11T17:31:30.579309Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:30.579342Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:30.579410Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 127.0.0.1:46442 +2026-10-11T17:31:30.579438Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 10.200.0.1:46442 +2026-10-11T17:31:30.579450Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 10.200.0.2:46442 +2026-10-11T17:31:30.579471Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:30.579540Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 1 id: 6d19bf7660ef6bcf +2026-10-11T17:31:30.579570Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 2 id: e00189ef3d5376d3 +2026-10-11T17:31:30.579586Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 3 id: dfe230253d609476 +2026-10-11T17:31:30.579600Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 4 id: 8de73932b5c5ff51 +2026-10-11T17:31:30.579613Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: 80b37af56af17ed8 +2026-10-11T17:31:30.579633Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: 59524994c5ac79e0 +2026-10-11T17:31:30.579649Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 0a900d885c2970bd +2026-10-11T17:31:30.579662Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: a1387a603e4c0731 +2026-10-11T17:31:30.579676Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: 307c8c9186ee4a48 +2026-10-11T17:31:30.579690Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 533b56bb703a85b5 +2026-10-11T17:31:30.579705Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: d809bd96f4b251ec +2026-10-11T17:31:30.579718Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: e8b2f52f0ca43e6b +2026-10-11T17:31:30.579735Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: d89c5dca832f9fb4 +2026-10-11T17:31:30.579749Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: bf20dcd0a24c000f +2026-10-11T17:31:30.579764Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: f05d1975bfa7ebae +2026-10-11T17:31:30.579805Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 45d34ed0723d7201 +2026-10-11T17:31:30.579820Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 799af6e56d0c7740 +2026-10-11T17:31:30.579845Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 83ce7d20ae6bb493 +2026-10-11T17:31:30.579863Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 565dad7daa1a7298 +2026-10-11T17:31:30.579877Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: b770f8ab0c9e01ae +2026-10-11T17:31:30.579891Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 5a7bd33456fa637d +2026-10-11T17:31:30.579923Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 695e6d656c4517c1 +2026-10-11T17:31:30.579936Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: 7ad34f837c12ba27 +2026-10-11T17:31:30.579949Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 417e0bc51cefd48a +2026-10-11T17:31:30.579962Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: e2a5ce3df13df84b +2026-10-11T17:31:30.579974Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: fb5ee06bb0254f5c +2026-10-11T17:31:30.579990Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 1f3ad2641113347b +2026-10-11T17:31:30.580002Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: f980201859f6bb46 +2026-10-11T17:31:30.580017Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 50b3bc4578920f1b +2026-10-11T17:31:30.580030Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 174b5fe216f25938 +2026-10-11T17:31:30.580047Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: 918042e791fe858c +2026-10-11T17:31:30.580059Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: 780de67d16651699 +2026-10-11T17:31:30.580074Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 828d6cb4ecf9da61 +2026-10-11T17:31:30.580088Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: 5d94a6135c6d644f +2026-10-11T17:31:30.580109Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 7b1ae3ea01b98076 +2026-10-11T17:31:30.580127Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: 08b070d72c7bcb1a +2026-10-11T17:31:30.580139Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 9c65c726e4f824a5 +2026-10-11T17:31:30.580262Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1173 +2026-10-11T17:31:30.580359Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1173 prev_segment_size=1200 +2026-10-11T17:31:30.580396Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=3.013024ms +2026-10-11T17:31:30.580422Z TRACE noq_proto::connection: sending 1173 bytes in 1 datagrams segment_size=1173 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:49096) +2026-10-11T17:31:30.583060Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:30.583175Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=3.013024ms +2026-10-11T17:31:30.583313Z TRACE timer_fired{scope="path" path_id=0 timer=Pacing}: noq_proto::connection: timeout +2026-10-11T17:31:30.583485Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:30.583504Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:30.583589Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: c4bf1dc73c6d03d9 +2026-10-11T17:31:30.583628Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 82e828bce4887438 +2026-10-11T17:31:30.583703Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=86 +2026-10-11T17:31:30.583749Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=86 prev_segment_size=1200 +2026-10-11T17:31:30.583767Z TRACE noq_proto::connection: sending 86 bytes in 1 datagrams segment_size=86 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:49096) +2026-10-11T17:31:30.584771Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=108.34322300000001 remote_info=["Ip(127.0.0.1:49096)/Active"] +2026-10-11T17:31:30.584910Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:30.584940Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:30.585084Z TRACE noq_proto::connection::streams: wrote 6 bytes stream=client bidirectional stream 0 +2026-10-11T17:31:30.585207Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:30.585236Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:30.585333Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=STREAM id: client bidirectional stream 0 off: 0 len: 6 fin: true +2026-10-11T17:31:30.585447Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:30.585512Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=35 prev_segment_size=1200 +2026-10-11T17:31:30.585533Z TRACE noq_proto::connection: sending 35 bytes in 1 datagrams segment_size=35 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:49096) +2026-10-11T17:31:30.585671Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:30.585688Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:30.617401Z TRACE pkt{path_id=0}: noq_proto::connection: discarding packet from unrecognized peer path_id=0 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:49096) known_path.network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:49096) +2026-10-11T17:31:30.617537Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:49096) using id 6d19bf7660ef6bcf +2026-10-11T17:31:30.617708Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_CHALLENGE(4f400482750d25e8) +2026-10-11T17:31:30.617776Z TRACE pkt{path_id=0}: noq_proto::connection: discarding packet from unrecognized peer path_id=0 network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:49096) known_path.network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:49096) +2026-10-11T17:31:30.617846Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:30.617872Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:30.617925Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:30.617962Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3] delay: 97µs +2026-10-11T17:31:30.617990Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(4f400482750d25e8) +2026-10-11T17:31:30.618018Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1152 +2026-10-11T17:31:30.618046Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:30.618102Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:49096) +2026-10-11T17:31:30.618189Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:30.618203Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:30.618378Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (223 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:49096) using id 6d19bf7660ef6bcf +2026-10-11T17:31:30.618463Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame HANDSHAKE_DONE +2026-10-11T17:31:30.618485Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=HANDSHAKE_DONE}: noq_proto::connection: discarding Handshake keys +2026-10-11T17:31:30.618554Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=HANDSHAKE_DONE}: noq_proto::connection: handshake confirmed +2026-10-11T17:31:30.618597Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..4] delay: 3612µs +2026-10-11T17:31:30.618654Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1326 +2026-10-11T17:31:30.618751Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame CRYPTO offset=0 len=178 +2026-10-11T17:31:30.618781Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=CRYPTO}: noq_proto::connection: consumed 178 CRYPTO bytes +2026-10-11T17:31:30.619055Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_RETIRE_CONNECTION_ID path_id: 0 seq: 0 +2026-10-11T17:31:30.619147Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1326 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:49096) using id 6d19bf7660ef6bcf +2026-10-11T17:31:30.619222Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame PING +2026-10-11T17:31:30.619251Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:30.619554Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=6.295408ms +2026-10-11T17:31:30.619611Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1389 +2026-10-11T17:31:30.619639Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:30.619655Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:30.619665Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1361 +2026-10-11T17:31:30.619697Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1389 +2026-10-11T17:31:30.619742Z TRACE noq_proto::connection: sending 1389 bytes in 1 datagrams segment_size=1389 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:49096) +2026-10-11T17:31:30.619845Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=7.998576ms +2026-10-11T17:31:30.624284Z TRACE noq_proto::endpoint: local CID retired 0: 7cd2d1cbdadb85cc path_id=0 +2026-10-11T17:31:30.624606Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 10.200.0.1, remote: [::ffff:10.200.0.1]:49096) using id 6d19bf7660ef6bcf +2026-10-11T17:31:30.624781Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_CHALLENGE(a957ea66d831913) +2026-10-11T17:31:30.624874Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:49096) using id 6d19bf7660ef6bcf +2026-10-11T17:31:30.624945Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_CHALLENGE(c0ef4089ee6907a7) +2026-10-11T17:31:30.624995Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:49096) using id 6d19bf7660ef6bcf +2026-10-11T17:31:30.625040Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: got frame PATH_CHALLENGE(ff94a05ef7716e38) +2026-10-11T17:31:30.625080Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1123 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:49096) using id 6d19bf7660ef6bcf +2026-10-11T17:31:30.625139Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..6] delay: 162µs +2026-10-11T17:31:30.625216Z TRACE pkt{path_id=0}:recv{space=Data pn=9}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1389 +2026-10-11T17:31:30.625325Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame ADD_IPV_4_ADDRESS seq_no: 2 addr: 127.0.0.1:49096 +2026-10-11T17:31:30.625388Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame ADD_IPV_4_ADDRESS seq_no: 1 addr: 10.200.0.2:49096 +2026-10-11T17:31:30.625411Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame ADD_IPV_4_ADDRESS seq_no: 0 addr: 10.200.0.1:49096 +2026-10-11T17:31:30.625438Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:30.625475Z DEBUG pkt{path_id=0}:recv{space=Data pn=9}:frame{ty=PATH_STATUS_AVAILABLE path=0}: noq_proto::connection::paths: remote changed path status status=Available seq=2 +2026-10-11T17:31:30.625505Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: 46d070a1302d6f6a +2026-10-11T17:31:30.625553Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: 0410e311d3e31081 +2026-10-11T17:31:30.625579Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 59f395d746825007 +2026-10-11T17:31:30.625605Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: f2a7a8fe2eb14270 +2026-10-11T17:31:30.625632Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: efa562fe61b84e76 +2026-10-11T17:31:30.625664Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: b608af3c8c60de25 +2026-10-11T17:31:30.625695Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: 42716591d4ab4667 +2026-10-11T17:31:30.625727Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 4008342fd4aa2076 +2026-10-11T17:31:30.625757Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 7dfd210d040e2991 +2026-10-11T17:31:30.625783Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 9008517787885df5 +2026-10-11T17:31:30.625832Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: adf6f2a5ddccc66b +2026-10-11T17:31:30.625871Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 8a3782fa8338c8a6 +2026-10-11T17:31:30.625919Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 4efe2f9cd393375c +2026-10-11T17:31:30.625955Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 6495f7846dd1be9e +2026-10-11T17:31:30.625982Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 954501df2ba34174 +2026-10-11T17:31:30.626013Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: 0a556b3ed2bdd962 +2026-10-11T17:31:30.626043Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 51622fe5e899d814 +2026-10-11T17:31:30.626071Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: d2f2f654264d2e02 +2026-10-11T17:31:30.626095Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: 515c85489f7658f4 +2026-10-11T17:31:30.626118Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 1babcf127a3bc081 +2026-10-11T17:31:30.626141Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: ada05e157223ecd0 +2026-10-11T17:31:30.626172Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 63286b69893984fa +2026-10-11T17:31:30.626200Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 8a992d745d524dcf +2026-10-11T17:31:30.626228Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 740bb974e6780e5e +2026-10-11T17:31:30.626254Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: ba152a5ad2787e3b +2026-10-11T17:31:30.626282Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 049d40a510906ed1 +2026-10-11T17:31:30.626313Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: a446b0bdf54f7205 +2026-10-11T17:31:30.626340Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: eadd675c673b2078 +2026-10-11T17:31:30.626366Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 76233b3671c2e192 +2026-10-11T17:31:30.626395Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: c958ae82d65ccef6 +2026-10-11T17:31:30.626423Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: f22fe6a1d4df19dc +2026-10-11T17:31:30.626473Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: 8c036080f1090e83 +2026-10-11T17:31:30.626525Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: fc85eb8529a7711f +2026-10-11T17:31:30.626551Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 020e166ed2a55fdd +2026-10-11T17:31:30.626578Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 8f899830e93c4959 +2026-10-11T17:31:30.626749Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:30.626813Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:30.626848Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [4..10] delay: 426µs +2026-10-11T17:31:30.626875Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(ff94a05ef7716e38) +2026-10-11T17:31:30.627024Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 5 id: 994bc3b92e6f40e2 +2026-10-11T17:31:30.627072Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1124 +2026-10-11T17:31:30.627140Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:30.627204Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1200 prev_segment_size=1389 +2026-10-11T17:31:30.627232Z TRACE noq_proto::connection: new datagram started count=2 +2026-10-11T17:31:30.627563Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection: GSO truncated by demand for 1170 padding bytes +2026-10-11T17:31:30.627610Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: PADDING * 4 +2026-10-11T17:31:30.627642Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=30 +2026-10-11T17:31:30.627734Z TRACE noq_proto::connection: sending 1230 bytes in 2 datagrams segment_size=1200 last_datagram_len=30 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:49096) +2026-10-11T17:31:30.629143Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(c0ef4089ee6907a7) msg="(off-path)" +2026-10-11T17:31:30.629214Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(13ac0f378d9844a8) +2026-10-11T17:31:30.629244Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1156 +2026-10-11T17:31:30.629293Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:30.629332Z TRACE noq_proto::connection: sending off-path PATH_RESPONSE dst=[::ffff:10.200.0.2]:49096 src=Some(10.200.0.2) len=1200 +2026-10-11T17:31:30.629723Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(a957ea66d831913) msg="(off-path)" +2026-10-11T17:31:30.629760Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(5ede4e595b22906e) +2026-10-11T17:31:30.629780Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1156 +2026-10-11T17:31:30.629816Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:30.629840Z TRACE noq_proto::connection: sending off-path PATH_RESPONSE dst=[::ffff:10.200.0.1]:49096 src=Some(10.200.0.1) len=1200 +2026-10-11T17:31:30.630155Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:30.630266Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1420 +2026-10-11T17:31:30.630293Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:30.630311Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:30.630322Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1392 +2026-10-11T17:31:30.630355Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1420 +2026-10-11T17:31:30.630433Z TRACE noq_proto::connection: sending 1420 bytes in 1 datagrams segment_size=1420 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:49096) +2026-10-11T17:31:30.630681Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:30.630770Z TRACE timer_fired{scope="path" path_id=0 timer=Pacing}: noq_proto::connection: timeout +2026-10-11T17:31:30.631016Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:30.631038Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95303612530880) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:31:30.631122Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(95303612530880) evt=Ok(AddressAdded(127.0.0.1:49096)) +2026-10-11T17:31:30.631256Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37528, tv_nsec: 18138490 }, local_candidates: {10.200.0.1:46442, 10.200.0.2:46442, 127.0.0.1:46442}, remote_candidates: {} } local_candidates={10.200.0.1:46442, 10.200.0.2:46442, 127.0.0.1:46442} remote_candidates={10.200.0.1:49096, 10.200.0.2:49096, 127.0.0.1:49096} +2026-10-11T17:31:30.631352Z TRACE RemoteStateActor{remote=8a88e3dd74}:do_holepunching: noq_proto::n0_nat_traversal: initiating NAT traversal round round=2 reach_out=3 to_probe=3 +2026-10-11T17:31:30.631421Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(95303612530880) evt=Ok(AddressAdded(10.200.0.2:49096)) +2026-10-11T17:31:30.631447Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37528, tv_nsec: 70495374 }, local_candidates: {10.200.0.1:46442, 10.200.0.2:46442, 127.0.0.1:46442}, remote_candidates: {10.200.0.1:49096, 10.200.0.2:49096, 127.0.0.1:49096} } local_candidates={10.200.0.1:46442, 10.200.0.2:46442, 127.0.0.1:46442} remote_candidates={10.200.0.1:49096, 10.200.0.2:49096, 127.0.0.1:49096} +2026-10-11T17:31:30.631482Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999911373s +2026-10-11T17:31:30.631509Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(95303612530880) evt=Ok(AddressAdded(10.200.0.1:49096)) +2026-10-11T17:31:30.631530Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37528, tv_nsec: 70495374 }, local_candidates: {10.200.0.1:46442, 10.200.0.2:46442, 127.0.0.1:46442}, remote_candidates: {10.200.0.1:49096, 10.200.0.2:49096, 127.0.0.1:49096} } local_candidates={10.200.0.1:46442, 10.200.0.2:46442, 127.0.0.1:46442} remote_candidates={10.200.0.1:49096, 10.200.0.2:49096, 127.0.0.1:49096} +2026-10-11T17:31:30.631559Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.99983044s +2026-10-11T17:31:30.631657Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(c844c92e8494dfe4) msg="(nat-traversal)" +2026-10-11T17:31:30.631693Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:30.631726Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.2, 49096) len=35 +2026-10-11T17:31:30.632060Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(c9f0351e5570dac0) msg="(nat-traversal)" +2026-10-11T17:31:30.632104Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:30.632130Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.1, 49096) len=35 +2026-10-11T17:31:30.632372Z TRACE send{space=Data pn=13 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(a30cc48e4371df47) msg="(nat-traversal)" +2026-10-11T17:31:30.632407Z TRACE send{space=Data pn=13 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:30.632432Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:127.0.0.1, 49096) len=35 +2026-10-11T17:31:30.632675Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:30.632754Z TRACE send{space=Data pn=14 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 2 local_addr: 127.0.0.1:46442 +2026-10-11T17:31:30.632795Z TRACE send{space=Data pn=14 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 2 local_addr: 10.200.0.1:46442 +2026-10-11T17:31:30.632808Z TRACE send{space=Data pn=14 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 2 local_addr: 10.200.0.2:46442 +2026-10-11T17:31:30.632859Z TRACE send{space=Data pn=14 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=59 +2026-10-11T17:31:30.632949Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=59 prev_segment_size=1389 +2026-10-11T17:31:30.632984Z TRACE noq_proto::connection: sending 59 bytes in 1 datagrams segment_size=59 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:49096) +2026-10-11T17:31:30.633107Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:30.633284Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:49096) using id 6d19bf7660ef6bcf +2026-10-11T17:31:30.633387Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..6] delay: 1509µs +2026-10-11T17:31:30.633446Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: got frame CONNECTION_CLOSE error_code=4098 reason='not on allowlist' +2026-10-11T17:31:30.633479Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection::state: connection state: draining +2026-10-11T17:31:30.633504Z TRACE pkt{path_id=0}: noq_proto::connection: connection closed +2026-10-11T17:31:30.633543Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:30.633570Z TRACE send{space=Data pn=15 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:30.633597Z TRACE send{space=Data pn=15 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [4..11] delay: 128µs +2026-10-11T17:31:30.633626Z TRACE send{space=Data pn=15 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=0 reason='' +2026-10-11T17:31:30.633650Z TRACE send{space=Data pn=15 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=40 +2026-10-11T17:31:30.633672Z TRACE noq_proto::connection: sending 40 bytes in 1 datagrams segment_size=1389 last_datagram_len=40 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:49096) +2026-10-11T17:31:30.634065Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:31:30.634433Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:49096) using id 6d19bf7660ef6bcf +2026-10-11T17:31:30.635013Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=158.58429900000002 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:31:30.636289Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=159.85899700000002 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:49096)/Active"] +2026-10-11T17:31:30.838411Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:49096)/Active"] +2026-10-11T17:31:30.839320Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:31:30.839396Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-4/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-4/ready.txt new file mode 100644 index 0000000000..25b9f35311 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-4/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=49096 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-4/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-4/server.log new file mode 100644 index 0000000000..6b28658757 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-4/server.log @@ -0,0 +1,245 @@ +2026-10-11T17:31:30.413198Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=49096 direct=["10.200.0.1:49096", "10.200.0.2:49096", "127.0.0.1:49096"] +2026-10-11T17:31:30.494831Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:46442) alpns=["n30/allowlist/0"] +2026-10-11T17:31:30.498563Z TRACE first recv:frame{ty=CRYPTO}: noq_proto::connection: consumed 295 CRYPTO bytes +2026-10-11T17:31:30.511152Z TRACE first recv: noq_proto::connection: Handshake keys ready +2026-10-11T17:31:30.511246Z TRACE first recv: noq_proto::connection: wrote 90 Initial CRYPTO bytes +2026-10-11T17:31:30.511344Z TRACE first recv: noq_proto::connection: Data keys ready +2026-10-11T17:31:30.511411Z TRACE first recv: noq_proto::connection: wrote 389 Handshake CRYPTO bytes +2026-10-11T17:31:30.511478Z TRACE first recv: noq_proto::connection: negotiated max idle timeout Some(30s) +2026-10-11T17:31:30.511498Z DEBUG first recv: noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:31:30.511514Z DEBUG first recv: noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:31:30.511569Z TRACE noq_proto::endpoint: new connection id=0 icid=99248bad3257fa20a93c4b5778385012b903af9c network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:46442) +2026-10-11T17:31:30.512149Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:30.512354Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 2482µs +2026-10-11T17:31:30.512429Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 90 +2026-10-11T17:31:30.512480Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection: will coalesce with next packet +2026-10-11T17:31:30.512535Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=146 +2026-10-11T17:31:30.512634Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 389 +2026-10-11T17:31:30.512669Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 619 +2026-10-11T17:31:30.512702Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1054 +2026-10-11T17:31:30.512841Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:30.512864Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:46442) +2026-10-11T17:31:30.512883Z TRACE noq_proto::connection::paths: anti amplification budget decreased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:46442) anti_amplification_budget=2352 +2026-10-11T17:31:30.513059Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:30.513082Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:30.513095Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:30.526851Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:30.526961Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:30.526993Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:30.527128Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 1 id: 2ab3b574f09d7b85 +2026-10-11T17:31:30.527191Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 2 id: de951f7afb9d9cfd +2026-10-11T17:31:30.527208Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 3 id: 6be56c3f31e9ee4a +2026-10-11T17:31:30.527221Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 4 id: 274400209e4a6626 +2026-10-11T17:31:30.527297Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=138 +2026-10-11T17:31:30.527393Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=138 prev_segment_size=1200 +2026-10-11T17:31:30.527424Z TRACE noq_proto::connection: sending 138 bytes in 1 datagrams segment_size=138 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:46442) +2026-10-11T17:31:30.527441Z TRACE noq_proto::connection::paths: anti amplification budget decreased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:46442) anti_amplification_budget=2214 +2026-10-11T17:31:30.527587Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:30.527606Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:30.527618Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:30.577420Z TRACE pkt{path_id=0}: noq_proto::connection: got Initial packet (52 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:46442) using id 2b80061ca514a162 +2026-10-11T17:31:30.577724Z TRACE pkt{path_id=0}: noq_proto::connection::paths: anti amplification budget increased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:46442) anti_amplification_budget=2370 +2026-10-11T17:31:30.577776Z TRACE pkt{path_id=0}: noq_proto::connection::paths: anti amplification budget increased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:46442) anti_amplification_budget=5814 +2026-10-11T17:31:30.577813Z TRACE pkt{path_id=0}: noq_proto::connection: got Handshake packet (1148 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:46442) using id 2b80061ca514a162 +2026-10-11T17:31:30.577887Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: discarding Initial keys +2026-10-11T17:31:30.578068Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 181 CRYPTO bytes +2026-10-11T17:31:30.612135Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: wrote 178 Data CRYPTO bytes +2026-10-11T17:31:30.612251Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: discarding Handshake keys +2026-10-11T17:31:30.612330Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: handshake confirmed +2026-10-11T17:31:30.612347Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection::state: connection state: established +2026-10-11T17:31:30.612359Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: established +2026-10-11T17:31:30.612501Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1326 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:46442) using id 2b80061ca514a162 +2026-10-11T17:31:30.612611Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame PING +2026-10-11T17:31:30.612637Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:30.612949Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1173 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:46442) using id 2b80061ca514a162 +2026-10-11T17:31:30.613015Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 127.0.0.1:46442 +2026-10-11T17:31:30.613114Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 10.200.0.1:46442 +2026-10-11T17:31:30.613148Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 10.200.0.2:46442 +2026-10-11T17:31:30.613178Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:30.613212Z DEBUG pkt{path_id=0}:recv{space=Data pn=1}:frame{ty=PATH_STATUS_AVAILABLE path=0}: noq_proto::connection::paths: remote changed path status status=Available seq=2 +2026-10-11T17:31:30.613258Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 1 id: 6d19bf7660ef6bcf +2026-10-11T17:31:30.613321Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 2 id: e00189ef3d5376d3 +2026-10-11T17:31:30.613348Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 3 id: dfe230253d609476 +2026-10-11T17:31:30.613375Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 4 id: 8de73932b5c5ff51 +2026-10-11T17:31:30.613406Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: 80b37af56af17ed8 +2026-10-11T17:31:30.613439Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: 59524994c5ac79e0 +2026-10-11T17:31:30.613473Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 0a900d885c2970bd +2026-10-11T17:31:30.613516Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: a1387a603e4c0731 +2026-10-11T17:31:30.613549Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: 307c8c9186ee4a48 +2026-10-11T17:31:30.613575Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 533b56bb703a85b5 +2026-10-11T17:31:30.613603Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: d809bd96f4b251ec +2026-10-11T17:31:30.613628Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: e8b2f52f0ca43e6b +2026-10-11T17:31:30.613656Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: d89c5dca832f9fb4 +2026-10-11T17:31:30.613683Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: bf20dcd0a24c000f +2026-10-11T17:31:30.613712Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: f05d1975bfa7ebae +2026-10-11T17:31:30.613750Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 45d34ed0723d7201 +2026-10-11T17:31:30.613775Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 799af6e56d0c7740 +2026-10-11T17:31:30.613803Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 83ce7d20ae6bb493 +2026-10-11T17:31:30.613830Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 565dad7daa1a7298 +2026-10-11T17:31:30.613857Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: b770f8ab0c9e01ae +2026-10-11T17:31:30.613887Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 5a7bd33456fa637d +2026-10-11T17:31:30.613948Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 695e6d656c4517c1 +2026-10-11T17:31:30.613977Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: 7ad34f837c12ba27 +2026-10-11T17:31:30.614005Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 417e0bc51cefd48a +2026-10-11T17:31:30.614032Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: e2a5ce3df13df84b +2026-10-11T17:31:30.614070Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: fb5ee06bb0254f5c +2026-10-11T17:31:30.614096Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 1f3ad2641113347b +2026-10-11T17:31:30.614123Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: f980201859f6bb46 +2026-10-11T17:31:30.614152Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 50b3bc4578920f1b +2026-10-11T17:31:30.614177Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 174b5fe216f25938 +2026-10-11T17:31:30.614203Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: 918042e791fe858c +2026-10-11T17:31:30.614227Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: 780de67d16651699 +2026-10-11T17:31:30.614249Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 828d6cb4ecf9da61 +2026-10-11T17:31:30.614273Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: 5d94a6135c6d644f +2026-10-11T17:31:30.614299Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 7b1ae3ea01b98076 +2026-10-11T17:31:30.614340Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: 08b070d72c7bcb1a +2026-10-11T17:31:30.614368Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 9c65c726e4f824a5 +2026-10-11T17:31:30.614447Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (86 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:46442) using id 2b80061ca514a162 +2026-10-11T17:31:30.614515Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: c4bf1dc73c6d03d9 +2026-10-11T17:31:30.614542Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 82e828bce4887438 +2026-10-11T17:31:30.614575Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:46442) using id 2b80061ca514a162 +2026-10-11T17:31:30.614623Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame STREAM id=client bidirectional stream 0 offset=0 len=6 fin=true +2026-10-11T17:31:30.614788Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(ff69dd4b07fdc870) msg="(nat-traversal)" +2026-10-11T17:31:30.614825Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:30.614862Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.2, 46442) len=35 +2026-10-11T17:31:30.615576Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(4f400482750d25e8) msg="(nat-traversal)" +2026-10-11T17:31:30.615618Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:30.615644Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:127.0.0.1, 46442) len=35 +2026-10-11T17:31:30.615737Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(80e131b93c7d7926) msg="(nat-traversal)" +2026-10-11T17:31:30.616622Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:30.616683Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.1, 46442) len=35 +2026-10-11T17:31:30.616818Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:30.616858Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=HANDSHAKE_DONE +2026-10-11T17:31:30.616916Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..4] delay: 3612µs +2026-10-11T17:31:30.616968Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 178 +2026-10-11T17:31:30.617005Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RETIRE_CONNECTION_ID path_id: 0 seq: 0 +2026-10-11T17:31:30.617052Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=223 +2026-10-11T17:31:30.617121Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=223 prev_segment_size=1200 +2026-10-11T17:31:30.617141Z TRACE noq_proto::connection: sending 223 bytes in 1 datagrams segment_size=223 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:46442) +2026-10-11T17:31:30.617203Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:30.617251Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1326 +2026-10-11T17:31:30.617271Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:30.617287Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:30.617299Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1298 +2026-10-11T17:31:30.617321Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1326 +2026-10-11T17:31:30.617347Z TRACE noq_proto::connection: sending 1326 bytes in 1 datagrams segment_size=1326 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:46442) +2026-10-11T17:31:30.617392Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:30.617440Z TRACE timeout{scope="conn" timer=NatTraversalProbeRetry}: noq_proto::connection: timeout +2026-10-11T17:31:30.617470Z TRACE timeout{scope="conn" timer=NatTraversalProbeRetry}: noq_proto::connection: re-queued NAT probes +2026-10-11T17:31:30.618783Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(a957ea66d831913) msg="(nat-traversal)" +2026-10-11T17:31:30.618842Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:30.618882Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.1, 46442) len=35 +2026-10-11T17:31:30.618983Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(c0ef4089ee6907a7) msg="(nat-traversal)" +2026-10-11T17:31:30.619013Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:30.619036Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.2, 46442) len=35 +2026-10-11T17:31:30.619086Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(ff94a05ef7716e38) msg="(nat-traversal)" +2026-10-11T17:31:30.619103Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:30.619122Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:127.0.0.1, 46442) len=35 +2026-10-11T17:31:30.619191Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=1.186276ms +2026-10-11T17:31:30.619302Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:31:30.619700Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(134203098274192) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:49096, 10.200.0.2:49096, 127.0.0.1:49096} +2026-10-11T17:31:30.619917Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(134203098274192) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:31:30.620164Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:31:30.620191Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:31:30.620261Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:31:30.620389Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:46442) using id 2b80061ca514a162 +2026-10-11T17:31:30.620463Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:46442)/Active"] +2026-10-11T17:31:30.620547Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:30.620604Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3] delay: 97µs +2026-10-11T17:31:30.620715Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_RESPONSE(4f400482750d25e8) +2026-10-11T17:31:30.621023Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1389 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:46442) using id 2b80061ca514a162 +2026-10-11T17:31:30.621123Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame PING +2026-10-11T17:31:30.621150Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:30.621475Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:30.621546Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..6] delay: 162µs +2026-10-11T17:31:30.621588Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=ADD_IPV_4_ADDRESS seq_no: 2 addr: 127.0.0.1:49096 +2026-10-11T17:31:30.621613Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=ADD_IPV_4_ADDRESS seq_no: 1 addr: 10.200.0.2:49096 +2026-10-11T17:31:30.621629Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=ADD_IPV_4_ADDRESS seq_no: 0 addr: 10.200.0.1:49096 +2026-10-11T17:31:30.621655Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:30.621717Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: 46d070a1302d6f6a +2026-10-11T17:31:30.621741Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: 0410e311d3e31081 +2026-10-11T17:31:30.621754Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 59f395d746825007 +2026-10-11T17:31:30.621767Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: f2a7a8fe2eb14270 +2026-10-11T17:31:30.621782Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: efa562fe61b84e76 +2026-10-11T17:31:30.621821Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: b608af3c8c60de25 +2026-10-11T17:31:30.621871Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: 42716591d4ab4667 +2026-10-11T17:31:30.621884Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 4008342fd4aa2076 +2026-10-11T17:31:30.621907Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 7dfd210d040e2991 +2026-10-11T17:31:30.621925Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 9008517787885df5 +2026-10-11T17:31:30.621938Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: adf6f2a5ddccc66b +2026-10-11T17:31:30.621950Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 8a3782fa8338c8a6 +2026-10-11T17:31:30.621962Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 4efe2f9cd393375c +2026-10-11T17:31:30.621973Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 6495f7846dd1be9e +2026-10-11T17:31:30.621986Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 954501df2ba34174 +2026-10-11T17:31:30.621998Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: 0a556b3ed2bdd962 +2026-10-11T17:31:30.622010Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 51622fe5e899d814 +2026-10-11T17:31:30.622024Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: d2f2f654264d2e02 +2026-10-11T17:31:30.622036Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: 515c85489f7658f4 +2026-10-11T17:31:30.622049Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 1babcf127a3bc081 +2026-10-11T17:31:30.622063Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: ada05e157223ecd0 +2026-10-11T17:31:30.622078Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 63286b69893984fa +2026-10-11T17:31:30.622091Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 8a992d745d524dcf +2026-10-11T17:31:30.622104Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 740bb974e6780e5e +2026-10-11T17:31:30.622116Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: ba152a5ad2787e3b +2026-10-11T17:31:30.622129Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 049d40a510906ed1 +2026-10-11T17:31:30.622144Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: a446b0bdf54f7205 +2026-10-11T17:31:30.622157Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: eadd675c673b2078 +2026-10-11T17:31:30.622169Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 76233b3671c2e192 +2026-10-11T17:31:30.622180Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: c958ae82d65ccef6 +2026-10-11T17:31:30.622202Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: f22fe6a1d4df19dc +2026-10-11T17:31:30.622213Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: 8c036080f1090e83 +2026-10-11T17:31:30.622226Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: fc85eb8529a7711f +2026-10-11T17:31:30.622249Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 020e166ed2a55fdd +2026-10-11T17:31:30.622266Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 8f899830e93c4959 +2026-10-11T17:31:30.622336Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1123 +2026-10-11T17:31:30.622429Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1123 prev_segment_size=1200 +2026-10-11T17:31:30.622457Z TRACE noq_proto::connection: sending 1123 bytes in 1 datagrams segment_size=1123 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:46442) +2026-10-11T17:31:30.622637Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:30.622779Z TRACE timer_fired{scope="path" path_id=0 timer=Pacing}: noq_proto::connection: timeout +2026-10-11T17:31:30.629604Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:46442)/Active"] +2026-10-11T17:31:30.629773Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:46442)/Active"] +2026-10-11T17:31:30.629803Z TRACE noq_proto::connection: connection closed +2026-10-11T17:31:30.629826Z TRACE noq_proto::connection::state: connection state: closed remote_reason=Application(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) is_local=true +2026-10-11T17:31:30.629943Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:31:30.630141Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:31:30.630439Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:46442) using id 2b80061ca514a162 +2026-10-11T17:31:30.630585Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: processing frame in closed state frame=ImmediateAck +2026-10-11T17:31:30.630629Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: processing frame in closed state frame=PathAck(PathAck { path_id: PathId(0), largest: 9, delay: 426, ranges: [4..10], ecn: Some(EcnCounts { ect0: 4, ect1: 0, ce: 0 }) }) +2026-10-11T17:31:30.630661Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: processing frame in closed state frame=PathResponse(PathResponse(18416521105963576888)) +2026-10-11T17:31:30.630683Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: processing frame in closed state frame=NewConnectionId(NewConnectionId { path_id: Some(PathId(0)), sequence: 5, retire_prior_to: 0, id: [153, 75, 195, 185, 46, 111, 64, 226], reset_token: ResetToken([243, 20, 213, 16, 205, 203, 220, 32, 236, 216, 141, 99, 101, 53, 1, 167]) }) +2026-10-11T17:31:30.631193Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (30 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:46442) using id 2b80061ca514a162 +2026-10-11T17:31:30.631294Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:46442) using id 2b80061ca514a162 +2026-10-11T17:31:30.631339Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: processing frame in closed state frame=PathResponse(PathResponse(13902401535870568359)) +2026-10-11T17:31:30.631367Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: processing frame in closed state frame=PathChallenge(PathChallenge(1417524713988048040)) +2026-10-11T17:31:30.631568Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 10.200.0.1, remote: [::ffff:10.200.0.1]:46442) using id 2b80061ca514a162 +2026-10-11T17:31:30.631600Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: processing frame in closed state frame=PathResponse(PathResponse(762654965176146195)) +2026-10-11T17:31:30.631614Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: processing frame in closed state frame=PathChallenge(PathChallenge(6835987430083039342)) +2026-10-11T17:31:30.631808Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1420 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:46442) using id 2b80061ca514a162 +2026-10-11T17:31:30.631839Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: processing frame in closed state frame=Ping +2026-10-11T17:31:30.631853Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: processing frame in closed state frame=ImmediateAck +2026-10-11T17:31:30.632091Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:46442) using id 2b80061ca514a162 +2026-10-11T17:31:30.632160Z TRACE pkt{path_id=0}:recv{space=Data pn=11}: noq_proto::connection: processing frame in closed state frame=PathChallenge(PathChallenge(14430880307631939556)) +2026-10-11T17:31:30.632229Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:30.632267Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:30.632324Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..6] delay: 1509µs +2026-10-11T17:31:30.632360Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=4098 reason='not on allowlist' +2026-10-11T17:31:30.632387Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:30.632418Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=1200 last_datagram_len=56 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:46442) +2026-10-11T17:31:30.633413Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 10.200.0.1, remote: [::ffff:10.200.0.1]:46442) using id 2b80061ca514a162 +2026-10-11T17:31:30.633482Z TRACE pkt{path_id=0}:recv{space=Data pn=12}: noq_proto::connection: processing frame in closed state frame=PathChallenge(PathChallenge(14551188800432822976)) +2026-10-11T17:31:30.633530Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:46442) using id 2b80061ca514a162 +2026-10-11T17:31:30.633558Z TRACE pkt{path_id=0}:recv{space=Data pn=13}: noq_proto::connection: processing frame in closed state frame=PathChallenge(PathChallenge(11748981643198717767)) +2026-10-11T17:31:30.633592Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (59 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:46442) using id 2b80061ca514a162 +2026-10-11T17:31:30.633624Z TRACE pkt{path_id=0}:recv{space=Data pn=14}: noq_proto::connection: processing frame in closed state frame=ReachOut(ReachOut { round: 2, ip: 127.0.0.1, port: 46442 }) +2026-10-11T17:31:30.633642Z TRACE pkt{path_id=0}:recv{space=Data pn=14}: noq_proto::connection: processing frame in closed state frame=ReachOut(ReachOut { round: 2, ip: 10.200.0.1, port: 46442 }) +2026-10-11T17:31:30.633658Z TRACE pkt{path_id=0}:recv{space=Data pn=14}: noq_proto::connection: processing frame in closed state frame=ReachOut(ReachOut { round: 2, ip: 10.200.0.2, port: 46442 }) +2026-10-11T17:31:30.633748Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:30.633778Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:30.633809Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..6] delay: 1699µs +2026-10-11T17:31:30.633834Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=4098 reason='not on allowlist' +2026-10-11T17:31:30.633865Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:30.633887Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=1200 last_datagram_len=56 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:46442) +2026-10-11T17:31:30.637150Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (40 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:46442) using id 2b80061ca514a162 +2026-10-11T17:31:30.637372Z TRACE pkt{path_id=0}:recv{space=Data pn=15}: noq_proto::connection: processing frame in closed state frame=PathAck(PathAck { path_id: PathId(0), largest: 10, delay: 128, ranges: [4..11], ecn: Some(EcnCounts { ect0: 5, ect1: 0, ce: 0 }) }) +2026-10-11T17:31:30.637412Z TRACE pkt{path_id=0}:recv{space=Data pn=15}: noq_proto::connection: processing frame in closed state frame=Close(Connection(ConnectionClose { error_code: NO_ERROR, frame_type: None, reason: b"" })) +2026-10-11T17:31:30.637451Z TRACE pkt{path_id=0}:recv{space=Data pn=15}: noq_proto::connection::state: connection state: draining diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-5/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-5/client.log new file mode 100644 index 0000000000..8321265ed8 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-5/client.log @@ -0,0 +1,300 @@ +2026-10-11T17:31:31.616246Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:34441] +2026-10-11T17:31:31.617018Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:31:31.617204Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:31:31.617312Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:31:31.617328Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:31:31.617354Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:31:31.620252Z TRACE noq_proto::endpoint: initial_dcid=8c1753b919fa8b776b4e79420e56a352b7ad7f8c +2026-10-11T17:31:31.620963Z TRACE noq_proto::token_memory_cache: taking token server_name=ha4e7nbk17opbvaircmjpeiteb56e2dv3ma146vjei403d0fdte0.iroh.invalid found=false +2026-10-11T17:31:31.621348Z TRACE noq_proto::connection: wrote 292 Initial CRYPTO bytes +2026-10-11T17:31:31.622219Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:31.622643Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 292 +2026-10-11T17:31:31.622712Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 849 +2026-10-11T17:31:31.622772Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:31.622865Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: , remote: [fd15:70a:510b:0:d3c3:d987:bad1:1a8a]:12345) +2026-10-11T17:31:31.623013Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:31.623253Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:34441)] +2026-10-11T17:31:31.634620Z TRACE pkt{path_id=0}: noq_proto::connection: got Initial packet (146 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:34441) using id 9924b0763bdadcc4 +2026-10-11T17:31:31.634861Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: server migrated to new remote network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:34441) prev=(local: , remote: [fd15:70a:510b:0:d3c3:d987:bad1:1a8a]:12345) +2026-10-11T17:31:31.634930Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: switching remote CID to db4d08d6eb1253c2 +2026-10-11T17:31:31.634965Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection::state: connection state: handshake +2026-10-11T17:31:31.635177Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 90 CRYPTO bytes +2026-10-11T17:31:31.636260Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: Handshake keys ready +2026-10-11T17:31:31.636408Z TRACE pkt{path_id=0}: noq_proto::connection: got Handshake packet (1054 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:34441) using id 9924b0763bdadcc4 +2026-10-11T17:31:31.636574Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 390 CRYPTO bytes +2026-10-11T17:31:31.665190Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: Data keys ready +2026-10-11T17:31:31.665378Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: wrote 181 Handshake CRYPTO bytes +2026-10-11T17:31:31.665467Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: negotiated max idle timeout Some(30s) +2026-10-11T17:31:31.665507Z DEBUG pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:31:31.665532Z DEBUG pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:31:31.665582Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection::state: connection state: established +2026-10-11T17:31:31.665601Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: established +2026-10-11T17:31:31.665789Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (138 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:34441) using id 9924b0763bdadcc4 +2026-10-11T17:31:31.665983Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 1 id: 37c0ebae35e40ebf +2026-10-11T17:31:31.666052Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 2 id: 1f4350a3f80da3bd +2026-10-11T17:31:31.666078Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 3 id: e3d8d99b9789243b +2026-10-11T17:31:31.666101Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 4 id: 2b8834c37353738d +2026-10-11T17:31:31.666268Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:31.666370Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 4007µs +2026-10-11T17:31:31.666507Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection: will coalesce with next packet +2026-10-11T17:31:31.666562Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=52 +2026-10-11T17:31:31.666605Z TRACE noq_proto::connection: discarding Initial keys +2026-10-11T17:31:31.666687Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 4007µs +2026-10-11T17:31:31.666713Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 181 +2026-10-11T17:31:31.666759Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 912 +2026-10-11T17:31:31.666789Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1148 +2026-10-11T17:31:31.666829Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:31.666842Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:34441) +2026-10-11T17:31:31.671078Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:31.671193Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:31.671304Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1326 +2026-10-11T17:31:31.671364Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:31.671382Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:31.671396Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1298 +2026-10-11T17:31:31.671467Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1326 +2026-10-11T17:31:31.671538Z TRACE noq_proto::connection: sending 1326 bytes in 1 datagrams segment_size=1326 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:34441) +2026-10-11T17:31:31.671711Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:31.671730Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:31.672720Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(106512626459232) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:55759, 10.200.0.2:55759, 127.0.0.1:55759} +2026-10-11T17:31:31.673017Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:31.673070Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:31.673224Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 1 id: 715efde079069159 +2026-10-11T17:31:31.673278Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 2 id: 38313bb76d131896 +2026-10-11T17:31:31.673292Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 3 id: 426ed56dc96b4d21 +2026-10-11T17:31:31.673304Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 4 id: d5656f041ab1a4da +2026-10-11T17:31:31.673318Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: 4b74011f3bf89173 +2026-10-11T17:31:31.673332Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: 4fb864428b25a8f7 +2026-10-11T17:31:31.673345Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: df1a47a59d8e8065 +2026-10-11T17:31:31.673358Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 0425d719327036d9 +2026-10-11T17:31:31.673370Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: c2566b9854fecdfe +2026-10-11T17:31:31.673383Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 83ac226d390ab36b +2026-10-11T17:31:31.673397Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: 633b0e356bb115cd +2026-10-11T17:31:31.673411Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 8f3c25739ff664d8 +2026-10-11T17:31:31.673424Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: e4d1e919327f78f1 +2026-10-11T17:31:31.673437Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 060766c72950e452 +2026-10-11T17:31:31.673450Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: cbee7a93dea5df6e +2026-10-11T17:31:31.673463Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 18b4d599cc62827f +2026-10-11T17:31:31.673477Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 522e29a59be51968 +2026-10-11T17:31:31.673497Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 0df8781a36185466 +2026-10-11T17:31:31.673511Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 941f7e8b982a195d +2026-10-11T17:31:31.673524Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: ae6443b05cb3f7c8 +2026-10-11T17:31:31.673537Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 999b8ab168970a63 +2026-10-11T17:31:31.673558Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 4e907c985948e735 +2026-10-11T17:31:31.673572Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: a8f7fbf9ee7e6488 +2026-10-11T17:31:31.673585Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 00780d8bb170edb5 +2026-10-11T17:31:31.673599Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 8676ea6d6b9f44a1 +2026-10-11T17:31:31.673612Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 33ed2e8c424c2f2b +2026-10-11T17:31:31.673625Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: d3fd4d7d7d5615c2 +2026-10-11T17:31:31.673639Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 52c0e16ea971fb78 +2026-10-11T17:31:31.673653Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 6934a448c430f356 +2026-10-11T17:31:31.673666Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: a77ad98f8bf54cfc +2026-10-11T17:31:31.673680Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: f440adf55244d219 +2026-10-11T17:31:31.673694Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: 2e9a7d98277aac07 +2026-10-11T17:31:31.673708Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: cb384d8470bde149 +2026-10-11T17:31:31.673721Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: 5362618c586c4f22 +2026-10-11T17:31:31.673735Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 17fb4fd0c4da1b9c +2026-10-11T17:31:31.673749Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: 0d3c6e8898541817 +2026-10-11T17:31:31.673763Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 691068e17d73bae6 +2026-10-11T17:31:31.673776Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 7c3c40a720a072db +2026-10-11T17:31:31.673842Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1166 +2026-10-11T17:31:31.673928Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1166 prev_segment_size=1200 +2026-10-11T17:31:31.673958Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=935.62µs +2026-10-11T17:31:31.673974Z TRACE noq_proto::connection: sending 1166 bytes in 1 datagrams segment_size=1166 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:34441) +2026-10-11T17:31:31.678031Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:31.678153Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=935.62µs +2026-10-11T17:31:31.678288Z TRACE timer_fired{scope="path" path_id=0 timer=Pacing}: noq_proto::connection: timeout +2026-10-11T17:31:31.678515Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:31.678534Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:31.678634Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 364a82892e65198d +2026-10-11T17:31:31.678735Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:31.678785Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=56 prev_segment_size=1200 +2026-10-11T17:31:31.678803Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=56 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:34441) +2026-10-11T17:31:31.678966Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:31.678987Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:31.679763Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(106512626459232) send_tasks=FuturesUnorderedBounded { len: 0, .. }}:do_holepunching: noq_proto::n0_nat_traversal: initiating NAT traversal round round=1 reach_out=3 to_probe=0 +2026-10-11T17:31:31.680093Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:31.680138Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:31.680198Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 127.0.0.1:55759 +2026-10-11T17:31:31.680227Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 10.200.0.1:55759 +2026-10-11T17:31:31.680240Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 10.200.0.2:55759 +2026-10-11T17:31:31.680265Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:31.680323Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=63 +2026-10-11T17:31:31.680378Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=63 prev_segment_size=1200 +2026-10-11T17:31:31.680403Z TRACE noq_proto::connection: sending 63 bytes in 1 datagrams segment_size=63 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:34441) +2026-10-11T17:31:31.680590Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:31.680610Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:31.681479Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=65.093823 remote_info=["Ip(127.0.0.1:34441)/Active"] +2026-10-11T17:31:31.681615Z TRACE noq_proto::connection::streams: wrote 6 bytes stream=client bidirectional stream 0 +2026-10-11T17:31:31.681751Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:31.681782Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:31.681862Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=STREAM id: client bidirectional stream 0 off: 0 len: 6 fin: false +2026-10-11T17:31:31.681941Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:31.682014Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=35 prev_segment_size=1200 +2026-10-11T17:31:31.682034Z TRACE noq_proto::connection: sending 35 bytes in 1 datagrams segment_size=35 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:34441) +2026-10-11T17:31:31.682146Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:31.682163Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:31.682773Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:31.682819Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:31.682943Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=STREAM id: client bidirectional stream 0 off: 6 len: 0 fin: true +2026-10-11T17:31:31.683014Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=30 +2026-10-11T17:31:31.683060Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=30 prev_segment_size=1200 +2026-10-11T17:31:31.683080Z TRACE noq_proto::connection: sending 30 bytes in 1 datagrams segment_size=30 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:34441) +2026-10-11T17:31:31.687105Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:31.687254Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:31.696876Z TRACE pkt{path_id=0}: noq_proto::connection: discarding packet from unrecognized peer path_id=0 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:34441) known_path.network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:34441) +2026-10-11T17:31:31.697036Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:31.697059Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:31.697961Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:34441) using id 715efde079069159 +2026-10-11T17:31:31.698158Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_CHALLENGE(a63a788ac598c148) +2026-10-11T17:31:31.698300Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:31.698344Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:31.698390Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:31.698424Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3] delay: 76µs +2026-10-11T17:31:31.698457Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(a63a788ac598c148) +2026-10-11T17:31:31.698493Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1152 +2026-10-11T17:31:31.698523Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:31.698587Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:34441) +2026-10-11T17:31:31.701986Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:31.702046Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:31.702160Z TRACE pkt{path_id=0}: noq_proto::connection: discarding packet from unrecognized peer path_id=0 network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:34441) known_path.network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:34441) +2026-10-11T17:31:31.702326Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (223 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:34441) using id 715efde079069159 +2026-10-11T17:31:31.702542Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame HANDSHAKE_DONE +2026-10-11T17:31:31.703972Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=HANDSHAKE_DONE}: noq_proto::connection: discarding Handshake keys +2026-10-11T17:31:31.704052Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=HANDSHAKE_DONE}: noq_proto::connection: handshake confirmed +2026-10-11T17:31:31.704131Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..6] delay: 1616µs +2026-10-11T17:31:31.704180Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1326 +2026-10-11T17:31:31.704312Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame CRYPTO offset=0 len=178 +2026-10-11T17:31:31.704344Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=CRYPTO}: noq_proto::connection: consumed 178 CRYPTO bytes +2026-10-11T17:31:31.704583Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_RETIRE_CONNECTION_ID path_id: 0 seq: 0 +2026-10-11T17:31:31.704694Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1326 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:34441) using id 715efde079069159 +2026-10-11T17:31:31.704792Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame PING +2026-10-11T17:31:31.704825Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:31.705127Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1076 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:34441) using id 715efde079069159 +2026-10-11T17:31:31.705205Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: 06232299f5557e2d +2026-10-11T17:31:31.705252Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: da652da951529c04 +2026-10-11T17:31:31.705282Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: db857baf3c7d7c2a +2026-10-11T17:31:31.705311Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 334ab8c176a4800f +2026-10-11T17:31:31.705339Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: a89697e8d9f96f83 +2026-10-11T17:31:31.705366Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 77e50c97fefe1ab2 +2026-10-11T17:31:31.705395Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: 2bee3ff474e35c09 +2026-10-11T17:31:31.705422Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 0bd5a0296bebb3bb +2026-10-11T17:31:31.705449Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 566f102b3d722553 +2026-10-11T17:31:31.705474Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 2d099768c2ace0bc +2026-10-11T17:31:31.705502Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: ed72cd994f0bb412 +2026-10-11T17:31:31.705536Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 91613446d7cf1dc8 +2026-10-11T17:31:31.705563Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 036e247838a5681f +2026-10-11T17:31:31.705591Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 3486affb1003bd47 +2026-10-11T17:31:31.705616Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 751c2bbe5b8d4932 +2026-10-11T17:31:31.705645Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: 3e665c660260d11b +2026-10-11T17:31:31.705676Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 48b5d487f7848e78 +2026-10-11T17:31:31.705703Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: ff15939206439bf8 +2026-10-11T17:31:31.705756Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: 666dfa429933720f +2026-10-11T17:31:31.705782Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 5ebe91198bac3668 +2026-10-11T17:31:31.705809Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 18a713e5a315559e +2026-10-11T17:31:31.705844Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 3148d6276a135657 +2026-10-11T17:31:31.705871Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 5acab444bad71d24 +2026-10-11T17:31:31.706105Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 1802b4610276931f +2026-10-11T17:31:31.706170Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: c65c80de5cbafef8 +2026-10-11T17:31:31.706201Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: d15d59f26d30d6a5 +2026-10-11T17:31:31.706229Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: b36fb3159bd1727b +2026-10-11T17:31:31.706259Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: cfc4ccaca2283649 +2026-10-11T17:31:31.706288Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 1fba8cc504792bb9 +2026-10-11T17:31:31.706317Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: 9288f9a54d2d36ca +2026-10-11T17:31:31.706351Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: dd263f07b311ff99 +2026-10-11T17:31:31.706399Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: 1d437dc322cf4c86 +2026-10-11T17:31:31.706432Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 422a1f42abef8455 +2026-10-11T17:31:31.706461Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 7498f8582c89bfcb +2026-10-11T17:31:31.706489Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: efb730fc0caa759a +2026-10-11T17:31:31.706604Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:31.706666Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3,4..7] delay: 382µs +2026-10-11T17:31:31.706767Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=40 +2026-10-11T17:31:31.706806Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=40 prev_segment_size=1326 +2026-10-11T17:31:31.706827Z TRACE noq_proto::connection: sending 40 bytes in 1 datagrams segment_size=40 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:34441) +2026-10-11T17:31:31.706976Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:31.707027Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1389 +2026-10-11T17:31:31.707048Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:31.707063Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:31.707073Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1361 +2026-10-11T17:31:31.707121Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1389 +2026-10-11T17:31:31.707170Z TRACE noq_proto::connection: sending 1389 bytes in 1 datagrams segment_size=1389 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:34441) +2026-10-11T17:31:31.707242Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:31.707358Z TRACE noq_proto::endpoint: local CID retired 0: 9924b0763bdadcc4 path_id=0 +2026-10-11T17:31:31.707466Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (73 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:34441) using id 715efde079069159 +2026-10-11T17:31:31.707551Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..7] delay: 276µs +2026-10-11T17:31:31.707631Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame ADD_IPV_4_ADDRESS seq_no: 2 addr: 127.0.0.1:34441 +2026-10-11T17:31:31.707672Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame ADD_IPV_4_ADDRESS seq_no: 1 addr: 10.200.0.2:34441 +2026-10-11T17:31:31.707696Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame ADD_IPV_4_ADDRESS seq_no: 0 addr: 10.200.0.1:34441 +2026-10-11T17:31:31.707720Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:31.707750Z DEBUG pkt{path_id=0}:recv{space=Data pn=7}:frame{ty=PATH_STATUS_AVAILABLE path=0}: noq_proto::connection::paths: remote changed path status status=Available seq=2 +2026-10-11T17:31:31.707844Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:31.707960Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 5 id: a976968864706a17 +2026-10-11T17:31:31.708014Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:31.708057Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=56 prev_segment_size=1326 +2026-10-11T17:31:31.708077Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=56 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:34441) +2026-10-11T17:31:31.708144Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:31.708343Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106512626459232) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:31:31.708424Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(106512626459232) evt=Ok(AddressAdded(127.0.0.1:34441)) +2026-10-11T17:31:31.708524Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37529, tv_nsec: 118926458 }, local_candidates: {10.200.0.1:55759, 10.200.0.2:55759, 127.0.0.1:55759}, remote_candidates: {} } local_candidates={10.200.0.1:55759, 10.200.0.2:55759, 127.0.0.1:55759} remote_candidates={10.200.0.1:34441, 10.200.0.2:34441, 127.0.0.1:34441} +2026-10-11T17:31:31.708623Z TRACE RemoteStateActor{remote=8a88e3dd74}:do_holepunching: noq_proto::n0_nat_traversal: initiating NAT traversal round round=2 reach_out=3 to_probe=3 +2026-10-11T17:31:31.708732Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(106512626459232) evt=Ok(AddressAdded(10.200.0.2:34441)) +2026-10-11T17:31:31.708765Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37529, tv_nsec: 147782277 }, local_candidates: {10.200.0.1:55759, 10.200.0.2:55759, 127.0.0.1:55759}, remote_candidates: {10.200.0.1:34441, 10.200.0.2:34441, 127.0.0.1:34441} } local_candidates={10.200.0.1:55759, 10.200.0.2:55759, 127.0.0.1:55759} remote_candidates={10.200.0.1:34441, 10.200.0.2:34441, 127.0.0.1:34441} +2026-10-11T17:31:31.708813Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999868081s +2026-10-11T17:31:31.708849Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(106512626459232) evt=Ok(AddressAdded(10.200.0.1:34441)) +2026-10-11T17:31:31.708876Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37529, tv_nsec: 147782277 }, local_candidates: {10.200.0.1:55759, 10.200.0.2:55759, 127.0.0.1:55759}, remote_candidates: {10.200.0.1:34441, 10.200.0.2:34441, 127.0.0.1:34441} } local_candidates={10.200.0.1:55759, 10.200.0.2:55759, 127.0.0.1:55759} remote_candidates={10.200.0.1:34441, 10.200.0.2:34441, 127.0.0.1:34441} +2026-10-11T17:31:31.709208Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999470319s +2026-10-11T17:31:31.709358Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(6b5ee051ec3cc7a7) msg="(nat-traversal)" +2026-10-11T17:31:31.709400Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:31.709443Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:127.0.0.1, 34441) len=35 +2026-10-11T17:31:31.709548Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(4381222ce39ba934) msg="(nat-traversal)" +2026-10-11T17:31:31.709581Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:31.709605Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.2, 34441) len=35 +2026-10-11T17:31:31.709662Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(b04350488290c7) msg="(nat-traversal)" +2026-10-11T17:31:31.709683Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:31.709702Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.1, 34441) len=35 +2026-10-11T17:31:31.709757Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:31.709795Z TRACE send{space=Data pn=13 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 2 local_addr: 127.0.0.1:55759 +2026-10-11T17:31:31.709817Z TRACE send{space=Data pn=13 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 2 local_addr: 10.200.0.1:55759 +2026-10-11T17:31:31.709831Z TRACE send{space=Data pn=13 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 2 local_addr: 10.200.0.2:55759 +2026-10-11T17:31:31.709877Z TRACE send{space=Data pn=13 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=59 +2026-10-11T17:31:31.709935Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=59 prev_segment_size=1326 +2026-10-11T17:31:31.709958Z TRACE noq_proto::connection: sending 59 bytes in 1 datagrams segment_size=59 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:34441) +2026-10-11T17:31:31.710018Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:31.710249Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1389 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:34441) using id 715efde079069159 +2026-10-11T17:31:31.710348Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: got frame PING +2026-10-11T17:31:31.710389Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:31.710643Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (36 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:34441) using id 715efde079069159 +2026-10-11T17:31:31.710698Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [6..9] delay: 71µs +2026-10-11T17:31:31.710748Z TRACE pkt{path_id=0}:recv{space=Data pn=9}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1389 +2026-10-11T17:31:31.710835Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:31.710880Z TRACE send{space=Data pn=14 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [7..10] delay: 88µs +2026-10-11T17:31:31.710952Z TRACE send{space=Data pn=14 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=36 +2026-10-11T17:31:31.711003Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=36 prev_segment_size=1389 +2026-10-11T17:31:31.711025Z TRACE noq_proto::connection: sending 36 bytes in 1 datagrams segment_size=36 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:34441) +2026-10-11T17:31:31.711119Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:31.711163Z TRACE send{space=Data pn=15 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1420 +2026-10-11T17:31:31.711188Z TRACE send{space=Data pn=15 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:31.711204Z TRACE send{space=Data pn=15 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:31.711218Z TRACE send{space=Data pn=15 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1392 +2026-10-11T17:31:31.711244Z TRACE send{space=Data pn=15 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1420 +2026-10-11T17:31:31.711282Z TRACE noq_proto::connection: sending 1420 bytes in 1 datagrams segment_size=1420 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:34441) +2026-10-11T17:31:31.711354Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:31.711627Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:34441) using id 715efde079069159 +2026-10-11T17:31:31.711752Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [6..10] delay: 140µs +2026-10-11T17:31:31.711877Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: got frame CONNECTION_CLOSE error_code=4098 reason='not on allowlist' +2026-10-11T17:31:31.711945Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection::state: connection state: draining +2026-10-11T17:31:31.711975Z TRACE pkt{path_id=0}: noq_proto::connection: connection closed +2026-10-11T17:31:31.712028Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:31.712059Z TRACE send{space=Data pn=16 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:31.712087Z TRACE send{space=Data pn=16 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [7..11] delay: 68µs +2026-10-11T17:31:31.712115Z TRACE send{space=Data pn=16 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=0 reason='' +2026-10-11T17:31:31.712143Z TRACE send{space=Data pn=16 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=40 +2026-10-11T17:31:31.712164Z TRACE noq_proto::connection: sending 40 bytes in 1 datagrams segment_size=1389 last_datagram_len=40 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:34441) +2026-10-11T17:31:31.712482Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:31:31.712781Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=96.39869800000001 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:31:31.713259Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=96.87629 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:34441)/Active"] +2026-10-11T17:31:31.720129Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (40 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:34441) using id 715efde079069159 +2026-10-11T17:31:31.900116Z TRACE timeout{scope="conn" timer=Close}: noq_proto::connection: timeout +2026-10-11T17:31:31.900203Z TRACE timeout{scope="conn" timer=Close}: noq_proto::connection::state: connection state: drained +2026-10-11T17:31:31.914801Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:34441)/Active"] +2026-10-11T17:31:31.918179Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:31:31.918294Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-5/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-5/ready.txt new file mode 100644 index 0000000000..ec65567fe5 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-5/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=34441 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-5/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-5/server.log new file mode 100644 index 0000000000..41900e218b --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-app/run-5/server.log @@ -0,0 +1,263 @@ +2026-10-11T17:31:31.518948Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=34441 direct=["10.200.0.1:34441", "10.200.0.2:34441", "127.0.0.1:34441"] +2026-10-11T17:31:31.625560Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:55759) alpns=["n30/allowlist/0"] +2026-10-11T17:31:31.626525Z TRACE first recv:frame{ty=CRYPTO}: noq_proto::connection: consumed 292 CRYPTO bytes +2026-10-11T17:31:31.632212Z TRACE first recv: noq_proto::connection: Handshake keys ready +2026-10-11T17:31:31.632301Z TRACE first recv: noq_proto::connection: wrote 90 Initial CRYPTO bytes +2026-10-11T17:31:31.632392Z TRACE first recv: noq_proto::connection: Data keys ready +2026-10-11T17:31:31.632459Z TRACE first recv: noq_proto::connection: wrote 390 Handshake CRYPTO bytes +2026-10-11T17:31:31.632517Z TRACE first recv: noq_proto::connection: negotiated max idle timeout Some(30s) +2026-10-11T17:31:31.632535Z DEBUG first recv: noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:31:31.632552Z DEBUG first recv: noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:31:31.632597Z TRACE noq_proto::endpoint: new connection id=0 icid=8c1753b919fa8b776b4e79420e56a352b7ad7f8c network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:55759) +2026-10-11T17:31:31.632979Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:31.633134Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 1035µs +2026-10-11T17:31:31.633194Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 90 +2026-10-11T17:31:31.633240Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection: will coalesce with next packet +2026-10-11T17:31:31.633286Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=146 +2026-10-11T17:31:31.633412Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 390 +2026-10-11T17:31:31.633458Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 618 +2026-10-11T17:31:31.633481Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1054 +2026-10-11T17:31:31.633512Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:31.633524Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:55759) +2026-10-11T17:31:31.633539Z TRACE noq_proto::connection::paths: anti amplification budget decreased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:55759) anti_amplification_budget=2352 +2026-10-11T17:31:31.633820Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:31.633840Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:31.633850Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:31.641540Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:31.642887Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:31.643001Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=9.8124ms +2026-10-11T17:31:31.655389Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:31.655462Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:31.655491Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:31.655842Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 1 id: 37c0ebae35e40ebf +2026-10-11T17:31:31.655909Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 2 id: 1f4350a3f80da3bd +2026-10-11T17:31:31.655940Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 3 id: e3d8d99b9789243b +2026-10-11T17:31:31.655953Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 4 id: 2b8834c37353738d +2026-10-11T17:31:31.656008Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=138 +2026-10-11T17:31:31.656079Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=138 prev_segment_size=1200 +2026-10-11T17:31:31.656119Z TRACE noq_proto::connection: sending 138 bytes in 1 datagrams segment_size=138 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:55759) +2026-10-11T17:31:31.656136Z TRACE noq_proto::connection::paths: anti amplification budget decreased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:55759) anti_amplification_budget=2214 +2026-10-11T17:31:31.656619Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:31.656643Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:31.656657Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:31.656732Z TRACE timer_fired{scope="path" path_id=0 timer=Pacing}: noq_proto::connection: timeout +2026-10-11T17:31:31.656844Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:31.656855Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:31.656866Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:31.667689Z TRACE pkt{path_id=0}: noq_proto::connection: got Initial packet (52 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:55759) using id db4d08d6eb1253c2 +2026-10-11T17:31:31.668031Z TRACE pkt{path_id=0}: noq_proto::connection::paths: anti amplification budget increased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:55759) anti_amplification_budget=2370 +2026-10-11T17:31:31.668067Z TRACE pkt{path_id=0}: noq_proto::connection::paths: anti amplification budget increased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:55759) anti_amplification_budget=5814 +2026-10-11T17:31:31.668100Z TRACE pkt{path_id=0}: noq_proto::connection: got Handshake packet (1148 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:55759) using id db4d08d6eb1253c2 +2026-10-11T17:31:31.668151Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: discarding Initial keys +2026-10-11T17:31:31.668247Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 181 CRYPTO bytes +2026-10-11T17:31:31.693407Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: wrote 178 Data CRYPTO bytes +2026-10-11T17:31:31.693514Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: discarding Handshake keys +2026-10-11T17:31:31.693574Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: handshake confirmed +2026-10-11T17:31:31.693592Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection::state: connection state: established +2026-10-11T17:31:31.693606Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: established +2026-10-11T17:31:31.693739Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1326 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:55759) using id db4d08d6eb1253c2 +2026-10-11T17:31:31.693845Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame PING +2026-10-11T17:31:31.693875Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:31.694180Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1166 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:55759) using id db4d08d6eb1253c2 +2026-10-11T17:31:31.694266Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 1 id: 715efde079069159 +2026-10-11T17:31:31.694331Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 2 id: 38313bb76d131896 +2026-10-11T17:31:31.694363Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 3 id: 426ed56dc96b4d21 +2026-10-11T17:31:31.694391Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 4 id: d5656f041ab1a4da +2026-10-11T17:31:31.694421Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: 4b74011f3bf89173 +2026-10-11T17:31:31.694452Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: 4fb864428b25a8f7 +2026-10-11T17:31:31.694483Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: df1a47a59d8e8065 +2026-10-11T17:31:31.694511Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 0425d719327036d9 +2026-10-11T17:31:31.694540Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: c2566b9854fecdfe +2026-10-11T17:31:31.694570Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 83ac226d390ab36b +2026-10-11T17:31:31.694600Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: 633b0e356bb115cd +2026-10-11T17:31:31.694629Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 8f3c25739ff664d8 +2026-10-11T17:31:31.694658Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: e4d1e919327f78f1 +2026-10-11T17:31:31.694687Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 060766c72950e452 +2026-10-11T17:31:31.694717Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: cbee7a93dea5df6e +2026-10-11T17:31:31.694755Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 18b4d599cc62827f +2026-10-11T17:31:31.694785Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 522e29a59be51968 +2026-10-11T17:31:31.694814Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 0df8781a36185466 +2026-10-11T17:31:31.694842Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 941f7e8b982a195d +2026-10-11T17:31:31.694870Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: ae6443b05cb3f7c8 +2026-10-11T17:31:31.694915Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 999b8ab168970a63 +2026-10-11T17:31:31.694950Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 4e907c985948e735 +2026-10-11T17:31:31.694977Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: a8f7fbf9ee7e6488 +2026-10-11T17:31:31.695003Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 00780d8bb170edb5 +2026-10-11T17:31:31.695030Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 8676ea6d6b9f44a1 +2026-10-11T17:31:31.695067Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 33ed2e8c424c2f2b +2026-10-11T17:31:31.695095Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: d3fd4d7d7d5615c2 +2026-10-11T17:31:31.695123Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 52c0e16ea971fb78 +2026-10-11T17:31:31.695154Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 6934a448c430f356 +2026-10-11T17:31:31.695181Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: a77ad98f8bf54cfc +2026-10-11T17:31:31.695210Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: f440adf55244d219 +2026-10-11T17:31:31.695237Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: 2e9a7d98277aac07 +2026-10-11T17:31:31.695263Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: cb384d8470bde149 +2026-10-11T17:31:31.695290Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: 5362618c586c4f22 +2026-10-11T17:31:31.695320Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 17fb4fd0c4da1b9c +2026-10-11T17:31:31.695359Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: 0d3c6e8898541817 +2026-10-11T17:31:31.695387Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 691068e17d73bae6 +2026-10-11T17:31:31.695414Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 7c3c40a720a072db +2026-10-11T17:31:31.695507Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:55759) using id db4d08d6eb1253c2 +2026-10-11T17:31:31.695596Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 364a82892e65198d +2026-10-11T17:31:31.695644Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (63 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:55759) using id db4d08d6eb1253c2 +2026-10-11T17:31:31.695690Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 127.0.0.1:55759 +2026-10-11T17:31:31.695748Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 10.200.0.1:55759 +2026-10-11T17:31:31.695776Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 10.200.0.2:55759 +2026-10-11T17:31:31.695804Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:31.695836Z DEBUG pkt{path_id=0}:recv{space=Data pn=3}:frame{ty=PATH_STATUS_AVAILABLE path=0}: noq_proto::connection::paths: remote changed path status status=Available seq=2 +2026-10-11T17:31:31.695883Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:55759) using id db4d08d6eb1253c2 +2026-10-11T17:31:31.695958Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame STREAM id=client bidirectional stream 0 offset=0 len=6 fin=false +2026-10-11T17:31:31.696041Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (30 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:55759) using id db4d08d6eb1253c2 +2026-10-11T17:31:31.696102Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame STREAM id=client bidirectional stream 0 offset=6 len=0 fin=true +2026-10-11T17:31:31.696221Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(877fc520fb27b9db) msg="(nat-traversal)" +2026-10-11T17:31:31.696261Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:31.696299Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.2, 55759) len=35 +2026-10-11T17:31:31.697429Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(a63a788ac598c148) msg="(nat-traversal)" +2026-10-11T17:31:31.697486Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:31.697521Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:127.0.0.1, 55759) len=35 +2026-10-11T17:31:31.699098Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(a0c56b6e016a6866) msg="(nat-traversal)" +2026-10-11T17:31:31.699188Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:31.699246Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.1, 55759) len=35 +2026-10-11T17:31:31.699343Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:31.699381Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=HANDSHAKE_DONE +2026-10-11T17:31:31.699421Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..6] delay: 1616µs +2026-10-11T17:31:31.699452Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 178 +2026-10-11T17:31:31.699479Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RETIRE_CONNECTION_ID path_id: 0 seq: 0 +2026-10-11T17:31:31.699519Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=223 +2026-10-11T17:31:31.699573Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=223 prev_segment_size=1200 +2026-10-11T17:31:31.699595Z TRACE noq_proto::connection: sending 223 bytes in 1 datagrams segment_size=223 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:55759) +2026-10-11T17:31:31.699652Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:31.699706Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1326 +2026-10-11T17:31:31.699727Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:31.699741Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:31.699753Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1298 +2026-10-11T17:31:31.699777Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1326 +2026-10-11T17:31:31.699811Z TRACE noq_proto::connection: sending 1326 bytes in 1 datagrams segment_size=1326 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:55759) +2026-10-11T17:31:31.699873Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:31.701586Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:31.701772Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: 06232299f5557e2d +2026-10-11T17:31:31.701833Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: da652da951529c04 +2026-10-11T17:31:31.701848Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: db857baf3c7d7c2a +2026-10-11T17:31:31.701872Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 334ab8c176a4800f +2026-10-11T17:31:31.701887Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: a89697e8d9f96f83 +2026-10-11T17:31:31.701921Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 77e50c97fefe1ab2 +2026-10-11T17:31:31.701935Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: 2bee3ff474e35c09 +2026-10-11T17:31:31.701951Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 0bd5a0296bebb3bb +2026-10-11T17:31:31.701965Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 566f102b3d722553 +2026-10-11T17:31:31.701980Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 2d099768c2ace0bc +2026-10-11T17:31:31.701993Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: ed72cd994f0bb412 +2026-10-11T17:31:31.702006Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 91613446d7cf1dc8 +2026-10-11T17:31:31.702019Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 036e247838a5681f +2026-10-11T17:31:31.702033Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 3486affb1003bd47 +2026-10-11T17:31:31.702045Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 751c2bbe5b8d4932 +2026-10-11T17:31:31.702059Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: 3e665c660260d11b +2026-10-11T17:31:31.702072Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 48b5d487f7848e78 +2026-10-11T17:31:31.702086Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: ff15939206439bf8 +2026-10-11T17:31:31.702099Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: 666dfa429933720f +2026-10-11T17:31:31.702113Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 5ebe91198bac3668 +2026-10-11T17:31:31.702126Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 18a713e5a315559e +2026-10-11T17:31:31.702140Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 3148d6276a135657 +2026-10-11T17:31:31.702153Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 5acab444bad71d24 +2026-10-11T17:31:31.702167Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 1802b4610276931f +2026-10-11T17:31:31.702182Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: c65c80de5cbafef8 +2026-10-11T17:31:31.702196Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: d15d59f26d30d6a5 +2026-10-11T17:31:31.702216Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: b36fb3159bd1727b +2026-10-11T17:31:31.702229Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: cfc4ccaca2283649 +2026-10-11T17:31:31.702242Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 1fba8cc504792bb9 +2026-10-11T17:31:31.702255Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: 9288f9a54d2d36ca +2026-10-11T17:31:31.702268Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: dd263f07b311ff99 +2026-10-11T17:31:31.702279Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: 1d437dc322cf4c86 +2026-10-11T17:31:31.702293Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 422a1f42abef8455 +2026-10-11T17:31:31.702326Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 7498f8582c89bfcb +2026-10-11T17:31:31.702345Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: efb730fc0caa759a +2026-10-11T17:31:31.702430Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1076 +2026-10-11T17:31:31.702532Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1076 prev_segment_size=1200 +2026-10-11T17:31:31.702567Z TRACE noq_proto::connection: sending 1076 bytes in 1 datagrams segment_size=1076 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:55759) +2026-10-11T17:31:31.702784Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:31.702931Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:31:31.702969Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:55759) using id db4d08d6eb1253c2 +2026-10-11T17:31:31.703153Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:31.703230Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3] delay: 76µs +2026-10-11T17:31:31.703382Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_RESPONSE(a63a788ac598c148) +2026-10-11T17:31:31.703691Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=709.136µs +2026-10-11T17:31:31.704069Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(138622888057408) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:34441, 10.200.0.2:34441, 127.0.0.1:34441} +2026-10-11T17:31:31.704414Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(138622888057408) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:31:31.704963Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:31:31.705039Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:31.705205Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..7] delay: 276µs +2026-10-11T17:31:31.705260Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=ADD_IPV_4_ADDRESS seq_no: 2 addr: 127.0.0.1:34441 +2026-10-11T17:31:31.705295Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=ADD_IPV_4_ADDRESS seq_no: 1 addr: 10.200.0.2:34441 +2026-10-11T17:31:31.705310Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=ADD_IPV_4_ADDRESS seq_no: 0 addr: 10.200.0.1:34441 +2026-10-11T17:31:31.705333Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:31.705402Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=73 +2026-10-11T17:31:31.705460Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=73 prev_segment_size=1200 +2026-10-11T17:31:31.705486Z TRACE noq_proto::connection: sending 73 bytes in 1 datagrams segment_size=73 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:55759) +2026-10-11T17:31:31.705627Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:31.705751Z TRACE timer_fired{scope="path" path_id=0 timer=Pacing}: noq_proto::connection: timeout +2026-10-11T17:31:31.705848Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:31.705933Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:31:31.706080Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:31:31.706449Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:55759)/Active"] +2026-10-11T17:31:31.706639Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:31.707192Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (40 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:55759) using id db4d08d6eb1253c2 +2026-10-11T17:31:31.707345Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3,4..7] delay: 382µs +2026-10-11T17:31:31.707443Z TRACE pkt{path_id=0}:recv{space=Data pn=7}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1326 +2026-10-11T17:31:31.707565Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:31.707611Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1389 +2026-10-11T17:31:31.707633Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:31.707649Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:31.707660Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1361 +2026-10-11T17:31:31.707692Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1389 +2026-10-11T17:31:31.707730Z TRACE noq_proto::connection: sending 1389 bytes in 1 datagrams segment_size=1389 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:55759) +2026-10-11T17:31:31.707862Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:31.708094Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1389 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:55759) using id db4d08d6eb1253c2 +2026-10-11T17:31:31.708198Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: got frame PING +2026-10-11T17:31:31.708234Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:31.708552Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:31.708625Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [6..9] delay: 71µs +2026-10-11T17:31:31.708725Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=36 +2026-10-11T17:31:31.708762Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=36 prev_segment_size=1326 +2026-10-11T17:31:31.708782Z TRACE noq_proto::connection: sending 36 bytes in 1 datagrams segment_size=36 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:55759) +2026-10-11T17:31:31.708874Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:31.709076Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:55759) using id db4d08d6eb1253c2 +2026-10-11T17:31:31.709205Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 5 id: a976968864706a17 +2026-10-11T17:31:31.709300Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:31.709523Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:55759)/Active"] +2026-10-11T17:31:31.709814Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:55759)/Active"] +2026-10-11T17:31:31.709859Z TRACE noq_proto::connection: connection closed +2026-10-11T17:31:31.709881Z TRACE noq_proto::connection::state: connection state: closed remote_reason=Application(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) is_local=true +2026-10-11T17:31:31.710002Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:31:31.710092Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:31.710150Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:31.710188Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [6..10] delay: 140µs +2026-10-11T17:31:31.710227Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=4098 reason='not on allowlist' +2026-10-11T17:31:31.710265Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:31.710298Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=1326 last_datagram_len=56 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:55759) +2026-10-11T17:31:31.710556Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:31:31.714406Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:55759) using id db4d08d6eb1253c2 +2026-10-11T17:31:31.714598Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: processing frame in closed state frame=PathChallenge(PathChallenge(7736867852329469863)) +2026-10-11T17:31:31.714703Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:55759) using id db4d08d6eb1253c2 +2026-10-11T17:31:31.714761Z TRACE pkt{path_id=0}:recv{space=Data pn=11}: noq_proto::connection: processing frame in closed state frame=PathChallenge(PathChallenge(4864206648729381172)) +2026-10-11T17:31:31.714822Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 10.200.0.1, remote: [::ffff:10.200.0.1]:55759) using id db4d08d6eb1253c2 +2026-10-11T17:31:31.714866Z TRACE pkt{path_id=0}:recv{space=Data pn=12}: noq_proto::connection: processing frame in closed state frame=PathChallenge(PathChallenge(49613607994036423)) +2026-10-11T17:31:31.714938Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (59 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:55759) using id db4d08d6eb1253c2 +2026-10-11T17:31:31.714995Z TRACE pkt{path_id=0}:recv{space=Data pn=13}: noq_proto::connection: processing frame in closed state frame=ReachOut(ReachOut { round: 2, ip: 127.0.0.1, port: 55759 }) +2026-10-11T17:31:31.715037Z TRACE pkt{path_id=0}:recv{space=Data pn=13}: noq_proto::connection: processing frame in closed state frame=ReachOut(ReachOut { round: 2, ip: 10.200.0.1, port: 55759 }) +2026-10-11T17:31:31.715054Z TRACE pkt{path_id=0}:recv{space=Data pn=13}: noq_proto::connection: processing frame in closed state frame=ReachOut(ReachOut { round: 2, ip: 10.200.0.2, port: 55759 }) +2026-10-11T17:31:31.715104Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (36 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:55759) using id db4d08d6eb1253c2 +2026-10-11T17:31:31.715153Z TRACE pkt{path_id=0}:recv{space=Data pn=14}: noq_proto::connection: processing frame in closed state frame=PathAck(PathAck { path_id: PathId(0), largest: 9, delay: 88, ranges: [7..10], ecn: Some(EcnCounts { ect0: 7, ect1: 0, ce: 0 }) }) +2026-10-11T17:31:31.715207Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1420 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:55759) using id db4d08d6eb1253c2 +2026-10-11T17:31:31.715245Z TRACE pkt{path_id=0}:recv{space=Data pn=15}: noq_proto::connection: processing frame in closed state frame=Ping +2026-10-11T17:31:31.715261Z TRACE pkt{path_id=0}:recv{space=Data pn=15}: noq_proto::connection: processing frame in closed state frame=ImmediateAck +2026-10-11T17:31:31.715540Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (40 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:55759) using id db4d08d6eb1253c2 +2026-10-11T17:31:31.715607Z TRACE pkt{path_id=0}:recv{space=Data pn=16}: noq_proto::connection: processing frame in closed state frame=PathAck(PathAck { path_id: PathId(0), largest: 10, delay: 68, ranges: [7..11], ecn: Some(EcnCounts { ect0: 8, ect1: 0, ce: 0 }) }) +2026-10-11T17:31:31.715646Z TRACE pkt{path_id=0}:recv{space=Data pn=16}: noq_proto::connection: processing frame in closed state frame=Close(Connection(ConnectionClose { error_code: NO_ERROR, frame_type: None, reason: b"" })) +2026-10-11T17:31:31.715685Z TRACE pkt{path_id=0}:recv{space=Data pn=16}: noq_proto::connection::state: connection state: draining +2026-10-11T17:31:31.715793Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:31.715845Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:31.715887Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [6..10] delay: 848µs +2026-10-11T17:31:31.719123Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=0 reason='' +2026-10-11T17:31:31.719288Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=40 +2026-10-11T17:31:31.719390Z TRACE noq_proto::connection: sending 40 bytes in 1 datagrams segment_size=1326 last_datagram_len=40 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:55759) +2026-10-11T17:31:32.180610Z TRACE timeout{scope="conn" timer=Close}: noq_proto::connection: timeout +2026-10-11T17:31:32.180673Z TRACE timeout{scope="conn" timer=Close}: noq_proto::connection::state: connection state: drained diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-01/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-01/client.log new file mode 100644 index 0000000000..767beaf8a6 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-01/client.log @@ -0,0 +1,246 @@ +2026-10-11T17:31:15.458801Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:50942] +2026-10-11T17:31:15.461216Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:31:15.461447Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:31:15.461579Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:31:15.461603Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:31:15.461636Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:31:15.461863Z TRACE noq_proto::endpoint: initial_dcid=855741e41ede66b80bad6f5f1fac485d8eecd316 +2026-10-11T17:31:15.463682Z TRACE noq_proto::token_memory_cache: taking token server_name=ha4e7nbk17opbvaircmjpeiteb56e2dv3ma146vjei403d0fdte0.iroh.invalid found=false +2026-10-11T17:31:15.465568Z TRACE noq_proto::connection: wrote 284 Initial CRYPTO bytes +2026-10-11T17:31:15.467050Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:15.467318Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 284 +2026-10-11T17:31:15.467406Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 857 +2026-10-11T17:31:15.467518Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:15.467627Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: , remote: [fd15:70a:510b:0:bd69:a1c9:a539:52f2]:12345) +2026-10-11T17:31:15.467827Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:15.468093Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:50942)] +2026-10-11T17:31:15.482594Z TRACE pkt{path_id=0}: noq_proto::connection: got Initial packet (146 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:50942) using id b272626d4cde460a +2026-10-11T17:31:15.482702Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: server migrated to new remote network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:50942) prev=(local: , remote: [fd15:70a:510b:0:bd69:a1c9:a539:52f2]:12345) +2026-10-11T17:31:15.482754Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: switching remote CID to 289b5ad05fe41408 +2026-10-11T17:31:15.482778Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection::state: connection state: handshake +2026-10-11T17:31:15.482923Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 90 CRYPTO bytes +2026-10-11T17:31:15.483839Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: Handshake keys ready +2026-10-11T17:31:15.483965Z TRACE pkt{path_id=0}: noq_proto::connection: got Handshake packet (1054 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:50942) using id b272626d4cde460a +2026-10-11T17:31:15.484140Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 391 CRYPTO bytes +2026-10-11T17:31:15.513075Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: Data keys ready +2026-10-11T17:31:15.516086Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: wrote 181 Handshake CRYPTO bytes +2026-10-11T17:31:15.516334Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: negotiated max idle timeout Some(30s) +2026-10-11T17:31:15.516393Z DEBUG pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:31:15.516412Z DEBUG pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:31:15.516444Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection::state: connection state: established +2026-10-11T17:31:15.516460Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: established +2026-10-11T17:31:15.516678Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (138 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:50942) using id b272626d4cde460a +2026-10-11T17:31:15.516819Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 1 id: 925f6edfed0cd8e7 +2026-10-11T17:31:15.516871Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 2 id: c5559fe6f97f7ac4 +2026-10-11T17:31:15.516893Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 3 id: 1248294bb3cab3d9 +2026-10-11T17:31:15.516960Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 4 id: d386bed3296752c3 +2026-10-11T17:31:15.517109Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:15.517220Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 4341µs +2026-10-11T17:31:15.517296Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection: will coalesce with next packet +2026-10-11T17:31:15.517343Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=52 +2026-10-11T17:31:15.517382Z TRACE noq_proto::connection: discarding Initial keys +2026-10-11T17:31:15.517458Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 4341µs +2026-10-11T17:31:15.517482Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 181 +2026-10-11T17:31:15.517519Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 912 +2026-10-11T17:31:15.517544Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1148 +2026-10-11T17:31:15.517582Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:15.517596Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:50942) +2026-10-11T17:31:15.530827Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:15.531035Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:15.531227Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1326 +2026-10-11T17:31:15.531287Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:15.531308Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:15.531321Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1298 +2026-10-11T17:31:15.531404Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1326 +2026-10-11T17:31:15.531510Z TRACE noq_proto::connection: sending 1326 bytes in 1 datagrams segment_size=1326 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:50942) +2026-10-11T17:31:15.531769Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:15.531784Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:15.532568Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:15.532619Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:15.532739Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 1 id: 386cac731444bc7c +2026-10-11T17:31:15.532783Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 2 id: 9c606b02c3dd777a +2026-10-11T17:31:15.532796Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 3 id: c285d7da5473f550 +2026-10-11T17:31:15.532809Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 4 id: aea1ab5a0a496f0c +2026-10-11T17:31:15.532820Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: d1981adb8b18a0b4 +2026-10-11T17:31:15.532832Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: f3f334468544b0ec +2026-10-11T17:31:15.532844Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: e02dde3896875f8e +2026-10-11T17:31:15.532865Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: e4b9b1b2ae08b4c4 +2026-10-11T17:31:15.532877Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: 23fffd14e4e3fa45 +2026-10-11T17:31:15.532890Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: e6d165b2512d9960 +2026-10-11T17:31:15.532916Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: fd96839a523485f1 +2026-10-11T17:31:15.532928Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: c9bf9a0058da2185 +2026-10-11T17:31:15.532940Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 8596c09129aec7a8 +2026-10-11T17:31:15.532953Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 360398f232dc7f7b +2026-10-11T17:31:15.532965Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: 86d344f9e7544da9 +2026-10-11T17:31:15.532977Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 6b85fb655438be8f +2026-10-11T17:31:15.532990Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 7ba536770415f334 +2026-10-11T17:31:15.533003Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: c7a03e12ca1b84b2 +2026-10-11T17:31:15.533016Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: bc2a1be69597e957 +2026-10-11T17:31:15.533028Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: a156051e527fd4be +2026-10-11T17:31:15.533041Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: b5732bfcccb8187e +2026-10-11T17:31:15.533054Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: ee2e939d0423c53e +2026-10-11T17:31:15.533066Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: 757131eb2cee9d51 +2026-10-11T17:31:15.533087Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: c2ba32f2f3611a7f +2026-10-11T17:31:15.533100Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 33dd742a541aebad +2026-10-11T17:31:15.533113Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: f08b7c3becaf9c1a +2026-10-11T17:31:15.533126Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 39b5717c10e5d172 +2026-10-11T17:31:15.533138Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 01e5f2762f1e059b +2026-10-11T17:31:15.533151Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 75bf0846c648062f +2026-10-11T17:31:15.533164Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: ade4915704a71944 +2026-10-11T17:31:15.533176Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: 1cdee2f5c20daa3e +2026-10-11T17:31:15.533188Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: 899833cf932ec3f0 +2026-10-11T17:31:15.533201Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 1a4f1493f8894f36 +2026-10-11T17:31:15.533214Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: 202eae01c8480061 +2026-10-11T17:31:15.533234Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 28caeddd5bbbdb79 +2026-10-11T17:31:15.533246Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: 020e772ad14a27ab +2026-10-11T17:31:15.533257Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 431da748f10f0892 +2026-10-11T17:31:15.533270Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 03421e2c2cd11a8e +2026-10-11T17:31:15.533401Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1166 +2026-10-11T17:31:15.533542Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1166 prev_segment_size=1200 +2026-10-11T17:31:15.533576Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=1.193276ms +2026-10-11T17:31:15.533598Z TRACE noq_proto::connection: sending 1166 bytes in 1 datagrams segment_size=1166 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:50942) +2026-10-11T17:31:15.533815Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:15.533836Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=1.193276ms +2026-10-11T17:31:15.553248Z TRACE timer_fired{scope="path" path_id=0 timer=Pacing}: noq_proto::connection: timeout +2026-10-11T17:31:15.553882Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:15.553932Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:15.554040Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: cd3fdadcaf120a57 +2026-10-11T17:31:15.554142Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:15.554196Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=56 prev_segment_size=1200 +2026-10-11T17:31:15.554226Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=56 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:50942) +2026-10-11T17:31:15.554358Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:15.554371Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:15.556497Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(98336858910432) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:40590, 10.200.0.2:40590, 127.0.0.1:40590} +2026-10-11T17:31:15.556778Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(98336858910432) send_tasks=FuturesUnorderedBounded { len: 0, .. }}:do_holepunching: noq_proto::n0_nat_traversal: initiating NAT traversal round round=1 reach_out=3 to_probe=0 +2026-10-11T17:31:15.557114Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:15.557168Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:15.557247Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 10.200.0.2:40590 +2026-10-11T17:31:15.557278Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 127.0.0.1:40590 +2026-10-11T17:31:15.557292Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 10.200.0.1:40590 +2026-10-11T17:31:15.557312Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:15.557394Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=63 +2026-10-11T17:31:15.557476Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=63 prev_segment_size=1200 +2026-10-11T17:31:15.557505Z TRACE noq_proto::connection: sending 63 bytes in 1 datagrams segment_size=63 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:50942) +2026-10-11T17:31:15.557664Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:15.557686Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:15.563955Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:15.564050Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:15.564231Z TRACE timer_fired{scope="path" path_id=0 timer=LossDetection}: noq_proto::connection: timeout +2026-10-11T17:31:15.564299Z TRACE timer_fired{scope="path" path_id=0 timer=LossDetection}: noq_proto::connection: PTO fired in_flight=3759 count=0 space=Handshake path_id=0 +2026-10-11T17:31:15.564445Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:15.564505Z TRACE send{space=Handshake pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 181 +2026-10-11T17:31:15.564605Z TRACE send{space=Handshake pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=227 +2026-10-11T17:31:15.564644Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=227 prev_segment_size=1200 +2026-10-11T17:31:15.564660Z TRACE noq_proto::connection: new datagram started count=2 +2026-10-11T17:31:15.564683Z TRACE send{space=Handshake pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 181 +2026-10-11T17:31:15.564702Z TRACE send{space=Handshake pn=2 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=227 +2026-10-11T17:31:15.564725Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:15.564735Z TRACE noq_proto::connection: sending 454 bytes in 2 datagrams segment_size=227 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:50942) +2026-10-11T17:31:15.565009Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:15.565046Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:15.565513Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=105.749543 remote_info=["Ip(127.0.0.1:50942)/Active"] +2026-10-11T17:31:15.575932Z TRACE pkt{path_id=0}: noq_proto::connection: discarding packet from unrecognized peer path_id=0 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:50942) known_path.network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:50942) +2026-10-11T17:31:15.576061Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:50942) using id 386cac731444bc7c +2026-10-11T17:31:15.576192Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_CHALLENGE(3d4275f5d161f5c9) +2026-10-11T17:31:15.576250Z TRACE pkt{path_id=0}: noq_proto::connection: discarding packet from unrecognized peer path_id=0 network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:50942) known_path.network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:50942) +2026-10-11T17:31:15.576280Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (223 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:50942) using id 386cac731444bc7c +2026-10-11T17:31:15.576326Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame HANDSHAKE_DONE +2026-10-11T17:31:15.576340Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=HANDSHAKE_DONE}: noq_proto::connection: discarding Handshake keys +2026-10-11T17:31:15.576410Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=HANDSHAKE_DONE}: noq_proto::connection: handshake confirmed +2026-10-11T17:31:15.576451Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..4] delay: 1350µs +2026-10-11T17:31:15.576507Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1326 +2026-10-11T17:31:15.576661Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame CRYPTO offset=0 len=178 +2026-10-11T17:31:15.576691Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=CRYPTO}: noq_proto::connection: consumed 178 CRYPTO bytes +2026-10-11T17:31:15.576956Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_RETIRE_CONNECTION_ID path_id: 0 seq: 0 +2026-10-11T17:31:15.577059Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1326 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:50942) using id 386cac731444bc7c +2026-10-11T17:31:15.577112Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame PING +2026-10-11T17:31:15.577131Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:15.577418Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:15.577468Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:15.577495Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3,4..6] delay: 212µs +2026-10-11T17:31:15.577518Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(3d4275f5d161f5c9) +2026-10-11T17:31:15.577554Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1150 +2026-10-11T17:31:15.577597Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:15.577636Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1200 prev_segment_size=1326 +2026-10-11T17:31:15.577654Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:50942) +2026-10-11T17:31:15.577900Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:15.577945Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1389 +2026-10-11T17:31:15.577965Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:15.577977Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:15.577986Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1361 +2026-10-11T17:31:15.578006Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1389 +2026-10-11T17:31:15.578042Z TRACE noq_proto::connection: sending 1389 bytes in 1 datagrams segment_size=1389 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:50942) +2026-10-11T17:31:15.578101Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:15.578302Z TRACE noq_proto::endpoint: local CID retired 0: b272626d4cde460a path_id=0 +2026-10-11T17:31:15.578474Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:15.578543Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 5 id: 1aaac401d7201990 +2026-10-11T17:31:15.578592Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:15.578624Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=56 prev_segment_size=1326 +2026-10-11T17:31:15.578639Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=56 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:50942) +2026-10-11T17:31:15.578700Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:15.605775Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1076 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:50942) using id 386cac731444bc7c +2026-10-11T17:31:15.606173Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: 0cddb997d5e46f67 +2026-10-11T17:31:15.606310Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: a4221b29659c321a +2026-10-11T17:31:15.606339Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: fc035f5581d1e48c +2026-10-11T17:31:15.606364Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 388764407f462c0e +2026-10-11T17:31:15.606387Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: 90ff7b6f8e4539ba +2026-10-11T17:31:15.606410Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 91333f426b0f4004 +2026-10-11T17:31:15.606438Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: b2e2478a532e748a +2026-10-11T17:31:15.606463Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 296089926609b654 +2026-10-11T17:31:15.606488Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 7f982a3934a6f422 +2026-10-11T17:31:15.606512Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 1126bdfb33b85d1a +2026-10-11T17:31:15.606549Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: 8dd944cd060c9a30 +2026-10-11T17:31:15.606618Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 47f4c1f0e4c94c25 +2026-10-11T17:31:15.606643Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 06a89c6c9d65689e +2026-10-11T17:31:15.606668Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 1c6f13294113b935 +2026-10-11T17:31:15.606691Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: e1b67c317c848560 +2026-10-11T17:31:15.606714Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: 33490f2a8e31e5d2 +2026-10-11T17:31:15.606739Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 9ba94b2e7edb6b8f +2026-10-11T17:31:15.606765Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 607c85181475d39f +2026-10-11T17:31:15.606788Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: ad6835554ef73bfa +2026-10-11T17:31:15.606811Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: ef73ba8aa404173f +2026-10-11T17:31:15.606834Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 25f23a28ad4a0360 +2026-10-11T17:31:15.606857Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 488a205167307ea9 +2026-10-11T17:31:15.606881Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 8b6e6b44b40d52a2 +2026-10-11T17:31:15.606915Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: a5b1096e2c2f4d4c +2026-10-11T17:31:15.606941Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 534ca983eecf1a3d +2026-10-11T17:31:15.606963Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 7e734fe76e175b28 +2026-10-11T17:31:15.606987Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: f661a272035760d5 +2026-10-11T17:31:15.607009Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: bc92006118fc0827 +2026-10-11T17:31:15.607032Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 45489bcfdc250376 +2026-10-11T17:31:15.607054Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: 9fc5421cf560be0e +2026-10-11T17:31:15.607077Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 1ce36c819f0dbc4f +2026-10-11T17:31:15.607108Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: ab4240de93259089 +2026-10-11T17:31:15.607132Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 862b46e03cd82b46 +2026-10-11T17:31:15.607155Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: f373a620c0061378 +2026-10-11T17:31:15.607178Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 20ad38cf235c3183 +2026-10-11T17:31:15.607252Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:50942) using id 386cac731444bc7c +2026-10-11T17:31:15.607319Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_CHALLENGE(78441257d9f9f839) +2026-10-11T17:31:15.607356Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:50942) using id 386cac731444bc7c +2026-10-11T17:31:15.607386Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: got frame PATH_CHALLENGE(9d14583f6a909045) +2026-10-11T17:31:15.607417Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 10.200.0.1, remote: [::ffff:10.200.0.1]:50942) using id 386cac731444bc7c +2026-10-11T17:31:15.607445Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_CHALLENGE(15acd471167c3115) +2026-10-11T17:31:15.607473Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (36 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:50942) using id 386cac731444bc7c +2026-10-11T17:31:15.607513Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [4..7] delay: 2168µs +2026-10-11T17:31:15.607575Z TRACE pkt{path_id=0}:recv{space=Data pn=10}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1389 +2026-10-11T17:31:15.607663Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1389 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:50942) using id 386cac731444bc7c +2026-10-11T17:31:15.607700Z TRACE pkt{path_id=0}:recv{space=Data pn=11}: noq_proto::connection: got frame PING +2026-10-11T17:31:15.607719Z TRACE pkt{path_id=0}:recv{space=Data pn=11}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:15.607996Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:50942) using id 386cac731444bc7c +2026-10-11T17:31:15.608039Z TRACE pkt{path_id=0}:recv{space=Data pn=12}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [4..7] delay: 2473µs +2026-10-11T17:31:15.608073Z TRACE pkt{path_id=0}:recv{space=Data pn=12}: noq_proto::connection: got frame CONNECTION_CLOSE error_code=4097 reason='not on allowlist' +2026-10-11T17:31:15.608133Z TRACE pkt{path_id=0}:recv{space=Data pn=12}: noq_proto::connection::state: connection state: draining +2026-10-11T17:31:15.608162Z TRACE pkt{path_id=0}: noq_proto::connection: connection closed +2026-10-11T17:31:15.608300Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:15.608344Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:15.608395Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [6..13] delay: 370µs +2026-10-11T17:31:15.608436Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=0 reason='' +2026-10-11T17:31:15.608469Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=40 +2026-10-11T17:31:15.608497Z TRACE noq_proto::connection: sending 40 bytes in 1 datagrams segment_size=1389 last_datagram_len=40 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:50942) +2026-10-11T17:31:15.620356Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:31:15.621199Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=161.428618 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:50942)/Active"] +2026-10-11T17:31:15.823968Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:50942)/Active"] +2026-10-11T17:31:15.824207Z TRACE timeout{scope="conn" timer=Close}: noq_proto::connection: timeout +2026-10-11T17:31:15.824262Z TRACE timeout{scope="conn" timer=Close}: noq_proto::connection::state: connection state: drained +2026-10-11T17:31:15.824485Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:31:15.824507Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-01/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-01/ready.txt new file mode 100644 index 0000000000..b4f3d3b97e --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-01/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=50942 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-01/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-01/server.log new file mode 100644 index 0000000000..28f1b9b3e4 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-01/server.log @@ -0,0 +1,230 @@ +2026-10-11T17:31:15.402263Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=50942 direct=["10.200.0.1:50942", "10.200.0.2:50942", "127.0.0.1:50942"] +2026-10-11T17:31:15.472300Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:40590) alpns=["n30/allowlist/0"] +2026-10-11T17:31:15.473667Z TRACE first recv:frame{ty=CRYPTO}: noq_proto::connection: consumed 284 CRYPTO bytes +2026-10-11T17:31:15.475843Z TRACE first recv: noq_proto::connection: Handshake keys ready +2026-10-11T17:31:15.478589Z TRACE first recv: noq_proto::connection: wrote 90 Initial CRYPTO bytes +2026-10-11T17:31:15.478816Z TRACE first recv: noq_proto::connection: Data keys ready +2026-10-11T17:31:15.478881Z TRACE first recv: noq_proto::connection: wrote 391 Handshake CRYPTO bytes +2026-10-11T17:31:15.479008Z TRACE first recv: noq_proto::connection: negotiated max idle timeout Some(30s) +2026-10-11T17:31:15.479035Z DEBUG first recv: noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:31:15.479058Z DEBUG first recv: noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:31:15.479180Z TRACE noq_proto::endpoint: new connection id=0 icid=855741e41ede66b80bad6f5f1fac485d8eecd316 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40590) +2026-10-11T17:31:15.481221Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:15.481516Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 1559µs +2026-10-11T17:31:15.481595Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 90 +2026-10-11T17:31:15.481650Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection: will coalesce with next packet +2026-10-11T17:31:15.481725Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=146 +2026-10-11T17:31:15.481849Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 391 +2026-10-11T17:31:15.481924Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 617 +2026-10-11T17:31:15.481959Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1054 +2026-10-11T17:31:15.482003Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:15.482019Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40590) +2026-10-11T17:31:15.482037Z TRACE noq_proto::connection::paths: anti amplification budget decreased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40590) anti_amplification_budget=2352 +2026-10-11T17:31:15.482197Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:15.482215Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:15.482228Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:15.482471Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:15.482492Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:15.482514Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=12.8094ms +2026-10-11T17:31:15.496874Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:15.496969Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:15.497002Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:15.497198Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 1 id: 925f6edfed0cd8e7 +2026-10-11T17:31:15.497259Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 2 id: c5559fe6f97f7ac4 +2026-10-11T17:31:15.497290Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 3 id: 1248294bb3cab3d9 +2026-10-11T17:31:15.497304Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 4 id: d386bed3296752c3 +2026-10-11T17:31:15.497386Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=138 +2026-10-11T17:31:15.497478Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=138 prev_segment_size=1200 +2026-10-11T17:31:15.497501Z TRACE noq_proto::connection: sending 138 bytes in 1 datagrams segment_size=138 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40590) +2026-10-11T17:31:15.497543Z TRACE noq_proto::connection::paths: anti amplification budget decreased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40590) anti_amplification_budget=2214 +2026-10-11T17:31:15.497758Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:15.497775Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:15.497785Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:15.497868Z TRACE timer_fired{scope="path" path_id=0 timer=Pacing}: noq_proto::connection: timeout +2026-10-11T17:31:15.498031Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:15.498055Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:15.498067Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:15.521744Z TRACE pkt{path_id=0}: noq_proto::connection: got Initial packet (52 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40590) using id 289b5ad05fe41408 +2026-10-11T17:31:15.522328Z TRACE pkt{path_id=0}: noq_proto::connection::paths: anti amplification budget increased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40590) anti_amplification_budget=2370 +2026-10-11T17:31:15.522369Z TRACE pkt{path_id=0}: noq_proto::connection::paths: anti amplification budget increased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40590) anti_amplification_budget=5814 +2026-10-11T17:31:15.522408Z TRACE pkt{path_id=0}: noq_proto::connection: got Handshake packet (1148 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40590) using id 289b5ad05fe41408 +2026-10-11T17:31:15.522456Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: discarding Initial keys +2026-10-11T17:31:15.522585Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 181 CRYPTO bytes +2026-10-11T17:31:15.566583Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: wrote 178 Data CRYPTO bytes +2026-10-11T17:31:15.566659Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: discarding Handshake keys +2026-10-11T17:31:15.566708Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: handshake confirmed +2026-10-11T17:31:15.566723Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection::state: connection state: established +2026-10-11T17:31:15.566736Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: established +2026-10-11T17:31:15.566826Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1326 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40590) using id 289b5ad05fe41408 +2026-10-11T17:31:15.566927Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame PING +2026-10-11T17:31:15.566957Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:15.567218Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1166 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40590) using id 289b5ad05fe41408 +2026-10-11T17:31:15.567294Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 1 id: 386cac731444bc7c +2026-10-11T17:31:15.567352Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 2 id: 9c606b02c3dd777a +2026-10-11T17:31:15.567377Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 3 id: c285d7da5473f550 +2026-10-11T17:31:15.567401Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 4 id: aea1ab5a0a496f0c +2026-10-11T17:31:15.567426Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: d1981adb8b18a0b4 +2026-10-11T17:31:15.567452Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: f3f334468544b0ec +2026-10-11T17:31:15.567476Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: e02dde3896875f8e +2026-10-11T17:31:15.567499Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: e4b9b1b2ae08b4c4 +2026-10-11T17:31:15.567523Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: 23fffd14e4e3fa45 +2026-10-11T17:31:15.567546Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: e6d165b2512d9960 +2026-10-11T17:31:15.567569Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: fd96839a523485f1 +2026-10-11T17:31:15.567593Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: c9bf9a0058da2185 +2026-10-11T17:31:15.567618Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 8596c09129aec7a8 +2026-10-11T17:31:15.567641Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 360398f232dc7f7b +2026-10-11T17:31:15.567666Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: 86d344f9e7544da9 +2026-10-11T17:31:15.567702Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 6b85fb655438be8f +2026-10-11T17:31:15.567731Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 7ba536770415f334 +2026-10-11T17:31:15.567757Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: c7a03e12ca1b84b2 +2026-10-11T17:31:15.567782Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: bc2a1be69597e957 +2026-10-11T17:31:15.567805Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: a156051e527fd4be +2026-10-11T17:31:15.567829Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: b5732bfcccb8187e +2026-10-11T17:31:15.567854Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: ee2e939d0423c53e +2026-10-11T17:31:15.567878Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: 757131eb2cee9d51 +2026-10-11T17:31:15.567913Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: c2ba32f2f3611a7f +2026-10-11T17:31:15.567947Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 33dd742a541aebad +2026-10-11T17:31:15.567984Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: f08b7c3becaf9c1a +2026-10-11T17:31:15.568011Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 39b5717c10e5d172 +2026-10-11T17:31:15.568035Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 01e5f2762f1e059b +2026-10-11T17:31:15.568062Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 75bf0846c648062f +2026-10-11T17:31:15.568088Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: ade4915704a71944 +2026-10-11T17:31:15.568116Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: 1cdee2f5c20daa3e +2026-10-11T17:31:15.568145Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: 899833cf932ec3f0 +2026-10-11T17:31:15.568169Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 1a4f1493f8894f36 +2026-10-11T17:31:15.568193Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: 202eae01c8480061 +2026-10-11T17:31:15.568217Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 28caeddd5bbbdb79 +2026-10-11T17:31:15.568271Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: 020e772ad14a27ab +2026-10-11T17:31:15.568295Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 431da748f10f0892 +2026-10-11T17:31:15.568319Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 03421e2c2cd11a8e +2026-10-11T17:31:15.568372Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40590) using id 289b5ad05fe41408 +2026-10-11T17:31:15.568423Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: cd3fdadcaf120a57 +2026-10-11T17:31:15.568467Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (63 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40590) using id 289b5ad05fe41408 +2026-10-11T17:31:15.568507Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 10.200.0.2:40590 +2026-10-11T17:31:15.568551Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 127.0.0.1:40590 +2026-10-11T17:31:15.568576Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 10.200.0.1:40590 +2026-10-11T17:31:15.568601Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:15.568629Z DEBUG pkt{path_id=0}:recv{space=Data pn=3}:frame{ty=PATH_STATUS_AVAILABLE path=0}: noq_proto::connection::paths: remote changed path status status=Available seq=2 +2026-10-11T17:31:15.568671Z DEBUG pkt{path_id=0}: noq_proto::connection::packet_crypto: dropping unexpected packet encryption_level=Some(Handshake) bytes=227 +2026-10-11T17:31:15.568697Z DEBUG pkt{path_id=0}: noq_proto::connection::packet_crypto: dropping unexpected packet encryption_level=Some(Handshake) bytes=227 +2026-10-11T17:31:15.568773Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(9decfd6339294632) msg="(nat-traversal)" +2026-10-11T17:31:15.568812Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:15.568840Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.2, 40590) len=35 +2026-10-11T17:31:15.572834Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(3d4275f5d161f5c9) msg="(nat-traversal)" +2026-10-11T17:31:15.573014Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:15.573110Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:127.0.0.1, 40590) len=35 +2026-10-11T17:31:15.573264Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(e17a9d400e4bdbbe) msg="(nat-traversal)" +2026-10-11T17:31:15.573295Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:15.573315Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.1, 40590) len=35 +2026-10-11T17:31:15.573392Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:15.573421Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=HANDSHAKE_DONE +2026-10-11T17:31:15.573469Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..4] delay: 1350µs +2026-10-11T17:31:15.573523Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 178 +2026-10-11T17:31:15.573561Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RETIRE_CONNECTION_ID path_id: 0 seq: 0 +2026-10-11T17:31:15.573599Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=223 +2026-10-11T17:31:15.573651Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=223 prev_segment_size=1200 +2026-10-11T17:31:15.573670Z TRACE noq_proto::connection: sending 223 bytes in 1 datagrams segment_size=223 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40590) +2026-10-11T17:31:15.573721Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:15.573768Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1326 +2026-10-11T17:31:15.573783Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:15.573795Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:15.573805Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1298 +2026-10-11T17:31:15.573823Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1326 +2026-10-11T17:31:15.573845Z TRACE noq_proto::connection: sending 1326 bytes in 1 datagrams segment_size=1326 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40590) +2026-10-11T17:31:15.573887Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:15.579965Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:15.580208Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: 0cddb997d5e46f67 +2026-10-11T17:31:15.580302Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: a4221b29659c321a +2026-10-11T17:31:15.580319Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: fc035f5581d1e48c +2026-10-11T17:31:15.580333Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 388764407f462c0e +2026-10-11T17:31:15.580346Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: 90ff7b6f8e4539ba +2026-10-11T17:31:15.580380Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 91333f426b0f4004 +2026-10-11T17:31:15.580394Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: b2e2478a532e748a +2026-10-11T17:31:15.580405Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 296089926609b654 +2026-10-11T17:31:15.580417Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 7f982a3934a6f422 +2026-10-11T17:31:15.580431Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 1126bdfb33b85d1a +2026-10-11T17:31:15.580444Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: 8dd944cd060c9a30 +2026-10-11T17:31:15.580456Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 47f4c1f0e4c94c25 +2026-10-11T17:31:15.580469Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 06a89c6c9d65689e +2026-10-11T17:31:15.580480Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 1c6f13294113b935 +2026-10-11T17:31:15.580492Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: e1b67c317c848560 +2026-10-11T17:31:15.580504Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: 33490f2a8e31e5d2 +2026-10-11T17:31:15.580517Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 9ba94b2e7edb6b8f +2026-10-11T17:31:15.580534Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 607c85181475d39f +2026-10-11T17:31:15.580548Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: ad6835554ef73bfa +2026-10-11T17:31:15.580562Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: ef73ba8aa404173f +2026-10-11T17:31:15.580575Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 25f23a28ad4a0360 +2026-10-11T17:31:15.580589Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 488a205167307ea9 +2026-10-11T17:31:15.580602Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 8b6e6b44b40d52a2 +2026-10-11T17:31:15.580615Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: a5b1096e2c2f4d4c +2026-10-11T17:31:15.580628Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 534ca983eecf1a3d +2026-10-11T17:31:15.580641Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 7e734fe76e175b28 +2026-10-11T17:31:15.580654Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: f661a272035760d5 +2026-10-11T17:31:15.580665Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: bc92006118fc0827 +2026-10-11T17:31:15.580684Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 45489bcfdc250376 +2026-10-11T17:31:15.580696Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: 9fc5421cf560be0e +2026-10-11T17:31:15.580708Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 1ce36c819f0dbc4f +2026-10-11T17:31:15.580721Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: ab4240de93259089 +2026-10-11T17:31:15.580733Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 862b46e03cd82b46 +2026-10-11T17:31:15.580747Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: f373a620c0061378 +2026-10-11T17:31:15.580760Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 20ad38cf235c3183 +2026-10-11T17:31:15.580829Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1076 +2026-10-11T17:31:15.581324Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:31:15.596648Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1076 prev_segment_size=1200 +2026-10-11T17:31:15.596791Z TRACE noq_proto::connection: sending 1076 bytes in 1 datagrams segment_size=1076 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40590) +2026-10-11T17:31:15.597006Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:15.597136Z TRACE timeout{scope="conn" timer=NatTraversalProbeRetry}: noq_proto::connection: timeout +2026-10-11T17:31:15.597181Z TRACE timeout{scope="conn" timer=NatTraversalProbeRetry}: noq_proto::connection: re-queued NAT probes +2026-10-11T17:31:15.597388Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40590) using id 289b5ad05fe41408 +2026-10-11T17:31:15.597509Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:15.597577Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3,4..6] delay: 212µs +2026-10-11T17:31:15.597699Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1326 +2026-10-11T17:31:15.597749Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_RESPONSE(3d4275f5d161f5c9) +2026-10-11T17:31:15.597995Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1389 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40590) using id 289b5ad05fe41408 +2026-10-11T17:31:15.598052Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame PING +2026-10-11T17:31:15.598071Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:15.598304Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40590) using id 289b5ad05fe41408 +2026-10-11T17:31:15.598345Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 5 id: 1aaac401d7201990 +2026-10-11T17:31:15.598447Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(78441257d9f9f839) msg="(nat-traversal)" +2026-10-11T17:31:15.598475Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:15.598498Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.2, 40590) len=35 +2026-10-11T17:31:15.598645Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(9d14583f6a909045) msg="(nat-traversal)" +2026-10-11T17:31:15.598663Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:15.598681Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:127.0.0.1, 40590) len=35 +2026-10-11T17:31:15.598719Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(15acd471167c3115) msg="(nat-traversal)" +2026-10-11T17:31:15.598735Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:15.598749Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.1, 40590) len=35 +2026-10-11T17:31:15.598812Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:15.598850Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [4..7] delay: 2168µs +2026-10-11T17:31:15.598929Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=36 +2026-10-11T17:31:15.598960Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=36 prev_segment_size=1326 +2026-10-11T17:31:15.598980Z TRACE noq_proto::connection: sending 36 bytes in 1 datagrams segment_size=36 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40590) +2026-10-11T17:31:15.599028Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:15.599057Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1389 +2026-10-11T17:31:15.599071Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:15.599082Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:15.599091Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1361 +2026-10-11T17:31:15.599107Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1389 +2026-10-11T17:31:15.599136Z TRACE noq_proto::connection: sending 1389 bytes in 1 datagrams segment_size=1389 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40590) +2026-10-11T17:31:15.599176Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:15.599692Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(134683731956336) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:50942, 10.200.0.2:50942, 127.0.0.1:50942} +2026-10-11T17:31:15.599848Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(134683731956336) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:31:15.600110Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:31:15.600147Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:31:15.600221Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:31:15.600267Z TRACE noq_proto::connection: connection closed +2026-10-11T17:31:15.600281Z TRACE noq_proto::connection::state: connection state: closed remote_reason=Application(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) is_local=true +2026-10-11T17:31:15.600662Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:31:15.600741Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:40590)/Active"] +2026-10-11T17:31:15.600918Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:15.600990Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:15.601037Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [4..7] delay: 2473µs +2026-10-11T17:31:15.601081Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=4097 reason='not on allowlist' +2026-10-11T17:31:15.601156Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:15.601198Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=1326 last_datagram_len=56 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40590) +2026-10-11T17:31:15.609395Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (40 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40590) using id 289b5ad05fe41408 +2026-10-11T17:31:15.609530Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: processing frame in closed state frame=PathAck(PathAck { path_id: PathId(0), largest: 12, delay: 370, ranges: [6..13], ecn: Some(EcnCounts { ect0: 7, ect1: 0, ce: 0 }) }) +2026-10-11T17:31:15.609567Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: processing frame in closed state frame=Close(Connection(ConnectionClose { error_code: NO_ERROR, frame_type: None, reason: b"" })) +2026-10-11T17:31:15.609589Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection::state: connection state: draining +2026-10-11T17:31:16.004504Z TRACE timeout{scope="conn" timer=Close}: noq_proto::connection: timeout +2026-10-11T17:31:16.004631Z TRACE timeout{scope="conn" timer=Close}: noq_proto::connection::state: connection state: drained diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-02/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-02/client.log new file mode 100644 index 0000000000..84a7267d6a --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-02/client.log @@ -0,0 +1,458 @@ +2026-10-11T17:31:16.612034Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:43082] +2026-10-11T17:31:16.612921Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:31:16.613086Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:31:16.613216Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:31:16.613237Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:31:16.613271Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:31:16.614051Z TRACE noq_proto::endpoint: initial_dcid=6ed997ba26ea59a6b124db229b3b2af5501cbc72 +2026-10-11T17:31:16.614849Z TRACE noq_proto::token_memory_cache: taking token server_name=ha4e7nbk17opbvaircmjpeiteb56e2dv3ma146vjei403d0fdte0.iroh.invalid found=false +2026-10-11T17:31:16.615197Z TRACE noq_proto::connection: wrote 284 Initial CRYPTO bytes +2026-10-11T17:31:16.616070Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:16.616270Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 284 +2026-10-11T17:31:16.616336Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 857 +2026-10-11T17:31:16.616384Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:16.616457Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: , remote: [fd15:70a:510b:0:239f:2467:8419:1026]:12345) +2026-10-11T17:31:16.616568Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:16.616712Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:43082)] +2026-10-11T17:31:16.636834Z TRACE pkt{path_id=0}: noq_proto::connection: got Initial packet (146 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:43082) using id 4345a12bdd2b76de +2026-10-11T17:31:16.637014Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: server migrated to new remote network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:43082) prev=(local: , remote: [fd15:70a:510b:0:239f:2467:8419:1026]:12345) +2026-10-11T17:31:16.637074Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: switching remote CID to a1348bffbc32fa53 +2026-10-11T17:31:16.637128Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection::state: connection state: handshake +2026-10-11T17:31:16.637325Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 90 CRYPTO bytes +2026-10-11T17:31:16.638409Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: Handshake keys ready +2026-10-11T17:31:16.638562Z TRACE pkt{path_id=0}: noq_proto::connection: got Handshake packet (1054 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:43082) using id 4345a12bdd2b76de +2026-10-11T17:31:16.638720Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 390 CRYPTO bytes +2026-10-11T17:31:16.689861Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: Data keys ready +2026-10-11T17:31:16.690121Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: wrote 181 Handshake CRYPTO bytes +2026-10-11T17:31:16.690252Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: negotiated max idle timeout Some(30s) +2026-10-11T17:31:16.690303Z DEBUG pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:31:16.690324Z DEBUG pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:31:16.690357Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection::state: connection state: established +2026-10-11T17:31:16.690374Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: established +2026-10-11T17:31:16.690526Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (138 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:43082) using id 4345a12bdd2b76de +2026-10-11T17:31:16.690668Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 1 id: 86c854370238a3ac +2026-10-11T17:31:16.690723Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 2 id: bcf8847b2c6dd139 +2026-10-11T17:31:16.690752Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 3 id: 0f454496079786e7 +2026-10-11T17:31:16.690779Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 4 id: 0e8107a4ca489f90 +2026-10-11T17:31:16.690880Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:16.690992Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 6801µs +2026-10-11T17:31:16.691083Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection: will coalesce with next packet +2026-10-11T17:31:16.691129Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=52 +2026-10-11T17:31:16.691165Z TRACE noq_proto::connection: discarding Initial keys +2026-10-11T17:31:16.691262Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 6801µs +2026-10-11T17:31:16.691286Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 181 +2026-10-11T17:31:16.691329Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 912 +2026-10-11T17:31:16.691352Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1148 +2026-10-11T17:31:16.691388Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.691407Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:43082) +2026-10-11T17:31:16.705739Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:16.705943Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.706244Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1326 +2026-10-11T17:31:16.706332Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:16.706387Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:16.706408Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1298 +2026-10-11T17:31:16.706606Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1326 +2026-10-11T17:31:16.706782Z TRACE noq_proto::connection: sending 1326 bytes in 1 datagrams segment_size=1326 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:43082) +2026-10-11T17:31:16.707093Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:16.707121Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.707790Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:16.707830Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:16.707961Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 1 id: 154570d58aa989a9 +2026-10-11T17:31:16.708007Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 2 id: 496e1a82c74e101f +2026-10-11T17:31:16.708022Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 3 id: 1e5521ae54b22f9e +2026-10-11T17:31:16.708036Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 4 id: 4921710bd8770ea5 +2026-10-11T17:31:16.708049Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: 4ab6b57a60541f5d +2026-10-11T17:31:16.708063Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: 7fa8966f2e3985ad +2026-10-11T17:31:16.708078Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 602c47a347c80db7 +2026-10-11T17:31:16.708091Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: f7756be6bb26902d +2026-10-11T17:31:16.708105Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: fbe3451fa3aa6351 +2026-10-11T17:31:16.708119Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 4e78b7a4c5b2ce45 +2026-10-11T17:31:16.708133Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: d5f8643ce533dd88 +2026-10-11T17:31:16.708146Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 0bc0703e0db4c2e8 +2026-10-11T17:31:16.708160Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 52ed45ca8b2d81c0 +2026-10-11T17:31:16.708174Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 7abe95b704ea0446 +2026-10-11T17:31:16.708188Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: 4cab001033d7203d +2026-10-11T17:31:16.708201Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 8e07b92450550be6 +2026-10-11T17:31:16.708215Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: de25ea06c4c96abe +2026-10-11T17:31:16.708235Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 04a837b7ba081509 +2026-10-11T17:31:16.708260Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: b9b7170f64be5dce +2026-10-11T17:31:16.708273Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: b5204cd4cb6bdacf +2026-10-11T17:31:16.708287Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 5b97c2adf7d30000 +2026-10-11T17:31:16.708302Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 606911b7ac12bfd7 +2026-10-11T17:31:16.708316Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: afd9a377d434f535 +2026-10-11T17:31:16.708338Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: cea5eb2d95ef24c0 +2026-10-11T17:31:16.708352Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 1b5a84089c253ee9 +2026-10-11T17:31:16.708366Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 77f53d0f30487c9d +2026-10-11T17:31:16.708381Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: d167834d6d9a173b +2026-10-11T17:31:16.708397Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 77ba6d15150a21ba +2026-10-11T17:31:16.708412Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 252207d8ece2bb34 +2026-10-11T17:31:16.708427Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: ad760ca38d4fc2bf +2026-10-11T17:31:16.708441Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: 811c1536b99b9396 +2026-10-11T17:31:16.708454Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: 11004a3506b8e472 +2026-10-11T17:31:16.708465Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: f2677d99074479db +2026-10-11T17:31:16.708476Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: 81e8c4d8038bc0f9 +2026-10-11T17:31:16.708492Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 0b671a722c13c66b +2026-10-11T17:31:16.708503Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: bf9ddbdcf1909cc1 +2026-10-11T17:31:16.708514Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 37a75a9f2b51735e +2026-10-11T17:31:16.708525Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 8d2ab4a776ba82a1 +2026-10-11T17:31:16.708628Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1166 +2026-10-11T17:31:16.708731Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1166 prev_segment_size=1200 +2026-10-11T17:31:16.708760Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=1.588356ms +2026-10-11T17:31:16.708780Z TRACE noq_proto::connection: sending 1166 bytes in 1 datagrams segment_size=1166 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:43082) +2026-10-11T17:31:16.714393Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:16.714629Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=1.588356ms +2026-10-11T17:31:16.716874Z TRACE timer_fired{scope="path" path_id=0 timer=Pacing}: noq_proto::connection: timeout +2026-10-11T17:31:16.717180Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:16.717243Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:16.717337Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 2b7159366b9e5f38 +2026-10-11T17:31:16.717447Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:16.717509Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=56 prev_segment_size=1200 +2026-10-11T17:31:16.717540Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=56 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:43082) +2026-10-11T17:31:16.717711Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:16.717727Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.718634Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(100358304726976) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:33775, 10.200.0.2:33775, 127.0.0.1:33775} +2026-10-11T17:31:16.718885Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(100358304726976) send_tasks=FuturesUnorderedBounded { len: 0, .. }}:do_holepunching: noq_proto::n0_nat_traversal: initiating NAT traversal round round=1 reach_out=3 to_probe=0 +2026-10-11T17:31:16.719366Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:16.719450Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:16.719574Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 10.200.0.2:33775 +2026-10-11T17:31:16.719622Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 127.0.0.1:33775 +2026-10-11T17:31:16.719638Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 10.200.0.1:33775 +2026-10-11T17:31:16.719678Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:16.719864Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=63 +2026-10-11T17:31:16.719991Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=63 prev_segment_size=1200 +2026-10-11T17:31:16.720042Z TRACE noq_proto::connection: sending 63 bytes in 1 datagrams segment_size=63 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:43082) +2026-10-11T17:31:16.720336Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:16.720357Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.721224Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=109.064806 remote_info=["Ip(127.0.0.1:43082)/Active"] +2026-10-11T17:31:16.753203Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:16.753268Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.753364Z TRACE timer_fired{scope="path" path_id=0 timer=LossDetection}: noq_proto::connection: timeout +2026-10-11T17:31:16.753412Z TRACE timer_fired{scope="path" path_id=0 timer=LossDetection}: noq_proto::connection: PTO fired in_flight=3759 count=0 space=Handshake path_id=0 +2026-10-11T17:31:16.753572Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:16.753636Z TRACE send{space=Handshake pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 181 +2026-10-11T17:31:16.753707Z TRACE send{space=Handshake pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=227 +2026-10-11T17:31:16.753749Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=227 prev_segment_size=1200 +2026-10-11T17:31:16.753795Z TRACE noq_proto::connection: new datagram started count=2 +2026-10-11T17:31:16.753830Z TRACE send{space=Handshake pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 181 +2026-10-11T17:31:16.753858Z TRACE send{space=Handshake pn=2 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=227 +2026-10-11T17:31:16.753917Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.753936Z TRACE noq_proto::connection: sending 454 bytes in 2 datagrams segment_size=227 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:43082) +2026-10-11T17:31:16.754117Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:16.754128Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.765769Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:43082) using id 154570d58aa989a9 +2026-10-11T17:31:16.765991Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_CHALLENGE(a7fcba0f914a8a91) +2026-10-11T17:31:16.766124Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:16.766160Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:16.766223Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:16.766279Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..2] delay: 80µs +2026-10-11T17:31:16.766340Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(a7fcba0f914a8a91) +2026-10-11T17:31:16.766385Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1154 +2026-10-11T17:31:16.766423Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:16.766493Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:43082) +2026-10-11T17:31:16.766672Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:16.766698Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.774145Z TRACE pkt{path_id=0}: noq_proto::connection: discarding packet from unrecognized peer path_id=0 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:43082) known_path.network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:43082) +2026-10-11T17:31:16.774272Z TRACE pkt{path_id=0}: noq_proto::connection: discarding packet from unrecognized peer path_id=0 network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:43082) known_path.network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:43082) +2026-10-11T17:31:16.774337Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (223 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:43082) using id 154570d58aa989a9 +2026-10-11T17:31:16.774461Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame HANDSHAKE_DONE +2026-10-11T17:31:16.774487Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=HANDSHAKE_DONE}: noq_proto::connection: discarding Handshake keys +2026-10-11T17:31:16.774571Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=HANDSHAKE_DONE}: noq_proto::connection: handshake confirmed +2026-10-11T17:31:16.774619Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..4] delay: 5407µs +2026-10-11T17:31:16.774670Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1326 +2026-10-11T17:31:16.774763Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame CRYPTO offset=0 len=178 +2026-10-11T17:31:16.774793Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=CRYPTO}: noq_proto::connection: consumed 178 CRYPTO bytes +2026-10-11T17:31:16.777959Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_RETIRE_CONNECTION_ID path_id: 0 seq: 0 +2026-10-11T17:31:16.778327Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1326 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:43082) using id 154570d58aa989a9 +2026-10-11T17:31:16.778533Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame PING +2026-10-11T17:31:16.778569Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:16.778933Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:43082) using id 154570d58aa989a9 +2026-10-11T17:31:16.779044Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_CHALLENGE(dab906725eb70669) +2026-10-11T17:31:16.779104Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:43082) using id 154570d58aa989a9 +2026-10-11T17:31:16.779163Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_CHALLENGE(ed630dc079fb1058) +2026-10-11T17:31:16.779201Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 10.200.0.1, remote: [::ffff:10.200.0.1]:43082) using id 154570d58aa989a9 +2026-10-11T17:31:16.779240Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: got frame PATH_CHALLENGE(713bdcc6c1ea93d2) +2026-10-11T17:31:16.779376Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(713bdcc6c1ea93d2) msg="(off-path)" +2026-10-11T17:31:16.779416Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(d90215bb21f47cb3) +2026-10-11T17:31:16.779449Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1156 +2026-10-11T17:31:16.779484Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:16.779508Z TRACE noq_proto::connection: sending off-path PATH_RESPONSE dst=[::ffff:10.200.0.1]:43082 src=Some(10.200.0.1) len=1200 +2026-10-11T17:31:16.783352Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(ed630dc079fb1058) msg="(off-path)" +2026-10-11T17:31:16.783476Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(611f1cfa4e83ba23) +2026-10-11T17:31:16.783508Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1156 +2026-10-11T17:31:16.783633Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:16.783703Z TRACE noq_proto::connection: sending off-path PATH_RESPONSE dst=[::ffff:10.200.0.2]:43082 src=Some(10.200.0.2) len=1200 +2026-10-11T17:31:16.784430Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:16.784518Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:16.784557Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..2,4..9] delay: 157µs +2026-10-11T17:31:16.784589Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(dab906725eb70669) +2026-10-11T17:31:16.784624Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1152 +2026-10-11T17:31:16.784662Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:16.784720Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1200 prev_segment_size=1326 +2026-10-11T17:31:16.784742Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:43082) +2026-10-11T17:31:16.785099Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.785170Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1389 +2026-10-11T17:31:16.785229Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:16.785261Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:16.785275Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1361 +2026-10-11T17:31:16.785305Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1389 +2026-10-11T17:31:16.785356Z TRACE noq_proto::connection: sending 1389 bytes in 1 datagrams segment_size=1389 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:43082) +2026-10-11T17:31:16.785587Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.785699Z TRACE noq_proto::endpoint: local CID retired 0: 4345a12bdd2b76de path_id=0 +2026-10-11T17:31:16.785854Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1086 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:43082) using id 154570d58aa989a9 +2026-10-11T17:31:16.785964Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..5] delay: 288µs +2026-10-11T17:31:16.786067Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: f00e68532d99487d +2026-10-11T17:31:16.786108Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: 6e3f03deb635ec3c +2026-10-11T17:31:16.786136Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: a1a0b0984d252fb4 +2026-10-11T17:31:16.786165Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 5a5d3c9595ecac25 +2026-10-11T17:31:16.786193Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: f0b0971d404008f0 +2026-10-11T17:31:16.786242Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 2241047de71febd8 +2026-10-11T17:31:16.786273Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: 90758ec6b33f59d9 +2026-10-11T17:31:16.786310Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 430f8482cee707cd +2026-10-11T17:31:16.786339Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: e2cbf85ea75f2b99 +2026-10-11T17:31:16.786367Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 4a321ec133f4b910 +2026-10-11T17:31:16.786393Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: 0c1e48e2292a4819 +2026-10-11T17:31:16.786444Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 15e3d955b6c896b7 +2026-10-11T17:31:16.786480Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 67578453a3d9d933 +2026-10-11T17:31:16.786511Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: e231bef58fd653de +2026-10-11T17:31:16.786537Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 68bc131520f0fcec +2026-10-11T17:31:16.786564Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: 3f5e907a7e3dea4c +2026-10-11T17:31:16.786594Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 3a90e9babc79a95c +2026-10-11T17:31:16.786625Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: d2cc154eff2e2d37 +2026-10-11T17:31:16.786671Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: 61c02e7e2f205637 +2026-10-11T17:31:16.786703Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: eacfe7692a24f16c +2026-10-11T17:31:16.786737Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 2befd355dd34b625 +2026-10-11T17:31:16.786766Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 81de34f12ef6fada +2026-10-11T17:31:16.786792Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 16f9562f535e5345 +2026-10-11T17:31:16.786822Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 1ee7c93473f94276 +2026-10-11T17:31:16.786856Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 558cc6d73048d2ec +2026-10-11T17:31:16.786885Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 9136b902adbc95dc +2026-10-11T17:31:16.786942Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: a61d7c1292c5aa78 +2026-10-11T17:31:16.786972Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: 1dc132c59a945fca +2026-10-11T17:31:16.786999Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 10ef7fd576395d83 +2026-10-11T17:31:16.787027Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: 83f84dbcac8511c5 +2026-10-11T17:31:16.787059Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 6ec6998dd1805d2f +2026-10-11T17:31:16.787108Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: cd6293aa1f9d961c +2026-10-11T17:31:16.787139Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: c165dbecabbf9a90 +2026-10-11T17:31:16.787164Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 2e9151db71437f91 +2026-10-11T17:31:16.787190Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 07f1e57fd1aef4cf +2026-10-11T17:31:16.787386Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:16.787518Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 5 id: f060695cecc4a65f +2026-10-11T17:31:16.787575Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:16.787613Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=56 prev_segment_size=1326 +2026-10-11T17:31:16.787634Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=56 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:43082) +2026-10-11T17:31:16.792063Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.792322Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:43082) using id 154570d58aa989a9 +2026-10-11T17:31:16.792482Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: got frame PATH_RESPONSE(611f1cfa4e83ba23) +2026-10-11T17:31:16.792544Z TRACE pkt{path_id=0}:recv{space=Data pn=10}:frame{ty=PATH_RESPONSE}: noq_proto::n0_nat_traversal: Received valid NAT traversal probe response network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:43082) challenge=0x611f1cfa4e83ba23 +2026-10-11T17:31:16.792573Z TRACE pkt{path_id=0}:recv{space=Data pn=10}:frame{ty=PATH_RESPONSE}: noq_proto::n0_nat_traversal: probe opened un-advertised address, peer likely behind DEDN +2026-10-11T17:31:16.792607Z DEBUG pkt{path_id=0}:recv{space=Data pn=10}:frame{ty=PATH_RESPONSE}: noq_proto::connection: path added validated=false path_id=1 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:43082) +2026-10-11T17:31:16.792699Z DEBUG pkt{path_id=0}:recv{space=Data pn=10}:frame{ty=PATH_RESPONSE}: noq_proto::connection: Opened NAT traversal path path_id=1 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:43082) new_path=true +2026-10-11T17:31:16.792981Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 10.200.0.1, remote: [::ffff:10.200.0.1]:43082) using id 154570d58aa989a9 +2026-10-11T17:31:16.793042Z TRACE pkt{path_id=0}:recv{space=Data pn=11}: noq_proto::connection: got frame PATH_RESPONSE(d90215bb21f47cb3) +2026-10-11T17:31:16.793058Z TRACE pkt{path_id=0}:recv{space=Data pn=11}:frame{ty=PATH_RESPONSE}: noq_proto::n0_nat_traversal: Received valid NAT traversal probe response network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:43082) challenge=0xd90215bb21f47cb3 +2026-10-11T17:31:16.793075Z TRACE pkt{path_id=0}:recv{space=Data pn=11}:frame{ty=PATH_RESPONSE}: noq_proto::n0_nat_traversal: probe opened un-advertised address, peer likely behind DEDN +2026-10-11T17:31:16.793093Z DEBUG pkt{path_id=0}:recv{space=Data pn=11}:frame{ty=PATH_RESPONSE}: noq_proto::connection: path added validated=false path_id=2 network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:43082) +2026-10-11T17:31:16.793119Z DEBUG pkt{path_id=0}:recv{space=Data pn=11}:frame{ty=PATH_RESPONSE}: noq_proto::connection: Opened NAT traversal path path_id=2 network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:43082) new_path=true +2026-10-11T17:31:16.793531Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (36 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:43082) using id 154570d58aa989a9 +2026-10-11T17:31:16.793608Z TRACE pkt{path_id=0}:recv{space=Data pn=12}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [4..9] delay: 239µs +2026-10-11T17:31:16.793668Z TRACE pkt{path_id=0}:recv{space=Data pn=12}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1389 +2026-10-11T17:31:16.793766Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:16.793819Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [9..13] delay: 68µs +2026-10-11T17:31:16.793873Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=36 +2026-10-11T17:31:16.793912Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=36 prev_segment_size=1389 +2026-10-11T17:31:16.793934Z TRACE noq_proto::connection: sending 36 bytes in 1 datagrams segment_size=36 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:43082) +2026-10-11T17:31:16.796020Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.796092Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:16.796195Z TRACE send{space=Data pn=0 path_id=1}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(1005f3c7e0313d48) +2026-10-11T17:31:16.796259Z TRACE send{space=Data pn=0 path_id=1}: noq_proto::connection::packet_builder: PADDING * 1165 +2026-10-11T17:31:16.796313Z TRACE send{space=Data pn=0 path_id=1}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:16.796394Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:43082) +2026-10-11T17:31:16.796437Z TRACE noq_proto::connection::paths: anti amplification budget decreased network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:43082) anti_amplification_budget=0 +2026-10-11T17:31:16.796565Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.796586Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=1 +2026-10-11T17:31:16.796601Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:16.796734Z TRACE send{space=Data pn=0 path_id=2}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(fa3fb469da9b3f91) +2026-10-11T17:31:16.796765Z TRACE send{space=Data pn=0 path_id=2}: noq_proto::connection::packet_builder: PADDING * 1165 +2026-10-11T17:31:16.796793Z TRACE send{space=Data pn=0 path_id=2}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:16.796842Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:43082) +2026-10-11T17:31:16.796856Z TRACE noq_proto::connection::paths: anti amplification budget decreased network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:43082) anti_amplification_budget=0 +2026-10-11T17:31:16.797034Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.797087Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=1 +2026-10-11T17:31:16.797101Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=2 +2026-10-11T17:31:16.797142Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1420 +2026-10-11T17:31:16.797162Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:16.797177Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:16.797187Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1392 +2026-10-11T17:31:16.797212Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1420 +2026-10-11T17:31:16.797253Z TRACE noq_proto::connection: sending 1420 bytes in 1 datagrams segment_size=1420 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:43082) +2026-10-11T17:31:16.798977Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.799042Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=1 +2026-10-11T17:31:16.799059Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=2 +2026-10-11T17:31:16.799222Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1389 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:43082) using id 154570d58aa989a9 +2026-10-11T17:31:16.799354Z TRACE pkt{path_id=0}:recv{space=Data pn=13}: noq_proto::connection: got frame PING +2026-10-11T17:31:16.799407Z TRACE pkt{path_id=0}:recv{space=Data pn=13}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:16.799723Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (59 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:43082) using id 154570d58aa989a9 +2026-10-11T17:31:16.799801Z TRACE pkt{path_id=0}:recv{space=Data pn=14}: noq_proto::connection: got frame ADD_IPV_4_ADDRESS seq_no: 2 addr: 127.0.0.1:43082 +2026-10-11T17:31:16.799845Z TRACE pkt{path_id=0}:recv{space=Data pn=14}: noq_proto::connection: got frame ADD_IPV_4_ADDRESS seq_no: 1 addr: 10.200.0.2:43082 +2026-10-11T17:31:16.799872Z TRACE pkt{path_id=0}:recv{space=Data pn=14}: noq_proto::connection: got frame ADD_IPV_4_ADDRESS seq_no: 0 addr: 10.200.0.1:43082 +2026-10-11T17:31:16.799968Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:16.800031Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [9..15] delay: 177µs +2026-10-11T17:31:16.800107Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=36 +2026-10-11T17:31:16.800140Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=36 prev_segment_size=1389 +2026-10-11T17:31:16.800157Z TRACE noq_proto::connection: sending 36 bytes in 1 datagrams segment_size=36 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:43082) +2026-10-11T17:31:16.800531Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.800564Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=1 +2026-10-11T17:31:16.800579Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=2 +2026-10-11T17:31:16.800749Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(100358304726976) evt=Ok(AddressAdded(127.0.0.1:43082)) +2026-10-11T17:31:16.800990Z TRACE pkt{path_id=1}: noq_proto::connection: got Data packet (1200 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:43082) using id 4ab6b57a60541f5d +2026-10-11T17:31:16.801143Z TRACE pkt{path_id=1}:recv{space=Data pn=0}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:16.801204Z TRACE pkt{path_id=1}:recv{space=Data pn=0}: noq_proto::connection: got frame PATH_CHALLENGE(9cd174abf5cfd59b) +2026-10-11T17:31:16.801237Z TRACE pkt{path_id=1}:recv{space=Data pn=0}: noq_proto::connection: got frame PATH_RESPONSE(1005f3c7e0313d48) +2026-10-11T17:31:16.801264Z TRACE pkt{path_id=1}:recv{space=Data pn=0}:frame{ty=PATH_RESPONSE}: noq_proto::connection::paths: new path validated +2026-10-11T17:31:16.801560Z TRACE pkt{path_id=2}: noq_proto::connection: got Data packet (1200 bytes) from (local: 10.200.0.1, remote: [::ffff:10.200.0.1]:43082) using id 4e78b7a4c5b2ce45 +2026-10-11T17:31:16.801633Z TRACE pkt{path_id=2}:recv{space=Data pn=0}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:16.801667Z TRACE pkt{path_id=2}:recv{space=Data pn=0}: noq_proto::connection: got frame PATH_CHALLENGE(60325b22e89d3ca3) +2026-10-11T17:31:16.801695Z TRACE pkt{path_id=2}:recv{space=Data pn=0}: noq_proto::connection: got frame PATH_RESPONSE(fa3fb469da9b3f91) +2026-10-11T17:31:16.801714Z TRACE pkt{path_id=2}:recv{space=Data pn=0}:frame{ty=PATH_RESPONSE}: noq_proto::connection::paths: new path validated +2026-10-11T17:31:16.802040Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:16.802124Z TRACE send{space=Data pn=13 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [9..15] delay: 436µs +2026-10-11T17:31:16.802163Z TRACE send{space=Data pn=13 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 1 ranges: [0..1] delay: 206µs +2026-10-11T17:31:16.802178Z TRACE send{space=Data pn=13 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 2 ranges: [0..1] delay: 132µs +2026-10-11T17:31:16.802254Z TRACE send{space=Data pn=13 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:16.802298Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=56 prev_segment_size=1389 +2026-10-11T17:31:16.802320Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=56 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:43082) +2026-10-11T17:31:16.802519Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.802552Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:16.802597Z TRACE send{space=Data pn=1 path_id=1}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:16.802625Z TRACE send{space=Data pn=1 path_id=1}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(9cd174abf5cfd59b) +2026-10-11T17:31:16.802645Z TRACE send{space=Data pn=1 path_id=1}: noq_proto::connection::packet_builder: PADDING * 1164 +2026-10-11T17:31:16.802696Z TRACE send{space=Data pn=1 path_id=1}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:16.802753Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:43082) +2026-10-11T17:31:16.802824Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.802842Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=1 +2026-10-11T17:31:16.802862Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:16.802917Z TRACE send{space=Data pn=1 path_id=2}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:16.802947Z TRACE send{space=Data pn=1 path_id=2}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(60325b22e89d3ca3) +2026-10-11T17:31:16.802964Z TRACE send{space=Data pn=1 path_id=2}: noq_proto::connection::packet_builder: PADDING * 1164 +2026-10-11T17:31:16.802998Z TRACE send{space=Data pn=1 path_id=2}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:16.803080Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:43082) +2026-10-11T17:31:16.803171Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.803193Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=1 +2026-10-11T17:31:16.803207Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=2 +2026-10-11T17:31:16.803249Z TRACE send{space=Data pn=2 path_id=1}: noq_proto::connection: writing MTUD probe probe_size=1326 +2026-10-11T17:31:16.803271Z TRACE send{space=Data pn=2 path_id=1}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:16.803288Z TRACE send{space=Data pn=2 path_id=1}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:16.803301Z TRACE send{space=Data pn=2 path_id=1}: noq_proto::connection::packet_builder: PADDING * 1298 +2026-10-11T17:31:16.803327Z TRACE send{space=Data pn=2 path_id=1}: noq_proto::connection::packet_builder: wrote packet size=1326 +2026-10-11T17:31:16.803364Z TRACE noq_proto::connection: sending 1326 bytes in 1 datagrams segment_size=1326 last_datagram_len=0 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:43082) +2026-10-11T17:31:16.803431Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.803463Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=1 +2026-10-11T17:31:16.803480Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=2 +2026-10-11T17:31:16.803518Z TRACE send{space=Data pn=2 path_id=2}: noq_proto::connection: writing MTUD probe probe_size=1326 +2026-10-11T17:31:16.803538Z TRACE send{space=Data pn=2 path_id=2}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:16.803551Z TRACE send{space=Data pn=2 path_id=2}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:16.803563Z TRACE send{space=Data pn=2 path_id=2}: noq_proto::connection::packet_builder: PADDING * 1298 +2026-10-11T17:31:16.803586Z TRACE send{space=Data pn=2 path_id=2}: noq_proto::connection::packet_builder: wrote packet size=1326 +2026-10-11T17:31:16.803618Z TRACE noq_proto::connection: sending 1326 bytes in 1 datagrams segment_size=1326 last_datagram_len=0 network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:43082) +2026-10-11T17:31:16.803674Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.803691Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=1 +2026-10-11T17:31:16.803705Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=2 +2026-10-11T17:31:16.803926Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37514, tv_nsec: 158053075 }, local_candidates: {10.200.0.1:33775, 10.200.0.2:33775, 127.0.0.1:33775}, remote_candidates: {} } local_candidates={10.200.0.1:33775, 10.200.0.2:33775, 127.0.0.1:33775} remote_candidates={10.200.0.1:43082, 10.200.0.2:43082, 127.0.0.1:43082} +2026-10-11T17:31:16.804103Z TRACE RemoteStateActor{remote=8a88e3dd74}:do_holepunching: noq_proto::n0_nat_traversal: initiating NAT traversal round round=2 reach_out=3 to_probe=3 +2026-10-11T17:31:16.804287Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(100358304726976) event=Ok(Established { id: PathId(1) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:31:16.804420Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(100358304726976) event=Ok(Established { id: PathId(1) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 127.0.0.1:43082, local: Some(127.0.0.1) } conn_id=100358304726976 path_id=0 +2026-10-11T17:31:16.804461Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(100358304726976) event=Ok(Established { id: PathId(1) })}:select_path: noq_proto::connection: abandoning path path_id=0 reason=ApplicationClosed { error_code: 62 } +2026-10-11T17:31:16.804586Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(100358304726976) event=Ok(Established { id: PathId(2) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:31:16.804635Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(100358304726976) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 10.200.0.2:43082, local: Some(10.200.0.2) }) +2026-10-11T17:31:16.804666Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(100358304726976) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 127.0.0.1:43082, local: Some(127.0.0.1) } conn_id=100358304726976 path_id=0 +2026-10-11T17:31:16.804690Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(100358304726976) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.1:43082, local: Some(10.200.0.1) } conn_id=100358304726976 path_id=2 +2026-10-11T17:31:16.804712Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(100358304726976) event=Ok(Established { id: PathId(2) })}:select_path: noq_proto::connection: abandoning path path_id=2 reason=ApplicationClosed { error_code: 62 } +2026-10-11T17:31:16.804832Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(100358304726976) evt=Ok(AddressAdded(10.200.0.2:43082)) +2026-10-11T17:31:16.805084Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37514, tv_nsec: 243264659 }, local_candidates: {10.200.0.1:33775, 10.200.0.2:33775, 127.0.0.1:33775}, remote_candidates: {10.200.0.1:43082, 10.200.0.2:43082, 127.0.0.1:43082} } local_candidates={10.200.0.1:33775, 10.200.0.2:33775, 127.0.0.1:33775} remote_candidates={10.200.0.1:43082, 10.200.0.2:43082, 127.0.0.1:43082} +2026-10-11T17:31:16.805146Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999019207s +2026-10-11T17:31:16.805209Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(100358304726976) evt=Ok(AddressAdded(10.200.0.1:43082)) +2026-10-11T17:31:16.805247Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37514, tv_nsec: 243264659 }, local_candidates: {10.200.0.1:33775, 10.200.0.2:33775, 127.0.0.1:33775}, remote_candidates: {10.200.0.1:43082, 10.200.0.2:43082, 127.0.0.1:43082} } local_candidates={10.200.0.1:33775, 10.200.0.2:33775, 127.0.0.1:33775} remote_candidates={10.200.0.1:43082, 10.200.0.2:43082, 127.0.0.1:43082} +2026-10-11T17:31:16.805297Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.99886189s +2026-10-11T17:31:16.805463Z TRACE send{space=Data pn=14 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(446866ae24738569) msg="(nat-traversal)" +2026-10-11T17:31:16.805530Z TRACE send{space=Data pn=14 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:16.805564Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.2, 43082) len=35 +2026-10-11T17:31:16.805678Z TRACE send{space=Data pn=15 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(22428a68f32e638e) msg="(nat-traversal)" +2026-10-11T17:31:16.805704Z TRACE send{space=Data pn=15 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:16.805727Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.1, 43082) len=35 +2026-10-11T17:31:16.805784Z TRACE send{space=Data pn=16 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(1c63ff7803dacb4b) msg="(nat-traversal)" +2026-10-11T17:31:16.805809Z TRACE send{space=Data pn=16 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:16.805833Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:127.0.0.1, 43082) len=35 +2026-10-11T17:31:16.805909Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.805943Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:16.805991Z TRACE send{space=Data pn=3 path_id=1}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 2 local_addr: 10.200.0.2:33775 +2026-10-11T17:31:16.806020Z TRACE send{space=Data pn=3 path_id=1}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 2 local_addr: 127.0.0.1:33775 +2026-10-11T17:31:16.806033Z TRACE send{space=Data pn=3 path_id=1}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 2 local_addr: 10.200.0.1:33775 +2026-10-11T17:31:16.806054Z TRACE send{space=Data pn=3 path_id=1}: noq_proto::connection::packet_builder: frame=PATH_ABANDON path_id: 0, error: Path abandoned at the application's request +2026-10-11T17:31:16.806081Z TRACE send{space=Data pn=3 path_id=1}: noq_proto::connection::packet_builder: frame=PATH_ABANDON path_id: 2, error: Path abandoned at the application's request +2026-10-11T17:31:16.806108Z TRACE send{space=Data pn=3 path_id=1}: noq_proto::connection::packet_builder: frame=PATH_STATUS_AVAILABLE path_id: 1 seq_no: 2 +2026-10-11T17:31:16.806162Z TRACE send{space=Data pn=3 path_id=1}: noq_proto::connection::packet_builder: wrote packet size=71 +2026-10-11T17:31:16.806209Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=71 prev_segment_size=1200 +2026-10-11T17:31:16.806231Z TRACE noq_proto::connection: sending 71 bytes in 1 datagrams segment_size=71 last_datagram_len=0 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:43082) +2026-10-11T17:31:16.806303Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=1 +2026-10-11T17:31:16.806603Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(100358304726976) event=Ok(Abandoned { id: PathId(0), reason: ApplicationClosed { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:31:16.806745Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(100358304726976) event=Ok(Abandoned { id: PathId(0), reason: ApplicationClosed { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 10.200.0.2:43082, local: Some(10.200.0.2) }) +2026-10-11T17:31:16.806792Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(100358304726976) event=Ok(Abandoned { id: PathId(0), reason: ApplicationClosed { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.1:43082, local: Some(10.200.0.1) } conn_id=100358304726976 path_id=2 +2026-10-11T17:31:16.806925Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(100358304726976) event=Ok(Abandoned { id: PathId(2), reason: ApplicationClosed { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:31:16.806978Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(100358304726976) event=Ok(Abandoned { id: PathId(2), reason: ApplicationClosed { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 10.200.0.2:43082, local: Some(10.200.0.2) }) +2026-10-11T17:31:16.807114Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=1 +2026-10-11T17:31:16.807201Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:43082) using id 154570d58aa989a9 +2026-10-11T17:31:16.807314Z TRACE pkt{path_id=0}:recv{space=Data pn=15}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [9..13] delay: 371µs +2026-10-11T17:31:16.807394Z TRACE pkt{path_id=0}:recv{space=Data pn=15}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1420 +2026-10-11T17:31:16.807464Z TRACE pkt{path_id=0}:recv{space=Data pn=15}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 1 ranges: [0..1] delay: 806µs +2026-10-11T17:31:16.807521Z TRACE pkt{path_id=0}:recv{space=Data pn=15}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 2 ranges: [0..1] delay: 806µs +2026-10-11T17:31:16.807601Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1420 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:43082) using id 154570d58aa989a9 +2026-10-11T17:31:16.807665Z TRACE pkt{path_id=0}:recv{space=Data pn=16}: noq_proto::connection: got frame PING +2026-10-11T17:31:16.807699Z TRACE pkt{path_id=0}:recv{space=Data pn=16}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:16.812257Z TRACE pkt{path_id=1}: noq_proto::connection: got Data packet (60 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:43082) using id 4ab6b57a60541f5d +2026-10-11T17:31:16.812480Z TRACE pkt{path_id=1}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [9..14] delay: 292µs +2026-10-11T17:31:16.812625Z TRACE pkt{path_id=1}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 1 ranges: [0..3] delay: 292µs +2026-10-11T17:31:16.812666Z TRACE pkt{path_id=1}:recv{space=Data pn=1}:frame{ty=PATH_ACK_ECN path=1}: noq_proto::connection::mtud: new MTU detected current_mtu=1326 +2026-10-11T17:31:16.812742Z TRACE pkt{path_id=1}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 2 ranges: [0..3] delay: 292µs +2026-10-11T17:31:16.812774Z TRACE pkt{path_id=1}:recv{space=Data pn=1}:frame{ty=PATH_ACK_ECN path=2}: noq_proto::connection::mtud: new MTU detected current_mtu=1326 +2026-10-11T17:31:16.812817Z TRACE pkt{path_id=1}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:16.812852Z DEBUG pkt{path_id=1}:recv{space=Data pn=1}:frame{ty=PATH_STATUS_AVAILABLE path=0}: noq_proto::connection::paths: remote changed path status status=Available seq=2 +2026-10-11T17:31:16.812941Z TRACE pkt{path_id=1}: noq_proto::connection: got Data packet (1326 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:43082) using id 4ab6b57a60541f5d +2026-10-11T17:31:16.813023Z TRACE pkt{path_id=1}:recv{space=Data pn=2}: noq_proto::connection: got frame PING +2026-10-11T17:31:16.813055Z TRACE pkt{path_id=1}:recv{space=Data pn=2}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:16.813453Z TRACE pkt{path_id=2}: noq_proto::connection: got Data packet (1326 bytes) from (local: 10.200.0.1, remote: [::ffff:10.200.0.1]:43082) using id 4e78b7a4c5b2ce45 +2026-10-11T17:31:16.813536Z TRACE pkt{path_id=2}:recv{space=Data pn=1}: noq_proto::connection: got frame PING +2026-10-11T17:31:16.813566Z TRACE pkt{path_id=2}:recv{space=Data pn=1}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:16.813912Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:43082) using id 154570d58aa989a9 +2026-10-11T17:31:16.813991Z TRACE pkt{path_id=0}:recv{space=Data pn=17}: noq_proto::connection: got frame PATH_CHALLENGE(ccc35628dca065ec) +2026-10-11T17:31:16.814058Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:43082) using id 154570d58aa989a9 +2026-10-11T17:31:16.814108Z TRACE pkt{path_id=0}:recv{space=Data pn=18}: noq_proto::connection: got frame PATH_CHALLENGE(1ec504e2dfd38f66) +2026-10-11T17:31:16.814154Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 10.200.0.1, remote: [::ffff:10.200.0.1]:43082) using id 154570d58aa989a9 +2026-10-11T17:31:16.814204Z TRACE pkt{path_id=0}:recv{space=Data pn=19}: noq_proto::connection: got frame PATH_CHALLENGE(d749b6a534804c7d) +2026-10-11T17:31:16.814255Z TRACE pkt{path_id=1}: noq_proto::connection: got Data packet (47 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:43082) using id 4ab6b57a60541f5d +2026-10-11T17:31:16.814320Z TRACE pkt{path_id=1}:recv{space=Data pn=3}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [9..17] delay: 220µs +2026-10-11T17:31:16.814379Z TRACE pkt{path_id=1}:recv{space=Data pn=3}: noq_proto::connection: got frame PATH_ABANDON path_id: 0, error: Path abandoned at the application's request +2026-10-11T17:31:16.814417Z TRACE pkt{path_id=1}:recv{space=Data pn=3}:frame{ty=PATH_ABANDON path=0}: noq_proto::connection: peer abandoned already closed path +2026-10-11T17:31:16.814452Z TRACE pkt{path_id=1}:recv{space=Data pn=3}: noq_proto::connection: got frame PATH_ABANDON path_id: 2, error: Path abandoned at the application's request +2026-10-11T17:31:16.814478Z TRACE pkt{path_id=1}:recv{space=Data pn=3}:frame{ty=PATH_ABANDON path=2}: noq_proto::connection: peer abandoned already closed path +2026-10-11T17:31:16.814513Z TRACE pkt{path_id=1}:recv{space=Data pn=3}: noq_proto::connection: got frame MAX_PATH_ID path_id: 9 +2026-10-11T17:31:16.814577Z TRACE pkt{path_id=1}: noq_proto::connection: got Data packet (76 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:43082) using id 4ab6b57a60541f5d +2026-10-11T17:31:16.814640Z TRACE pkt{path_id=1}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [9..17] delay: 612µs +2026-10-11T17:31:16.814685Z TRACE pkt{path_id=1}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 1 ranges: [0..4] delay: 612µs +2026-10-11T17:31:16.814806Z TRACE pkt{path_id=1}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 2 ranges: [0..3] delay: 1093µs +2026-10-11T17:31:16.814882Z TRACE pkt{path_id=1}:recv{space=Data pn=4}: noq_proto::connection: got frame CONNECTION_CLOSE error_code=4097 reason='not on allowlist' +2026-10-11T17:31:16.818086Z TRACE pkt{path_id=1}:recv{space=Data pn=4}: noq_proto::connection::state: connection state: draining +2026-10-11T17:31:16.818155Z TRACE pkt{path_id=1}: noq_proto::connection: connection closed +2026-10-11T17:31:16.818289Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:16.818365Z TRACE send{space=Data pn=4 path_id=1}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:16.818409Z TRACE send{space=Data pn=4 path_id=1}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [15..20] delay: 835µs +2026-10-11T17:31:16.818444Z TRACE send{space=Data pn=4 path_id=1}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 1 ranges: [1..5] delay: 571µs +2026-10-11T17:31:16.818470Z TRACE send{space=Data pn=4 path_id=1}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 2 ranges: [1..2] delay: 1237µs +2026-10-11T17:31:16.818498Z TRACE send{space=Data pn=4 path_id=1}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=0 reason='' +2026-10-11T17:31:16.818564Z TRACE send{space=Data pn=4 path_id=1}: noq_proto::connection::packet_builder: wrote packet size=60 +2026-10-11T17:31:16.818659Z TRACE noq_proto::connection: sending 60 bytes in 1 datagrams segment_size=1326 last_datagram_len=60 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:43082) +2026-10-11T17:31:16.819331Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(100358304726976) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:31:16.819492Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:31:16.820688Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=208.527942 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:43082)/Inactive", "Ip(10.200.0.2:43082)/Active", "Ip(10.200.0.1:43082)/Inactive"] +2026-10-11T17:31:17.022054Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:43082)/Inactive", "Ip(10.200.0.2:43082)/Active", "Ip(10.200.0.1:43082)/Inactive"] +2026-10-11T17:31:17.022508Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:31:17.022563Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-02/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-02/ready.txt new file mode 100644 index 0000000000..65b3d961ed --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-02/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=43082 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-02/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-02/server.log new file mode 100644 index 0000000000..7fb767752f --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-02/server.log @@ -0,0 +1,412 @@ +2026-10-11T17:31:16.554427Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=43082 direct=["10.200.0.1:43082", "10.200.0.2:43082", "127.0.0.1:43082"] +2026-10-11T17:31:16.618222Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:33775) alpns=["n30/allowlist/0"] +2026-10-11T17:31:16.619107Z TRACE first recv:frame{ty=CRYPTO}: noq_proto::connection: consumed 284 CRYPTO bytes +2026-10-11T17:31:16.631358Z TRACE first recv: noq_proto::connection: Handshake keys ready +2026-10-11T17:31:16.631604Z TRACE first recv: noq_proto::connection: wrote 90 Initial CRYPTO bytes +2026-10-11T17:31:16.631717Z TRACE first recv: noq_proto::connection: Data keys ready +2026-10-11T17:31:16.631791Z TRACE first recv: noq_proto::connection: wrote 390 Handshake CRYPTO bytes +2026-10-11T17:31:16.631867Z TRACE first recv: noq_proto::connection: negotiated max idle timeout Some(30s) +2026-10-11T17:31:16.631890Z DEBUG first recv: noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:31:16.631927Z DEBUG first recv: noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:31:16.632041Z TRACE noq_proto::endpoint: new connection id=0 icid=6ed997ba26ea59a6b124db229b3b2af5501cbc72 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33775) +2026-10-11T17:31:16.632578Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:16.633557Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 1903µs +2026-10-11T17:31:16.633719Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 90 +2026-10-11T17:31:16.633827Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection: will coalesce with next packet +2026-10-11T17:31:16.634039Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=146 +2026-10-11T17:31:16.634776Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 390 +2026-10-11T17:31:16.634881Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 618 +2026-10-11T17:31:16.634962Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1054 +2026-10-11T17:31:16.635010Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.635031Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33775) +2026-10-11T17:31:16.635050Z TRACE noq_proto::connection::paths: anti amplification budget decreased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33775) anti_amplification_budget=2352 +2026-10-11T17:31:16.639941Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:16.640042Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:16.640076Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.640578Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:16.640608Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:16.640645Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=3.3522ms +2026-10-11T17:31:16.645248Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:16.645394Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:16.645441Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:16.645730Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 1 id: 86c854370238a3ac +2026-10-11T17:31:16.645824Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 2 id: bcf8847b2c6dd139 +2026-10-11T17:31:16.645875Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 3 id: 0f454496079786e7 +2026-10-11T17:31:16.645889Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 4 id: 0e8107a4ca489f90 +2026-10-11T17:31:16.645986Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=138 +2026-10-11T17:31:16.646078Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=138 prev_segment_size=1200 +2026-10-11T17:31:16.646110Z TRACE noq_proto::connection: sending 138 bytes in 1 datagrams segment_size=138 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33775) +2026-10-11T17:31:16.646132Z TRACE noq_proto::connection::paths: anti amplification budget decreased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33775) anti_amplification_budget=2214 +2026-10-11T17:31:16.646347Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:16.646369Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:16.646383Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.646460Z TRACE timer_fired{scope="path" path_id=0 timer=Pacing}: noq_proto::connection: timeout +2026-10-11T17:31:16.646600Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:16.646618Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:16.646631Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.693624Z TRACE pkt{path_id=0}: noq_proto::connection: got Initial packet (52 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33775) using id a1348bffbc32fa53 +2026-10-11T17:31:16.694152Z TRACE pkt{path_id=0}: noq_proto::connection::paths: anti amplification budget increased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33775) anti_amplification_budget=2370 +2026-10-11T17:31:16.694188Z TRACE pkt{path_id=0}: noq_proto::connection::paths: anti amplification budget increased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33775) anti_amplification_budget=5814 +2026-10-11T17:31:16.694221Z TRACE pkt{path_id=0}: noq_proto::connection: got Handshake packet (1148 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33775) using id a1348bffbc32fa53 +2026-10-11T17:31:16.694284Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: discarding Initial keys +2026-10-11T17:31:16.694408Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 181 CRYPTO bytes +2026-10-11T17:31:16.752948Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: wrote 178 Data CRYPTO bytes +2026-10-11T17:31:16.753113Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: discarding Handshake keys +2026-10-11T17:31:16.753193Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: handshake confirmed +2026-10-11T17:31:16.753210Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection::state: connection state: established +2026-10-11T17:31:16.753224Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: established +2026-10-11T17:31:16.753368Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1326 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33775) using id a1348bffbc32fa53 +2026-10-11T17:31:16.753479Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame PING +2026-10-11T17:31:16.753507Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:16.753824Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1166 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33775) using id a1348bffbc32fa53 +2026-10-11T17:31:16.753939Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 1 id: 154570d58aa989a9 +2026-10-11T17:31:16.754019Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 2 id: 496e1a82c74e101f +2026-10-11T17:31:16.754048Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 3 id: 1e5521ae54b22f9e +2026-10-11T17:31:16.754074Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 4 id: 4921710bd8770ea5 +2026-10-11T17:31:16.754103Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: 4ab6b57a60541f5d +2026-10-11T17:31:16.754135Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: 7fa8966f2e3985ad +2026-10-11T17:31:16.754164Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 602c47a347c80db7 +2026-10-11T17:31:16.754190Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: f7756be6bb26902d +2026-10-11T17:31:16.754217Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: fbe3451fa3aa6351 +2026-10-11T17:31:16.754246Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 4e78b7a4c5b2ce45 +2026-10-11T17:31:16.754276Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: d5f8643ce533dd88 +2026-10-11T17:31:16.754306Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 0bc0703e0db4c2e8 +2026-10-11T17:31:16.754333Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 52ed45ca8b2d81c0 +2026-10-11T17:31:16.754361Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 7abe95b704ea0446 +2026-10-11T17:31:16.754403Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: 4cab001033d7203d +2026-10-11T17:31:16.754456Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 8e07b92450550be6 +2026-10-11T17:31:16.754491Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: de25ea06c4c96abe +2026-10-11T17:31:16.754522Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 04a837b7ba081509 +2026-10-11T17:31:16.754550Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: b9b7170f64be5dce +2026-10-11T17:31:16.754583Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: b5204cd4cb6bdacf +2026-10-11T17:31:16.754616Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 5b97c2adf7d30000 +2026-10-11T17:31:16.754646Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 606911b7ac12bfd7 +2026-10-11T17:31:16.754677Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: afd9a377d434f535 +2026-10-11T17:31:16.754704Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: cea5eb2d95ef24c0 +2026-10-11T17:31:16.754735Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 1b5a84089c253ee9 +2026-10-11T17:31:16.754789Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 77f53d0f30487c9d +2026-10-11T17:31:16.754826Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: d167834d6d9a173b +2026-10-11T17:31:16.754858Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 77ba6d15150a21ba +2026-10-11T17:31:16.754890Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 252207d8ece2bb34 +2026-10-11T17:31:16.760266Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: ad760ca38d4fc2bf +2026-10-11T17:31:16.762724Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: 811c1536b99b9396 +2026-10-11T17:31:16.763435Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: 11004a3506b8e472 +2026-10-11T17:31:16.763484Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: f2677d99074479db +2026-10-11T17:31:16.763516Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: 81e8c4d8038bc0f9 +2026-10-11T17:31:16.763542Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 0b671a722c13c66b +2026-10-11T17:31:16.763590Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: bf9ddbdcf1909cc1 +2026-10-11T17:31:16.763620Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 37a75a9f2b51735e +2026-10-11T17:31:16.763647Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 8d2ab4a776ba82a1 +2026-10-11T17:31:16.763797Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33775) using id a1348bffbc32fa53 +2026-10-11T17:31:16.763961Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 2b7159366b9e5f38 +2026-10-11T17:31:16.764041Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (63 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33775) using id a1348bffbc32fa53 +2026-10-11T17:31:16.764093Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 10.200.0.2:33775 +2026-10-11T17:31:16.764147Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 127.0.0.1:33775 +2026-10-11T17:31:16.764171Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 10.200.0.1:33775 +2026-10-11T17:31:16.764202Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:16.764241Z DEBUG pkt{path_id=0}:recv{space=Data pn=3}:frame{ty=PATH_STATUS_AVAILABLE path=0}: noq_proto::connection::paths: remote changed path status status=Available seq=2 +2026-10-11T17:31:16.764290Z DEBUG pkt{path_id=0}: noq_proto::connection::packet_crypto: dropping unexpected packet encryption_level=Some(Handshake) bytes=227 +2026-10-11T17:31:16.764317Z DEBUG pkt{path_id=0}: noq_proto::connection::packet_crypto: dropping unexpected packet encryption_level=Some(Handshake) bytes=227 +2026-10-11T17:31:16.764417Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(a7fcba0f914a8a91) msg="(nat-traversal)" +2026-10-11T17:31:16.764476Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:16.765001Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:127.0.0.1, 33775) len=35 +2026-10-11T17:31:16.767123Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(6a66a73c2d36e9d7) msg="(nat-traversal)" +2026-10-11T17:31:16.767206Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:16.767257Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.2, 33775) len=35 +2026-10-11T17:31:16.767370Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(72b14407a8453c0b) msg="(nat-traversal)" +2026-10-11T17:31:16.767389Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:16.767407Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.1, 33775) len=35 +2026-10-11T17:31:16.767471Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:16.767501Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=HANDSHAKE_DONE +2026-10-11T17:31:16.767541Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..4] delay: 5407µs +2026-10-11T17:31:16.767574Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 178 +2026-10-11T17:31:16.767601Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RETIRE_CONNECTION_ID path_id: 0 seq: 0 +2026-10-11T17:31:16.767640Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=223 +2026-10-11T17:31:16.767688Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=223 prev_segment_size=1200 +2026-10-11T17:31:16.767714Z TRACE noq_proto::connection: sending 223 bytes in 1 datagrams segment_size=223 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33775) +2026-10-11T17:31:16.767803Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.767914Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1326 +2026-10-11T17:31:16.767952Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:16.767973Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:16.767988Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1298 +2026-10-11T17:31:16.768010Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1326 +2026-10-11T17:31:16.768045Z TRACE noq_proto::connection: sending 1326 bytes in 1 datagrams segment_size=1326 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33775) +2026-10-11T17:31:16.768107Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.768167Z TRACE timeout{scope="conn" timer=NatTraversalProbeRetry}: noq_proto::connection: timeout +2026-10-11T17:31:16.768205Z TRACE timeout{scope="conn" timer=NatTraversalProbeRetry}: noq_proto::connection: re-queued NAT probes +2026-10-11T17:31:16.771362Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33775) using id a1348bffbc32fa53 +2026-10-11T17:31:16.771740Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:16.771855Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..2] delay: 80µs +2026-10-11T17:31:16.772080Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_RESPONSE(a7fcba0f914a8a91) +2026-10-11T17:31:16.772614Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(dab906725eb70669) msg="(nat-traversal)" +2026-10-11T17:31:16.772713Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:16.772760Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:127.0.0.1, 33775) len=35 +2026-10-11T17:31:16.773057Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(ed630dc079fb1058) msg="(nat-traversal)" +2026-10-11T17:31:16.773121Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:16.773178Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.2, 33775) len=35 +2026-10-11T17:31:16.773309Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(713bdcc6c1ea93d2) msg="(nat-traversal)" +2026-10-11T17:31:16.773344Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:16.773374Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.1, 33775) len=35 +2026-10-11T17:31:16.773504Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:16.773576Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..5] delay: 288µs +2026-10-11T17:31:16.773729Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: f00e68532d99487d +2026-10-11T17:31:16.773793Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: 6e3f03deb635ec3c +2026-10-11T17:31:16.773811Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: a1a0b0984d252fb4 +2026-10-11T17:31:16.773824Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 5a5d3c9595ecac25 +2026-10-11T17:31:16.773838Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: f0b0971d404008f0 +2026-10-11T17:31:16.773856Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 2241047de71febd8 +2026-10-11T17:31:16.773872Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: 90758ec6b33f59d9 +2026-10-11T17:31:16.777383Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:31:16.773887Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 430f8482cee707cd +2026-10-11T17:31:16.781693Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: e2cbf85ea75f2b99 +2026-10-11T17:31:16.782123Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 4a321ec133f4b910 +2026-10-11T17:31:16.782148Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: 0c1e48e2292a4819 +2026-10-11T17:31:16.782163Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 15e3d955b6c896b7 +2026-10-11T17:31:16.782185Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 67578453a3d9d933 +2026-10-11T17:31:16.782199Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: e231bef58fd653de +2026-10-11T17:31:16.782211Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 68bc131520f0fcec +2026-10-11T17:31:16.782234Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: 3f5e907a7e3dea4c +2026-10-11T17:31:16.782248Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 3a90e9babc79a95c +2026-10-11T17:31:16.782262Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: d2cc154eff2e2d37 +2026-10-11T17:31:16.782277Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: 61c02e7e2f205637 +2026-10-11T17:31:16.782291Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: eacfe7692a24f16c +2026-10-11T17:31:16.782304Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 2befd355dd34b625 +2026-10-11T17:31:16.782317Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 81de34f12ef6fada +2026-10-11T17:31:16.782329Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 16f9562f535e5345 +2026-10-11T17:31:16.782342Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 1ee7c93473f94276 +2026-10-11T17:31:16.782355Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 558cc6d73048d2ec +2026-10-11T17:31:16.782775Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 9136b902adbc95dc +2026-10-11T17:31:16.782829Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: a61d7c1292c5aa78 +2026-10-11T17:31:16.782843Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: 1dc132c59a945fca +2026-10-11T17:31:16.782855Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 10ef7fd576395d83 +2026-10-11T17:31:16.782870Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: 83f84dbcac8511c5 +2026-10-11T17:31:16.782882Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 6ec6998dd1805d2f +2026-10-11T17:31:16.782893Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: cd6293aa1f9d961c +2026-10-11T17:31:16.782946Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: c165dbecabbf9a90 +2026-10-11T17:31:16.782977Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 2e9151db71437f91 +2026-10-11T17:31:16.782992Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 07f1e57fd1aef4cf +2026-10-11T17:31:16.784988Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1086 +2026-10-11T17:31:16.785095Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1086 prev_segment_size=1200 +2026-10-11T17:31:16.785121Z TRACE noq_proto::connection: sending 1086 bytes in 1 datagrams segment_size=1086 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33775) +2026-10-11T17:31:16.785402Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.785657Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 10.200.0.1, remote: [::ffff:10.200.0.1]:33775) using id a1348bffbc32fa53 +2026-10-11T17:31:16.785800Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame PATH_RESPONSE(713bdcc6c1ea93d2) +2026-10-11T17:31:16.785857Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame PATH_CHALLENGE(d90215bb21f47cb3) +2026-10-11T17:31:16.786153Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:33775) using id a1348bffbc32fa53 +2026-10-11T17:31:16.786210Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_RESPONSE(ed630dc079fb1058) +2026-10-11T17:31:16.786256Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_CHALLENGE(611f1cfa4e83ba23) +2026-10-11T17:31:16.786498Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33775) using id a1348bffbc32fa53 +2026-10-11T17:31:16.786542Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:16.786574Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..2,4..9] delay: 157µs +2026-10-11T17:31:16.786653Z TRACE pkt{path_id=0}:recv{space=Data pn=7}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1326 +2026-10-11T17:31:16.786714Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_RESPONSE(dab906725eb70669) +2026-10-11T17:31:16.786990Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1389 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33775) using id a1348bffbc32fa53 +2026-10-11T17:31:16.787063Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: got frame PING +2026-10-11T17:31:16.787085Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:16.787453Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(611f1cfa4e83ba23) msg="(off-path)" +2026-10-11T17:31:16.787482Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1165 +2026-10-11T17:31:16.787531Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:16.787561Z TRACE noq_proto::connection: sending off-path PATH_RESPONSE dst=[::ffff:10.200.0.2]:33775 src=Some(10.200.0.2) len=1200 +2026-10-11T17:31:16.791299Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(d90215bb21f47cb3) msg="(off-path)" +2026-10-11T17:31:16.791384Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1165 +2026-10-11T17:31:16.791461Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:16.791505Z TRACE noq_proto::connection: sending off-path PATH_RESPONSE dst=[::ffff:10.200.0.1]:33775 src=Some(10.200.0.1) len=1200 +2026-10-11T17:31:16.792063Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:16.792445Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [4..9] delay: 239µs +2026-10-11T17:31:16.792684Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=36 +2026-10-11T17:31:16.792739Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=36 prev_segment_size=1326 +2026-10-11T17:31:16.792887Z TRACE noq_proto::connection: sending 36 bytes in 1 datagrams segment_size=36 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33775) +2026-10-11T17:31:16.794050Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.794132Z TRACE send{space=Data pn=13 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1389 +2026-10-11T17:31:16.794161Z TRACE send{space=Data pn=13 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:16.794174Z TRACE send{space=Data pn=13 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:16.794183Z TRACE send{space=Data pn=13 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1361 +2026-10-11T17:31:16.794215Z TRACE send{space=Data pn=13 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1389 +2026-10-11T17:31:16.794259Z TRACE noq_proto::connection: sending 1389 bytes in 1 datagrams segment_size=1389 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33775) +2026-10-11T17:31:16.794357Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.794456Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33775) using id a1348bffbc32fa53 +2026-10-11T17:31:16.794539Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 5 id: f060695cecc4a65f +2026-10-11T17:31:16.796434Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (36 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33775) using id a1348bffbc32fa53 +2026-10-11T17:31:16.796556Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [9..13] delay: 68µs +2026-10-11T17:31:16.796705Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.797044Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(132713684221648) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:43082, 10.200.0.2:43082, 127.0.0.1:43082} +2026-10-11T17:31:16.797147Z TRACE pkt{path_id=1}: noq_proto::connection: got Data packet (1200 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:33775) using id f00e68532d99487d +2026-10-11T17:31:16.797211Z DEBUG pkt{path_id=1}:recv{space=Data pn=0}: noq_proto::connection: path added validated=false path_id=1 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:33775) +2026-10-11T17:31:16.797330Z TRACE pkt{path_id=1}:recv{space=Data pn=0}: noq_proto::connection: got frame PATH_CHALLENGE(1005f3c7e0313d48) +2026-10-11T17:31:16.797574Z TRACE pkt{path_id=1}: noq_proto::connection::paths: anti amplification budget increased network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:33775) anti_amplification_budget=3600 +2026-10-11T17:31:16.797618Z TRACE pkt{path_id=2}: noq_proto::connection: got Data packet (1200 bytes) from (local: 10.200.0.1, remote: [::ffff:10.200.0.1]:33775) using id 2241047de71febd8 +2026-10-11T17:31:16.797651Z DEBUG pkt{path_id=2}:recv{space=Data pn=0}: noq_proto::connection: path added validated=false path_id=2 network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:33775) +2026-10-11T17:31:16.797689Z TRACE pkt{path_id=2}:recv{space=Data pn=0}: noq_proto::connection: got frame PATH_CHALLENGE(fa3fb469da9b3f91) +2026-10-11T17:31:16.797923Z TRACE pkt{path_id=2}: noq_proto::connection::paths: anti amplification budget increased network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:33775) anti_amplification_budget=3600 +2026-10-11T17:31:16.798002Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:16.798064Z TRACE send{space=Data pn=14 path_id=0}: noq_proto::connection::packet_builder: frame=ADD_IPV_4_ADDRESS seq_no: 2 addr: 127.0.0.1:43082 +2026-10-11T17:31:16.798095Z TRACE send{space=Data pn=14 path_id=0}: noq_proto::connection::packet_builder: frame=ADD_IPV_4_ADDRESS seq_no: 1 addr: 10.200.0.2:43082 +2026-10-11T17:31:16.798110Z TRACE send{space=Data pn=14 path_id=0}: noq_proto::connection::packet_builder: frame=ADD_IPV_4_ADDRESS seq_no: 0 addr: 10.200.0.1:43082 +2026-10-11T17:31:16.798192Z TRACE send{space=Data pn=14 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=59 +2026-10-11T17:31:16.798259Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=59 prev_segment_size=1326 +2026-10-11T17:31:16.798277Z TRACE noq_proto::connection: sending 59 bytes in 1 datagrams segment_size=59 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33775) +2026-10-11T17:31:16.799069Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.799207Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:16.799269Z TRACE send{space=Data pn=0 path_id=1}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:16.799377Z TRACE send{space=Data pn=0 path_id=1}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(9cd174abf5cfd59b) +2026-10-11T17:31:16.800036Z TRACE send{space=Data pn=0 path_id=1}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(1005f3c7e0313d48) +2026-10-11T17:31:16.800070Z TRACE send{space=Data pn=0 path_id=1}: noq_proto::connection::packet_builder: PADDING * 1155 +2026-10-11T17:31:16.800110Z TRACE send{space=Data pn=0 path_id=1}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:16.800176Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:33775) +2026-10-11T17:31:16.800190Z TRACE noq_proto::connection::paths: anti amplification budget decreased network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:33775) anti_amplification_budget=2400 +2026-10-11T17:31:16.800542Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.800565Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=1 +2026-10-11T17:31:16.800581Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:16.800623Z TRACE send{space=Data pn=0 path_id=2}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:16.800649Z TRACE send{space=Data pn=0 path_id=2}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(60325b22e89d3ca3) +2026-10-11T17:31:16.800664Z TRACE send{space=Data pn=0 path_id=2}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(fa3fb469da9b3f91) +2026-10-11T17:31:16.800677Z TRACE send{space=Data pn=0 path_id=2}: noq_proto::connection::packet_builder: PADDING * 1155 +2026-10-11T17:31:16.800721Z TRACE send{space=Data pn=0 path_id=2}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:16.800760Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:33775) +2026-10-11T17:31:16.800775Z TRACE noq_proto::connection::paths: anti amplification budget decreased network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:33775) anti_amplification_budget=2400 +2026-10-11T17:31:16.801046Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.802174Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=1 +2026-10-11T17:31:16.802217Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=2 +2026-10-11T17:31:16.802309Z TRACE timeout{scope="conn" timer=NatTraversalProbeRetry}: noq_proto::connection: timeout +2026-10-11T17:31:16.802348Z TRACE timeout{scope="conn" timer=NatTraversalProbeRetry}: noq_proto::connection: no more NAT probes remaining +2026-10-11T17:31:16.802531Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1420 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33775) using id a1348bffbc32fa53 +2026-10-11T17:31:16.802652Z TRACE pkt{path_id=0}:recv{space=Data pn=11}: noq_proto::connection: got frame PING +2026-10-11T17:31:16.802685Z TRACE pkt{path_id=0}:recv{space=Data pn=11}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:16.803064Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (36 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33775) using id a1348bffbc32fa53 +2026-10-11T17:31:16.803171Z TRACE pkt{path_id=0}:recv{space=Data pn=12}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [9..15] delay: 177µs +2026-10-11T17:31:16.803222Z TRACE pkt{path_id=0}:recv{space=Data pn=12}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1389 +2026-10-11T17:31:16.803345Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:16.803390Z TRACE send{space=Data pn=15 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [9..13] delay: 371µs +2026-10-11T17:31:16.803416Z TRACE send{space=Data pn=15 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 1 ranges: [0..1] delay: 806µs +2026-10-11T17:31:16.803429Z TRACE send{space=Data pn=15 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 2 ranges: [0..1] delay: 806µs +2026-10-11T17:31:16.803470Z TRACE send{space=Data pn=15 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:16.803493Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=56 prev_segment_size=1389 +2026-10-11T17:31:16.803508Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=56 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33775) +2026-10-11T17:31:16.803581Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.803598Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=1 +2026-10-11T17:31:16.803610Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=2 +2026-10-11T17:31:16.803635Z TRACE send{space=Data pn=16 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1420 +2026-10-11T17:31:16.803651Z TRACE send{space=Data pn=16 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:16.803662Z TRACE send{space=Data pn=16 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:16.803672Z TRACE send{space=Data pn=16 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1392 +2026-10-11T17:31:16.803691Z TRACE send{space=Data pn=16 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1420 +2026-10-11T17:31:16.803719Z TRACE noq_proto::connection: sending 1420 bytes in 1 datagrams segment_size=1420 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33775) +2026-10-11T17:31:16.803763Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.803778Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=1 +2026-10-11T17:31:16.803789Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=2 +2026-10-11T17:31:16.803975Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(132713684221648) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:31:16.804288Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:31:16.804318Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:31:16.804408Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33775) using id a1348bffbc32fa53 +2026-10-11T17:31:16.804424Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:31:16.804535Z TRACE pkt{path_id=0}:recv{space=Data pn=13}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [9..15] delay: 436µs +2026-10-11T17:31:16.804599Z TRACE pkt{path_id=0}:recv{space=Data pn=13}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 1 ranges: [0..1] delay: 206µs +2026-10-11T17:31:16.804688Z TRACE pkt{path_id=0}:recv{space=Data pn=13}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 2 ranges: [0..1] delay: 132µs +2026-10-11T17:31:16.804790Z TRACE pkt{path_id=1}: noq_proto::connection: got Data packet (1200 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:33775) using id f00e68532d99487d +2026-10-11T17:31:16.804873Z TRACE pkt{path_id=1}:recv{space=Data pn=1}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:16.804935Z TRACE pkt{path_id=1}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_RESPONSE(9cd174abf5cfd59b) +2026-10-11T17:31:16.804975Z TRACE pkt{path_id=1}:recv{space=Data pn=1}:frame{ty=PATH_RESPONSE}: noq_proto::connection::paths: new path validated +2026-10-11T17:31:16.805287Z TRACE pkt{path_id=2}: noq_proto::connection: got Data packet (1200 bytes) from (local: 10.200.0.1, remote: [::ffff:10.200.0.1]:33775) using id 2241047de71febd8 +2026-10-11T17:31:16.805362Z TRACE pkt{path_id=2}:recv{space=Data pn=1}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:16.805395Z TRACE pkt{path_id=2}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_RESPONSE(60325b22e89d3ca3) +2026-10-11T17:31:16.805415Z TRACE pkt{path_id=2}:recv{space=Data pn=1}:frame{ty=PATH_RESPONSE}: noq_proto::connection::paths: new path validated +2026-10-11T17:31:16.805686Z TRACE pkt{path_id=1}: noq_proto::connection: got Data packet (1326 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:33775) using id f00e68532d99487d +2026-10-11T17:31:16.805746Z TRACE pkt{path_id=1}:recv{space=Data pn=2}: noq_proto::connection: got frame PING +2026-10-11T17:31:16.805774Z TRACE pkt{path_id=1}:recv{space=Data pn=2}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:16.806089Z TRACE pkt{path_id=2}: noq_proto::connection: got Data packet (1326 bytes) from (local: 10.200.0.1, remote: [::ffff:10.200.0.1]:33775) using id 2241047de71febd8 +2026-10-11T17:31:16.806167Z TRACE pkt{path_id=2}:recv{space=Data pn=2}: noq_proto::connection: got frame PING +2026-10-11T17:31:16.806197Z TRACE pkt{path_id=2}:recv{space=Data pn=2}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:16.806571Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=3.024888ms +2026-10-11T17:31:16.806604Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:16.806683Z TRACE send{space=Data pn=1 path_id=1}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [9..14] delay: 292µs +2026-10-11T17:31:16.806723Z TRACE send{space=Data pn=1 path_id=1}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 1 ranges: [0..3] delay: 292µs +2026-10-11T17:31:16.806739Z TRACE send{space=Data pn=1 path_id=1}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 2 ranges: [0..3] delay: 292µs +2026-10-11T17:31:16.806761Z TRACE send{space=Data pn=1 path_id=1}: noq_proto::connection::packet_builder: frame=PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:16.806813Z TRACE send{space=Data pn=1 path_id=1}: noq_proto::connection::packet_builder: wrote packet size=60 +2026-10-11T17:31:16.806869Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=60 prev_segment_size=1200 +2026-10-11T17:31:16.807247Z TRACE noq_proto::connection: sending 60 bytes in 1 datagrams segment_size=60 last_datagram_len=0 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:33775) +2026-10-11T17:31:16.807512Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.807545Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=1 +2026-10-11T17:31:16.807563Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=2 +2026-10-11T17:31:16.807612Z TRACE send{space=Data pn=2 path_id=1}: noq_proto::connection: writing MTUD probe probe_size=1326 +2026-10-11T17:31:16.807636Z TRACE send{space=Data pn=2 path_id=1}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:16.807664Z TRACE send{space=Data pn=2 path_id=1}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:16.807675Z TRACE send{space=Data pn=2 path_id=1}: noq_proto::connection::packet_builder: PADDING * 1298 +2026-10-11T17:31:16.807711Z TRACE send{space=Data pn=2 path_id=1}: noq_proto::connection::packet_builder: wrote packet size=1326 +2026-10-11T17:31:16.807749Z TRACE noq_proto::connection: sending 1326 bytes in 1 datagrams segment_size=1326 last_datagram_len=0 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:33775) +2026-10-11T17:31:16.808019Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.808053Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=1 +2026-10-11T17:31:16.808068Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=2 +2026-10-11T17:31:16.808108Z TRACE send{space=Data pn=1 path_id=2}: noq_proto::connection: writing MTUD probe probe_size=1326 +2026-10-11T17:31:16.808133Z TRACE send{space=Data pn=1 path_id=2}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:16.808146Z TRACE send{space=Data pn=1 path_id=2}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:16.808157Z TRACE send{space=Data pn=1 path_id=2}: noq_proto::connection::packet_builder: PADDING * 1298 +2026-10-11T17:31:16.808186Z TRACE send{space=Data pn=1 path_id=2}: noq_proto::connection::packet_builder: wrote packet size=1326 +2026-10-11T17:31:16.808228Z TRACE noq_proto::connection: sending 1326 bytes in 1 datagrams segment_size=1326 last_datagram_len=0 network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:33775) +2026-10-11T17:31:16.808576Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.808611Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=1 +2026-10-11T17:31:16.808626Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=2 +2026-10-11T17:31:16.808848Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:33775) using id a1348bffbc32fa53 +2026-10-11T17:31:16.808971Z TRACE pkt{path_id=0}:recv{space=Data pn=14}: noq_proto::connection: got frame PATH_CHALLENGE(446866ae24738569) +2026-10-11T17:31:16.809048Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 10.200.0.1, remote: [::ffff:10.200.0.1]:33775) using id a1348bffbc32fa53 +2026-10-11T17:31:16.809112Z TRACE pkt{path_id=0}:recv{space=Data pn=15}: noq_proto::connection: got frame PATH_CHALLENGE(22428a68f32e638e) +2026-10-11T17:31:16.809158Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33775) using id a1348bffbc32fa53 +2026-10-11T17:31:16.809205Z TRACE pkt{path_id=0}:recv{space=Data pn=16}: noq_proto::connection: got frame PATH_CHALLENGE(1c63ff7803dacb4b) +2026-10-11T17:31:16.809247Z TRACE pkt{path_id=1}: noq_proto::connection: got Data packet (71 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:33775) using id f00e68532d99487d +2026-10-11T17:31:16.809317Z TRACE pkt{path_id=1}:recv{space=Data pn=3}: noq_proto::connection: got frame REACH_OUT round: 2 local_addr: 10.200.0.2:33775 +2026-10-11T17:31:16.809384Z TRACE pkt{path_id=1}:recv{space=Data pn=3}: noq_proto::connection: got frame REACH_OUT round: 2 local_addr: 127.0.0.1:33775 +2026-10-11T17:31:16.809415Z TRACE pkt{path_id=1}:recv{space=Data pn=3}: noq_proto::connection: got frame REACH_OUT round: 2 local_addr: 10.200.0.1:33775 +2026-10-11T17:31:16.809451Z TRACE pkt{path_id=1}:recv{space=Data pn=3}: noq_proto::connection: got frame PATH_ABANDON path_id: 0, error: Path abandoned at the application's request +2026-10-11T17:31:16.809506Z TRACE pkt{path_id=1}:recv{space=Data pn=3}:frame{ty=PATH_ABANDON path=0}: noq_proto::connection: abandoning path path_id=0 reason=RemoteAbandoned { error_code: 62 } +2026-10-11T17:31:16.809574Z TRACE pkt{path_id=1}:recv{space=Data pn=3}:frame{ty=PATH_ABANDON path=0}: noq_proto::connection: peer abandoned path +2026-10-11T17:31:16.809623Z TRACE pkt{path_id=1}:recv{space=Data pn=3}: noq_proto::connection: got frame PATH_ABANDON path_id: 2, error: Path abandoned at the application's request +2026-10-11T17:31:16.809643Z TRACE pkt{path_id=1}:recv{space=Data pn=3}:frame{ty=PATH_ABANDON path=2}: noq_proto::connection: abandoning path path_id=2 reason=RemoteAbandoned { error_code: 62 } +2026-10-11T17:31:16.809663Z TRACE pkt{path_id=1}:recv{space=Data pn=3}:frame{ty=PATH_ABANDON path=2}: noq_proto::connection: peer abandoned path +2026-10-11T17:31:16.809686Z TRACE pkt{path_id=1}:recv{space=Data pn=3}: noq_proto::connection: got frame PATH_STATUS_AVAILABLE path_id: 1 seq_no: 2 +2026-10-11T17:31:16.809705Z DEBUG pkt{path_id=1}:recv{space=Data pn=3}:frame{ty=PATH_STATUS_AVAILABLE path=1}: noq_proto::connection::paths: remote changed path status status=Available seq=2 +2026-10-11T17:31:16.809800Z TRACE send{space=Data pn=17 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(ccc35628dca065ec) msg="(nat-traversal)" +2026-10-11T17:31:16.809841Z TRACE send{space=Data pn=17 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:16.809867Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:127.0.0.1, 33775) len=35 +2026-10-11T17:31:16.810058Z TRACE send{space=Data pn=18 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(1ec504e2dfd38f66) msg="(nat-traversal)" +2026-10-11T17:31:16.810095Z TRACE send{space=Data pn=18 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:16.810121Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.2, 33775) len=35 +2026-10-11T17:31:16.810182Z TRACE send{space=Data pn=19 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(d749b6a534804c7d) msg="(nat-traversal)" +2026-10-11T17:31:16.810205Z TRACE send{space=Data pn=19 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:16.810222Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.1, 33775) len=35 +2026-10-11T17:31:16.810285Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:16.810307Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:16.810361Z TRACE send{space=Data pn=3 path_id=1}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [9..17] delay: 220µs +2026-10-11T17:31:16.810397Z TRACE send{space=Data pn=3 path_id=1}: noq_proto::connection::packet_builder: frame=PATH_ABANDON path_id: 0, error: Path abandoned at the application's request +2026-10-11T17:31:16.810417Z TRACE send{space=Data pn=3 path_id=1}: noq_proto::connection::packet_builder: frame=PATH_ABANDON path_id: 2, error: Path abandoned at the application's request +2026-10-11T17:31:16.810434Z TRACE send{space=Data pn=3 path_id=1}: noq_proto::connection::packet_builder: frame=MAX_PATH_ID path_id: 9 +2026-10-11T17:31:16.810474Z TRACE send{space=Data pn=3 path_id=1}: noq_proto::connection::packet_builder: wrote packet size=47 +2026-10-11T17:31:16.810524Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=47 prev_segment_size=1200 +2026-10-11T17:31:16.810548Z TRACE noq_proto::connection: sending 47 bytes in 1 datagrams segment_size=47 last_datagram_len=0 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:33775) +2026-10-11T17:31:16.810628Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=1 +2026-10-11T17:31:16.810728Z TRACE timer_fired{scope="path" path_id=0 timer=Pacing}: noq_proto::connection: timeout +2026-10-11T17:31:16.812186Z TRACE noq_proto::connection: connection closed +2026-10-11T17:31:16.812245Z TRACE noq_proto::connection::state: connection state: closed remote_reason=Application(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) is_local=true +2026-10-11T17:31:16.811367Z TRACE RemoteStateActor{remote=ed4928c628}:handle_path_event{conn_id=ConnId(132713684221648) event=Ok(Established { id: PathId(1) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:31:16.813094Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:16.813173Z TRACE send{space=Data pn=4 path_id=1}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:16.813221Z TRACE send{space=Data pn=4 path_id=1}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [9..17] delay: 612µs +2026-10-11T17:31:16.813251Z TRACE send{space=Data pn=4 path_id=1}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 1 ranges: [0..4] delay: 612µs +2026-10-11T17:31:16.813268Z TRACE send{space=Data pn=4 path_id=1}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 2 ranges: [0..3] delay: 1093µs +2026-10-11T17:31:16.813290Z TRACE send{space=Data pn=4 path_id=1}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=4097 reason='not on allowlist' +2026-10-11T17:31:16.813335Z TRACE send{space=Data pn=4 path_id=1}: noq_proto::connection::packet_builder: wrote packet size=76 +2026-10-11T17:31:16.813374Z TRACE noq_proto::connection: sending 76 bytes in 1 datagrams segment_size=1200 last_datagram_len=76 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:33775) +2026-10-11T17:31:16.814686Z TRACE RemoteStateActor{remote=ed4928c628}:handle_path_event{conn_id=ConnId(132713684221648) event=Ok(Established { id: PathId(2) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:31:16.814813Z TRACE RemoteStateActor{remote=ed4928c628}:handle_path_event{conn_id=ConnId(132713684221648) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 10.200.0.2:33775, local: Some(10.200.0.2) }) +2026-10-11T17:31:16.814994Z TRACE RemoteStateActor{remote=ed4928c628}:handle_path_event{conn_id=ConnId(132713684221648) event=Ok(Abandoned { id: PathId(0), reason: RemoteAbandoned { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:31:16.815104Z TRACE RemoteStateActor{remote=ed4928c628}:handle_path_event{conn_id=ConnId(132713684221648) event=Ok(Abandoned { id: PathId(0), reason: RemoteAbandoned { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 10.200.0.2:33775, local: Some(10.200.0.2) }) +2026-10-11T17:31:16.815198Z TRACE RemoteStateActor{remote=ed4928c628}:handle_path_event{conn_id=ConnId(132713684221648) event=Ok(Abandoned { id: PathId(2), reason: RemoteAbandoned { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:31:16.815960Z TRACE RemoteStateActor{remote=ed4928c628}:handle_path_event{conn_id=ConnId(132713684221648) event=Ok(Abandoned { id: PathId(2), reason: RemoteAbandoned { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 10.200.0.2:33775, local: Some(10.200.0.2) }) +2026-10-11T17:31:16.816106Z TRACE RemoteStateActor{remote=ed4928c628}:handle_path_event{conn_id=ConnId(132713684221648) event=Ok(RemoteStatus { id: PathId(1), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:31:16.815674Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:33775)/Active", "Ip(10.200.0.2:33775)/Active"] +2026-10-11T17:31:16.816567Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:31:16.819968Z TRACE pkt{path_id=1}: noq_proto::connection: got Data packet (60 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:33775) using id f00e68532d99487d +2026-10-11T17:31:16.820095Z TRACE pkt{path_id=1}:recv{space=Data pn=4}: noq_proto::connection: processing frame in closed state frame=PathAck(PathAck { path_id: PathId(0), largest: 19, delay: 835, ranges: [15..20], ecn: Some(EcnCounts { ect0: 9, ect1: 0, ce: 0 }) }) +2026-10-11T17:31:16.820144Z TRACE pkt{path_id=1}:recv{space=Data pn=4}: noq_proto::connection: processing frame in closed state frame=PathAck(PathAck { path_id: PathId(1), largest: 4, delay: 571, ranges: [1..5], ecn: Some(EcnCounts { ect0: 5, ect1: 0, ce: 0 }) }) +2026-10-11T17:31:16.820165Z TRACE pkt{path_id=1}:recv{space=Data pn=4}: noq_proto::connection: processing frame in closed state frame=PathAck(PathAck { path_id: PathId(2), largest: 1, delay: 1237, ranges: [1..2], ecn: Some(EcnCounts { ect0: 2, ect1: 0, ce: 0 }) }) +2026-10-11T17:31:16.820186Z TRACE pkt{path_id=1}:recv{space=Data pn=4}: noq_proto::connection: processing frame in closed state frame=Close(Connection(ConnectionClose { error_code: NO_ERROR, frame_type: None, reason: b"" })) +2026-10-11T17:31:16.820210Z TRACE pkt{path_id=1}:recv{space=Data pn=4}: noq_proto::connection::state: connection state: draining diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-03/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-03/client.log new file mode 100644 index 0000000000..33f10d42ef --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-03/client.log @@ -0,0 +1,192 @@ +2026-10-11T17:31:17.795129Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:33259] +2026-10-11T17:31:17.796558Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:31:17.796821Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:31:17.796975Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:31:17.797012Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:31:17.797049Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:31:17.797300Z TRACE noq_proto::endpoint: initial_dcid=2cb11ea034350ad9a9851a9778744ae8863a591e +2026-10-11T17:31:17.798075Z TRACE noq_proto::token_memory_cache: taking token server_name=ha4e7nbk17opbvaircmjpeiteb56e2dv3ma146vjei403d0fdte0.iroh.invalid found=false +2026-10-11T17:31:17.798481Z TRACE noq_proto::connection: wrote 282 Initial CRYPTO bytes +2026-10-11T17:31:17.798932Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:17.799203Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 282 +2026-10-11T17:31:17.799300Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 859 +2026-10-11T17:31:17.799373Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:17.799473Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: , remote: [fd15:70a:510b:0:1d38:5a53:6e69:f3d9]:12345) +2026-10-11T17:31:17.799644Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:17.799826Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:33259)] +2026-10-11T17:31:17.812121Z TRACE pkt{path_id=0}: noq_proto::connection: got Initial packet (146 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33259) using id c7f600d86266ef92 +2026-10-11T17:31:17.812247Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: server migrated to new remote network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33259) prev=(local: , remote: [fd15:70a:510b:0:1d38:5a53:6e69:f3d9]:12345) +2026-10-11T17:31:17.812305Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: switching remote CID to 5cce023cec61c7cc +2026-10-11T17:31:17.812331Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection::state: connection state: handshake +2026-10-11T17:31:17.812510Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 90 CRYPTO bytes +2026-10-11T17:31:17.813650Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: Handshake keys ready +2026-10-11T17:31:17.813966Z TRACE pkt{path_id=0}: noq_proto::connection: got Handshake packet (1054 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33259) using id c7f600d86266ef92 +2026-10-11T17:31:17.814120Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 379 CRYPTO bytes +2026-10-11T17:31:17.847485Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: Data keys ready +2026-10-11T17:31:17.847740Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: wrote 181 Handshake CRYPTO bytes +2026-10-11T17:31:17.847856Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: negotiated max idle timeout Some(30s) +2026-10-11T17:31:17.861101Z DEBUG pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:31:17.861426Z DEBUG pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:31:17.861521Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection::state: connection state: established +2026-10-11T17:31:17.861549Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: established +2026-10-11T17:31:17.861832Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (138 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33259) using id c7f600d86266ef92 +2026-10-11T17:31:17.862039Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 1 id: b2b6950274a4a557 +2026-10-11T17:31:17.862096Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 2 id: 5d646f8bae01c3ab +2026-10-11T17:31:17.862120Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 3 id: 3d83ff92a74a5ed9 +2026-10-11T17:31:17.862142Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 4 id: 106529c304721f0f +2026-10-11T17:31:17.862248Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:17.862324Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 6307µs +2026-10-11T17:31:17.862380Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection: will coalesce with next packet +2026-10-11T17:31:17.862422Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=52 +2026-10-11T17:31:17.862450Z TRACE noq_proto::connection: discarding Initial keys +2026-10-11T17:31:17.862505Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 6307µs +2026-10-11T17:31:17.862524Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 181 +2026-10-11T17:31:17.862558Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 912 +2026-10-11T17:31:17.862577Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1148 +2026-10-11T17:31:17.862612Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:17.862625Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33259) +2026-10-11T17:31:17.866097Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:17.866178Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:17.866278Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1326 +2026-10-11T17:31:17.866366Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:17.866389Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:17.866416Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1298 +2026-10-11T17:31:17.866497Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1326 +2026-10-11T17:31:17.866581Z TRACE noq_proto::connection: sending 1326 bytes in 1 datagrams segment_size=1326 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33259) +2026-10-11T17:31:17.866729Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:17.866745Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:17.867387Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:17.867459Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:17.867627Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 1 id: 22f3409ced9e6e17 +2026-10-11T17:31:17.867681Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 2 id: f4127c72f43edb0a +2026-10-11T17:31:17.867695Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 3 id: 5d59fb9e47d09252 +2026-10-11T17:31:17.867708Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 4 id: ed7f2d6dba0531e6 +2026-10-11T17:31:17.867721Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: c47a81f6b7c2bb3a +2026-10-11T17:31:17.867741Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: 3174aa98704b37b3 +2026-10-11T17:31:17.867754Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 8916f60829622d7e +2026-10-11T17:31:17.867766Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: ecccf49e2eaba49c +2026-10-11T17:31:17.867779Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: 10ad71235b37bbf2 +2026-10-11T17:31:17.867793Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 901848ec65c8892f +2026-10-11T17:31:17.867806Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: 89630054b1170147 +2026-10-11T17:31:17.867819Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 44173523574f6656 +2026-10-11T17:31:17.867832Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 37c1a9539a9f6630 +2026-10-11T17:31:17.867845Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 5d53da680cabd670 +2026-10-11T17:31:17.867857Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: c3543298279a5efc +2026-10-11T17:31:17.867869Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 4c0ba6845d12d04a +2026-10-11T17:31:17.867881Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 348646480b30ae0e +2026-10-11T17:31:17.870142Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 856c7af9d414636b +2026-10-11T17:31:17.870272Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 05933fcaf1a16f81 +2026-10-11T17:31:17.870290Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: b4c717d3e0453ea0 +2026-10-11T17:31:17.870304Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: f4b9a480538d7a9a +2026-10-11T17:31:17.870320Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 84d5f16711c33808 +2026-10-11T17:31:17.870333Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: a38d4e2b0b87df15 +2026-10-11T17:31:17.870357Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 948d3924efff3bc1 +2026-10-11T17:31:17.870369Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 24b8a5077d707ec8 +2026-10-11T17:31:17.870382Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 4d8dd75d556e334b +2026-10-11T17:31:17.870395Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 61d2931ab599663d +2026-10-11T17:31:17.870407Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 0a3725ef2b8cb33b +2026-10-11T17:31:17.870419Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: fd7f24d9477bdda0 +2026-10-11T17:31:17.870433Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 81020d2133bc4d3a +2026-10-11T17:31:17.870446Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: f89f7b34a0ff27c4 +2026-10-11T17:31:17.870458Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: 4f9f33cb007d3082 +2026-10-11T17:31:17.870470Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 89799c8a72789b2e +2026-10-11T17:31:17.870488Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: 98adb509e19bfbf3 +2026-10-11T17:31:17.870501Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 85a905fa89dd2d67 +2026-10-11T17:31:17.870514Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: 60df2f29ea1a289b +2026-10-11T17:31:17.870527Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: e5deff7424eca849 +2026-10-11T17:31:17.870539Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 67237dcf7c660fa0 +2026-10-11T17:31:17.870620Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1166 +2026-10-11T17:31:17.870749Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1166 prev_segment_size=1200 +2026-10-11T17:31:17.870804Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=1.003464ms +2026-10-11T17:31:17.870824Z TRACE noq_proto::connection: sending 1166 bytes in 1 datagrams segment_size=1166 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33259) +2026-10-11T17:31:17.874117Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:17.874316Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=1.003464ms +2026-10-11T17:31:17.874578Z TRACE timer_fired{scope="path" path_id=0 timer=Pacing}: noq_proto::connection: timeout +2026-10-11T17:31:17.874937Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:17.874974Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:17.875137Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 17499b8ed56486a9 +2026-10-11T17:31:17.875241Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:17.875314Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=56 prev_segment_size=1200 +2026-10-11T17:31:17.875348Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=56 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33259) +2026-10-11T17:31:17.875525Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:17.875546Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:17.876210Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(105246746722240) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:36668, 10.200.0.2:36668, 127.0.0.1:36668} +2026-10-11T17:31:17.876520Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(105246746722240) send_tasks=FuturesUnorderedBounded { len: 0, .. }}:do_holepunching: noq_proto::n0_nat_traversal: initiating NAT traversal round round=1 reach_out=3 to_probe=0 +2026-10-11T17:31:17.876917Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:17.876974Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:17.877081Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 127.0.0.1:36668 +2026-10-11T17:31:17.877119Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 10.200.0.1:36668 +2026-10-11T17:31:17.877131Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 10.200.0.2:36668 +2026-10-11T17:31:17.877152Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:17.877242Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=63 +2026-10-11T17:31:17.877303Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=63 prev_segment_size=1200 +2026-10-11T17:31:17.877337Z TRACE noq_proto::connection: sending 63 bytes in 1 datagrams segment_size=63 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33259) +2026-10-11T17:31:17.879107Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:17.879238Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:17.880847Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=85.552267 remote_info=["Ip(127.0.0.1:33259)/Active"] +2026-10-11T17:31:17.901881Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:17.901958Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:17.902090Z TRACE timer_fired{scope="path" path_id=0 timer=LossDetection}: noq_proto::connection: timeout +2026-10-11T17:31:17.902147Z TRACE timer_fired{scope="path" path_id=0 timer=LossDetection}: noq_proto::connection: PTO fired in_flight=3759 count=0 space=Handshake path_id=0 +2026-10-11T17:31:17.902344Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:17.902419Z TRACE send{space=Handshake pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 181 +2026-10-11T17:31:17.902518Z TRACE send{space=Handshake pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=227 +2026-10-11T17:31:17.902570Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=227 prev_segment_size=1200 +2026-10-11T17:31:17.902598Z TRACE noq_proto::connection: new datagram started count=2 +2026-10-11T17:31:17.902633Z TRACE send{space=Handshake pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 181 +2026-10-11T17:31:17.903052Z TRACE send{space=Handshake pn=2 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=227 +2026-10-11T17:31:17.903122Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:17.903138Z TRACE noq_proto::connection: sending 454 bytes in 2 datagrams segment_size=227 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33259) +2026-10-11T17:31:17.905281Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:17.906472Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:17.906729Z TRACE pkt{path_id=0}: noq_proto::connection: discarding packet from unrecognized peer path_id=0 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:33259) known_path.network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33259) +2026-10-11T17:31:17.906880Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33259) using id 22f3409ced9e6e17 +2026-10-11T17:31:17.907154Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_CHALLENGE(6f56ceabe9f06e73) +2026-10-11T17:31:17.907254Z TRACE pkt{path_id=0}: noq_proto::connection: discarding packet from unrecognized peer path_id=0 network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:33259) known_path.network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33259) +2026-10-11T17:31:17.907301Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (223 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33259) using id 22f3409ced9e6e17 +2026-10-11T17:31:17.907379Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame HANDSHAKE_DONE +2026-10-11T17:31:17.907399Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=HANDSHAKE_DONE}: noq_proto::connection: discarding Handshake keys +2026-10-11T17:31:17.907490Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=HANDSHAKE_DONE}: noq_proto::connection: handshake confirmed +2026-10-11T17:31:17.907536Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..4] delay: 3057µs +2026-10-11T17:31:17.907604Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1326 +2026-10-11T17:31:17.907686Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame CRYPTO offset=0 len=178 +2026-10-11T17:31:17.907711Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=CRYPTO}: noq_proto::connection: consumed 178 CRYPTO bytes +2026-10-11T17:31:17.914439Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_RETIRE_CONNECTION_ID path_id: 0 seq: 0 +2026-10-11T17:31:17.914663Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1326 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33259) using id 22f3409ced9e6e17 +2026-10-11T17:31:17.914802Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame PING +2026-10-11T17:31:17.914833Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:17.915160Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:17.915254Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:17.916249Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3,4..6] delay: 1314µs +2026-10-11T17:31:17.916331Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(6f56ceabe9f06e73) +2026-10-11T17:31:17.916398Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1150 +2026-10-11T17:31:17.916472Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:17.916554Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1200 prev_segment_size=1326 +2026-10-11T17:31:17.916593Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33259) +2026-10-11T17:31:17.918302Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:17.919529Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1389 +2026-10-11T17:31:17.919638Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:17.919732Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:17.919942Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1361 +2026-10-11T17:31:17.920014Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1389 +2026-10-11T17:31:17.920093Z TRACE noq_proto::connection: sending 1389 bytes in 1 datagrams segment_size=1389 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33259) +2026-10-11T17:31:17.920217Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:17.920546Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33259) using id 22f3409ced9e6e17 +2026-10-11T17:31:17.920782Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..4] delay: 4000µs +2026-10-11T17:31:17.920922Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame CONNECTION_CLOSE error_code=4097 reason='not on allowlist' +2026-10-11T17:31:17.920996Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection::state: connection state: draining +2026-10-11T17:31:17.921037Z TRACE pkt{path_id=0}: noq_proto::connection: connection closed +2026-10-11T17:31:17.921131Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:17.921185Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:17.921230Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3,4..7] delay: 459µs +2026-10-11T17:31:17.921289Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=0 reason='' +2026-10-11T17:31:17.921343Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=44 +2026-10-11T17:31:17.921385Z TRACE noq_proto::connection: sending 44 bytes in 1 datagrams segment_size=1326 last_datagram_len=44 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33259) +2026-10-11T17:31:17.921814Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:31:17.922093Z TRACE noq_proto::endpoint: local CID retired 0: c7f600d86266ef92 path_id=0 +2026-10-11T17:31:17.922320Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33259) using id 22f3409ced9e6e17 +2026-10-11T17:31:17.923564Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=128.280275 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:33259)/Active"] +2026-10-11T17:31:17.932345Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (40 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33259) using id 22f3409ced9e6e17 +2026-10-11T17:31:18.132557Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:33259)/Active"] +2026-10-11T17:31:18.134582Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:31:18.134688Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-03/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-03/ready.txt new file mode 100644 index 0000000000..0c06c1ae7a --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-03/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=33259 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-03/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-03/server.log new file mode 100644 index 0000000000..770a7ca18f --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-03/server.log @@ -0,0 +1,174 @@ +2026-10-11T17:31:17.700008Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=33259 direct=["10.200.0.1:33259", "10.200.0.2:33259", "127.0.0.1:33259"] +2026-10-11T17:31:17.802738Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:36668) alpns=["n30/allowlist/0"] +2026-10-11T17:31:17.803943Z TRACE first recv:frame{ty=CRYPTO}: noq_proto::connection: consumed 282 CRYPTO bytes +2026-10-11T17:31:17.809744Z TRACE first recv: noq_proto::connection: Handshake keys ready +2026-10-11T17:31:17.810023Z TRACE first recv: noq_proto::connection: wrote 90 Initial CRYPTO bytes +2026-10-11T17:31:17.810256Z TRACE first recv: noq_proto::connection: Data keys ready +2026-10-11T17:31:17.810328Z TRACE first recv: noq_proto::connection: wrote 379 Handshake CRYPTO bytes +2026-10-11T17:31:17.810399Z TRACE first recv: noq_proto::connection: negotiated max idle timeout Some(30s) +2026-10-11T17:31:17.810421Z DEBUG first recv: noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:31:17.810441Z DEBUG first recv: noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:31:17.810516Z TRACE noq_proto::endpoint: new connection id=0 icid=2cb11ea034350ad9a9851a9778744ae8863a591e network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:36668) +2026-10-11T17:31:17.810970Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:17.811165Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 1264µs +2026-10-11T17:31:17.811214Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 90 +2026-10-11T17:31:17.811251Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection: will coalesce with next packet +2026-10-11T17:31:17.811304Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=146 +2026-10-11T17:31:17.811381Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 379 +2026-10-11T17:31:17.811410Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 629 +2026-10-11T17:31:17.811444Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1054 +2026-10-11T17:31:17.811470Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:17.811484Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:36668) +2026-10-11T17:31:17.811501Z TRACE noq_proto::connection::paths: anti amplification budget decreased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:36668) anti_amplification_budget=2352 +2026-10-11T17:31:17.812181Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:17.812206Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:17.812220Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:17.812635Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:17.812656Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:17.812684Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=14.7852ms +2026-10-11T17:31:17.831267Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:17.831351Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:17.831388Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:17.831644Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 1 id: b2b6950274a4a557 +2026-10-11T17:31:17.831732Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 2 id: 5d646f8bae01c3ab +2026-10-11T17:31:17.831763Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 3 id: 3d83ff92a74a5ed9 +2026-10-11T17:31:17.831774Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 4 id: 106529c304721f0f +2026-10-11T17:31:17.831855Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=138 +2026-10-11T17:31:17.831981Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=138 prev_segment_size=1200 +2026-10-11T17:31:17.832035Z TRACE noq_proto::connection: sending 138 bytes in 1 datagrams segment_size=138 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:36668) +2026-10-11T17:31:17.832077Z TRACE noq_proto::connection::paths: anti amplification budget decreased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:36668) anti_amplification_budget=2214 +2026-10-11T17:31:17.832260Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:17.832888Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:17.832943Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:17.833048Z TRACE timer_fired{scope="path" path_id=0 timer=Pacing}: noq_proto::connection: timeout +2026-10-11T17:31:17.834227Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:17.834264Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:17.834284Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:17.863229Z TRACE pkt{path_id=0}: noq_proto::connection: got Initial packet (52 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:36668) using id 5cce023cec61c7cc +2026-10-11T17:31:17.863510Z TRACE pkt{path_id=0}: noq_proto::connection::paths: anti amplification budget increased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:36668) anti_amplification_budget=2370 +2026-10-11T17:31:17.863541Z TRACE pkt{path_id=0}: noq_proto::connection::paths: anti amplification budget increased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:36668) anti_amplification_budget=5814 +2026-10-11T17:31:17.863573Z TRACE pkt{path_id=0}: noq_proto::connection: got Handshake packet (1148 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:36668) using id 5cce023cec61c7cc +2026-10-11T17:31:17.863628Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: discarding Initial keys +2026-10-11T17:31:17.863724Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 181 CRYPTO bytes +2026-10-11T17:31:17.897865Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: wrote 178 Data CRYPTO bytes +2026-10-11T17:31:17.898001Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: discarding Handshake keys +2026-10-11T17:31:17.898088Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: handshake confirmed +2026-10-11T17:31:17.898102Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection::state: connection state: established +2026-10-11T17:31:17.898115Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: established +2026-10-11T17:31:17.898243Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1326 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:36668) using id 5cce023cec61c7cc +2026-10-11T17:31:17.898347Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame PING +2026-10-11T17:31:17.898376Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:17.898640Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1166 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:36668) using id 5cce023cec61c7cc +2026-10-11T17:31:17.898755Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 1 id: 22f3409ced9e6e17 +2026-10-11T17:31:17.898847Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 2 id: f4127c72f43edb0a +2026-10-11T17:31:17.898879Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 3 id: 5d59fb9e47d09252 +2026-10-11T17:31:17.898918Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 4 id: ed7f2d6dba0531e6 +2026-10-11T17:31:17.898949Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: c47a81f6b7c2bb3a +2026-10-11T17:31:17.898980Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: 3174aa98704b37b3 +2026-10-11T17:31:17.899008Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 8916f60829622d7e +2026-10-11T17:31:17.899037Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: ecccf49e2eaba49c +2026-10-11T17:31:17.899066Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: 10ad71235b37bbf2 +2026-10-11T17:31:17.899096Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 901848ec65c8892f +2026-10-11T17:31:17.899125Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: 89630054b1170147 +2026-10-11T17:31:17.899152Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 44173523574f6656 +2026-10-11T17:31:17.899180Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 37c1a9539a9f6630 +2026-10-11T17:31:17.899209Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 5d53da680cabd670 +2026-10-11T17:31:17.899241Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: c3543298279a5efc +2026-10-11T17:31:17.899278Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 4c0ba6845d12d04a +2026-10-11T17:31:17.899309Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 348646480b30ae0e +2026-10-11T17:31:17.899338Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 856c7af9d414636b +2026-10-11T17:31:17.899364Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 05933fcaf1a16f81 +2026-10-11T17:31:17.899391Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: b4c717d3e0453ea0 +2026-10-11T17:31:17.899417Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: f4b9a480538d7a9a +2026-10-11T17:31:17.899443Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 84d5f16711c33808 +2026-10-11T17:31:17.899466Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: a38d4e2b0b87df15 +2026-10-11T17:31:17.899491Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 948d3924efff3bc1 +2026-10-11T17:31:17.899516Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 24b8a5077d707ec8 +2026-10-11T17:31:17.899552Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 4d8dd75d556e334b +2026-10-11T17:31:17.899576Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 61d2931ab599663d +2026-10-11T17:31:17.899602Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 0a3725ef2b8cb33b +2026-10-11T17:31:17.899627Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: fd7f24d9477bdda0 +2026-10-11T17:31:17.899651Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 81020d2133bc4d3a +2026-10-11T17:31:17.899678Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: f89f7b34a0ff27c4 +2026-10-11T17:31:17.899703Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: 4f9f33cb007d3082 +2026-10-11T17:31:17.899729Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 89799c8a72789b2e +2026-10-11T17:31:17.899754Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: 98adb509e19bfbf3 +2026-10-11T17:31:17.899778Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 85a905fa89dd2d67 +2026-10-11T17:31:17.899817Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: 60df2f29ea1a289b +2026-10-11T17:31:17.899845Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: e5deff7424eca849 +2026-10-11T17:31:17.899871Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 67237dcf7c660fa0 +2026-10-11T17:31:17.901635Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:36668) using id 5cce023cec61c7cc +2026-10-11T17:31:17.901785Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 17499b8ed56486a9 +2026-10-11T17:31:17.901836Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (63 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:36668) using id 5cce023cec61c7cc +2026-10-11T17:31:17.901881Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 127.0.0.1:36668 +2026-10-11T17:31:17.901954Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 10.200.0.1:36668 +2026-10-11T17:31:17.901979Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 10.200.0.2:36668 +2026-10-11T17:31:17.902003Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:17.902034Z DEBUG pkt{path_id=0}:recv{space=Data pn=3}:frame{ty=PATH_STATUS_AVAILABLE path=0}: noq_proto::connection::paths: remote changed path status status=Available seq=2 +2026-10-11T17:31:17.902170Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(e591efa5323d17e0) msg="(nat-traversal)" +2026-10-11T17:31:17.902209Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:17.902243Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.2, 36668) len=35 +2026-10-11T17:31:17.902474Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(6f56ceabe9f06e73) msg="(nat-traversal)" +2026-10-11T17:31:17.902513Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:17.902537Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:127.0.0.1, 36668) len=35 +2026-10-11T17:31:17.902622Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(809ba32b298c075b) msg="(nat-traversal)" +2026-10-11T17:31:17.902651Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:17.902671Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.1, 36668) len=35 +2026-10-11T17:31:17.902780Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:17.902823Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=HANDSHAKE_DONE +2026-10-11T17:31:17.902863Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..4] delay: 3057µs +2026-10-11T17:31:17.902893Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 178 +2026-10-11T17:31:17.902937Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RETIRE_CONNECTION_ID path_id: 0 seq: 0 +2026-10-11T17:31:17.902973Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=223 +2026-10-11T17:31:17.903014Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=223 prev_segment_size=1200 +2026-10-11T17:31:17.903031Z TRACE noq_proto::connection: sending 223 bytes in 1 datagrams segment_size=223 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:36668) +2026-10-11T17:31:17.903112Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:17.903152Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1326 +2026-10-11T17:31:17.903178Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:17.903191Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:17.903203Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1298 +2026-10-11T17:31:17.903224Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1326 +2026-10-11T17:31:17.903249Z TRACE noq_proto::connection: sending 1326 bytes in 1 datagrams segment_size=1326 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:36668) +2026-10-11T17:31:17.903297Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:17.903750Z DEBUG pkt{path_id=0}: noq_proto::connection::packet_crypto: dropping unexpected packet encryption_level=Some(Handshake) bytes=227 +2026-10-11T17:31:17.903804Z DEBUG pkt{path_id=0}: noq_proto::connection::packet_crypto: dropping unexpected packet encryption_level=Some(Handshake) bytes=227 +2026-10-11T17:31:17.903908Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:31:17.903914Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=2.353848ms +2026-10-11T17:31:17.904410Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(129832365147424) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:33259, 10.200.0.2:33259, 127.0.0.1:33259} +2026-10-11T17:31:17.905416Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(129832365147424) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:31:17.908150Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:31:17.908286Z TRACE noq_proto::connection: connection closed +2026-10-11T17:31:17.908326Z TRACE noq_proto::connection::state: connection state: closed remote_reason=Application(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) is_local=true +2026-10-11T17:31:17.909137Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:31:17.909399Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:36668)/Active"] +2026-10-11T17:31:17.909701Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:17.909774Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:17.909828Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..4] delay: 4000µs +2026-10-11T17:31:17.909885Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=4097 reason='not on allowlist' +2026-10-11T17:31:17.916957Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:17.917096Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=1200 last_datagram_len=56 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:36668) +2026-10-11T17:31:17.918048Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:36668) using id 5cce023cec61c7cc +2026-10-11T17:31:17.918543Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: processing frame in closed state frame=ImmediateAck +2026-10-11T17:31:17.918608Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: processing frame in closed state frame=PathAck(PathAck { path_id: PathId(0), largest: 5, delay: 1314, ranges: [0..1,2..3,4..6], ecn: Some(EcnCounts { ect0: 3, ect1: 0, ce: 0 }) }) +2026-10-11T17:31:17.918653Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: processing frame in closed state frame=PathResponse(PathResponse(8022827023966695027)) +2026-10-11T17:31:17.918933Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:17.918983Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:17.919022Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..4] delay: 5158µs +2026-10-11T17:31:17.919068Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=4097 reason='not on allowlist' +2026-10-11T17:31:17.919114Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:17.919150Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=1200 last_datagram_len=56 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:36668) +2026-10-11T17:31:17.927083Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1389 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:36668) using id 5cce023cec61c7cc +2026-10-11T17:31:17.927223Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: processing frame in closed state frame=Ping +2026-10-11T17:31:17.927245Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: processing frame in closed state frame=ImmediateAck +2026-10-11T17:31:17.927537Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (44 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:36668) using id 5cce023cec61c7cc +2026-10-11T17:31:17.927598Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: processing frame in closed state frame=PathAck(PathAck { path_id: PathId(0), largest: 6, delay: 459, ranges: [0..1,2..3,4..7], ecn: Some(EcnCounts { ect0: 4, ect1: 0, ce: 0 }) }) +2026-10-11T17:31:17.927650Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: processing frame in closed state frame=Close(Connection(ConnectionClose { error_code: NO_ERROR, frame_type: None, reason: b"" })) +2026-10-11T17:31:17.927700Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection::state: connection state: draining +2026-10-11T17:31:17.927869Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:17.927983Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:17.928051Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..4] delay: 6266µs +2026-10-11T17:31:17.928127Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=0 reason='' +2026-10-11T17:31:17.928166Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=40 +2026-10-11T17:31:17.928215Z TRACE noq_proto::connection: sending 40 bytes in 1 datagrams segment_size=1200 last_datagram_len=40 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:36668) +2026-10-11T17:31:18.375887Z TRACE timeout{scope="conn" timer=Close}: noq_proto::connection: timeout +2026-10-11T17:31:18.376046Z TRACE timeout{scope="conn" timer=Close}: noq_proto::connection::state: connection state: drained diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-04/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-04/client.log new file mode 100644 index 0000000000..7cec8cca58 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-04/client.log @@ -0,0 +1,220 @@ +2026-10-11T17:31:18.950461Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:33076] +2026-10-11T17:31:18.955366Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:31:18.955749Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:31:18.955992Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:31:18.956039Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:31:18.956076Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:31:18.956520Z TRACE noq_proto::endpoint: initial_dcid=ebff0149b329c302306f960d3ae1a80b914e6d06 +2026-10-11T17:31:18.957366Z TRACE noq_proto::token_memory_cache: taking token server_name=ha4e7nbk17opbvaircmjpeiteb56e2dv3ma146vjei403d0fdte0.iroh.invalid found=false +2026-10-11T17:31:18.957841Z TRACE noq_proto::connection: wrote 295 Initial CRYPTO bytes +2026-10-11T17:31:18.958621Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:18.959007Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 295 +2026-10-11T17:31:18.959124Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 846 +2026-10-11T17:31:18.959198Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:18.959313Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: , remote: [fd15:70a:510b:0:7c78:7c46:77ad:b341]:12345) +2026-10-11T17:31:18.959481Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:18.963188Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:33076)] +2026-10-11T17:31:18.977119Z TRACE pkt{path_id=0}: noq_proto::connection: got Initial packet (146 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33076) using id 3a7ce34b2dde80f6 +2026-10-11T17:31:18.977243Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: server migrated to new remote network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33076) prev=(local: , remote: [fd15:70a:510b:0:7c78:7c46:77ad:b341]:12345) +2026-10-11T17:31:18.977296Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: switching remote CID to a54a957567f848dc +2026-10-11T17:31:18.977324Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection::state: connection state: handshake +2026-10-11T17:31:18.977483Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 90 CRYPTO bytes +2026-10-11T17:31:18.978537Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: Handshake keys ready +2026-10-11T17:31:18.978715Z TRACE pkt{path_id=0}: noq_proto::connection: got Handshake packet (1054 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33076) using id 3a7ce34b2dde80f6 +2026-10-11T17:31:18.978934Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 379 CRYPTO bytes +2026-10-11T17:31:19.003951Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: Data keys ready +2026-10-11T17:31:19.004151Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: wrote 181 Handshake CRYPTO bytes +2026-10-11T17:31:19.004293Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: negotiated max idle timeout Some(30s) +2026-10-11T17:31:19.005094Z DEBUG pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:31:19.005177Z DEBUG pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:31:19.005219Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection::state: connection state: established +2026-10-11T17:31:19.005235Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: established +2026-10-11T17:31:19.005865Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (138 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33076) using id 3a7ce34b2dde80f6 +2026-10-11T17:31:19.006089Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 1 id: 5a87f3f7651b7eaa +2026-10-11T17:31:19.006160Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 2 id: f64cbf642643be0e +2026-10-11T17:31:19.006189Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 3 id: 51bc2367ef8777b4 +2026-10-11T17:31:19.006214Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 4 id: 3e7c9931898afa4a +2026-10-11T17:31:19.006327Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:19.006411Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 3688µs +2026-10-11T17:31:19.006484Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection: will coalesce with next packet +2026-10-11T17:31:19.006527Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=52 +2026-10-11T17:31:19.006594Z TRACE noq_proto::connection: discarding Initial keys +2026-10-11T17:31:19.006885Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 3688µs +2026-10-11T17:31:19.007120Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 181 +2026-10-11T17:31:19.007305Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 912 +2026-10-11T17:31:19.007480Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1148 +2026-10-11T17:31:19.007750Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:19.007821Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33076) +2026-10-11T17:31:19.012149Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:19.012316Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:19.012492Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1326 +2026-10-11T17:31:19.012558Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:19.012579Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:19.012592Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1298 +2026-10-11T17:31:19.012658Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1326 +2026-10-11T17:31:19.012761Z TRACE noq_proto::connection: sending 1326 bytes in 1 datagrams segment_size=1326 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33076) +2026-10-11T17:31:19.012982Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:19.013020Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:19.013700Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:19.013763Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:19.015239Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 1 id: 292e04249552c523 +2026-10-11T17:31:19.015364Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 2 id: be71c96fd5c18210 +2026-10-11T17:31:19.015381Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 3 id: 3723ecac72bbda34 +2026-10-11T17:31:19.015394Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 4 id: d1c0119494b01512 +2026-10-11T17:31:19.015408Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: fc29c51a970c80c4 +2026-10-11T17:31:19.015423Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: 70cb561340cc1008 +2026-10-11T17:31:19.015437Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 966e5e148cb9d13d +2026-10-11T17:31:19.015450Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 060a157618e88811 +2026-10-11T17:31:19.015464Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: bc898dfe205a66a1 +2026-10-11T17:31:19.015479Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: b5ce339d02d83a9b +2026-10-11T17:31:19.015492Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: f0c9be7eec4a49e1 +2026-10-11T17:31:19.015506Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 847ea8bf07777837 +2026-10-11T17:31:19.015520Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 28d676168958cb44 +2026-10-11T17:31:19.015533Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 54dfd25c540b384d +2026-10-11T17:31:19.015547Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: dc02bfbcf2450437 +2026-10-11T17:31:19.015561Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 2952659e123c8645 +2026-10-11T17:31:19.015576Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 06dac7baaba8617d +2026-10-11T17:31:19.015589Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: da3be413a3412131 +2026-10-11T17:31:19.015602Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 72f35cc61db849ff +2026-10-11T17:31:19.015614Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: 66d417fd7ced2913 +2026-10-11T17:31:19.015627Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 34d36127225e76df +2026-10-11T17:31:19.015641Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 0c9692907949e627 +2026-10-11T17:31:19.015654Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: 3806d20bfbd4d266 +2026-10-11T17:31:19.015681Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: c7f36a17614b5fba +2026-10-11T17:31:19.015696Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 6a687782278a72a7 +2026-10-11T17:31:19.015710Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 6b10c4984edb48fd +2026-10-11T17:31:19.015724Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 519a49d4a149161d +2026-10-11T17:31:19.015738Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 97df6ca39b8ceaae +2026-10-11T17:31:19.015752Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: df13d68803b06f43 +2026-10-11T17:31:19.015766Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 7fc2e4424b897f33 +2026-10-11T17:31:19.015779Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: 1a994c10c43e8107 +2026-10-11T17:31:19.015792Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: c13fe5f15c199cb6 +2026-10-11T17:31:19.015804Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: c5ebb03f507e623d +2026-10-11T17:31:19.015822Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: 0f55ae448203bf51 +2026-10-11T17:31:19.015835Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 623b63f5f47dc330 +2026-10-11T17:31:19.015849Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: 3246dbca9b7cd1d5 +2026-10-11T17:31:19.015862Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 3cf01e8a16f6ba44 +2026-10-11T17:31:19.015875Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 99ef05490112017d +2026-10-11T17:31:19.016070Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1166 +2026-10-11T17:31:19.016230Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1166 prev_segment_size=1200 +2026-10-11T17:31:19.016283Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=1.420708ms +2026-10-11T17:31:19.016303Z TRACE noq_proto::connection: sending 1166 bytes in 1 datagrams segment_size=1166 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33076) +2026-10-11T17:31:19.020140Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:19.020295Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=1.420708ms +2026-10-11T17:31:19.020448Z TRACE timer_fired{scope="path" path_id=0 timer=Pacing}: noq_proto::connection: timeout +2026-10-11T17:31:19.020698Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:19.020725Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:19.020842Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: cab34991a588209f +2026-10-11T17:31:19.020992Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:19.021074Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=56 prev_segment_size=1200 +2026-10-11T17:31:19.021115Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=56 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33076) +2026-10-11T17:31:19.021282Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:19.021301Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:19.022478Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(98494355355360) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:35765, 10.200.0.2:35765, 127.0.0.1:35765} +2026-10-11T17:31:19.022711Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(98494355355360) send_tasks=FuturesUnorderedBounded { len: 0, .. }}:do_holepunching: noq_proto::n0_nat_traversal: initiating NAT traversal round round=1 reach_out=3 to_probe=0 +2026-10-11T17:31:19.024479Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:19.024544Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:19.024633Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 127.0.0.1:35765 +2026-10-11T17:31:19.024685Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 10.200.0.1:35765 +2026-10-11T17:31:19.024698Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 10.200.0.2:35765 +2026-10-11T17:31:19.024732Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:19.024832Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=63 +2026-10-11T17:31:19.024924Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=63 prev_segment_size=1200 +2026-10-11T17:31:19.024957Z TRACE noq_proto::connection: sending 63 bytes in 1 datagrams segment_size=63 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33076) +2026-10-11T17:31:19.027035Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=72.98365299999999 remote_info=["Ip(127.0.0.1:33076)/Active"] +2026-10-11T17:31:19.028062Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:19.028157Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:19.040765Z TRACE pkt{path_id=0}: noq_proto::connection: discarding packet from unrecognized peer path_id=0 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:33076) known_path.network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33076) +2026-10-11T17:31:19.040905Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:19.040936Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:19.049415Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33076) using id 292e04249552c523 +2026-10-11T17:31:19.049556Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_CHALLENGE(353ea2f8cfdc2891) +2026-10-11T17:31:19.049692Z TRACE pkt{path_id=0}: noq_proto::connection: discarding packet from unrecognized peer path_id=0 network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:33076) known_path.network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33076) +2026-10-11T17:31:19.049746Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (223 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33076) using id 292e04249552c523 +2026-10-11T17:31:19.049815Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame HANDSHAKE_DONE +2026-10-11T17:31:19.049848Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=HANDSHAKE_DONE}: noq_proto::connection: discarding Handshake keys +2026-10-11T17:31:19.049951Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=HANDSHAKE_DONE}: noq_proto::connection: handshake confirmed +2026-10-11T17:31:19.050006Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..4] delay: 1861µs +2026-10-11T17:31:19.050062Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1326 +2026-10-11T17:31:19.050157Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame CRYPTO offset=0 len=178 +2026-10-11T17:31:19.050185Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=CRYPTO}: noq_proto::connection: consumed 178 CRYPTO bytes +2026-10-11T17:31:19.050405Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_RETIRE_CONNECTION_ID path_id: 0 seq: 0 +2026-10-11T17:31:19.050494Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1326 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33076) using id 292e04249552c523 +2026-10-11T17:31:19.050560Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame PING +2026-10-11T17:31:19.050586Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:19.050930Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:19.051001Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:19.051042Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3,4..6] delay: 220µs +2026-10-11T17:31:19.051081Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(353ea2f8cfdc2891) +2026-10-11T17:31:19.051125Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1150 +2026-10-11T17:31:19.051166Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:19.051208Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1200 prev_segment_size=1326 +2026-10-11T17:31:19.051230Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33076) +2026-10-11T17:31:19.051386Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:19.051438Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1389 +2026-10-11T17:31:19.051459Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:19.051472Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:19.051483Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1361 +2026-10-11T17:31:19.051506Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1389 +2026-10-11T17:31:19.051543Z TRACE noq_proto::connection: sending 1389 bytes in 1 datagrams segment_size=1389 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33076) +2026-10-11T17:31:19.051616Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:19.051768Z TRACE noq_proto::endpoint: local CID retired 0: 3a7ce34b2dde80f6 path_id=0 +2026-10-11T17:31:19.064030Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:19.064276Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 5 id: bf886c7097a553d5 +2026-10-11T17:31:19.064381Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:19.064476Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=56 prev_segment_size=1326 +2026-10-11T17:31:19.064505Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=56 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33076) +2026-10-11T17:31:19.064663Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:19.064844Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1076 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33076) using id 292e04249552c523 +2026-10-11T17:31:19.064983Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: 7c797264ef1f2dba +2026-10-11T17:31:19.065053Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: 5cefe98835329147 +2026-10-11T17:31:19.065089Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: d02cad2784c3b256 +2026-10-11T17:31:19.065117Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 05776ade243ffa04 +2026-10-11T17:31:19.065145Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: d600f893771b87a0 +2026-10-11T17:31:19.065191Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 2d436c707d98f38a +2026-10-11T17:31:19.065221Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: 94574fd5875e99bc +2026-10-11T17:31:19.065251Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 7be044cc8476138a +2026-10-11T17:31:19.065280Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: d17cc5852c49d3a8 +2026-10-11T17:31:19.065308Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: b0895f6ccdf0b41c +2026-10-11T17:31:19.065336Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: 0f2b7f3077e77cfc +2026-10-11T17:31:19.065372Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 3702ddefe10730e4 +2026-10-11T17:31:19.065402Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 5bee02dba6574eae +2026-10-11T17:31:19.065428Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 4c8116998fe7aa4f +2026-10-11T17:31:19.065456Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: a7cb26fe6226a188 +2026-10-11T17:31:19.065483Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: 37d3763a619aa8fe +2026-10-11T17:31:19.065511Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 0b21a3587babc301 +2026-10-11T17:31:19.065539Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 51931399b35d4249 +2026-10-11T17:31:19.065566Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: aa7a011edf48b91b +2026-10-11T17:31:19.065594Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 81cd3661bd9fe519 +2026-10-11T17:31:19.065621Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 76e673c0ad40c294 +2026-10-11T17:31:19.065663Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 333c1ecf99117439 +2026-10-11T17:31:19.065690Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 5b2ebe2d1436e8c6 +2026-10-11T17:31:19.065715Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: ceb0d4fd7b23f35e +2026-10-11T17:31:19.065740Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: ffd7e085cd1906b3 +2026-10-11T17:31:19.065767Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 64bf98d3addb4f04 +2026-10-11T17:31:19.065797Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: 8ea93f0764d74e90 +2026-10-11T17:31:19.065826Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: af4f11402c519e8f +2026-10-11T17:31:19.065854Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 3af5d67eb2bd7d30 +2026-10-11T17:31:19.065885Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: 40daa9af7637b09a +2026-10-11T17:31:19.065945Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 2861fb6c7f7c9da9 +2026-10-11T17:31:19.065988Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: ebd33e627781d686 +2026-10-11T17:31:19.066024Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 8c8aac3a66faf1cf +2026-10-11T17:31:19.066054Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 57feb95ba6fbdd22 +2026-10-11T17:31:19.066078Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 6afd9ebb05b0c818 +2026-10-11T17:31:19.066183Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33076) using id 292e04249552c523 +2026-10-11T17:31:19.066279Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..4] delay: 4475µs +2026-10-11T17:31:19.066336Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame CONNECTION_CLOSE error_code=4097 reason='not on allowlist' +2026-10-11T17:31:19.066387Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection::state: connection state: draining +2026-10-11T17:31:19.066418Z TRACE pkt{path_id=0}: noq_proto::connection: connection closed +2026-10-11T17:31:19.066493Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:19.066531Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:19.066567Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3,4..8] delay: 607µs +2026-10-11T17:31:19.066605Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=0 reason='' +2026-10-11T17:31:19.066644Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=44 +2026-10-11T17:31:19.066678Z TRACE noq_proto::connection: sending 44 bytes in 1 datagrams segment_size=1326 last_datagram_len=44 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33076) +2026-10-11T17:31:19.074608Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (40 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33076) using id 292e04249552c523 +2026-10-11T17:31:19.073977Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:31:19.075277Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=121.235265 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:33076)/Active"] +2026-10-11T17:31:19.276701Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:33076)/Active"] +2026-10-11T17:31:19.277018Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:31:19.277070Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-04/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-04/ready.txt new file mode 100644 index 0000000000..4f045f34e6 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-04/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=33076 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-04/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-04/server.log new file mode 100644 index 0000000000..f31b3af463 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-04/server.log @@ -0,0 +1,209 @@ +2026-10-11T17:31:18.884869Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=33076 direct=["10.200.0.1:33076", "10.200.0.2:33076", "127.0.0.1:33076"] +2026-10-11T17:31:18.964529Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:35765) alpns=["n30/allowlist/0"] +2026-10-11T17:31:18.965593Z TRACE first recv:frame{ty=CRYPTO}: noq_proto::connection: consumed 295 CRYPTO bytes +2026-10-11T17:31:18.974329Z TRACE first recv: noq_proto::connection: Handshake keys ready +2026-10-11T17:31:18.974422Z TRACE first recv: noq_proto::connection: wrote 90 Initial CRYPTO bytes +2026-10-11T17:31:18.974505Z TRACE first recv: noq_proto::connection: Data keys ready +2026-10-11T17:31:18.974563Z TRACE first recv: noq_proto::connection: wrote 379 Handshake CRYPTO bytes +2026-10-11T17:31:18.974619Z TRACE first recv: noq_proto::connection: negotiated max idle timeout Some(30s) +2026-10-11T17:31:18.974636Z DEBUG first recv: noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:31:18.974651Z DEBUG first recv: noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:31:18.974700Z TRACE noq_proto::endpoint: new connection id=0 icid=ebff0149b329c302306f960d3ae1a80b914e6d06 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:35765) +2026-10-11T17:31:18.975156Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:18.975432Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 1434µs +2026-10-11T17:31:18.975510Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 90 +2026-10-11T17:31:18.975554Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection: will coalesce with next packet +2026-10-11T17:31:18.975622Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=146 +2026-10-11T17:31:18.975740Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 379 +2026-10-11T17:31:18.975778Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 629 +2026-10-11T17:31:18.975813Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1054 +2026-10-11T17:31:18.975853Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:18.975871Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:35765) +2026-10-11T17:31:18.975888Z TRACE noq_proto::connection::paths: anti amplification budget decreased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:35765) anti_amplification_budget=2352 +2026-10-11T17:31:18.976128Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:18.976143Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:18.976157Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:18.976578Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:18.979978Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:18.980158Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=13.6752ms +2026-10-11T17:31:18.991345Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:18.991436Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:18.991470Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:18.991670Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 1 id: 5a87f3f7651b7eaa +2026-10-11T17:31:18.991755Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 2 id: f64cbf642643be0e +2026-10-11T17:31:18.991790Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 3 id: 51bc2367ef8777b4 +2026-10-11T17:31:18.991804Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 4 id: 3e7c9931898afa4a +2026-10-11T17:31:18.991870Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=138 +2026-10-11T17:31:18.991993Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=138 prev_segment_size=1200 +2026-10-11T17:31:18.992028Z TRACE noq_proto::connection: sending 138 bytes in 1 datagrams segment_size=138 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:35765) +2026-10-11T17:31:18.992044Z TRACE noq_proto::connection::paths: anti amplification budget decreased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:35765) anti_amplification_budget=2214 +2026-10-11T17:31:18.992308Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:18.992337Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:18.992352Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:18.992450Z TRACE timer_fired{scope="path" path_id=0 timer=Pacing}: noq_proto::connection: timeout +2026-10-11T17:31:18.992609Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:18.992629Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:18.992642Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:19.009033Z TRACE pkt{path_id=0}: noq_proto::connection: got Initial packet (52 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:35765) using id a54a957567f848dc +2026-10-11T17:31:19.009583Z TRACE pkt{path_id=0}: noq_proto::connection::paths: anti amplification budget increased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:35765) anti_amplification_budget=2370 +2026-10-11T17:31:19.009637Z TRACE pkt{path_id=0}: noq_proto::connection::paths: anti amplification budget increased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:35765) anti_amplification_budget=5814 +2026-10-11T17:31:19.009684Z TRACE pkt{path_id=0}: noq_proto::connection: got Handshake packet (1148 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:35765) using id a54a957567f848dc +2026-10-11T17:31:19.009789Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: discarding Initial keys +2026-10-11T17:31:19.009995Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 181 CRYPTO bytes +2026-10-11T17:31:19.033505Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: wrote 178 Data CRYPTO bytes +2026-10-11T17:31:19.033640Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: discarding Handshake keys +2026-10-11T17:31:19.033717Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: handshake confirmed +2026-10-11T17:31:19.033738Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection::state: connection state: established +2026-10-11T17:31:19.033752Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: established +2026-10-11T17:31:19.033959Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1326 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:35765) using id a54a957567f848dc +2026-10-11T17:31:19.034166Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame PING +2026-10-11T17:31:19.034222Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:19.034525Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1166 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:35765) using id a54a957567f848dc +2026-10-11T17:31:19.034645Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 1 id: 292e04249552c523 +2026-10-11T17:31:19.034721Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 2 id: be71c96fd5c18210 +2026-10-11T17:31:19.034755Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 3 id: 3723ecac72bbda34 +2026-10-11T17:31:19.034785Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 4 id: d1c0119494b01512 +2026-10-11T17:31:19.034812Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: fc29c51a970c80c4 +2026-10-11T17:31:19.034842Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: 70cb561340cc1008 +2026-10-11T17:31:19.034868Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 966e5e148cb9d13d +2026-10-11T17:31:19.037986Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 060a157618e88811 +2026-10-11T17:31:19.038232Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: bc898dfe205a66a1 +2026-10-11T17:31:19.038281Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: b5ce339d02d83a9b +2026-10-11T17:31:19.038323Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: f0c9be7eec4a49e1 +2026-10-11T17:31:19.038363Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 847ea8bf07777837 +2026-10-11T17:31:19.038396Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 28d676168958cb44 +2026-10-11T17:31:19.038429Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 54dfd25c540b384d +2026-10-11T17:31:19.038460Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: dc02bfbcf2450437 +2026-10-11T17:31:19.038538Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 2952659e123c8645 +2026-10-11T17:31:19.038591Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 06dac7baaba8617d +2026-10-11T17:31:19.038626Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: da3be413a3412131 +2026-10-11T17:31:19.038654Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 72f35cc61db849ff +2026-10-11T17:31:19.038687Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: 66d417fd7ced2913 +2026-10-11T17:31:19.038720Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 34d36127225e76df +2026-10-11T17:31:19.038751Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 0c9692907949e627 +2026-10-11T17:31:19.038798Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: 3806d20bfbd4d266 +2026-10-11T17:31:19.038829Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: c7f36a17614b5fba +2026-10-11T17:31:19.038858Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 6a687782278a72a7 +2026-10-11T17:31:19.038953Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 6b10c4984edb48fd +2026-10-11T17:31:19.039000Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 519a49d4a149161d +2026-10-11T17:31:19.039037Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 97df6ca39b8ceaae +2026-10-11T17:31:19.039069Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: df13d68803b06f43 +2026-10-11T17:31:19.039099Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 7fc2e4424b897f33 +2026-10-11T17:31:19.039129Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: 1a994c10c43e8107 +2026-10-11T17:31:19.039162Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: c13fe5f15c199cb6 +2026-10-11T17:31:19.039193Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: c5ebb03f507e623d +2026-10-11T17:31:19.039225Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: 0f55ae448203bf51 +2026-10-11T17:31:19.039254Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 623b63f5f47dc330 +2026-10-11T17:31:19.039316Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: 3246dbca9b7cd1d5 +2026-10-11T17:31:19.039345Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 3cf01e8a16f6ba44 +2026-10-11T17:31:19.039372Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 99ef05490112017d +2026-10-11T17:31:19.039530Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:35765) using id a54a957567f848dc +2026-10-11T17:31:19.039682Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: cab34991a588209f +2026-10-11T17:31:19.039771Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (63 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:35765) using id a54a957567f848dc +2026-10-11T17:31:19.039838Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 127.0.0.1:35765 +2026-10-11T17:31:19.039934Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 10.200.0.1:35765 +2026-10-11T17:31:19.039972Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 10.200.0.2:35765 +2026-10-11T17:31:19.040002Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:19.040052Z DEBUG pkt{path_id=0}:recv{space=Data pn=3}:frame{ty=PATH_STATUS_AVAILABLE path=0}: noq_proto::connection::paths: remote changed path status status=Available seq=2 +2026-10-11T17:31:19.040165Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(de72eee33c3dede9) msg="(nat-traversal)" +2026-10-11T17:31:19.040204Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:19.040236Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.2, 35765) len=35 +2026-10-11T17:31:19.045249Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(353ea2f8cfdc2891) msg="(nat-traversal)" +2026-10-11T17:31:19.045432Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:19.045517Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:127.0.0.1, 35765) len=35 +2026-10-11T17:31:19.045771Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(b3cfe255d75cb612) msg="(nat-traversal)" +2026-10-11T17:31:19.045824Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:19.045857Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.1, 35765) len=35 +2026-10-11T17:31:19.045998Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:19.046073Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=HANDSHAKE_DONE +2026-10-11T17:31:19.046122Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..4] delay: 1861µs +2026-10-11T17:31:19.046177Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 178 +2026-10-11T17:31:19.046217Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RETIRE_CONNECTION_ID path_id: 0 seq: 0 +2026-10-11T17:31:19.046260Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=223 +2026-10-11T17:31:19.046325Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=223 prev_segment_size=1200 +2026-10-11T17:31:19.046347Z TRACE noq_proto::connection: sending 223 bytes in 1 datagrams segment_size=223 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:35765) +2026-10-11T17:31:19.046429Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:19.046483Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1326 +2026-10-11T17:31:19.046506Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:19.046521Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:19.046533Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1298 +2026-10-11T17:31:19.046559Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1326 +2026-10-11T17:31:19.046595Z TRACE noq_proto::connection: sending 1326 bytes in 1 datagrams segment_size=1326 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:35765) +2026-10-11T17:31:19.046660Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:19.048044Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:19.048234Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: 7c797264ef1f2dba +2026-10-11T17:31:19.048280Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: 5cefe98835329147 +2026-10-11T17:31:19.048294Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: d02cad2784c3b256 +2026-10-11T17:31:19.048306Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 05776ade243ffa04 +2026-10-11T17:31:19.048319Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: d600f893771b87a0 +2026-10-11T17:31:19.048335Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 2d436c707d98f38a +2026-10-11T17:31:19.048348Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: 94574fd5875e99bc +2026-10-11T17:31:19.048376Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 7be044cc8476138a +2026-10-11T17:31:19.048389Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: d17cc5852c49d3a8 +2026-10-11T17:31:19.048403Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: b0895f6ccdf0b41c +2026-10-11T17:31:19.048415Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: 0f2b7f3077e77cfc +2026-10-11T17:31:19.048437Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 3702ddefe10730e4 +2026-10-11T17:31:19.048449Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 5bee02dba6574eae +2026-10-11T17:31:19.048462Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 4c8116998fe7aa4f +2026-10-11T17:31:19.048475Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: a7cb26fe6226a188 +2026-10-11T17:31:19.048487Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: 37d3763a619aa8fe +2026-10-11T17:31:19.048499Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 0b21a3587babc301 +2026-10-11T17:31:19.048515Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 51931399b35d4249 +2026-10-11T17:31:19.048528Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: aa7a011edf48b91b +2026-10-11T17:31:19.048540Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 81cd3661bd9fe519 +2026-10-11T17:31:19.048552Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 76e673c0ad40c294 +2026-10-11T17:31:19.048565Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 333c1ecf99117439 +2026-10-11T17:31:19.048577Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 5b2ebe2d1436e8c6 +2026-10-11T17:31:19.048590Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: ceb0d4fd7b23f35e +2026-10-11T17:31:19.048603Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: ffd7e085cd1906b3 +2026-10-11T17:31:19.048614Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 64bf98d3addb4f04 +2026-10-11T17:31:19.048627Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: 8ea93f0764d74e90 +2026-10-11T17:31:19.048640Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: af4f11402c519e8f +2026-10-11T17:31:19.048652Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 3af5d67eb2bd7d30 +2026-10-11T17:31:19.048664Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: 40daa9af7637b09a +2026-10-11T17:31:19.048698Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 2861fb6c7f7c9da9 +2026-10-11T17:31:19.048712Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: ebd33e627781d686 +2026-10-11T17:31:19.048726Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 8c8aac3a66faf1cf +2026-10-11T17:31:19.048741Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 57feb95ba6fbdd22 +2026-10-11T17:31:19.048755Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 6afd9ebb05b0c818 +2026-10-11T17:31:19.048813Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1076 +2026-10-11T17:31:19.048878Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1076 prev_segment_size=1200 +2026-10-11T17:31:19.048920Z TRACE noq_proto::connection: sending 1076 bytes in 1 datagrams segment_size=1076 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:35765) +2026-10-11T17:31:19.052287Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:31:19.056077Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:19.056622Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(132714019767136) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:33076, 10.200.0.2:33076, 127.0.0.1:33076} +2026-10-11T17:31:19.057289Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(132714019767136) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:31:19.057964Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:31:19.058014Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:31:19.058125Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:31:19.058179Z TRACE noq_proto::connection: connection closed +2026-10-11T17:31:19.058199Z TRACE noq_proto::connection::state: connection state: closed remote_reason=Application(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) is_local=true +2026-10-11T17:31:19.058566Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:31:19.058666Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:35765)/Active"] +2026-10-11T17:31:19.060164Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:35765) using id a54a957567f848dc +2026-10-11T17:31:19.060316Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: processing frame in closed state frame=ImmediateAck +2026-10-11T17:31:19.060372Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: processing frame in closed state frame=PathAck(PathAck { path_id: PathId(0), largest: 5, delay: 220, ranges: [0..1,2..3,4..6], ecn: Some(EcnCounts { ect0: 3, ect1: 0, ce: 0 }) }) +2026-10-11T17:31:19.060418Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: processing frame in closed state frame=PathResponse(PathResponse(3836683122089142417)) +2026-10-11T17:31:19.060683Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1389 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:35765) using id a54a957567f848dc +2026-10-11T17:31:19.060739Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: processing frame in closed state frame=Ping +2026-10-11T17:31:19.060756Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: processing frame in closed state frame=ImmediateAck +2026-10-11T17:31:19.061087Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:19.061148Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:19.061189Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..4] delay: 4475µs +2026-10-11T17:31:19.061228Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=4097 reason='not on allowlist' +2026-10-11T17:31:19.061278Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:19.061315Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=1200 last_datagram_len=56 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:35765) +2026-10-11T17:31:19.067409Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:35765) using id a54a957567f848dc +2026-10-11T17:31:19.067544Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: processing frame in closed state frame=NewConnectionId(NewConnectionId { path_id: Some(PathId(0)), sequence: 5, retire_prior_to: 0, id: [191, 136, 108, 112, 151, 165, 83, 213], reset_token: ResetToken([166, 242, 226, 196, 145, 130, 140, 254, 16, 164, 130, 149, 26, 234, 217, 156]) }) +2026-10-11T17:31:19.067640Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (44 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:35765) using id a54a957567f848dc +2026-10-11T17:31:19.067694Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: processing frame in closed state frame=PathAck(PathAck { path_id: PathId(0), largest: 7, delay: 607, ranges: [0..1,2..3,4..8], ecn: Some(EcnCounts { ect0: 5, ect1: 0, ce: 0 }) }) +2026-10-11T17:31:19.067723Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: processing frame in closed state frame=Close(Connection(ConnectionClose { error_code: NO_ERROR, frame_type: None, reason: b"" })) +2026-10-11T17:31:19.067755Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection::state: connection state: draining +2026-10-11T17:31:19.067834Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:19.067916Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:19.067957Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..4] delay: 5321µs +2026-10-11T17:31:19.067995Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=0 reason='' +2026-10-11T17:31:19.068026Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=40 +2026-10-11T17:31:19.068070Z TRACE noq_proto::connection: sending 40 bytes in 1 datagrams segment_size=1200 last_datagram_len=40 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:35765) +2026-10-11T17:31:19.384471Z TRACE timeout{scope="conn" timer=Close}: noq_proto::connection: timeout +2026-10-11T17:31:19.384541Z TRACE timeout{scope="conn" timer=Close}: noq_proto::connection::state: connection state: drained diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-05/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-05/client.log new file mode 100644 index 0000000000..75d402e9b0 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-05/client.log @@ -0,0 +1,263 @@ +2026-10-11T17:31:20.040864Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:59597] +2026-10-11T17:31:20.042385Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:31:20.042576Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:31:20.042719Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:31:20.042749Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:31:20.042784Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:31:20.042788Z TRACE noq_proto::endpoint: initial_dcid=00c312fee97be74ff7f3783280b0792cc09e5fb1 +2026-10-11T17:31:20.043546Z TRACE noq_proto::token_memory_cache: taking token server_name=ha4e7nbk17opbvaircmjpeiteb56e2dv3ma146vjei403d0fdte0.iroh.invalid found=false +2026-10-11T17:31:20.044101Z TRACE noq_proto::connection: wrote 284 Initial CRYPTO bytes +2026-10-11T17:31:20.044535Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:20.044680Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 284 +2026-10-11T17:31:20.044734Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 857 +2026-10-11T17:31:20.044780Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:20.044849Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: , remote: [fd15:70a:510b:0:25be:863c:940b:e0b]:12345) +2026-10-11T17:31:20.044965Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:20.045099Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:59597)] +2026-10-11T17:31:20.052997Z TRACE pkt{path_id=0}: noq_proto::connection: got Initial packet (146 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:59597) using id 964855566c2d1ec0 +2026-10-11T17:31:20.053107Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: server migrated to new remote network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:59597) prev=(local: , remote: [fd15:70a:510b:0:25be:863c:940b:e0b]:12345) +2026-10-11T17:31:20.053155Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: switching remote CID to a05dae8b1272d009 +2026-10-11T17:31:20.053181Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection::state: connection state: handshake +2026-10-11T17:31:20.053369Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 90 CRYPTO bytes +2026-10-11T17:31:20.054551Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: Handshake keys ready +2026-10-11T17:31:20.054683Z TRACE pkt{path_id=0}: noq_proto::connection: got Handshake packet (1054 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:59597) using id 964855566c2d1ec0 +2026-10-11T17:31:20.054830Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 386 CRYPTO bytes +2026-10-11T17:31:20.101633Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: Data keys ready +2026-10-11T17:31:20.101830Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: wrote 181 Handshake CRYPTO bytes +2026-10-11T17:31:20.101954Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: negotiated max idle timeout Some(30s) +2026-10-11T17:31:20.101995Z DEBUG pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:31:20.102015Z DEBUG pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:31:20.102047Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection::state: connection state: established +2026-10-11T17:31:20.102061Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: established +2026-10-11T17:31:20.102186Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (138 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:59597) using id 964855566c2d1ec0 +2026-10-11T17:31:20.102284Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 1 id: 2fc52e2b79f89abd +2026-10-11T17:31:20.102324Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 2 id: 5f3a9a059d81e31e +2026-10-11T17:31:20.102348Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 3 id: 811402667f26e0f9 +2026-10-11T17:31:20.102370Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 4 id: 2a111772aeec8d17 +2026-10-11T17:31:20.102448Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:20.102508Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 6222µs +2026-10-11T17:31:20.102554Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection: will coalesce with next packet +2026-10-11T17:31:20.102586Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=52 +2026-10-11T17:31:20.102611Z TRACE noq_proto::connection: discarding Initial keys +2026-10-11T17:31:20.102659Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 6222µs +2026-10-11T17:31:20.102677Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 181 +2026-10-11T17:31:20.102705Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 912 +2026-10-11T17:31:20.102724Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1148 +2026-10-11T17:31:20.102756Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:20.102767Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:59597) +2026-10-11T17:31:20.102967Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:20.102994Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:20.103032Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1326 +2026-10-11T17:31:20.103056Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:20.103077Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:20.103086Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1298 +2026-10-11T17:31:20.103109Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1326 +2026-10-11T17:31:20.103137Z TRACE noq_proto::connection: sending 1326 bytes in 1 datagrams segment_size=1326 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:59597) +2026-10-11T17:31:20.103192Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:20.103351Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:20.104018Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:20.104092Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:20.104206Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 1 id: 6bf3689e8e1d45bf +2026-10-11T17:31:20.104242Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 2 id: 18f391aa937b8b22 +2026-10-11T17:31:20.104254Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 3 id: 6b7b5a14579edc88 +2026-10-11T17:31:20.104267Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 4 id: 07861f1729f78aea +2026-10-11T17:31:20.104279Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: dfddd6164c7f015b +2026-10-11T17:31:20.104293Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: 48e390f3efc447ce +2026-10-11T17:31:20.104304Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 94371540352c93ff +2026-10-11T17:31:20.104316Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 7cb8543fff38e69b +2026-10-11T17:31:20.104328Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: ca315e0328a13cc5 +2026-10-11T17:31:20.104348Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 4b7b9a9bdb1bf98d +2026-10-11T17:31:20.104361Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: 3db17b997ec78fe4 +2026-10-11T17:31:20.104375Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 8fef5239e64501af +2026-10-11T17:31:20.104387Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 6ebf16958e783961 +2026-10-11T17:31:20.104402Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 5c9cdef19a8920d3 +2026-10-11T17:31:20.104416Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: cc78506a00e67314 +2026-10-11T17:31:20.104431Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 7e56c7afa12218ca +2026-10-11T17:31:20.104447Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: deb03effb64e5686 +2026-10-11T17:31:20.104461Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: e7aa2ffb7456fdf0 +2026-10-11T17:31:20.104475Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 215f84b2a9f9ed73 +2026-10-11T17:31:20.104490Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: 2a13d4f84dfe3357 +2026-10-11T17:31:20.104502Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: ebae4544abc464c3 +2026-10-11T17:31:20.104515Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 1aea09375e8a1180 +2026-10-11T17:31:20.104527Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: 22d666eeb98709b5 +2026-10-11T17:31:20.104546Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 12537084b1c55a57 +2026-10-11T17:31:20.104560Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 493d9a9a13b1eedc +2026-10-11T17:31:20.104573Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: c27f1e38a912b31d +2026-10-11T17:31:20.104586Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: bdf48d01be0d8324 +2026-10-11T17:31:20.104600Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: e1c0c78c36f764b9 +2026-10-11T17:31:20.104613Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 19fb7c9b33bf02d0 +2026-10-11T17:31:20.104626Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 090de6a55fe87a9c +2026-10-11T17:31:20.104638Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: b29d8d5fb395aa44 +2026-10-11T17:31:20.104650Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: feb19c8acd291cf3 +2026-10-11T17:31:20.104662Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: ab773fdeafe0e465 +2026-10-11T17:31:20.104674Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: 014d49f1deaa6b1c +2026-10-11T17:31:20.104686Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 29ca8ade93c25c4f +2026-10-11T17:31:20.111041Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: fe25374a383abea2 +2026-10-11T17:31:20.111202Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 7fd891065462c482 +2026-10-11T17:31:20.111229Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 01cce0fd60d671ad +2026-10-11T17:31:20.111795Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1166 +2026-10-11T17:31:20.112000Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1166 prev_segment_size=1200 +2026-10-11T17:31:20.112060Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=635.344µs +2026-10-11T17:31:20.112086Z TRACE noq_proto::connection: sending 1166 bytes in 1 datagrams segment_size=1166 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:59597) +2026-10-11T17:31:20.113192Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:20.113238Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=635.344µs +2026-10-11T17:31:20.113326Z TRACE timer_fired{scope="path" path_id=0 timer=Pacing}: noq_proto::connection: timeout +2026-10-11T17:31:20.113560Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(100170524865088) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:33536, 10.200.0.2:33536, 127.0.0.1:33536} +2026-10-11T17:31:20.113790Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(100170524865088) send_tasks=FuturesUnorderedBounded { len: 0, .. }}:do_holepunching: noq_proto::n0_nat_traversal: initiating NAT traversal round round=1 reach_out=3 to_probe=0 +2026-10-11T17:31:20.114616Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=73.50102899999999 remote_info=["Ip(127.0.0.1:59597)/Active"] +2026-10-11T17:31:20.114971Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:20.115032Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:20.115129Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 127.0.0.1:33536 +2026-10-11T17:31:20.115179Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 10.200.0.1:33536 +2026-10-11T17:31:20.115194Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 10.200.0.2:33536 +2026-10-11T17:31:20.115216Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:20.115258Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 18e707ea20d1b1f7 +2026-10-11T17:31:20.115347Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=93 +2026-10-11T17:31:20.115530Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=93 prev_segment_size=1200 +2026-10-11T17:31:20.115571Z TRACE noq_proto::connection: sending 93 bytes in 1 datagrams segment_size=93 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:59597) +2026-10-11T17:31:20.119542Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:20.119691Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:20.127639Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:20.127764Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:20.127883Z TRACE timer_fired{scope="path" path_id=0 timer=LossDetection}: noq_proto::connection: timeout +2026-10-11T17:31:20.127979Z TRACE timer_fired{scope="path" path_id=0 timer=LossDetection}: noq_proto::connection: PTO fired in_flight=3733 count=0 space=Handshake path_id=0 +2026-10-11T17:31:20.128212Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:20.128303Z TRACE send{space=Handshake pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 181 +2026-10-11T17:31:20.128444Z TRACE send{space=Handshake pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=227 +2026-10-11T17:31:20.128490Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=227 prev_segment_size=1200 +2026-10-11T17:31:20.128518Z TRACE noq_proto::connection: new datagram started count=2 +2026-10-11T17:31:20.128556Z TRACE send{space=Handshake pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 181 +2026-10-11T17:31:20.128591Z TRACE send{space=Handshake pn=2 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=227 +2026-10-11T17:31:20.128633Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:20.128645Z TRACE noq_proto::connection: sending 454 bytes in 2 datagrams segment_size=227 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:59597) +2026-10-11T17:31:20.131602Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:20.131701Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:20.136750Z TRACE pkt{path_id=0}: noq_proto::connection: discarding packet from unrecognized peer path_id=0 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:59597) known_path.network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:59597) +2026-10-11T17:31:20.136916Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:20.136963Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:20.137731Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:59597) using id 6bf3689e8e1d45bf +2026-10-11T17:31:20.137866Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_CHALLENGE(74f15a930774554e) +2026-10-11T17:31:20.138007Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:20.138039Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:20.138088Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:20.138126Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3] delay: 50µs +2026-10-11T17:31:20.138166Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(74f15a930774554e) +2026-10-11T17:31:20.138220Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1153 +2026-10-11T17:31:20.138257Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:20.138331Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:59597) +2026-10-11T17:31:20.140105Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:20.140173Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:20.141056Z TRACE pkt{path_id=0}: noq_proto::connection: discarding packet from unrecognized peer path_id=0 network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:59597) known_path.network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:59597) +2026-10-11T17:31:20.141167Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:20.141193Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:20.142793Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (223 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:59597) using id 6bf3689e8e1d45bf +2026-10-11T17:31:20.143000Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame HANDSHAKE_DONE +2026-10-11T17:31:20.143042Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=HANDSHAKE_DONE}: noq_proto::connection: discarding Handshake keys +2026-10-11T17:31:20.143169Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=HANDSHAKE_DONE}: noq_proto::connection: handshake confirmed +2026-10-11T17:31:20.143269Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..3] delay: 2521µs +2026-10-11T17:31:20.143329Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1326 +2026-10-11T17:31:20.143425Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame CRYPTO offset=0 len=178 +2026-10-11T17:31:20.143462Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=CRYPTO}: noq_proto::connection: consumed 178 CRYPTO bytes +2026-10-11T17:31:20.143788Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_RETIRE_CONNECTION_ID path_id: 0 seq: 0 +2026-10-11T17:31:20.144040Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:20.144123Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3,4..5] delay: 177µs +2026-10-11T17:31:20.144216Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=40 +2026-10-11T17:31:20.144258Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=40 prev_segment_size=1326 +2026-10-11T17:31:20.144296Z TRACE noq_proto::connection: sending 40 bytes in 1 datagrams segment_size=40 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:59597) +2026-10-11T17:31:20.144465Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:20.144523Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1389 +2026-10-11T17:31:20.144548Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:20.144562Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:20.144575Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1361 +2026-10-11T17:31:20.144611Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1389 +2026-10-11T17:31:20.144665Z TRACE noq_proto::connection: sending 1389 bytes in 1 datagrams segment_size=1389 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:59597) +2026-10-11T17:31:20.144740Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:20.144963Z TRACE noq_proto::endpoint: local CID retired 0: 964855566c2d1ec0 path_id=0 +2026-10-11T17:31:20.145199Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:20.145299Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 5 id: 2af3386704708b96 +2026-10-11T17:31:20.145375Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:20.145459Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=56 prev_segment_size=1326 +2026-10-11T17:31:20.145485Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=56 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:59597) +2026-10-11T17:31:20.145595Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:20.150951Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1326 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:59597) using id 6bf3689e8e1d45bf +2026-10-11T17:31:20.151142Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame PING +2026-10-11T17:31:20.151218Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:20.151550Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:20.151630Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3,4..6] delay: 145µs +2026-10-11T17:31:20.151719Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=40 +2026-10-11T17:31:20.151761Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=40 prev_segment_size=1326 +2026-10-11T17:31:20.151785Z TRACE noq_proto::connection: sending 40 bytes in 1 datagrams segment_size=40 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:59597) +2026-10-11T17:31:20.153407Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:20.155237Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1086 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:59597) using id 6bf3689e8e1d45bf +2026-10-11T17:31:20.155642Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [3..8] delay: 220µs +2026-10-11T17:31:20.155765Z TRACE pkt{path_id=0}:recv{space=Data pn=6}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1389 +2026-10-11T17:31:20.155962Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: c1d059550f4db6fb +2026-10-11T17:31:20.156053Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: dc8d8625c10e60ae +2026-10-11T17:31:20.156085Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: bbe8a279a3dc8af4 +2026-10-11T17:31:20.156116Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 9a65bd7ee40b2589 +2026-10-11T17:31:20.156145Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: b7ca2a7a61d851e1 +2026-10-11T17:31:20.156176Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 89704d5e2c441064 +2026-10-11T17:31:20.156205Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: c3b3aa7e371893d5 +2026-10-11T17:31:20.156237Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 4963eece0d7ab0de +2026-10-11T17:31:20.156269Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: b30f96a9ac953e46 +2026-10-11T17:31:20.156300Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: c0341b14845e6eef +2026-10-11T17:31:20.156329Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: d40b2ec4e6e9e9e0 +2026-10-11T17:31:20.156375Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: b6e258223a917a59 +2026-10-11T17:31:20.156405Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: dc32db41b3c1e2ff +2026-10-11T17:31:20.156436Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 7a0078e49f53d6e1 +2026-10-11T17:31:20.156468Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 2c941ff236af1b6c +2026-10-11T17:31:20.156500Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: 225ac7b980b985ee +2026-10-11T17:31:20.156533Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 18047664fbba13ce +2026-10-11T17:31:20.156564Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: dc2e5c339ba34063 +2026-10-11T17:31:20.156592Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: eb5d00e40aa1d5a8 +2026-10-11T17:31:20.156620Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 9002e0e7ec611010 +2026-10-11T17:31:20.156648Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 1972d6ab74d54a97 +2026-10-11T17:31:20.156678Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 0097b786ebb38a17 +2026-10-11T17:31:20.156707Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 051f0eb35a8e506e +2026-10-11T17:31:20.156734Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 909befc8452fbcc9 +2026-10-11T17:31:20.156760Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 3492b6c87f4c3e8c +2026-10-11T17:31:20.156787Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 24128936d665fe3b +2026-10-11T17:31:20.156827Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: 3f1e47f4268b787a +2026-10-11T17:31:20.156855Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: b2486e6caa98b6fc +2026-10-11T17:31:20.156885Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: da3626ca1d55daa4 +2026-10-11T17:31:20.156956Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: d0f32677efa9bee5 +2026-10-11T17:31:20.156987Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 3fd2073c67acda1f +2026-10-11T17:31:20.157072Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: 43cb82590495fc22 +2026-10-11T17:31:20.157103Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 589a9939d7af20d8 +2026-10-11T17:31:20.157127Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 43b503f5b9259589 +2026-10-11T17:31:20.157155Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 7e271b2e782b5816 +2026-10-11T17:31:20.157317Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:20.157389Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1420 +2026-10-11T17:31:20.157427Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:20.157445Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:20.157458Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1392 +2026-10-11T17:31:20.157519Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1420 +2026-10-11T17:31:20.157581Z TRACE noq_proto::connection: sending 1420 bytes in 1 datagrams segment_size=1420 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:59597) +2026-10-11T17:31:20.157755Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:20.159819Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1389 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:59597) using id 6bf3689e8e1d45bf +2026-10-11T17:31:20.160048Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PING +2026-10-11T17:31:20.160104Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:20.160452Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:20.160529Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [6..8] delay: 111µs +2026-10-11T17:31:20.160615Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=36 +2026-10-11T17:31:20.160648Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=36 prev_segment_size=1389 +2026-10-11T17:31:20.160667Z TRACE noq_proto::connection: sending 36 bytes in 1 datagrams segment_size=36 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:59597) +2026-10-11T17:31:20.160832Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:20.165570Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:59597) using id 6bf3689e8e1d45bf +2026-10-11T17:31:20.165817Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [3..8] delay: 1554µs +2026-10-11T17:31:20.165972Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: got frame CONNECTION_CLOSE error_code=4097 reason='not on allowlist' +2026-10-11T17:31:20.166028Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection::state: connection state: draining +2026-10-11T17:31:20.166060Z TRACE pkt{path_id=0}: noq_proto::connection: connection closed +2026-10-11T17:31:20.166154Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:20.166206Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:20.166252Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [6..9] delay: 119µs +2026-10-11T17:31:20.166291Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=0 reason='' +2026-10-11T17:31:20.166327Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=40 +2026-10-11T17:31:20.166362Z TRACE noq_proto::connection: sending 40 bytes in 1 datagrams segment_size=1389 last_datagram_len=40 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:59597) +2026-10-11T17:31:20.170491Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:31:20.171367Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=130.24823 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:59597)/Active"] +2026-10-11T17:31:20.363414Z TRACE timeout{scope="conn" timer=Close}: noq_proto::connection: timeout +2026-10-11T17:31:20.363481Z TRACE timeout{scope="conn" timer=Close}: noq_proto::connection::state: connection state: drained +2026-10-11T17:31:20.373470Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:59597)/Active"] +2026-10-11T17:31:20.373698Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:31:20.373740Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-05/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-05/ready.txt new file mode 100644 index 0000000000..b3af236f64 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-05/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=59597 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-05/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-05/server.log new file mode 100644 index 0000000000..d4fc0a3db2 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-05/server.log @@ -0,0 +1,222 @@ +2026-10-11T17:31:20.004132Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=59597 direct=["10.200.0.1:59597", "10.200.0.2:59597", "127.0.0.1:59597"] +2026-10-11T17:31:20.046472Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:33536) alpns=["n30/allowlist/0"] +2026-10-11T17:31:20.047369Z TRACE first recv:frame{ty=CRYPTO}: noq_proto::connection: consumed 284 CRYPTO bytes +2026-10-11T17:31:20.049571Z TRACE first recv: noq_proto::connection: Handshake keys ready +2026-10-11T17:31:20.049660Z TRACE first recv: noq_proto::connection: wrote 90 Initial CRYPTO bytes +2026-10-11T17:31:20.049749Z TRACE first recv: noq_proto::connection: Data keys ready +2026-10-11T17:31:20.049825Z TRACE first recv: noq_proto::connection: wrote 386 Handshake CRYPTO bytes +2026-10-11T17:31:20.050257Z TRACE first recv: noq_proto::connection: negotiated max idle timeout Some(30s) +2026-10-11T17:31:20.050315Z DEBUG first recv: noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:31:20.050359Z DEBUG first recv: noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:31:20.050434Z TRACE noq_proto::endpoint: new connection id=0 icid=00c312fee97be74ff7f3783280b0792cc09e5fb1 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33536) +2026-10-11T17:31:20.050930Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:20.051244Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 670µs +2026-10-11T17:31:20.051310Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 90 +2026-10-11T17:31:20.051360Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection: will coalesce with next packet +2026-10-11T17:31:20.051441Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=146 +2026-10-11T17:31:20.051569Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 386 +2026-10-11T17:31:20.051615Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 622 +2026-10-11T17:31:20.051652Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1054 +2026-10-11T17:31:20.051698Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:20.051714Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33536) +2026-10-11T17:31:20.051735Z TRACE noq_proto::connection::paths: anti amplification budget decreased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33536) anti_amplification_budget=2352 +2026-10-11T17:31:20.051926Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:20.051952Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:20.051968Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:20.052341Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:20.052364Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:20.052393Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=19.758ms +2026-10-11T17:31:20.078633Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:20.078735Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:20.078781Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:20.079083Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 1 id: 2fc52e2b79f89abd +2026-10-11T17:31:20.079166Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 2 id: 5f3a9a059d81e31e +2026-10-11T17:31:20.079202Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 3 id: 811402667f26e0f9 +2026-10-11T17:31:20.079215Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 4 id: 2a111772aeec8d17 +2026-10-11T17:31:20.079299Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=138 +2026-10-11T17:31:20.079398Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=138 prev_segment_size=1200 +2026-10-11T17:31:20.079425Z TRACE noq_proto::connection: sending 138 bytes in 1 datagrams segment_size=138 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33536) +2026-10-11T17:31:20.079446Z TRACE noq_proto::connection::paths: anti amplification budget decreased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33536) anti_amplification_budget=2214 +2026-10-11T17:31:20.079613Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:20.079630Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:20.079642Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:20.079713Z TRACE timer_fired{scope="path" path_id=0 timer=Pacing}: noq_proto::connection: timeout +2026-10-11T17:31:20.079833Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:20.079849Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:20.079860Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:20.105380Z TRACE pkt{path_id=0}: noq_proto::connection: got Initial packet (52 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33536) using id a05dae8b1272d009 +2026-10-11T17:31:20.105726Z TRACE pkt{path_id=0}: noq_proto::connection::paths: anti amplification budget increased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33536) anti_amplification_budget=2370 +2026-10-11T17:31:20.105761Z TRACE pkt{path_id=0}: noq_proto::connection::paths: anti amplification budget increased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33536) anti_amplification_budget=5814 +2026-10-11T17:31:20.105792Z TRACE pkt{path_id=0}: noq_proto::connection: got Handshake packet (1148 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33536) using id a05dae8b1272d009 +2026-10-11T17:31:20.105849Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: discarding Initial keys +2026-10-11T17:31:20.105978Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 181 CRYPTO bytes +2026-10-11T17:31:20.132616Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: wrote 178 Data CRYPTO bytes +2026-10-11T17:31:20.132730Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: discarding Handshake keys +2026-10-11T17:31:20.132803Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: handshake confirmed +2026-10-11T17:31:20.132823Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection::state: connection state: established +2026-10-11T17:31:20.132837Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: established +2026-10-11T17:31:20.133010Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1326 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33536) using id a05dae8b1272d009 +2026-10-11T17:31:20.133151Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame PING +2026-10-11T17:31:20.133600Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:20.133999Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1166 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33536) using id a05dae8b1272d009 +2026-10-11T17:31:20.134142Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 1 id: 6bf3689e8e1d45bf +2026-10-11T17:31:20.134227Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 2 id: 18f391aa937b8b22 +2026-10-11T17:31:20.134266Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 3 id: 6b7b5a14579edc88 +2026-10-11T17:31:20.134300Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 4 id: 07861f1729f78aea +2026-10-11T17:31:20.134352Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: dfddd6164c7f015b +2026-10-11T17:31:20.134387Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: 48e390f3efc447ce +2026-10-11T17:31:20.134418Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 94371540352c93ff +2026-10-11T17:31:20.134445Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 7cb8543fff38e69b +2026-10-11T17:31:20.134476Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: ca315e0328a13cc5 +2026-10-11T17:31:20.134506Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 4b7b9a9bdb1bf98d +2026-10-11T17:31:20.134533Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: 3db17b997ec78fe4 +2026-10-11T17:31:20.134563Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 8fef5239e64501af +2026-10-11T17:31:20.134594Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 6ebf16958e783961 +2026-10-11T17:31:20.134625Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 5c9cdef19a8920d3 +2026-10-11T17:31:20.134653Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: cc78506a00e67314 +2026-10-11T17:31:20.134695Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 7e56c7afa12218ca +2026-10-11T17:31:20.134728Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: deb03effb64e5686 +2026-10-11T17:31:20.134759Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: e7aa2ffb7456fdf0 +2026-10-11T17:31:20.134784Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 215f84b2a9f9ed73 +2026-10-11T17:31:20.134812Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: 2a13d4f84dfe3357 +2026-10-11T17:31:20.134839Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: ebae4544abc464c3 +2026-10-11T17:31:20.134868Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 1aea09375e8a1180 +2026-10-11T17:31:20.134919Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: 22d666eeb98709b5 +2026-10-11T17:31:20.134967Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 12537084b1c55a57 +2026-10-11T17:31:20.134999Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 493d9a9a13b1eedc +2026-10-11T17:31:20.135051Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: c27f1e38a912b31d +2026-10-11T17:31:20.135086Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: bdf48d01be0d8324 +2026-10-11T17:31:20.135118Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: e1c0c78c36f764b9 +2026-10-11T17:31:20.135148Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 19fb7c9b33bf02d0 +2026-10-11T17:31:20.135177Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 090de6a55fe87a9c +2026-10-11T17:31:20.135206Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: b29d8d5fb395aa44 +2026-10-11T17:31:20.135235Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: feb19c8acd291cf3 +2026-10-11T17:31:20.135264Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: ab773fdeafe0e465 +2026-10-11T17:31:20.135297Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: 014d49f1deaa6b1c +2026-10-11T17:31:20.135325Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 29ca8ade93c25c4f +2026-10-11T17:31:20.135365Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: fe25374a383abea2 +2026-10-11T17:31:20.135397Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 7fd891065462c482 +2026-10-11T17:31:20.135427Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 01cce0fd60d671ad +2026-10-11T17:31:20.135528Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (93 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33536) using id a05dae8b1272d009 +2026-10-11T17:31:20.135670Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 127.0.0.1:33536 +2026-10-11T17:31:20.135739Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 10.200.0.1:33536 +2026-10-11T17:31:20.135774Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 10.200.0.2:33536 +2026-10-11T17:31:20.135807Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:20.135844Z DEBUG pkt{path_id=0}:recv{space=Data pn=2}:frame{ty=PATH_STATUS_AVAILABLE path=0}: noq_proto::connection::paths: remote changed path status status=Available seq=2 +2026-10-11T17:31:20.135885Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 18e707ea20d1b1f7 +2026-10-11T17:31:20.135972Z DEBUG pkt{path_id=0}: noq_proto::connection::packet_crypto: dropping unexpected packet encryption_level=Some(Handshake) bytes=227 +2026-10-11T17:31:20.136004Z DEBUG pkt{path_id=0}: noq_proto::connection::packet_crypto: dropping unexpected packet encryption_level=Some(Handshake) bytes=227 +2026-10-11T17:31:20.136083Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(235a65ade235feae) msg="(nat-traversal)" +2026-10-11T17:31:20.136126Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:20.136167Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.2, 33536) len=35 +2026-10-11T17:31:20.137261Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(74f15a930774554e) msg="(nat-traversal)" +2026-10-11T17:31:20.137351Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:20.137393Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:127.0.0.1, 33536) len=35 +2026-10-11T17:31:20.140504Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(c9a5169e2c019d83) msg="(nat-traversal)" +2026-10-11T17:31:20.140602Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:20.140660Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.1, 33536) len=35 +2026-10-11T17:31:20.141458Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:20.141848Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=HANDSHAKE_DONE +2026-10-11T17:31:20.141934Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..3] delay: 2521µs +2026-10-11T17:31:20.142000Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 178 +2026-10-11T17:31:20.142036Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RETIRE_CONNECTION_ID path_id: 0 seq: 0 +2026-10-11T17:31:20.142112Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=223 +2026-10-11T17:31:20.142202Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=223 prev_segment_size=1200 +2026-10-11T17:31:20.142230Z TRACE noq_proto::connection: sending 223 bytes in 1 datagrams segment_size=223 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33536) +2026-10-11T17:31:20.145949Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:20.146097Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1326 +2026-10-11T17:31:20.146147Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:20.146169Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:20.146181Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1298 +2026-10-11T17:31:20.146244Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1326 +2026-10-11T17:31:20.146315Z TRACE noq_proto::connection: sending 1326 bytes in 1 datagrams segment_size=1326 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33536) +2026-10-11T17:31:20.146473Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:20.147645Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33536) using id a05dae8b1272d009 +2026-10-11T17:31:20.147854Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:20.148286Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:31:20.148956Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3] delay: 50µs +2026-10-11T17:31:20.149138Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame PATH_RESPONSE(74f15a930774554e) +2026-10-11T17:31:20.149547Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (40 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33536) using id a05dae8b1272d009 +2026-10-11T17:31:20.149686Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3,4..5] delay: 177µs +2026-10-11T17:31:20.149854Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1389 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33536) using id a05dae8b1272d009 +2026-10-11T17:31:20.152510Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame PING +2026-10-11T17:31:20.152582Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:20.152947Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33536) using id a05dae8b1272d009 +2026-10-11T17:31:20.153052Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 5 id: 2af3386704708b96 +2026-10-11T17:31:20.153159Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (40 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33536) using id a05dae8b1272d009 +2026-10-11T17:31:20.153250Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3,4..6] delay: 145µs +2026-10-11T17:31:20.153652Z TRACE pkt{path_id=0}:recv{space=Data pn=7}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1326 +2026-10-11T17:31:20.153793Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:20.153859Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [3..8] delay: 220µs +2026-10-11T17:31:20.153966Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: c1d059550f4db6fb +2026-10-11T17:31:20.154001Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: dc8d8625c10e60ae +2026-10-11T17:31:20.154016Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: bbe8a279a3dc8af4 +2026-10-11T17:31:20.154030Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 9a65bd7ee40b2589 +2026-10-11T17:31:20.154045Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: b7ca2a7a61d851e1 +2026-10-11T17:31:20.154061Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 89704d5e2c441064 +2026-10-11T17:31:20.154075Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: c3b3aa7e371893d5 +2026-10-11T17:31:20.154089Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 4963eece0d7ab0de +2026-10-11T17:31:20.154103Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: b30f96a9ac953e46 +2026-10-11T17:31:20.154118Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: c0341b14845e6eef +2026-10-11T17:31:20.154133Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: d40b2ec4e6e9e9e0 +2026-10-11T17:31:20.154146Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: b6e258223a917a59 +2026-10-11T17:31:20.154160Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: dc32db41b3c1e2ff +2026-10-11T17:31:20.154174Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 7a0078e49f53d6e1 +2026-10-11T17:31:20.154187Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 2c941ff236af1b6c +2026-10-11T17:31:20.154213Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: 225ac7b980b985ee +2026-10-11T17:31:20.154228Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 18047664fbba13ce +2026-10-11T17:31:20.154244Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: dc2e5c339ba34063 +2026-10-11T17:31:20.154257Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: eb5d00e40aa1d5a8 +2026-10-11T17:31:20.154275Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 9002e0e7ec611010 +2026-10-11T17:31:20.154289Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 1972d6ab74d54a97 +2026-10-11T17:31:20.154301Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 0097b786ebb38a17 +2026-10-11T17:31:20.154312Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 051f0eb35a8e506e +2026-10-11T17:31:20.154325Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 909befc8452fbcc9 +2026-10-11T17:31:20.154337Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 3492b6c87f4c3e8c +2026-10-11T17:31:20.154351Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 24128936d665fe3b +2026-10-11T17:31:20.154364Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: 3f1e47f4268b787a +2026-10-11T17:31:20.154376Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: b2486e6caa98b6fc +2026-10-11T17:31:20.154389Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: da3626ca1d55daa4 +2026-10-11T17:31:20.154404Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: d0f32677efa9bee5 +2026-10-11T17:31:20.154419Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 3fd2073c67acda1f +2026-10-11T17:31:20.154434Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: 43cb82590495fc22 +2026-10-11T17:31:20.154448Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 589a9939d7af20d8 +2026-10-11T17:31:20.154468Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 43b503f5b9259589 +2026-10-11T17:31:20.154483Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 7e271b2e782b5816 +2026-10-11T17:31:20.154544Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1086 +2026-10-11T17:31:20.154607Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1086 prev_segment_size=1326 +2026-10-11T17:31:20.154635Z TRACE noq_proto::connection: sending 1086 bytes in 1 datagrams segment_size=1086 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33536) +2026-10-11T17:31:20.158748Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:20.158978Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1389 +2026-10-11T17:31:20.159032Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:20.159053Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:20.159065Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1361 +2026-10-11T17:31:20.159130Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1389 +2026-10-11T17:31:20.159291Z TRACE noq_proto::connection: sending 1389 bytes in 1 datagrams segment_size=1389 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33536) +2026-10-11T17:31:20.161677Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:20.161914Z TRACE timeout{scope="conn" timer=NatTraversalProbeRetry}: noq_proto::connection: timeout +2026-10-11T17:31:20.162008Z TRACE timeout{scope="conn" timer=NatTraversalProbeRetry}: noq_proto::connection: re-queued NAT probes +2026-10-11T17:31:20.162310Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(134062236845424) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:59597, 10.200.0.2:59597, 127.0.0.1:59597} +2026-10-11T17:31:20.162498Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(134062236845424) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:31:20.162834Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:31:20.162873Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:31:20.162986Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:31:20.163044Z TRACE noq_proto::connection: connection closed +2026-10-11T17:31:20.163065Z TRACE noq_proto::connection::state: connection state: closed remote_reason=Application(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) is_local=true +2026-10-11T17:31:20.163477Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:31:20.163561Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:33536)/Active"] +2026-10-11T17:31:20.163829Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1420 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33536) using id a05dae8b1272d009 +2026-10-11T17:31:20.163969Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: processing frame in closed state frame=Ping +2026-10-11T17:31:20.164003Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: processing frame in closed state frame=ImmediateAck +2026-10-11T17:31:20.164294Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (36 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33536) using id a05dae8b1272d009 +2026-10-11T17:31:20.164370Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: processing frame in closed state frame=PathAck(PathAck { path_id: PathId(0), largest: 7, delay: 111, ranges: [6..8], ecn: Some(EcnCounts { ect0: 5, ect1: 0, ce: 0 }) }) +2026-10-11T17:31:20.164491Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:20.164540Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:20.164580Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [3..8] delay: 1554µs +2026-10-11T17:31:20.164629Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=4097 reason='not on allowlist' +2026-10-11T17:31:20.164668Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:20.164713Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=1326 last_datagram_len=56 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33536) +2026-10-11T17:31:20.167137Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (40 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:33536) using id a05dae8b1272d009 +2026-10-11T17:31:20.169630Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: processing frame in closed state frame=PathAck(PathAck { path_id: PathId(0), largest: 8, delay: 119, ranges: [6..9], ecn: Some(EcnCounts { ect0: 6, ect1: 0, ce: 0 }) }) +2026-10-11T17:31:20.169736Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: processing frame in closed state frame=Close(Connection(ConnectionClose { error_code: NO_ERROR, frame_type: None, reason: b"" })) +2026-10-11T17:31:20.169778Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection::state: connection state: draining diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-06/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-06/client.log new file mode 100644 index 0000000000..a48ee75e1d --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-06/client.log @@ -0,0 +1,291 @@ +2026-10-11T17:31:21.141529Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:37317] +2026-10-11T17:31:21.142420Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:31:21.142619Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:31:21.142779Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:31:21.142802Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:31:21.142835Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:31:21.143570Z TRACE noq_proto::endpoint: initial_dcid=f4e274fb6ea4bc46fc608554dc424fc8ddd74c13 +2026-10-11T17:31:21.144373Z TRACE noq_proto::token_memory_cache: taking token server_name=ha4e7nbk17opbvaircmjpeiteb56e2dv3ma146vjei403d0fdte0.iroh.invalid found=false +2026-10-11T17:31:21.144720Z TRACE noq_proto::connection: wrote 294 Initial CRYPTO bytes +2026-10-11T17:31:21.145415Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:21.145643Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 294 +2026-10-11T17:31:21.145722Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 847 +2026-10-11T17:31:21.145776Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:21.145861Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: , remote: [fd15:70a:510b:0:f256:ad9e:e6d5:a2d7]:12345) +2026-10-11T17:31:21.146041Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:21.146215Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:37317)] +2026-10-11T17:31:21.152566Z TRACE pkt{path_id=0}: noq_proto::connection: got Initial packet (146 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37317) using id 746163f5e3bca4f5 +2026-10-11T17:31:21.152689Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: server migrated to new remote network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37317) prev=(local: , remote: [fd15:70a:510b:0:f256:ad9e:e6d5:a2d7]:12345) +2026-10-11T17:31:21.152733Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: switching remote CID to 77c3b297eb372889 +2026-10-11T17:31:21.152757Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection::state: connection state: handshake +2026-10-11T17:31:21.152948Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 90 CRYPTO bytes +2026-10-11T17:31:21.158314Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: Handshake keys ready +2026-10-11T17:31:21.158496Z TRACE pkt{path_id=0}: noq_proto::connection: got Handshake packet (1054 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37317) using id 746163f5e3bca4f5 +2026-10-11T17:31:21.158753Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 381 CRYPTO bytes +2026-10-11T17:31:21.184250Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: Data keys ready +2026-10-11T17:31:21.184448Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: wrote 181 Handshake CRYPTO bytes +2026-10-11T17:31:21.184561Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: negotiated max idle timeout Some(30s) +2026-10-11T17:31:21.184608Z DEBUG pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:31:21.184631Z DEBUG pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:31:21.184669Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection::state: connection state: established +2026-10-11T17:31:21.184686Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: established +2026-10-11T17:31:21.184838Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (138 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37317) using id 746163f5e3bca4f5 +2026-10-11T17:31:21.185061Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 1 id: d60daaf13d090172 +2026-10-11T17:31:21.185122Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 2 id: 05db9509d74070da +2026-10-11T17:31:21.185157Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 3 id: 492fc797d7e2022b +2026-10-11T17:31:21.185183Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 4 id: e85436bfd1ed3852 +2026-10-11T17:31:21.185346Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:21.185460Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 4129µs +2026-10-11T17:31:21.185525Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection: will coalesce with next packet +2026-10-11T17:31:21.185571Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=52 +2026-10-11T17:31:21.185611Z TRACE noq_proto::connection: discarding Initial keys +2026-10-11T17:31:21.185700Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 4129µs +2026-10-11T17:31:21.185725Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 181 +2026-10-11T17:31:21.185761Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 912 +2026-10-11T17:31:21.185787Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1148 +2026-10-11T17:31:21.185827Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:21.185842Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37317) +2026-10-11T17:31:21.193656Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:21.193855Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:21.194156Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1326 +2026-10-11T17:31:21.194306Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:21.194359Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:21.194382Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1298 +2026-10-11T17:31:21.194539Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1326 +2026-10-11T17:31:21.194722Z TRACE noq_proto::connection: sending 1326 bytes in 1 datagrams segment_size=1326 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37317) +2026-10-11T17:31:21.198785Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:21.198913Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:21.199675Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:21.199747Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:21.204079Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 1 id: c0a00e326eaa7e2a +2026-10-11T17:31:21.204327Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 2 id: cb95b539ffe2fc0a +2026-10-11T17:31:21.204347Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 3 id: ae7dc2e47fcdaec3 +2026-10-11T17:31:21.204362Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 4 id: 6455ec6435872c3c +2026-10-11T17:31:21.204377Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: 8ad4929d0b27e5ad +2026-10-11T17:31:21.204397Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: e1a73f0ed0d79e77 +2026-10-11T17:31:21.204413Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 6372af7b92956055 +2026-10-11T17:31:21.204427Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: e0a3bb46fbd41c85 +2026-10-11T17:31:21.204440Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: d32ebc5dd021c4ac +2026-10-11T17:31:21.204456Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 10ef0abb4b024895 +2026-10-11T17:31:21.204471Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: 83b49181223050e9 +2026-10-11T17:31:21.204487Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: c4ea95f8fcb44bc9 +2026-10-11T17:31:21.204499Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 4f2148a69c1c7de6 +2026-10-11T17:31:21.204513Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 626ebbbe173fc454 +2026-10-11T17:31:21.204526Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: 4eae3deb1820f4b3 +2026-10-11T17:31:21.204540Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 4431f49c3c06f5bd +2026-10-11T17:31:21.204555Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 1625141011a9af19 +2026-10-11T17:31:21.204569Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 317754c9c84a0373 +2026-10-11T17:31:21.204584Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 08346f62d15b5368 +2026-10-11T17:31:21.204600Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: c4d0e92297e33ee8 +2026-10-11T17:31:21.204614Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 05bcd343a5f0b6ae +2026-10-11T17:31:21.204628Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 980986cb6697e642 +2026-10-11T17:31:21.204643Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: 3074a4af89d21d7f +2026-10-11T17:31:21.204670Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 35357e39ed7aa65e +2026-10-11T17:31:21.204685Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: a96054bfec5de0e7 +2026-10-11T17:31:21.204699Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 11ad73c6bb085897 +2026-10-11T17:31:21.204713Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 061591f33acda669 +2026-10-11T17:31:21.204726Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 1e3b530b2cf1f650 +2026-10-11T17:31:21.204741Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 7d8917c26d0ceeed +2026-10-11T17:31:21.204753Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 0d09acb2bfeb7cf6 +2026-10-11T17:31:21.204768Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: eae4b02aa1af11bd +2026-10-11T17:31:21.204782Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: dcf876424ed3ad27 +2026-10-11T17:31:21.204796Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 1010a3f21f214922 +2026-10-11T17:31:21.204821Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: b2e989c7c32ebc63 +2026-10-11T17:31:21.204837Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 487d6f41eb854aaf +2026-10-11T17:31:21.204869Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: 1726272bd9984961 +2026-10-11T17:31:21.204883Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: babce409b0900c3c +2026-10-11T17:31:21.204917Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 7ac21607aa5f14e3 +2026-10-11T17:31:21.204993Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1166 +2026-10-11T17:31:21.205104Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1166 prev_segment_size=1200 +2026-10-11T17:31:21.205153Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=538.196µs +2026-10-11T17:31:21.205175Z TRACE noq_proto::connection: sending 1166 bytes in 1 datagrams segment_size=1166 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37317) +2026-10-11T17:31:21.207693Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:21.207814Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=538.196µs +2026-10-11T17:31:21.208039Z TRACE timer_fired{scope="path" path_id=0 timer=LossDetection}: noq_proto::connection: timeout +2026-10-11T17:31:21.208120Z TRACE timer_fired{scope="path" path_id=0 timer=LossDetection}: noq_proto::connection: PTO fired in_flight=3640 count=0 space=Handshake path_id=0 +2026-10-11T17:31:21.208190Z TRACE timer_fired{scope="path" path_id=0 timer=Pacing}: noq_proto::connection: timeout +2026-10-11T17:31:21.208479Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:21.208571Z TRACE send{space=Handshake pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 181 +2026-10-11T17:31:21.208649Z TRACE send{space=Handshake pn=1 path_id=0}: noq_proto::connection: will coalesce with next packet +2026-10-11T17:31:21.208724Z TRACE send{space=Handshake pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=227 +2026-10-11T17:31:21.208831Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 590c63a2d221de40 +2026-10-11T17:31:21.208871Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:21.208913Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=283 prev_segment_size=1200 +2026-10-11T17:31:21.208940Z TRACE noq_proto::connection: sending 283 bytes in 1 datagrams segment_size=283 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37317) +2026-10-11T17:31:21.211359Z TRACE noq_proto::connection: blocked by pacing space_id=Handshake path_id=0 delay=130.624µs +2026-10-11T17:31:21.211582Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:21.211803Z TRACE timer_fired{scope="path" path_id=0 timer=Pacing}: noq_proto::connection: timeout +2026-10-11T17:31:21.212381Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:21.212555Z TRACE send{space=Handshake pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 181 +2026-10-11T17:31:21.212691Z TRACE send{space=Handshake pn=2 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=227 +2026-10-11T17:31:21.212771Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=227 prev_segment_size=1200 +2026-10-11T17:31:21.212792Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:21.212804Z TRACE noq_proto::connection: sending 227 bytes in 1 datagrams segment_size=227 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37317) +2026-10-11T17:31:21.213542Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:21.213598Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:21.214129Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(110195620729024) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:45004, 10.200.0.2:45004, 127.0.0.1:45004} +2026-10-11T17:31:21.214414Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(110195620729024) send_tasks=FuturesUnorderedBounded { len: 0, .. }}:do_holepunching: noq_proto::n0_nat_traversal: initiating NAT traversal round round=1 reach_out=3 to_probe=0 +2026-10-11T17:31:21.214720Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:21.214752Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:21.214820Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 10.200.0.2:45004 +2026-10-11T17:31:21.214849Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 127.0.0.1:45004 +2026-10-11T17:31:21.214862Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 10.200.0.1:45004 +2026-10-11T17:31:21.214883Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:21.214969Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=63 +2026-10-11T17:31:21.215022Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=63 prev_segment_size=1200 +2026-10-11T17:31:21.215042Z TRACE noq_proto::connection: sending 63 bytes in 1 datagrams segment_size=63 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37317) +2026-10-11T17:31:21.215175Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:21.215191Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:21.215305Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=73.620154 remote_info=["Ip(127.0.0.1:37317)/Active"] +2026-10-11T17:31:21.242275Z TRACE pkt{path_id=0}: noq_proto::connection: discarding packet from unrecognized peer path_id=0 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:37317) known_path.network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37317) +2026-10-11T17:31:21.242430Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:21.242461Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:21.243319Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37317) using id c0a00e326eaa7e2a +2026-10-11T17:31:21.243518Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_CHALLENGE(37b6319805cf3be3) +2026-10-11T17:31:21.243621Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:21.243648Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:21.243683Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:21.243714Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3] delay: 60µs +2026-10-11T17:31:21.243745Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(37b6319805cf3be3) +2026-10-11T17:31:21.243787Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1153 +2026-10-11T17:31:21.243813Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:21.243869Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37317) +2026-10-11T17:31:21.244004Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:21.244027Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:21.245327Z TRACE pkt{path_id=0}: noq_proto::connection: discarding packet from unrecognized peer path_id=0 network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:37317) known_path.network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37317) +2026-10-11T17:31:21.245421Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:21.245440Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:21.250197Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (223 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37317) using id c0a00e326eaa7e2a +2026-10-11T17:31:21.250344Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame HANDSHAKE_DONE +2026-10-11T17:31:21.250368Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=HANDSHAKE_DONE}: noq_proto::connection: discarding Handshake keys +2026-10-11T17:31:21.250561Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=HANDSHAKE_DONE}: noq_proto::connection: handshake confirmed +2026-10-11T17:31:21.250619Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..4] delay: 3239µs +2026-10-11T17:31:21.250669Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1326 +2026-10-11T17:31:21.250731Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame CRYPTO offset=0 len=178 +2026-10-11T17:31:21.250754Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=CRYPTO}: noq_proto::connection: consumed 178 CRYPTO bytes +2026-10-11T17:31:21.251066Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_RETIRE_CONNECTION_ID path_id: 0 seq: 0 +2026-10-11T17:31:21.251197Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:21.251254Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3,4..5] delay: 152µs +2026-10-11T17:31:21.251334Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=40 +2026-10-11T17:31:21.251360Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=40 prev_segment_size=1326 +2026-10-11T17:31:21.251375Z TRACE noq_proto::connection: sending 40 bytes in 1 datagrams segment_size=40 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37317) +2026-10-11T17:31:21.251482Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:21.251519Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1389 +2026-10-11T17:31:21.251538Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:21.251553Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:21.251565Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1361 +2026-10-11T17:31:21.251586Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1389 +2026-10-11T17:31:21.251615Z TRACE noq_proto::connection: sending 1389 bytes in 1 datagrams segment_size=1389 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37317) +2026-10-11T17:31:21.251661Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:21.251777Z TRACE noq_proto::endpoint: local CID retired 0: 746163f5e3bca4f5 path_id=0 +2026-10-11T17:31:21.251942Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:21.252024Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 5 id: 8072e83c485395b7 +2026-10-11T17:31:21.252081Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:21.252118Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=56 prev_segment_size=1326 +2026-10-11T17:31:21.252135Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=56 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37317) +2026-10-11T17:31:21.252201Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:21.253254Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1326 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37317) using id c0a00e326eaa7e2a +2026-10-11T17:31:21.253405Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame PING +2026-10-11T17:31:21.253457Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:21.253725Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:21.253775Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3,4..6] delay: 74µs +2026-10-11T17:31:21.253836Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=40 +2026-10-11T17:31:21.253857Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=40 prev_segment_size=1326 +2026-10-11T17:31:21.253869Z TRACE noq_proto::connection: sending 40 bytes in 1 datagrams segment_size=40 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37317) +2026-10-11T17:31:21.253959Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:21.265105Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:37317) using id c0a00e326eaa7e2a +2026-10-11T17:31:21.265335Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_CHALLENGE(c4273b2a45700b6a) +2026-10-11T17:31:21.265445Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37317) using id c0a00e326eaa7e2a +2026-10-11T17:31:21.265502Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_CHALLENGE(16760f3d39b25301) +2026-10-11T17:31:21.265554Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 10.200.0.1, remote: [::ffff:10.200.0.1]:37317) using id c0a00e326eaa7e2a +2026-10-11T17:31:21.265609Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: got frame PATH_CHALLENGE(989b8ea4e1d7c322) +2026-10-11T17:31:21.265660Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1086 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37317) using id c0a00e326eaa7e2a +2026-10-11T17:31:21.265729Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [4..9] delay: 520µs +2026-10-11T17:31:21.265810Z TRACE pkt{path_id=0}:recv{space=Data pn=9}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1389 +2026-10-11T17:31:21.265965Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: 348af5c45de0d3e8 +2026-10-11T17:31:21.266029Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: 1aced91502311c3a +2026-10-11T17:31:21.266078Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 4b9aa875b0084662 +2026-10-11T17:31:21.266112Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 2cef45c365ddb331 +2026-10-11T17:31:21.266144Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: 897cd6bea4ceba9d +2026-10-11T17:31:21.266180Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 754fcf0bbefd5d7e +2026-10-11T17:31:21.266216Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: 2d0adbc8388ef8a9 +2026-10-11T17:31:21.266251Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 402b52f6df2c9a05 +2026-10-11T17:31:21.266287Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 9894d39e06114ef0 +2026-10-11T17:31:21.266319Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 6c386a20afee51fc +2026-10-11T17:31:21.266350Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: f338e904e238002d +2026-10-11T17:31:21.266389Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 1d715f27d183c928 +2026-10-11T17:31:21.266426Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: daeea02e1080ee67 +2026-10-11T17:31:21.266468Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 6b5b097db54cd499 +2026-10-11T17:31:21.266500Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: cffb8777ff8ad1de +2026-10-11T17:31:21.266532Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: 156bf0c0ef5c3a00 +2026-10-11T17:31:21.266576Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 7f33da6cbce0ea47 +2026-10-11T17:31:21.266606Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 85ef8462879bd37e +2026-10-11T17:31:21.266641Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: 304721e3eea7271b +2026-10-11T17:31:21.266675Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 4d2dd567f08e717b +2026-10-11T17:31:21.266708Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: f5f5b277d1e642df +2026-10-11T17:31:21.266741Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 8ea9a61bc0ffb698 +2026-10-11T17:31:21.266776Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 808aa2b10c4e42fc +2026-10-11T17:31:21.266812Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 4a2941487f89ae7c +2026-10-11T17:31:21.266847Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 8363ddf99c569c83 +2026-10-11T17:31:21.266876Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: c55908f732a23ed0 +2026-10-11T17:31:21.266918Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: 7f189b863eb0597e +2026-10-11T17:31:21.266951Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: bd72a61b0c086464 +2026-10-11T17:31:21.266981Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 4f35679b856fe703 +2026-10-11T17:31:21.267017Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: 5ebcaab406044ac5 +2026-10-11T17:31:21.267052Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 939c038969c91c1a +2026-10-11T17:31:21.267098Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: a895935a25d5d127 +2026-10-11T17:31:21.267137Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 4df57f58147e80cc +2026-10-11T17:31:21.267172Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: fadb15514d16128e +2026-10-11T17:31:21.267226Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: e5d50626de56e974 +2026-10-11T17:31:21.267344Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1389 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37317) using id c0a00e326eaa7e2a +2026-10-11T17:31:21.267472Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: got frame PING +2026-10-11T17:31:21.267511Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:21.267889Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(989b8ea4e1d7c322) msg="(off-path)" +2026-10-11T17:31:21.279392Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(63f71fa1a7f576ed) +2026-10-11T17:31:21.279428Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1156 +2026-10-11T17:31:21.279498Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:21.279556Z TRACE noq_proto::connection: sending off-path PATH_RESPONSE dst=[::ffff:10.200.0.1]:37317 src=Some(10.200.0.1) len=1200 +2026-10-11T17:31:21.279753Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:21.279822Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:21.279861Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [6..11] delay: 403µs +2026-10-11T17:31:21.279908Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(16760f3d39b25301) +2026-10-11T17:31:21.279962Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1154 +2026-10-11T17:31:21.279997Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:21.280061Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1200 prev_segment_size=1389 +2026-10-11T17:31:21.280085Z TRACE noq_proto::connection: new datagram started count=2 +2026-10-11T17:31:21.280131Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection: GSO truncated by demand for 1170 padding bytes +2026-10-11T17:31:21.280147Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: PADDING * 4 +2026-10-11T17:31:21.280169Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=30 +2026-10-11T17:31:21.280199Z TRACE noq_proto::connection: sending 1230 bytes in 2 datagrams segment_size=1200 last_datagram_len=30 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37317) +2026-10-11T17:31:21.280306Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(c4273b2a45700b6a) msg="(off-path)" +2026-10-11T17:31:21.280327Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(7fc4d42ed28b128f) +2026-10-11T17:31:21.280345Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1156 +2026-10-11T17:31:21.280370Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:21.280392Z TRACE noq_proto::connection: sending off-path PATH_RESPONSE dst=[::ffff:10.200.0.2]:37317 src=Some(10.200.0.2) len=1200 +2026-10-11T17:31:21.280495Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:21.280542Z TRACE send{space=Data pn=13 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1420 +2026-10-11T17:31:21.280565Z TRACE send{space=Data pn=13 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:21.280577Z TRACE send{space=Data pn=13 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:21.280586Z TRACE send{space=Data pn=13 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1392 +2026-10-11T17:31:21.280605Z TRACE send{space=Data pn=13 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1420 +2026-10-11T17:31:21.280636Z TRACE noq_proto::connection: sending 1420 bytes in 1 datagrams segment_size=1420 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37317) +2026-10-11T17:31:21.280691Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:21.280887Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37317) using id c0a00e326eaa7e2a +2026-10-11T17:31:21.281054Z TRACE pkt{path_id=0}:recv{space=Data pn=11}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [4..9] delay: 2730µs +2026-10-11T17:31:21.281126Z TRACE pkt{path_id=0}:recv{space=Data pn=11}: noq_proto::connection: got frame CONNECTION_CLOSE error_code=4097 reason='not on allowlist' +2026-10-11T17:31:21.281186Z TRACE pkt{path_id=0}:recv{space=Data pn=11}: noq_proto::connection::state: connection state: draining +2026-10-11T17:31:21.281218Z TRACE pkt{path_id=0}: noq_proto::connection: connection closed +2026-10-11T17:31:21.281267Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:21.281301Z TRACE send{space=Data pn=14 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:21.281333Z TRACE send{space=Data pn=14 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [6..12] delay: 303µs +2026-10-11T17:31:21.281378Z TRACE send{space=Data pn=14 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=0 reason='' +2026-10-11T17:31:21.281414Z TRACE send{space=Data pn=14 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=40 +2026-10-11T17:31:21.281452Z TRACE noq_proto::connection: sending 40 bytes in 1 datagrams segment_size=1389 last_datagram_len=40 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37317) +2026-10-11T17:31:21.281861Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:31:21.288869Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=147.176528 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:37317)/Active"] +2026-10-11T17:31:21.289909Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (40 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37317) using id c0a00e326eaa7e2a +2026-10-11T17:31:21.419506Z TRACE timeout{scope="conn" timer=Close}: noq_proto::connection: timeout +2026-10-11T17:31:21.419582Z TRACE timeout{scope="conn" timer=Close}: noq_proto::connection::state: connection state: drained +2026-10-11T17:31:21.492075Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:37317)/Active"] +2026-10-11T17:31:21.496391Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:31:21.496638Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-06/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-06/ready.txt new file mode 100644 index 0000000000..b17430753e --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-06/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=37317 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-06/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-06/server.log new file mode 100644 index 0000000000..be7bef740e --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-06/server.log @@ -0,0 +1,249 @@ +2026-10-11T17:31:21.070669Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=37317 direct=["10.200.0.1:37317", "10.200.0.2:37317", "127.0.0.1:37317"] +2026-10-11T17:31:21.148159Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:45004) alpns=["n30/allowlist/0"] +2026-10-11T17:31:21.148836Z TRACE first recv:frame{ty=CRYPTO}: noq_proto::connection: consumed 294 CRYPTO bytes +2026-10-11T17:31:21.150499Z TRACE first recv: noq_proto::connection: Handshake keys ready +2026-10-11T17:31:21.150565Z TRACE first recv: noq_proto::connection: wrote 90 Initial CRYPTO bytes +2026-10-11T17:31:21.150622Z TRACE first recv: noq_proto::connection: Data keys ready +2026-10-11T17:31:21.150670Z TRACE first recv: noq_proto::connection: wrote 381 Handshake CRYPTO bytes +2026-10-11T17:31:21.150724Z TRACE first recv: noq_proto::connection: negotiated max idle timeout Some(30s) +2026-10-11T17:31:21.150740Z DEBUG first recv: noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:31:21.150753Z DEBUG first recv: noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:31:21.150786Z TRACE noq_proto::endpoint: new connection id=0 icid=f4e274fb6ea4bc46fc608554dc424fc8ddd74c13 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:45004) +2026-10-11T17:31:21.151254Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:21.151410Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 544µs +2026-10-11T17:31:21.151461Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 90 +2026-10-11T17:31:21.151498Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection: will coalesce with next packet +2026-10-11T17:31:21.151543Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=146 +2026-10-11T17:31:21.151617Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 381 +2026-10-11T17:31:21.151649Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 627 +2026-10-11T17:31:21.151670Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1054 +2026-10-11T17:31:21.151697Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:21.151711Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:45004) +2026-10-11T17:31:21.151727Z TRACE noq_proto::connection::paths: anti amplification budget decreased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:45004) anti_amplification_budget=2352 +2026-10-11T17:31:21.151857Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:21.151870Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:21.151881Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:21.160691Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:21.160770Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:21.160812Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=12.8538ms +2026-10-11T17:31:21.177351Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:21.177436Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:21.177471Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:21.177660Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 1 id: d60daaf13d090172 +2026-10-11T17:31:21.177720Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 2 id: 05db9509d74070da +2026-10-11T17:31:21.177749Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 3 id: 492fc797d7e2022b +2026-10-11T17:31:21.177765Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 4 id: e85436bfd1ed3852 +2026-10-11T17:31:21.177824Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=138 +2026-10-11T17:31:21.177920Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=138 prev_segment_size=1200 +2026-10-11T17:31:21.177950Z TRACE noq_proto::connection: sending 138 bytes in 1 datagrams segment_size=138 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:45004) +2026-10-11T17:31:21.177967Z TRACE noq_proto::connection::paths: anti amplification budget decreased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:45004) anti_amplification_budget=2214 +2026-10-11T17:31:21.178100Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:21.178114Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:21.178126Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:21.178187Z TRACE timer_fired{scope="path" path_id=0 timer=Pacing}: noq_proto::connection: timeout +2026-10-11T17:31:21.178296Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:21.178311Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:21.178324Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:21.189596Z TRACE pkt{path_id=0}: noq_proto::connection: got Initial packet (52 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:45004) using id 77c3b297eb372889 +2026-10-11T17:31:21.190083Z TRACE pkt{path_id=0}: noq_proto::connection::paths: anti amplification budget increased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:45004) anti_amplification_budget=2370 +2026-10-11T17:31:21.190140Z TRACE pkt{path_id=0}: noq_proto::connection::paths: anti amplification budget increased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:45004) anti_amplification_budget=5814 +2026-10-11T17:31:21.190180Z TRACE pkt{path_id=0}: noq_proto::connection: got Handshake packet (1148 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:45004) using id 77c3b297eb372889 +2026-10-11T17:31:21.190250Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: discarding Initial keys +2026-10-11T17:31:21.190365Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 181 CRYPTO bytes +2026-10-11T17:31:21.235271Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: wrote 178 Data CRYPTO bytes +2026-10-11T17:31:21.235365Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: discarding Handshake keys +2026-10-11T17:31:21.235427Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: handshake confirmed +2026-10-11T17:31:21.235443Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection::state: connection state: established +2026-10-11T17:31:21.235456Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: established +2026-10-11T17:31:21.235566Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1326 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:45004) using id 77c3b297eb372889 +2026-10-11T17:31:21.235676Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame PING +2026-10-11T17:31:21.235704Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:21.236032Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1166 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:45004) using id 77c3b297eb372889 +2026-10-11T17:31:21.236117Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 1 id: c0a00e326eaa7e2a +2026-10-11T17:31:21.236186Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 2 id: cb95b539ffe2fc0a +2026-10-11T17:31:21.236216Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 3 id: ae7dc2e47fcdaec3 +2026-10-11T17:31:21.236244Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 4 id: 6455ec6435872c3c +2026-10-11T17:31:21.236273Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: 8ad4929d0b27e5ad +2026-10-11T17:31:21.236303Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: e1a73f0ed0d79e77 +2026-10-11T17:31:21.236330Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 6372af7b92956055 +2026-10-11T17:31:21.236358Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: e0a3bb46fbd41c85 +2026-10-11T17:31:21.236385Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: d32ebc5dd021c4ac +2026-10-11T17:31:21.236411Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 10ef0abb4b024895 +2026-10-11T17:31:21.236439Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: 83b49181223050e9 +2026-10-11T17:31:21.236467Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: c4ea95f8fcb44bc9 +2026-10-11T17:31:21.236494Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 4f2148a69c1c7de6 +2026-10-11T17:31:21.236520Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 626ebbbe173fc454 +2026-10-11T17:31:21.236547Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: 4eae3deb1820f4b3 +2026-10-11T17:31:21.236582Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 4431f49c3c06f5bd +2026-10-11T17:31:21.236610Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 1625141011a9af19 +2026-10-11T17:31:21.236639Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 317754c9c84a0373 +2026-10-11T17:31:21.236669Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 08346f62d15b5368 +2026-10-11T17:31:21.236696Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: c4d0e92297e33ee8 +2026-10-11T17:31:21.236724Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 05bcd343a5f0b6ae +2026-10-11T17:31:21.236752Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 980986cb6697e642 +2026-10-11T17:31:21.236779Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: 3074a4af89d21d7f +2026-10-11T17:31:21.236805Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 35357e39ed7aa65e +2026-10-11T17:31:21.236832Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: a96054bfec5de0e7 +2026-10-11T17:31:21.236868Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 11ad73c6bb085897 +2026-10-11T17:31:21.239968Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 061591f33acda669 +2026-10-11T17:31:21.240139Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 1e3b530b2cf1f650 +2026-10-11T17:31:21.240177Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 7d8917c26d0ceeed +2026-10-11T17:31:21.240207Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 0d09acb2bfeb7cf6 +2026-10-11T17:31:21.240242Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: eae4b02aa1af11bd +2026-10-11T17:31:21.240273Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: dcf876424ed3ad27 +2026-10-11T17:31:21.240304Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 1010a3f21f214922 +2026-10-11T17:31:21.240337Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: b2e989c7c32ebc63 +2026-10-11T17:31:21.240367Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 487d6f41eb854aaf +2026-10-11T17:31:21.240420Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: 1726272bd9984961 +2026-10-11T17:31:21.240454Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: babce409b0900c3c +2026-10-11T17:31:21.240491Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 7ac21607aa5f14e3 +2026-10-11T17:31:21.240611Z DEBUG pkt{path_id=0}: noq_proto::connection::packet_crypto: dropping unexpected packet encryption_level=Some(Handshake) bytes=227 +2026-10-11T17:31:21.240680Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:45004) using id 77c3b297eb372889 +2026-10-11T17:31:21.240825Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 590c63a2d221de40 +2026-10-11T17:31:21.240886Z DEBUG pkt{path_id=0}: noq_proto::connection::packet_crypto: dropping unexpected packet encryption_level=Some(Handshake) bytes=227 +2026-10-11T17:31:21.240939Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (63 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:45004) using id 77c3b297eb372889 +2026-10-11T17:31:21.241001Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 10.200.0.2:45004 +2026-10-11T17:31:21.241087Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 127.0.0.1:45004 +2026-10-11T17:31:21.241117Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 10.200.0.1:45004 +2026-10-11T17:31:21.241146Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:21.241181Z DEBUG pkt{path_id=0}:recv{space=Data pn=3}:frame{ty=PATH_STATUS_AVAILABLE path=0}: noq_proto::connection::paths: remote changed path status status=Available seq=2 +2026-10-11T17:31:21.241349Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(96f3dadffd7ea9c5) msg="(nat-traversal)" +2026-10-11T17:31:21.241432Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:21.241480Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.2, 45004) len=35 +2026-10-11T17:31:21.242837Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(37b6319805cf3be3) msg="(nat-traversal)" +2026-10-11T17:31:21.242934Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:21.242981Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:127.0.0.1, 45004) len=35 +2026-10-11T17:31:21.244815Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(58607d77759dbf1b) msg="(nat-traversal)" +2026-10-11T17:31:21.244886Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:21.244959Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.1, 45004) len=35 +2026-10-11T17:31:21.245553Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:21.249319Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=HANDSHAKE_DONE +2026-10-11T17:31:21.249386Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..4] delay: 3239µs +2026-10-11T17:31:21.249434Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 178 +2026-10-11T17:31:21.249469Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RETIRE_CONNECTION_ID path_id: 0 seq: 0 +2026-10-11T17:31:21.249548Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=223 +2026-10-11T17:31:21.249628Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=223 prev_segment_size=1200 +2026-10-11T17:31:21.249661Z TRACE noq_proto::connection: sending 223 bytes in 1 datagrams segment_size=223 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:45004) +2026-10-11T17:31:21.252647Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:21.252775Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1326 +2026-10-11T17:31:21.252813Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:21.252828Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:21.252839Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1298 +2026-10-11T17:31:21.252892Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1326 +2026-10-11T17:31:21.252967Z TRACE noq_proto::connection: sending 1326 bytes in 1 datagrams segment_size=1326 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:45004) +2026-10-11T17:31:21.253071Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:21.253134Z TRACE timeout{scope="conn" timer=NatTraversalProbeRetry}: noq_proto::connection: timeout +2026-10-11T17:31:21.253165Z TRACE timeout{scope="conn" timer=NatTraversalProbeRetry}: noq_proto::connection: re-queued NAT probes +2026-10-11T17:31:21.254180Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:45004) using id 77c3b297eb372889 +2026-10-11T17:31:21.254296Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:21.254348Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3] delay: 60µs +2026-10-11T17:31:21.254449Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_RESPONSE(37b6319805cf3be3) +2026-10-11T17:31:21.254733Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (40 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:45004) using id 77c3b297eb372889 +2026-10-11T17:31:21.254812Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3,4..5] delay: 152µs +2026-10-11T17:31:21.254936Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1389 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:45004) using id 77c3b297eb372889 +2026-10-11T17:31:21.255007Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PING +2026-10-11T17:31:21.255039Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:21.255343Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:45004) using id 77c3b297eb372889 +2026-10-11T17:31:21.255498Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:31:21.256283Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 5 id: 8072e83c485395b7 +2026-10-11T17:31:21.259194Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (40 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:45004) using id 77c3b297eb372889 +2026-10-11T17:31:21.259493Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3,4..6] delay: 74µs +2026-10-11T17:31:21.259604Z TRACE pkt{path_id=0}:recv{space=Data pn=8}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1326 +2026-10-11T17:31:21.259869Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(c4273b2a45700b6a) msg="(nat-traversal)" +2026-10-11T17:31:21.259955Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:21.260014Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.2, 45004) len=35 +2026-10-11T17:31:21.260329Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(16760f3d39b25301) msg="(nat-traversal)" +2026-10-11T17:31:21.260375Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:21.260410Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:127.0.0.1, 45004) len=35 +2026-10-11T17:31:21.260482Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(989b8ea4e1d7c322) msg="(nat-traversal)" +2026-10-11T17:31:21.260510Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:21.260534Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.1, 45004) len=35 +2026-10-11T17:31:21.260633Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:21.260696Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [4..9] delay: 520µs +2026-10-11T17:31:21.260808Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: 348af5c45de0d3e8 +2026-10-11T17:31:21.260848Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: 1aced91502311c3a +2026-10-11T17:31:21.260864Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 4b9aa875b0084662 +2026-10-11T17:31:21.260879Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 2cef45c365ddb331 +2026-10-11T17:31:21.260893Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: 897cd6bea4ceba9d +2026-10-11T17:31:21.260968Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 754fcf0bbefd5d7e +2026-10-11T17:31:21.260986Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: 2d0adbc8388ef8a9 +2026-10-11T17:31:21.261001Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 402b52f6df2c9a05 +2026-10-11T17:31:21.261015Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 9894d39e06114ef0 +2026-10-11T17:31:21.261031Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 6c386a20afee51fc +2026-10-11T17:31:21.261045Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: f338e904e238002d +2026-10-11T17:31:21.261062Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 1d715f27d183c928 +2026-10-11T17:31:21.261075Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: daeea02e1080ee67 +2026-10-11T17:31:21.261092Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 6b5b097db54cd499 +2026-10-11T17:31:21.261107Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: cffb8777ff8ad1de +2026-10-11T17:31:21.261121Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: 156bf0c0ef5c3a00 +2026-10-11T17:31:21.261134Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 7f33da6cbce0ea47 +2026-10-11T17:31:21.261148Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 85ef8462879bd37e +2026-10-11T17:31:21.261162Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: 304721e3eea7271b +2026-10-11T17:31:21.261177Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 4d2dd567f08e717b +2026-10-11T17:31:21.261191Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: f5f5b277d1e642df +2026-10-11T17:31:21.261205Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 8ea9a61bc0ffb698 +2026-10-11T17:31:21.261218Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 808aa2b10c4e42fc +2026-10-11T17:31:21.261232Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 4a2941487f89ae7c +2026-10-11T17:31:21.261246Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 8363ddf99c569c83 +2026-10-11T17:31:21.261262Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: c55908f732a23ed0 +2026-10-11T17:31:21.261276Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: 7f189b863eb0597e +2026-10-11T17:31:21.261291Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: bd72a61b0c086464 +2026-10-11T17:31:21.261306Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 4f35679b856fe703 +2026-10-11T17:31:21.261327Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: 5ebcaab406044ac5 +2026-10-11T17:31:21.261340Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 939c038969c91c1a +2026-10-11T17:31:21.261354Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: a895935a25d5d127 +2026-10-11T17:31:21.261369Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 4df57f58147e80cc +2026-10-11T17:31:21.261385Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: fadb15514d16128e +2026-10-11T17:31:21.261401Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: e5d50626de56e974 +2026-10-11T17:31:21.261467Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1086 +2026-10-11T17:31:21.261532Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1086 prev_segment_size=1326 +2026-10-11T17:31:21.261566Z TRACE noq_proto::connection: sending 1086 bytes in 1 datagrams segment_size=1086 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:45004) +2026-10-11T17:31:21.261666Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:21.261730Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1389 +2026-10-11T17:31:21.261757Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:21.261777Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:21.261791Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1361 +2026-10-11T17:31:21.261817Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1389 +2026-10-11T17:31:21.261858Z TRACE noq_proto::connection: sending 1389 bytes in 1 datagrams segment_size=1389 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:45004) +2026-10-11T17:31:21.275287Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:21.276050Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(131464050068656) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:37317, 10.200.0.2:37317, 127.0.0.1:37317} +2026-10-11T17:31:21.276274Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(131464050068656) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:31:21.276600Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:31:21.276635Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:31:21.276747Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:31:21.276809Z TRACE noq_proto::connection: connection closed +2026-10-11T17:31:21.276851Z TRACE noq_proto::connection::state: connection state: closed remote_reason=Application(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) is_local=true +2026-10-11T17:31:21.277236Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:31:21.277326Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:45004)/Active"] +2026-10-11T17:31:21.277515Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:21.277582Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:21.277639Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [4..9] delay: 2730µs +2026-10-11T17:31:21.277681Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=4097 reason='not on allowlist' +2026-10-11T17:31:21.277747Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:21.277797Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=1326 last_datagram_len=56 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:45004) +2026-10-11T17:31:21.282690Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 10.200.0.1, remote: [::ffff:10.200.0.1]:45004) using id 77c3b297eb372889 +2026-10-11T17:31:21.282960Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: processing frame in closed state frame=PathResponse(PathResponse(10996539753969992482)) +2026-10-11T17:31:21.283016Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: processing frame in closed state frame=PathChallenge(PathChallenge(7203260908170475245)) +2026-10-11T17:31:21.283305Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:45004) using id 77c3b297eb372889 +2026-10-11T17:31:21.283367Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: processing frame in closed state frame=ImmediateAck +2026-10-11T17:31:21.283400Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: processing frame in closed state frame=PathAck(PathAck { path_id: PathId(0), largest: 10, delay: 403, ranges: [6..11], ecn: Some(EcnCounts { ect0: 5, ect1: 0, ce: 0 }) }) +2026-10-11T17:31:21.283431Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: processing frame in closed state frame=PathResponse(PathResponse(1618497871721681665)) +2026-10-11T17:31:21.283697Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (30 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:45004) using id 77c3b297eb372889 +2026-10-11T17:31:21.283817Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:45004) using id 77c3b297eb372889 +2026-10-11T17:31:21.283851Z TRACE pkt{path_id=0}:recv{space=Data pn=12}: noq_proto::connection: processing frame in closed state frame=PathResponse(PathResponse(14134331008265227114)) +2026-10-11T17:31:21.283871Z TRACE pkt{path_id=0}:recv{space=Data pn=12}: noq_proto::connection: processing frame in closed state frame=PathChallenge(PathChallenge(9206716835818050191)) +2026-10-11T17:31:21.284119Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1420 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:45004) using id 77c3b297eb372889 +2026-10-11T17:31:21.284183Z TRACE pkt{path_id=0}:recv{space=Data pn=13}: noq_proto::connection: processing frame in closed state frame=Ping +2026-10-11T17:31:21.284203Z TRACE pkt{path_id=0}:recv{space=Data pn=13}: noq_proto::connection: processing frame in closed state frame=ImmediateAck +2026-10-11T17:31:21.284507Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (40 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:45004) using id 77c3b297eb372889 +2026-10-11T17:31:21.284584Z TRACE pkt{path_id=0}:recv{space=Data pn=14}: noq_proto::connection: processing frame in closed state frame=PathAck(PathAck { path_id: PathId(0), largest: 11, delay: 303, ranges: [6..12], ecn: Some(EcnCounts { ect0: 6, ect1: 0, ce: 0 }) }) +2026-10-11T17:31:21.284648Z TRACE pkt{path_id=0}:recv{space=Data pn=14}: noq_proto::connection: processing frame in closed state frame=Close(Connection(ConnectionClose { error_code: NO_ERROR, frame_type: None, reason: b"" })) +2026-10-11T17:31:21.284685Z TRACE pkt{path_id=0}:recv{space=Data pn=14}: noq_proto::connection::state: connection state: draining +2026-10-11T17:31:21.284793Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:21.284842Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:21.284883Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [4..9] delay: 3640µs +2026-10-11T17:31:21.289046Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=0 reason='' +2026-10-11T17:31:21.289254Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=40 +2026-10-11T17:31:21.289331Z TRACE noq_proto::connection: sending 40 bytes in 1 datagrams segment_size=1326 last_datagram_len=40 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:45004) +2026-10-11T17:31:21.797123Z TRACE timeout{scope="conn" timer=Close}: noq_proto::connection: timeout +2026-10-11T17:31:21.797240Z TRACE timeout{scope="conn" timer=Close}: noq_proto::connection::state: connection state: drained diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-07/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-07/client.log new file mode 100644 index 0000000000..d5c85ae714 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-07/client.log @@ -0,0 +1,293 @@ +2026-10-11T17:31:22.297477Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:53709] +2026-10-11T17:31:22.298516Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:31:22.298657Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:31:22.298770Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:31:22.298786Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:31:22.298809Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:31:22.300076Z TRACE noq_proto::endpoint: initial_dcid=f01b251f73900a06c34d7ee95cad563285d3bb41 +2026-10-11T17:31:22.305291Z TRACE noq_proto::token_memory_cache: taking token server_name=ha4e7nbk17opbvaircmjpeiteb56e2dv3ma146vjei403d0fdte0.iroh.invalid found=false +2026-10-11T17:31:22.305820Z TRACE noq_proto::connection: wrote 287 Initial CRYPTO bytes +2026-10-11T17:31:22.311301Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:22.311562Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 287 +2026-10-11T17:31:22.311636Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 854 +2026-10-11T17:31:22.311704Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:22.311793Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: , remote: [fd15:70a:510b:0:a6df:5bf2:4ace:47f7]:12345) +2026-10-11T17:31:22.311945Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:22.312114Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:53709)] +2026-10-11T17:31:22.327467Z TRACE pkt{path_id=0}: noq_proto::connection: got Initial packet (146 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:53709) using id 1b7500d4f7474b51 +2026-10-11T17:31:22.327569Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: server migrated to new remote network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:53709) prev=(local: , remote: [fd15:70a:510b:0:a6df:5bf2:4ace:47f7]:12345) +2026-10-11T17:31:22.327617Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: switching remote CID to 3650487e01c20aa1 +2026-10-11T17:31:22.327639Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection::state: connection state: handshake +2026-10-11T17:31:22.327771Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 90 CRYPTO bytes +2026-10-11T17:31:22.328582Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: Handshake keys ready +2026-10-11T17:31:22.328723Z TRACE pkt{path_id=0}: noq_proto::connection: got Handshake packet (1054 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:53709) using id 1b7500d4f7474b51 +2026-10-11T17:31:22.328864Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 382 CRYPTO bytes +2026-10-11T17:31:22.371348Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: Data keys ready +2026-10-11T17:31:22.371637Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: wrote 181 Handshake CRYPTO bytes +2026-10-11T17:31:22.371798Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: negotiated max idle timeout Some(30s) +2026-10-11T17:31:22.371860Z DEBUG pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:31:22.371883Z DEBUG pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:31:22.371962Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection::state: connection state: established +2026-10-11T17:31:22.371981Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: established +2026-10-11T17:31:22.372187Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (138 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:53709) using id 1b7500d4f7474b51 +2026-10-11T17:31:22.372346Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 1 id: 7e50db2f5cc06db4 +2026-10-11T17:31:22.372390Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 2 id: 260dfe9c9d279a20 +2026-10-11T17:31:22.372413Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 3 id: 578dbd7c04c14e53 +2026-10-11T17:31:22.372434Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 4 id: 924d14ead08708ef +2026-10-11T17:31:22.372550Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:22.372613Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 5666µs +2026-10-11T17:31:22.372661Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection: will coalesce with next packet +2026-10-11T17:31:22.372692Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=52 +2026-10-11T17:31:22.372722Z TRACE noq_proto::connection: discarding Initial keys +2026-10-11T17:31:22.372778Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 5666µs +2026-10-11T17:31:22.372802Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 181 +2026-10-11T17:31:22.372833Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 912 +2026-10-11T17:31:22.372858Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1148 +2026-10-11T17:31:22.372912Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:22.372930Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:53709) +2026-10-11T17:31:22.373093Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:22.373111Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:22.373149Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1326 +2026-10-11T17:31:22.373171Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:22.373184Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:22.373195Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1298 +2026-10-11T17:31:22.373218Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1326 +2026-10-11T17:31:22.373249Z TRACE noq_proto::connection: sending 1326 bytes in 1 datagrams segment_size=1326 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:53709) +2026-10-11T17:31:22.373311Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:22.373327Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:22.373891Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:22.381366Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:22.381636Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 1 id: 5356a580cfea83db +2026-10-11T17:31:22.381722Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 2 id: 5ef20d0732f1bf07 +2026-10-11T17:31:22.381738Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 3 id: 1be64aed314eb4b6 +2026-10-11T17:31:22.381751Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 4 id: 39b2709de2fb3313 +2026-10-11T17:31:22.381764Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: c5e605d7a1d9ee54 +2026-10-11T17:31:22.381782Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: c0f4f5fa34fee5dd +2026-10-11T17:31:22.381794Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 1b51fef8e6b220c0 +2026-10-11T17:31:22.381807Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 0c4860af7b7d6bf5 +2026-10-11T17:31:22.381821Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: 2e8355e05035c5b6 +2026-10-11T17:31:22.381834Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 2d8951c4465bab85 +2026-10-11T17:31:22.381848Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: e2a1194a8597469c +2026-10-11T17:31:22.381862Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: eb6c9b9e4edee4d5 +2026-10-11T17:31:22.381875Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 1cbdde74265b2978 +2026-10-11T17:31:22.381888Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 9a6b9b645c101879 +2026-10-11T17:31:22.381923Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: c3df822ae955485c +2026-10-11T17:31:22.381937Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: bb93c6577a7fe886 +2026-10-11T17:31:22.381951Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: a8c6625a3dcb7d39 +2026-10-11T17:31:22.381965Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 59e5a01f92f40663 +2026-10-11T17:31:22.381979Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 810167d966cf680e +2026-10-11T17:31:22.381993Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: 5ad1419f23494988 +2026-10-11T17:31:22.382006Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: e65635722f775e5e +2026-10-11T17:31:22.382019Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 2cac83e0ffabb7d0 +2026-10-11T17:31:22.382032Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: d82b71ed5d9b1ce1 +2026-10-11T17:31:22.382054Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: c6d890e058b4d583 +2026-10-11T17:31:22.382066Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 97cdbba3d434dddd +2026-10-11T17:31:22.382078Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 1534afc07a875e13 +2026-10-11T17:31:22.382092Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 9bb4dcf48cd3e9f6 +2026-10-11T17:31:22.382121Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 09eb1ef7b2806e4d +2026-10-11T17:31:22.382133Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 545c5e38eb3030a2 +2026-10-11T17:31:22.382147Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 746a8ef5a20f3591 +2026-10-11T17:31:22.382161Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: 613d650711376e2c +2026-10-11T17:31:22.382175Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: 5df193e3f64c9d92 +2026-10-11T17:31:22.382188Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 80ca36e09e5c5d07 +2026-10-11T17:31:22.382236Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: aaca0c89d9ebaa60 +2026-10-11T17:31:22.382294Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 78e6c1e313ff2cab +2026-10-11T17:31:22.382314Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: de103a12febba894 +2026-10-11T17:31:22.382327Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 324a396e80135903 +2026-10-11T17:31:22.382359Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 12f66b116c3f16d5 +2026-10-11T17:31:22.382438Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1166 +2026-10-11T17:31:22.382537Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1166 prev_segment_size=1200 +2026-10-11T17:31:22.382574Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=1.25036ms +2026-10-11T17:31:22.382598Z TRACE noq_proto::connection: sending 1166 bytes in 1 datagrams segment_size=1166 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:53709) +2026-10-11T17:31:22.386459Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:22.386583Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=1.25036ms +2026-10-11T17:31:22.386769Z TRACE timer_fired{scope="path" path_id=0 timer=Pacing}: noq_proto::connection: timeout +2026-10-11T17:31:22.387099Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(99857222844736) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:39201, 10.200.0.2:39201, 127.0.0.1:39201} +2026-10-11T17:31:22.387333Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(99857222844736) send_tasks=FuturesUnorderedBounded { len: 0, .. }}:do_holepunching: noq_proto::n0_nat_traversal: initiating NAT traversal round round=1 reach_out=3 to_probe=0 +2026-10-11T17:31:22.394425Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:22.394620Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:22.394790Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 10.200.0.1:39201 +2026-10-11T17:31:22.394880Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 10.200.0.2:39201 +2026-10-11T17:31:22.395296Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 127.0.0.1:39201 +2026-10-11T17:31:22.395346Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:22.395182Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=97.541883 remote_info=["Ip(127.0.0.1:53709)/Active"] +2026-10-11T17:31:22.395452Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: e40b446b91a68ee1 +2026-10-11T17:31:22.395587Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=93 +2026-10-11T17:31:22.395743Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=93 prev_segment_size=1200 +2026-10-11T17:31:22.395779Z TRACE noq_proto::connection: sending 93 bytes in 1 datagrams segment_size=93 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:53709) +2026-10-11T17:31:22.396611Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:22.396649Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:22.421432Z TRACE pkt{path_id=0}: noq_proto::connection: discarding packet from unrecognized peer path_id=0 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:53709) known_path.network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:53709) +2026-10-11T17:31:22.421630Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:22.421660Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:22.421766Z TRACE timer_fired{scope="path" path_id=0 timer=LossDetection}: noq_proto::connection: timeout +2026-10-11T17:31:22.421820Z TRACE timer_fired{scope="path" path_id=0 timer=LossDetection}: noq_proto::connection: PTO fired in_flight=3733 count=0 space=Handshake path_id=0 +2026-10-11T17:31:22.422104Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:22.422233Z TRACE send{space=Handshake pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 181 +2026-10-11T17:31:22.422351Z TRACE send{space=Handshake pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=227 +2026-10-11T17:31:22.422403Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=227 prev_segment_size=1200 +2026-10-11T17:31:22.422427Z TRACE noq_proto::connection: new datagram started count=2 +2026-10-11T17:31:22.422457Z TRACE send{space=Handshake pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 181 +2026-10-11T17:31:22.422485Z TRACE send{space=Handshake pn=2 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=227 +2026-10-11T17:31:22.422520Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:22.422534Z TRACE noq_proto::connection: sending 454 bytes in 2 datagrams segment_size=227 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:53709) +2026-10-11T17:31:22.422673Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:22.422688Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:22.425387Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:53709) using id 5356a580cfea83db +2026-10-11T17:31:22.425588Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_CHALLENGE(f079d334f26c28e2) +2026-10-11T17:31:22.425684Z TRACE pkt{path_id=0}: noq_proto::connection: discarding packet from unrecognized peer path_id=0 network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:53709) known_path.network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:53709) +2026-10-11T17:31:22.425754Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:22.425781Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:22.425815Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:22.425844Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3] delay: 86µs +2026-10-11T17:31:22.425873Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(f079d334f26c28e2) +2026-10-11T17:31:22.425918Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1152 +2026-10-11T17:31:22.425953Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:22.426015Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:53709) +2026-10-11T17:31:22.430177Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:22.430302Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:22.433100Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (223 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:53709) using id 5356a580cfea83db +2026-10-11T17:31:22.433254Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame HANDSHAKE_DONE +2026-10-11T17:31:22.433276Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=HANDSHAKE_DONE}: noq_proto::connection: discarding Handshake keys +2026-10-11T17:31:22.433351Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=HANDSHAKE_DONE}: noq_proto::connection: handshake confirmed +2026-10-11T17:31:22.433407Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..3] delay: 3058µs +2026-10-11T17:31:22.433457Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1326 +2026-10-11T17:31:22.433523Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame CRYPTO offset=0 len=178 +2026-10-11T17:31:22.433548Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=CRYPTO}: noq_proto::connection: consumed 178 CRYPTO bytes +2026-10-11T17:31:22.433766Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_RETIRE_CONNECTION_ID path_id: 0 seq: 0 +2026-10-11T17:31:22.433853Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1326 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:53709) using id 5356a580cfea83db +2026-10-11T17:31:22.433934Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame PING +2026-10-11T17:31:22.433966Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:22.434307Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:22.434462Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3,4..6] delay: 174µs +2026-10-11T17:31:22.434570Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=40 +2026-10-11T17:31:22.434612Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=40 prev_segment_size=1326 +2026-10-11T17:31:22.434662Z TRACE noq_proto::connection: sending 40 bytes in 1 datagrams segment_size=40 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:53709) +2026-10-11T17:31:22.434825Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:22.434872Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1389 +2026-10-11T17:31:22.434929Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:22.434949Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:22.434963Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1361 +2026-10-11T17:31:22.434986Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1389 +2026-10-11T17:31:22.435025Z TRACE noq_proto::connection: sending 1389 bytes in 1 datagrams segment_size=1389 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:53709) +2026-10-11T17:31:22.435086Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:22.441640Z TRACE noq_proto::endpoint: local CID retired 0: 1b7500d4f7474b51 path_id=0 +2026-10-11T17:31:22.442620Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:22.448345Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 5 id: 4840b9eb77da7979 +2026-10-11T17:31:22.448489Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:22.448605Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=56 prev_segment_size=1326 +2026-10-11T17:31:22.448675Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=56 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:53709) +2026-10-11T17:31:22.448812Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:22.449394Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 10.200.0.1, remote: [::ffff:10.200.0.1]:53709) using id 5356a580cfea83db +2026-10-11T17:31:22.449628Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_CHALLENGE(1af9ed2730e0c4d9) +2026-10-11T17:31:22.449756Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(1af9ed2730e0c4d9) msg="(off-path)" +2026-10-11T17:31:22.449782Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(b615102dba1539d0) +2026-10-11T17:31:22.449806Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1156 +2026-10-11T17:31:22.449831Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:22.449855Z TRACE noq_proto::connection: sending off-path PATH_RESPONSE dst=[::ffff:10.200.0.1]:53709 src=Some(10.200.0.1) len=1200 +2026-10-11T17:31:22.449969Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:22.451692Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:53709) using id 5356a580cfea83db +2026-10-11T17:31:22.451870Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_CHALLENGE(f1b8ea9f093dbed4) +2026-10-11T17:31:22.452022Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:22.452070Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:22.452100Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3,4..8] delay: 74µs +2026-10-11T17:31:22.452134Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(f1b8ea9f093dbed4) +2026-10-11T17:31:22.452180Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1150 +2026-10-11T17:31:22.452215Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:22.452264Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1200 prev_segment_size=1326 +2026-10-11T17:31:22.452284Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:53709) +2026-10-11T17:31:22.452370Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:22.457767Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:53709) using id 5356a580cfea83db +2026-10-11T17:31:22.458770Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: got frame PATH_CHALLENGE(4488370c9caa4c97) +2026-10-11T17:31:22.459016Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(4488370c9caa4c97) msg="(off-path)" +2026-10-11T17:31:22.459100Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(3d1b402317495ffa) +2026-10-11T17:31:22.459126Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1156 +2026-10-11T17:31:22.459177Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:22.459209Z TRACE noq_proto::connection: sending off-path PATH_RESPONSE dst=[::ffff:10.200.0.2]:53709 src=Some(10.200.0.2) len=1200 +2026-10-11T17:31:22.459434Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:22.464170Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1086 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:53709) using id 5356a580cfea83db +2026-10-11T17:31:22.464617Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [3..6] delay: 901µs +2026-10-11T17:31:22.464724Z TRACE pkt{path_id=0}:recv{space=Data pn=9}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1389 +2026-10-11T17:31:22.464862Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: ddd7ad6d6b587874 +2026-10-11T17:31:22.464948Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: be82296df388c369 +2026-10-11T17:31:22.465007Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 6900a173026b143d +2026-10-11T17:31:22.465044Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 77bae565fa35af2c +2026-10-11T17:31:22.465076Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: 377c7164bc21df27 +2026-10-11T17:31:22.465108Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 231242c3a5cf3b33 +2026-10-11T17:31:22.465152Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: f464d8901d400e6e +2026-10-11T17:31:22.465186Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 97a63ece79db83a2 +2026-10-11T17:31:22.465215Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 232d378a74371eb9 +2026-10-11T17:31:22.465244Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 7e08cdf37a9f2bc7 +2026-10-11T17:31:22.465278Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: 38cda4ee27766f94 +2026-10-11T17:31:22.465352Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 469b4395be224e13 +2026-10-11T17:31:22.465384Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 54844b32b51af655 +2026-10-11T17:31:22.465416Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 825862f2722a1a40 +2026-10-11T17:31:22.465452Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 6b6ad91aaaf15844 +2026-10-11T17:31:22.465489Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: bc92479919337c7b +2026-10-11T17:31:22.465525Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 581f0fbce545a123 +2026-10-11T17:31:22.465561Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 5a5e6d1f268ac6fc +2026-10-11T17:31:22.466095Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: a5de83bbb5c38f34 +2026-10-11T17:31:22.466191Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: ecddcff267a146ca +2026-10-11T17:31:22.466224Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 3c2c0dcad7376453 +2026-10-11T17:31:22.466262Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 2b85408dca1f3abb +2026-10-11T17:31:22.466299Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 63f1d182ac2d1848 +2026-10-11T17:31:22.466335Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: bd743ae4580f4004 +2026-10-11T17:31:22.466378Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 53a59add1ddb8500 +2026-10-11T17:31:22.466412Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: a923615a0284ab02 +2026-10-11T17:31:22.466450Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: 1a8aa6e3a7a2c899 +2026-10-11T17:31:22.466490Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: 27190cf526d0db97 +2026-10-11T17:31:22.466530Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: b28a41a68034386e +2026-10-11T17:31:22.466570Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: fdece7edc2c16633 +2026-10-11T17:31:22.466611Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: a9debf229faf0e35 +2026-10-11T17:31:22.466674Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: 405e8d4e720e3525 +2026-10-11T17:31:22.466717Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 5f0905ace21e39b4 +2026-10-11T17:31:22.466757Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: ebe549bfa2d47ea3 +2026-10-11T17:31:22.466810Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: a9c40df33b848bad +2026-10-11T17:31:22.467016Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1389 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:53709) using id 5356a580cfea83db +2026-10-11T17:31:22.467115Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: got frame PING +2026-10-11T17:31:22.467151Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:22.467500Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:22.467561Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [6..11] delay: 446µs +2026-10-11T17:31:22.467633Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=36 +2026-10-11T17:31:22.467665Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=36 prev_segment_size=1389 +2026-10-11T17:31:22.473326Z TRACE noq_proto::connection: sending 36 bytes in 1 datagrams segment_size=36 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:53709) +2026-10-11T17:31:22.473533Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:22.473630Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1420 +2026-10-11T17:31:22.473669Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:22.473685Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:22.473698Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1392 +2026-10-11T17:31:22.473755Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1420 +2026-10-11T17:31:22.473826Z TRACE noq_proto::connection: sending 1420 bytes in 1 datagrams segment_size=1420 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:53709) +2026-10-11T17:31:22.473921Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:22.474072Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:53709) using id 5356a580cfea83db +2026-10-11T17:31:22.474167Z TRACE pkt{path_id=0}:recv{space=Data pn=11}: noq_proto::connection: got frame PATH_RESPONSE(3d1b402317495ffa) +2026-10-11T17:31:22.474201Z TRACE pkt{path_id=0}:recv{space=Data pn=11}:frame{ty=PATH_RESPONSE}: noq_proto::n0_nat_traversal: Received valid NAT traversal probe response network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:53709) challenge=0x3d1b402317495ffa +2026-10-11T17:31:22.474226Z TRACE pkt{path_id=0}:recv{space=Data pn=11}:frame{ty=PATH_RESPONSE}: noq_proto::n0_nat_traversal: probe opened un-advertised address, peer likely behind DEDN +2026-10-11T17:31:22.474254Z DEBUG pkt{path_id=0}:recv{space=Data pn=11}:frame{ty=PATH_RESPONSE}: noq_proto::connection: path added validated=false path_id=1 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:53709) +2026-10-11T17:31:22.474301Z DEBUG pkt{path_id=0}:recv{space=Data pn=11}:frame{ty=PATH_RESPONSE}: noq_proto::connection: Opened NAT traversal path path_id=1 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:53709) new_path=true +2026-10-11T17:31:22.474598Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 10.200.0.1, remote: [::ffff:10.200.0.1]:53709) using id 5356a580cfea83db +2026-10-11T17:31:22.474656Z TRACE pkt{path_id=0}:recv{space=Data pn=12}: noq_proto::connection: got frame PATH_RESPONSE(b615102dba1539d0) +2026-10-11T17:31:22.474674Z TRACE pkt{path_id=0}:recv{space=Data pn=12}:frame{ty=PATH_RESPONSE}: noq_proto::n0_nat_traversal: Received valid NAT traversal probe response network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:53709) challenge=0xb615102dba1539d0 +2026-10-11T17:31:22.474696Z TRACE pkt{path_id=0}:recv{space=Data pn=12}:frame{ty=PATH_RESPONSE}: noq_proto::n0_nat_traversal: probe opened un-advertised address, peer likely behind DEDN +2026-10-11T17:31:22.474730Z DEBUG pkt{path_id=0}:recv{space=Data pn=12}:frame{ty=PATH_RESPONSE}: noq_proto::connection: path added validated=false path_id=2 network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:53709) +2026-10-11T17:31:22.474763Z DEBUG pkt{path_id=0}:recv{space=Data pn=12}:frame{ty=PATH_RESPONSE}: noq_proto::connection: Opened NAT traversal path path_id=2 network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:53709) new_path=true +2026-10-11T17:31:22.475089Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (36 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:53709) using id 5356a580cfea83db +2026-10-11T17:31:22.475174Z TRACE pkt{path_id=0}:recv{space=Data pn=13}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [3..10] delay: 950µs +2026-10-11T17:31:22.475323Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:53709) using id 5356a580cfea83db +2026-10-11T17:31:22.475397Z TRACE pkt{path_id=0}:recv{space=Data pn=14}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [3..10] delay: 1397µs +2026-10-11T17:31:22.475450Z TRACE pkt{path_id=0}:recv{space=Data pn=14}: noq_proto::connection: got frame CONNECTION_CLOSE error_code=4097 reason='not on allowlist' +2026-10-11T17:31:22.475489Z TRACE pkt{path_id=0}:recv{space=Data pn=14}: noq_proto::connection::state: connection state: draining +2026-10-11T17:31:22.475514Z TRACE pkt{path_id=0}: noq_proto::connection: connection closed +2026-10-11T17:31:22.475550Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:53709) using id 5356a580cfea83db +2026-10-11T17:31:22.475626Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:22.475667Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:22.475695Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [8..15] delay: 496µs +2026-10-11T17:31:22.475738Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=0 reason='' +2026-10-11T17:31:22.475762Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=40 +2026-10-11T17:31:22.475786Z TRACE noq_proto::connection: sending 40 bytes in 1 datagrams segment_size=1389 last_datagram_len=40 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:53709) +2026-10-11T17:31:22.476164Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:31:22.476322Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=178.682223 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:53709)/Active"] +2026-10-11T17:31:22.476934Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:53709) using id 5356a580cfea83db +2026-10-11T17:31:22.677869Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:53709)/Active"] +2026-10-11T17:31:22.678255Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:31:22.678310Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-07/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-07/ready.txt new file mode 100644 index 0000000000..1166e278d7 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-07/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=53709 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-07/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-07/server.log new file mode 100644 index 0000000000..5469b5d4a2 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-07/server.log @@ -0,0 +1,268 @@ +2026-10-11T17:31:22.193441Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=53709 direct=["10.200.0.1:53709", "10.200.0.2:53709", "127.0.0.1:53709"] +2026-10-11T17:31:22.315457Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:39201) alpns=["n30/allowlist/0"] +2026-10-11T17:31:22.316698Z TRACE first recv:frame{ty=CRYPTO}: noq_proto::connection: consumed 287 CRYPTO bytes +2026-10-11T17:31:22.325458Z TRACE first recv: noq_proto::connection: Handshake keys ready +2026-10-11T17:31:22.325574Z TRACE first recv: noq_proto::connection: wrote 90 Initial CRYPTO bytes +2026-10-11T17:31:22.325653Z TRACE first recv: noq_proto::connection: Data keys ready +2026-10-11T17:31:22.325717Z TRACE first recv: noq_proto::connection: wrote 382 Handshake CRYPTO bytes +2026-10-11T17:31:22.325782Z TRACE first recv: noq_proto::connection: negotiated max idle timeout Some(30s) +2026-10-11T17:31:22.325817Z DEBUG first recv: noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:31:22.325835Z DEBUG first recv: noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:31:22.325881Z TRACE noq_proto::endpoint: new connection id=0 icid=f01b251f73900a06c34d7ee95cad563285d3bb41 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:39201) +2026-10-11T17:31:22.326305Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:22.326483Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 1716µs +2026-10-11T17:31:22.326526Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 90 +2026-10-11T17:31:22.326564Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection: will coalesce with next packet +2026-10-11T17:31:22.326608Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=146 +2026-10-11T17:31:22.326682Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 382 +2026-10-11T17:31:22.326708Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 626 +2026-10-11T17:31:22.326731Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1054 +2026-10-11T17:31:22.326755Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:22.326768Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:39201) +2026-10-11T17:31:22.326782Z TRACE noq_proto::connection::paths: anti amplification budget decreased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:39201) anti_amplification_budget=2352 +2026-10-11T17:31:22.326937Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:22.326953Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:22.326963Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:22.331446Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:22.331564Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:22.331627Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=7.77ms +2026-10-11T17:31:22.340358Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:22.340455Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:22.340491Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:22.340706Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 1 id: 7e50db2f5cc06db4 +2026-10-11T17:31:22.340770Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 2 id: 260dfe9c9d279a20 +2026-10-11T17:31:22.340805Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 3 id: 578dbd7c04c14e53 +2026-10-11T17:31:22.340820Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 4 id: 924d14ead08708ef +2026-10-11T17:31:22.340885Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=138 +2026-10-11T17:31:22.340989Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=138 prev_segment_size=1200 +2026-10-11T17:31:22.341019Z TRACE noq_proto::connection: sending 138 bytes in 1 datagrams segment_size=138 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:39201) +2026-10-11T17:31:22.341038Z TRACE noq_proto::connection::paths: anti amplification budget decreased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:39201) anti_amplification_budget=2214 +2026-10-11T17:31:22.341222Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:22.341243Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:22.341256Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:22.341357Z TRACE timer_fired{scope="path" path_id=0 timer=Pacing}: noq_proto::connection: timeout +2026-10-11T17:31:22.341482Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:22.341501Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:22.341514Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:22.375533Z TRACE pkt{path_id=0}: noq_proto::connection: got Initial packet (52 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:39201) using id 3650487e01c20aa1 +2026-10-11T17:31:22.375861Z TRACE pkt{path_id=0}: noq_proto::connection::paths: anti amplification budget increased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:39201) anti_amplification_budget=2370 +2026-10-11T17:31:22.375919Z TRACE pkt{path_id=0}: noq_proto::connection::paths: anti amplification budget increased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:39201) anti_amplification_budget=5814 +2026-10-11T17:31:22.375958Z TRACE pkt{path_id=0}: noq_proto::connection: got Handshake packet (1148 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:39201) using id 3650487e01c20aa1 +2026-10-11T17:31:22.376044Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: discarding Initial keys +2026-10-11T17:31:22.376178Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 181 CRYPTO bytes +2026-10-11T17:31:22.412848Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: wrote 178 Data CRYPTO bytes +2026-10-11T17:31:22.412987Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: discarding Handshake keys +2026-10-11T17:31:22.413061Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: handshake confirmed +2026-10-11T17:31:22.413079Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection::state: connection state: established +2026-10-11T17:31:22.413095Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: established +2026-10-11T17:31:22.413240Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1326 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:39201) using id 3650487e01c20aa1 +2026-10-11T17:31:22.413381Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame PING +2026-10-11T17:31:22.413414Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:22.413690Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1166 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:39201) using id 3650487e01c20aa1 +2026-10-11T17:31:22.413779Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 1 id: 5356a580cfea83db +2026-10-11T17:31:22.413850Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 2 id: 5ef20d0732f1bf07 +2026-10-11T17:31:22.417257Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 3 id: 1be64aed314eb4b6 +2026-10-11T17:31:22.417394Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 4 id: 39b2709de2fb3313 +2026-10-11T17:31:22.417433Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: c5e605d7a1d9ee54 +2026-10-11T17:31:22.417481Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: c0f4f5fa34fee5dd +2026-10-11T17:31:22.417515Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 1b51fef8e6b220c0 +2026-10-11T17:31:22.417544Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 0c4860af7b7d6bf5 +2026-10-11T17:31:22.417573Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: 2e8355e05035c5b6 +2026-10-11T17:31:22.417604Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 2d8951c4465bab85 +2026-10-11T17:31:22.417640Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: e2a1194a8597469c +2026-10-11T17:31:22.417683Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: eb6c9b9e4edee4d5 +2026-10-11T17:31:22.417711Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 1cbdde74265b2978 +2026-10-11T17:31:22.417743Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 9a6b9b645c101879 +2026-10-11T17:31:22.417769Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: c3df822ae955485c +2026-10-11T17:31:22.417806Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: bb93c6577a7fe886 +2026-10-11T17:31:22.417834Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: a8c6625a3dcb7d39 +2026-10-11T17:31:22.417862Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 59e5a01f92f40663 +2026-10-11T17:31:22.417890Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 810167d966cf680e +2026-10-11T17:31:22.419445Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: 5ad1419f23494988 +2026-10-11T17:31:22.419517Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: e65635722f775e5e +2026-10-11T17:31:22.419546Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 2cac83e0ffabb7d0 +2026-10-11T17:31:22.419574Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: d82b71ed5d9b1ce1 +2026-10-11T17:31:22.419601Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: c6d890e058b4d583 +2026-10-11T17:31:22.419626Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 97cdbba3d434dddd +2026-10-11T17:31:22.419676Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 1534afc07a875e13 +2026-10-11T17:31:22.419702Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 9bb4dcf48cd3e9f6 +2026-10-11T17:31:22.419729Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 09eb1ef7b2806e4d +2026-10-11T17:31:22.419757Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 545c5e38eb3030a2 +2026-10-11T17:31:22.419783Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 746a8ef5a20f3591 +2026-10-11T17:31:22.419810Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: 613d650711376e2c +2026-10-11T17:31:22.419838Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: 5df193e3f64c9d92 +2026-10-11T17:31:22.419863Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 80ca36e09e5c5d07 +2026-10-11T17:31:22.419890Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: aaca0c89d9ebaa60 +2026-10-11T17:31:22.419938Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 78e6c1e313ff2cab +2026-10-11T17:31:22.419989Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: de103a12febba894 +2026-10-11T17:31:22.420015Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 324a396e80135903 +2026-10-11T17:31:22.420043Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 12f66b116c3f16d5 +2026-10-11T17:31:22.420210Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (93 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:39201) using id 3650487e01c20aa1 +2026-10-11T17:31:22.420380Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 10.200.0.1:39201 +2026-10-11T17:31:22.420446Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 10.200.0.2:39201 +2026-10-11T17:31:22.420471Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 127.0.0.1:39201 +2026-10-11T17:31:22.420496Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:22.420548Z DEBUG pkt{path_id=0}:recv{space=Data pn=2}:frame{ty=PATH_STATUS_AVAILABLE path=0}: noq_proto::connection::paths: remote changed path status status=Available seq=2 +2026-10-11T17:31:22.420585Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: e40b446b91a68ee1 +2026-10-11T17:31:22.420697Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(11defc898332fcd5) msg="(nat-traversal)" +2026-10-11T17:31:22.420740Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:22.420772Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.2, 39201) len=35 +2026-10-11T17:31:22.423975Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(f079d334f26c28e2) msg="(nat-traversal)" +2026-10-11T17:31:22.424082Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:22.424469Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:127.0.0.1, 39201) len=35 +2026-10-11T17:31:22.424777Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(b637f54fca15cdcb) msg="(nat-traversal)" +2026-10-11T17:31:22.424832Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:22.424858Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.1, 39201) len=35 +2026-10-11T17:31:22.426503Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:22.426639Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=HANDSHAKE_DONE +2026-10-11T17:31:22.426689Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..3] delay: 3058µs +2026-10-11T17:31:22.426724Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 178 +2026-10-11T17:31:22.426748Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RETIRE_CONNECTION_ID path_id: 0 seq: 0 +2026-10-11T17:31:22.426809Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=223 +2026-10-11T17:31:22.426879Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=223 prev_segment_size=1200 +2026-10-11T17:31:22.431114Z TRACE noq_proto::connection: sending 223 bytes in 1 datagrams segment_size=223 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:39201) +2026-10-11T17:31:22.431425Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:22.431613Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1326 +2026-10-11T17:31:22.431686Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:22.431709Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:22.431721Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1298 +2026-10-11T17:31:22.431813Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1326 +2026-10-11T17:31:22.431932Z TRACE noq_proto::connection: sending 1326 bytes in 1 datagrams segment_size=1326 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:39201) +2026-10-11T17:31:22.432033Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:22.432107Z TRACE timeout{scope="conn" timer=NatTraversalProbeRetry}: noq_proto::connection: timeout +2026-10-11T17:31:22.432151Z TRACE timeout{scope="conn" timer=NatTraversalProbeRetry}: noq_proto::connection: re-queued NAT probes +2026-10-11T17:31:22.436046Z DEBUG pkt{path_id=0}: noq_proto::connection::packet_crypto: dropping unexpected packet encryption_level=Some(Handshake) bytes=227 +2026-10-11T17:31:22.436211Z DEBUG pkt{path_id=0}: noq_proto::connection::packet_crypto: dropping unexpected packet encryption_level=Some(Handshake) bytes=227 +2026-10-11T17:31:22.436280Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:39201) using id 3650487e01c20aa1 +2026-10-11T17:31:22.436459Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:22.436518Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3] delay: 86µs +2026-10-11T17:31:22.440483Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:31:22.441914Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame PATH_RESPONSE(f079d334f26c28e2) +2026-10-11T17:31:22.446055Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (40 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:39201) using id 3650487e01c20aa1 +2026-10-11T17:31:22.446611Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3,4..6] delay: 174µs +2026-10-11T17:31:22.446798Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1326 +2026-10-11T17:31:22.447019Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1389 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:39201) using id 3650487e01c20aa1 +2026-10-11T17:31:22.447092Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame PING +2026-10-11T17:31:22.447121Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:22.447477Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(1af9ed2730e0c4d9) msg="(nat-traversal)" +2026-10-11T17:31:22.447531Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:22.447566Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.1, 39201) len=35 +2026-10-11T17:31:22.450609Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(f1b8ea9f093dbed4) msg="(nat-traversal)" +2026-10-11T17:31:22.450761Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:22.450851Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:127.0.0.1, 39201) len=35 +2026-10-11T17:31:22.455349Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(4488370c9caa4c97) msg="(nat-traversal)" +2026-10-11T17:31:22.455520Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:22.455602Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.2, 39201) len=35 +2026-10-11T17:31:22.455945Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:22.461413Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [3..6] delay: 901µs +2026-10-11T17:31:22.461583Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: ddd7ad6d6b587874 +2026-10-11T17:31:22.461622Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: be82296df388c369 +2026-10-11T17:31:22.461638Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 6900a173026b143d +2026-10-11T17:31:22.461652Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 77bae565fa35af2c +2026-10-11T17:31:22.461666Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: 377c7164bc21df27 +2026-10-11T17:31:22.461681Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 231242c3a5cf3b33 +2026-10-11T17:31:22.461695Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: f464d8901d400e6e +2026-10-11T17:31:22.461707Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 97a63ece79db83a2 +2026-10-11T17:31:22.461722Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 232d378a74371eb9 +2026-10-11T17:31:22.461736Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 7e08cdf37a9f2bc7 +2026-10-11T17:31:22.461760Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: 38cda4ee27766f94 +2026-10-11T17:31:22.461772Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 469b4395be224e13 +2026-10-11T17:31:22.461784Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 54844b32b51af655 +2026-10-11T17:31:22.461796Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 825862f2722a1a40 +2026-10-11T17:31:22.461807Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 6b6ad91aaaf15844 +2026-10-11T17:31:22.461819Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: bc92479919337c7b +2026-10-11T17:31:22.461830Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 581f0fbce545a123 +2026-10-11T17:31:22.461843Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 5a5e6d1f268ac6fc +2026-10-11T17:31:22.461857Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: a5de83bbb5c38f34 +2026-10-11T17:31:22.461868Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: ecddcff267a146ca +2026-10-11T17:31:22.461880Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 3c2c0dcad7376453 +2026-10-11T17:31:22.461908Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 2b85408dca1f3abb +2026-10-11T17:31:22.461930Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 63f1d182ac2d1848 +2026-10-11T17:31:22.461948Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: bd743ae4580f4004 +2026-10-11T17:31:22.461965Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 53a59add1ddb8500 +2026-10-11T17:31:22.461980Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: a923615a0284ab02 +2026-10-11T17:31:22.461993Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: 1a8aa6e3a7a2c899 +2026-10-11T17:31:22.462006Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: 27190cf526d0db97 +2026-10-11T17:31:22.462018Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: b28a41a68034386e +2026-10-11T17:31:22.462029Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: fdece7edc2c16633 +2026-10-11T17:31:22.462041Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: a9debf229faf0e35 +2026-10-11T17:31:22.462054Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: 405e8d4e720e3525 +2026-10-11T17:31:22.462067Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 5f0905ace21e39b4 +2026-10-11T17:31:22.462087Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: ebe549bfa2d47ea3 +2026-10-11T17:31:22.462104Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: a9c40df33b848bad +2026-10-11T17:31:22.462187Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1086 +2026-10-11T17:31:22.462289Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1086 prev_segment_size=1326 +2026-10-11T17:31:22.462332Z TRACE noq_proto::connection: sending 1086 bytes in 1 datagrams segment_size=1086 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:39201) +2026-10-11T17:31:22.462612Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:22.462723Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1389 +2026-10-11T17:31:22.462767Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:22.462787Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:22.462803Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1361 +2026-10-11T17:31:22.462859Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1389 +2026-10-11T17:31:22.462951Z TRACE noq_proto::connection: sending 1389 bytes in 1 datagrams segment_size=1389 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:39201) +2026-10-11T17:31:22.463119Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:22.463493Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:39201) using id 3650487e01c20aa1 +2026-10-11T17:31:22.463692Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 5 id: 4840b9eb77da7979 +2026-10-11T17:31:22.463825Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 10.200.0.1, remote: [::ffff:10.200.0.1]:39201) using id 3650487e01c20aa1 +2026-10-11T17:31:22.463893Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_RESPONSE(1af9ed2730e0c4d9) +2026-10-11T17:31:22.463959Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_CHALLENGE(b615102dba1539d0) +2026-10-11T17:31:22.464214Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:39201) using id 3650487e01c20aa1 +2026-10-11T17:31:22.464288Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:22.464361Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..1,2..3,4..8] delay: 74µs +2026-10-11T17:31:22.464444Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: got frame PATH_RESPONSE(f1b8ea9f093dbed4) +2026-10-11T17:31:22.464713Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:39201) using id 3650487e01c20aa1 +2026-10-11T17:31:22.466854Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_RESPONSE(4488370c9caa4c97) +2026-10-11T17:31:22.467019Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_CHALLENGE(3d1b402317495ffa) +2026-10-11T17:31:22.467376Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(3d1b402317495ffa) msg="(off-path)" +2026-10-11T17:31:22.467420Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1165 +2026-10-11T17:31:22.467471Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:22.467508Z TRACE noq_proto::connection: sending off-path PATH_RESPONSE dst=[::ffff:10.200.0.2]:39201 src=Some(10.200.0.2) len=1200 +2026-10-11T17:31:22.468076Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(b615102dba1539d0) msg="(off-path)" +2026-10-11T17:31:22.468132Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1165 +2026-10-11T17:31:22.468171Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:22.468202Z TRACE noq_proto::connection: sending off-path PATH_RESPONSE dst=[::ffff:10.200.0.1]:39201 src=Some(10.200.0.1) len=1200 +2026-10-11T17:31:22.468386Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:22.468452Z TRACE send{space=Data pn=13 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [3..10] delay: 950µs +2026-10-11T17:31:22.468539Z TRACE send{space=Data pn=13 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=36 +2026-10-11T17:31:22.468572Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=36 prev_segment_size=1326 +2026-10-11T17:31:22.468593Z TRACE noq_proto::connection: sending 36 bytes in 1 datagrams segment_size=36 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:39201) +2026-10-11T17:31:22.468724Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:22.468819Z TRACE timeout{scope="conn" timer=NatTraversalProbeRetry}: noq_proto::connection: timeout +2026-10-11T17:31:22.468866Z TRACE timeout{scope="conn" timer=NatTraversalProbeRetry}: noq_proto::connection: no more NAT probes remaining +2026-10-11T17:31:22.469022Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:22.469565Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(135241943565600) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:53709, 10.200.0.2:53709, 127.0.0.1:53709} +2026-10-11T17:31:22.469750Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(135241943565600) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:31:22.470121Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:31:22.470170Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:31:22.470265Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:31:22.470443Z TRACE noq_proto::connection: connection closed +2026-10-11T17:31:22.470481Z TRACE noq_proto::connection::state: connection state: closed remote_reason=Application(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) is_local=true +2026-10-11T17:31:22.471008Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:22.471120Z TRACE send{space=Data pn=14 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:22.471191Z TRACE send{space=Data pn=14 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [3..10] delay: 1397µs +2026-10-11T17:31:22.471248Z TRACE send{space=Data pn=14 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=4097 reason='not on allowlist' +2026-10-11T17:31:22.471325Z TRACE send{space=Data pn=14 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:22.471440Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=1326 last_datagram_len=56 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:39201) +2026-10-11T17:31:22.472995Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:31:22.473206Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:39201)/Active"] +2026-10-11T17:31:22.474104Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (36 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:39201) using id 3650487e01c20aa1 +2026-10-11T17:31:22.474345Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: processing frame in closed state frame=PathAck(PathAck { path_id: PathId(0), largest: 10, delay: 446, ranges: [6..11], ecn: Some(EcnCounts { ect0: 5, ect1: 0, ce: 0 }) }) +2026-10-11T17:31:22.474506Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:22.474538Z TRACE send{space=Data pn=15 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:22.474570Z TRACE send{space=Data pn=15 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [3..10] delay: 1845µs +2026-10-11T17:31:22.474603Z TRACE send{space=Data pn=15 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=4097 reason='not on allowlist' +2026-10-11T17:31:22.474632Z TRACE send{space=Data pn=15 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:22.474656Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=1326 last_datagram_len=56 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:39201) +2026-10-11T17:31:22.475184Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1420 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:39201) using id 3650487e01c20aa1 +2026-10-11T17:31:22.475539Z TRACE pkt{path_id=0}:recv{space=Data pn=11}: noq_proto::connection: processing frame in closed state frame=Ping +2026-10-11T17:31:22.475566Z TRACE pkt{path_id=0}:recv{space=Data pn=11}: noq_proto::connection: processing frame in closed state frame=ImmediateAck +2026-10-11T17:31:22.475816Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:22.475846Z TRACE send{space=Data pn=16 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:22.476240Z TRACE send{space=Data pn=16 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [3..10] delay: 2010µs +2026-10-11T17:31:22.476506Z TRACE send{space=Data pn=16 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=4097 reason='not on allowlist' +2026-10-11T17:31:22.476575Z TRACE send{space=Data pn=16 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:22.476621Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=1326 last_datagram_len=56 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:39201) +2026-10-11T17:31:22.479306Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (40 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:39201) using id 3650487e01c20aa1 +2026-10-11T17:31:22.479602Z TRACE pkt{path_id=0}:recv{space=Data pn=12}: noq_proto::connection: processing frame in closed state frame=PathAck(PathAck { path_id: PathId(0), largest: 14, delay: 496, ranges: [8..15], ecn: Some(EcnCounts { ect0: 7, ect1: 0, ce: 0 }) }) +2026-10-11T17:31:22.479670Z TRACE pkt{path_id=0}:recv{space=Data pn=12}: noq_proto::connection: processing frame in closed state frame=Close(Connection(ConnectionClose { error_code: NO_ERROR, frame_type: None, reason: b"" })) +2026-10-11T17:31:22.479735Z TRACE pkt{path_id=0}:recv{space=Data pn=12}: noq_proto::connection::state: connection state: draining diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-08/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-08/client.log new file mode 100644 index 0000000000..1d9a6de652 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-08/client.log @@ -0,0 +1,238 @@ +2026-10-11T17:31:23.472725Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:40360] +2026-10-11T17:31:23.478261Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:31:23.478449Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:31:23.478595Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:31:23.478614Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:31:23.478639Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:31:23.481972Z TRACE noq_proto::endpoint: initial_dcid=e20e1c96185a09a8e6a629029aee8a8b50cbe4ab +2026-10-11T17:31:23.483110Z TRACE noq_proto::token_memory_cache: taking token server_name=ha4e7nbk17opbvaircmjpeiteb56e2dv3ma146vjei403d0fdte0.iroh.invalid found=false +2026-10-11T17:31:23.483716Z TRACE noq_proto::connection: wrote 290 Initial CRYPTO bytes +2026-10-11T17:31:23.484420Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:23.484687Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 290 +2026-10-11T17:31:23.484752Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 851 +2026-10-11T17:31:23.484800Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:23.484929Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: , remote: [fd15:70a:510b:0:c90f:6c9c:fcc4:d57e]:12345) +2026-10-11T17:31:23.485101Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:23.485303Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:40360)] +2026-10-11T17:31:23.496282Z TRACE pkt{path_id=0}: noq_proto::connection: got Initial packet (146 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40360) using id 9902c4113ef9d7f8 +2026-10-11T17:31:23.496462Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: server migrated to new remote network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40360) prev=(local: , remote: [fd15:70a:510b:0:c90f:6c9c:fcc4:d57e]:12345) +2026-10-11T17:31:23.496528Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: switching remote CID to 52cdfb33282d8170 +2026-10-11T17:31:23.496559Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection::state: connection state: handshake +2026-10-11T17:31:23.496778Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 90 CRYPTO bytes +2026-10-11T17:31:23.497637Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: Handshake keys ready +2026-10-11T17:31:23.497745Z TRACE pkt{path_id=0}: noq_proto::connection: got Handshake packet (1054 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40360) using id 9902c4113ef9d7f8 +2026-10-11T17:31:23.497878Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 378 CRYPTO bytes +2026-10-11T17:31:23.533125Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: Data keys ready +2026-10-11T17:31:23.533348Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: wrote 181 Handshake CRYPTO bytes +2026-10-11T17:31:23.533467Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: negotiated max idle timeout Some(30s) +2026-10-11T17:31:23.533525Z DEBUG pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:31:23.533553Z DEBUG pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:31:23.533587Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection::state: connection state: established +2026-10-11T17:31:23.533604Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: established +2026-10-11T17:31:23.533775Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (138 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40360) using id 9902c4113ef9d7f8 +2026-10-11T17:31:23.534582Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 1 id: 13e821656254c6f2 +2026-10-11T17:31:23.534669Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 2 id: b73fc718d1ce1a2a +2026-10-11T17:31:23.534697Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 3 id: 99c0105230d23e06 +2026-10-11T17:31:23.534721Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 4 id: 47b4559e7f6cb709 +2026-10-11T17:31:23.534828Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:23.534941Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 4894µs +2026-10-11T17:31:23.534997Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection: will coalesce with next packet +2026-10-11T17:31:23.535044Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=52 +2026-10-11T17:31:23.535076Z TRACE noq_proto::connection: discarding Initial keys +2026-10-11T17:31:23.535135Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 4894µs +2026-10-11T17:31:23.535157Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 181 +2026-10-11T17:31:23.535189Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 912 +2026-10-11T17:31:23.535212Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1148 +2026-10-11T17:31:23.535250Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:23.535262Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40360) +2026-10-11T17:31:23.535451Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:23.535466Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:23.535510Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1326 +2026-10-11T17:31:23.535529Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:23.535543Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:23.535555Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1298 +2026-10-11T17:31:23.535579Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1326 +2026-10-11T17:31:23.535608Z TRACE noq_proto::connection: sending 1326 bytes in 1 datagrams segment_size=1326 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40360) +2026-10-11T17:31:23.535659Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:23.535673Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:23.541323Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(94620343168992) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:42692, 10.200.0.2:42692, 127.0.0.1:42692} +2026-10-11T17:31:23.541722Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(94620343168992) send_tasks=FuturesUnorderedBounded { len: 0, .. }}:do_holepunching: noq_proto::n0_nat_traversal: initiating NAT traversal round round=1 reach_out=3 to_probe=0 +2026-10-11T17:31:23.542107Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:23.542157Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:23.542227Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 10.200.0.2:42692 +2026-10-11T17:31:23.542255Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 127.0.0.1:42692 +2026-10-11T17:31:23.542266Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 10.200.0.1:42692 +2026-10-11T17:31:23.542285Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:23.542344Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 1 id: 6924a4e73b2a9708 +2026-10-11T17:31:23.542366Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 2 id: bfde1e4b6a8cf74f +2026-10-11T17:31:23.542380Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 3 id: c56af613c5606615 +2026-10-11T17:31:23.542393Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 4 id: fc768e31d6630af1 +2026-10-11T17:31:23.542406Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: f763fce689c8aa0a +2026-10-11T17:31:23.542421Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: 679cb3c10b24c876 +2026-10-11T17:31:23.542434Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: fc523f866dd569f4 +2026-10-11T17:31:23.542446Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 8310388d9ba9678b +2026-10-11T17:31:23.542458Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: 606a5085552fff5e +2026-10-11T17:31:23.542470Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: bd0e31fdf143af74 +2026-10-11T17:31:23.542482Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: 59bbc64eefa79035 +2026-10-11T17:31:23.542494Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: e9b086d691dc5ad0 +2026-10-11T17:31:23.542506Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 4f01943bef892c2f +2026-10-11T17:31:23.542518Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 1dab0c48001d2de8 +2026-10-11T17:31:23.542530Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: 499d81081dd9b72d +2026-10-11T17:31:23.542543Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: d231ee2b5c850f66 +2026-10-11T17:31:23.542564Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: c87fc8f7aee181a6 +2026-10-11T17:31:23.542605Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 7543828a338d8e5e +2026-10-11T17:31:23.542617Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 7b64592507456af1 +2026-10-11T17:31:23.542628Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: 830fe5dc9f8e43ef +2026-10-11T17:31:23.542643Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: ce7c47df8b106c0d +2026-10-11T17:31:23.542655Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 145a2a9d35f518d3 +2026-10-11T17:31:23.542667Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: e64891e0b4a9d051 +2026-10-11T17:31:23.542680Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 65b744ecbe1cc82b +2026-10-11T17:31:23.542693Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: f832f1637bd1ee0f +2026-10-11T17:31:23.542705Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 5dc026a97846ed0a +2026-10-11T17:31:23.542720Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: da15d3c548371f4d +2026-10-11T17:31:23.542734Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: f8fd169c4fcc705a +2026-10-11T17:31:23.542748Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: d43988a6b1fbbb04 +2026-10-11T17:31:23.542763Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 1b04e7cc6e7d95c3 +2026-10-11T17:31:23.542778Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: 8302dde9b116bfd1 +2026-10-11T17:31:23.542790Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: b0e5b0e267f2f2e4 +2026-10-11T17:31:23.542803Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 10f1d5a3eabf6d86 +2026-10-11T17:31:23.542817Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: cf6c0d08e0822db6 +2026-10-11T17:31:23.542829Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 79a3b60e69cc172e +2026-10-11T17:31:23.542841Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: 667d6903f5d0cc2e +2026-10-11T17:31:23.542853Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 1eeffb867d912d6e +2026-10-11T17:31:23.542940Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1173 +2026-10-11T17:31:23.543030Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1173 prev_segment_size=1200 +2026-10-11T17:31:23.543058Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=886.908µs +2026-10-11T17:31:23.543075Z TRACE noq_proto::connection: sending 1173 bytes in 1 datagrams segment_size=1173 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40360) +2026-10-11T17:31:23.544326Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=71.29982 remote_info=["Ip(127.0.0.1:40360)/Active"] +2026-10-11T17:31:23.545086Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:23.545343Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=886.908µs +2026-10-11T17:31:23.545460Z TRACE timer_fired{scope="path" path_id=0 timer=Pacing}: noq_proto::connection: timeout +2026-10-11T17:31:23.545613Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:23.545639Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:23.545740Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 865dcf21f9e3c238 +2026-10-11T17:31:23.545786Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 969d2d9854e54cd6 +2026-10-11T17:31:23.545858Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=86 +2026-10-11T17:31:23.547135Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=86 prev_segment_size=1200 +2026-10-11T17:31:23.547214Z TRACE noq_proto::connection: sending 86 bytes in 1 datagrams segment_size=86 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40360) +2026-10-11T17:31:23.548561Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:23.548654Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:23.572248Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:23.572358Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:23.572521Z TRACE timer_fired{scope="path" path_id=0 timer=LossDetection}: noq_proto::connection: timeout +2026-10-11T17:31:23.572600Z TRACE timer_fired{scope="path" path_id=0 timer=LossDetection}: noq_proto::connection: PTO fired in_flight=3733 count=0 space=Handshake path_id=0 +2026-10-11T17:31:23.572847Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:23.572957Z TRACE send{space=Handshake pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 181 +2026-10-11T17:31:23.573082Z TRACE send{space=Handshake pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=227 +2026-10-11T17:31:23.573134Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=227 prev_segment_size=1200 +2026-10-11T17:31:23.573171Z TRACE noq_proto::connection: new datagram started count=2 +2026-10-11T17:31:23.573208Z TRACE send{space=Handshake pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 181 +2026-10-11T17:31:23.573242Z TRACE send{space=Handshake pn=2 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=227 +2026-10-11T17:31:23.573279Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:23.573290Z TRACE noq_proto::connection: sending 454 bytes in 2 datagrams segment_size=227 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40360) +2026-10-11T17:31:23.573501Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:23.573520Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:23.591411Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40360) using id 6924a4e73b2a9708 +2026-10-11T17:31:23.598816Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_CHALLENGE(a4bff76f8611f914) +2026-10-11T17:31:23.599086Z TRACE pkt{path_id=0}: noq_proto::connection: discarding packet from unrecognized peer path_id=0 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:40360) known_path.network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40360) +2026-10-11T17:31:23.599143Z TRACE pkt{path_id=0}: noq_proto::connection: discarding packet from unrecognized peer path_id=0 network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:40360) known_path.network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40360) +2026-10-11T17:31:23.599224Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (223 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40360) using id 6924a4e73b2a9708 +2026-10-11T17:31:23.599329Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame HANDSHAKE_DONE +2026-10-11T17:31:23.599358Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=HANDSHAKE_DONE}: noq_proto::connection: discarding Handshake keys +2026-10-11T17:31:23.599463Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=HANDSHAKE_DONE}: noq_proto::connection: handshake confirmed +2026-10-11T17:31:23.599518Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..3] delay: 5303µs +2026-10-11T17:31:23.599583Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1326 +2026-10-11T17:31:23.599667Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame CRYPTO offset=0 len=178 +2026-10-11T17:31:23.599694Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=CRYPTO}: noq_proto::connection: consumed 178 CRYPTO bytes +2026-10-11T17:31:23.599967Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_RETIRE_CONNECTION_ID path_id: 0 seq: 0 +2026-10-11T17:31:23.600080Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1326 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40360) using id 6924a4e73b2a9708 +2026-10-11T17:31:23.600146Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame PING +2026-10-11T17:31:23.600171Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:23.600465Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40360) using id 6924a4e73b2a9708 +2026-10-11T17:31:23.600526Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_CHALLENGE(e28e1ec0a44f7d93) +2026-10-11T17:31:23.600581Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:40360) using id 6924a4e73b2a9708 +2026-10-11T17:31:23.600632Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_CHALLENGE(ed09b643a1630d39) +2026-10-11T17:31:23.600678Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 10.200.0.1, remote: [::ffff:10.200.0.1]:40360) using id 6924a4e73b2a9708 +2026-10-11T17:31:23.600721Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: got frame PATH_CHALLENGE(2fa849aa0fd64b) +2026-10-11T17:31:23.600846Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(2fa849aa0fd64b) msg="(off-path)" +2026-10-11T17:31:23.600871Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(ad05960b19eb5d64) +2026-10-11T17:31:23.600914Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1156 +2026-10-11T17:31:23.600947Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:23.600972Z TRACE noq_proto::connection: sending off-path PATH_RESPONSE dst=[::ffff:10.200.0.1]:40360 src=Some(10.200.0.1) len=1200 +2026-10-11T17:31:23.613992Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(ed09b643a1630d39) msg="(off-path)" +2026-10-11T17:31:23.614116Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(bb586219c2215cc2) +2026-10-11T17:31:23.614151Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1156 +2026-10-11T17:31:23.614256Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:23.614310Z TRACE noq_proto::connection: sending off-path PATH_RESPONSE dst=[::ffff:10.200.0.2]:40360 src=Some(10.200.0.2) len=1200 +2026-10-11T17:31:23.614597Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:23.614647Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:23.614686Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..2,4..9] delay: 979µs +2026-10-11T17:31:23.614722Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(e28e1ec0a44f7d93) +2026-10-11T17:31:23.614769Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1152 +2026-10-11T17:31:23.614803Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:23.614875Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1200 prev_segment_size=1326 +2026-10-11T17:31:23.614909Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40360) +2026-10-11T17:31:23.615004Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:23.615049Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1389 +2026-10-11T17:31:23.615071Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:23.615085Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:23.615097Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1361 +2026-10-11T17:31:23.615122Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1389 +2026-10-11T17:31:23.615158Z TRACE noq_proto::connection: sending 1389 bytes in 1 datagrams segment_size=1389 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40360) +2026-10-11T17:31:23.615214Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:23.615431Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1076 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40360) using id 6924a4e73b2a9708 +2026-10-11T17:31:23.615537Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: ccdca781cce13d03 +2026-10-11T17:31:23.615599Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: 81f022c85a0123f7 +2026-10-11T17:31:23.615631Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 4bfe014882abba7c +2026-10-11T17:31:23.615659Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 699b2e0ea778573a +2026-10-11T17:31:23.615686Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: fc0114d50b837807 +2026-10-11T17:31:23.615729Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: cc8cce2dbce3389d +2026-10-11T17:31:23.615754Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: 24eef1942c95dfa0 +2026-10-11T17:31:23.615780Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: bad816c89f6a3478 +2026-10-11T17:31:23.615823Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 5f0d8814c2cd64e9 +2026-10-11T17:31:23.615850Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 15ad63221ec80aa3 +2026-10-11T17:31:23.615878Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: f812c066aa4cea35 +2026-10-11T17:31:23.615929Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: a8e85a950d71f0bb +2026-10-11T17:31:23.615971Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 3b8e0924bde63dd8 +2026-10-11T17:31:23.615999Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 73091759e4cee04f +2026-10-11T17:31:23.616027Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 196d7271aaffb0f4 +2026-10-11T17:31:23.616058Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: d7e1cfd5560a6771 +2026-10-11T17:31:23.616087Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: de35045bca8b2324 +2026-10-11T17:31:23.616116Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 9a48fb8726ab1ca0 +2026-10-11T17:31:23.616141Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: ba65bff2317bc299 +2026-10-11T17:31:23.616171Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 4f706ead1793f74c +2026-10-11T17:31:23.616199Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 216fa33a85faab1d +2026-10-11T17:31:23.616233Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: fc5aef64f6c31e56 +2026-10-11T17:31:23.616260Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 009416fedc39e46d +2026-10-11T17:31:23.616289Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 3547434b491e21f4 +2026-10-11T17:31:23.616327Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 3cb999dc5e353eaf +2026-10-11T17:31:23.616353Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: bd743a3a6ea63dcd +2026-10-11T17:31:23.616381Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: 19533e136d244026 +2026-10-11T17:31:23.616411Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: 0ab36d71ef592a3a +2026-10-11T17:31:23.616439Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 5241d53c07b3175c +2026-10-11T17:31:23.616468Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: d5868a91606ff848 +2026-10-11T17:31:23.616496Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: df6e9e34741a883b +2026-10-11T17:31:23.616528Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: bab1bb71553ef708 +2026-10-11T17:31:23.616567Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 4ceda0e565b8ddd9 +2026-10-11T17:31:23.616595Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 59d8339ed6668da3 +2026-10-11T17:31:23.616624Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 64c8e1b7c66f5a44 +2026-10-11T17:31:23.616723Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40360) using id 6924a4e73b2a9708 +2026-10-11T17:31:23.616819Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..3] delay: 7024µs +2026-10-11T17:31:23.616878Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: got frame CONNECTION_CLOSE error_code=4097 reason='not on allowlist' +2026-10-11T17:31:23.616945Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection::state: connection state: draining +2026-10-11T17:31:23.616970Z TRACE pkt{path_id=0}: noq_proto::connection: connection closed +2026-10-11T17:31:23.617089Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:23.617138Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:23.617189Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..2,4..11] delay: 986µs +2026-10-11T17:31:23.617219Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=0 reason='' +2026-10-11T17:31:23.617249Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=42 +2026-10-11T17:31:23.617280Z TRACE noq_proto::connection: sending 42 bytes in 1 datagrams segment_size=1326 last_datagram_len=42 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40360) +2026-10-11T17:31:23.617647Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:31:23.620637Z TRACE noq_proto::endpoint: local CID retired 0: 9902c4113ef9d7f8 path_id=0 +2026-10-11T17:31:23.625549Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (40 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:40360) using id 6924a4e73b2a9708 +2026-10-11T17:31:23.629217Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=156.18325 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:40360)/Active"] +2026-10-11T17:31:23.801441Z TRACE timeout{scope="conn" timer=Close}: noq_proto::connection: timeout +2026-10-11T17:31:23.801539Z TRACE timeout{scope="conn" timer=Close}: noq_proto::connection::state: connection state: drained +2026-10-11T17:31:23.834934Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:40360)/Active"] +2026-10-11T17:31:23.835828Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:31:23.835991Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-08/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-08/ready.txt new file mode 100644 index 0000000000..b80cd994fa --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-08/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=40360 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-08/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-08/server.log new file mode 100644 index 0000000000..92bca24c65 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-08/server.log @@ -0,0 +1,228 @@ +2026-10-11T17:31:23.377436Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=40360 direct=["10.200.0.1:40360", "10.200.0.2:40360", "127.0.0.1:40360"] +2026-10-11T17:31:23.487453Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:42692) alpns=["n30/allowlist/0"] +2026-10-11T17:31:23.488383Z TRACE first recv:frame{ty=CRYPTO}: noq_proto::connection: consumed 290 CRYPTO bytes +2026-10-11T17:31:23.490719Z TRACE first recv: noq_proto::connection: Handshake keys ready +2026-10-11T17:31:23.490810Z TRACE first recv: noq_proto::connection: wrote 90 Initial CRYPTO bytes +2026-10-11T17:31:23.491998Z TRACE first recv: noq_proto::connection: Data keys ready +2026-10-11T17:31:23.492258Z TRACE first recv: noq_proto::connection: wrote 378 Handshake CRYPTO bytes +2026-10-11T17:31:23.492362Z TRACE first recv: noq_proto::connection: negotiated max idle timeout Some(30s) +2026-10-11T17:31:23.492382Z DEBUG first recv: noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:31:23.492401Z DEBUG first recv: noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:31:23.492477Z TRACE noq_proto::endpoint: new connection id=0 icid=e20e1c96185a09a8e6a629029aee8a8b50cbe4ab network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:42692) +2026-10-11T17:31:23.493372Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:23.493596Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 939µs +2026-10-11T17:31:23.493650Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 90 +2026-10-11T17:31:23.493695Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection: will coalesce with next packet +2026-10-11T17:31:23.493746Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=146 +2026-10-11T17:31:23.493837Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 378 +2026-10-11T17:31:23.493867Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 630 +2026-10-11T17:31:23.493889Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1054 +2026-10-11T17:31:23.493944Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:23.493961Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:42692) +2026-10-11T17:31:23.495216Z TRACE noq_proto::connection::paths: anti amplification budget decreased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:42692) anti_amplification_budget=2352 +2026-10-11T17:31:23.495470Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:23.495491Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:23.495514Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:23.495848Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:23.495875Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:23.495926Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=16.6056ms +2026-10-11T17:31:23.513014Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:23.513094Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:23.513123Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:23.513323Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 1 id: 13e821656254c6f2 +2026-10-11T17:31:23.513387Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 2 id: b73fc718d1ce1a2a +2026-10-11T17:31:23.513415Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 3 id: 99c0105230d23e06 +2026-10-11T17:31:23.513427Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 4 id: 47b4559e7f6cb709 +2026-10-11T17:31:23.513491Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=138 +2026-10-11T17:31:23.513575Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=138 prev_segment_size=1200 +2026-10-11T17:31:23.513598Z TRACE noq_proto::connection: sending 138 bytes in 1 datagrams segment_size=138 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:42692) +2026-10-11T17:31:23.513614Z TRACE noq_proto::connection::paths: anti amplification budget decreased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:42692) anti_amplification_budget=2214 +2026-10-11T17:31:23.513760Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:23.513776Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:23.513787Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:23.513886Z TRACE timer_fired{scope="path" path_id=0 timer=Pacing}: noq_proto::connection: timeout +2026-10-11T17:31:23.514072Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:23.514088Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:23.514100Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:23.539071Z TRACE pkt{path_id=0}: noq_proto::connection: got Initial packet (52 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:42692) using id 52cdfb33282d8170 +2026-10-11T17:31:23.539484Z TRACE pkt{path_id=0}: noq_proto::connection::paths: anti amplification budget increased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:42692) anti_amplification_budget=2370 +2026-10-11T17:31:23.539523Z TRACE pkt{path_id=0}: noq_proto::connection::paths: anti amplification budget increased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:42692) anti_amplification_budget=5814 +2026-10-11T17:31:23.539564Z TRACE pkt{path_id=0}: noq_proto::connection: got Handshake packet (1148 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:42692) using id 52cdfb33282d8170 +2026-10-11T17:31:23.539635Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: discarding Initial keys +2026-10-11T17:31:23.539761Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 181 CRYPTO bytes +2026-10-11T17:31:23.579608Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: wrote 178 Data CRYPTO bytes +2026-10-11T17:31:23.583952Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: discarding Handshake keys +2026-10-11T17:31:23.584199Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: handshake confirmed +2026-10-11T17:31:23.584224Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection::state: connection state: established +2026-10-11T17:31:23.584242Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: established +2026-10-11T17:31:23.584412Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1326 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:42692) using id 52cdfb33282d8170 +2026-10-11T17:31:23.584589Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame PING +2026-10-11T17:31:23.584627Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:23.584969Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1173 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:42692) using id 52cdfb33282d8170 +2026-10-11T17:31:23.585081Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 10.200.0.2:42692 +2026-10-11T17:31:23.585161Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 127.0.0.1:42692 +2026-10-11T17:31:23.585202Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 10.200.0.1:42692 +2026-10-11T17:31:23.585239Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:23.585271Z DEBUG pkt{path_id=0}:recv{space=Data pn=1}:frame{ty=PATH_STATUS_AVAILABLE path=0}: noq_proto::connection::paths: remote changed path status status=Available seq=2 +2026-10-11T17:31:23.585311Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 1 id: 6924a4e73b2a9708 +2026-10-11T17:31:23.585384Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 2 id: bfde1e4b6a8cf74f +2026-10-11T17:31:23.585429Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 3 id: c56af613c5606615 +2026-10-11T17:31:23.585468Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 4 id: fc768e31d6630af1 +2026-10-11T17:31:23.585502Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: f763fce689c8aa0a +2026-10-11T17:31:23.585532Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: 679cb3c10b24c876 +2026-10-11T17:31:23.585566Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: fc523f866dd569f4 +2026-10-11T17:31:23.585600Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 8310388d9ba9678b +2026-10-11T17:31:23.585637Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: 606a5085552fff5e +2026-10-11T17:31:23.585666Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: bd0e31fdf143af74 +2026-10-11T17:31:23.585698Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: 59bbc64eefa79035 +2026-10-11T17:31:23.585749Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: e9b086d691dc5ad0 +2026-10-11T17:31:23.585783Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 4f01943bef892c2f +2026-10-11T17:31:23.585817Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 1dab0c48001d2de8 +2026-10-11T17:31:23.585854Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: 499d81081dd9b72d +2026-10-11T17:31:23.585943Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: d231ee2b5c850f66 +2026-10-11T17:31:23.586008Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: c87fc8f7aee181a6 +2026-10-11T17:31:23.586046Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 7543828a338d8e5e +2026-10-11T17:31:23.586078Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 7b64592507456af1 +2026-10-11T17:31:23.586114Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: 830fe5dc9f8e43ef +2026-10-11T17:31:23.586172Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: ce7c47df8b106c0d +2026-10-11T17:31:23.586200Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 145a2a9d35f518d3 +2026-10-11T17:31:23.586230Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: e64891e0b4a9d051 +2026-10-11T17:31:23.586266Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 65b744ecbe1cc82b +2026-10-11T17:31:23.586306Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: f832f1637bd1ee0f +2026-10-11T17:31:23.586343Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 5dc026a97846ed0a +2026-10-11T17:31:23.586385Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: da15d3c548371f4d +2026-10-11T17:31:23.586423Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: f8fd169c4fcc705a +2026-10-11T17:31:23.586456Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: d43988a6b1fbbb04 +2026-10-11T17:31:23.586486Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 1b04e7cc6e7d95c3 +2026-10-11T17:31:23.586518Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: 8302dde9b116bfd1 +2026-10-11T17:31:23.586555Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: b0e5b0e267f2f2e4 +2026-10-11T17:31:23.586586Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 10f1d5a3eabf6d86 +2026-10-11T17:31:23.586620Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: cf6c0d08e0822db6 +2026-10-11T17:31:23.586654Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 79a3b60e69cc172e +2026-10-11T17:31:23.586705Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: 667d6903f5d0cc2e +2026-10-11T17:31:23.586740Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 1eeffb867d912d6e +2026-10-11T17:31:23.586857Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (86 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:42692) using id 52cdfb33282d8170 +2026-10-11T17:31:23.589553Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 865dcf21f9e3c238 +2026-10-11T17:31:23.589696Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 969d2d9854e54cd6 +2026-10-11T17:31:23.589818Z DEBUG pkt{path_id=0}: noq_proto::connection::packet_crypto: dropping unexpected packet encryption_level=Some(Handshake) bytes=227 +2026-10-11T17:31:23.589862Z DEBUG pkt{path_id=0}: noq_proto::connection::packet_crypto: dropping unexpected packet encryption_level=Some(Handshake) bytes=227 +2026-10-11T17:31:23.589990Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(a4bff76f8611f914) msg="(nat-traversal)" +2026-10-11T17:31:23.590061Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:23.590107Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:127.0.0.1, 42692) len=35 +2026-10-11T17:31:23.590330Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(913c2592c6508648) msg="(nat-traversal)" +2026-10-11T17:31:23.590365Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:23.590392Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.2, 42692) len=35 +2026-10-11T17:31:23.590458Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(b97e6797cfdb8aad) msg="(nat-traversal)" +2026-10-11T17:31:23.590487Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:23.590513Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.1, 42692) len=35 +2026-10-11T17:31:23.590594Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:23.590634Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=HANDSHAKE_DONE +2026-10-11T17:31:23.590679Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..3] delay: 5303µs +2026-10-11T17:31:23.590720Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 178 +2026-10-11T17:31:23.590753Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RETIRE_CONNECTION_ID path_id: 0 seq: 0 +2026-10-11T17:31:23.590795Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=223 +2026-10-11T17:31:23.590855Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=223 prev_segment_size=1200 +2026-10-11T17:31:23.590876Z TRACE noq_proto::connection: sending 223 bytes in 1 datagrams segment_size=223 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:42692) +2026-10-11T17:31:23.590952Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:23.591011Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1326 +2026-10-11T17:31:23.591035Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:23.591050Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:23.591062Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1298 +2026-10-11T17:31:23.591088Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1326 +2026-10-11T17:31:23.591123Z TRACE noq_proto::connection: sending 1326 bytes in 1 datagrams segment_size=1326 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:42692) +2026-10-11T17:31:23.591190Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:23.591258Z TRACE timeout{scope="conn" timer=NatTraversalProbeRetry}: noq_proto::connection: timeout +2026-10-11T17:31:23.591287Z TRACE timeout{scope="conn" timer=NatTraversalProbeRetry}: noq_proto::connection: re-queued NAT probes +2026-10-11T17:31:23.592048Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:31:23.592158Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(e28e1ec0a44f7d93) msg="(nat-traversal)" +2026-10-11T17:31:23.592220Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:23.592259Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:127.0.0.1, 42692) len=35 +2026-10-11T17:31:23.592395Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(ed09b643a1630d39) msg="(nat-traversal)" +2026-10-11T17:31:23.592439Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:23.592489Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.2, 42692) len=35 +2026-10-11T17:31:23.592565Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(2fa849aa0fd64b) msg="(nat-traversal)" +2026-10-11T17:31:23.592592Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:23.592615Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.1, 42692) len=35 +2026-10-11T17:31:23.592680Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=1.464856ms +2026-10-11T17:31:23.596725Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:23.597216Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: ccdca781cce13d03 +2026-10-11T17:31:23.597312Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: 81f022c85a0123f7 +2026-10-11T17:31:23.597330Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 4bfe014882abba7c +2026-10-11T17:31:23.597342Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 699b2e0ea778573a +2026-10-11T17:31:23.597355Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: fc0114d50b837807 +2026-10-11T17:31:23.597370Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: cc8cce2dbce3389d +2026-10-11T17:31:23.597382Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: 24eef1942c95dfa0 +2026-10-11T17:31:23.597395Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: bad816c89f6a3478 +2026-10-11T17:31:23.597407Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 5f0d8814c2cd64e9 +2026-10-11T17:31:23.597420Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 15ad63221ec80aa3 +2026-10-11T17:31:23.597433Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: f812c066aa4cea35 +2026-10-11T17:31:23.597446Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: a8e85a950d71f0bb +2026-10-11T17:31:23.597458Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 3b8e0924bde63dd8 +2026-10-11T17:31:23.597470Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 73091759e4cee04f +2026-10-11T17:31:23.597483Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 196d7271aaffb0f4 +2026-10-11T17:31:23.597495Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: d7e1cfd5560a6771 +2026-10-11T17:31:23.597508Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: de35045bca8b2324 +2026-10-11T17:31:23.597522Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 9a48fb8726ab1ca0 +2026-10-11T17:31:23.597536Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: ba65bff2317bc299 +2026-10-11T17:31:23.597550Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 4f706ead1793f74c +2026-10-11T17:31:23.597578Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 216fa33a85faab1d +2026-10-11T17:31:23.597591Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: fc5aef64f6c31e56 +2026-10-11T17:31:23.597604Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 009416fedc39e46d +2026-10-11T17:31:23.597617Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 3547434b491e21f4 +2026-10-11T17:31:23.597631Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 3cb999dc5e353eaf +2026-10-11T17:31:23.597643Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: bd743a3a6ea63dcd +2026-10-11T17:31:23.597655Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: 19533e136d244026 +2026-10-11T17:31:23.597670Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: 0ab36d71ef592a3a +2026-10-11T17:31:23.597683Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 5241d53c07b3175c +2026-10-11T17:31:23.597698Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: d5868a91606ff848 +2026-10-11T17:31:23.597714Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: df6e9e34741a883b +2026-10-11T17:31:23.597730Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: bab1bb71553ef708 +2026-10-11T17:31:23.597744Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 4ceda0e565b8ddd9 +2026-10-11T17:31:23.597763Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 59d8339ed6668da3 +2026-10-11T17:31:23.597777Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 64c8e1b7c66f5a44 +2026-10-11T17:31:23.597865Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1076 +2026-10-11T17:31:23.597973Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1076 prev_segment_size=1200 +2026-10-11T17:31:23.598019Z TRACE noq_proto::connection: sending 1076 bytes in 1 datagrams segment_size=1076 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:42692) +2026-10-11T17:31:23.598188Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:23.598274Z TRACE timer_fired{scope="path" path_id=0 timer=Pacing}: noq_proto::connection: timeout +2026-10-11T17:31:23.598418Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:23.601753Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(123165435053088) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:40360, 10.200.0.2:40360, 127.0.0.1:40360} +2026-10-11T17:31:23.602066Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(123165435053088) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:31:23.602389Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:31:23.602423Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:31:23.602508Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:31:23.602582Z TRACE noq_proto::connection: connection closed +2026-10-11T17:31:23.602654Z TRACE noq_proto::connection::state: connection state: closed remote_reason=Application(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) is_local=true +2026-10-11T17:31:23.603074Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:31:23.603174Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:42692)/Active"] +2026-10-11T17:31:23.603300Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 10.200.0.1, remote: [::ffff:10.200.0.1]:42692) using id 52cdfb33282d8170 +2026-10-11T17:31:23.603436Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: processing frame in closed state frame=PathResponse(PathResponse(13414358244644427)) +2026-10-11T17:31:23.603471Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: processing frame in closed state frame=PathChallenge(PathChallenge(12467536117868748132)) +2026-10-11T17:31:23.603768Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:23.603845Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:23.608392Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..3] delay: 7024µs +2026-10-11T17:31:23.608720Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=4097 reason='not on allowlist' +2026-10-11T17:31:23.608797Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:23.608869Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=1200 last_datagram_len=56 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:42692) +2026-10-11T17:31:23.618162Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:42692) using id 52cdfb33282d8170 +2026-10-11T17:31:23.618345Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: processing frame in closed state frame=PathResponse(PathResponse(17080383463366004025)) +2026-10-11T17:31:23.618377Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: processing frame in closed state frame=PathChallenge(PathChallenge(13499647745813732546)) +2026-10-11T17:31:23.618621Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:42692) using id 52cdfb33282d8170 +2026-10-11T17:31:23.618667Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: processing frame in closed state frame=ImmediateAck +2026-10-11T17:31:23.618696Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: processing frame in closed state frame=PathAck(PathAck { path_id: PathId(0), largest: 8, delay: 979, ranges: [0..2,4..9], ecn: Some(EcnCounts { ect0: 3, ect1: 0, ce: 0 }) }) +2026-10-11T17:31:23.618721Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: processing frame in closed state frame=PathResponse(PathResponse(16325019512003853715)) +2026-10-11T17:31:23.618983Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1389 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:42692) using id 52cdfb33282d8170 +2026-10-11T17:31:23.619047Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: processing frame in closed state frame=Ping +2026-10-11T17:31:23.619065Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: processing frame in closed state frame=ImmediateAck +2026-10-11T17:31:23.619326Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (42 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:42692) using id 52cdfb33282d8170 +2026-10-11T17:31:23.619382Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: processing frame in closed state frame=PathAck(PathAck { path_id: PathId(0), largest: 10, delay: 986, ranges: [0..2,4..11], ecn: Some(EcnCounts { ect0: 5, ect1: 0, ce: 0 }) }) +2026-10-11T17:31:23.619407Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: processing frame in closed state frame=Close(Connection(ConnectionClose { error_code: NO_ERROR, frame_type: None, reason: b"" })) +2026-10-11T17:31:23.619445Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection::state: connection state: draining +2026-10-11T17:31:23.619545Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:23.619591Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:23.619628Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..3] delay: 9000µs +2026-10-11T17:31:23.619668Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=0 reason='' +2026-10-11T17:31:23.619700Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=40 +2026-10-11T17:31:23.619740Z TRACE noq_proto::connection: sending 40 bytes in 1 datagrams segment_size=1200 last_datagram_len=40 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:42692) +2026-10-11T17:31:24.019078Z TRACE timeout{scope="conn" timer=Close}: noq_proto::connection: timeout +2026-10-11T17:31:24.019173Z TRACE timeout{scope="conn" timer=Close}: noq_proto::connection::state: connection state: drained diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-09/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-09/client.log new file mode 100644 index 0000000000..279146a4cf --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-09/client.log @@ -0,0 +1,254 @@ +2026-10-11T17:31:24.622260Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:54225] +2026-10-11T17:31:24.623263Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:31:24.623490Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:31:24.623647Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:31:24.623665Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:31:24.623692Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:31:24.624777Z TRACE noq_proto::endpoint: initial_dcid=210bb81ffd3814b73a758e7766768b36bd163ba8 +2026-10-11T17:31:24.625622Z TRACE noq_proto::token_memory_cache: taking token server_name=ha4e7nbk17opbvaircmjpeiteb56e2dv3ma146vjei403d0fdte0.iroh.invalid found=false +2026-10-11T17:31:24.626061Z TRACE noq_proto::connection: wrote 281 Initial CRYPTO bytes +2026-10-11T17:31:24.628571Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:24.628873Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 281 +2026-10-11T17:31:24.628974Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 860 +2026-10-11T17:31:24.629055Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:24.629152Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: , remote: [fd15:70a:510b:0:4193:5200:ac95:385]:12345) +2026-10-11T17:31:24.629294Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:24.629482Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:54225)] +2026-10-11T17:31:24.654827Z TRACE pkt{path_id=0}: noq_proto::connection: got Initial packet (146 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:54225) using id 943f33750205189f +2026-10-11T17:31:24.655104Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: server migrated to new remote network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:54225) prev=(local: , remote: [fd15:70a:510b:0:4193:5200:ac95:385]:12345) +2026-10-11T17:31:24.655182Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: switching remote CID to c4621b4f54e1fd4d +2026-10-11T17:31:24.655219Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection::state: connection state: handshake +2026-10-11T17:31:24.655452Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 90 CRYPTO bytes +2026-10-11T17:31:24.663349Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: Handshake keys ready +2026-10-11T17:31:24.663474Z TRACE pkt{path_id=0}: noq_proto::connection: got Handshake packet (1054 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:54225) using id 943f33750205189f +2026-10-11T17:31:24.663617Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 378 CRYPTO bytes +2026-10-11T17:31:24.692369Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: Data keys ready +2026-10-11T17:31:24.692543Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: wrote 181 Handshake CRYPTO bytes +2026-10-11T17:31:24.692641Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: negotiated max idle timeout Some(30s) +2026-10-11T17:31:24.692683Z DEBUG pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:31:24.692704Z DEBUG pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:31:24.692741Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection::state: connection state: established +2026-10-11T17:31:24.692757Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: established +2026-10-11T17:31:24.692887Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (138 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:54225) using id 943f33750205189f +2026-10-11T17:31:24.697647Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 1 id: 36b29252d044d0e9 +2026-10-11T17:31:24.697752Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 2 id: 705afac8524db77c +2026-10-11T17:31:24.697779Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 3 id: d175e64a06ada3f8 +2026-10-11T17:31:24.697802Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 4 id: a7931b90cb165405 +2026-10-11T17:31:24.697956Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:24.698045Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 5455µs +2026-10-11T17:31:24.698127Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection: will coalesce with next packet +2026-10-11T17:31:24.698185Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=52 +2026-10-11T17:31:24.698229Z TRACE noq_proto::connection: discarding Initial keys +2026-10-11T17:31:24.698296Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 5455µs +2026-10-11T17:31:24.698320Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 181 +2026-10-11T17:31:24.698361Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 912 +2026-10-11T17:31:24.698388Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1148 +2026-10-11T17:31:24.698432Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:24.698445Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:54225) +2026-10-11T17:31:24.704122Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:24.704256Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:24.704408Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1326 +2026-10-11T17:31:24.704472Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:24.704505Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:24.704519Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1298 +2026-10-11T17:31:24.704604Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1326 +2026-10-11T17:31:24.704719Z TRACE noq_proto::connection: sending 1326 bytes in 1 datagrams segment_size=1326 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:54225) +2026-10-11T17:31:24.704976Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:24.705007Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:24.707867Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:24.708047Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:24.708321Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 1 id: ab80b529dabaf192 +2026-10-11T17:31:24.708397Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 2 id: f84a4b0ad17eb6dc +2026-10-11T17:31:24.708413Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 3 id: 2296ce6c50bd96e7 +2026-10-11T17:31:24.708426Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 4 id: 8b9c42afb8aa9096 +2026-10-11T17:31:24.708441Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: 8a8a238b869800f8 +2026-10-11T17:31:24.708458Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: f830f77e1edc55ae +2026-10-11T17:31:24.708472Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: aca6adc547bf1ecd +2026-10-11T17:31:24.708486Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: d380c969bda5c130 +2026-10-11T17:31:24.708499Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: 44a244aab295ca60 +2026-10-11T17:31:24.708514Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 3f3b9a716ab0f3ac +2026-10-11T17:31:24.708528Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: 65a14e8f4e75680f +2026-10-11T17:31:24.708543Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 035f4ddac5a88ffd +2026-10-11T17:31:24.708556Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 86fcd1090676370a +2026-10-11T17:31:24.708569Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 246bdff36adb8f9c +2026-10-11T17:31:24.708583Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: 9753b265bed8f6e9 +2026-10-11T17:31:24.708596Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 2ac0ae3478b41af2 +2026-10-11T17:31:24.708610Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 5482d6215bc43509 +2026-10-11T17:31:24.708631Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: b11e2deedf634940 +2026-10-11T17:31:24.708645Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 6825ea37e1685e53 +2026-10-11T17:31:24.708659Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: d5863009817704c8 +2026-10-11T17:31:24.708673Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: c1a8a53c4eef2826 +2026-10-11T17:31:24.708687Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: c234fe77e3736a74 +2026-10-11T17:31:24.708701Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: 97139a10bf0d0dc4 +2026-10-11T17:31:24.708720Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 4eb87acb4e81c26e +2026-10-11T17:31:24.708735Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 7240091c9174dcb0 +2026-10-11T17:31:24.708753Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 5316bdabdbd016f4 +2026-10-11T17:31:24.708768Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: fbab3d3d6a4db70f +2026-10-11T17:31:24.708782Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 3ad2d9664b17feaa +2026-10-11T17:31:24.708795Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 2a3dd33bea58cdab +2026-10-11T17:31:24.708809Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 1fb2d897fcba969e +2026-10-11T17:31:24.708822Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: c45b9a615fe28df8 +2026-10-11T17:31:24.708836Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: c26235689b0fc150 +2026-10-11T17:31:24.708850Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 36c582b269e209f0 +2026-10-11T17:31:24.708865Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: 4711d52f8110248c +2026-10-11T17:31:24.708879Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 13da3681d6d1232c +2026-10-11T17:31:24.708904Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: e266c3515483c024 +2026-10-11T17:31:24.708924Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 6e408d104ef5e278 +2026-10-11T17:31:24.708938Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 50e938081a12889e +2026-10-11T17:31:24.709031Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1166 +2026-10-11T17:31:24.709153Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1166 prev_segment_size=1200 +2026-10-11T17:31:24.709181Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=2.012344ms +2026-10-11T17:31:24.709201Z TRACE noq_proto::connection: sending 1166 bytes in 1 datagrams segment_size=1166 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:54225) +2026-10-11T17:31:24.715093Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:24.715248Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=2.012344ms +2026-10-11T17:31:24.715417Z TRACE timer_fired{scope="path" path_id=0 timer=Pacing}: noq_proto::connection: timeout +2026-10-11T17:31:24.715652Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:24.715682Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:24.715791Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 5a57dd1986b8a473 +2026-10-11T17:31:24.715918Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:24.716000Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=56 prev_segment_size=1200 +2026-10-11T17:31:24.716040Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=56 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:54225) +2026-10-11T17:31:24.716774Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:24.716813Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:24.717627Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(105769894281152) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:60481, 10.200.0.2:60481, 127.0.0.1:60481} +2026-10-11T17:31:24.718178Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(105769894281152) send_tasks=FuturesUnorderedBounded { len: 0, .. }}:do_holepunching: noq_proto::n0_nat_traversal: initiating NAT traversal round round=1 reach_out=3 to_probe=0 +2026-10-11T17:31:24.719170Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=96.71342700000001 remote_info=["Ip(127.0.0.1:54225)/Active"] +2026-10-11T17:31:24.719383Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:24.719433Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:24.719608Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 10.200.0.1:60481 +2026-10-11T17:31:24.719684Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 10.200.0.2:60481 +2026-10-11T17:31:24.719698Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 127.0.0.1:60481 +2026-10-11T17:31:24.719729Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:24.719854Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=63 +2026-10-11T17:31:24.719964Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=63 prev_segment_size=1200 +2026-10-11T17:31:24.720001Z TRACE noq_proto::connection: sending 63 bytes in 1 datagrams segment_size=63 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:54225) +2026-10-11T17:31:24.720592Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:24.720635Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:24.748378Z TRACE pkt{path_id=0}: noq_proto::connection: discarding packet from unrecognized peer path_id=0 network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:54225) known_path.network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:54225) +2026-10-11T17:31:24.748563Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:24.748594Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:24.753492Z TRACE pkt{path_id=0}: noq_proto::connection: discarding packet from unrecognized peer path_id=0 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:54225) known_path.network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:54225) +2026-10-11T17:31:24.753671Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:54225) using id ab80b529dabaf192 +2026-10-11T17:31:24.753846Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame PATH_CHALLENGE(39fcbdb2c1206cae) +2026-10-11T17:31:24.753934Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (223 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:54225) using id ab80b529dabaf192 +2026-10-11T17:31:24.753993Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame HANDSHAKE_DONE +2026-10-11T17:31:24.754017Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=HANDSHAKE_DONE}: noq_proto::connection: discarding Handshake keys +2026-10-11T17:31:24.754130Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=HANDSHAKE_DONE}: noq_proto::connection: handshake confirmed +2026-10-11T17:31:24.754181Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..4] delay: 3260µs +2026-10-11T17:31:24.754249Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1326 +2026-10-11T17:31:24.754348Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame CRYPTO offset=0 len=178 +2026-10-11T17:31:24.754378Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=CRYPTO}: noq_proto::connection: consumed 178 CRYPTO bytes +2026-10-11T17:31:24.754625Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_RETIRE_CONNECTION_ID path_id: 0 seq: 0 +2026-10-11T17:31:24.754764Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:24.754814Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:24.754850Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..1,3..5] delay: 216µs +2026-10-11T17:31:24.754882Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(39fcbdb2c1206cae) +2026-10-11T17:31:24.754944Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1152 +2026-10-11T17:31:24.754996Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:24.755041Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1200 prev_segment_size=1326 +2026-10-11T17:31:24.755064Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:54225) +2026-10-11T17:31:24.755203Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:24.755246Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1389 +2026-10-11T17:31:24.755266Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:24.755282Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:24.755293Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1361 +2026-10-11T17:31:24.755318Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1389 +2026-10-11T17:31:24.755351Z TRACE noq_proto::connection: sending 1389 bytes in 1 datagrams segment_size=1389 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:54225) +2026-10-11T17:31:24.755405Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:24.755680Z TRACE noq_proto::endpoint: local CID retired 0: 943f33750205189f path_id=0 +2026-10-11T17:31:24.764374Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1326 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:54225) using id ab80b529dabaf192 +2026-10-11T17:31:24.764591Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame PING +2026-10-11T17:31:24.764670Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:24.765048Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 10.200.0.1, remote: [::ffff:10.200.0.1]:54225) using id ab80b529dabaf192 +2026-10-11T17:31:24.765173Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_CHALLENGE(9126baa1b8c9505f) +2026-10-11T17:31:24.765242Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:54225) using id ab80b529dabaf192 +2026-10-11T17:31:24.765313Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_CHALLENGE(57a131f3f4da84aa) +2026-10-11T17:31:24.765361Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:54225) using id ab80b529dabaf192 +2026-10-11T17:31:24.765411Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: got frame PATH_CHALLENGE(d1fb460906481998) +2026-10-11T17:31:24.765452Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1086 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:54225) using id ab80b529dabaf192 +2026-10-11T17:31:24.765514Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [4..6] delay: 236µs +2026-10-11T17:31:24.765626Z TRACE pkt{path_id=0}:recv{space=Data pn=9}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1389 +2026-10-11T17:31:24.765778Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: 9b86988291e76d05 +2026-10-11T17:31:24.765850Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: a33542a3a956e7e9 +2026-10-11T17:31:24.765883Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 2bb82c950f5a93ca +2026-10-11T17:31:24.765949Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 57984c2bf7e35634 +2026-10-11T17:31:24.765980Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: 6019251d8381a71c +2026-10-11T17:31:24.766010Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: caae9fd4e88f9bb5 +2026-10-11T17:31:24.766038Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: 1eca65b6cadccdb8 +2026-10-11T17:31:24.766065Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 3e5e2ceb4ca23e4e +2026-10-11T17:31:24.766090Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 49a6dfa7f54fd1c6 +2026-10-11T17:31:24.766119Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: b6649c072788cb7a +2026-10-11T17:31:24.766152Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: 1fd277c71786614f +2026-10-11T17:31:24.766201Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 9b54fd4dc9995cf9 +2026-10-11T17:31:24.766234Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: f636d54014ad909f +2026-10-11T17:31:24.766262Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 0fd9ad80d7acb3eb +2026-10-11T17:31:24.766291Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: a898ca5e6ebf2d30 +2026-10-11T17:31:24.766317Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: cae719839c5bc5d8 +2026-10-11T17:31:24.766344Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 79c3023657c2f191 +2026-10-11T17:31:24.766372Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 25b0d16a0a1a7556 +2026-10-11T17:31:24.766407Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: a8c63403d3fdd861 +2026-10-11T17:31:24.766433Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 268603ccd715487e +2026-10-11T17:31:24.766459Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 139ffa9b212f0b32 +2026-10-11T17:31:24.766487Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: f7325b0418ac02e8 +2026-10-11T17:31:24.766515Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 6b00a6f3c8e3865f +2026-10-11T17:31:24.766545Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 3b62e6a512a0f9e7 +2026-10-11T17:31:24.766574Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: f0c535a6001d2290 +2026-10-11T17:31:24.766602Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 81f6360af88c2545 +2026-10-11T17:31:24.766633Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: 8d84b192f6e7bf5a +2026-10-11T17:31:24.766661Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: ad8246e10f7b3e7b +2026-10-11T17:31:24.766689Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 33d0af35c832f4de +2026-10-11T17:31:24.766735Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: c23ecb39804dbfde +2026-10-11T17:31:24.766762Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 235d275c1e4cfd40 +2026-10-11T17:31:24.766805Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: a2220a398ed3ee38 +2026-10-11T17:31:24.766837Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: b3ce2adfb213166a +2026-10-11T17:31:24.766875Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 0472334a3536e005 +2026-10-11T17:31:24.766918Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 93f64826bfc56432 +2026-10-11T17:31:24.767042Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:24.767099Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:24.767135Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [5..10] delay: 724µs +2026-10-11T17:31:24.767169Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(d1fb460906481998) +2026-10-11T17:31:24.767206Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 5 id: e5d51cb771ae83a3 +2026-10-11T17:31:24.767237Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1124 +2026-10-11T17:31:24.767290Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:24.767347Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1200 prev_segment_size=1389 +2026-10-11T17:31:24.767376Z TRACE noq_proto::connection: new datagram started count=2 +2026-10-11T17:31:24.767429Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection: GSO truncated by demand for 1170 padding bytes +2026-10-11T17:31:24.767457Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: PADDING * 4 +2026-10-11T17:31:24.767482Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=30 +2026-10-11T17:31:24.767519Z TRACE noq_proto::connection: sending 1230 bytes in 2 datagrams segment_size=1200 last_datagram_len=30 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:54225) +2026-10-11T17:31:24.772747Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(57a131f3f4da84aa) msg="(off-path)" +2026-10-11T17:31:24.772822Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(4ce70fbdfd81f98b) +2026-10-11T17:31:24.772853Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1156 +2026-10-11T17:31:24.772926Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:24.772983Z TRACE noq_proto::connection: sending off-path PATH_RESPONSE dst=[::ffff:10.200.0.2]:54225 src=Some(10.200.0.2) len=1200 +2026-10-11T17:31:24.774277Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(9126baa1b8c9505f) msg="(off-path)" +2026-10-11T17:31:24.774352Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(cc3846e633e0a665) +2026-10-11T17:31:24.774380Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1156 +2026-10-11T17:31:24.774446Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:24.774496Z TRACE noq_proto::connection: sending off-path PATH_RESPONSE dst=[::ffff:10.200.0.1]:54225 src=Some(10.200.0.1) len=1200 +2026-10-11T17:31:24.775695Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:24.775803Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1420 +2026-10-11T17:31:24.775834Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:24.775849Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:24.775860Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1392 +2026-10-11T17:31:24.775921Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1420 +2026-10-11T17:31:24.776000Z TRACE noq_proto::connection: sending 1420 bytes in 1 datagrams segment_size=1420 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:54225) +2026-10-11T17:31:24.776712Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:24.776973Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:54225) using id ab80b529dabaf192 +2026-10-11T17:31:24.777186Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [4..6] delay: 1402µs +2026-10-11T17:31:24.777311Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: got frame CONNECTION_CLOSE error_code=4097 reason='not on allowlist' +2026-10-11T17:31:24.777354Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection::state: connection state: draining +2026-10-11T17:31:24.777383Z TRACE pkt{path_id=0}: noq_proto::connection: connection closed +2026-10-11T17:31:24.777420Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:54225) using id ab80b529dabaf192 +2026-10-11T17:31:24.777495Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:24.777546Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:24.777578Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [5..11] delay: 943µs +2026-10-11T17:31:24.777634Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=0 reason='' +2026-10-11T17:31:24.777662Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=40 +2026-10-11T17:31:24.777691Z TRACE noq_proto::connection: sending 40 bytes in 1 datagrams segment_size=1389 last_datagram_len=40 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:54225) +2026-10-11T17:31:24.778569Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:31:24.779274Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=156.816896 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:54225)/Active"] +2026-10-11T17:31:24.781567Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (40 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:54225) using id ab80b529dabaf192 +2026-10-11T17:31:24.982632Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:54225)/Active"] +2026-10-11T17:31:24.983023Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:31:24.983085Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-09/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-09/ready.txt new file mode 100644 index 0000000000..cb0f35c38c --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-09/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=54225 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-09/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-09/server.log new file mode 100644 index 0000000000..af492409cb --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-09/server.log @@ -0,0 +1,235 @@ +2026-10-11T17:31:24.543098Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=54225 direct=["10.200.0.1:54225", "10.200.0.2:54225", "127.0.0.1:54225"] +2026-10-11T17:31:24.635248Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:60481) alpns=["n30/allowlist/0"] +2026-10-11T17:31:24.636392Z TRACE first recv:frame{ty=CRYPTO}: noq_proto::connection: consumed 281 CRYPTO bytes +2026-10-11T17:31:24.649206Z TRACE first recv: noq_proto::connection: Handshake keys ready +2026-10-11T17:31:24.649351Z TRACE first recv: noq_proto::connection: wrote 90 Initial CRYPTO bytes +2026-10-11T17:31:24.649463Z TRACE first recv: noq_proto::connection: Data keys ready +2026-10-11T17:31:24.649544Z TRACE first recv: noq_proto::connection: wrote 378 Handshake CRYPTO bytes +2026-10-11T17:31:24.649619Z TRACE first recv: noq_proto::connection: negotiated max idle timeout Some(30s) +2026-10-11T17:31:24.649642Z DEBUG first recv: noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:31:24.649664Z DEBUG first recv: noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:31:24.649740Z TRACE noq_proto::endpoint: new connection id=0 icid=210bb81ffd3814b73a758e7766768b36bd163ba8 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60481) +2026-10-11T17:31:24.650563Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:24.650769Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 2305µs +2026-10-11T17:31:24.650836Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 90 +2026-10-11T17:31:24.650891Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection: will coalesce with next packet +2026-10-11T17:31:24.652278Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=146 +2026-10-11T17:31:24.652809Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 378 +2026-10-11T17:31:24.652868Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 630 +2026-10-11T17:31:24.652911Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1054 +2026-10-11T17:31:24.652954Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:24.652970Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60481) +2026-10-11T17:31:24.653810Z TRACE noq_proto::connection::paths: anti amplification budget decreased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60481) anti_amplification_budget=2352 +2026-10-11T17:31:24.657330Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:24.661204Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:24.661312Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:24.661741Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:24.661768Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:24.661791Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:24.661948Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 1 id: 36b29252d044d0e9 +2026-10-11T17:31:24.662022Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 2 id: 705afac8524db77c +2026-10-11T17:31:24.662039Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 3 id: d175e64a06ada3f8 +2026-10-11T17:31:24.662054Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 4 id: a7931b90cb165405 +2026-10-11T17:31:24.662130Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=138 +2026-10-11T17:31:24.662222Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=138 prev_segment_size=1200 +2026-10-11T17:31:24.662248Z TRACE noq_proto::connection: sending 138 bytes in 1 datagrams segment_size=138 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60481) +2026-10-11T17:31:24.662266Z TRACE noq_proto::connection::paths: anti amplification budget decreased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60481) anti_amplification_budget=2214 +2026-10-11T17:31:24.662426Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:24.662441Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:24.662453Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:24.699055Z TRACE pkt{path_id=0}: noq_proto::connection: got Initial packet (52 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60481) using id c4621b4f54e1fd4d +2026-10-11T17:31:24.699322Z TRACE pkt{path_id=0}: noq_proto::connection::paths: anti amplification budget increased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60481) anti_amplification_budget=2370 +2026-10-11T17:31:24.699352Z TRACE pkt{path_id=0}: noq_proto::connection::paths: anti amplification budget increased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60481) anti_amplification_budget=5814 +2026-10-11T17:31:24.699384Z TRACE pkt{path_id=0}: noq_proto::connection: got Handshake packet (1148 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60481) using id c4621b4f54e1fd4d +2026-10-11T17:31:24.699440Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: discarding Initial keys +2026-10-11T17:31:24.699539Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 181 CRYPTO bytes +2026-10-11T17:31:24.739237Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: wrote 178 Data CRYPTO bytes +2026-10-11T17:31:24.739380Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: discarding Handshake keys +2026-10-11T17:31:24.739471Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: handshake confirmed +2026-10-11T17:31:24.739490Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection::state: connection state: established +2026-10-11T17:31:24.739505Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: established +2026-10-11T17:31:24.739657Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1326 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60481) using id c4621b4f54e1fd4d +2026-10-11T17:31:24.739799Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame PING +2026-10-11T17:31:24.739843Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:24.744430Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1166 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60481) using id c4621b4f54e1fd4d +2026-10-11T17:31:24.744654Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 1 id: ab80b529dabaf192 +2026-10-11T17:31:24.744753Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 2 id: f84a4b0ad17eb6dc +2026-10-11T17:31:24.744783Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 3 id: 2296ce6c50bd96e7 +2026-10-11T17:31:24.744813Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 4 id: 8b9c42afb8aa9096 +2026-10-11T17:31:24.744841Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: 8a8a238b869800f8 +2026-10-11T17:31:24.744886Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: f830f77e1edc55ae +2026-10-11T17:31:24.744933Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: aca6adc547bf1ecd +2026-10-11T17:31:24.744960Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: d380c969bda5c130 +2026-10-11T17:31:24.744986Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: 44a244aab295ca60 +2026-10-11T17:31:24.745011Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 3f3b9a716ab0f3ac +2026-10-11T17:31:24.745040Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: 65a14e8f4e75680f +2026-10-11T17:31:24.745068Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 035f4ddac5a88ffd +2026-10-11T17:31:24.745095Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 86fcd1090676370a +2026-10-11T17:31:24.745124Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 246bdff36adb8f9c +2026-10-11T17:31:24.745157Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: 9753b265bed8f6e9 +2026-10-11T17:31:24.745225Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 2ac0ae3478b41af2 +2026-10-11T17:31:24.745251Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 5482d6215bc43509 +2026-10-11T17:31:24.745281Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: b11e2deedf634940 +2026-10-11T17:31:24.745310Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 6825ea37e1685e53 +2026-10-11T17:31:24.745338Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: d5863009817704c8 +2026-10-11T17:31:24.745365Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: c1a8a53c4eef2826 +2026-10-11T17:31:24.745392Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: c234fe77e3736a74 +2026-10-11T17:31:24.745419Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: 97139a10bf0d0dc4 +2026-10-11T17:31:24.745442Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 4eb87acb4e81c26e +2026-10-11T17:31:24.745464Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 7240091c9174dcb0 +2026-10-11T17:31:24.745490Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 5316bdabdbd016f4 +2026-10-11T17:31:24.745514Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: fbab3d3d6a4db70f +2026-10-11T17:31:24.745537Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 3ad2d9664b17feaa +2026-10-11T17:31:24.745561Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 2a3dd33bea58cdab +2026-10-11T17:31:24.745600Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 1fb2d897fcba969e +2026-10-11T17:31:24.745630Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: c45b9a615fe28df8 +2026-10-11T17:31:24.745660Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: c26235689b0fc150 +2026-10-11T17:31:24.745693Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 36c582b269e209f0 +2026-10-11T17:31:24.745726Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: 4711d52f8110248c +2026-10-11T17:31:24.745757Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 13da3681d6d1232c +2026-10-11T17:31:24.745805Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: e266c3515483c024 +2026-10-11T17:31:24.745833Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 6e408d104ef5e278 +2026-10-11T17:31:24.745861Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 50e938081a12889e +2026-10-11T17:31:24.745944Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60481) using id c4621b4f54e1fd4d +2026-10-11T17:31:24.746030Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 5a57dd1986b8a473 +2026-10-11T17:31:24.746083Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (63 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60481) using id c4621b4f54e1fd4d +2026-10-11T17:31:24.746132Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 10.200.0.1:60481 +2026-10-11T17:31:24.746187Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 10.200.0.2:60481 +2026-10-11T17:31:24.746216Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 127.0.0.1:60481 +2026-10-11T17:31:24.746242Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:24.746287Z DEBUG pkt{path_id=0}:recv{space=Data pn=3}:frame{ty=PATH_STATUS_AVAILABLE path=0}: noq_proto::connection::paths: remote changed path status status=Available seq=2 +2026-10-11T17:31:24.747221Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(3bb9cb91087f95b2) msg="(nat-traversal)" +2026-10-11T17:31:24.747337Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:24.747414Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.1, 60481) len=35 +2026-10-11T17:31:24.749487Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(17607973c51cca08) msg="(nat-traversal)" +2026-10-11T17:31:24.749588Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:24.749655Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.2, 60481) len=35 +2026-10-11T17:31:24.749807Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(39fcbdb2c1206cae) msg="(nat-traversal)" +2026-10-11T17:31:24.749836Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:24.749857Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:127.0.0.1, 60481) len=35 +2026-10-11T17:31:24.749955Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:24.749995Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=HANDSHAKE_DONE +2026-10-11T17:31:24.750041Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..4] delay: 3260µs +2026-10-11T17:31:24.750100Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 178 +2026-10-11T17:31:24.750128Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RETIRE_CONNECTION_ID path_id: 0 seq: 0 +2026-10-11T17:31:24.750164Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=223 +2026-10-11T17:31:24.750229Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=223 prev_segment_size=1200 +2026-10-11T17:31:24.750257Z TRACE noq_proto::connection: sending 223 bytes in 1 datagrams segment_size=223 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60481) +2026-10-11T17:31:24.756111Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:24.756332Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1326 +2026-10-11T17:31:24.756397Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:24.756413Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:24.756430Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1298 +2026-10-11T17:31:24.756500Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1326 +2026-10-11T17:31:24.756593Z TRACE noq_proto::connection: sending 1326 bytes in 1 datagrams segment_size=1326 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60481) +2026-10-11T17:31:24.756732Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:24.756797Z TRACE timeout{scope="conn" timer=NatTraversalProbeRetry}: noq_proto::connection: timeout +2026-10-11T17:31:24.756836Z TRACE timeout{scope="conn" timer=NatTraversalProbeRetry}: noq_proto::connection: re-queued NAT probes +2026-10-11T17:31:24.758368Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60481) using id c4621b4f54e1fd4d +2026-10-11T17:31:24.758556Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:24.758621Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..1,3..5] delay: 216µs +2026-10-11T17:31:24.758770Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_RESPONSE(39fcbdb2c1206cae) +2026-10-11T17:31:24.759066Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1389 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60481) using id c4621b4f54e1fd4d +2026-10-11T17:31:24.759129Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame PING +2026-10-11T17:31:24.759152Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:24.759480Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(9126baa1b8c9505f) msg="(nat-traversal)" +2026-10-11T17:31:24.759514Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:24.759539Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.1, 60481) len=35 +2026-10-11T17:31:24.759685Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(57a131f3f4da84aa) msg="(nat-traversal)" +2026-10-11T17:31:24.759707Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:24.759743Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.2, 60481) len=35 +2026-10-11T17:31:24.759792Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(d1fb460906481998) msg="(nat-traversal)" +2026-10-11T17:31:24.759811Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:24.759828Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:127.0.0.1, 60481) len=35 +2026-10-11T17:31:24.759882Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:24.759937Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [4..6] delay: 236µs +2026-10-11T17:31:24.760019Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: 9b86988291e76d05 +2026-10-11T17:31:24.760047Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: a33542a3a956e7e9 +2026-10-11T17:31:24.760059Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 2bb82c950f5a93ca +2026-10-11T17:31:24.760072Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 57984c2bf7e35634 +2026-10-11T17:31:24.760084Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: 6019251d8381a71c +2026-10-11T17:31:24.760100Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: caae9fd4e88f9bb5 +2026-10-11T17:31:24.760112Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: 1eca65b6cadccdb8 +2026-10-11T17:31:24.760125Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 3e5e2ceb4ca23e4e +2026-10-11T17:31:24.760137Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: 49a6dfa7f54fd1c6 +2026-10-11T17:31:24.760149Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: b6649c072788cb7a +2026-10-11T17:31:24.760162Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: 1fd277c71786614f +2026-10-11T17:31:24.760174Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 9b54fd4dc9995cf9 +2026-10-11T17:31:24.760187Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: f636d54014ad909f +2026-10-11T17:31:24.760201Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 0fd9ad80d7acb3eb +2026-10-11T17:31:24.760213Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: a898ca5e6ebf2d30 +2026-10-11T17:31:24.760225Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: cae719839c5bc5d8 +2026-10-11T17:31:24.760238Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 79c3023657c2f191 +2026-10-11T17:31:24.760253Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 25b0d16a0a1a7556 +2026-10-11T17:31:24.760267Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: a8c63403d3fdd861 +2026-10-11T17:31:24.760287Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 268603ccd715487e +2026-10-11T17:31:24.760299Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 139ffa9b212f0b32 +2026-10-11T17:31:24.760312Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: f7325b0418ac02e8 +2026-10-11T17:31:24.760326Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 6b00a6f3c8e3865f +2026-10-11T17:31:24.760341Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 3b62e6a512a0f9e7 +2026-10-11T17:31:24.760353Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: f0c535a6001d2290 +2026-10-11T17:31:24.760365Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 81f6360af88c2545 +2026-10-11T17:31:24.760379Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: 8d84b192f6e7bf5a +2026-10-11T17:31:24.760392Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: ad8246e10f7b3e7b +2026-10-11T17:31:24.760405Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 33d0af35c832f4de +2026-10-11T17:31:24.760417Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: c23ecb39804dbfde +2026-10-11T17:31:24.760429Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 235d275c1e4cfd40 +2026-10-11T17:31:24.760442Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: a2220a398ed3ee38 +2026-10-11T17:31:24.760463Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: b3ce2adfb213166a +2026-10-11T17:31:24.760477Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: 0472334a3536e005 +2026-10-11T17:31:24.760491Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 93f64826bfc56432 +2026-10-11T17:31:24.760588Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1086 +2026-10-11T17:31:24.760649Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1086 prev_segment_size=1200 +2026-10-11T17:31:24.760677Z TRACE noq_proto::connection: sending 1086 bytes in 1 datagrams segment_size=1086 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60481) +2026-10-11T17:31:24.760783Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:24.762697Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:31:24.762991Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:31:24.763024Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:31:24.763942Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(136865910959856) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:54225, 10.200.0.2:54225, 127.0.0.1:54225} +2026-10-11T17:31:24.767773Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(136865910959856) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:31:24.768268Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:31:24.768315Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:31:24.768415Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:31:24.768475Z TRACE noq_proto::connection: connection closed +2026-10-11T17:31:24.768499Z TRACE noq_proto::connection::state: connection state: closed remote_reason=Application(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) is_local=true +2026-10-11T17:31:24.768813Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:24.768961Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:24.769024Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [4..6] delay: 1402µs +2026-10-11T17:31:24.769073Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=4097 reason='not on allowlist' +2026-10-11T17:31:24.769141Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:24.769186Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=1200 last_datagram_len=56 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60481) +2026-10-11T17:31:24.769565Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:31:24.769667Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:60481)/Active"] +2026-10-11T17:31:24.770503Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60481) using id c4621b4f54e1fd4d +2026-10-11T17:31:24.770646Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: processing frame in closed state frame=ImmediateAck +2026-10-11T17:31:24.770691Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: processing frame in closed state frame=PathAck(PathAck { path_id: PathId(0), largest: 9, delay: 724, ranges: [5..10], ecn: Some(EcnCounts { ect0: 4, ect1: 0, ce: 0 }) }) +2026-10-11T17:31:24.770732Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: processing frame in closed state frame=PathResponse(PathResponse(15130764377655351704)) +2026-10-11T17:31:24.770753Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: processing frame in closed state frame=NewConnectionId(NewConnectionId { path_id: Some(PathId(0)), sequence: 5, retire_prior_to: 0, id: [229, 213, 28, 183, 113, 174, 131, 163], reset_token: ResetToken([253, 195, 33, 11, 113, 42, 240, 218, 71, 163, 157, 55, 26, 135, 149, 26]) }) +2026-10-11T17:31:24.771104Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (30 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60481) using id c4621b4f54e1fd4d +2026-10-11T17:31:24.771284Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:24.771328Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:24.771371Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [4..6] delay: 1711µs +2026-10-11T17:31:24.771405Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=4097 reason='not on allowlist' +2026-10-11T17:31:24.771473Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:24.771530Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=1200 last_datagram_len=56 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60481) +2026-10-11T17:31:24.773459Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:60481) using id c4621b4f54e1fd4d +2026-10-11T17:31:24.773605Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: processing frame in closed state frame=PathResponse(PathResponse(6314383076404921514)) +2026-10-11T17:31:24.773639Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: processing frame in closed state frame=PathChallenge(PathChallenge(5541415175179073931)) +2026-10-11T17:31:24.775193Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 10.200.0.1, remote: [::ffff:10.200.0.1]:60481) using id c4621b4f54e1fd4d +2026-10-11T17:31:24.775296Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: processing frame in closed state frame=PathResponse(PathResponse(10459252388367257695)) +2026-10-11T17:31:24.775318Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: processing frame in closed state frame=PathChallenge(PathChallenge(14715589736959878757)) +2026-10-11T17:31:24.779622Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1420 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60481) using id c4621b4f54e1fd4d +2026-10-11T17:31:24.779923Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: processing frame in closed state frame=Ping +2026-10-11T17:31:24.779964Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: processing frame in closed state frame=ImmediateAck +2026-10-11T17:31:24.780285Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (40 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60481) using id c4621b4f54e1fd4d +2026-10-11T17:31:24.780370Z TRACE pkt{path_id=0}:recv{space=Data pn=11}: noq_proto::connection: processing frame in closed state frame=PathAck(PathAck { path_id: PathId(0), largest: 10, delay: 943, ranges: [5..11], ecn: Some(EcnCounts { ect0: 5, ect1: 0, ce: 0 }) }) +2026-10-11T17:31:24.780406Z TRACE pkt{path_id=0}:recv{space=Data pn=11}: noq_proto::connection: processing frame in closed state frame=Close(Connection(ConnectionClose { error_code: NO_ERROR, frame_type: None, reason: b"" })) +2026-10-11T17:31:24.780447Z TRACE pkt{path_id=0}:recv{space=Data pn=11}: noq_proto::connection::state: connection state: draining +2026-10-11T17:31:24.780581Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:24.780638Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:24.780681Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [4..6] delay: 2871µs +2026-10-11T17:31:24.780733Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=0 reason='' +2026-10-11T17:31:24.780776Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=40 +2026-10-11T17:31:24.780809Z TRACE noq_proto::connection: sending 40 bytes in 1 datagrams segment_size=1200 last_datagram_len=40 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:60481) +2026-10-11T17:31:25.249588Z TRACE timeout{scope="conn" timer=Close}: noq_proto::connection: timeout +2026-10-11T17:31:25.249668Z TRACE timeout{scope="conn" timer=Close}: noq_proto::connection::state: connection state: drained diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-10/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-10/client.log new file mode 100644 index 0000000000..8e95e3c5a0 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-10/client.log @@ -0,0 +1,252 @@ +2026-10-11T17:31:25.753394Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:37857] +2026-10-11T17:31:25.755135Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:31:25.755399Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:31:25.755601Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:31:25.755627Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:31:25.755654Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:31:25.756652Z TRACE noq_proto::endpoint: initial_dcid=a1e536c9953cd9a01a881af345d5416be6fe20a6 +2026-10-11T17:31:25.757517Z TRACE noq_proto::token_memory_cache: taking token server_name=ha4e7nbk17opbvaircmjpeiteb56e2dv3ma146vjei403d0fdte0.iroh.invalid found=false +2026-10-11T17:31:25.758821Z TRACE noq_proto::connection: wrote 283 Initial CRYPTO bytes +2026-10-11T17:31:25.759706Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:25.760062Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 283 +2026-10-11T17:31:25.760203Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 858 +2026-10-11T17:31:25.760304Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:25.760461Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: , remote: [fd15:70a:510b:0:e0a1:c378:93ca:a5bb]:12345) +2026-10-11T17:31:25.760692Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:25.760996Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:37857)] +2026-10-11T17:31:25.793381Z TRACE pkt{path_id=0}: noq_proto::connection: got Initial packet (146 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37857) using id 32dbcceca5fee5a4 +2026-10-11T17:31:25.793505Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: server migrated to new remote network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37857) prev=(local: , remote: [fd15:70a:510b:0:e0a1:c378:93ca:a5bb]:12345) +2026-10-11T17:31:25.793553Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: switching remote CID to 3d34a2f1c8e0a9f0 +2026-10-11T17:31:25.793586Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection::state: connection state: handshake +2026-10-11T17:31:25.793712Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 90 CRYPTO bytes +2026-10-11T17:31:25.794691Z TRACE pkt{path_id=0}:recv{space=Initial pn=0}: noq_proto::connection: Handshake keys ready +2026-10-11T17:31:25.794799Z TRACE pkt{path_id=0}: noq_proto::connection: got Handshake packet (1054 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37857) using id 32dbcceca5fee5a4 +2026-10-11T17:31:25.794941Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 385 CRYPTO bytes +2026-10-11T17:31:25.834977Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: Data keys ready +2026-10-11T17:31:25.835133Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: wrote 181 Handshake CRYPTO bytes +2026-10-11T17:31:25.835211Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: negotiated max idle timeout Some(30s) +2026-10-11T17:31:25.835243Z DEBUG pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:31:25.835261Z DEBUG pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:31:25.835292Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection::state: connection state: established +2026-10-11T17:31:25.835306Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: established +2026-10-11T17:31:25.835408Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (138 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37857) using id 32dbcceca5fee5a4 +2026-10-11T17:31:25.835498Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 1 id: 85f2b6517dd6fe71 +2026-10-11T17:31:25.835532Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 2 id: 04f505622750c9e8 +2026-10-11T17:31:25.835554Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 3 id: f051f33fe40af584 +2026-10-11T17:31:25.835575Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame NEW_CONNECTION_ID seq: 4 id: 174bb470f879aba9 +2026-10-11T17:31:25.835657Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:25.835722Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 5314µs +2026-10-11T17:31:25.835764Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection: will coalesce with next packet +2026-10-11T17:31:25.835792Z TRACE send{space=Initial pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=52 +2026-10-11T17:31:25.835817Z TRACE noq_proto::connection: discarding Initial keys +2026-10-11T17:31:25.835919Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 5314µs +2026-10-11T17:31:25.835941Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 181 +2026-10-11T17:31:25.835970Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 912 +2026-10-11T17:31:25.835991Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1148 +2026-10-11T17:31:25.836024Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:25.836045Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37857) +2026-10-11T17:31:25.836281Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:25.836292Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:25.836323Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1326 +2026-10-11T17:31:25.836340Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:25.836364Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:25.836374Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1298 +2026-10-11T17:31:25.836396Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1326 +2026-10-11T17:31:25.836419Z TRACE noq_proto::connection: sending 1326 bytes in 1 datagrams segment_size=1326 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37857) +2026-10-11T17:31:25.836460Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:25.836471Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:25.847769Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:25.847915Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:25.848073Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 1 id: 120224ba542ebcf1 +2026-10-11T17:31:25.848128Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 2 id: df67c5604f8fd237 +2026-10-11T17:31:25.848144Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 3 id: 3adae7e2476123a6 +2026-10-11T17:31:25.848157Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 4 id: 41f941927ab4af95 +2026-10-11T17:31:25.848172Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: 363304de504f49f2 +2026-10-11T17:31:25.848188Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: 3f65021ca6d0c167 +2026-10-11T17:31:25.848202Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: fc4d50e449d3934f +2026-10-11T17:31:25.848215Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 62e5be05a6a7ce07 +2026-10-11T17:31:25.848228Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: 9fb40bb41380e4c6 +2026-10-11T17:31:25.848242Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 13a72a7f5e96c894 +2026-10-11T17:31:25.848255Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: 9081d249ca404d9a +2026-10-11T17:31:25.848268Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 33497c5f54f34089 +2026-10-11T17:31:25.848281Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: a83f74d383779649 +2026-10-11T17:31:25.848295Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: f2edb8e7ba355414 +2026-10-11T17:31:25.848308Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: 563bae35ae608783 +2026-10-11T17:31:25.848321Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: e83bf9db4dfd44e0 +2026-10-11T17:31:25.848335Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 1360f59cd3751927 +2026-10-11T17:31:25.848352Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 61a6abee304333b5 +2026-10-11T17:31:25.848366Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: c44f48e048928ac7 +2026-10-11T17:31:25.848381Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: 2484b1c4513be608 +2026-10-11T17:31:25.848397Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 2423d923bcef4029 +2026-10-11T17:31:25.848414Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 1ec2b55574f9441a +2026-10-11T17:31:25.848432Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: ade5c331e4fa05b8 +2026-10-11T17:31:25.848461Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 85a6ee14ecfd653d +2026-10-11T17:31:25.848475Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 28642678f0df28a7 +2026-10-11T17:31:25.848488Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 1164d413432b892f +2026-10-11T17:31:25.848501Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: fb4eaad20a057307 +2026-10-11T17:31:25.848514Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 4c35e670a4d72c13 +2026-10-11T17:31:25.848526Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 6d8364b4390175a9 +2026-10-11T17:31:25.848539Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 2c3667def2fa72a8 +2026-10-11T17:31:25.848551Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: 8e9e90668101cd4b +2026-10-11T17:31:25.848563Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: af2f6972ab03612b +2026-10-11T17:31:25.848576Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 4327f244edfc9977 +2026-10-11T17:31:25.848605Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: 0f51277b61e299a4 +2026-10-11T17:31:25.848620Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 1ebc946fce7fdcca +2026-10-11T17:31:25.848632Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: a85c6c1240028891 +2026-10-11T17:31:25.848645Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: fb54c90ecad9cc5d +2026-10-11T17:31:25.848659Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: ce42a1b9ed774956 +2026-10-11T17:31:25.848718Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1166 +2026-10-11T17:31:25.848806Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1166 prev_segment_size=1200 +2026-10-11T17:31:25.848833Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=2.606736ms +2026-10-11T17:31:25.848849Z TRACE noq_proto::connection: sending 1166 bytes in 1 datagrams segment_size=1166 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37857) +2026-10-11T17:31:25.849022Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:25.849067Z TRACE noq_proto::connection: blocked by pacing space_id=Data path_id=0 delay=2.606736ms +2026-10-11T17:31:25.854429Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:25.854703Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:25.855100Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: d3d956d209d62f7f +2026-10-11T17:31:25.855435Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:25.855738Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=56 prev_segment_size=1200 +2026-10-11T17:31:25.855844Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=56 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37857) +2026-10-11T17:31:25.856063Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:25.856088Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:25.856179Z TRACE timer_fired{scope="path" path_id=0 timer=Pacing}: noq_proto::connection: timeout +2026-10-11T17:31:25.856329Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:25.856352Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:25.857081Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(105207846125504) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:48907, 10.200.0.2:48907, 127.0.0.1:48907} +2026-10-11T17:31:25.857731Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(105207846125504) send_tasks=FuturesUnorderedBounded { len: 0, .. }}:do_holepunching: noq_proto::n0_nat_traversal: initiating NAT traversal round round=1 reach_out=3 to_probe=0 +2026-10-11T17:31:25.867195Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:25.867285Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:25.867382Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 127.0.0.1:48907 +2026-10-11T17:31:25.867442Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 10.200.0.1:48907 +2026-10-11T17:31:25.867458Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=REACH_OUT round: 1 local_addr: 10.200.0.2:48907 +2026-10-11T17:31:25.867481Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:25.867570Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=63 +2026-10-11T17:31:25.867628Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=63 prev_segment_size=1200 +2026-10-11T17:31:25.867649Z TRACE noq_proto::connection: sending 63 bytes in 1 datagrams segment_size=63 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37857) +2026-10-11T17:31:25.867791Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:25.867808Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:25.878416Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=124.767212 remote_info=["Ip(127.0.0.1:37857)/Active"] +2026-10-11T17:31:25.908511Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37857) using id 120224ba542ebcf1 +2026-10-11T17:31:25.908733Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_CHALLENGE(edbb9a244ad50c48) +2026-10-11T17:31:25.908844Z TRACE pkt{path_id=0}: noq_proto::connection: discarding packet from unrecognized peer path_id=0 network_path=(local: 10.200.0.1, remote: [::ffff:10.200.0.1]:37857) known_path.network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37857) +2026-10-11T17:31:25.908877Z TRACE pkt{path_id=0}: noq_proto::connection: discarding packet from unrecognized peer path_id=0 network_path=(local: 10.200.0.2, remote: [::ffff:10.200.0.2]:37857) known_path.network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37857) +2026-10-11T17:31:25.908929Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (223 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37857) using id 120224ba542ebcf1 +2026-10-11T17:31:25.908988Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame HANDSHAKE_DONE +2026-10-11T17:31:25.909019Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=HANDSHAKE_DONE}: noq_proto::connection: discarding Handshake keys +2026-10-11T17:31:25.909120Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=HANDSHAKE_DONE}: noq_proto::connection: handshake confirmed +2026-10-11T17:31:25.909180Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..4] delay: 4574µs +2026-10-11T17:31:25.909236Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1326 +2026-10-11T17:31:25.911659Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame CRYPTO offset=0 len=178 +2026-10-11T17:31:25.911728Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=CRYPTO}: noq_proto::connection: consumed 178 CRYPTO bytes +2026-10-11T17:31:25.911969Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_RETIRE_CONNECTION_ID path_id: 0 seq: 0 +2026-10-11T17:31:25.912085Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1326 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37857) using id 120224ba542ebcf1 +2026-10-11T17:31:25.912172Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame PING +2026-10-11T17:31:25.912197Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:25.912512Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:25.912564Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:25.912594Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..2,4..6] delay: 556µs +2026-10-11T17:31:25.913029Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(edbb9a244ad50c48) +2026-10-11T17:31:25.913105Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1152 +2026-10-11T17:31:25.913149Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:25.913202Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1200 prev_segment_size=1326 +2026-10-11T17:31:25.913230Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37857) +2026-10-11T17:31:25.918726Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:25.918947Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1389 +2026-10-11T17:31:25.919009Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:25.919028Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:25.919041Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1361 +2026-10-11T17:31:25.919105Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1389 +2026-10-11T17:31:25.919184Z TRACE noq_proto::connection: sending 1389 bytes in 1 datagrams segment_size=1389 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37857) +2026-10-11T17:31:25.919405Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:25.919667Z TRACE noq_proto::endpoint: local CID retired 0: 32dbcceca5fee5a4 path_id=0 +2026-10-11T17:31:25.919803Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:25.919984Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 0 seq: 5 id: 807fecb864a1ea6a +2026-10-11T17:31:25.920191Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:25.920268Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=56 prev_segment_size=1326 +2026-10-11T17:31:25.920292Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=56 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37857) +2026-10-11T17:31:25.920406Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:25.922368Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37857) using id 120224ba542ebcf1 +2026-10-11T17:31:25.922551Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_CHALLENGE(8a96fdff9025cde4) +2026-10-11T17:31:25.922632Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 10.200.0.1, remote: [::ffff:10.200.0.1]:37857) using id 120224ba542ebcf1 +2026-10-11T17:31:25.922676Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: got frame PATH_CHALLENGE(6768b282e4aa9bb5) +2026-10-11T17:31:25.922710Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (35 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:37857) using id 120224ba542ebcf1 +2026-10-11T17:31:25.922744Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: got frame PATH_CHALLENGE(4c569f700051b711) +2026-10-11T17:31:25.922808Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(4c569f700051b711) msg="(off-path)" +2026-10-11T17:31:25.922830Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(ba4be4f967649204) +2026-10-11T17:31:25.922854Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1156 +2026-10-11T17:31:25.922879Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:25.922917Z TRACE noq_proto::connection: sending off-path PATH_RESPONSE dst=[::ffff:10.200.0.2]:37857 src=Some(10.200.0.2) len=1200 +2026-10-11T17:31:25.923022Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(6768b282e4aa9bb5) msg="(off-path)" +2026-10-11T17:31:25.923039Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(7c0db623f78aa59d) +2026-10-11T17:31:25.923051Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1156 +2026-10-11T17:31:25.923070Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:25.923089Z TRACE noq_proto::connection: sending off-path PATH_RESPONSE dst=[::ffff:10.200.0.1]:37857 src=Some(10.200.0.1) len=1200 +2026-10-11T17:31:25.923157Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:25.923188Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:25.923212Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..2,4..9] delay: 59µs +2026-10-11T17:31:25.923232Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RESPONSE(8a96fdff9025cde4) +2026-10-11T17:31:25.923264Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1153 +2026-10-11T17:31:25.923286Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1200 +2026-10-11T17:31:25.923327Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1200 prev_segment_size=1326 +2026-10-11T17:31:25.923343Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37857) +2026-10-11T17:31:25.923406Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:25.927405Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1086 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37857) using id 120224ba542ebcf1 +2026-10-11T17:31:25.927656Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [4..5] delay: 799µs +2026-10-11T17:31:25.927864Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: bc0d9951dc5f836e +2026-10-11T17:31:25.927922Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: ae347e05e96c5d5b +2026-10-11T17:31:25.927954Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 7bce173320ec3c59 +2026-10-11T17:31:25.927979Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 8d3140fa1ea2656e +2026-10-11T17:31:25.928004Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: 18663d7a90c58955 +2026-10-11T17:31:25.928028Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: cc9c33018548bdcd +2026-10-11T17:31:25.928054Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: b77a18c4fd76e7cb +2026-10-11T17:31:25.928078Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: acf8d43a851019d6 +2026-10-11T17:31:25.928104Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: f9efad936b588ccc +2026-10-11T17:31:25.928128Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 08b684bafca19af6 +2026-10-11T17:31:25.928152Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: 850f7dc71f2f664c +2026-10-11T17:31:25.928194Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 48df3494a06ef083 +2026-10-11T17:31:25.928219Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 621f360d57a42ccf +2026-10-11T17:31:25.928244Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 8a400ad77f0a1b99 +2026-10-11T17:31:25.928269Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 6f6fc64137807f50 +2026-10-11T17:31:25.928295Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: 0e93bcf6cc94d88a +2026-10-11T17:31:25.928322Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 24720ab58a00c9d0 +2026-10-11T17:31:25.928351Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 5c5086c935eed53e +2026-10-11T17:31:25.928377Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: 9b0e4138a4796d4b +2026-10-11T17:31:25.928403Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: d33b7c4436068967 +2026-10-11T17:31:25.928429Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: cd40ee5107a05939 +2026-10-11T17:31:25.928459Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 3c6591d9bb380abc +2026-10-11T17:31:25.928490Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 854c2a41d1dc89aa +2026-10-11T17:31:25.928530Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: cb6b64c075bd3693 +2026-10-11T17:31:25.928560Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 3d668015ac971620 +2026-10-11T17:31:25.928587Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: fffbf5fa1e9bc063 +2026-10-11T17:31:25.928615Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: 6b8855a411e7c254 +2026-10-11T17:31:25.928644Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: 41aad479c813187d +2026-10-11T17:31:25.928675Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 7bd2aac678fd4090 +2026-10-11T17:31:25.928702Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: c362b0580ecbb5b7 +2026-10-11T17:31:25.928730Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 74134956ba04a77b +2026-10-11T17:31:25.928766Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: 4573e68489e08926 +2026-10-11T17:31:25.928798Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 2075181db46c8ebd +2026-10-11T17:31:25.928829Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: dd1a82ef5a3d0b6e +2026-10-11T17:31:25.928860Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 456aa1996fefcb77 +2026-10-11T17:31:25.928968Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1389 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37857) using id 120224ba542ebcf1 +2026-10-11T17:31:25.929060Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: got frame PING +2026-10-11T17:31:25.929094Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:25.929386Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (36 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37857) using id 120224ba542ebcf1 +2026-10-11T17:31:25.929455Z TRACE pkt{path_id=0}:recv{space=Data pn=11}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [4..7] delay: 549µs +2026-10-11T17:31:25.929500Z TRACE pkt{path_id=0}:recv{space=Data pn=11}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1389 +2026-10-11T17:31:25.929624Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37857) using id 120224ba542ebcf1 +2026-10-11T17:31:25.929676Z TRACE pkt{path_id=0}:recv{space=Data pn=12}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [4..7] delay: 802µs +2026-10-11T17:31:25.929715Z TRACE pkt{path_id=0}:recv{space=Data pn=12}: noq_proto::connection: got frame CONNECTION_CLOSE error_code=4097 reason='not on allowlist' +2026-10-11T17:31:25.929753Z TRACE pkt{path_id=0}:recv{space=Data pn=12}: noq_proto::connection::state: connection state: draining +2026-10-11T17:31:25.929775Z TRACE pkt{path_id=0}: noq_proto::connection: connection closed +2026-10-11T17:31:25.929833Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:25.929876Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:25.933315Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [6..13] delay: 211µs +2026-10-11T17:31:25.933521Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=0 reason='' +2026-10-11T17:31:25.933628Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=40 +2026-10-11T17:31:25.933703Z TRACE noq_proto::connection: sending 40 bytes in 1 datagrams segment_size=1389 last_datagram_len=40 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37857) +2026-10-11T17:31:25.934220Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:31:25.934502Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:37857) using id 120224ba542ebcf1 +2026-10-11T17:31:25.938971Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=185.337583 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:37857)/Active"] +2026-10-11T17:31:26.140690Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:37857)/Active"] +2026-10-11T17:31:26.142786Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:31:26.142884Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-10/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-10/ready.txt new file mode 100644 index 0000000000..4489e26419 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-10/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=37857 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-10/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-10/server.log new file mode 100644 index 0000000000..1b61e53beb --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs-trace/multi-refuse/run-10/server.log @@ -0,0 +1,236 @@ +2026-10-11T17:31:25.649952Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=37857 direct=["10.200.0.1:37857", "10.200.0.2:37857", "127.0.0.1:37857"] +2026-10-11T17:31:25.762818Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:48907) alpns=["n30/allowlist/0"] +2026-10-11T17:31:25.763625Z TRACE first recv:frame{ty=CRYPTO}: noq_proto::connection: consumed 283 CRYPTO bytes +2026-10-11T17:31:25.765686Z TRACE first recv: noq_proto::connection: Handshake keys ready +2026-10-11T17:31:25.765774Z TRACE first recv: noq_proto::connection: wrote 90 Initial CRYPTO bytes +2026-10-11T17:31:25.765863Z TRACE first recv: noq_proto::connection: Data keys ready +2026-10-11T17:31:25.775273Z TRACE first recv: noq_proto::connection: wrote 385 Handshake CRYPTO bytes +2026-10-11T17:31:25.775635Z TRACE first recv: noq_proto::connection: negotiated max idle timeout Some(30s) +2026-10-11T17:31:25.775670Z DEBUG first recv: noq_proto::connection: multipath negotiated initial_max_path_id=7 +2026-10-11T17:31:25.775694Z DEBUG first recv: noq_proto::connection: n0's nat traversal negotiated max_remote_addresses=32 max_local_addresses=32 +2026-10-11T17:31:25.775807Z TRACE noq_proto::endpoint: new connection id=0 icid=a1e536c9953cd9a01a881af345d5416be6fe20a6 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:48907) +2026-10-11T17:31:25.780564Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:25.780919Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=ACK_ECN ranges: [0..1] delay: 2289µs +2026-10-11T17:31:25.791193Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 90 +2026-10-11T17:31:25.791358Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection: will coalesce with next packet +2026-10-11T17:31:25.791426Z TRACE send{space=Initial pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=146 +2026-10-11T17:31:25.791675Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 385 +2026-10-11T17:31:25.791739Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: PADDING * 623 +2026-10-11T17:31:25.791765Z TRACE send{space=Handshake pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1054 +2026-10-11T17:31:25.791797Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:25.791811Z TRACE noq_proto::connection: sending 1200 bytes in 1 datagrams segment_size=1200 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:48907) +2026-10-11T17:31:25.791830Z TRACE noq_proto::connection::paths: anti amplification budget decreased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:48907) anti_amplification_budget=2352 +2026-10-11T17:31:25.792028Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:25.792044Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:25.792055Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:25.792373Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:25.792387Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:25.792402Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:25.792464Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 1 id: 85f2b6517dd6fe71 +2026-10-11T17:31:25.792489Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 2 id: 04f505622750c9e8 +2026-10-11T17:31:25.792502Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 3 id: f051f33fe40af584 +2026-10-11T17:31:25.792514Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: frame=NEW_CONNECTION_ID seq: 4 id: 174bb470f879aba9 +2026-10-11T17:31:25.792558Z TRACE send{space=Data pn=0 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=138 +2026-10-11T17:31:25.792591Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=138 prev_segment_size=1200 +2026-10-11T17:31:25.792608Z TRACE noq_proto::connection: sending 138 bytes in 1 datagrams segment_size=138 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:48907) +2026-10-11T17:31:25.792621Z TRACE noq_proto::connection::paths: anti amplification budget decreased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:48907) anti_amplification_budget=2214 +2026-10-11T17:31:25.792671Z TRACE noq_proto::connection: nothing to send in space space_id=Initial path_id=0 +2026-10-11T17:31:25.792681Z TRACE noq_proto::connection: nothing to send in space space_id=Handshake path_id=0 +2026-10-11T17:31:25.792690Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:25.840176Z TRACE pkt{path_id=0}: noq_proto::connection: got Initial packet (52 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:48907) using id 3d34a2f1c8e0a9f0 +2026-10-11T17:31:25.840496Z TRACE pkt{path_id=0}: noq_proto::connection::paths: anti amplification budget increased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:48907) anti_amplification_budget=2370 +2026-10-11T17:31:25.840525Z TRACE pkt{path_id=0}: noq_proto::connection::paths: anti amplification budget increased network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:48907) anti_amplification_budget=5814 +2026-10-11T17:31:25.840560Z TRACE pkt{path_id=0}: noq_proto::connection: got Handshake packet (1148 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:48907) using id 3d34a2f1c8e0a9f0 +2026-10-11T17:31:25.840612Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: discarding Initial keys +2026-10-11T17:31:25.840724Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}:frame{ty=CRYPTO}: noq_proto::connection: consumed 181 CRYPTO bytes +2026-10-11T17:31:25.899879Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: wrote 178 Data CRYPTO bytes +2026-10-11T17:31:25.900054Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: discarding Handshake keys +2026-10-11T17:31:25.900172Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: handshake confirmed +2026-10-11T17:31:25.900192Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection::state: connection state: established +2026-10-11T17:31:25.900210Z TRACE pkt{path_id=0}:recv{space=Handshake pn=0}: noq_proto::connection: established +2026-10-11T17:31:25.900415Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1326 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:48907) using id 3d34a2f1c8e0a9f0 +2026-10-11T17:31:25.900566Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame PING +2026-10-11T17:31:25.900594Z TRACE pkt{path_id=0}:recv{space=Data pn=0}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:25.900866Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1166 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:48907) using id 3d34a2f1c8e0a9f0 +2026-10-11T17:31:25.902863Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 1 id: 120224ba542ebcf1 +2026-10-11T17:31:25.903056Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 2 id: df67c5604f8fd237 +2026-10-11T17:31:25.903094Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 3 id: 3adae7e2476123a6 +2026-10-11T17:31:25.903124Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 4 id: 41f941927ab4af95 +2026-10-11T17:31:25.903155Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: 363304de504f49f2 +2026-10-11T17:31:25.903197Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: 3f65021ca6d0c167 +2026-10-11T17:31:25.903231Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: fc4d50e449d3934f +2026-10-11T17:31:25.903263Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 62e5be05a6a7ce07 +2026-10-11T17:31:25.903292Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: 9fb40bb41380e4c6 +2026-10-11T17:31:25.903318Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: 13a72a7f5e96c894 +2026-10-11T17:31:25.903343Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: 9081d249ca404d9a +2026-10-11T17:31:25.903369Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: 33497c5f54f34089 +2026-10-11T17:31:25.903393Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: a83f74d383779649 +2026-10-11T17:31:25.903419Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: f2edb8e7ba355414 +2026-10-11T17:31:25.903445Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: 563bae35ae608783 +2026-10-11T17:31:25.903478Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: e83bf9db4dfd44e0 +2026-10-11T17:31:25.903503Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 1360f59cd3751927 +2026-10-11T17:31:25.903528Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 61a6abee304333b5 +2026-10-11T17:31:25.903554Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: c44f48e048928ac7 +2026-10-11T17:31:25.903579Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: 2484b1c4513be608 +2026-10-11T17:31:25.903604Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 2423d923bcef4029 +2026-10-11T17:31:25.903628Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 1ec2b55574f9441a +2026-10-11T17:31:25.903653Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: ade5c331e4fa05b8 +2026-10-11T17:31:25.903677Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: 85a6ee14ecfd653d +2026-10-11T17:31:25.903702Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: 28642678f0df28a7 +2026-10-11T17:31:25.903728Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 1164d413432b892f +2026-10-11T17:31:25.903752Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: fb4eaad20a057307 +2026-10-11T17:31:25.903778Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: 4c35e670a4d72c13 +2026-10-11T17:31:25.903802Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 6d8364b4390175a9 +2026-10-11T17:31:25.903834Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: 2c3667def2fa72a8 +2026-10-11T17:31:25.903860Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: 8e9e90668101cd4b +2026-10-11T17:31:25.903887Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: af2f6972ab03612b +2026-10-11T17:31:25.903933Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 4327f244edfc9977 +2026-10-11T17:31:25.903956Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: 0f51277b61e299a4 +2026-10-11T17:31:25.903983Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 1ebc946fce7fdcca +2026-10-11T17:31:25.904021Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: a85c6c1240028891 +2026-10-11T17:31:25.904048Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: fb54c90ecad9cc5d +2026-10-11T17:31:25.904073Z TRACE pkt{path_id=0}:recv{space=Data pn=1}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: ce42a1b9ed774956 +2026-10-11T17:31:25.904183Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:48907) using id 3d34a2f1c8e0a9f0 +2026-10-11T17:31:25.904298Z TRACE pkt{path_id=0}:recv{space=Data pn=2}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: d3d956d209d62f7f +2026-10-11T17:31:25.904347Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (63 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:48907) using id 3d34a2f1c8e0a9f0 +2026-10-11T17:31:25.904395Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 127.0.0.1:48907 +2026-10-11T17:31:25.904471Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 10.200.0.1:48907 +2026-10-11T17:31:25.904507Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame REACH_OUT round: 1 local_addr: 10.200.0.2:48907 +2026-10-11T17:31:25.904533Z TRACE pkt{path_id=0}:recv{space=Data pn=3}: noq_proto::connection: got frame PATH_STATUS_AVAILABLE path_id: 0 seq_no: 2 +2026-10-11T17:31:25.904575Z DEBUG pkt{path_id=0}:recv{space=Data pn=3}:frame{ty=PATH_STATUS_AVAILABLE path=0}: noq_proto::connection::paths: remote changed path status status=Available seq=2 +2026-10-11T17:31:25.904706Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(edbb9a244ad50c48) msg="(nat-traversal)" +2026-10-11T17:31:25.904748Z TRACE send{space=Data pn=1 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:25.904784Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:127.0.0.1, 48907) len=35 +2026-10-11T17:31:25.904975Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(1fe2e64023958bc4) msg="(nat-traversal)" +2026-10-11T17:31:25.905012Z TRACE send{space=Data pn=2 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:25.905033Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.1, 48907) len=35 +2026-10-11T17:31:25.905078Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(82908fe799fb467c) msg="(nat-traversal)" +2026-10-11T17:31:25.905097Z TRACE send{space=Data pn=3 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:25.905113Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.2, 48907) len=35 +2026-10-11T17:31:25.905188Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:25.905216Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=HANDSHAKE_DONE +2026-10-11T17:31:25.905254Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [0..4] delay: 4574µs +2026-10-11T17:31:25.905286Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=CRYPTO off: 0 len = 178 +2026-10-11T17:31:25.905320Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_RETIRE_CONNECTION_ID path_id: 0 seq: 0 +2026-10-11T17:31:25.905354Z TRACE send{space=Data pn=4 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=223 +2026-10-11T17:31:25.905406Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=223 prev_segment_size=1200 +2026-10-11T17:31:25.905432Z TRACE noq_proto::connection: sending 223 bytes in 1 datagrams segment_size=223 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:48907) +2026-10-11T17:31:25.905482Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:25.905525Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1326 +2026-10-11T17:31:25.905548Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:25.905579Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:25.905590Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1298 +2026-10-11T17:31:25.905609Z TRACE send{space=Data pn=5 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1326 +2026-10-11T17:31:25.905634Z TRACE noq_proto::connection: sending 1326 bytes in 1 datagrams segment_size=1326 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:48907) +2026-10-11T17:31:25.905677Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:25.905722Z TRACE timeout{scope="conn" timer=NatTraversalProbeRetry}: noq_proto::connection: timeout +2026-10-11T17:31:25.905743Z TRACE timeout{scope="conn" timer=NatTraversalProbeRetry}: noq_proto::connection: re-queued NAT probes +2026-10-11T17:31:25.919166Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:48907) using id 3d34a2f1c8e0a9f0 +2026-10-11T17:31:25.919341Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:25.919411Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_ACK_ECN path_id: 0 ranges: [0..2,4..6] delay: 556µs +2026-10-11T17:31:25.919577Z TRACE pkt{path_id=0}:recv{space=Data pn=4}:frame{ty=PATH_ACK_ECN path=0}: noq_proto::connection::mtud: new MTU detected current_mtu=1326 +2026-10-11T17:31:25.919641Z TRACE pkt{path_id=0}:recv{space=Data pn=4}: noq_proto::connection: got frame PATH_RESPONSE(edbb9a244ad50c48) +2026-10-11T17:31:25.920014Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(8a96fdff9025cde4) msg="(nat-traversal)" +2026-10-11T17:31:25.920540Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:31:25.921530Z TRACE send{space=Data pn=6 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:25.921635Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:127.0.0.1, 48907) len=35 +2026-10-11T17:31:25.921827Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(6768b282e4aa9bb5) msg="(nat-traversal)" +2026-10-11T17:31:25.921869Z TRACE send{space=Data pn=7 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:25.922014Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.1, 48907) len=35 +2026-10-11T17:31:25.922154Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_CHALLENGE(4c569f700051b711) msg="(nat-traversal)" +2026-10-11T17:31:25.922195Z TRACE send{space=Data pn=8 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=35 +2026-10-11T17:31:25.922227Z TRACE noq_proto::connection: sending off-path NAT probe dst=(::ffff:10.200.0.2, 48907) len=35 +2026-10-11T17:31:25.922354Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:25.922407Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [4..5] delay: 799µs +2026-10-11T17:31:25.922621Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 0 id: bc0d9951dc5f836e +2026-10-11T17:31:25.922668Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 1 id: ae347e05e96c5d5b +2026-10-11T17:31:25.922683Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 2 id: 7bce173320ec3c59 +2026-10-11T17:31:25.922695Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 3 id: 8d3140fa1ea2656e +2026-10-11T17:31:25.922708Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 1 seq: 4 id: 18663d7a90c58955 +2026-10-11T17:31:25.922723Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 0 id: cc9c33018548bdcd +2026-10-11T17:31:25.922737Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 1 id: b77a18c4fd76e7cb +2026-10-11T17:31:25.922750Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 2 id: acf8d43a851019d6 +2026-10-11T17:31:25.922764Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 3 id: f9efad936b588ccc +2026-10-11T17:31:25.922779Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 2 seq: 4 id: 08b684bafca19af6 +2026-10-11T17:31:25.922793Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 0 id: 850f7dc71f2f664c +2026-10-11T17:31:25.922807Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 1 id: 48df3494a06ef083 +2026-10-11T17:31:25.922870Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 2 id: 621f360d57a42ccf +2026-10-11T17:31:25.922885Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 3 id: 8a400ad77f0a1b99 +2026-10-11T17:31:25.922913Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 3 seq: 4 id: 6f6fc64137807f50 +2026-10-11T17:31:25.922929Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 0 id: 0e93bcf6cc94d88a +2026-10-11T17:31:25.922943Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 1 id: 24720ab58a00c9d0 +2026-10-11T17:31:25.922958Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 2 id: 5c5086c935eed53e +2026-10-11T17:31:25.922983Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 3 id: 9b0e4138a4796d4b +2026-10-11T17:31:25.922995Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 4 seq: 4 id: d33b7c4436068967 +2026-10-11T17:31:25.923020Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 0 id: cd40ee5107a05939 +2026-10-11T17:31:25.923033Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 1 id: 3c6591d9bb380abc +2026-10-11T17:31:25.923046Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 2 id: 854c2a41d1dc89aa +2026-10-11T17:31:25.923059Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 3 id: cb6b64c075bd3693 +2026-10-11T17:31:25.923071Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 5 seq: 4 id: 3d668015ac971620 +2026-10-11T17:31:25.923085Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 0 id: fffbf5fa1e9bc063 +2026-10-11T17:31:25.923098Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 1 id: 6b8855a411e7c254 +2026-10-11T17:31:25.923110Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 2 id: 41aad479c813187d +2026-10-11T17:31:25.923123Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 3 id: 7bd2aac678fd4090 +2026-10-11T17:31:25.923136Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 6 seq: 4 id: c362b0580ecbb5b7 +2026-10-11T17:31:25.923150Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 0 id: 74134956ba04a77b +2026-10-11T17:31:25.923165Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 1 id: 4573e68489e08926 +2026-10-11T17:31:25.923178Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 2 id: 2075181db46c8ebd +2026-10-11T17:31:25.923199Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 3 id: dd1a82ef5a3d0b6e +2026-10-11T17:31:25.923212Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_NEW_CONNECTION_ID path_id: 7 seq: 4 id: 456aa1996fefcb77 +2026-10-11T17:31:25.923264Z TRACE send{space=Data pn=9 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1086 +2026-10-11T17:31:25.923327Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=1086 prev_segment_size=1326 +2026-10-11T17:31:25.923417Z TRACE noq_proto::connection: sending 1086 bytes in 1 datagrams segment_size=1086 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:48907) +2026-10-11T17:31:25.923580Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:25.923641Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection: writing MTUD probe probe_size=1389 +2026-10-11T17:31:25.923666Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=PING +2026-10-11T17:31:25.923680Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: frame=IMMEDIATE_ACK +2026-10-11T17:31:25.923691Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: PADDING * 1361 +2026-10-11T17:31:25.923719Z TRACE send{space=Data pn=10 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=1389 +2026-10-11T17:31:25.923767Z TRACE noq_proto::connection: sending 1389 bytes in 1 datagrams segment_size=1389 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:48907) +2026-10-11T17:31:25.923846Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:25.924091Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1389 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:48907) using id 3d34a2f1c8e0a9f0 +2026-10-11T17:31:25.924222Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame PING +2026-10-11T17:31:25.924266Z TRACE pkt{path_id=0}:recv{space=Data pn=5}: noq_proto::connection: got frame IMMEDIATE_ACK +2026-10-11T17:31:25.924643Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (56 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:48907) using id 3d34a2f1c8e0a9f0 +2026-10-11T17:31:25.924744Z TRACE pkt{path_id=0}:recv{space=Data pn=6}: noq_proto::connection: got frame PATH_NEW_CONNECTION_ID path_id: 0 seq: 5 id: 807fecb864a1ea6a +2026-10-11T17:31:25.924867Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:25.924945Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [4..7] delay: 549µs +2026-10-11T17:31:25.925033Z TRACE send{space=Data pn=11 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=36 +2026-10-11T17:31:25.925069Z TRACE noq_proto::connection::transmit_buf: clipped datagram size segment_size=36 prev_segment_size=1326 +2026-10-11T17:31:25.925090Z TRACE noq_proto::connection: sending 36 bytes in 1 datagrams segment_size=36 last_datagram_len=0 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:48907) +2026-10-11T17:31:25.925194Z TRACE noq_proto::connection: nothing to send in space space_id=Data path_id=0 +2026-10-11T17:31:25.925553Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(123164092799696) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:37857, 10.200.0.2:37857, 127.0.0.1:37857} +2026-10-11T17:31:25.925775Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(123164092799696) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:31:25.926111Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:31:25.926154Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:31:25.926261Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:31:25.926318Z TRACE noq_proto::connection: connection closed +2026-10-11T17:31:25.926337Z TRACE noq_proto::connection::state: connection state: closed remote_reason=Application(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) is_local=true +2026-10-11T17:31:25.926674Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:31:25.926768Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:48907)/Active"] +2026-10-11T17:31:25.926938Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:25.927005Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:25.927052Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [4..7] delay: 802µs +2026-10-11T17:31:25.927091Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=4097 reason='not on allowlist' +2026-10-11T17:31:25.927164Z TRACE send{space=Data pn=12 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:25.927225Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=1326 last_datagram_len=56 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:48907) +2026-10-11T17:31:25.930251Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 10.200.0.2, remote: [::ffff:10.200.0.2]:48907) using id 3d34a2f1c8e0a9f0 +2026-10-11T17:31:25.930387Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: processing frame in closed state frame=PathResponse(PathResponse(5500759298270148369)) +2026-10-11T17:31:25.930422Z TRACE pkt{path_id=0}:recv{space=Data pn=7}: noq_proto::connection: processing frame in closed state frame=PathChallenge(PathChallenge(13424074874140529156)) +2026-10-11T17:31:25.930668Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 10.200.0.1, remote: [::ffff:10.200.0.1]:48907) using id 3d34a2f1c8e0a9f0 +2026-10-11T17:31:25.930717Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: processing frame in closed state frame=PathResponse(PathResponse(7451401858736364469)) +2026-10-11T17:31:25.930735Z TRACE pkt{path_id=0}:recv{space=Data pn=8}: noq_proto::connection: processing frame in closed state frame=PathChallenge(PathChallenge(8939001100993471901)) +2026-10-11T17:31:25.930991Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (1200 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:48907) using id 3d34a2f1c8e0a9f0 +2026-10-11T17:31:25.931041Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: processing frame in closed state frame=ImmediateAck +2026-10-11T17:31:25.931068Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: processing frame in closed state frame=PathAck(PathAck { path_id: PathId(0), largest: 8, delay: 59, ranges: [0..2,4..9], ecn: Some(EcnCounts { ect0: 3, ect1: 0, ce: 0 }) }) +2026-10-11T17:31:25.931099Z TRACE pkt{path_id=0}:recv{space=Data pn=9}: noq_proto::connection: processing frame in closed state frame=PathResponse(PathResponse(9986448497817538020)) +2026-10-11T17:31:25.931385Z TRACE noq_proto::connection: new datagram started count=1 +2026-10-11T17:31:25.931435Z TRACE send{space=Data pn=13 path_id=0}: noq_proto::connection: sending CONNECTION_CLOSE +2026-10-11T17:31:25.931476Z TRACE send{space=Data pn=13 path_id=0}: noq_proto::connection::packet_builder: frame=PATH_ACK_ECN path_id: 0 ranges: [4..7] delay: 1359µs +2026-10-11T17:31:25.931523Z TRACE send{space=Data pn=13 path_id=0}: noq_proto::connection::packet_builder: frame=CONNECTION_CLOSE error_code=4097 reason='not on allowlist' +2026-10-11T17:31:25.931567Z TRACE send{space=Data pn=13 path_id=0}: noq_proto::connection::packet_builder: wrote packet size=56 +2026-10-11T17:31:25.931604Z TRACE noq_proto::connection: sending 56 bytes in 1 datagrams segment_size=1326 last_datagram_len=56 network_path=(local: 127.0.0.1, remote: [::ffff:127.0.0.1]:48907) +2026-10-11T17:31:25.938128Z TRACE pkt{path_id=0}: noq_proto::connection: got Data packet (40 bytes) from (local: 127.0.0.1, remote: [::ffff:127.0.0.1]:48907) using id 3d34a2f1c8e0a9f0 +2026-10-11T17:31:25.938377Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: processing frame in closed state frame=PathAck(PathAck { path_id: PathId(0), largest: 12, delay: 211, ranges: [6..13], ecn: Some(EcnCounts { ect0: 7, ect1: 0, ce: 0 }) }) +2026-10-11T17:31:25.938431Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection: processing frame in closed state frame=Close(Connection(ConnectionClose { error_code: NO_ERROR, frame_type: None, reason: b"" })) +2026-10-11T17:31:25.938473Z TRACE pkt{path_id=0}:recv{space=Data pn=10}: noq_proto::connection::state: connection state: draining diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/SUMMARY.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/SUMMARY.txt new file mode 100644 index 0000000000..68e5e68c94 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/SUMMARY.txt @@ -0,0 +1,81 @@ +== filter-refuse (10 runs) == +server hook ran: 0/10 (0%, 95% Wilson 0-28%); allowed flag at hook: 0 allowed of 0 +server refused in hook: 0/10 (0%, 95% Wilson 0-28%); handed to application: 0/10 (0%, 95% Wilson 0-28%); refused after stream: 0/10 (0%, 95% Wilson 0-28%); refused before handshake: 10/10 (100%, 95% Wilson 72-100%) +server candidates queued before hook: 0/10 (0%, 95% Wilson 0-28%); queue-to-hook gap n/a +server first Initial packet to candidates queued (server-side handshake) n/a +server hook-to-refusal gap n/a +client connect() returned Ok: 0/10 (0%, 95% Wilson 0-28%); connect() error: 10/10 (100%, 95% Wilson 72-100%) +client connect() error text: {'aborted by peer: the server refused to accept a new connection': 10} +client connect() return time n/a +client connect() error time median 4.5 ms (min 4.0, max 11.4, n=10) +client peer close observed time from start n/a; connect-return to close n/a +client close message(s): none +client saw >=1 server AddressAdded before/at close: 0/10 (0%, 95% Wilson 0-28%); of those, AddressAdded before the close event: 0 +client saw a server address NOT in the ticket (new information): 0/10 (0%, 95% Wilson 0-28%) +client holepunch attempt failed ('connection is already closed' etc.) in: 0/10 (0%, 95% Wilson 0-28%) + +== loopback-refuse (30 runs) == +server hook ran: 30/30 (100%, 95% Wilson 89-100%); allowed flag at hook: 0 allowed of 30 +server refused in hook: 30/30 (100%, 95% Wilson 89-100%); handed to application: 0/30 (0%, 95% Wilson 0-11%); refused after stream: 0/30 (0%, 95% Wilson 0-11%); refused before handshake: 0/30 (0%, 95% Wilson 0-11%) +server candidates queued before hook: 30/30 (100%, 95% Wilson 89-100%); queue-to-hook gap median 0.5 ms (min 0.3, max 7.4, n=30) +server first Initial packet to candidates queued (server-side handshake) median 134.1 ms (min 58.5, max 248.8, n=30) +server hook-to-refusal gap median 0.4 ms (min 0.3, max 18.0, n=30) +client connect() returned Ok: 30/30 (100%, 95% Wilson 89-100%); connect() error: 0/30 (0%, 95% Wilson 0-11%) +client connect() return time median 90.7 ms (min 35.5, max 184.9, n=30) +client connect() returned before the server's hook ran: 30/30 (100%, 95% Wilson 89-100%) +client peer close observed time from start median 147.1 ms (min 75.0, max 287.9, n=30); connect-return to close median 56.4 ms (min 21.4, max 109.2, n=30) +client close message(s): {'closed by peer: not on allowlist (code 4097)': 30} +client saw >=1 server AddressAdded before/at close: 5/30 (17%, 95% Wilson 7-34%); of those, AddressAdded before the close event: 5 +client saw a server address NOT in the ticket (new information): 0/30 (0%, 95% Wilson 0-11%) +client holepunch attempt failed ('connection is already closed' etc.) in: 0/30 (0%, 95% Wilson 0-11%) + +== multi-allow (10 runs) == +server hook ran: 10/10 (100%, 95% Wilson 72-100%); allowed flag at hook: 10 allowed of 10 +server refused in hook: 0/10 (0%, 95% Wilson 0-28%); handed to application: 10/10 (100%, 95% Wilson 72-100%); refused after stream: 0/10 (0%, 95% Wilson 0-28%); refused before handshake: 0/10 (0%, 95% Wilson 0-28%) +server candidates queued before hook: 10/10 (100%, 95% Wilson 72-100%); queue-to-hook gap median 0.5 ms (min 0.2, max 1.2, n=10) +server first Initial packet to candidates queued (server-side handshake) median 32.1 ms (min 27.8, max 67.8, n=10) +server hook-to-refusal gap n/a +client connect() returned Ok: 10/10 (100%, 95% Wilson 72-100%); connect() error: 0/10 (0%, 95% Wilson 0-28%) +client connect() return time median 23.5 ms (min 18.7, max 49.8, n=10) +client connect() returned before the server's hook ran: 10/10 (100%, 95% Wilson 72-100%) +client peer close observed time from start n/a; connect-return to close n/a +client close message(s): none +client stream reply(s): {'welcome': 10} +client saw >=1 server AddressAdded before/at close: 10/10 (100%, 95% Wilson 72-100%); of those, AddressAdded before the close event: 0 +client saw a server address NOT in the ticket (new information): 10/10 (100%, 95% Wilson 72-100%) +client holepunch attempt failed ('connection is already closed' etc.) in: 0/10 (0%, 95% Wilson 0-28%) +client example new addresses (run-01): ['10.200.0.1:41743', '10.200.0.2:41743'] + +== multi-app (30 runs) == +server hook ran: 30/30 (100%, 95% Wilson 89-100%); allowed flag at hook: 0 allowed of 30 +server refused in hook: 0/30 (0%, 95% Wilson 0-11%); handed to application: 30/30 (100%, 95% Wilson 89-100%); refused after stream: 30/30 (100%, 95% Wilson 89-100%); refused before handshake: 0/30 (0%, 95% Wilson 0-11%) +server candidates queued before hook: 30/30 (100%, 95% Wilson 89-100%); queue-to-hook gap median 0.7 ms (min 0.2, max 1.6, n=30) +server first Initial packet to candidates queued (server-side handshake) median 34.4 ms (min 28.9, max 71.9, n=30) +server hook-to-refusal gap n/a +client connect() returned Ok: 30/30 (100%, 95% Wilson 89-100%); connect() error: 0/30 (0%, 95% Wilson 0-11%) +client connect() return time median 23.1 ms (min 18.5, max 50.4, n=30) +client connect() returned before the server's hook ran: 30/30 (100%, 95% Wilson 89-100%) +client peer close observed time from start median 43.7 ms (min 33.0, max 86.5, n=30); connect-return to close median 18.0 ms (min 14.5, max 36.1, n=30) +client close message(s): {'closed by peer: not on allowlist (code 4098)': 30} +client stream error(s): {'read error: connection lost': 30} +client saw >=1 server AddressAdded before/at close: 29/30 (97%, 95% Wilson 83-99%); of those, AddressAdded before the close event: 28 +client saw a server address NOT in the ticket (new information): 29/30 (97%, 95% Wilson 83-99%) +client holepunch attempt failed ('connection is already closed' etc.) in: 6/30 (20%, 95% Wilson 10-37%) +client example new addresses (run-01): ['10.200.0.1:38631', '10.200.0.2:38631'] + +== multi-refuse (30 runs) == +server hook ran: 30/30 (100%, 95% Wilson 89-100%); allowed flag at hook: 0 allowed of 30 +server refused in hook: 30/30 (100%, 95% Wilson 89-100%); handed to application: 0/30 (0%, 95% Wilson 0-11%); refused after stream: 0/30 (0%, 95% Wilson 0-11%); refused before handshake: 0/30 (0%, 95% Wilson 0-11%) +server candidates queued before hook: 30/30 (100%, 95% Wilson 89-100%); queue-to-hook gap median 0.5 ms (min 0.3, max 4.9, n=30) +server first Initial packet to candidates queued (server-side handshake) median 37.3 ms (min 30.9, max 69.3, n=30) +server hook-to-refusal gap median 0.6 ms (min 0.3, max 4.8, n=30) +client connect() returned Ok: 30/30 (100%, 95% Wilson 89-100%); connect() error: 0/30 (0%, 95% Wilson 0-11%) +client connect() return time median 27.0 ms (min 21.7, max 55.9, n=30) +client connect() returned before the server's hook ran: 30/30 (100%, 95% Wilson 89-100%) +client peer close observed time from start median 47.4 ms (min 37.3, max 77.8, n=30); connect-return to close median 19.2 ms (min 13.6, max 36.6, n=30) +client close message(s): {'closed by peer: not on allowlist (code 4097)': 30} +client saw >=1 server AddressAdded before/at close: 17/30 (57%, 95% Wilson 39-73%); of those, AddressAdded before the close event: 14 +client saw a server address NOT in the ticket (new information): 17/30 (57%, 95% Wilson 39-73%) +client holepunch attempt failed ('connection is already closed' etc.) in: 6/30 (20%, 95% Wilson 10-37%) +client example new addresses (run-02): ['10.200.0.1:38337', '10.200.0.2:38337'] + diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-01/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-01/client.log new file mode 100644 index 0000000000..3aa21d20d0 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-01/client.log @@ -0,0 +1,10 @@ +2026-10-11T17:24:13.294253Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:60909] +2026-10-11T17:24:13.294808Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:13.294961Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:24:13.295086Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:24:13.295111Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:24:13.295139Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:24:13.297069Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:60909)] +2026-10-11T17:24:13.298538Z INFO harness: connect() failed role="client" event="connect_err" elapsed_ms=4.179062 error=aborted by peer: the server refused to accept a new connection dbg=aborted by peer: the server refused to accept a new connection +2026-10-11T17:24:13.298704Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:24:13.298762Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-01/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-01/ready.txt new file mode 100644 index 0000000000..25e80ed6a7 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-01/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=60909 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-01/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-01/server.log new file mode 100644 index 0000000000..9a6640ce93 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-01/server.log @@ -0,0 +1,3 @@ +2026-10-11T17:24:13.271334Z INFO harness: bound role="server" event="ready" mode=Filter id=8a88e3dd74 port=60909 direct=["10.200.0.1:60909", "10.200.0.2:60909", "127.0.0.1:60909"] +2026-10-11T17:24:13.297892Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:35512) alpns=["n30/allowlist/0"] +2026-10-11T17:24:13.298015Z INFO harness: Incoming::refuse() role="server" event="refused_before_handshake" diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-02/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-02/client.log new file mode 100644 index 0000000000..fac19e7ceb --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-02/client.log @@ -0,0 +1,10 @@ +2026-10-11T17:24:13.953645Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:45455] +2026-10-11T17:24:13.954174Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:13.954578Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:24:13.954682Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:24:13.954698Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:24:13.954722Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:24:13.956277Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:45455)] +2026-10-11T17:24:13.957874Z INFO harness: connect() failed role="client" event="connect_err" elapsed_ms=4.129849 error=aborted by peer: the server refused to accept a new connection dbg=aborted by peer: the server refused to accept a new connection +2026-10-11T17:24:13.958194Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:24:13.958254Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-02/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-02/ready.txt new file mode 100644 index 0000000000..3f50bf7e02 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-02/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=45455 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-02/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-02/server.log new file mode 100644 index 0000000000..0d7bb7fa65 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-02/server.log @@ -0,0 +1,3 @@ +2026-10-11T17:24:13.923642Z INFO harness: bound role="server" event="ready" mode=Filter id=8a88e3dd74 port=45455 direct=["10.200.0.1:45455", "10.200.0.2:45455", "127.0.0.1:45455"] +2026-10-11T17:24:13.957253Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:33803) alpns=["n30/allowlist/0"] +2026-10-11T17:24:13.957317Z INFO harness: Incoming::refuse() role="server" event="refused_before_handshake" diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-03/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-03/client.log new file mode 100644 index 0000000000..716e8c1249 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-03/client.log @@ -0,0 +1,10 @@ +2026-10-11T17:24:14.604310Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:34473] +2026-10-11T17:24:14.605683Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:14.605849Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:24:14.605977Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:24:14.606001Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:24:14.606025Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:24:14.607523Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:34473)] +2026-10-11T17:24:14.609238Z INFO harness: connect() failed role="client" event="connect_err" elapsed_ms=4.808243 error=aborted by peer: the server refused to accept a new connection dbg=aborted by peer: the server refused to accept a new connection +2026-10-11T17:24:14.609440Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:24:14.609500Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-03/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-03/ready.txt new file mode 100644 index 0000000000..f8e98e0acd --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-03/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=34473 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-03/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-03/server.log new file mode 100644 index 0000000000..94a8165188 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-03/server.log @@ -0,0 +1,3 @@ +2026-10-11T17:24:14.585123Z INFO harness: bound role="server" event="ready" mode=Filter id=8a88e3dd74 port=34473 direct=["10.200.0.1:34473", "10.200.0.2:34473", "127.0.0.1:34473"] +2026-10-11T17:24:14.608600Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:60961) alpns=["n30/allowlist/0"] +2026-10-11T17:24:14.608666Z INFO harness: Incoming::refuse() role="server" event="refused_before_handshake" diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-04/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-04/client.log new file mode 100644 index 0000000000..9ac70c234e --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-04/client.log @@ -0,0 +1,10 @@ +2026-10-11T17:24:15.256434Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:43095] +2026-10-11T17:24:15.257036Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:15.257172Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:24:15.257293Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:24:15.257313Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:24:15.257339Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:24:15.258845Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:43095)] +2026-10-11T17:24:15.260779Z INFO harness: connect() failed role="client" event="connect_err" elapsed_ms=4.208628 error=aborted by peer: the server refused to accept a new connection dbg=aborted by peer: the server refused to accept a new connection +2026-10-11T17:24:15.261151Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:24:15.261248Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-04/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-04/ready.txt new file mode 100644 index 0000000000..e1d38d256a --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-04/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=43095 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-04/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-04/server.log new file mode 100644 index 0000000000..4b489659a6 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-04/server.log @@ -0,0 +1,3 @@ +2026-10-11T17:24:15.232744Z INFO harness: bound role="server" event="ready" mode=Filter id=8a88e3dd74 port=43095 direct=["10.200.0.1:43095", "10.200.0.2:43095", "127.0.0.1:43095"] +2026-10-11T17:24:15.259815Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:58628) alpns=["n30/allowlist/0"] +2026-10-11T17:24:15.259883Z INFO harness: Incoming::refuse() role="server" event="refused_before_handshake" diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-05/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-05/client.log new file mode 100644 index 0000000000..caf7e67dc7 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-05/client.log @@ -0,0 +1,10 @@ +2026-10-11T17:24:15.918872Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:52902] +2026-10-11T17:24:15.919413Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:15.919547Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:24:15.919643Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:24:15.919657Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:24:15.919678Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:24:15.921210Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:52902)] +2026-10-11T17:24:15.922979Z INFO harness: connect() failed role="client" event="connect_err" elapsed_ms=3.9824400000000004 error=aborted by peer: the server refused to accept a new connection dbg=aborted by peer: the server refused to accept a new connection +2026-10-11T17:24:15.923242Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:24:15.923309Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-05/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-05/ready.txt new file mode 100644 index 0000000000..e0840f95c0 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-05/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=52902 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-05/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-05/server.log new file mode 100644 index 0000000000..e0673b30b4 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-05/server.log @@ -0,0 +1,3 @@ +2026-10-11T17:24:15.897711Z INFO harness: bound role="server" event="ready" mode=Filter id=8a88e3dd74 port=52902 direct=["10.200.0.1:52902", "10.200.0.2:52902", "127.0.0.1:52902"] +2026-10-11T17:24:15.922247Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:54159) alpns=["n30/allowlist/0"] +2026-10-11T17:24:15.922309Z INFO harness: Incoming::refuse() role="server" event="refused_before_handshake" diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-06/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-06/client.log new file mode 100644 index 0000000000..8a8d2eccbf --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-06/client.log @@ -0,0 +1,10 @@ +2026-10-11T17:24:16.573838Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:54062] +2026-10-11T17:24:16.574511Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:16.574674Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:24:16.574799Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:24:16.574825Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:24:16.574852Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:24:16.576416Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:54062)] +2026-10-11T17:24:16.577993Z INFO harness: connect() failed role="client" event="connect_err" elapsed_ms=4.009621 error=aborted by peer: the server refused to accept a new connection dbg=aborted by peer: the server refused to accept a new connection +2026-10-11T17:24:16.578209Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:24:16.578269Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-06/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-06/ready.txt new file mode 100644 index 0000000000..d23fd09e89 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-06/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=54062 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-06/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-06/server.log new file mode 100644 index 0000000000..053eb70919 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-06/server.log @@ -0,0 +1,3 @@ +2026-10-11T17:24:16.552286Z INFO harness: bound role="server" event="ready" mode=Filter id=8a88e3dd74 port=54062 direct=["10.200.0.1:54062", "10.200.0.2:54062", "127.0.0.1:54062"] +2026-10-11T17:24:16.577366Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:52870) alpns=["n30/allowlist/0"] +2026-10-11T17:24:16.577430Z INFO harness: Incoming::refuse() role="server" event="refused_before_handshake" diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-07/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-07/client.log new file mode 100644 index 0000000000..b7354a8228 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-07/client.log @@ -0,0 +1,10 @@ +2026-10-11T17:24:17.269752Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:44231] +2026-10-11T17:24:17.270938Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:17.271118Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:24:17.271251Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:24:17.271274Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:24:17.271303Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:24:17.274146Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:44231)] +2026-10-11T17:24:17.281247Z INFO harness: connect() failed role="client" event="connect_err" elapsed_ms=11.372731 error=aborted by peer: the server refused to accept a new connection dbg=aborted by peer: the server refused to accept a new connection +2026-10-11T17:24:17.282067Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:24:17.282156Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-07/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-07/ready.txt new file mode 100644 index 0000000000..a5919cb049 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-07/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=44231 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-07/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-07/server.log new file mode 100644 index 0000000000..09045f954a --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-07/server.log @@ -0,0 +1,3 @@ +2026-10-11T17:24:17.209195Z INFO harness: bound role="server" event="ready" mode=Filter id=8a88e3dd74 port=44231 direct=["10.200.0.1:44231", "10.200.0.2:44231", "127.0.0.1:44231"] +2026-10-11T17:24:17.275374Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:60145) alpns=["n30/allowlist/0"] +2026-10-11T17:24:17.275451Z INFO harness: Incoming::refuse() role="server" event="refused_before_handshake" diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-08/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-08/client.log new file mode 100644 index 0000000000..dfbc304b7a --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-08/client.log @@ -0,0 +1,10 @@ +2026-10-11T17:24:18.007225Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:42159] +2026-10-11T17:24:18.008139Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:18.008289Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:24:18.008400Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:24:18.008419Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:24:18.008445Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:24:18.010620Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:42159)] +2026-10-11T17:24:18.013541Z INFO harness: connect() failed role="client" event="connect_err" elapsed_ms=6.190259 error=aborted by peer: the server refused to accept a new connection dbg=aborted by peer: the server refused to accept a new connection +2026-10-11T17:24:18.013850Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:24:18.013938Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-08/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-08/ready.txt new file mode 100644 index 0000000000..51e756222b --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-08/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=42159 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-08/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-08/server.log new file mode 100644 index 0000000000..96c7359a97 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-08/server.log @@ -0,0 +1,3 @@ +2026-10-11T17:24:17.943021Z INFO harness: bound role="server" event="ready" mode=Filter id=8a88e3dd74 port=42159 direct=["10.200.0.1:42159", "10.200.0.2:42159", "127.0.0.1:42159"] +2026-10-11T17:24:18.012579Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:36471) alpns=["n30/allowlist/0"] +2026-10-11T17:24:18.012660Z INFO harness: Incoming::refuse() role="server" event="refused_before_handshake" diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-09/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-09/client.log new file mode 100644 index 0000000000..ef59be7ef7 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-09/client.log @@ -0,0 +1,10 @@ +2026-10-11T17:24:18.729287Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:54970] +2026-10-11T17:24:18.730622Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:18.730821Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:24:18.730961Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:24:18.730992Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:24:18.731023Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:24:18.733143Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:54970)] +2026-10-11T17:24:18.735142Z INFO harness: connect() failed role="client" event="connect_err" elapsed_ms=5.71526 error=aborted by peer: the server refused to accept a new connection dbg=aborted by peer: the server refused to accept a new connection +2026-10-11T17:24:18.736018Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:24:18.736110Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-09/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-09/ready.txt new file mode 100644 index 0000000000..31b3a9d12a --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-09/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=54970 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-09/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-09/server.log new file mode 100644 index 0000000000..8b363df43d --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-09/server.log @@ -0,0 +1,3 @@ +2026-10-11T17:24:18.678168Z INFO harness: bound role="server" event="ready" mode=Filter id=8a88e3dd74 port=54970 direct=["10.200.0.1:54970", "10.200.0.2:54970", "127.0.0.1:54970"] +2026-10-11T17:24:18.734308Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:47545) alpns=["n30/allowlist/0"] +2026-10-11T17:24:18.734375Z INFO harness: Incoming::refuse() role="server" event="refused_before_handshake" diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-10/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-10/client.log new file mode 100644 index 0000000000..5831acbb68 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-10/client.log @@ -0,0 +1,10 @@ +2026-10-11T17:24:19.442614Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:36314] +2026-10-11T17:24:19.444051Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:19.444210Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:24:19.444323Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:24:19.444340Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:24:19.444365Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:24:19.448245Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:36314)] +2026-10-11T17:24:19.453982Z INFO harness: connect() failed role="client" event="connect_err" elapsed_ms=11.230410999999998 error=aborted by peer: the server refused to accept a new connection dbg=aborted by peer: the server refused to accept a new connection +2026-10-11T17:24:19.454810Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:24:19.454887Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-10/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-10/ready.txt new file mode 100644 index 0000000000..4b9fcfe0f9 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-10/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=36314 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-10/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-10/server.log new file mode 100644 index 0000000000..b3b74eb44c --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/filter-refuse/run-10/server.log @@ -0,0 +1,3 @@ +2026-10-11T17:24:19.386655Z INFO harness: bound role="server" event="ready" mode=Filter id=8a88e3dd74 port=36314 direct=["10.200.0.1:36314", "10.200.0.2:36314", "127.0.0.1:36314"] +2026-10-11T17:24:19.452227Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:54016) alpns=["n30/allowlist/0"] +2026-10-11T17:24:19.452309Z INFO harness: Incoming::refuse() role="server" event="refused_before_handshake" diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-01/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-01/client.log new file mode 100644 index 0000000000..2e02f9974c --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-01/client.log @@ -0,0 +1,14 @@ +2026-10-11T17:22:02.408982Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:48116] +2026-10-11T17:22:02.409469Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:02.409588Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:02.409687Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:02.409704Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:02.409726Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:02.411500Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:48116)] +2026-10-11T17:22:02.447811Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(101826845850208) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:53836} +2026-10-11T17:22:02.448267Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=39.184692 remote_info=["Ip(127.0.0.1:48116)/Active"] +2026-10-11T17:22:02.485761Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:02.486255Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=77.172054 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:48116)/Active"] +2026-10-11T17:22:02.688614Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:48116)/Active"] +2026-10-11T17:22:02.688838Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:02.688880Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-01/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-01/ready.txt new file mode 100644 index 0000000000..e929586b8c --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-01/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=48116 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-01/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-01/server.log new file mode 100644 index 0000000000..2ebf833c21 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-01/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:22:02.298158Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=48116 direct=["127.0.0.1:48116"] +2026-10-11T17:22:02.412669Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:53836) alpns=["n30/allowlist/0"] +2026-10-11T17:22:02.469265Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:02.471125Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(129410585940192) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:48116} +2026-10-11T17:22:02.471338Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(129410585940192) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:02.471608Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:22:02.471640Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:02.471725Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:02.472064Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:02.472149Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:53836)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-02/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-02/client.log new file mode 100644 index 0000000000..bdf50a876d --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-02/client.log @@ -0,0 +1,14 @@ +2026-10-11T17:22:03.556651Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:39523] +2026-10-11T17:22:03.558883Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:03.559116Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:03.559232Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:03.559247Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:03.559270Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:03.571091Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:39523)] +2026-10-11T17:22:03.736908Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(98903573260640) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:46104} +2026-10-11T17:22:03.741619Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=184.85128 remote_info=["Ip(127.0.0.1:39523)/Active"] +2026-10-11T17:22:03.844706Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=287.939105 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:39523)/Active"] +2026-10-11T17:22:03.849200Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:04.057567Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:39523)/Active"] +2026-10-11T17:22:04.057987Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:04.058043Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-02/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-02/ready.txt new file mode 100644 index 0000000000..612023bc05 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-02/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=39523 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-02/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-02/server.log new file mode 100644 index 0000000000..23ddea5559 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-02/server.log @@ -0,0 +1,8 @@ +2026-10-11T17:22:03.429125Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=39523 direct=["127.0.0.1:39523"] +2026-10-11T17:22:03.582207Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:46104) alpns=["n30/allowlist/0"] +2026-10-11T17:22:03.830651Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:03.830960Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(138482764828816) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:39523} +2026-10-11T17:22:03.831081Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(138482764828816) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:03.831314Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:03.831585Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:03.831667Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:46104)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-03/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-03/client.log new file mode 100644 index 0000000000..6d92480698 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-03/client.log @@ -0,0 +1,14 @@ +2026-10-11T17:22:05.002955Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:54572] +2026-10-11T17:22:05.003934Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:05.004062Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:05.008950Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:54572)] +2026-10-11T17:22:05.013207Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:05.013284Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:05.013316Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:05.112443Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(103548686309728) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:51988} +2026-10-11T17:22:05.120399Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=117.31040800000001 remote_info=["Ip(127.0.0.1:54572)/Active"] +2026-10-11T17:22:05.169173Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:05.169689Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=166.607004 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:54572)/Active"] +2026-10-11T17:22:05.372784Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:54572)/Active"] +2026-10-11T17:22:05.379140Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:05.379239Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-03/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-03/ready.txt new file mode 100644 index 0000000000..69e4b0de33 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-03/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=54572 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-03/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-03/server.log new file mode 100644 index 0000000000..94b6c4496d --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-03/server.log @@ -0,0 +1,8 @@ +2026-10-11T17:22:04.870355Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=54572 direct=["127.0.0.1:54572"] +2026-10-11T17:22:05.009922Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:51988) alpns=["n30/allowlist/0"] +2026-10-11T17:22:05.163026Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:05.163310Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(138936152313888) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:54572} +2026-10-11T17:22:05.163422Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(138936152313888) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:05.163622Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:05.163884Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:05.177271Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:51988)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-04/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-04/client.log new file mode 100644 index 0000000000..600965ac55 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-04/client.log @@ -0,0 +1,14 @@ +2026-10-11T17:22:06.296699Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:41328] +2026-10-11T17:22:06.298464Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:06.298645Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:06.298770Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:06.298793Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:06.298820Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:06.301309Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:41328)] +2026-10-11T17:22:06.406691Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(95819553327584) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:40270} +2026-10-11T17:22:06.410989Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=114.160194 remote_info=["Ip(127.0.0.1:41328)/Active"] +2026-10-11T17:22:06.506354Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:06.510742Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=213.91411399999998 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:41328)/Active"] +2026-10-11T17:22:06.713430Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:41328)/Active"] +2026-10-11T17:22:06.713728Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:06.713776Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-04/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-04/ready.txt new file mode 100644 index 0000000000..217e4d3206 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-04/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=41328 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-04/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-04/server.log new file mode 100644 index 0000000000..fb35d107d1 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-04/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:22:06.160191Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=41328 direct=["127.0.0.1:41328"] +2026-10-11T17:22:06.304930Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:40270) alpns=["n30/allowlist/0"] +2026-10-11T17:22:06.497140Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:06.503318Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(131712151540000) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:41328} +2026-10-11T17:22:06.503550Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(131712151540000) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:06.503856Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:22:06.503893Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:06.504000Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:06.504335Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:06.504409Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:40270)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-05/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-05/client.log new file mode 100644 index 0000000000..ce3654a583 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-05/client.log @@ -0,0 +1,14 @@ +2026-10-11T17:22:07.612639Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:59832] +2026-10-11T17:22:07.613532Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:07.613668Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:07.613765Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:07.613780Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:07.613802Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:07.621658Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:59832)] +2026-10-11T17:22:07.724612Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(109572469860928) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:36594} +2026-10-11T17:22:07.725373Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=112.60068700000001 remote_info=["Ip(127.0.0.1:59832)/Active"] +2026-10-11T17:22:07.791789Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:07.792188Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=179.41616499999998 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:59832)/Active"] +2026-10-11T17:22:07.994858Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:59832)/Active"] +2026-10-11T17:22:07.997180Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:07.997263Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-05/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-05/ready.txt new file mode 100644 index 0000000000..146e44fdb7 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-05/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=59832 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-05/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-05/server.log new file mode 100644 index 0000000000..adaba63d15 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-05/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:22:07.479792Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=59832 direct=["127.0.0.1:59832"] +2026-10-11T17:22:07.626187Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:36594) alpns=["n30/allowlist/0"] +2026-10-11T17:22:07.768048Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:07.775541Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(137102939476000) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:59832} +2026-10-11T17:22:07.775735Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(137102939476000) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:07.775992Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:22:07.776024Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:07.776087Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:07.776360Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:07.776431Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:36594)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-06/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-06/client.log new file mode 100644 index 0000000000..a35d8ea28c --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-06/client.log @@ -0,0 +1,14 @@ +2026-10-11T17:22:08.873996Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:57030] +2026-10-11T17:22:08.875037Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:08.875177Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:08.875276Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:08.875293Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:08.875316Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:08.877127Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:57030)] +2026-10-11T17:22:08.926561Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(107426770688352) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:41531} +2026-10-11T17:22:08.927489Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=53.367018 remote_info=["Ip(127.0.0.1:57030)/Active"] +2026-10-11T17:22:08.972682Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:08.974042Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=99.917255 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:57030)/Active"] +2026-10-11T17:22:09.180460Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:57030)/Active"] +2026-10-11T17:22:09.180687Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:09.180728Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-06/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-06/ready.txt new file mode 100644 index 0000000000..81d03df83e --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-06/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=57030 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-06/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-06/server.log new file mode 100644 index 0000000000..8df41dc0c8 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-06/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:22:08.767277Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=57030 direct=["127.0.0.1:57030"] +2026-10-11T17:22:08.878096Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:41531) alpns=["n30/allowlist/0"] +2026-10-11T17:22:08.961131Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:08.967560Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(129795253948528) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:57030} +2026-10-11T17:22:08.967734Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(129795253948528) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:08.967945Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:22:08.967972Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:08.968037Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:08.968289Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:08.968350Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:41531)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-07/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-07/client.log new file mode 100644 index 0000000000..730e707ac7 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-07/client.log @@ -0,0 +1,14 @@ +2026-10-11T17:22:10.132800Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:42255] +2026-10-11T17:22:10.133629Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:10.133771Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:10.133876Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:10.133912Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:10.133943Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:10.135987Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:42255)] +2026-10-11T17:22:10.241430Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(99575521257536) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:39258} +2026-10-11T17:22:10.244011Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=111.06579099999999 remote_info=["Ip(127.0.0.1:42255)/Active"] +2026-10-11T17:22:10.335453Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:10.345301Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=212.355534 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:42255)/Active"] +2026-10-11T17:22:10.547623Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:42255)/Active"] +2026-10-11T17:22:10.547877Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:10.547935Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-07/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-07/ready.txt new file mode 100644 index 0000000000..e0053debc4 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-07/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=42255 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-07/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-07/server.log new file mode 100644 index 0000000000..c67cd391cf --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-07/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:22:09.980917Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=42255 direct=["127.0.0.1:42255"] +2026-10-11T17:22:10.138384Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:39258) alpns=["n30/allowlist/0"] +2026-10-11T17:22:10.311265Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:10.318404Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(124503384477808) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:42255} +2026-10-11T17:22:10.318783Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(124503384477808) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:10.319006Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:22:10.319035Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:10.319098Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:10.319360Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:10.319420Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:39258)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-08/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-08/client.log new file mode 100644 index 0000000000..4ccefaa7b2 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-08/client.log @@ -0,0 +1,14 @@ +2026-10-11T17:22:11.500527Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:47656] +2026-10-11T17:22:11.501384Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:11.501511Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:11.503574Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:47656)] +2026-10-11T17:22:11.508156Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:11.508225Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:11.508258Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:11.592820Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(100976605522400) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:40157} +2026-10-11T17:22:11.601507Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=100.855548 remote_info=["Ip(127.0.0.1:47656)/Active"] +2026-10-11T17:22:11.707296Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:11.710673Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=210.019974 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:47656)/Active"] +2026-10-11T17:22:11.915428Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:47656)/Active"] +2026-10-11T17:22:11.918207Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:11.918293Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-08/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-08/ready.txt new file mode 100644 index 0000000000..6d7ec06551 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-08/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=47656 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-08/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-08/server.log new file mode 100644 index 0000000000..7dbda815ce --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-08/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:22:11.399790Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=47656 direct=["127.0.0.1:47656"] +2026-10-11T17:22:11.506271Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:40157) alpns=["n30/allowlist/0"] +2026-10-11T17:22:11.685994Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:11.691213Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(140508311670816) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:47656} +2026-10-11T17:22:11.693478Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(140508311670816) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:11.693787Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:22:11.693811Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:11.693879Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:11.694184Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:11.694250Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:40157)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-09/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-09/client.log new file mode 100644 index 0000000000..05805e26a3 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-09/client.log @@ -0,0 +1,14 @@ +2026-10-11T17:22:12.766837Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:41151] +2026-10-11T17:22:12.767884Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:12.768033Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:12.768124Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:12.768141Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:12.768163Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:12.773909Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:41151)] +2026-10-11T17:22:12.869787Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(93912502970976) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:51418} +2026-10-11T17:22:12.880415Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=113.44327299999999 remote_info=["Ip(127.0.0.1:41151)/Active"] +2026-10-11T17:22:12.961103Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:12.961919Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=194.953665 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:41151)/Active"] +2026-10-11T17:22:13.163394Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:41151)/Active"] +2026-10-11T17:22:13.165858Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:13.166082Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-09/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-09/ready.txt new file mode 100644 index 0000000000..1768f0de6b --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-09/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=41151 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-09/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-09/server.log new file mode 100644 index 0000000000..2f966c4e00 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-09/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:22:12.674244Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=41151 direct=["127.0.0.1:41151"] +2026-10-11T17:22:12.781222Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:51418) alpns=["n30/allowlist/0"] +2026-10-11T17:22:12.928992Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:12.944651Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(131685173776416) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:41151} +2026-10-11T17:22:12.944830Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(131685173776416) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:12.945068Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:22:12.945099Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:12.945162Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:12.945418Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:12.945475Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:51418)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-10/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-10/client.log new file mode 100644 index 0000000000..9117de423c --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-10/client.log @@ -0,0 +1,14 @@ +2026-10-11T17:22:14.008276Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:52959] +2026-10-11T17:22:14.009201Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:14.009318Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:14.015995Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:52959)] +2026-10-11T17:22:14.016338Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:14.016366Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:14.016395Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:14.133114Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(96250283550944) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:40349} +2026-10-11T17:22:14.134129Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=125.726529 remote_info=["Ip(127.0.0.1:52959)/Active"] +2026-10-11T17:22:14.207647Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:14.208174Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=199.772472 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:52959)/Active"] +2026-10-11T17:22:14.409320Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:52959)/Active"] +2026-10-11T17:22:14.409591Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:14.409639Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-10/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-10/ready.txt new file mode 100644 index 0000000000..bbd37c3d26 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-10/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=52959 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-10/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-10/server.log new file mode 100644 index 0000000000..50885a0fea --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-10/server.log @@ -0,0 +1,8 @@ +2026-10-11T17:22:13.883621Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=52959 direct=["127.0.0.1:52959"] +2026-10-11T17:22:14.017140Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:40349) alpns=["n30/allowlist/0"] +2026-10-11T17:22:14.194453Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:14.194771Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(131151456902064) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:52959} +2026-10-11T17:22:14.194891Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(131151456902064) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:14.195134Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:14.195386Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:14.195448Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:40349)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-11/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-11/client.log new file mode 100644 index 0000000000..979672fc28 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-11/client.log @@ -0,0 +1,14 @@ +2026-10-11T17:22:15.267202Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:40611] +2026-10-11T17:22:15.267735Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:15.267854Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:15.267947Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:15.267968Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:15.267991Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:15.271471Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:40611)] +2026-10-11T17:22:15.315746Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(111036395989952) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:50255} +2026-10-11T17:22:15.320047Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=52.721697999999996 remote_info=["Ip(127.0.0.1:40611)/Active"] +2026-10-11T17:22:15.357274Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:15.357694Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=90.37382600000001 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:40611)/Active"] +2026-10-11T17:22:15.559614Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:40611)/Active"] +2026-10-11T17:22:15.559812Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:15.559853Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-11/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-11/ready.txt new file mode 100644 index 0000000000..bd56e06cdd --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-11/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=40611 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-11/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-11/server.log new file mode 100644 index 0000000000..55e7adc0f7 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-11/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:22:15.213616Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=40611 direct=["127.0.0.1:40611"] +2026-10-11T17:22:15.272406Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:50255) alpns=["n30/allowlist/0"] +2026-10-11T17:22:15.348429Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:15.355215Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(139979762258208) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:40611} +2026-10-11T17:22:15.355409Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(139979762258208) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:15.355665Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:22:15.355696Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:15.355763Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:15.356052Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:15.356129Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:50255)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-12/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-12/client.log new file mode 100644 index 0000000000..989d5fa185 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-12/client.log @@ -0,0 +1,14 @@ +2026-10-11T17:22:16.407470Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:44716] +2026-10-11T17:22:16.410841Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:16.410997Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:16.411103Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:16.411119Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:16.411143Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:16.413039Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:44716)] +2026-10-11T17:22:16.500235Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(105526521727456) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:47164} +2026-10-11T17:22:16.501214Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=93.620447 remote_info=["Ip(127.0.0.1:44716)/Active"] +2026-10-11T17:22:16.553480Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:16.553832Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=146.239179 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:44716)/Active"] +2026-10-11T17:22:16.756120Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:44716)/Active"] +2026-10-11T17:22:16.756393Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:16.756434Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-12/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-12/ready.txt new file mode 100644 index 0000000000..78bf897290 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-12/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=44716 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-12/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-12/server.log new file mode 100644 index 0000000000..789d5f44ab --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-12/server.log @@ -0,0 +1,8 @@ +2026-10-11T17:22:16.287116Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=44716 direct=["127.0.0.1:44716"] +2026-10-11T17:22:16.417974Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:47164) alpns=["n30/allowlist/0"] +2026-10-11T17:22:16.538853Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:16.551696Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(128411402061168) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:44716} +2026-10-11T17:22:16.551820Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(128411402061168) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:16.552050Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:16.552300Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:16.552360Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:47164)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-13/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-13/client.log new file mode 100644 index 0000000000..148c119e9e --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-13/client.log @@ -0,0 +1,14 @@ +2026-10-11T17:22:17.727401Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:54462] +2026-10-11T17:22:17.728431Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:17.728563Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:17.728666Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:17.728682Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:17.728706Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:17.739304Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:54462)] +2026-10-11T17:22:17.853039Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(109010978728288) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:46449} +2026-10-11T17:22:17.854335Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=126.819293 remote_info=["Ip(127.0.0.1:54462)/Active"] +2026-10-11T17:22:17.925265Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=197.745219 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:54462)/Active"] +2026-10-11T17:22:17.925459Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:18.136621Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:54462)/Active"] +2026-10-11T17:22:18.138093Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:18.138160Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-13/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-13/ready.txt new file mode 100644 index 0000000000..45ef2b8d43 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-13/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=54462 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-13/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-13/server.log new file mode 100644 index 0000000000..8928a712b2 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-13/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:22:17.607244Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=54462 direct=["127.0.0.1:54462"] +2026-10-11T17:22:17.744227Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:46449) alpns=["n30/allowlist/0"] +2026-10-11T17:22:17.906985Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:17.919478Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(131355199492128) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:54462} +2026-10-11T17:22:17.919715Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(131355199492128) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:17.920034Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:22:17.920074Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:17.920152Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:17.920461Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:17.920529Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:46449)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-14/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-14/client.log new file mode 100644 index 0000000000..133750f5e2 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-14/client.log @@ -0,0 +1,14 @@ +2026-10-11T17:22:19.047602Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:59201] +2026-10-11T17:22:19.048603Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:19.048743Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:19.048841Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:19.048858Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:19.048882Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:19.055783Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:59201)] +2026-10-11T17:22:19.145425Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(94734725020128) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:42091} +2026-10-11T17:22:19.149333Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=101.595055 remote_info=["Ip(127.0.0.1:59201)/Active"] +2026-10-11T17:22:19.231646Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:19.243974Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=196.237985 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:59201)/Active"] +2026-10-11T17:22:19.445517Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:59201)/Active"] +2026-10-11T17:22:19.445771Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:19.445811Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-14/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-14/ready.txt new file mode 100644 index 0000000000..f8ea81aabb --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-14/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=59201 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-14/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-14/server.log new file mode 100644 index 0000000000..04d6ead801 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-14/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:22:18.917144Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=59201 direct=["127.0.0.1:59201"] +2026-10-11T17:22:19.056932Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:42091) alpns=["n30/allowlist/0"] +2026-10-11T17:22:19.211669Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:19.222901Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(139150430915120) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:59201} +2026-10-11T17:22:19.223113Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(139150430915120) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:19.223357Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:22:19.223381Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:19.223447Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:19.223715Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:19.223779Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:42091)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-15/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-15/client.log new file mode 100644 index 0000000000..267e955f5b --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-15/client.log @@ -0,0 +1,17 @@ +2026-10-11T17:22:20.399025Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:55518] +2026-10-11T17:22:20.399847Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:20.399969Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:20.401647Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:55518)] +2026-10-11T17:22:20.402042Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:20.402078Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:20.402104Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:20.493526Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(98255085836640) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:52349} +2026-10-11T17:22:20.494400Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=95.25549799999999 remote_info=["Ip(127.0.0.1:55518)/Active"] +2026-10-11T17:22:20.591256Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(98255085836640) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:22:20.591389Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(98255085836640) evt=Ok(AddressAdded(127.0.0.1:55518)) +2026-10-11T17:22:20.591468Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 36977, tv_nsec: 932823317 }, local_candidates: {127.0.0.1:52349}, remote_candidates: {} } local_candidates={127.0.0.1:52349} remote_candidates={127.0.0.1:55518} +2026-10-11T17:22:20.600288Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:20.602671Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=203.525341 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:55518)/Active"] +2026-10-11T17:22:20.804546Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:55518)/Active"] +2026-10-11T17:22:20.804801Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:20.804843Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-15/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-15/ready.txt new file mode 100644 index 0000000000..55cc714edc --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-15/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=55518 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-15/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-15/server.log new file mode 100644 index 0000000000..4c7184d49f --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-15/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:22:20.231153Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=55518 direct=["127.0.0.1:55518"] +2026-10-11T17:22:20.405153Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:52349) alpns=["n30/allowlist/0"] +2026-10-11T17:22:20.567107Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:20.575594Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(124279979069472) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:55518} +2026-10-11T17:22:20.575792Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(124279979069472) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:20.582822Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:22:20.582918Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:20.582999Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:20.591538Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:20.591652Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:52349)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-16/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-16/client.log new file mode 100644 index 0000000000..d9ea876160 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-16/client.log @@ -0,0 +1,14 @@ +2026-10-11T17:22:21.712854Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:49192] +2026-10-11T17:22:21.713726Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:21.713842Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:21.713952Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:21.713971Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:21.713995Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:21.719707Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:49192)] +2026-10-11T17:22:21.826372Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(94878792694240) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:42119} +2026-10-11T17:22:21.827255Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=114.272837 remote_info=["Ip(127.0.0.1:49192)/Active"] +2026-10-11T17:22:21.915791Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:21.916239Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=203.256669 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:49192)/Active"] +2026-10-11T17:22:22.117364Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:49192)/Active"] +2026-10-11T17:22:22.117619Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:22.117662Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-16/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-16/ready.txt new file mode 100644 index 0000000000..3c33e40a1c --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-16/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=49192 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-16/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-16/server.log new file mode 100644 index 0000000000..ef17d2c5b1 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-16/server.log @@ -0,0 +1,8 @@ +2026-10-11T17:22:21.593353Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=49192 direct=["127.0.0.1:49192"] +2026-10-11T17:22:21.726793Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:42119) alpns=["n30/allowlist/0"] +2026-10-11T17:22:21.902714Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:21.902989Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(137985823691040) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:49192} +2026-10-11T17:22:21.903092Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(137985823691040) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:21.903265Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:21.903473Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:21.903531Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:42119)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-17/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-17/client.log new file mode 100644 index 0000000000..b725b9acbf --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-17/client.log @@ -0,0 +1,14 @@ +2026-10-11T17:22:22.988988Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:50072] +2026-10-11T17:22:22.989729Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:22.989849Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:22.989957Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:22.989978Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:22.990001Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:22.991781Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:50072)] +2026-10-11T17:22:23.110508Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(99300738460000) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:48160} +2026-10-11T17:22:23.114469Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=125.359804 remote_info=["Ip(127.0.0.1:50072)/Active"] +2026-10-11T17:22:23.210361Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:23.210831Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=221.72560199999998 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:50072)/Active"] +2026-10-11T17:22:23.413499Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:50072)/Active"] +2026-10-11T17:22:23.413763Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:23.413809Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-17/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-17/ready.txt new file mode 100644 index 0000000000..f80f172f8c --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-17/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=50072 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-17/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-17/server.log new file mode 100644 index 0000000000..297d1eb1a1 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-17/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:22:22.867209Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=50072 direct=["127.0.0.1:50072"] +2026-10-11T17:22:22.996421Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:48160) alpns=["n30/allowlist/0"] +2026-10-11T17:22:23.188321Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:23.188603Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(132163928331024) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:50072} +2026-10-11T17:22:23.188712Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(132163928331024) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:23.191739Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:22:23.191802Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:23.188893Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:23.206773Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:23.206881Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:48160)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-18/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-18/client.log new file mode 100644 index 0000000000..cc2dabae9d --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-18/client.log @@ -0,0 +1,14 @@ +2026-10-11T17:22:24.361934Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:59120] +2026-10-11T17:22:24.362872Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:24.363037Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:24.363133Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:24.363148Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:24.363171Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:24.365175Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:59120)] +2026-10-11T17:22:24.458057Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(108574920735968) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:41970} +2026-10-11T17:22:24.459874Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=97.830572 remote_info=["Ip(127.0.0.1:59120)/Active"] +2026-10-11T17:22:24.542044Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:24.543092Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=181.05047599999997 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:59120)/Active"] +2026-10-11T17:22:24.752655Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:59120)/Active"] +2026-10-11T17:22:24.752981Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:24.753032Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-18/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-18/ready.txt new file mode 100644 index 0000000000..6d23d6c5d3 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-18/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=59120 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-18/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-18/server.log new file mode 100644 index 0000000000..aea6534593 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-18/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:22:24.189300Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=59120 direct=["127.0.0.1:59120"] +2026-10-11T17:22:24.366135Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:41970) alpns=["n30/allowlist/0"] +2026-10-11T17:22:24.519552Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:24.530721Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(127210086289520) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:59120} +2026-10-11T17:22:24.530920Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(127210086289520) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:24.531155Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:22:24.531179Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:24.531243Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:24.531513Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:24.531576Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:41970)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-19/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-19/client.log new file mode 100644 index 0000000000..cd853d8aaf --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-19/client.log @@ -0,0 +1,17 @@ +2026-10-11T17:22:25.696454Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:54362] +2026-10-11T17:22:25.697182Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:25.697304Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:25.697401Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:25.697423Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:25.697454Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:25.700399Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:54362)] +2026-10-11T17:22:25.777888Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(97133597780320) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:35875} +2026-10-11T17:22:25.784368Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=87.793701 remote_info=["Ip(127.0.0.1:54362)/Active"] +2026-10-11T17:22:25.837055Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(97133597780320) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:22:25.837156Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(97133597780320) evt=Ok(AddressAdded(127.0.0.1:54362)) +2026-10-11T17:22:25.837210Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 36983, tv_nsec: 217213541 }, local_candidates: {127.0.0.1:35875}, remote_candidates: {} } local_candidates={127.0.0.1:35875} remote_candidates={127.0.0.1:54362} +2026-10-11T17:22:25.844487Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=147.915462 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:54362)/Active"] +2026-10-11T17:22:25.844659Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:26.046256Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:54362)/Active"] +2026-10-11T17:22:26.054329Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:26.054426Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-19/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-19/ready.txt new file mode 100644 index 0000000000..518e7b6eba --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-19/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=54362 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-19/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-19/server.log new file mode 100644 index 0000000000..04640d5c24 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-19/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:22:25.504171Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=54362 direct=["127.0.0.1:54362"] +2026-10-11T17:22:25.701442Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:35875) alpns=["n30/allowlist/0"] +2026-10-11T17:22:25.825767Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:25.835992Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(128067804601040) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:54362} +2026-10-11T17:22:25.836149Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(128067804601040) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:25.842114Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:22:25.842201Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:25.842281Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:25.842512Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:25.844085Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:35875)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-20/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-20/client.log new file mode 100644 index 0000000000..5e5bf12651 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-20/client.log @@ -0,0 +1,14 @@ +2026-10-11T17:22:26.962202Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:39130] +2026-10-11T17:22:26.963096Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:26.963248Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:26.965550Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:39130)] +2026-10-11T17:22:26.970595Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:26.970677Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:26.970709Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:27.034651Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(100442102037088) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:34962} +2026-10-11T17:22:27.036126Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=73.800922 remote_info=["Ip(127.0.0.1:39130)/Active"] +2026-10-11T17:22:27.101835Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:27.102330Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=140.005338 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:39130)/Active"] +2026-10-11T17:22:27.303494Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:39130)/Active"] +2026-10-11T17:22:27.303752Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:27.303798Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-20/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-20/ready.txt new file mode 100644 index 0000000000..66eaa6523a --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-20/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=39130 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-20/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-20/server.log new file mode 100644 index 0000000000..baaa6115c7 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-20/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:22:26.864130Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=39130 direct=["127.0.0.1:39130"] +2026-10-11T17:22:26.966554Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:34962) alpns=["n30/allowlist/0"] +2026-10-11T17:22:27.085302Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:27.085606Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(136723170414864) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:39130} +2026-10-11T17:22:27.085717Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(136723170414864) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:27.086167Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:22:27.086214Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:27.092924Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:27.093213Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:27.093798Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:34962)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-21/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-21/client.log new file mode 100644 index 0000000000..f3326659e9 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-21/client.log @@ -0,0 +1,14 @@ +2026-10-11T17:22:28.067813Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:46031] +2026-10-11T17:22:28.068400Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:28.068550Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:28.068665Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:28.068687Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:28.068714Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:28.075068Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:46031)] +2026-10-11T17:22:28.137687Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(111408238045664) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:43770} +2026-10-11T17:22:28.138227Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=70.28642 remote_info=["Ip(127.0.0.1:46031)/Active"] +2026-10-11T17:22:28.171042Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=103.096534 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:46031)/Active"] +2026-10-11T17:22:28.171306Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:28.373243Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:46031)/Active"] +2026-10-11T17:22:28.373561Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:28.373612Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-21/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-21/ready.txt new file mode 100644 index 0000000000..c75f7e8f18 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-21/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=46031 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-21/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-21/server.log new file mode 100644 index 0000000000..bbeee0bc69 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-21/server.log @@ -0,0 +1,8 @@ +2026-10-11T17:22:27.995173Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=46031 direct=["127.0.0.1:46031"] +2026-10-11T17:22:28.077824Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:43770) alpns=["n30/allowlist/0"] +2026-10-11T17:22:28.168134Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:28.168427Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(125418548053360) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:46031} +2026-10-11T17:22:28.168530Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(125418548053360) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:28.168739Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:28.169036Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:28.169104Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:43770)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-22/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-22/client.log new file mode 100644 index 0000000000..52078efc88 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-22/client.log @@ -0,0 +1,17 @@ +2026-10-11T17:22:29.114944Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:53863] +2026-10-11T17:22:29.115765Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:29.115908Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:29.116019Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:29.116035Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:29.116055Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:29.120646Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:53863)] +2026-10-11T17:22:29.167786Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(100227936742544) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:59810} +2026-10-11T17:22:29.172006Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=56.932203 remote_info=["Ip(127.0.0.1:53863)/Active"] +2026-10-11T17:22:29.190078Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(100227936742544) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:22:29.190207Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(100227936742544) evt=Ok(AddressAdded(127.0.0.1:53863)) +2026-10-11T17:22:29.190294Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 36986, tv_nsec: 607124347 }, local_candidates: {127.0.0.1:59810}, remote_candidates: {} } local_candidates={127.0.0.1:59810} remote_candidates={127.0.0.1:53863} +2026-10-11T17:22:29.192111Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:29.193433Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=78.363675 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:53863)/Active"] +2026-10-11T17:22:29.400356Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:53863)/Active"] +2026-10-11T17:22:29.404248Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:29.404361Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-22/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-22/ready.txt new file mode 100644 index 0000000000..975d80712b --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-22/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=53863 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-22/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-22/server.log new file mode 100644 index 0000000000..2429a93722 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-22/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:22:29.046831Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=53863 direct=["127.0.0.1:53863"] +2026-10-11T17:22:29.128244Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:59810) alpns=["n30/allowlist/0"] +2026-10-11T17:22:29.186663Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:29.187023Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(124863222207952) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:53863} +2026-10-11T17:22:29.187179Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(124863222207952) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:29.187464Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:29.187946Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:22:29.188001Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:29.191358Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:29.191486Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:59810)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-23/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-23/client.log new file mode 100644 index 0000000000..89f407b480 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-23/client.log @@ -0,0 +1,14 @@ +2026-10-11T17:22:30.197822Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:44992] +2026-10-11T17:22:30.198730Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:30.198871Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:30.198997Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:30.199020Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:30.199044Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:30.201188Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:44992)] +2026-10-11T17:22:30.249413Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(110412446865760) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:41092} +2026-10-11T17:22:30.250380Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=52.412268 remote_info=["Ip(127.0.0.1:44992)/Active"] +2026-10-11T17:22:30.281272Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=83.302673 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:44992)/Active"] +2026-10-11T17:22:30.281490Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:30.483100Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:44992)/Active"] +2026-10-11T17:22:30.483324Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:30.483372Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-23/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-23/ready.txt new file mode 100644 index 0000000000..0ebe31c1df --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-23/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=44992 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-23/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-23/server.log new file mode 100644 index 0000000000..6e1498f392 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-23/server.log @@ -0,0 +1,8 @@ +2026-10-11T17:22:30.131245Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=44992 direct=["127.0.0.1:44992"] +2026-10-11T17:22:30.202418Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:41092) alpns=["n30/allowlist/0"] +2026-10-11T17:22:30.277864Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:30.278216Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(125372175829936) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:44992} +2026-10-11T17:22:30.278395Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(125372175829936) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:30.278629Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:30.278932Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:30.279003Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:41092)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-24/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-24/client.log new file mode 100644 index 0000000000..7251342bd5 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-24/client.log @@ -0,0 +1,17 @@ +2026-10-11T17:22:31.264916Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:41354] +2026-10-11T17:22:31.267069Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:31.267252Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:31.267359Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:31.267376Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:31.267399Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:31.273676Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:41354)] +2026-10-11T17:22:31.327189Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(100651622738272) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:53895} +2026-10-11T17:22:31.331660Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=66.592046 remote_info=["Ip(127.0.0.1:41354)/Active"] +2026-10-11T17:22:31.365232Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(100651622738272) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:22:31.365377Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(100651622738272) evt=Ok(AddressAdded(127.0.0.1:41354)) +2026-10-11T17:22:31.365476Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 36988, tv_nsec: 766533332 }, local_candidates: {127.0.0.1:53895}, remote_candidates: {} } local_candidates={127.0.0.1:53895} remote_candidates={127.0.0.1:41354} +2026-10-11T17:22:31.371482Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:31.372422Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=107.35677100000001 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:41354)/Active"] +2026-10-11T17:22:31.576475Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:41354)/Active"] +2026-10-11T17:22:31.576773Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:31.576821Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-24/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-24/ready.txt new file mode 100644 index 0000000000..6b9b54fa66 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-24/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=41354 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-24/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-24/server.log new file mode 100644 index 0000000000..06f055e0f9 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-24/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:22:31.180124Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=41354 direct=["127.0.0.1:41354"] +2026-10-11T17:22:31.277116Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:53895) alpns=["n30/allowlist/0"] +2026-10-11T17:22:31.355412Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:31.355614Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:31.355650Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:31.358065Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(124217970399952) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:41354} +2026-10-11T17:22:31.358225Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(124217970399952) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:31.359446Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:31.370419Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:31.370573Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:53895)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-25/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-25/client.log new file mode 100644 index 0000000000..52a1bd18f1 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-25/client.log @@ -0,0 +1,14 @@ +2026-10-11T17:22:32.341748Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:50155] +2026-10-11T17:22:32.342868Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:32.343055Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:32.343169Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:32.343186Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:32.343209Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:32.345162Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:50155)] +2026-10-11T17:22:32.410954Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(98568507554784) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:57080} +2026-10-11T17:22:32.412668Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=70.79290400000001 remote_info=["Ip(127.0.0.1:50155)/Active"] +2026-10-11T17:22:32.447749Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:32.448318Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=106.44580300000001 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:50155)/Active"] +2026-10-11T17:22:32.651995Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:50155)/Active"] +2026-10-11T17:22:32.652285Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:32.652336Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-25/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-25/ready.txt new file mode 100644 index 0000000000..1b6083fc58 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-25/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=50155 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-25/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-25/server.log new file mode 100644 index 0000000000..d58667eb4f --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-25/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:22:32.278049Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=50155 direct=["127.0.0.1:50155"] +2026-10-11T17:22:32.347199Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:57080) alpns=["n30/allowlist/0"] +2026-10-11T17:22:32.436236Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:32.445164Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(132934203874000) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:50155} +2026-10-11T17:22:32.445374Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(132934203874000) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:32.445620Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:22:32.445645Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:32.445719Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:32.446047Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:32.446124Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:57080)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-26/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-26/client.log new file mode 100644 index 0000000000..715fdb22fd --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-26/client.log @@ -0,0 +1,14 @@ +2026-10-11T17:22:33.378127Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:45371] +2026-10-11T17:22:33.379028Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:33.379177Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:33.386194Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:45371)] +2026-10-11T17:22:33.390052Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:33.390161Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:33.390239Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:33.440637Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(95609728334816) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:52233} +2026-10-11T17:22:33.441686Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=63.417368 remote_info=["Ip(127.0.0.1:45371)/Active"] +2026-10-11T17:22:33.462673Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:33.463831Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=85.55955499999999 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:45371)/Active"] +2026-10-11T17:22:33.666759Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:45371)/Active"] +2026-10-11T17:22:33.667015Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:33.667071Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-26/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-26/ready.txt new file mode 100644 index 0000000000..9264822c98 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-26/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=45371 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-26/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-26/server.log new file mode 100644 index 0000000000..38288137ad --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-26/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:22:33.333227Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=45371 direct=["127.0.0.1:45371"] +2026-10-11T17:22:33.390261Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:52233) alpns=["n30/allowlist/0"] +2026-10-11T17:22:33.456297Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:33.459274Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(131342717243424) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:45371} +2026-10-11T17:22:33.459501Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(131342717243424) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:33.459786Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:22:33.459821Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:33.459909Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:33.460248Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:33.460331Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:52233)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-27/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-27/client.log new file mode 100644 index 0000000000..1ac38f510f --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-27/client.log @@ -0,0 +1,14 @@ +2026-10-11T17:22:34.435476Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:50194] +2026-10-11T17:22:34.436413Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:34.436566Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:34.436695Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:34.436717Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:34.436742Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:34.438909Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:50194)] +2026-10-11T17:22:34.491652Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(94661544123360) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:53535} +2026-10-11T17:22:34.494190Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=58.591573000000004 remote_info=["Ip(127.0.0.1:50194)/Active"] +2026-10-11T17:22:34.543431Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:34.544043Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=108.44843399999999 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:50194)/Active"] +2026-10-11T17:22:34.747476Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:50194)/Active"] +2026-10-11T17:22:34.748383Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:34.748460Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-27/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-27/ready.txt new file mode 100644 index 0000000000..8f7bf788c3 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-27/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=50194 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-27/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-27/server.log new file mode 100644 index 0000000000..0984c63599 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-27/server.log @@ -0,0 +1,8 @@ +2026-10-11T17:22:34.357621Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=50194 direct=["127.0.0.1:50194"] +2026-10-11T17:22:34.441557Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:53535) alpns=["n30/allowlist/0"] +2026-10-11T17:22:34.533860Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:34.534256Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(124944222605504) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:50194} +2026-10-11T17:22:34.534381Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(124944222605504) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:34.534621Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:34.546566Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:34.546816Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:53535)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-28/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-28/client.log new file mode 100644 index 0000000000..5441508f4b --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-28/client.log @@ -0,0 +1,17 @@ +2026-10-11T17:22:35.518559Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:51071] +2026-10-11T17:22:35.519404Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:35.519571Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:35.519692Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:35.519712Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:35.519737Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:35.524908Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:51071)] +2026-10-11T17:22:35.592025Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(106439245367648) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:36718} +2026-10-11T17:22:35.593973Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=75.293739 remote_info=["Ip(127.0.0.1:51071)/Active"] +2026-10-11T17:22:35.636869Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106439245367648) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:22:35.637036Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(106439245367648) evt=Ok(AddressAdded(127.0.0.1:51071)) +2026-10-11T17:22:35.637131Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 36993, tv_nsec: 31508053 }, local_candidates: {127.0.0.1:36718}, remote_candidates: {} } local_candidates={127.0.0.1:36718} remote_candidates={127.0.0.1:51071} +2026-10-11T17:22:35.640842Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:35.641971Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=123.292439 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:51071)/Active"] +2026-10-11T17:22:35.843526Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:51071)/Active"] +2026-10-11T17:22:35.844051Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:35.844118Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-28/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-28/ready.txt new file mode 100644 index 0000000000..279e1d5661 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-28/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=51071 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-28/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-28/server.log new file mode 100644 index 0000000000..291b14fc1d --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-28/server.log @@ -0,0 +1,12 @@ +2026-10-11T17:22:35.451523Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=51071 direct=["127.0.0.1:51071"] +2026-10-11T17:22:35.527215Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:36718) alpns=["n30/allowlist/0"] +2026-10-11T17:22:35.624835Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:35.625037Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:35.625063Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:35.631295Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(132124065665856) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:51071} +2026-10-11T17:22:35.631517Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(132124065665856) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:35.631793Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:22:35.631825Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:35.632536Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:35.638554Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:35.638705Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:36718)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-29/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-29/client.log new file mode 100644 index 0000000000..fca9cd05b9 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-29/client.log @@ -0,0 +1,14 @@ +2026-10-11T17:22:36.569136Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:46353] +2026-10-11T17:22:36.569606Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:36.569741Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:36.569854Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:36.569872Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:36.569890Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:36.572215Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:46353)] +2026-10-11T17:22:36.604107Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(111201439329888) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:56073} +2026-10-11T17:22:36.604714Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=35.461573 remote_info=["Ip(127.0.0.1:46353)/Active"] +2026-10-11T17:22:36.641402Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:36.644234Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=74.975955 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:46353)/Active"] +2026-10-11T17:22:36.850006Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:46353)/Active"] +2026-10-11T17:22:36.850324Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:36.850393Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-29/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-29/ready.txt new file mode 100644 index 0000000000..9e4aa242be --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-29/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=46353 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-29/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-29/server.log new file mode 100644 index 0000000000..fa377b02f8 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-29/server.log @@ -0,0 +1,8 @@ +2026-10-11T17:22:36.518646Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=46353 direct=["127.0.0.1:46353"] +2026-10-11T17:22:36.573448Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:56073) alpns=["n30/allowlist/0"] +2026-10-11T17:22:36.638336Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:36.638667Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(137840935574224) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:46353} +2026-10-11T17:22:36.638824Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(137840935574224) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:36.639108Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:36.639488Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:36.639589Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:56073)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-30/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-30/client.log new file mode 100644 index 0000000000..d793f68e93 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-30/client.log @@ -0,0 +1,14 @@ +2026-10-11T17:22:37.629609Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:54194] +2026-10-11T17:22:37.630325Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:37.630463Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:37.630570Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:37.630588Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:37.630612Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:37.633480Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:54194)] +2026-10-11T17:22:37.687146Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(98386834856416) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:54199} +2026-10-11T17:22:37.688725Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=58.988171 remote_info=["Ip(127.0.0.1:54194)/Active"] +2026-10-11T17:22:37.729830Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:37.730124Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=100.39297499999999 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:54194)/Active"] +2026-10-11T17:22:37.931449Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:54194)/Active"] +2026-10-11T17:22:37.931722Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:37.931778Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-30/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-30/ready.txt new file mode 100644 index 0000000000..e11b3f82a9 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-30/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=54194 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-30/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-30/server.log new file mode 100644 index 0000000000..152ac683a9 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/loopback-refuse/run-30/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:22:37.544283Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=54194 direct=["127.0.0.1:54194"] +2026-10-11T17:22:37.636810Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:54199) alpns=["n30/allowlist/0"] +2026-10-11T17:22:37.723162Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:37.726301Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(124818393485424) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={127.0.0.1:54194} +2026-10-11T17:22:37.727225Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(124818393485424) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:37.728192Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:22:37.728248Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:37.728324Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:37.728699Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:37.728777Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:54199)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-01/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-01/client.log new file mode 100644 index 0000000000..9cb5f95670 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-01/client.log @@ -0,0 +1,43 @@ +2026-10-11T17:23:06.769818Z INFO harness: dialing with one loopback hint role="client" event="start" me=8139770ea8 kind=stream ticket=[127.0.0.1:41743] +2026-10-11T17:23:06.770489Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:06.770615Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:23:06.770720Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:23:06.770738Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:23:06.770763Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:23:06.772340Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:41743)] +2026-10-11T17:23:06.790392Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(94099952772320) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:54546, 10.200.0.2:54546, 127.0.0.1:54546} +2026-10-11T17:23:06.791662Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=21.678656 remote_info=["Ip(127.0.0.1:41743)/Active"] +2026-10-11T17:23:06.805436Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94099952772320) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:06.805546Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(94099952772320) evt=Ok(AddressAdded(127.0.0.1:41743)) +2026-10-11T17:23:06.805626Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37024, tv_nsec: 230369926 }, local_candidates: {10.200.0.1:54546, 10.200.0.2:54546, 127.0.0.1:54546}, remote_candidates: {} } local_candidates={10.200.0.1:54546, 10.200.0.2:54546, 127.0.0.1:54546} remote_candidates={10.200.0.1:41743, 10.200.0.2:41743, 127.0.0.1:41743} +2026-10-11T17:23:06.806250Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(94099952772320) evt=Ok(AddressAdded(10.200.0.2:41743)) +2026-10-11T17:23:06.806313Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37024, tv_nsec: 245291222 }, local_candidates: {10.200.0.1:54546, 10.200.0.2:54546, 127.0.0.1:54546}, remote_candidates: {10.200.0.1:41743, 10.200.0.2:41743, 127.0.0.1:41743} } local_candidates={10.200.0.1:54546, 10.200.0.2:54546, 127.0.0.1:54546} remote_candidates={10.200.0.1:41743, 10.200.0.2:41743, 127.0.0.1:41743} +2026-10-11T17:23:06.806352Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999837603s +2026-10-11T17:23:06.806395Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(94099952772320) evt=Ok(AddressAdded(10.200.0.1:41743)) +2026-10-11T17:23:06.806427Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37024, tv_nsec: 245291222 }, local_candidates: {10.200.0.1:54546, 10.200.0.2:54546, 127.0.0.1:54546}, remote_candidates: {10.200.0.1:41743, 10.200.0.2:41743, 127.0.0.1:41743} } local_candidates={10.200.0.1:54546, 10.200.0.2:54546, 127.0.0.1:54546} remote_candidates={10.200.0.1:41743, 10.200.0.2:41743, 127.0.0.1:41743} +2026-10-11T17:23:06.806469Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999717375s +2026-10-11T17:23:06.808875Z INFO harness: reply role="client" event="stream_reply" elapsed_ms=38.898145 reply=welcome +2026-10-11T17:23:06.811699Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94099952772320) event=Ok(Established { id: PathId(1) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:06.811853Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94099952772320) event=Ok(Established { id: PathId(1) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:41743, local: Some(127.0.0.1) }) +2026-10-11T17:23:06.811893Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94099952772320) event=Ok(Established { id: PathId(1) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.1:41743, local: Some(10.200.0.1) } conn_id=94099952772320 path_id=1 +2026-10-11T17:23:06.812076Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94099952772320) event=Ok(Established { id: PathId(2) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:06.812127Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94099952772320) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:41743, local: Some(127.0.0.1) }) +2026-10-11T17:23:06.812152Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94099952772320) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.2:41743, local: Some(10.200.0.2) } conn_id=94099952772320 path_id=2 +2026-10-11T17:23:06.812185Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94099952772320) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.1:41743, local: Some(10.200.0.1) } conn_id=94099952772320 path_id=1 +2026-10-11T17:23:06.812634Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94099952772320) event=Ok(Abandoned { id: PathId(1), reason: ApplicationClosed { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:06.813835Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94099952772320) event=Ok(Abandoned { id: PathId(1), reason: ApplicationClosed { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:41743, local: Some(127.0.0.1) }) +2026-10-11T17:23:06.814090Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94099952772320) event=Ok(Abandoned { id: PathId(1), reason: ApplicationClosed { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.2:41743, local: Some(10.200.0.2) } conn_id=94099952772320 path_id=2 +2026-10-11T17:23:06.814349Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94099952772320) event=Ok(Abandoned { id: PathId(2), reason: ApplicationClosed { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:06.814414Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94099952772320) event=Ok(Abandoned { id: PathId(2), reason: ApplicationClosed { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:41743, local: Some(127.0.0.1) }) +2026-10-11T17:23:06.814507Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94099952772320) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:06.814570Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94099952772320) event=Ok(RemoteStatus { id: PathId(1), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:06.814612Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94099952772320) event=Ok(RemoteStatus { id: PathId(2), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:06.903471Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94099952772320) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 1.537513ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:06.903552Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94099952772320) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 1.537513ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path discarded id=1 path_stats=PathStats { rtt: 1.537513ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } +2026-10-11T17:23:06.903741Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94099952772320) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 1.537513ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:06.903768Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94099952772320) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 1.537513ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path discarded id=2 path_stats=PathStats { rtt: 1.537513ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } +2026-10-11T17:23:09.811135Z INFO harness: no close from peer in 3 s; closed here role="client" event="closed_locally" elapsed_ms=3041.163724 +2026-10-11T17:23:09.811798Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:10.012631Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(10.200.0.1:41743)/Inactive", "Ip(127.0.0.1:41743)/Active", "Ip(10.200.0.2:41743)/Inactive"] +2026-10-11T17:23:10.012835Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:23:10.012878Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-01/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-01/ready.txt new file mode 100644 index 0000000000..147de018a9 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-01/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=41743 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-01/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-01/server.log new file mode 100644 index 0000000000..25cf775ea5 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-01/server.log @@ -0,0 +1,21 @@ +2026-10-11T17:23:06.747924Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=41743 direct=["10.200.0.1:41743", "10.200.0.2:41743", "127.0.0.1:41743"] +2026-10-11T17:23:06.773220Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:54546) alpns=["n30/allowlist/0"] +2026-10-11T17:23:06.803763Z TRACE RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:06.804596Z TRACE RemoteStateActor{remote=8139770ea8}:handle_message{msg=AddConnection(125293926816128) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:41743, 10.200.0.2:41743, 127.0.0.1:41743} +2026-10-11T17:23:06.804728Z TRACE RemoteStateActor{remote=8139770ea8}:handle_message{msg=AddConnection(125293926816128) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:06.805027Z DEBUG RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:23:06.805063Z TRACE RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:06.805146Z INFO harness: hook runs role="server" event="after_handshake" peer=8139770ea8 allowed=true enforce=true +2026-10-11T17:23:06.805353Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=8139770ea8 allowed=true remote_info=["Ip(127.0.0.1:54546)/Active"] +2026-10-11T17:23:06.805891Z INFO harness: stream from peer role="server" event="stream_opened" peer=8139770ea8 first_bytes=hello remote_info=["Ip(127.0.0.1:54546)/Active"] +2026-10-11T17:23:06.812880Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125293926816128) event=Ok(Established { id: PathId(1) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:06.813323Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125293926816128) event=Ok(Established { id: PathId(2) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:06.813394Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125293926816128) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 10.200.0.1:54546, local: Some(10.200.0.1) }) +2026-10-11T17:23:06.813480Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125293926816128) event=Ok(Abandoned { id: PathId(1), reason: RemoteAbandoned { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:06.813598Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125293926816128) event=Ok(Abandoned { id: PathId(2), reason: RemoteAbandoned { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:06.901692Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125293926816128) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 1.300999ms, udp_tx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:06.901762Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125293926816128) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 1.300999ms, udp_tx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path discarded id=1 path_stats=PathStats { rtt: 1.300999ms, udp_tx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } +2026-10-11T17:23:06.901867Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125293926816128) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 1.300999ms, udp_tx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:06.901877Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125293926816128) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 1.300999ms, udp_tx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path discarded id=2 path_stats=PathStats { rtt: 1.300999ms, udp_tx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } +2026-10-11T17:23:09.813512Z INFO harness: closed role="server" event="connection_closed" why=closed by peer: client done (code 0) +2026-10-11T17:23:09.813559Z TRACE RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-02/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-02/client.log new file mode 100644 index 0000000000..28dfc85ce0 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-02/client.log @@ -0,0 +1,43 @@ +2026-10-11T17:23:10.670011Z INFO harness: dialing with one loopback hint role="client" event="start" me=8139770ea8 kind=stream ticket=[127.0.0.1:43258] +2026-10-11T17:23:10.670932Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:10.671083Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:23:10.671203Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:23:10.671227Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:23:10.671256Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:23:10.675047Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:43258)] +2026-10-11T17:23:10.696684Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(101736957452640) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:33436, 10.200.0.2:33436, 127.0.0.1:33436} +2026-10-11T17:23:10.697250Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=26.966220999999997 remote_info=["Ip(127.0.0.1:43258)/Active"] +2026-10-11T17:23:10.709684Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(101736957452640) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:10.709735Z INFO harness: reply role="client" event="stream_reply" elapsed_ms=39.451852 reply=welcome +2026-10-11T17:23:10.709776Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(101736957452640) evt=Ok(AddressAdded(127.0.0.1:43258)) +2026-10-11T17:23:10.709842Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37028, tv_nsec: 136026612 }, local_candidates: {10.200.0.1:33436, 10.200.0.2:33436, 127.0.0.1:33436}, remote_candidates: {} } local_candidates={10.200.0.1:33436, 10.200.0.2:33436, 127.0.0.1:33436} remote_candidates={10.200.0.1:43258, 10.200.0.2:43258, 127.0.0.1:43258} +2026-10-11T17:23:10.709946Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(101736957452640) evt=Ok(AddressAdded(10.200.0.2:43258)) +2026-10-11T17:23:10.709974Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37028, tv_nsec: 149021147 }, local_candidates: {10.200.0.1:33436, 10.200.0.2:33436, 127.0.0.1:33436}, remote_candidates: {10.200.0.1:43258, 10.200.0.2:43258, 127.0.0.1:43258} } local_candidates={10.200.0.1:33436, 10.200.0.2:33436, 127.0.0.1:33436} remote_candidates={10.200.0.1:43258, 10.200.0.2:43258, 127.0.0.1:43258} +2026-10-11T17:23:10.710000Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999918846s +2026-10-11T17:23:10.710021Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(101736957452640) evt=Ok(AddressAdded(10.200.0.1:43258)) +2026-10-11T17:23:10.710045Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37028, tv_nsec: 149021147 }, local_candidates: {10.200.0.1:33436, 10.200.0.2:33436, 127.0.0.1:33436}, remote_candidates: {10.200.0.1:43258, 10.200.0.2:43258, 127.0.0.1:43258} } local_candidates={10.200.0.1:33436, 10.200.0.2:33436, 127.0.0.1:33436} remote_candidates={10.200.0.1:43258, 10.200.0.2:43258, 127.0.0.1:43258} +2026-10-11T17:23:10.710078Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999838033s +2026-10-11T17:23:10.716329Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(101736957452640) event=Ok(Established { id: PathId(1) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:10.716481Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(101736957452640) event=Ok(Established { id: PathId(1) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:43258, local: Some(127.0.0.1) }) +2026-10-11T17:23:10.716521Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(101736957452640) event=Ok(Established { id: PathId(1) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.1:43258, local: Some(10.200.0.1) } conn_id=101736957452640 path_id=1 +2026-10-11T17:23:10.716658Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(101736957452640) event=Ok(Established { id: PathId(2) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:10.716706Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(101736957452640) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:43258, local: Some(127.0.0.1) }) +2026-10-11T17:23:10.716728Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(101736957452640) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.2:43258, local: Some(10.200.0.2) } conn_id=101736957452640 path_id=2 +2026-10-11T17:23:10.716757Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(101736957452640) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.1:43258, local: Some(10.200.0.1) } conn_id=101736957452640 path_id=1 +2026-10-11T17:23:10.717244Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(101736957452640) event=Ok(Abandoned { id: PathId(1), reason: ApplicationClosed { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:10.719019Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(101736957452640) event=Ok(Abandoned { id: PathId(1), reason: ApplicationClosed { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:43258, local: Some(127.0.0.1) }) +2026-10-11T17:23:10.719103Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(101736957452640) event=Ok(Abandoned { id: PathId(1), reason: ApplicationClosed { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.2:43258, local: Some(10.200.0.2) } conn_id=101736957452640 path_id=2 +2026-10-11T17:23:10.719361Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(101736957452640) event=Ok(Abandoned { id: PathId(2), reason: ApplicationClosed { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:10.719438Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(101736957452640) event=Ok(Abandoned { id: PathId(2), reason: ApplicationClosed { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:43258, local: Some(127.0.0.1) }) +2026-10-11T17:23:10.719604Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(101736957452640) event=Ok(RemoteStatus { id: PathId(0), status: Backup })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:10.720624Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(101736957452640) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:10.720840Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(101736957452640) event=Ok(RemoteStatus { id: PathId(2), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:10.818718Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(101736957452640) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 2.673654ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:10.818772Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(101736957452640) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 2.673654ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path discarded id=1 path_stats=PathStats { rtt: 2.673654ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } +2026-10-11T17:23:10.818935Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(101736957452640) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 2.673654ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:10.818960Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(101736957452640) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 2.673654ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path discarded id=2 path_stats=PathStats { rtt: 2.673654ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } +2026-10-11T17:23:13.712188Z INFO harness: no close from peer in 3 s; closed here role="client" event="closed_locally" elapsed_ms=3041.8959370000002 +2026-10-11T17:23:13.712468Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:13.913765Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:43258)/Active", "Ip(10.200.0.2:43258)/Inactive", "Ip(10.200.0.1:43258)/Inactive"] +2026-10-11T17:23:13.913934Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:23:13.913987Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-02/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-02/ready.txt new file mode 100644 index 0000000000..ef6b95c8e2 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-02/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=43258 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-02/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-02/server.log new file mode 100644 index 0000000000..9d6083a4fc --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-02/server.log @@ -0,0 +1,21 @@ +2026-10-11T17:23:10.645301Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=43258 direct=["10.200.0.1:43258", "10.200.0.2:43258", "127.0.0.1:43258"] +2026-10-11T17:23:10.675948Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:33436) alpns=["n30/allowlist/0"] +2026-10-11T17:23:10.707789Z TRACE RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:10.708048Z TRACE RemoteStateActor{remote=8139770ea8}:handle_message{msg=AddConnection(125280370825936) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:43258, 10.200.0.2:43258, 127.0.0.1:43258} +2026-10-11T17:23:10.708145Z TRACE RemoteStateActor{remote=8139770ea8}:handle_message{msg=AddConnection(125280370825936) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:10.708329Z INFO harness: hook runs role="server" event="after_handshake" peer=8139770ea8 allowed=true enforce=true +2026-10-11T17:23:10.708461Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=8139770ea8 allowed=true remote_info=["Ip(127.0.0.1:33436)/Active"] +2026-10-11T17:23:10.709029Z DEBUG RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:23:10.709072Z TRACE RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:10.709206Z INFO harness: stream from peer role="server" event="stream_opened" peer=8139770ea8 first_bytes=hello remote_info=["Ip(127.0.0.1:33436)/Active"] +2026-10-11T17:23:10.717436Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125280370825936) event=Ok(Established { id: PathId(1) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:10.717617Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125280370825936) event=Ok(Established { id: PathId(2) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:10.718725Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125280370825936) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 10.200.0.1:33436, local: Some(10.200.0.1) }) +2026-10-11T17:23:10.718925Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125280370825936) event=Ok(Abandoned { id: PathId(1), reason: RemoteAbandoned { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:10.719050Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125280370825936) event=Ok(Abandoned { id: PathId(2), reason: RemoteAbandoned { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:10.813811Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125280370825936) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 2.066623ms, udp_tx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:10.813885Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125280370825936) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 2.066623ms, udp_tx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path discarded id=1 path_stats=PathStats { rtt: 2.066623ms, udp_tx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } +2026-10-11T17:23:10.814044Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125280370825936) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 2.066623ms, udp_tx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:10.814061Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125280370825936) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 2.066623ms, udp_tx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path discarded id=2 path_stats=PathStats { rtt: 2.066623ms, udp_tx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } +2026-10-11T17:23:13.713308Z TRACE RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:13.713347Z INFO harness: closed role="server" event="connection_closed" why=closed by peer: client done (code 0) diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-03/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-03/client.log new file mode 100644 index 0000000000..2ba7281b59 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-03/client.log @@ -0,0 +1,43 @@ +2026-10-11T17:23:14.562994Z INFO harness: dialing with one loopback hint role="client" event="start" me=8139770ea8 kind=stream ticket=[127.0.0.1:33981] +2026-10-11T17:23:14.563553Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:14.563685Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:23:14.563803Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:23:14.563822Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:23:14.563845Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:23:14.565224Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:33981)] +2026-10-11T17:23:14.587590Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(94864774472928) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:45021, 10.200.0.2:45021, 127.0.0.1:45021} +2026-10-11T17:23:14.588232Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=25.136814 remote_info=["Ip(127.0.0.1:33981)/Active"] +2026-10-11T17:23:14.598754Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94864774472928) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:14.598845Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(94864774472928) evt=Ok(AddressAdded(127.0.0.1:33981)) +2026-10-11T17:23:14.598912Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37032, tv_nsec: 26952776 }, local_candidates: {10.200.0.1:45021, 10.200.0.2:45021, 127.0.0.1:45021}, remote_candidates: {} } local_candidates={10.200.0.1:45021, 10.200.0.2:45021, 127.0.0.1:45021} remote_candidates={10.200.0.1:33981, 10.200.0.2:33981, 127.0.0.1:33981} +2026-10-11T17:23:14.599034Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(94864774472928) evt=Ok(AddressAdded(10.200.0.2:33981)) +2026-10-11T17:23:14.599957Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37032, tv_nsec: 38097947 }, local_candidates: {10.200.0.1:45021, 10.200.0.2:45021, 127.0.0.1:45021}, remote_candidates: {10.200.0.1:33981, 10.200.0.2:33981, 127.0.0.1:33981} } local_candidates={10.200.0.1:45021, 10.200.0.2:45021, 127.0.0.1:45021} remote_candidates={10.200.0.1:33981, 10.200.0.2:33981, 127.0.0.1:33981} +2026-10-11T17:23:14.600036Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.998960341s +2026-10-11T17:23:14.600098Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(94864774472928) evt=Ok(AddressAdded(10.200.0.1:33981)) +2026-10-11T17:23:14.601837Z INFO harness: reply role="client" event="stream_reply" elapsed_ms=38.735091 reply=welcome +2026-10-11T17:23:14.601868Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37032, tv_nsec: 38097947 }, local_candidates: {10.200.0.1:45021, 10.200.0.2:45021, 127.0.0.1:45021}, remote_candidates: {10.200.0.1:33981, 10.200.0.2:33981, 127.0.0.1:33981} } local_candidates={10.200.0.1:45021, 10.200.0.2:45021, 127.0.0.1:45021} remote_candidates={10.200.0.1:33981, 10.200.0.2:33981, 127.0.0.1:33981} +2026-10-11T17:23:14.601972Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.99702266s +2026-10-11T17:23:14.605199Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94864774472928) event=Ok(Established { id: PathId(1) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:14.605351Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94864774472928) event=Ok(Established { id: PathId(1) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:33981, local: Some(127.0.0.1) }) +2026-10-11T17:23:14.605383Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94864774472928) event=Ok(Established { id: PathId(1) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.1:33981, local: Some(10.200.0.1) } conn_id=94864774472928 path_id=1 +2026-10-11T17:23:14.605508Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94864774472928) event=Ok(Established { id: PathId(2) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:14.605547Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94864774472928) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:33981, local: Some(127.0.0.1) }) +2026-10-11T17:23:14.605563Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94864774472928) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.2:33981, local: Some(10.200.0.2) } conn_id=94864774472928 path_id=2 +2026-10-11T17:23:14.605587Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94864774472928) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.1:33981, local: Some(10.200.0.1) } conn_id=94864774472928 path_id=1 +2026-10-11T17:23:14.605926Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94864774472928) event=Ok(Abandoned { id: PathId(1), reason: ApplicationClosed { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:14.605993Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94864774472928) event=Ok(Abandoned { id: PathId(1), reason: ApplicationClosed { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:33981, local: Some(127.0.0.1) }) +2026-10-11T17:23:14.606017Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94864774472928) event=Ok(Abandoned { id: PathId(1), reason: ApplicationClosed { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.2:33981, local: Some(10.200.0.2) } conn_id=94864774472928 path_id=2 +2026-10-11T17:23:14.606075Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94864774472928) event=Ok(Abandoned { id: PathId(2), reason: ApplicationClosed { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:14.606099Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94864774472928) event=Ok(Abandoned { id: PathId(2), reason: ApplicationClosed { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:33981, local: Some(127.0.0.1) }) +2026-10-11T17:23:14.607566Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94864774472928) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:14.607670Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94864774472928) event=Ok(RemoteStatus { id: PathId(1), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:14.607703Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94864774472928) event=Ok(RemoteStatus { id: PathId(2), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:14.697855Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94864774472928) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 1.62118ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:14.697929Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94864774472928) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 1.62118ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path discarded id=1 path_stats=PathStats { rtt: 1.62118ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } +2026-10-11T17:23:14.698084Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94864774472928) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 1.62118ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:14.698104Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94864774472928) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 1.62118ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path discarded id=2 path_stats=PathStats { rtt: 1.62118ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } +2026-10-11T17:23:17.603126Z INFO harness: no close from peer in 3 s; closed here role="client" event="closed_locally" elapsed_ms=3040.0234579999997 +2026-10-11T17:23:17.603284Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:17.805142Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(10.200.0.2:33981)/Inactive", "Ip(10.200.0.1:33981)/Inactive", "Ip(127.0.0.1:33981)/Active"] +2026-10-11T17:23:17.805305Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:23:17.805362Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-03/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-03/ready.txt new file mode 100644 index 0000000000..fdd3b68902 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-03/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=33981 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-03/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-03/server.log new file mode 100644 index 0000000000..ff589fba6b --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-03/server.log @@ -0,0 +1,21 @@ +2026-10-11T17:23:14.543468Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=33981 direct=["10.200.0.1:33981", "10.200.0.2:33981", "127.0.0.1:33981"] +2026-10-11T17:23:14.566052Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:45021) alpns=["n30/allowlist/0"] +2026-10-11T17:23:14.597179Z TRACE RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:14.598088Z TRACE RemoteStateActor{remote=8139770ea8}:handle_message{msg=AddConnection(133525902805568) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:33981, 10.200.0.2:33981, 127.0.0.1:33981} +2026-10-11T17:23:14.598234Z TRACE RemoteStateActor{remote=8139770ea8}:handle_message{msg=AddConnection(133525902805568) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:14.598518Z DEBUG RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:23:14.599023Z TRACE RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:14.599111Z INFO harness: hook runs role="server" event="after_handshake" peer=8139770ea8 allowed=true enforce=true +2026-10-11T17:23:14.599288Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=8139770ea8 allowed=true remote_info=["Ip(127.0.0.1:45021)/Active"] +2026-10-11T17:23:14.599459Z INFO harness: stream from peer role="server" event="stream_opened" peer=8139770ea8 first_bytes=hello remote_info=["Ip(127.0.0.1:45021)/Active"] +2026-10-11T17:23:14.606388Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(133525902805568) event=Ok(Established { id: PathId(1) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:14.606566Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(133525902805568) event=Ok(Established { id: PathId(2) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:14.606623Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(133525902805568) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 10.200.0.1:45021, local: Some(10.200.0.1) }) +2026-10-11T17:23:14.606712Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(133525902805568) event=Ok(Abandoned { id: PathId(1), reason: RemoteAbandoned { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:14.606825Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(133525902805568) event=Ok(Abandoned { id: PathId(2), reason: RemoteAbandoned { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:14.701321Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(133525902805568) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 2.089999ms, udp_tx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 0, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1200 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:14.701395Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(133525902805568) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 2.089999ms, udp_tx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 0, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1200 } })}: iroh::socket::remote_map::remote_state: path discarded id=1 path_stats=PathStats { rtt: 2.089999ms, udp_tx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 0, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1200 } +2026-10-11T17:23:14.701529Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(133525902805568) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 2.089999ms, udp_tx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 0, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1200 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:14.701543Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(133525902805568) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 2.089999ms, udp_tx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 0, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1200 } })}: iroh::socket::remote_map::remote_state: path discarded id=2 path_stats=PathStats { rtt: 2.089999ms, udp_tx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 0, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1200 } +2026-10-11T17:23:17.604071Z INFO harness: closed role="server" event="connection_closed" why=closed by peer: client done (code 0) +2026-10-11T17:23:17.604162Z TRACE RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-04/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-04/client.log new file mode 100644 index 0000000000..95f9c973b3 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-04/client.log @@ -0,0 +1,43 @@ +2026-10-11T17:23:18.449791Z INFO harness: dialing with one loopback hint role="client" event="start" me=8139770ea8 kind=stream ticket=[127.0.0.1:54895] +2026-10-11T17:23:18.450293Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:18.450402Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:23:18.450475Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:23:18.450487Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:23:18.450503Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:23:18.451797Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:54895)] +2026-10-11T17:23:18.470102Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(95118687658176) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:58662, 10.200.0.2:58662, 127.0.0.1:58662} +2026-10-11T17:23:18.471860Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=21.941149 remote_info=["Ip(127.0.0.1:54895)/Active"] +2026-10-11T17:23:18.486728Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95118687658176) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:18.486770Z INFO harness: reply role="client" event="stream_reply" elapsed_ms=36.849758 reply=welcome +2026-10-11T17:23:18.486825Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(95118687658176) evt=Ok(AddressAdded(127.0.0.1:54895)) +2026-10-11T17:23:18.486879Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37035, tv_nsec: 909462122 }, local_candidates: {10.200.0.1:58662, 10.200.0.2:58662, 127.0.0.1:58662}, remote_candidates: {} } local_candidates={10.200.0.1:58662, 10.200.0.2:58662, 127.0.0.1:58662} remote_candidates={10.200.0.1:54895, 10.200.0.2:54895, 127.0.0.1:54895} +2026-10-11T17:23:18.486992Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(95118687658176) evt=Ok(AddressAdded(10.200.0.2:54895)) +2026-10-11T17:23:18.487020Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37035, tv_nsec: 926066743 }, local_candidates: {10.200.0.1:58662, 10.200.0.2:58662, 127.0.0.1:58662}, remote_candidates: {10.200.0.1:54895, 10.200.0.2:54895, 127.0.0.1:54895} } local_candidates={10.200.0.1:58662, 10.200.0.2:58662, 127.0.0.1:58662} remote_candidates={10.200.0.1:54895, 10.200.0.2:54895, 127.0.0.1:54895} +2026-10-11T17:23:18.487051Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999912774s +2026-10-11T17:23:18.487075Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(95118687658176) evt=Ok(AddressAdded(10.200.0.1:54895)) +2026-10-11T17:23:18.487093Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37035, tv_nsec: 926066743 }, local_candidates: {10.200.0.1:58662, 10.200.0.2:58662, 127.0.0.1:58662}, remote_candidates: {10.200.0.1:54895, 10.200.0.2:54895, 127.0.0.1:54895} } local_candidates={10.200.0.1:58662, 10.200.0.2:58662, 127.0.0.1:58662} remote_candidates={10.200.0.1:54895, 10.200.0.2:54895, 127.0.0.1:54895} +2026-10-11T17:23:18.487127Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999833194s +2026-10-11T17:23:18.491927Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95118687658176) event=Ok(Established { id: PathId(1) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:18.492112Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95118687658176) event=Ok(Established { id: PathId(1) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:54895, local: Some(127.0.0.1) }) +2026-10-11T17:23:18.492171Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95118687658176) event=Ok(Established { id: PathId(1) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.1:54895, local: Some(10.200.0.1) } conn_id=95118687658176 path_id=1 +2026-10-11T17:23:18.492344Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95118687658176) event=Ok(Established { id: PathId(2) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:18.492425Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95118687658176) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:54895, local: Some(127.0.0.1) }) +2026-10-11T17:23:18.492460Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95118687658176) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.2:54895, local: Some(10.200.0.2) } conn_id=95118687658176 path_id=2 +2026-10-11T17:23:18.492502Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95118687658176) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.1:54895, local: Some(10.200.0.1) } conn_id=95118687658176 path_id=1 +2026-10-11T17:23:18.492925Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95118687658176) event=Ok(Abandoned { id: PathId(1), reason: ApplicationClosed { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:18.494094Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95118687658176) event=Ok(Abandoned { id: PathId(1), reason: ApplicationClosed { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:54895, local: Some(127.0.0.1) }) +2026-10-11T17:23:18.494318Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95118687658176) event=Ok(Abandoned { id: PathId(1), reason: ApplicationClosed { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.2:54895, local: Some(10.200.0.2) } conn_id=95118687658176 path_id=2 +2026-10-11T17:23:18.494540Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95118687658176) event=Ok(Abandoned { id: PathId(2), reason: ApplicationClosed { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:18.494588Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95118687658176) event=Ok(Abandoned { id: PathId(2), reason: ApplicationClosed { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:54895, local: Some(127.0.0.1) }) +2026-10-11T17:23:18.494639Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95118687658176) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:18.494697Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95118687658176) event=Ok(RemoteStatus { id: PathId(1), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:18.494722Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95118687658176) event=Ok(RemoteStatus { id: PathId(2), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:18.585348Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95118687658176) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 1.716612ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:18.585467Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95118687658176) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 1.716612ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path discarded id=1 path_stats=PathStats { rtt: 1.716612ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } +2026-10-11T17:23:18.585704Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95118687658176) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 1.716612ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:18.585745Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95118687658176) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 1.716612ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path discarded id=2 path_stats=PathStats { rtt: 1.716612ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } +2026-10-11T17:23:21.487514Z INFO harness: no close from peer in 3 s; closed here role="client" event="closed_locally" elapsed_ms=3037.5891570000003 +2026-10-11T17:23:21.487658Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:21.689286Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(10.200.0.1:54895)/Inactive", "Ip(127.0.0.1:54895)/Active", "Ip(10.200.0.2:54895)/Inactive"] +2026-10-11T17:23:21.689438Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:23:21.689488Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-04/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-04/ready.txt new file mode 100644 index 0000000000..9ef74ce8eb --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-04/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=54895 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-04/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-04/server.log new file mode 100644 index 0000000000..548033f840 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-04/server.log @@ -0,0 +1,21 @@ +2026-10-11T17:23:18.428773Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=54895 direct=["10.200.0.1:54895", "10.200.0.2:54895", "127.0.0.1:54895"] +2026-10-11T17:23:18.452561Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:58662) alpns=["n30/allowlist/0"] +2026-10-11T17:23:18.485465Z TRACE RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:18.485731Z TRACE RemoteStateActor{remote=8139770ea8}:handle_message{msg=AddConnection(127911441024528) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:54895, 10.200.0.2:54895, 127.0.0.1:54895} +2026-10-11T17:23:18.485818Z TRACE RemoteStateActor{remote=8139770ea8}:handle_message{msg=AddConnection(127911441024528) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:18.485978Z INFO harness: hook runs role="server" event="after_handshake" peer=8139770ea8 allowed=true enforce=true +2026-10-11T17:23:18.486101Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=8139770ea8 allowed=true remote_info=["Ip(127.0.0.1:58662)/Active"] +2026-10-11T17:23:18.486371Z INFO harness: stream from peer role="server" event="stream_opened" peer=8139770ea8 first_bytes=hello remote_info=["Ip(127.0.0.1:58662)/Active"] +2026-10-11T17:23:18.486603Z DEBUG RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:23:18.487312Z TRACE RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:18.493081Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(127911441024528) event=Ok(Established { id: PathId(1) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:18.493382Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(127911441024528) event=Ok(Established { id: PathId(2) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:18.493430Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(127911441024528) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 10.200.0.1:58662, local: Some(10.200.0.1) }) +2026-10-11T17:23:18.493479Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(127911441024528) event=Ok(Abandoned { id: PathId(1), reason: RemoteAbandoned { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:18.493559Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(127911441024528) event=Ok(Abandoned { id: PathId(2), reason: RemoteAbandoned { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:18.586076Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(127911441024528) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 1.776547ms, udp_tx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:18.586140Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(127911441024528) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 1.776547ms, udp_tx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path discarded id=1 path_stats=PathStats { rtt: 1.776547ms, udp_tx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } +2026-10-11T17:23:18.586255Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(127911441024528) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 1.776547ms, udp_tx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:18.586267Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(127911441024528) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 1.776547ms, udp_tx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path discarded id=2 path_stats=PathStats { rtt: 1.776547ms, udp_tx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } +2026-10-11T17:23:21.488311Z INFO harness: closed role="server" event="connection_closed" why=closed by peer: client done (code 0) +2026-10-11T17:23:21.488356Z TRACE RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-05/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-05/client.log new file mode 100644 index 0000000000..fdd30c9643 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-05/client.log @@ -0,0 +1,43 @@ +2026-10-11T17:23:22.330767Z INFO harness: dialing with one loopback hint role="client" event="start" me=8139770ea8 kind=stream ticket=[127.0.0.1:49218] +2026-10-11T17:23:22.331342Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:22.331477Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:23:22.331559Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:23:22.331575Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:23:22.331597Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:23:22.332992Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:49218)] +2026-10-11T17:23:22.351300Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(95927661838560) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:51163, 10.200.0.2:51163, 127.0.0.1:51163} +2026-10-11T17:23:22.351843Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=20.963866 remote_info=["Ip(127.0.0.1:49218)/Active"] +2026-10-11T17:23:22.365687Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95927661838560) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:22.365741Z INFO harness: reply role="client" event="stream_reply" elapsed_ms=34.860868 reply=welcome +2026-10-11T17:23:22.365764Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(95927661838560) evt=Ok(AddressAdded(127.0.0.1:49218)) +2026-10-11T17:23:22.365821Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37039, tv_nsec: 790619134 }, local_candidates: {10.200.0.1:51163, 10.200.0.2:51163, 127.0.0.1:51163}, remote_candidates: {} } local_candidates={10.200.0.1:51163, 10.200.0.2:51163, 127.0.0.1:51163} remote_candidates={10.200.0.1:49218, 10.200.0.2:49218, 127.0.0.1:49218} +2026-10-11T17:23:22.365930Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(95927661838560) evt=Ok(AddressAdded(10.200.0.2:49218)) +2026-10-11T17:23:22.365962Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37039, tv_nsec: 804994402 }, local_candidates: {10.200.0.1:51163, 10.200.0.2:51163, 127.0.0.1:51163}, remote_candidates: {10.200.0.1:49218, 10.200.0.2:49218, 127.0.0.1:49218} } local_candidates={10.200.0.1:51163, 10.200.0.2:51163, 127.0.0.1:51163} remote_candidates={10.200.0.1:49218, 10.200.0.2:49218, 127.0.0.1:49218} +2026-10-11T17:23:22.365995Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999897205s +2026-10-11T17:23:22.366037Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(95927661838560) evt=Ok(AddressAdded(10.200.0.1:49218)) +2026-10-11T17:23:22.366055Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37039, tv_nsec: 804994402 }, local_candidates: {10.200.0.1:51163, 10.200.0.2:51163, 127.0.0.1:51163}, remote_candidates: {10.200.0.1:49218, 10.200.0.2:49218, 127.0.0.1:49218} } local_candidates={10.200.0.1:51163, 10.200.0.2:51163, 127.0.0.1:51163} remote_candidates={10.200.0.1:49218, 10.200.0.2:49218, 127.0.0.1:49218} +2026-10-11T17:23:22.366092Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999795904s +2026-10-11T17:23:22.371014Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95927661838560) event=Ok(Established { id: PathId(1) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:22.371145Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95927661838560) event=Ok(Established { id: PathId(1) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:49218, local: Some(127.0.0.1) }) +2026-10-11T17:23:22.371174Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95927661838560) event=Ok(Established { id: PathId(1) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.1:49218, local: Some(10.200.0.1) } conn_id=95927661838560 path_id=1 +2026-10-11T17:23:22.371274Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95927661838560) event=Ok(Established { id: PathId(2) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:22.371312Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95927661838560) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:49218, local: Some(127.0.0.1) }) +2026-10-11T17:23:22.371327Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95927661838560) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.2:49218, local: Some(10.200.0.2) } conn_id=95927661838560 path_id=2 +2026-10-11T17:23:22.371349Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95927661838560) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.1:49218, local: Some(10.200.0.1) } conn_id=95927661838560 path_id=1 +2026-10-11T17:23:22.371655Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95927661838560) event=Ok(Abandoned { id: PathId(1), reason: ApplicationClosed { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:22.371723Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95927661838560) event=Ok(Abandoned { id: PathId(1), reason: ApplicationClosed { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:49218, local: Some(127.0.0.1) }) +2026-10-11T17:23:22.371747Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95927661838560) event=Ok(Abandoned { id: PathId(1), reason: ApplicationClosed { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.2:49218, local: Some(10.200.0.2) } conn_id=95927661838560 path_id=2 +2026-10-11T17:23:22.371804Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95927661838560) event=Ok(Abandoned { id: PathId(2), reason: ApplicationClosed { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:22.371827Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95927661838560) event=Ok(Abandoned { id: PathId(2), reason: ApplicationClosed { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:49218, local: Some(127.0.0.1) }) +2026-10-11T17:23:22.373198Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95927661838560) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:22.373300Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95927661838560) event=Ok(RemoteStatus { id: PathId(1), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:22.373332Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95927661838560) event=Ok(RemoteStatus { id: PathId(2), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:22.461421Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95927661838560) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 1.370676ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:22.461468Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95927661838560) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 1.370676ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path discarded id=1 path_stats=PathStats { rtt: 1.370676ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } +2026-10-11T17:23:22.461569Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95927661838560) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 1.370676ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:22.461582Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95927661838560) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 1.370676ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path discarded id=2 path_stats=PathStats { rtt: 1.370676ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } +2026-10-11T17:23:25.366707Z INFO harness: no close from peer in 3 s; closed here role="client" event="closed_locally" elapsed_ms=3035.820588 +2026-10-11T17:23:25.366869Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:25.568620Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:49218)/Active", "Ip(10.200.0.2:49218)/Inactive", "Ip(10.200.0.1:49218)/Inactive"] +2026-10-11T17:23:25.568787Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:23:25.568843Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-05/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-05/ready.txt new file mode 100644 index 0000000000..22b2693bf5 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-05/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=49218 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-05/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-05/server.log new file mode 100644 index 0000000000..57c28ff264 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-05/server.log @@ -0,0 +1,21 @@ +2026-10-11T17:23:22.312164Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=49218 direct=["10.200.0.1:49218", "10.200.0.2:49218", "127.0.0.1:49218"] +2026-10-11T17:23:22.333783Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:51163) alpns=["n30/allowlist/0"] +2026-10-11T17:23:22.363841Z TRACE RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:22.364131Z TRACE RemoteStateActor{remote=8139770ea8}:handle_message{msg=AddConnection(139912451988176) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:49218, 10.200.0.2:49218, 127.0.0.1:49218} +2026-10-11T17:23:22.364223Z TRACE RemoteStateActor{remote=8139770ea8}:handle_message{msg=AddConnection(139912451988176) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:22.364415Z INFO harness: hook runs role="server" event="after_handshake" peer=8139770ea8 allowed=true enforce=true +2026-10-11T17:23:22.364559Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=8139770ea8 allowed=true remote_info=["Ip(127.0.0.1:51163)/Active"] +2026-10-11T17:23:22.365198Z DEBUG RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:23:22.365244Z TRACE RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:22.365347Z INFO harness: stream from peer role="server" event="stream_opened" peer=8139770ea8 first_bytes=hello remote_info=["Ip(127.0.0.1:51163)/Active"] +2026-10-11T17:23:22.372101Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(139912451988176) event=Ok(Established { id: PathId(1) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:22.372266Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(139912451988176) event=Ok(Established { id: PathId(2) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:22.372320Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(139912451988176) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 10.200.0.1:51163, local: Some(10.200.0.1) }) +2026-10-11T17:23:22.372386Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(139912451988176) event=Ok(Abandoned { id: PathId(1), reason: RemoteAbandoned { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:22.372472Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(139912451988176) event=Ok(Abandoned { id: PathId(2), reason: RemoteAbandoned { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:22.453687Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(139912451988176) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 687.963µs, udp_tx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 0, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1200 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:22.453762Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(139912451988176) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 687.963µs, udp_tx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 0, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1200 } })}: iroh::socket::remote_map::remote_state: path discarded id=1 path_stats=PathStats { rtt: 687.963µs, udp_tx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 0, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1200 } +2026-10-11T17:23:22.453883Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(139912451988176) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 687.963µs, udp_tx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 0, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1200 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:22.453909Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(139912451988176) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 687.963µs, udp_tx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 0, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1200 } })}: iroh::socket::remote_map::remote_state: path discarded id=2 path_stats=PathStats { rtt: 687.963µs, udp_tx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 0, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1200 } +2026-10-11T17:23:25.367626Z INFO harness: closed role="server" event="connection_closed" why=closed by peer: client done (code 0) +2026-10-11T17:23:25.367675Z TRACE RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-06/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-06/client.log new file mode 100644 index 0000000000..1cd70f8151 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-06/client.log @@ -0,0 +1,43 @@ +2026-10-11T17:23:26.210888Z INFO harness: dialing with one loopback hint role="client" event="start" me=8139770ea8 kind=stream ticket=[127.0.0.1:40186] +2026-10-11T17:23:26.211509Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:26.211626Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:23:26.211714Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:23:26.211730Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:23:26.211750Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:23:26.212984Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:40186)] +2026-10-11T17:23:26.231640Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(109931653836992) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:33849, 10.200.0.2:33849, 127.0.0.1:33849} +2026-10-11T17:23:26.232116Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=21.04591 remote_info=["Ip(127.0.0.1:40186)/Active"] +2026-10-11T17:23:26.244498Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(109931653836992) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:26.244561Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(109931653836992) evt=Ok(AddressAdded(127.0.0.1:40186)) +2026-10-11T17:23:26.244608Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37043, tv_nsec: 670947176 }, local_candidates: {10.200.0.1:33849, 10.200.0.2:33849, 127.0.0.1:33849}, remote_candidates: {} } local_candidates={10.200.0.1:33849, 10.200.0.2:33849, 127.0.0.1:33849} remote_candidates={10.200.0.1:40186, 10.200.0.2:40186, 127.0.0.1:40186} +2026-10-11T17:23:26.244680Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(109931653836992) evt=Ok(AddressAdded(10.200.0.2:40186)) +2026-10-11T17:23:26.244698Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37043, tv_nsec: 683765153 }, local_candidates: {10.200.0.1:33849, 10.200.0.2:33849, 127.0.0.1:33849}, remote_candidates: {10.200.0.1:40186, 10.200.0.2:40186, 127.0.0.1:40186} } local_candidates={10.200.0.1:33849, 10.200.0.2:33849, 127.0.0.1:33849} remote_candidates={10.200.0.1:40186, 10.200.0.2:40186, 127.0.0.1:40186} +2026-10-11T17:23:26.244720Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999941299s +2026-10-11T17:23:26.244737Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(109931653836992) evt=Ok(AddressAdded(10.200.0.1:40186)) +2026-10-11T17:23:26.244750Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37043, tv_nsec: 683765153 }, local_candidates: {10.200.0.1:33849, 10.200.0.2:33849, 127.0.0.1:33849}, remote_candidates: {10.200.0.1:40186, 10.200.0.2:40186, 127.0.0.1:40186} } local_candidates={10.200.0.1:33849, 10.200.0.2:33849, 127.0.0.1:33849} remote_candidates={10.200.0.1:40186, 10.200.0.2:40186, 127.0.0.1:40186} +2026-10-11T17:23:26.244776Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.99988362s +2026-10-11T17:23:26.245350Z INFO harness: reply role="client" event="stream_reply" elapsed_ms=34.279034 reply=welcome +2026-10-11T17:23:26.248550Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(109931653836992) event=Ok(Established { id: PathId(1) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:26.248664Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(109931653836992) event=Ok(Established { id: PathId(1) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:40186, local: Some(127.0.0.1) }) +2026-10-11T17:23:26.248690Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(109931653836992) event=Ok(Established { id: PathId(1) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.2:40186, local: Some(10.200.0.2) } conn_id=109931653836992 path_id=1 +2026-10-11T17:23:26.248777Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(109931653836992) event=Ok(Established { id: PathId(2) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:26.248807Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(109931653836992) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:40186, local: Some(127.0.0.1) }) +2026-10-11T17:23:26.248821Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(109931653836992) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.1:40186, local: Some(10.200.0.1) } conn_id=109931653836992 path_id=2 +2026-10-11T17:23:26.248841Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(109931653836992) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.2:40186, local: Some(10.200.0.2) } conn_id=109931653836992 path_id=1 +2026-10-11T17:23:26.249093Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(109931653836992) event=Ok(Abandoned { id: PathId(1), reason: ApplicationClosed { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:26.249156Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(109931653836992) event=Ok(Abandoned { id: PathId(1), reason: ApplicationClosed { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:40186, local: Some(127.0.0.1) }) +2026-10-11T17:23:26.249799Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(109931653836992) event=Ok(Abandoned { id: PathId(1), reason: ApplicationClosed { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.1:40186, local: Some(10.200.0.1) } conn_id=109931653836992 path_id=2 +2026-10-11T17:23:26.249913Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(109931653836992) event=Ok(Abandoned { id: PathId(2), reason: ApplicationClosed { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:26.249954Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(109931653836992) event=Ok(Abandoned { id: PathId(2), reason: ApplicationClosed { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:40186, local: Some(127.0.0.1) }) +2026-10-11T17:23:26.250254Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(109931653836992) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:26.250291Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(109931653836992) event=Ok(RemoteStatus { id: PathId(1), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:26.250310Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(109931653836992) event=Ok(RemoteStatus { id: PathId(2), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:26.334225Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(109931653836992) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 976.77µs, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:26.334287Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(109931653836992) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 976.77µs, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path discarded id=1 path_stats=PathStats { rtt: 976.77µs, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } +2026-10-11T17:23:26.334469Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(109931653836992) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 976.77µs, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:26.334489Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(109931653836992) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 976.77µs, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path discarded id=2 path_stats=PathStats { rtt: 976.77µs, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } +2026-10-11T17:23:29.246516Z INFO harness: no close from peer in 3 s; closed here role="client" event="closed_locally" elapsed_ms=3035.44037 +2026-10-11T17:23:29.246651Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:29.448385Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:40186)/Active", "Ip(10.200.0.2:40186)/Inactive", "Ip(10.200.0.1:40186)/Inactive"] +2026-10-11T17:23:29.448519Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:23:29.448563Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-06/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-06/ready.txt new file mode 100644 index 0000000000..440ccaf9ef --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-06/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=40186 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-06/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-06/server.log new file mode 100644 index 0000000000..4bfccee100 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-06/server.log @@ -0,0 +1,21 @@ +2026-10-11T17:23:26.193420Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=40186 direct=["10.200.0.1:40186", "10.200.0.2:40186", "127.0.0.1:40186"] +2026-10-11T17:23:26.213783Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:33849) alpns=["n30/allowlist/0"] +2026-10-11T17:23:26.242837Z TRACE RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:26.243143Z TRACE RemoteStateActor{remote=8139770ea8}:handle_message{msg=AddConnection(125308690766672) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:40186, 10.200.0.2:40186, 127.0.0.1:40186} +2026-10-11T17:23:26.243259Z TRACE RemoteStateActor{remote=8139770ea8}:handle_message{msg=AddConnection(125308690766672) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:26.244002Z DEBUG RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:23:26.244051Z TRACE RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:26.244134Z INFO harness: hook runs role="server" event="after_handshake" peer=8139770ea8 allowed=true enforce=true +2026-10-11T17:23:26.244307Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=8139770ea8 allowed=true remote_info=["Ip(127.0.0.1:33849)/Active"] +2026-10-11T17:23:26.244483Z INFO harness: stream from peer role="server" event="stream_opened" peer=8139770ea8 first_bytes=hello remote_info=["Ip(127.0.0.1:33849)/Active"] +2026-10-11T17:23:26.249328Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125308690766672) event=Ok(Established { id: PathId(1) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:26.249536Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125308690766672) event=Ok(Established { id: PathId(2) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:26.249572Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125308690766672) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 10.200.0.2:33849, local: Some(10.200.0.2) }) +2026-10-11T17:23:26.249613Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125308690766672) event=Ok(Abandoned { id: PathId(1), reason: RemoteAbandoned { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:26.249665Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125308690766672) event=Ok(Abandoned { id: PathId(2), reason: RemoteAbandoned { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:26.334494Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125308690766672) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 920.782µs, udp_tx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:26.334546Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125308690766672) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 920.782µs, udp_tx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path discarded id=1 path_stats=PathStats { rtt: 920.782µs, udp_tx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } +2026-10-11T17:23:26.334667Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125308690766672) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 920.782µs, udp_tx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:26.334680Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125308690766672) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 920.782µs, udp_tx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path discarded id=2 path_stats=PathStats { rtt: 920.782µs, udp_tx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } +2026-10-11T17:23:29.247409Z INFO harness: closed role="server" event="connection_closed" why=closed by peer: client done (code 0) +2026-10-11T17:23:29.247485Z TRACE RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-07/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-07/client.log new file mode 100644 index 0000000000..254223af1d --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-07/client.log @@ -0,0 +1,45 @@ +2026-10-11T17:23:30.142473Z INFO harness: dialing with one loopback hint role="client" event="start" me=8139770ea8 kind=stream ticket=[127.0.0.1:42179] +2026-10-11T17:23:30.143529Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:30.143736Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:23:30.143877Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:23:30.143921Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:23:30.143957Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:23:30.145711Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:42179)] +2026-10-11T17:23:30.190942Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(97723468279776) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:49487, 10.200.0.2:49487, 127.0.0.1:49487} +2026-10-11T17:23:30.192468Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=49.844241 remote_info=["Ip(127.0.0.1:42179)/Active"] +2026-10-11T17:23:30.218595Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(97723468279776) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:30.218739Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(97723468279776) evt=Ok(AddressAdded(127.0.0.1:42179)) +2026-10-11T17:23:30.218835Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37047, tv_nsec: 630319903 }, local_candidates: {10.200.0.1:49487, 10.200.0.2:49487, 127.0.0.1:49487}, remote_candidates: {} } local_candidates={10.200.0.1:49487, 10.200.0.2:49487, 127.0.0.1:49487} remote_candidates={10.200.0.1:42179, 10.200.0.2:42179, 127.0.0.1:42179} +2026-10-11T17:23:30.219009Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(97723468279776) evt=Ok(AddressAdded(10.200.0.2:42179)) +2026-10-11T17:23:30.219068Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37047, tv_nsec: 658055602 }, local_candidates: {10.200.0.1:49487, 10.200.0.2:49487, 127.0.0.1:49487}, remote_candidates: {10.200.0.1:42179, 10.200.0.2:42179, 127.0.0.1:42179} } local_candidates={10.200.0.1:49487, 10.200.0.2:49487, 127.0.0.1:49487} remote_candidates={10.200.0.1:42179, 10.200.0.2:42179, 127.0.0.1:42179} +2026-10-11T17:23:30.219112Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999843233s +2026-10-11T17:23:30.219155Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(97723468279776) evt=Ok(AddressAdded(10.200.0.1:42179)) +2026-10-11T17:23:30.219192Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37047, tv_nsec: 658055602 }, local_candidates: {10.200.0.1:49487, 10.200.0.2:49487, 127.0.0.1:49487}, remote_candidates: {10.200.0.1:42179, 10.200.0.2:42179, 127.0.0.1:42179} } local_candidates={10.200.0.1:49487, 10.200.0.2:49487, 127.0.0.1:49487} remote_candidates={10.200.0.1:42179, 10.200.0.2:42179, 127.0.0.1:42179} +2026-10-11T17:23:30.219238Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999712405s +2026-10-11T17:23:30.226931Z INFO harness: reply role="client" event="stream_reply" elapsed_ms=84.297783 reply=welcome +2026-10-11T17:23:30.241909Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(97723468279776) event=Ok(Established { id: PathId(1) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:30.242112Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(97723468279776) event=Ok(Established { id: PathId(1) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:42179, local: Some(127.0.0.1) }) +2026-10-11T17:23:30.242388Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(97723468279776) event=Ok(Established { id: PathId(1) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.2:42179, local: Some(10.200.0.2) } conn_id=97723468279776 path_id=1 +2026-10-11T17:23:30.242577Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(97723468279776) event=Ok(Established { id: PathId(2) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:30.242639Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(97723468279776) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:42179, local: Some(127.0.0.1) }) +2026-10-11T17:23:30.242666Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(97723468279776) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.1:42179, local: Some(10.200.0.1) } conn_id=97723468279776 path_id=2 +2026-10-11T17:23:30.242701Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(97723468279776) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.2:42179, local: Some(10.200.0.2) } conn_id=97723468279776 path_id=1 +2026-10-11T17:23:30.245040Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(97723468279776) event=Ok(Abandoned { id: PathId(1), reason: ApplicationClosed { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:30.245165Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(97723468279776) event=Ok(Abandoned { id: PathId(1), reason: ApplicationClosed { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:42179, local: Some(127.0.0.1) }) +2026-10-11T17:23:30.245214Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(97723468279776) event=Ok(Abandoned { id: PathId(1), reason: ApplicationClosed { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.1:42179, local: Some(10.200.0.1) } conn_id=97723468279776 path_id=2 +2026-10-11T17:23:30.245335Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(97723468279776) event=Ok(Abandoned { id: PathId(2), reason: ApplicationClosed { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:30.245383Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(97723468279776) event=Ok(Abandoned { id: PathId(2), reason: ApplicationClosed { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:42179, local: Some(127.0.0.1) }) +2026-10-11T17:23:30.254231Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(97723468279776) event=Ok(RemoteStatus { id: PathId(0), status: Backup })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:30.254456Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(97723468279776) event=Ok(RemoteStatus { id: PathId(1), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:30.254544Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(97723468279776) event=Ok(RemoteStatus { id: PathId(2), status: Backup })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:30.254597Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(97723468279776) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:30.254641Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(97723468279776) event=Ok(RemoteStatus { id: PathId(2), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:30.459130Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(97723468279776) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 12.857122ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 2564, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 1, PATH_STATUS_BACKUP: 2, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:30.459196Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(97723468279776) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 12.857122ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 2564, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 1, PATH_STATUS_BACKUP: 2, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path discarded id=1 path_stats=PathStats { rtt: 12.857122ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 2564, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 1, PATH_STATUS_BACKUP: 2, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } +2026-10-11T17:23:30.459372Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(97723468279776) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 12.857122ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:30.459393Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(97723468279776) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 12.857122ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path discarded id=2 path_stats=PathStats { rtt: 12.857122ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } +2026-10-11T17:23:33.228253Z INFO harness: no close from peer in 3 s; closed here role="client" event="closed_locally" elapsed_ms=3085.625356 +2026-10-11T17:23:33.228416Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:33.430168Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:42179)/Active", "Ip(10.200.0.2:42179)/Inactive", "Ip(10.200.0.1:42179)/Inactive"] +2026-10-11T17:23:33.430305Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:23:33.430354Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-07/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-07/ready.txt new file mode 100644 index 0000000000..5f01f4c2c9 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-07/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=42179 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-07/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-07/server.log new file mode 100644 index 0000000000..60a9883058 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-07/server.log @@ -0,0 +1,21 @@ +2026-10-11T17:23:30.075418Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=42179 direct=["10.200.0.1:42179", "10.200.0.2:42179", "127.0.0.1:42179"] +2026-10-11T17:23:30.147152Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:49487) alpns=["n30/allowlist/0"] +2026-10-11T17:23:30.214554Z TRACE RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:30.214930Z TRACE RemoteStateActor{remote=8139770ea8}:handle_message{msg=AddConnection(128828080918992) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:42179, 10.200.0.2:42179, 127.0.0.1:42179} +2026-10-11T17:23:30.215093Z TRACE RemoteStateActor{remote=8139770ea8}:handle_message{msg=AddConnection(128828080918992) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:30.215373Z INFO harness: hook runs role="server" event="after_handshake" peer=8139770ea8 allowed=true enforce=true +2026-10-11T17:23:30.215605Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=8139770ea8 allowed=true remote_info=["Ip(127.0.0.1:49487)/Active"] +2026-10-11T17:23:30.216392Z INFO harness: stream from peer role="server" event="stream_opened" peer=8139770ea8 first_bytes=hello remote_info=["Ip(127.0.0.1:49487)/Active"] +2026-10-11T17:23:30.216717Z DEBUG RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:23:30.216765Z TRACE RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:30.244321Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(128828080918992) event=Ok(Established { id: PathId(1) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:30.244630Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(128828080918992) event=Ok(Established { id: PathId(2) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:30.244719Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(128828080918992) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 10.200.0.2:49487, local: Some(10.200.0.2) }) +2026-10-11T17:23:30.250716Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(128828080918992) event=Ok(Abandoned { id: PathId(1), reason: RemoteAbandoned { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:30.251021Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(128828080918992) event=Ok(Abandoned { id: PathId(2), reason: RemoteAbandoned { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:30.407570Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(128828080918992) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 8.763604ms, udp_tx: UdpStats { datagrams: 3, bytes: 2564, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 1, PATH_STATUS_BACKUP: 2, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:30.407648Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(128828080918992) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 8.763604ms, udp_tx: UdpStats { datagrams: 3, bytes: 2564, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 1, PATH_STATUS_BACKUP: 2, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path discarded id=1 path_stats=PathStats { rtt: 8.763604ms, udp_tx: UdpStats { datagrams: 3, bytes: 2564, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 1, PATH_STATUS_BACKUP: 2, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } +2026-10-11T17:23:30.407817Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(128828080918992) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 9.004644ms, udp_tx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:30.407835Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(128828080918992) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 9.004644ms, udp_tx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path discarded id=2 path_stats=PathStats { rtt: 9.004644ms, udp_tx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } +2026-10-11T17:23:33.229204Z INFO harness: closed role="server" event="connection_closed" why=closed by peer: client done (code 0) +2026-10-11T17:23:33.229226Z TRACE RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-08/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-08/client.log new file mode 100644 index 0000000000..cb04040321 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-08/client.log @@ -0,0 +1,43 @@ +2026-10-11T17:23:34.068539Z INFO harness: dialing with one loopback hint role="client" event="start" me=8139770ea8 kind=stream ticket=[127.0.0.1:43398] +2026-10-11T17:23:34.068928Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:34.069022Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:23:34.069098Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:23:34.069115Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:23:34.069135Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:23:34.070116Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:43398)] +2026-10-11T17:23:34.086821Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(106112058942400) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:49318, 10.200.0.2:49318, 127.0.0.1:49318} +2026-10-11T17:23:34.087284Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=18.664348 remote_info=["Ip(127.0.0.1:43398)/Active"] +2026-10-11T17:23:34.099067Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106112058942400) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:34.099130Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(106112058942400) evt=Ok(AddressAdded(127.0.0.1:43398)) +2026-10-11T17:23:34.099173Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37051, tv_nsec: 526099707 }, local_candidates: {10.200.0.1:49318, 10.200.0.2:49318, 127.0.0.1:49318}, remote_candidates: {} } local_candidates={10.200.0.1:49318, 10.200.0.2:49318, 127.0.0.1:49318} remote_candidates={10.200.0.1:43398, 10.200.0.2:43398, 127.0.0.1:43398} +2026-10-11T17:23:34.099262Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(106112058942400) evt=Ok(AddressAdded(10.200.0.2:43398)) +2026-10-11T17:23:34.099286Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37051, tv_nsec: 538340910 }, local_candidates: {10.200.0.1:49318, 10.200.0.2:49318, 127.0.0.1:49318}, remote_candidates: {10.200.0.1:43398, 10.200.0.2:43398, 127.0.0.1:43398} } local_candidates={10.200.0.1:49318, 10.200.0.2:49318, 127.0.0.1:49318} remote_candidates={10.200.0.1:43398, 10.200.0.2:43398, 127.0.0.1:43398} +2026-10-11T17:23:34.099306Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999931019s +2026-10-11T17:23:34.099322Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(106112058942400) evt=Ok(AddressAdded(10.200.0.1:43398)) +2026-10-11T17:23:34.099333Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37051, tv_nsec: 538340910 }, local_candidates: {10.200.0.1:49318, 10.200.0.2:49318, 127.0.0.1:49318}, remote_candidates: {10.200.0.1:43398, 10.200.0.2:43398, 127.0.0.1:43398} } local_candidates={10.200.0.1:49318, 10.200.0.2:49318, 127.0.0.1:49318} remote_candidates={10.200.0.1:43398, 10.200.0.2:43398, 127.0.0.1:43398} +2026-10-11T17:23:34.099356Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.99987852s +2026-10-11T17:23:34.101200Z INFO harness: reply role="client" event="stream_reply" elapsed_ms=32.577297 reply=welcome +2026-10-11T17:23:34.103708Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106112058942400) event=Ok(Established { id: PathId(1) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:34.103859Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106112058942400) event=Ok(Established { id: PathId(1) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:43398, local: Some(127.0.0.1) }) +2026-10-11T17:23:34.103909Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106112058942400) event=Ok(Established { id: PathId(1) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.1:43398, local: Some(10.200.0.1) } conn_id=106112058942400 path_id=1 +2026-10-11T17:23:34.104052Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106112058942400) event=Ok(Established { id: PathId(2) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:34.104110Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106112058942400) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:43398, local: Some(127.0.0.1) }) +2026-10-11T17:23:34.104136Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106112058942400) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.2:43398, local: Some(10.200.0.2) } conn_id=106112058942400 path_id=2 +2026-10-11T17:23:34.104170Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106112058942400) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.1:43398, local: Some(10.200.0.1) } conn_id=106112058942400 path_id=1 +2026-10-11T17:23:34.104537Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106112058942400) event=Ok(Abandoned { id: PathId(1), reason: ApplicationClosed { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:34.104605Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106112058942400) event=Ok(Abandoned { id: PathId(1), reason: ApplicationClosed { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:43398, local: Some(127.0.0.1) }) +2026-10-11T17:23:34.104629Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106112058942400) event=Ok(Abandoned { id: PathId(1), reason: ApplicationClosed { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.2:43398, local: Some(10.200.0.2) } conn_id=106112058942400 path_id=2 +2026-10-11T17:23:34.104713Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106112058942400) event=Ok(Abandoned { id: PathId(2), reason: ApplicationClosed { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:34.104757Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106112058942400) event=Ok(Abandoned { id: PathId(2), reason: ApplicationClosed { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:43398, local: Some(127.0.0.1) }) +2026-10-11T17:23:34.106159Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106112058942400) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:34.106275Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106112058942400) event=Ok(RemoteStatus { id: PathId(1), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:34.106318Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106112058942400) event=Ok(RemoteStatus { id: PathId(2), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:34.196364Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106112058942400) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 1.608937ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:34.196403Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106112058942400) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 1.608937ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path discarded id=1 path_stats=PathStats { rtt: 1.608937ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } +2026-10-11T17:23:34.196481Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106112058942400) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 1.608937ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:34.196493Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106112058942400) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 1.608937ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path discarded id=2 path_stats=PathStats { rtt: 1.608937ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } +2026-10-11T17:23:37.104294Z INFO harness: no close from peer in 3 s; closed here role="client" event="closed_locally" elapsed_ms=3035.667035 +2026-10-11T17:23:37.104459Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:37.306544Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:43398)/Active", "Ip(10.200.0.2:43398)/Inactive", "Ip(10.200.0.1:43398)/Inactive"] +2026-10-11T17:23:37.306792Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:23:37.306843Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-08/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-08/ready.txt new file mode 100644 index 0000000000..80fc1dd2e1 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-08/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=43398 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-08/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-08/server.log new file mode 100644 index 0000000000..05179c99bd --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-08/server.log @@ -0,0 +1,21 @@ +2026-10-11T17:23:34.052683Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=43398 direct=["10.200.0.1:43398", "10.200.0.2:43398", "127.0.0.1:43398"] +2026-10-11T17:23:34.070761Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:49318) alpns=["n30/allowlist/0"] +2026-10-11T17:23:34.097807Z TRACE RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:34.098583Z TRACE RemoteStateActor{remote=8139770ea8}:handle_message{msg=AddConnection(137847378022864) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:43398, 10.200.0.2:43398, 127.0.0.1:43398} +2026-10-11T17:23:34.098669Z TRACE RemoteStateActor{remote=8139770ea8}:handle_message{msg=AddConnection(137847378022864) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:34.098868Z DEBUG RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:23:34.099287Z TRACE RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:34.099379Z INFO harness: hook runs role="server" event="after_handshake" peer=8139770ea8 allowed=true enforce=true +2026-10-11T17:23:34.099533Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=8139770ea8 allowed=true remote_info=["Ip(127.0.0.1:49318)/Active"] +2026-10-11T17:23:34.099685Z INFO harness: stream from peer role="server" event="stream_opened" peer=8139770ea8 first_bytes=hello remote_info=["Ip(127.0.0.1:49318)/Active"] +2026-10-11T17:23:34.104881Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(137847378022864) event=Ok(Established { id: PathId(1) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:34.105128Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(137847378022864) event=Ok(Established { id: PathId(2) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:34.105192Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(137847378022864) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 10.200.0.1:49318, local: Some(10.200.0.1) }) +2026-10-11T17:23:34.105270Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(137847378022864) event=Ok(Abandoned { id: PathId(1), reason: RemoteAbandoned { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:34.105362Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(137847378022864) event=Ok(Abandoned { id: PathId(2), reason: RemoteAbandoned { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:34.193795Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(137847378022864) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 1.421863ms, udp_tx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 0, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1200 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:34.193860Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(137847378022864) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 1.421863ms, udp_tx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 0, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1200 } })}: iroh::socket::remote_map::remote_state: path discarded id=1 path_stats=PathStats { rtt: 1.421863ms, udp_tx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 0, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1200 } +2026-10-11T17:23:34.194008Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(137847378022864) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 1.421863ms, udp_tx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 0, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1200 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:34.194025Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(137847378022864) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 1.421863ms, udp_tx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 0, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1200 } })}: iroh::socket::remote_map::remote_state: path discarded id=2 path_stats=PathStats { rtt: 1.421863ms, udp_tx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 0, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1200 } +2026-10-11T17:23:37.105491Z INFO harness: closed role="server" event="connection_closed" why=closed by peer: client done (code 0) +2026-10-11T17:23:37.105575Z TRACE RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-09/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-09/client.log new file mode 100644 index 0000000000..2f0ef85b5a --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-09/client.log @@ -0,0 +1,51 @@ +2026-10-11T17:23:37.980011Z INFO harness: dialing with one loopback hint role="client" event="start" me=8139770ea8 kind=stream ticket=[127.0.0.1:34778] +2026-10-11T17:23:37.982117Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:37.982275Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:23:37.982400Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:23:37.982421Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:23:37.982447Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:23:37.988120Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:34778)] +2026-10-11T17:23:38.012447Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(111382258217056) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:43534, 10.200.0.2:43534, 127.0.0.1:43534} +2026-10-11T17:23:38.013423Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=33.289835 remote_info=["Ip(127.0.0.1:34778)/Active"] +2026-10-11T17:23:38.041987Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111382258217056) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:38.042137Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(111382258217056) evt=Ok(AddressAdded(127.0.0.1:34778)) +2026-10-11T17:23:38.042229Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37055, tv_nsec: 451744962 }, local_candidates: {10.200.0.1:43534, 10.200.0.2:43534, 127.0.0.1:43534}, remote_candidates: {} } local_candidates={10.200.0.1:43534, 10.200.0.2:43534, 127.0.0.1:43534} remote_candidates={10.200.0.1:34778, 10.200.0.2:34778, 127.0.0.1:34778} +2026-10-11T17:23:38.042377Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(111382258217056) evt=Ok(AddressAdded(10.200.0.2:34778)) +2026-10-11T17:23:38.042411Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37055, tv_nsec: 481440249 }, local_candidates: {10.200.0.1:43534, 10.200.0.2:43534, 127.0.0.1:43534}, remote_candidates: {10.200.0.1:34778, 10.200.0.2:34778, 127.0.0.1:34778} } local_candidates={10.200.0.1:43534, 10.200.0.2:43534, 127.0.0.1:43534} remote_candidates={10.200.0.1:34778, 10.200.0.2:34778, 127.0.0.1:34778} +2026-10-11T17:23:38.042446Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999891545s +2026-10-11T17:23:38.042476Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(111382258217056) evt=Ok(AddressAdded(10.200.0.1:34778)) +2026-10-11T17:23:38.042496Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37055, tv_nsec: 481440249 }, local_candidates: {10.200.0.1:43534, 10.200.0.2:43534, 127.0.0.1:43534}, remote_candidates: {10.200.0.1:34778, 10.200.0.2:34778, 127.0.0.1:34778} } local_candidates={10.200.0.1:43534, 10.200.0.2:43534, 127.0.0.1:43534} remote_candidates={10.200.0.1:34778, 10.200.0.2:34778, 127.0.0.1:34778} +2026-10-11T17:23:38.042532Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999802225s +2026-10-11T17:23:38.044000Z INFO harness: reply role="client" event="stream_reply" elapsed_ms=63.856732 reply=welcome +2026-10-11T17:23:38.046599Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111382258217056) event=Ok(Established { id: PathId(1) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:38.046762Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111382258217056) event=Ok(Established { id: PathId(1) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:34778, local: Some(127.0.0.1) }) +2026-10-11T17:23:38.046802Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111382258217056) event=Ok(Established { id: PathId(1) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.2:34778, local: Some(10.200.0.2) } conn_id=111382258217056 path_id=1 +2026-10-11T17:23:38.048365Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111382258217056) event=Ok(Abandoned { id: PathId(1), reason: ApplicationClosed { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:38.050054Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111382258217056) event=Ok(Abandoned { id: PathId(1), reason: ApplicationClosed { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:34778, local: Some(127.0.0.1) }) +2026-10-11T17:23:38.052286Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111382258217056) event=Ok(Established { id: PathId(2) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:38.052438Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111382258217056) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:34778, local: Some(127.0.0.1) }) +2026-10-11T17:23:38.052481Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111382258217056) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.1:34778, local: Some(10.200.0.1) } conn_id=111382258217056 path_id=2 +2026-10-11T17:23:38.052652Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111382258217056) event=Ok(Established { id: PathId(3) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:38.052713Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111382258217056) event=Ok(Established { id: PathId(3) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:34778, local: Some(127.0.0.1) }) +2026-10-11T17:23:38.052739Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111382258217056) event=Ok(Established { id: PathId(3) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.2:34778, local: Some(10.200.0.2) } conn_id=111382258217056 path_id=3 +2026-10-11T17:23:38.052776Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111382258217056) event=Ok(Established { id: PathId(3) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.1:34778, local: Some(10.200.0.1) } conn_id=111382258217056 path_id=2 +2026-10-11T17:23:38.052852Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111382258217056) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:38.052912Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111382258217056) event=Ok(RemoteStatus { id: PathId(1), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:38.053357Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111382258217056) event=Ok(Abandoned { id: PathId(2), reason: ApplicationClosed { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:38.053436Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111382258217056) event=Ok(Abandoned { id: PathId(2), reason: ApplicationClosed { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:34778, local: Some(127.0.0.1) }) +2026-10-11T17:23:38.053470Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111382258217056) event=Ok(Abandoned { id: PathId(2), reason: ApplicationClosed { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.2:34778, local: Some(10.200.0.2) } conn_id=111382258217056 path_id=3 +2026-10-11T17:23:38.053549Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111382258217056) event=Ok(Abandoned { id: PathId(3), reason: ApplicationClosed { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:38.053585Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111382258217056) event=Ok(Abandoned { id: PathId(3), reason: ApplicationClosed { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:34778, local: Some(127.0.0.1) }) +2026-10-11T17:23:38.061191Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111382258217056) event=Ok(RemoteStatus { id: PathId(2), status: Backup })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:38.061342Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111382258217056) event=Ok(RemoteStatus { id: PathId(3), status: Backup })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:38.158738Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111382258217056) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 3.576604ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:38.158824Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111382258217056) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 3.576604ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path discarded id=1 path_stats=PathStats { rtt: 3.576604ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } +2026-10-11T17:23:38.162677Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111382258217056) event=Ok(Discarded { id: PathId(3), path_stats: PathStats { rtt: 3.334595ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:38.163387Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111382258217056) event=Ok(Discarded { id: PathId(3), path_stats: PathStats { rtt: 3.334595ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path discarded id=3 path_stats=PathStats { rtt: 3.334595ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } +2026-10-11T17:23:38.165782Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111382258217056) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 4.123703ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:38.165835Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111382258217056) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 4.123703ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path discarded id=2 path_stats=PathStats { rtt: 4.123703ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } +2026-10-11T17:23:41.045558Z INFO harness: no close from peer in 3 s; closed here role="client" event="closed_locally" elapsed_ms=3065.419004 +2026-10-11T17:23:41.045709Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:41.246542Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:34778)/Active", "Ip(10.200.0.2:34778)/Inactive", "Ip(10.200.0.1:34778)/Inactive"] +2026-10-11T17:23:41.246703Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:23:41.246752Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-09/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-09/ready.txt new file mode 100644 index 0000000000..862b1e9d8f --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-09/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=34778 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-09/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-09/server.log new file mode 100644 index 0000000000..9f0b258466 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-09/server.log @@ -0,0 +1,28 @@ +2026-10-11T17:23:37.938272Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=34778 direct=["10.200.0.1:34778", "10.200.0.2:34778", "127.0.0.1:34778"] +2026-10-11T17:23:37.989114Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:43534) alpns=["n30/allowlist/0"] +2026-10-11T17:23:38.036276Z TRACE RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:38.036911Z TRACE RemoteStateActor{remote=8139770ea8}:handle_message{msg=AddConnection(125512768896992) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:34778, 10.200.0.2:34778, 127.0.0.1:34778} +2026-10-11T17:23:38.037067Z TRACE RemoteStateActor{remote=8139770ea8}:handle_message{msg=AddConnection(125512768896992) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:38.037333Z INFO harness: hook runs role="server" event="after_handshake" peer=8139770ea8 allowed=true enforce=true +2026-10-11T17:23:38.037569Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=8139770ea8 allowed=true remote_info=["Ip(127.0.0.1:43534)/Active"] +2026-10-11T17:23:38.038326Z DEBUG RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:23:38.038373Z TRACE RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:38.038429Z INFO harness: stream from peer role="server" event="stream_opened" peer=8139770ea8 first_bytes=hello remote_info=["Ip(127.0.0.1:43534)/Active"] +2026-10-11T17:23:38.049224Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125512768896992) event=Ok(Established { id: PathId(1) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:38.049860Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125512768896992) event=Ok(Abandoned { id: PathId(1), reason: RemoteAbandoned { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:38.055055Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125512768896992) event=Ok(Established { id: PathId(2) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:38.059220Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125512768896992) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:43534, local: Some(127.0.0.1) }) +2026-10-11T17:23:38.059506Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125512768896992) event=Ok(Established { id: PathId(3) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:38.059606Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125512768896992) event=Ok(Established { id: PathId(3) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:43534, local: Some(127.0.0.1) }) +2026-10-11T17:23:38.059720Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125512768896992) event=Ok(Abandoned { id: PathId(2), reason: RemoteAbandoned { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:38.059783Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125512768896992) event=Ok(Abandoned { id: PathId(2), reason: RemoteAbandoned { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:43534, local: Some(127.0.0.1) }) +2026-10-11T17:23:38.059874Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125512768896992) event=Ok(Abandoned { id: PathId(3), reason: RemoteAbandoned { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:38.060021Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125512768896992) event=Ok(Abandoned { id: PathId(3), reason: RemoteAbandoned { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:43534, local: Some(127.0.0.1) }) +2026-10-11T17:23:38.136566Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125512768896992) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 1.374814ms, udp_tx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 0, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1200 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:38.136634Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125512768896992) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 1.374814ms, udp_tx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 0, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1200 } })}: iroh::socket::remote_map::remote_state: path discarded id=1 path_stats=PathStats { rtt: 1.374814ms, udp_tx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 0, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1200 } +2026-10-11T17:23:38.165732Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125512768896992) event=Ok(Discarded { id: PathId(3), path_stats: PathStats { rtt: 3.913412ms, udp_tx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 0, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1200 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:38.165817Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125512768896992) event=Ok(Discarded { id: PathId(3), path_stats: PathStats { rtt: 3.913412ms, udp_tx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 0, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1200 } })}: iroh::socket::remote_map::remote_state: path discarded id=3 path_stats=PathStats { rtt: 3.913412ms, udp_tx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 0, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1200 } +2026-10-11T17:23:38.190634Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125512768896992) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 6.671896ms, udp_tx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 0, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1200 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:38.190712Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(125512768896992) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 6.671896ms, udp_tx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 0, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1200 } })}: iroh::socket::remote_map::remote_state: path discarded id=2 path_stats=PathStats { rtt: 6.671896ms, udp_tx: UdpStats { datagrams: 1, bytes: 1200, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 1, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 0, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 0, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1200 } +2026-10-11T17:23:41.046684Z INFO harness: closed role="server" event="connection_closed" why=closed by peer: client done (code 0) +2026-10-11T17:23:41.046736Z TRACE RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-10/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-10/client.log new file mode 100644 index 0000000000..66e844bd32 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-10/client.log @@ -0,0 +1,43 @@ +2026-10-11T17:23:41.905178Z INFO harness: dialing with one loopback hint role="client" event="start" me=8139770ea8 kind=stream ticket=[127.0.0.1:37663] +2026-10-11T17:23:41.905789Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:41.905941Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:23:41.906056Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:23:41.906072Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:23:41.906095Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:23:41.907564Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:37663)] +2026-10-11T17:23:41.935619Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(106745219231968) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:59219, 10.200.0.2:59219, 127.0.0.1:59219} +2026-10-11T17:23:41.936345Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=31.042887 remote_info=["Ip(127.0.0.1:37663)/Active"] +2026-10-11T17:23:41.950615Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106745219231968) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:41.950716Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(106745219231968) evt=Ok(AddressAdded(127.0.0.1:37663)) +2026-10-11T17:23:41.951197Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37059, tv_nsec: 374988410 }, local_candidates: {10.200.0.1:59219, 10.200.0.2:59219, 127.0.0.1:59219}, remote_candidates: {} } local_candidates={10.200.0.1:59219, 10.200.0.2:59219, 127.0.0.1:59219} remote_candidates={10.200.0.1:37663, 10.200.0.2:37663, 127.0.0.1:37663} +2026-10-11T17:23:41.951395Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(106745219231968) evt=Ok(AddressAdded(10.200.0.2:37663)) +2026-10-11T17:23:41.951444Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37059, tv_nsec: 390437767 }, local_candidates: {10.200.0.1:59219, 10.200.0.2:59219, 127.0.0.1:59219}, remote_candidates: {10.200.0.1:37663, 10.200.0.2:37663, 127.0.0.1:37663} } local_candidates={10.200.0.1:59219, 10.200.0.2:59219, 127.0.0.1:59219} remote_candidates={10.200.0.1:37663, 10.200.0.2:37663, 127.0.0.1:37663} +2026-10-11T17:23:41.951483Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999853312s +2026-10-11T17:23:41.951512Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(106745219231968) evt=Ok(AddressAdded(10.200.0.1:37663)) +2026-10-11T17:23:41.951533Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37059, tv_nsec: 390437767 }, local_candidates: {10.200.0.1:59219, 10.200.0.2:59219, 127.0.0.1:59219}, remote_candidates: {10.200.0.1:37663, 10.200.0.2:37663, 127.0.0.1:37663} } local_candidates={10.200.0.1:59219, 10.200.0.2:59219, 127.0.0.1:59219} remote_candidates={10.200.0.1:37663, 10.200.0.2:37663, 127.0.0.1:37663} +2026-10-11T17:23:41.951574Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999758032s +2026-10-11T17:23:41.953870Z INFO harness: reply role="client" event="stream_reply" elapsed_ms=48.557556000000005 reply=welcome +2026-10-11T17:23:41.958169Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106745219231968) event=Ok(Established { id: PathId(1) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:41.958302Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106745219231968) event=Ok(Established { id: PathId(1) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:37663, local: Some(127.0.0.1) }) +2026-10-11T17:23:41.958336Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106745219231968) event=Ok(Established { id: PathId(1) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.2:37663, local: Some(10.200.0.2) } conn_id=106745219231968 path_id=1 +2026-10-11T17:23:41.958474Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106745219231968) event=Ok(Established { id: PathId(2) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:41.958525Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106745219231968) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:37663, local: Some(127.0.0.1) }) +2026-10-11T17:23:41.958551Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106745219231968) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.1:37663, local: Some(10.200.0.1) } conn_id=106745219231968 path_id=2 +2026-10-11T17:23:41.958588Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106745219231968) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.2:37663, local: Some(10.200.0.2) } conn_id=106745219231968 path_id=1 +2026-10-11T17:23:41.959004Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106745219231968) event=Ok(Abandoned { id: PathId(1), reason: ApplicationClosed { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:41.960112Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106745219231968) event=Ok(Abandoned { id: PathId(1), reason: ApplicationClosed { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:37663, local: Some(127.0.0.1) }) +2026-10-11T17:23:41.960344Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106745219231968) event=Ok(Abandoned { id: PathId(1), reason: ApplicationClosed { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.1:37663, local: Some(10.200.0.1) } conn_id=106745219231968 path_id=2 +2026-10-11T17:23:41.960488Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106745219231968) event=Ok(Abandoned { id: PathId(2), reason: ApplicationClosed { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:41.960536Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106745219231968) event=Ok(Abandoned { id: PathId(2), reason: ApplicationClosed { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:37663, local: Some(127.0.0.1) }) +2026-10-11T17:23:41.960607Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106745219231968) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:41.960638Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106745219231968) event=Ok(RemoteStatus { id: PathId(1), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:41.960667Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106745219231968) event=Ok(RemoteStatus { id: PathId(2), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:42.049326Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106745219231968) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 1.459864ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:42.049377Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106745219231968) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 1.459864ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path discarded id=1 path_stats=PathStats { rtt: 1.459864ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } +2026-10-11T17:23:42.049515Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106745219231968) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 1.459864ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:42.049537Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106745219231968) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 1.459864ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path discarded id=2 path_stats=PathStats { rtt: 1.459864ms, udp_tx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, udp_rx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } +2026-10-11T17:23:44.954983Z INFO harness: no close from peer in 3 s; closed here role="client" event="closed_locally" elapsed_ms=3049.674493 +2026-10-11T17:23:44.955257Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:45.156091Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:37663)/Active", "Ip(10.200.0.2:37663)/Inactive", "Ip(10.200.0.1:37663)/Inactive"] +2026-10-11T17:23:45.156232Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:23:45.156281Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-10/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-10/ready.txt new file mode 100644 index 0000000000..9af39cb625 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-10/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=37663 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-10/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-10/server.log new file mode 100644 index 0000000000..e52da2abe1 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-allow/run-10/server.log @@ -0,0 +1,21 @@ +2026-10-11T17:23:41.882191Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=37663 direct=["10.200.0.1:37663", "10.200.0.2:37663", "127.0.0.1:37663"] +2026-10-11T17:23:41.908790Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:59219) alpns=["n30/allowlist/0"] +2026-10-11T17:23:41.947995Z TRACE RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:41.949582Z TRACE RemoteStateActor{remote=8139770ea8}:handle_message{msg=AddConnection(134985654737616) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:37663, 10.200.0.2:37663, 127.0.0.1:37663} +2026-10-11T17:23:41.949769Z TRACE RemoteStateActor{remote=8139770ea8}:handle_message{msg=AddConnection(134985654737616) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:41.950137Z DEBUG RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:23:41.950618Z TRACE RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:41.950740Z INFO harness: hook runs role="server" event="after_handshake" peer=8139770ea8 allowed=true enforce=true +2026-10-11T17:23:41.951005Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=8139770ea8 allowed=true remote_info=["Ip(127.0.0.1:59219)/Active"] +2026-10-11T17:23:41.951261Z INFO harness: stream from peer role="server" event="stream_opened" peer=8139770ea8 first_bytes=hello remote_info=["Ip(127.0.0.1:59219)/Active"] +2026-10-11T17:23:41.959260Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(134985654737616) event=Ok(Established { id: PathId(1) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:41.959542Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(134985654737616) event=Ok(Established { id: PathId(2) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:41.959587Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(134985654737616) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 10.200.0.2:59219, local: Some(10.200.0.2) }) +2026-10-11T17:23:41.959660Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(134985654737616) event=Ok(Abandoned { id: PathId(1), reason: RemoteAbandoned { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:41.959752Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(134985654737616) event=Ok(Abandoned { id: PathId(2), reason: RemoteAbandoned { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:42.049250Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(134985654737616) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 1.346423ms, udp_tx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:42.049341Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(134985654737616) event=Ok(Discarded { id: PathId(1), path_stats: PathStats { rtt: 1.346423ms, udp_tx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path discarded id=1 path_stats=PathStats { rtt: 1.346423ms, udp_tx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } +2026-10-11T17:23:42.049532Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(134985654737616) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 1.346423ms, udp_tx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:42.049557Z TRACE RemoteStateActor{remote=8139770ea8}:handle_path_event{conn_id=ConnId(134985654737616) event=Ok(Discarded { id: PathId(2), path_stats: PathStats { rtt: 1.346423ms, udp_tx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } })}: iroh::socket::remote_map::remote_state: path discarded id=2 path_stats=PathStats { rtt: 1.346423ms, udp_tx: UdpStats { datagrams: 2, bytes: 2526, ios: 0 }, udp_rx: UdpStats { datagrams: 3, bytes: 3726, ios: 0 }, frame_tx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, frame_rx: FrameStats { ACK: 0, ACK_FREQUENCY: 0, CONNECTION_CLOSE: 0, CRYPTO: 0, DATA_BLOCKED: 0, DATAGRAM: 0, HANDSHAKE_DONE: 0, IMMEDIATE_ACK: 2, MAX_DATA: 0, MAX_PATH_ID: 0, MAX_STREAM_DATA: 0, MAX_STREAMS_BIDI: 0, MAX_STREAMS_UNI: 0, NEW_CONNECTION_ID: 0, NEW_TOKEN: 0, PATHS_BLOCKED: 0, PATH_ABANDON: 0, PATH_ACK: 0, PATH_STATUS_AVAILABLE: 0, PATH_STATUS_BACKUP: 0, PATH_CHALLENGE: 1, PATH_CIDS_BLOCKED: 0, PATH_NEW_CONNECTION_ID: 0, PATH_RESPONSE: 1, PATH_RETIRE_CONNECTION_ID: 0, PING: 1, RESET_STREAM: 0, RETIRE_CONNECTION_ID: 0, STREAM_DATA_BLOCKED: 0, STREAMS_BLOCKED_BIDI: 0, STREAMS_BLOCKED_UNI: 0, STOP_SENDING: 0, STREAM: 0, OBSERVED_ADDRESS: 0, ADD_ADDRESS: 0, REACH_OUT: 0, REMOVE_ADDRESS: 0 }, cwnd: 12000, congestion_events: 0, spurious_congestion_events: 0, lost_packets: 0, lost_bytes: 0, sent_plpmtud_probes: 1, lost_plpmtud_probes: 0, black_holes_detected: 0, current_mtu: 1326 } +2026-10-11T17:23:44.956008Z INFO harness: closed role="server" event="connection_closed" why=closed by peer: client done (code 0) +2026-10-11T17:23:44.956046Z TRACE RemoteStateActor{remote=8139770ea8}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-01/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-01/client.log new file mode 100644 index 0000000000..7d73b93895 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-01/client.log @@ -0,0 +1,24 @@ +2026-10-11T17:23:45.857597Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:38631] +2026-10-11T17:23:45.858176Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:45.858310Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:23:45.858412Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:23:45.858432Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:23:45.858453Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:23:45.859709Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:38631)] +2026-10-11T17:23:45.879439Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(101754800308064) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:52992, 10.200.0.2:52992, 127.0.0.1:52992} +2026-10-11T17:23:45.880085Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=22.362317 remote_info=["Ip(127.0.0.1:38631)/Active"] +2026-10-11T17:23:45.893007Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(101754800308064) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:45.893087Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(101754800308064) evt=Ok(AddressAdded(127.0.0.1:38631)) +2026-10-11T17:23:45.893133Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37063, tv_nsec: 318807585 }, local_candidates: {10.200.0.1:52992, 10.200.0.2:52992, 127.0.0.1:52992}, remote_candidates: {} } local_candidates={10.200.0.1:52992, 10.200.0.2:52992, 127.0.0.1:52992} remote_candidates={10.200.0.1:38631, 10.200.0.2:38631, 127.0.0.1:38631} +2026-10-11T17:23:45.893233Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(101754800308064) evt=Ok(AddressAdded(10.200.0.2:38631)) +2026-10-11T17:23:45.893260Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37063, tv_nsec: 332309343 }, local_candidates: {10.200.0.1:52992, 10.200.0.2:52992, 127.0.0.1:52992}, remote_candidates: {10.200.0.1:38631, 10.200.0.2:38631, 127.0.0.1:38631} } local_candidates={10.200.0.1:52992, 10.200.0.2:52992, 127.0.0.1:52992} remote_candidates={10.200.0.1:38631, 10.200.0.2:38631, 127.0.0.1:38631} +2026-10-11T17:23:45.893290Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999916672s +2026-10-11T17:23:45.893311Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(101754800308064) evt=Ok(AddressAdded(10.200.0.1:38631)) +2026-10-11T17:23:45.893345Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37063, tv_nsec: 332309343 }, local_candidates: {10.200.0.1:52992, 10.200.0.2:52992, 127.0.0.1:52992}, remote_candidates: {10.200.0.1:38631, 10.200.0.2:38631, 127.0.0.1:38631} } local_candidates={10.200.0.1:52992, 10.200.0.2:52992, 127.0.0.1:52992} remote_candidates={10.200.0.1:38631, 10.200.0.2:38631, 127.0.0.1:38631} +2026-10-11T17:23:45.893377Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.99982592s +2026-10-11T17:23:45.896189Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=38.465221 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:23:45.896244Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:45.896395Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=38.675299 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:38631)/Active"] +2026-10-11T17:23:46.097822Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:38631)/Active"] +2026-10-11T17:23:46.098012Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:23:46.098059Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-01/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-01/ready.txt new file mode 100644 index 0000000000..56e32bb528 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-01/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=38631 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-01/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-01/server.log new file mode 100644 index 0000000000..fabdc35780 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-01/server.log @@ -0,0 +1,13 @@ +2026-10-11T17:23:45.833474Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=38631 direct=["10.200.0.1:38631", "10.200.0.2:38631", "127.0.0.1:38631"] +2026-10-11T17:23:45.860514Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:52992) alpns=["n30/allowlist/0"] +2026-10-11T17:23:45.891690Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:45.892402Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(137810602367824) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:38631, 10.200.0.2:38631, 127.0.0.1:38631} +2026-10-11T17:23:45.892497Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(137810602367824) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:45.892702Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:23:45.892725Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:45.892778Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:23:45.892970Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:52992)/Active"] +2026-10-11T17:23:45.893845Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:52992)/Active"] +2026-10-11T17:23:45.894095Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:52992)/Active"] +2026-10-11T17:23:45.895426Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:23:45.895616Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-02/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-02/client.log new file mode 100644 index 0000000000..f561e68d8b --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-02/client.log @@ -0,0 +1,24 @@ +2026-10-11T17:23:46.749301Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:43406] +2026-10-11T17:23:46.749947Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:46.750084Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:23:46.750182Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:23:46.750197Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:23:46.750220Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:23:46.751696Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:43406)] +2026-10-11T17:23:46.771506Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(101683782160704) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:40908, 10.200.0.2:40908, 127.0.0.1:40908} +2026-10-11T17:23:46.772095Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=22.673917 remote_info=["Ip(127.0.0.1:43406)/Active"] +2026-10-11T17:23:46.792683Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(101683782160704) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:46.792771Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(101683782160704) evt=Ok(AddressAdded(127.0.0.1:43406)) +2026-10-11T17:23:46.792836Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37064, tv_nsec: 210819457 }, local_candidates: {10.200.0.1:40908, 10.200.0.2:40908, 127.0.0.1:40908}, remote_candidates: {} } local_candidates={10.200.0.1:40908, 10.200.0.2:40908, 127.0.0.1:40908} remote_candidates={10.200.0.1:43406, 10.200.0.2:43406, 127.0.0.1:43406} +2026-10-11T17:23:46.793516Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(101683782160704) evt=Ok(AddressAdded(10.200.0.2:43406)) +2026-10-11T17:23:46.793590Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37064, tv_nsec: 232556069 }, local_candidates: {10.200.0.1:40908, 10.200.0.2:40908, 127.0.0.1:40908}, remote_candidates: {10.200.0.1:43406, 10.200.0.2:43406, 127.0.0.1:43406} } local_candidates={10.200.0.1:40908, 10.200.0.2:40908, 127.0.0.1:40908} remote_candidates={10.200.0.1:43406, 10.200.0.2:43406, 127.0.0.1:43406} +2026-10-11T17:23:46.793636Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999819108s +2026-10-11T17:23:46.793681Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(101683782160704) evt=Ok(AddressAdded(10.200.0.1:43406)) +2026-10-11T17:23:46.793717Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37064, tv_nsec: 232556069 }, local_candidates: {10.200.0.1:40908, 10.200.0.2:40908, 127.0.0.1:40908}, remote_candidates: {10.200.0.1:43406, 10.200.0.2:43406, 127.0.0.1:43406} } local_candidates={10.200.0.1:40908, 10.200.0.2:40908, 127.0.0.1:40908} remote_candidates={10.200.0.1:43406, 10.200.0.2:43406, 127.0.0.1:43406} +2026-10-11T17:23:46.793758Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999692989s +2026-10-11T17:23:46.794148Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=44.72801 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:23:46.794186Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:46.794343Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=44.924312 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:43406)/Active"] +2026-10-11T17:23:46.996508Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:43406)/Active"] +2026-10-11T17:23:46.996722Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:23:46.996787Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-02/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-02/ready.txt new file mode 100644 index 0000000000..fd0317d0ce --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-02/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=43406 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-02/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-02/server.log new file mode 100644 index 0000000000..3b7d7fe74f --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-02/server.log @@ -0,0 +1,13 @@ +2026-10-11T17:23:46.725422Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=43406 direct=["10.200.0.1:43406", "10.200.0.2:43406", "127.0.0.1:43406"] +2026-10-11T17:23:46.752577Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:40908) alpns=["n30/allowlist/0"] +2026-10-11T17:23:46.790797Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:46.791234Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(129707878129152) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:43406, 10.200.0.2:43406, 127.0.0.1:43406} +2026-10-11T17:23:46.791379Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(129707878129152) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:46.792357Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:23:46.792421Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:46.792530Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:23:46.792781Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:40908)/Active"] +2026-10-11T17:23:46.793244Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:40908)/Active"] +2026-10-11T17:23:46.793398Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:40908)/Active"] +2026-10-11T17:23:46.793488Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:23:46.793778Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-03/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-03/client.log new file mode 100644 index 0000000000..a9e8a771ca --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-03/client.log @@ -0,0 +1,24 @@ +2026-10-11T17:23:47.652074Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:52310] +2026-10-11T17:23:47.652708Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:47.652864Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:23:47.652991Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:23:47.653024Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:23:47.653055Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:23:47.654663Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:52310)] +2026-10-11T17:23:47.674180Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(98793042719040) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:51864, 10.200.0.2:51864, 127.0.0.1:51864} +2026-10-11T17:23:47.674752Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=22.558578 remote_info=["Ip(127.0.0.1:52310)/Active"] +2026-10-11T17:23:47.689474Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(98793042719040) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:47.689569Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(98793042719040) evt=Ok(AddressAdded(127.0.0.1:52310)) +2026-10-11T17:23:47.689643Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37065, tv_nsec: 113511371 }, local_candidates: {10.200.0.1:51864, 10.200.0.2:51864, 127.0.0.1:51864}, remote_candidates: {} } local_candidates={10.200.0.1:51864, 10.200.0.2:51864, 127.0.0.1:51864} remote_candidates={10.200.0.1:52310, 10.200.0.2:52310, 127.0.0.1:52310} +2026-10-11T17:23:47.689772Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(98793042719040) evt=Ok(AddressAdded(10.200.0.2:52310)) +2026-10-11T17:23:47.689812Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37065, tv_nsec: 128834928 }, local_candidates: {10.200.0.1:51864, 10.200.0.2:51864, 127.0.0.1:51864}, remote_candidates: {10.200.0.1:52310, 10.200.0.2:52310, 127.0.0.1:52310} } local_candidates={10.200.0.1:51864, 10.200.0.2:51864, 127.0.0.1:51864} remote_candidates={10.200.0.1:52310, 10.200.0.2:52310, 127.0.0.1:52310} +2026-10-11T17:23:47.689848Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999886224s +2026-10-11T17:23:47.689882Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(98793042719040) evt=Ok(AddressAdded(10.200.0.1:52310)) +2026-10-11T17:23:47.689928Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37065, tv_nsec: 128834928 }, local_candidates: {10.200.0.1:51864, 10.200.0.2:51864, 127.0.0.1:51864}, remote_candidates: {10.200.0.1:52310, 10.200.0.2:52310, 127.0.0.1:52310} } local_candidates={10.200.0.1:51864, 10.200.0.2:51864, 127.0.0.1:51864} remote_candidates={10.200.0.1:52310, 10.200.0.2:52310, 127.0.0.1:52310} +2026-10-11T17:23:47.689973Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999756158s +2026-10-11T17:23:47.691087Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:47.691084Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=38.892379 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:23:47.691348Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=39.15714 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:52310)/Active"] +2026-10-11T17:23:47.892374Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:52310)/Active"] +2026-10-11T17:23:47.893141Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:23:47.893206Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-03/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-03/ready.txt new file mode 100644 index 0000000000..d8d00d9ef1 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-03/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=52310 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-03/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-03/server.log new file mode 100644 index 0000000000..8729965f8f --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-03/server.log @@ -0,0 +1,13 @@ +2026-10-11T17:23:47.628555Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=52310 direct=["10.200.0.1:52310", "10.200.0.2:52310", "127.0.0.1:52310"] +2026-10-11T17:23:47.655703Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:51864) alpns=["n30/allowlist/0"] +2026-10-11T17:23:47.687380Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:47.687687Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(135684526521808) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:52310, 10.200.0.2:52310, 127.0.0.1:52310} +2026-10-11T17:23:47.687813Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(135684526521808) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:47.688714Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:23:47.688763Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:47.688847Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:23:47.689094Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:51864)/Active"] +2026-10-11T17:23:47.689349Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:51864)/Active"] +2026-10-11T17:23:47.689455Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:51864)/Active"] +2026-10-11T17:23:47.690143Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:23:47.690758Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-04/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-04/client.log new file mode 100644 index 0000000000..4b331186e2 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-04/client.log @@ -0,0 +1,24 @@ +2026-10-11T17:23:48.543734Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:37213] +2026-10-11T17:23:48.544357Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:48.544494Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:23:48.544585Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:23:48.544600Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:23:48.544619Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:23:48.546286Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:37213)] +2026-10-11T17:23:48.563539Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(94409420932064) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:49531, 10.200.0.2:49531, 127.0.0.1:49531} +2026-10-11T17:23:48.564107Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=20.240338 remote_info=["Ip(127.0.0.1:37213)/Active"] +2026-10-11T17:23:48.579125Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94409420932064) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:48.579215Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(94409420932064) evt=Ok(AddressAdded(127.0.0.1:37213)) +2026-10-11T17:23:48.579440Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37066, tv_nsec: 2861288 }, local_candidates: {10.200.0.1:49531, 10.200.0.2:49531, 127.0.0.1:49531}, remote_candidates: {} } local_candidates={10.200.0.1:49531, 10.200.0.2:49531, 127.0.0.1:49531} remote_candidates={10.200.0.1:37213, 10.200.0.2:37213, 127.0.0.1:37213} +2026-10-11T17:23:48.579711Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(94409420932064) evt=Ok(AddressAdded(10.200.0.2:37213)) +2026-10-11T17:23:48.579767Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37066, tv_nsec: 18760335 }, local_candidates: {10.200.0.1:49531, 10.200.0.2:49531, 127.0.0.1:49531}, remote_candidates: {10.200.0.1:37213, 10.200.0.2:37213, 127.0.0.1:37213} } local_candidates={10.200.0.1:49531, 10.200.0.2:49531, 127.0.0.1:49531} remote_candidates={10.200.0.1:37213, 10.200.0.2:37213, 127.0.0.1:37213} +2026-10-11T17:23:48.579798Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999860596s +2026-10-11T17:23:48.579842Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(94409420932064) evt=Ok(AddressAdded(10.200.0.1:37213)) +2026-10-11T17:23:48.579877Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37066, tv_nsec: 18760335 }, local_candidates: {10.200.0.1:49531, 10.200.0.2:49531, 127.0.0.1:49531}, remote_candidates: {10.200.0.1:37213, 10.200.0.2:37213, 127.0.0.1:37213} } local_candidates={10.200.0.1:49531, 10.200.0.2:49531, 127.0.0.1:49531} remote_candidates={10.200.0.1:37213, 10.200.0.2:37213, 127.0.0.1:37213} +2026-10-11T17:23:48.579933Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999722615s +2026-10-11T17:23:48.580624Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:48.580857Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=36.9919 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:23:48.581211Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=37.347483000000004 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:37213)/Active"] +2026-10-11T17:23:48.782928Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:37213)/Active"] +2026-10-11T17:23:48.783574Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:23:48.783629Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-04/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-04/ready.txt new file mode 100644 index 0000000000..a97deb4f70 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-04/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=37213 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-04/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-04/server.log new file mode 100644 index 0000000000..82c1bf2b41 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-04/server.log @@ -0,0 +1,15 @@ +2026-10-11T17:23:48.518459Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=37213 direct=["10.200.0.1:37213", "10.200.0.2:37213", "127.0.0.1:37213"] +2026-10-11T17:23:48.547038Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:49531) alpns=["n30/allowlist/0"] +2026-10-11T17:23:48.576849Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:48.577015Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:23:48.577041Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:23:48.577843Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(134894118244816) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:37213, 10.200.0.2:37213, 127.0.0.1:37213} +2026-10-11T17:23:48.578018Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(134894118244816) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:48.578638Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:23:48.578676Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:48.578768Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:23:48.578999Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:49531)/Active"] +2026-10-11T17:23:48.579568Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:49531)/Active"] +2026-10-11T17:23:48.579677Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:49531)/Active"] +2026-10-11T17:23:48.579749Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:23:48.580344Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-05/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-05/client.log new file mode 100644 index 0000000000..a1d10717d3 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-05/client.log @@ -0,0 +1,24 @@ +2026-10-11T17:23:49.438472Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:40354] +2026-10-11T17:23:49.439761Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:49.439918Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:23:49.440028Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:23:49.440046Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:23:49.440068Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:23:49.441560Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:40354)] +2026-10-11T17:23:49.459188Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(104070932181312) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:43368, 10.200.0.2:43368, 127.0.0.1:43368} +2026-10-11T17:23:49.459703Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=21.097641 remote_info=["Ip(127.0.0.1:40354)/Active"] +2026-10-11T17:23:49.477612Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(104070932181312) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:49.477697Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(104070932181312) evt=Ok(AddressAdded(127.0.0.1:40354)) +2026-10-11T17:23:49.477870Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37066, tv_nsec: 898501655 }, local_candidates: {10.200.0.1:43368, 10.200.0.2:43368, 127.0.0.1:43368}, remote_candidates: {} } local_candidates={10.200.0.1:43368, 10.200.0.2:43368, 127.0.0.1:43368} remote_candidates={10.200.0.1:40354, 10.200.0.2:40354, 127.0.0.1:40354} +2026-10-11T17:23:49.478018Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(104070932181312) evt=Ok(AddressAdded(10.200.0.2:40354)) +2026-10-11T17:23:49.478049Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37066, tv_nsec: 917074284 }, local_candidates: {10.200.0.1:43368, 10.200.0.2:43368, 127.0.0.1:43368}, remote_candidates: {10.200.0.1:40354, 10.200.0.2:40354, 127.0.0.1:40354} } local_candidates={10.200.0.1:43368, 10.200.0.2:43368, 127.0.0.1:43368} remote_candidates={10.200.0.1:40354, 10.200.0.2:40354, 127.0.0.1:40354} +2026-10-11T17:23:49.478074Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999897866s +2026-10-11T17:23:49.478094Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(104070932181312) evt=Ok(AddressAdded(10.200.0.1:40354)) +2026-10-11T17:23:49.478107Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37066, tv_nsec: 917074284 }, local_candidates: {10.200.0.1:43368, 10.200.0.2:43368, 127.0.0.1:43368}, remote_candidates: {10.200.0.1:40354, 10.200.0.2:40354, 127.0.0.1:40354} } local_candidates={10.200.0.1:43368, 10.200.0.2:43368, 127.0.0.1:43368} remote_candidates={10.200.0.1:40354, 10.200.0.2:40354, 127.0.0.1:40354} +2026-10-11T17:23:49.478131Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999836701s +2026-10-11T17:23:49.478598Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=39.993902999999996 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:23:49.478641Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:49.478746Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=40.143066 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:40354)/Active"] +2026-10-11T17:23:49.681472Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:40354)/Active"] +2026-10-11T17:23:49.681638Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:23:49.681683Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-05/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-05/ready.txt new file mode 100644 index 0000000000..7773f7dd1a --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-05/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=40354 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-05/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-05/server.log new file mode 100644 index 0000000000..e95a0d54a6 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-05/server.log @@ -0,0 +1,13 @@ +2026-10-11T17:23:49.415603Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=40354 direct=["10.200.0.1:40354", "10.200.0.2:40354", "127.0.0.1:40354"] +2026-10-11T17:23:49.442507Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:43368) alpns=["n30/allowlist/0"] +2026-10-11T17:23:49.474378Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:49.476007Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(130463591043536) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:40354, 10.200.0.2:40354, 127.0.0.1:40354} +2026-10-11T17:23:49.476191Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(130463591043536) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:49.476544Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:23:49.476793Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:49.476925Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:23:49.477171Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:43368)/Active"] +2026-10-11T17:23:49.477567Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:43368)/Active"] +2026-10-11T17:23:49.477696Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:43368)/Active"] +2026-10-11T17:23:49.477777Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:23:49.478194Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-06/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-06/client.log new file mode 100644 index 0000000000..8f5d426d14 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-06/client.log @@ -0,0 +1,24 @@ +2026-10-11T17:23:50.325458Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:35344] +2026-10-11T17:23:50.325969Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:50.326104Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:23:50.326193Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:23:50.326205Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:23:50.326221Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:23:50.327775Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:35344)] +2026-10-11T17:23:50.344428Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(98452757901504) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:34248, 10.200.0.2:34248, 127.0.0.1:34248} +2026-10-11T17:23:50.344900Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=19.33332 remote_info=["Ip(127.0.0.1:35344)/Active"] +2026-10-11T17:23:50.359825Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(98452757901504) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:50.359921Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(98452757901504) evt=Ok(AddressAdded(127.0.0.1:35344)) +2026-10-11T17:23:50.359992Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37067, tv_nsec: 783701800 }, local_candidates: {10.200.0.1:34248, 10.200.0.2:34248, 127.0.0.1:34248}, remote_candidates: {} } local_candidates={10.200.0.1:34248, 10.200.0.2:34248, 127.0.0.1:34248} remote_candidates={10.200.0.1:35344, 10.200.0.2:35344, 127.0.0.1:35344} +2026-10-11T17:23:50.360101Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(98452757901504) evt=Ok(AddressAdded(10.200.0.2:35344)) +2026-10-11T17:23:50.360129Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37067, tv_nsec: 799175791 }, local_candidates: {10.200.0.1:34248, 10.200.0.2:34248, 127.0.0.1:34248}, remote_candidates: {10.200.0.1:35344, 10.200.0.2:35344, 127.0.0.1:35344} } local_candidates={10.200.0.1:34248, 10.200.0.2:34248, 127.0.0.1:34248} remote_candidates={10.200.0.1:35344, 10.200.0.2:35344, 127.0.0.1:35344} +2026-10-11T17:23:50.360160Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999913386s +2026-10-11T17:23:50.360185Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(98452757901504) evt=Ok(AddressAdded(10.200.0.1:35344)) +2026-10-11T17:23:50.360203Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37067, tv_nsec: 799175791 }, local_candidates: {10.200.0.1:34248, 10.200.0.2:34248, 127.0.0.1:34248}, remote_candidates: {10.200.0.1:35344, 10.200.0.2:35344, 127.0.0.1:35344} } local_candidates={10.200.0.1:34248, 10.200.0.2:34248, 127.0.0.1:34248} remote_candidates={10.200.0.1:35344, 10.200.0.2:35344, 127.0.0.1:35344} +2026-10-11T17:23:50.360236Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999833685s +2026-10-11T17:23:50.361331Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:50.362358Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=36.793934 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:23:50.363153Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=37.590452000000006 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:35344)/Active"] +2026-10-11T17:23:50.564858Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:35344)/Active"] +2026-10-11T17:23:50.565275Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:23:50.565349Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-06/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-06/ready.txt new file mode 100644 index 0000000000..ba032c0664 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-06/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=35344 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-06/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-06/server.log new file mode 100644 index 0000000000..9ad61558be --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-06/server.log @@ -0,0 +1,13 @@ +2026-10-11T17:23:50.305373Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=35344 direct=["10.200.0.1:35344", "10.200.0.2:35344", "127.0.0.1:35344"] +2026-10-11T17:23:50.328559Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:34248) alpns=["n30/allowlist/0"] +2026-10-11T17:23:50.357240Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:50.357577Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(125148032144864) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:35344, 10.200.0.2:35344, 127.0.0.1:35344} +2026-10-11T17:23:50.357672Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(125148032144864) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:50.357954Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:23:50.357997Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:50.358071Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:23:50.358224Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:34248)/Active"] +2026-10-11T17:23:50.360387Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:34248)/Active"] +2026-10-11T17:23:50.360509Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:34248)/Active"] +2026-10-11T17:23:50.360589Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:23:50.360843Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-07/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-07/client.log new file mode 100644 index 0000000000..711a274aa2 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-07/client.log @@ -0,0 +1,24 @@ +2026-10-11T17:23:51.221458Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:36220] +2026-10-11T17:23:51.222349Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:51.222508Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:23:51.222610Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:23:51.222625Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:23:51.222647Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:23:51.224360Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:36220)] +2026-10-11T17:23:51.244416Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(106739371294912) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:54374, 10.200.0.2:54374, 127.0.0.1:54374} +2026-10-11T17:23:51.244910Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=23.330529 remote_info=["Ip(127.0.0.1:36220)/Active"] +2026-10-11T17:23:51.260292Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106739371294912) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:51.260366Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(106739371294912) evt=Ok(AddressAdded(127.0.0.1:36220)) +2026-10-11T17:23:51.260424Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37068, tv_nsec: 683705525 }, local_candidates: {10.200.0.1:54374, 10.200.0.2:54374, 127.0.0.1:54374}, remote_candidates: {} } local_candidates={10.200.0.1:54374, 10.200.0.2:54374, 127.0.0.1:54374} remote_candidates={10.200.0.1:36220, 10.200.0.2:36220, 127.0.0.1:36220} +2026-10-11T17:23:51.260522Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(106739371294912) evt=Ok(AddressAdded(10.200.0.2:36220)) +2026-10-11T17:23:51.260546Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37068, tv_nsec: 699602738 }, local_candidates: {10.200.0.1:54374, 10.200.0.2:54374, 127.0.0.1:54374}, remote_candidates: {10.200.0.1:36220, 10.200.0.2:36220, 127.0.0.1:36220} } local_candidates={10.200.0.1:54374, 10.200.0.2:54374, 127.0.0.1:54374} remote_candidates={10.200.0.1:36220, 10.200.0.2:36220, 127.0.0.1:36220} +2026-10-11T17:23:51.260574Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999924787s +2026-10-11T17:23:51.260597Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(106739371294912) evt=Ok(AddressAdded(10.200.0.1:36220)) +2026-10-11T17:23:51.260615Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37068, tv_nsec: 699602738 }, local_candidates: {10.200.0.1:54374, 10.200.0.2:54374, 127.0.0.1:54374}, remote_candidates: {10.200.0.1:36220, 10.200.0.2:36220, 127.0.0.1:36220} } local_candidates={10.200.0.1:54374, 10.200.0.2:54374, 127.0.0.1:54374} remote_candidates={10.200.0.1:36220, 10.200.0.2:36220, 127.0.0.1:36220} +2026-10-11T17:23:51.260645Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999851849s +2026-10-11T17:23:51.261505Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=39.922538 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:23:51.261539Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:51.261706Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=40.127436 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:36220)/Active"] +2026-10-11T17:23:51.463428Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:36220)/Active"] +2026-10-11T17:23:51.463587Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:23:51.463635Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-07/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-07/ready.txt new file mode 100644 index 0000000000..b62e15bc12 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-07/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=36220 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-07/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-07/server.log new file mode 100644 index 0000000000..06c3d680a6 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-07/server.log @@ -0,0 +1,13 @@ +2026-10-11T17:23:51.197214Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=36220 direct=["10.200.0.1:36220", "10.200.0.2:36220", "127.0.0.1:36220"] +2026-10-11T17:23:51.225211Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:54374) alpns=["n30/allowlist/0"] +2026-10-11T17:23:51.257980Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:51.258844Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(140663668609488) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:36220, 10.200.0.2:36220, 127.0.0.1:36220} +2026-10-11T17:23:51.259006Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(140663668609488) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:51.259694Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:23:51.259729Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:51.259816Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:23:51.260018Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:54374)/Active"] +2026-10-11T17:23:51.260247Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:54374)/Active"] +2026-10-11T17:23:51.260331Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:54374)/Active"] +2026-10-11T17:23:51.260805Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:23:51.261068Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-08/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-08/client.log new file mode 100644 index 0000000000..395a046c1c --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-08/client.log @@ -0,0 +1,25 @@ +2026-10-11T17:23:52.127279Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:53642] +2026-10-11T17:23:52.127776Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:52.128004Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:23:52.128094Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:23:52.128106Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:23:52.128122Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:23:52.129428Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:53642)] +2026-10-11T17:23:52.147831Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(105216254177248) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:44596, 10.200.0.2:44596, 127.0.0.1:44596} +2026-10-11T17:23:52.148972Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=21.599130000000002 remote_info=["Ip(127.0.0.1:53642)/Active"] +2026-10-11T17:23:52.170798Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(105216254177248) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:52.170943Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=43.577357 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:23:52.171083Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(105216254177248) evt=Ok(AddressAdded(127.0.0.1:53642)) +2026-10-11T17:23:52.171176Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37069, tv_nsec: 587159402 }, local_candidates: {10.200.0.1:44596, 10.200.0.2:44596, 127.0.0.1:44596}, remote_candidates: {} } local_candidates={10.200.0.1:44596, 10.200.0.2:44596, 127.0.0.1:44596} remote_candidates={10.200.0.1:53642, 10.200.0.2:53642, 127.0.0.1:53642} +2026-10-11T17:23:52.171245Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:23:52.171378Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=44.011449 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:53642)/Active"] +2026-10-11T17:23:52.171472Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(105216254177248) evt=Ok(AddressAdded(10.200.0.2:53642)) +2026-10-11T17:23:52.171517Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37069, tv_nsec: 587159402 }, local_candidates: {10.200.0.1:44596, 10.200.0.2:44596, 127.0.0.1:44596}, remote_candidates: {} } local_candidates={10.200.0.1:44596, 10.200.0.2:44596, 127.0.0.1:44596} remote_candidates={10.200.0.1:53642, 10.200.0.2:53642, 127.0.0.1:53642} +2026-10-11T17:23:52.171559Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:23:52.171610Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(105216254177248) evt=Ok(AddressAdded(10.200.0.1:53642)) +2026-10-11T17:23:52.171639Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37069, tv_nsec: 587159402 }, local_candidates: {10.200.0.1:44596, 10.200.0.2:44596, 127.0.0.1:44596}, remote_candidates: {} } local_candidates={10.200.0.1:44596, 10.200.0.2:44596, 127.0.0.1:44596} remote_candidates={10.200.0.1:53642, 10.200.0.2:53642, 127.0.0.1:53642} +2026-10-11T17:23:52.171674Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:23:52.171773Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:52.373288Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:53642)/Active"] +2026-10-11T17:23:52.373534Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:23:52.373580Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-08/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-08/ready.txt new file mode 100644 index 0000000000..4b6325d836 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-08/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=53642 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-08/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-08/server.log new file mode 100644 index 0000000000..7e384cc570 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-08/server.log @@ -0,0 +1,11 @@ +2026-10-11T17:23:52.092159Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=53642 direct=["10.200.0.1:53642", "10.200.0.2:53642", "127.0.0.1:53642"] +2026-10-11T17:23:52.130233Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:44596) alpns=["n30/allowlist/0"] +2026-10-11T17:23:52.164432Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:52.164843Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(129815319418336) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:53642, 10.200.0.2:53642, 127.0.0.1:53642} +2026-10-11T17:23:52.164994Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(129815319418336) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:52.165260Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:23:52.165476Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:44596)/Active"] +2026-10-11T17:23:52.168373Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:44596)/Active"] +2026-10-11T17:23:52.168586Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:44596)/Active"] +2026-10-11T17:23:52.168701Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:23:52.168830Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-09/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-09/client.log new file mode 100644 index 0000000000..7c00fc6e0c --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-09/client.log @@ -0,0 +1,33 @@ +2026-10-11T17:23:53.035045Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:47802] +2026-10-11T17:23:53.035622Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:53.035765Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:23:53.035860Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:23:53.035880Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:23:53.035916Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:23:53.037135Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:47802)] +2026-10-11T17:23:53.059181Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(111039395393856) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:58309, 10.200.0.2:58309, 127.0.0.1:58309} +2026-10-11T17:23:53.060094Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=24.905961 remote_info=["Ip(127.0.0.1:47802)/Active"] +2026-10-11T17:23:53.082909Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111039395393856) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:53.083007Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(111039395393856) evt=Ok(AddressAdded(127.0.0.1:47802)) +2026-10-11T17:23:53.083082Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37070, tv_nsec: 498491905 }, local_candidates: {10.200.0.1:58309, 10.200.0.2:58309, 127.0.0.1:58309}, remote_candidates: {} } local_candidates={10.200.0.1:58309, 10.200.0.2:58309, 127.0.0.1:58309} remote_candidates={10.200.0.1:47802, 10.200.0.2:47802, 127.0.0.1:47802} +2026-10-11T17:23:53.083204Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(111039395393856) evt=Ok(AddressAdded(10.200.0.2:47802)) +2026-10-11T17:23:53.083237Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37070, tv_nsec: 522275060 }, local_candidates: {10.200.0.1:58309, 10.200.0.2:58309, 127.0.0.1:58309}, remote_candidates: {10.200.0.1:47802, 10.200.0.2:47802, 127.0.0.1:47802} } local_candidates={10.200.0.1:58309, 10.200.0.2:58309, 127.0.0.1:58309} remote_candidates={10.200.0.1:47802, 10.200.0.2:47802, 127.0.0.1:47802} +2026-10-11T17:23:53.083273Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999900091s +2026-10-11T17:23:53.083305Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(111039395393856) evt=Ok(AddressAdded(10.200.0.1:47802)) +2026-10-11T17:23:53.083328Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37070, tv_nsec: 522275060 }, local_candidates: {10.200.0.1:58309, 10.200.0.2:58309, 127.0.0.1:58309}, remote_candidates: {10.200.0.1:47802, 10.200.0.2:47802, 127.0.0.1:47802} } local_candidates={10.200.0.1:58309, 10.200.0.2:58309, 127.0.0.1:58309} remote_candidates={10.200.0.1:47802, 10.200.0.2:47802, 127.0.0.1:47802} +2026-10-11T17:23:53.083370Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.99979925s +2026-10-11T17:23:53.091040Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=55.848723 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:23:53.091113Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111039395393856) event=Ok(Established { id: PathId(1) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:53.091241Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111039395393856) event=Ok(Established { id: PathId(1) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:47802, local: Some(127.0.0.1) }) +2026-10-11T17:23:53.091296Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111039395393856) event=Ok(Established { id: PathId(1) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.1:47802, local: Some(10.200.0.1) } conn_id=111039395393856 path_id=1 +2026-10-11T17:23:53.091503Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111039395393856) event=Ok(Established { id: PathId(2) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:53.091494Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=56.308954 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(10.200.0.1:47802)/Active", "Ip(127.0.0.1:47802)/Active"] +2026-10-11T17:23:53.091573Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111039395393856) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:47802, local: Some(127.0.0.1) }) +2026-10-11T17:23:53.091601Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111039395393856) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.2:47802, local: Some(10.200.0.2) } conn_id=111039395393856 path_id=2 +2026-10-11T17:23:53.091639Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111039395393856) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.1:47802, local: Some(10.200.0.1) } conn_id=111039395393856 path_id=1 +2026-10-11T17:23:53.091747Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:53.091917Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111039395393856) event=Ok(Abandoned { id: PathId(1), reason: ApplicationClosed { error_code: 62 } })}: iroh::socket::remote_map::remote_state: event for removed connection +2026-10-11T17:23:53.092003Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(111039395393856) event=Ok(Abandoned { id: PathId(2), reason: ApplicationClosed { error_code: 62 } })}: iroh::socket::remote_map::remote_state: event for removed connection +2026-10-11T17:23:53.296280Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(10.200.0.2:47802)/Active", "Ip(10.200.0.1:47802)/Active", "Ip(127.0.0.1:47802)/Active"] +2026-10-11T17:23:53.296490Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:23:53.296527Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-09/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-09/ready.txt new file mode 100644 index 0000000000..aa416cf4a8 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-09/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=47802 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-09/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-09/server.log new file mode 100644 index 0000000000..4fcea929a1 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-09/server.log @@ -0,0 +1,13 @@ +2026-10-11T17:23:53.007034Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=47802 direct=["10.200.0.1:47802", "10.200.0.2:47802", "127.0.0.1:47802"] +2026-10-11T17:23:53.037990Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:58309) alpns=["n30/allowlist/0"] +2026-10-11T17:23:53.079021Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:53.080742Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(140203771568224) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:47802, 10.200.0.2:47802, 127.0.0.1:47802} +2026-10-11T17:23:53.080943Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(140203771568224) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:53.081304Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:23:53.082144Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:53.082323Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:23:53.082754Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:58309)/Active"] +2026-10-11T17:23:53.083014Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:58309)/Active"] +2026-10-11T17:23:53.087183Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:58309)/Active"] +2026-10-11T17:23:53.089773Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:23:53.090156Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-10/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-10/client.log new file mode 100644 index 0000000000..46571a05e1 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-10/client.log @@ -0,0 +1,24 @@ +2026-10-11T17:23:53.952222Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:42450] +2026-10-11T17:23:53.954422Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:53.954585Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:23:53.954684Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:23:53.954701Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:23:53.954725Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:23:53.956464Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:42450)] +2026-10-11T17:23:53.979127Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(107100612542688) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:35556, 10.200.0.2:35556, 127.0.0.1:35556} +2026-10-11T17:23:53.979868Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=27.515613000000002 remote_info=["Ip(127.0.0.1:42450)/Active"] +2026-10-11T17:23:53.993464Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(107100612542688) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:53.993541Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(107100612542688) evt=Ok(AddressAdded(127.0.0.1:42450)) +2026-10-11T17:23:53.993592Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37071, tv_nsec: 418451711 }, local_candidates: {10.200.0.1:35556, 10.200.0.2:35556, 127.0.0.1:35556}, remote_candidates: {} } local_candidates={10.200.0.1:35556, 10.200.0.2:35556, 127.0.0.1:35556} remote_candidates={10.200.0.1:42450, 10.200.0.2:42450, 127.0.0.1:42450} +2026-10-11T17:23:53.993688Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(107100612542688) evt=Ok(AddressAdded(10.200.0.2:42450)) +2026-10-11T17:23:53.994398Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37071, tv_nsec: 432765606 }, local_candidates: {10.200.0.1:35556, 10.200.0.2:35556, 127.0.0.1:35556}, remote_candidates: {10.200.0.1:42450, 10.200.0.2:42450, 127.0.0.1:42450} } local_candidates={10.200.0.1:35556, 10.200.0.2:35556, 127.0.0.1:35556} remote_candidates={10.200.0.1:42450, 10.200.0.2:42450, 127.0.0.1:42450} +2026-10-11T17:23:53.994466Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999197551s +2026-10-11T17:23:53.994518Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(107100612542688) evt=Ok(AddressAdded(10.200.0.1:42450)) +2026-10-11T17:23:53.996016Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=43.662377 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:23:53.996023Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37071, tv_nsec: 432765606 }, local_candidates: {10.200.0.1:35556, 10.200.0.2:35556, 127.0.0.1:35556}, remote_candidates: {10.200.0.1:42450, 10.200.0.2:42450, 127.0.0.1:42450} } local_candidates={10.200.0.1:35556, 10.200.0.2:35556, 127.0.0.1:35556} remote_candidates={10.200.0.1:42450, 10.200.0.2:42450, 127.0.0.1:42450} +2026-10-11T17:23:53.996104Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.997556894s +2026-10-11T17:23:53.996246Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=43.897192000000004 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:42450)/Active"] +2026-10-11T17:23:53.996307Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:54.198467Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:42450)/Active"] +2026-10-11T17:23:54.198632Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:23:54.198679Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-10/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-10/ready.txt new file mode 100644 index 0000000000..5efa6156a9 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-10/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=42450 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-10/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-10/server.log new file mode 100644 index 0000000000..67db7c0d3c --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-10/server.log @@ -0,0 +1,13 @@ +2026-10-11T17:23:53.929411Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=42450 direct=["10.200.0.1:42450", "10.200.0.2:42450", "127.0.0.1:42450"] +2026-10-11T17:23:53.957367Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:35556) alpns=["n30/allowlist/0"] +2026-10-11T17:23:53.992101Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:53.992822Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(126647110023072) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:42450, 10.200.0.2:42450, 127.0.0.1:42450} +2026-10-11T17:23:53.992952Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(126647110023072) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:53.993266Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:23:53.993651Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:53.993744Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:23:53.993964Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:35556)/Active"] +2026-10-11T17:23:53.994162Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:35556)/Active"] +2026-10-11T17:23:53.994289Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:35556)/Active"] +2026-10-11T17:23:53.995254Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:23:53.995332Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-11/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-11/client.log new file mode 100644 index 0000000000..daed4a2670 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-11/client.log @@ -0,0 +1,24 @@ +2026-10-11T17:23:54.848076Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:53929] +2026-10-11T17:23:54.848612Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:54.848735Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:23:54.848836Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:23:54.848853Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:23:54.848876Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:23:54.850699Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:53929)] +2026-10-11T17:23:54.870813Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(101304899628896) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:35080, 10.200.0.2:35080, 127.0.0.1:35080} +2026-10-11T17:23:54.871438Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=23.250336 remote_info=["Ip(127.0.0.1:53929)/Active"] +2026-10-11T17:23:54.887403Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(101304899628896) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:54.887480Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(101304899628896) evt=Ok(AddressAdded(127.0.0.1:53929)) +2026-10-11T17:23:54.887546Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37072, tv_nsec: 310177442 }, local_candidates: {10.200.0.1:35080, 10.200.0.2:35080, 127.0.0.1:35080}, remote_candidates: {} } local_candidates={10.200.0.1:35080, 10.200.0.2:35080, 127.0.0.1:35080} remote_candidates={10.200.0.1:53929, 10.200.0.2:53929, 127.0.0.1:53929} +2026-10-11T17:23:54.887657Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(101304899628896) evt=Ok(AddressAdded(10.200.0.2:53929)) +2026-10-11T17:23:54.887683Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37072, tv_nsec: 326730265 }, local_candidates: {10.200.0.1:35080, 10.200.0.2:35080, 127.0.0.1:35080}, remote_candidates: {10.200.0.1:53929, 10.200.0.2:53929, 127.0.0.1:53929} } local_candidates={10.200.0.1:35080, 10.200.0.2:35080, 127.0.0.1:35080} remote_candidates={10.200.0.1:53929, 10.200.0.2:53929, 127.0.0.1:53929} +2026-10-11T17:23:54.887707Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999920449s +2026-10-11T17:23:54.887725Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(101304899628896) evt=Ok(AddressAdded(10.200.0.1:53929)) +2026-10-11T17:23:54.887738Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37072, tv_nsec: 326730265 }, local_candidates: {10.200.0.1:35080, 10.200.0.2:35080, 127.0.0.1:35080}, remote_candidates: {10.200.0.1:53929, 10.200.0.2:53929, 127.0.0.1:53929} } local_candidates={10.200.0.1:35080, 10.200.0.2:35080, 127.0.0.1:35080} remote_candidates={10.200.0.1:53929, 10.200.0.2:53929, 127.0.0.1:53929} +2026-10-11T17:23:54.887763Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999860926s +2026-10-11T17:23:54.889462Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=41.272232 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:23:54.889513Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:54.889652Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=41.467952000000004 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:53929)/Active"] +2026-10-11T17:23:55.091065Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:53929)/Active"] +2026-10-11T17:23:55.091498Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:23:55.091556Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-11/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-11/ready.txt new file mode 100644 index 0000000000..64689cc7f0 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-11/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=53929 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-11/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-11/server.log new file mode 100644 index 0000000000..fbf2c79597 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-11/server.log @@ -0,0 +1,13 @@ +2026-10-11T17:23:54.821271Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=53929 direct=["10.200.0.1:53929", "10.200.0.2:53929", "127.0.0.1:53929"] +2026-10-11T17:23:54.851627Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:35080) alpns=["n30/allowlist/0"] +2026-10-11T17:23:54.885310Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:54.885533Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(140281282304944) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:53929, 10.200.0.2:53929, 127.0.0.1:53929} +2026-10-11T17:23:54.885624Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(140281282304944) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:54.886460Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:23:54.886533Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:54.886646Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:23:54.886920Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:35080)/Active"] +2026-10-11T17:23:54.887214Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:35080)/Active"] +2026-10-11T17:23:54.887324Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:35080)/Active"] +2026-10-11T17:23:54.888417Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:54.888546Z INFO harness: closed role="server" event="connection_closed" why=closed diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-12/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-12/client.log new file mode 100644 index 0000000000..d7124482d7 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-12/client.log @@ -0,0 +1,24 @@ +2026-10-11T17:23:55.752192Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:50316] +2026-10-11T17:23:55.752752Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:55.752883Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:23:55.753014Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:23:55.753032Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:23:55.753056Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:23:55.757195Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:50316)] +2026-10-11T17:23:55.778319Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(96163761545408) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:33744, 10.200.0.2:33744, 127.0.0.1:33744} +2026-10-11T17:23:55.783391Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=31.075383000000002 remote_info=["Ip(127.0.0.1:50316)/Active"] +2026-10-11T17:23:55.798024Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(96163761545408) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:55.798132Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(96163761545408) evt=Ok(AddressAdded(127.0.0.1:50316)) +2026-10-11T17:23:55.798213Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37073, tv_nsec: 221139535 }, local_candidates: {10.200.0.1:33744, 10.200.0.2:33744, 127.0.0.1:33744}, remote_candidates: {} } local_candidates={10.200.0.1:33744, 10.200.0.2:33744, 127.0.0.1:33744} remote_candidates={10.200.0.1:50316, 10.200.0.2:50316, 127.0.0.1:50316} +2026-10-11T17:23:55.798354Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(96163761545408) evt=Ok(AddressAdded(10.200.0.2:50316)) +2026-10-11T17:23:55.798396Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37073, tv_nsec: 237411126 }, local_candidates: {10.200.0.1:33744, 10.200.0.2:33744, 127.0.0.1:33744}, remote_candidates: {10.200.0.1:50316, 10.200.0.2:50316, 127.0.0.1:50316} } local_candidates={10.200.0.1:33744, 10.200.0.2:33744, 127.0.0.1:33744} remote_candidates={10.200.0.1:50316, 10.200.0.2:50316, 127.0.0.1:50316} +2026-10-11T17:23:55.798430Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.99987873s +2026-10-11T17:23:55.798461Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(96163761545408) evt=Ok(AddressAdded(10.200.0.1:50316)) +2026-10-11T17:23:55.798485Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37073, tv_nsec: 237411126 }, local_candidates: {10.200.0.1:33744, 10.200.0.2:33744, 127.0.0.1:33744}, remote_candidates: {10.200.0.1:50316, 10.200.0.2:50316, 127.0.0.1:50316} } local_candidates={10.200.0.1:33744, 10.200.0.2:33744, 127.0.0.1:33744} remote_candidates={10.200.0.1:50316, 10.200.0.2:50316, 127.0.0.1:50316} +2026-10-11T17:23:55.798525Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999780735s +2026-10-11T17:23:55.799265Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=46.953749 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:23:55.799318Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:55.799482Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=47.172534 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:50316)/Active"] +2026-10-11T17:23:56.001425Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:50316)/Active"] +2026-10-11T17:23:56.002089Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:23:56.002173Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-12/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-12/ready.txt new file mode 100644 index 0000000000..6701a6ba91 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-12/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=50316 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-12/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-12/server.log new file mode 100644 index 0000000000..4900547bb9 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-12/server.log @@ -0,0 +1,13 @@ +2026-10-11T17:23:55.728216Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=50316 direct=["10.200.0.1:50316", "10.200.0.2:50316", "127.0.0.1:50316"] +2026-10-11T17:23:55.758572Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:33744) alpns=["n30/allowlist/0"] +2026-10-11T17:23:55.795145Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:55.796506Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(135940077076848) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:50316, 10.200.0.2:50316, 127.0.0.1:50316} +2026-10-11T17:23:55.796688Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(135940077076848) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:55.796931Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:23:55.796967Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:55.797047Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:23:55.797249Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:33744)/Active"] +2026-10-11T17:23:55.797609Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:33744)/Active"] +2026-10-11T17:23:55.797762Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:33744)/Active"] +2026-10-11T17:23:55.798479Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:23:55.798617Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-13/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-13/client.log new file mode 100644 index 0000000000..62bd38645e --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-13/client.log @@ -0,0 +1,24 @@ +2026-10-11T17:23:56.656887Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:44315] +2026-10-11T17:23:56.657431Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:56.657551Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:23:56.657659Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:23:56.657676Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:23:56.657700Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:23:56.660675Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:44315)] +2026-10-11T17:23:56.685042Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(103979064139968) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:44357, 10.200.0.2:44357, 127.0.0.1:44357} +2026-10-11T17:23:56.685573Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=28.572072000000002 remote_info=["Ip(127.0.0.1:44315)/Active"] +2026-10-11T17:23:56.700233Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(103979064139968) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:56.700360Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(103979064139968) evt=Ok(AddressAdded(127.0.0.1:44315)) +2026-10-11T17:23:56.700424Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37074, tv_nsec: 124358474 }, local_candidates: {10.200.0.1:44357, 10.200.0.2:44357, 127.0.0.1:44357}, remote_candidates: {} } local_candidates={10.200.0.1:44357, 10.200.0.2:44357, 127.0.0.1:44357} remote_candidates={10.200.0.1:44315, 10.200.0.2:44315, 127.0.0.1:44315} +2026-10-11T17:23:56.700538Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(103979064139968) evt=Ok(AddressAdded(10.200.0.2:44315)) +2026-10-11T17:23:56.700574Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37074, tv_nsec: 139607759 }, local_candidates: {10.200.0.1:44357, 10.200.0.2:44357, 127.0.0.1:44357}, remote_candidates: {10.200.0.1:44315, 10.200.0.2:44315, 127.0.0.1:44315} } local_candidates={10.200.0.1:44357, 10.200.0.2:44357, 127.0.0.1:44357} remote_candidates={10.200.0.1:44315, 10.200.0.2:44315, 127.0.0.1:44315} +2026-10-11T17:23:56.700612Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.99989457s +2026-10-11T17:23:56.700644Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(103979064139968) evt=Ok(AddressAdded(10.200.0.1:44315)) +2026-10-11T17:23:56.700670Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37074, tv_nsec: 139607759 }, local_candidates: {10.200.0.1:44357, 10.200.0.2:44357, 127.0.0.1:44357}, remote_candidates: {10.200.0.1:44315, 10.200.0.2:44315, 127.0.0.1:44315} } local_candidates={10.200.0.1:44357, 10.200.0.2:44357, 127.0.0.1:44357} remote_candidates={10.200.0.1:44315, 10.200.0.2:44315, 127.0.0.1:44315} +2026-10-11T17:23:56.700713Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999789271s +2026-10-11T17:23:56.701778Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=44.774862 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:23:56.701830Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:56.701981Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=44.980642 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:44315)/Active"] +2026-10-11T17:23:56.903924Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:44315)/Active"] +2026-10-11T17:23:56.904131Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:23:56.904180Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-13/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-13/ready.txt new file mode 100644 index 0000000000..3e06009783 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-13/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=44315 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-13/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-13/server.log new file mode 100644 index 0000000000..4c8cc2587f --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-13/server.log @@ -0,0 +1,13 @@ +2026-10-11T17:23:56.636160Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=44315 direct=["10.200.0.1:44315", "10.200.0.2:44315", "127.0.0.1:44315"] +2026-10-11T17:23:56.662103Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:44357) alpns=["n30/allowlist/0"] +2026-10-11T17:23:56.698288Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:56.699522Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(137842479075888) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:44315, 10.200.0.2:44315, 127.0.0.1:44315} +2026-10-11T17:23:56.699660Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(137842479075888) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:56.699972Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:23:56.700018Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:56.700110Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:23:56.700334Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:44357)/Active"] +2026-10-11T17:23:56.700863Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:44357)/Active"] +2026-10-11T17:23:56.701040Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:44357)/Active"] +2026-10-11T17:23:56.701160Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:23:56.701402Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-14/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-14/client.log new file mode 100644 index 0000000000..94f0f9b5a2 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-14/client.log @@ -0,0 +1,24 @@ +2026-10-11T17:23:57.553800Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:56426] +2026-10-11T17:23:57.555232Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:57.555845Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:23:57.556097Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:23:57.556120Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:23:57.556146Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:23:57.557857Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:56426)] +2026-10-11T17:23:57.580931Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(97529726574816) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:40107, 10.200.0.2:40107, 127.0.0.1:40107} +2026-10-11T17:23:57.581598Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=27.660885999999998 remote_info=["Ip(127.0.0.1:56426)/Active"] +2026-10-11T17:23:57.595341Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(97529726574816) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:57.595413Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(97529726574816) evt=Ok(AddressAdded(127.0.0.1:56426)) +2026-10-11T17:23:57.595467Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37075, tv_nsec: 20269895 }, local_candidates: {10.200.0.1:40107, 10.200.0.2:40107, 127.0.0.1:40107}, remote_candidates: {} } local_candidates={10.200.0.1:40107, 10.200.0.2:40107, 127.0.0.1:40107} remote_candidates={10.200.0.1:56426, 10.200.0.2:56426, 127.0.0.1:56426} +2026-10-11T17:23:57.595552Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(97529726574816) evt=Ok(AddressAdded(10.200.0.2:56426)) +2026-10-11T17:23:57.595575Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37075, tv_nsec: 34632861 }, local_candidates: {10.200.0.1:40107, 10.200.0.2:40107, 127.0.0.1:40107}, remote_candidates: {10.200.0.1:56426, 10.200.0.2:56426, 127.0.0.1:56426} } local_candidates={10.200.0.1:40107, 10.200.0.2:40107, 127.0.0.1:40107} remote_candidates={10.200.0.1:56426, 10.200.0.2:56426, 127.0.0.1:56426} +2026-10-11T17:23:57.595599Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999930909s +2026-10-11T17:23:57.595621Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(97529726574816) evt=Ok(AddressAdded(10.200.0.1:56426)) +2026-10-11T17:23:57.595641Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37075, tv_nsec: 34632861 }, local_candidates: {10.200.0.1:40107, 10.200.0.2:40107, 127.0.0.1:40107}, remote_candidates: {10.200.0.1:56426, 10.200.0.2:56426, 127.0.0.1:56426} } local_candidates={10.200.0.1:40107, 10.200.0.2:40107, 127.0.0.1:40107} remote_candidates={10.200.0.1:56426, 10.200.0.2:56426, 127.0.0.1:56426} +2026-10-11T17:23:57.595671Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999856428s +2026-10-11T17:23:57.597448Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=43.509235 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:23:57.597496Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:57.597677Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=43.741926 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:56426)/Active"] +2026-10-11T17:23:57.800474Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:56426)/Active"] +2026-10-11T17:23:57.800915Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:23:57.801002Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-14/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-14/ready.txt new file mode 100644 index 0000000000..7ac7865379 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-14/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=56426 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-14/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-14/server.log new file mode 100644 index 0000000000..715787f095 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-14/server.log @@ -0,0 +1,13 @@ +2026-10-11T17:23:57.532546Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=56426 direct=["10.200.0.1:56426", "10.200.0.2:56426", "127.0.0.1:56426"] +2026-10-11T17:23:57.559753Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:40107) alpns=["n30/allowlist/0"] +2026-10-11T17:23:57.593742Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:57.594088Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(129081953751984) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:56426, 10.200.0.2:56426, 127.0.0.1:56426} +2026-10-11T17:23:57.594210Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(129081953751984) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:57.594426Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:23:57.594628Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:40107)/Active"] +2026-10-11T17:23:57.594995Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:23:57.595740Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:57.595932Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:40107)/Active"] +2026-10-11T17:23:57.596087Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:40107)/Active"] +2026-10-11T17:23:57.596515Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:23:57.596714Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-15/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-15/client.log new file mode 100644 index 0000000000..4fff7a437d --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-15/client.log @@ -0,0 +1,24 @@ +2026-10-11T17:23:58.461772Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:47887] +2026-10-11T17:23:58.462464Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:58.462581Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:23:58.462667Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:23:58.462679Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:23:58.462696Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:23:58.464127Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:47887)] +2026-10-11T17:23:58.484035Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(109424551748448) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:50941, 10.200.0.2:50941, 127.0.0.1:50941} +2026-10-11T17:23:58.484592Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=22.702236 remote_info=["Ip(127.0.0.1:47887)/Active"] +2026-10-11T17:23:58.499613Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(109424551748448) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:58.499691Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(109424551748448) evt=Ok(AddressAdded(127.0.0.1:47887)) +2026-10-11T17:23:58.499754Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37075, tv_nsec: 923384412 }, local_candidates: {10.200.0.1:50941, 10.200.0.2:50941, 127.0.0.1:50941}, remote_candidates: {} } local_candidates={10.200.0.1:50941, 10.200.0.2:50941, 127.0.0.1:50941} remote_candidates={10.200.0.1:47887, 10.200.0.2:47887, 127.0.0.1:47887} +2026-10-11T17:23:58.499860Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(109424551748448) evt=Ok(AddressAdded(10.200.0.2:47887)) +2026-10-11T17:23:58.499903Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37075, tv_nsec: 938931390 }, local_candidates: {10.200.0.1:50941, 10.200.0.2:50941, 127.0.0.1:50941}, remote_candidates: {10.200.0.1:47887, 10.200.0.2:47887, 127.0.0.1:47887} } local_candidates={10.200.0.1:50941, 10.200.0.2:50941, 127.0.0.1:50941} remote_candidates={10.200.0.1:47887, 10.200.0.2:47887, 127.0.0.1:47887} +2026-10-11T17:23:58.499940Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999888779s +2026-10-11T17:23:58.499970Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(109424551748448) evt=Ok(AddressAdded(10.200.0.1:47887)) +2026-10-11T17:23:58.499993Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37075, tv_nsec: 938931390 }, local_candidates: {10.200.0.1:50941, 10.200.0.2:50941, 127.0.0.1:50941}, remote_candidates: {10.200.0.1:47887, 10.200.0.2:47887, 127.0.0.1:47887} } local_candidates={10.200.0.1:50941, 10.200.0.2:50941, 127.0.0.1:50941} remote_candidates={10.200.0.1:47887, 10.200.0.2:47887, 127.0.0.1:47887} +2026-10-11T17:23:58.500029Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999797276s +2026-10-11T17:23:58.500316Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=38.427572 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:23:58.500356Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:58.500450Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=38.562818 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:47887)/Active"] +2026-10-11T17:23:58.703421Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:47887)/Active"] +2026-10-11T17:23:58.703971Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:23:58.704028Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-15/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-15/ready.txt new file mode 100644 index 0000000000..ce147abf25 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-15/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=47887 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-15/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-15/server.log new file mode 100644 index 0000000000..42aa819c38 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-15/server.log @@ -0,0 +1,13 @@ +2026-10-11T17:23:58.440605Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=47887 direct=["10.200.0.1:47887", "10.200.0.2:47887", "127.0.0.1:47887"] +2026-10-11T17:23:58.464908Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:50941) alpns=["n30/allowlist/0"] +2026-10-11T17:23:58.497365Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:58.497794Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(140528175891440) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:47887, 10.200.0.2:47887, 127.0.0.1:47887} +2026-10-11T17:23:58.497935Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(140528175891440) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:58.498200Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:23:58.498999Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:23:58.499050Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:58.499114Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:50941)/Active"] +2026-10-11T17:23:58.499301Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:50941)/Active"] +2026-10-11T17:23:58.499411Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:50941)/Active"] +2026-10-11T17:23:58.499488Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:23:58.499957Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-16/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-16/client.log new file mode 100644 index 0000000000..97dcf457a8 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-16/client.log @@ -0,0 +1,24 @@ +2026-10-11T17:23:59.364801Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:40898] +2026-10-11T17:23:59.365720Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:59.365915Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:23:59.366053Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:23:59.366074Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:23:59.366100Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:23:59.368564Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:40898)] +2026-10-11T17:23:59.391056Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(109198561042624) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:47095, 10.200.0.2:47095, 127.0.0.1:47095} +2026-10-11T17:23:59.391989Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=27.052974 remote_info=["Ip(127.0.0.1:40898)/Active"] +2026-10-11T17:23:59.412616Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(109198561042624) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:59.413048Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(109198561042624) evt=Ok(AddressAdded(127.0.0.1:40898)) +2026-10-11T17:23:59.413155Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37076, tv_nsec: 830404743 }, local_candidates: {10.200.0.1:47095, 10.200.0.2:47095, 127.0.0.1:47095}, remote_candidates: {} } local_candidates={10.200.0.1:47095, 10.200.0.2:47095, 127.0.0.1:47095} remote_candidates={10.200.0.1:40898, 10.200.0.2:40898, 127.0.0.1:40898} +2026-10-11T17:23:59.413314Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(109198561042624) evt=Ok(AddressAdded(10.200.0.2:40898)) +2026-10-11T17:23:59.413365Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37076, tv_nsec: 852362390 }, local_candidates: {10.200.0.1:47095, 10.200.0.2:47095, 127.0.0.1:47095}, remote_candidates: {10.200.0.1:40898, 10.200.0.2:40898, 127.0.0.1:40898} } local_candidates={10.200.0.1:47095, 10.200.0.2:47095, 127.0.0.1:47095} remote_candidates={10.200.0.1:40898, 10.200.0.2:40898, 127.0.0.1:40898} +2026-10-11T17:23:59.413404Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999857931s +2026-10-11T17:23:59.413444Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(109198561042624) evt=Ok(AddressAdded(10.200.0.1:40898)) +2026-10-11T17:23:59.413475Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37076, tv_nsec: 852362390 }, local_candidates: {10.200.0.1:47095, 10.200.0.2:47095, 127.0.0.1:47095}, remote_candidates: {10.200.0.1:40898, 10.200.0.2:40898, 127.0.0.1:40898} } local_candidates={10.200.0.1:47095, 10.200.0.2:47095, 127.0.0.1:47095} remote_candidates={10.200.0.1:40898, 10.200.0.2:40898, 127.0.0.1:40898} +2026-10-11T17:23:59.413522Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999735389s +2026-10-11T17:23:59.415749Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:59.415986Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=51.054791 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:23:59.416673Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=51.738766 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:40898)/Active"] +2026-10-11T17:23:59.619506Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:40898)/Active"] +2026-10-11T17:23:59.619720Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:23:59.619766Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-16/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-16/ready.txt new file mode 100644 index 0000000000..f55f6c6b9d --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-16/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=40898 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-16/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-16/server.log new file mode 100644 index 0000000000..8a0d7fae07 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-16/server.log @@ -0,0 +1,13 @@ +2026-10-11T17:23:59.332228Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=40898 direct=["10.200.0.1:40898", "10.200.0.2:40898", "127.0.0.1:40898"] +2026-10-11T17:23:59.369745Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:47095) alpns=["n30/allowlist/0"] +2026-10-11T17:23:59.409218Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:59.411108Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(133876479433424) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:40898, 10.200.0.2:40898, 127.0.0.1:40898} +2026-10-11T17:23:59.411318Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(133876479433424) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:59.411917Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:23:59.412421Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:59.412551Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:23:59.412788Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:47095)/Active"] +2026-10-11T17:23:59.412994Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:47095)/Active"] +2026-10-11T17:23:59.413166Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:47095)/Active"] +2026-10-11T17:23:59.413266Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:23:59.413368Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-17/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-17/client.log new file mode 100644 index 0000000000..670eb23270 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-17/client.log @@ -0,0 +1,25 @@ +2026-10-11T17:24:00.277840Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:35670] +2026-10-11T17:24:00.278466Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:00.278606Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:24:00.278732Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:24:00.278747Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:24:00.278765Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:24:00.280070Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:35670)] +2026-10-11T17:24:00.301320Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(106867802841280) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:53172, 10.200.0.2:53172, 127.0.0.1:53172} +2026-10-11T17:24:00.302167Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=24.198088 remote_info=["Ip(127.0.0.1:35670)/Active"] +2026-10-11T17:24:00.320653Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106867802841280) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:24:00.320813Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(106867802841280) evt=Ok(AddressAdded(127.0.0.1:35670)) +2026-10-11T17:24:00.321337Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37077, tv_nsec: 740687901 }, local_candidates: {10.200.0.1:53172, 10.200.0.2:53172, 127.0.0.1:53172}, remote_candidates: {} } local_candidates={10.200.0.1:53172, 10.200.0.2:53172, 127.0.0.1:53172} remote_candidates={10.200.0.1:35670, 10.200.0.2:35670, 127.0.0.1:35670} +2026-10-11T17:24:00.321451Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:24:00.321540Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(106867802841280) evt=Ok(AddressAdded(10.200.0.2:35670)) +2026-10-11T17:24:00.321574Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37077, tv_nsec: 740687901 }, local_candidates: {10.200.0.1:53172, 10.200.0.2:53172, 127.0.0.1:53172}, remote_candidates: {} } local_candidates={10.200.0.1:53172, 10.200.0.2:53172, 127.0.0.1:53172} remote_candidates={10.200.0.1:35670, 10.200.0.2:35670, 127.0.0.1:35670} +2026-10-11T17:24:00.321611Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:24:00.321644Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(106867802841280) evt=Ok(AddressAdded(10.200.0.1:35670)) +2026-10-11T17:24:00.321669Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37077, tv_nsec: 740687901 }, local_candidates: {10.200.0.1:53172, 10.200.0.2:53172, 127.0.0.1:53172}, remote_candidates: {} } local_candidates={10.200.0.1:53172, 10.200.0.2:53172, 127.0.0.1:53172} remote_candidates={10.200.0.1:35670, 10.200.0.2:35670, 127.0.0.1:35670} +2026-10-11T17:24:00.321764Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=43.798911000000004 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:24:00.322264Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:24:00.322522Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=44.555845 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:35670)/Active"] +2026-10-11T17:24:00.322545Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:24:00.524627Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:35670)/Active"] +2026-10-11T17:24:00.524840Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:24:00.524885Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-17/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-17/ready.txt new file mode 100644 index 0000000000..52e98d69ce --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-17/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=35670 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-17/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-17/server.log new file mode 100644 index 0000000000..63645bd98c --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-17/server.log @@ -0,0 +1,13 @@ +2026-10-11T17:24:00.252342Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=35670 direct=["10.200.0.1:35670", "10.200.0.2:35670", "127.0.0.1:35670"] +2026-10-11T17:24:00.281014Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:53172) alpns=["n30/allowlist/0"] +2026-10-11T17:24:00.315436Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:00.317983Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(135494608362192) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:35670, 10.200.0.2:35670, 127.0.0.1:35670} +2026-10-11T17:24:00.318159Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(135494608362192) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:24:00.318611Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:24:00.318648Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:24:00.318724Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:24:00.318925Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:53172)/Active"] +2026-10-11T17:24:00.319492Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:53172)/Active"] +2026-10-11T17:24:00.319620Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:53172)/Active"] +2026-10-11T17:24:00.320113Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:24:00.320245Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-18/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-18/client.log new file mode 100644 index 0000000000..3f2abfb3ed --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-18/client.log @@ -0,0 +1,24 @@ +2026-10-11T17:24:01.175943Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:42177] +2026-10-11T17:24:01.176448Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:01.176577Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:24:01.176679Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:24:01.176704Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:24:01.176732Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:24:01.178048Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:42177)] +2026-10-11T17:24:01.196324Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(104732827594944) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:34493, 10.200.0.2:34493, 127.0.0.1:34493} +2026-10-11T17:24:01.196806Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=20.759427 remote_info=["Ip(127.0.0.1:42177)/Active"] +2026-10-11T17:24:01.211577Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(104732827594944) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:24:01.211661Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(104732827594944) evt=Ok(AddressAdded(127.0.0.1:42177)) +2026-10-11T17:24:01.211712Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37078, tv_nsec: 635635088 }, local_candidates: {10.200.0.1:34493, 10.200.0.2:34493, 127.0.0.1:34493}, remote_candidates: {} } local_candidates={10.200.0.1:34493, 10.200.0.2:34493, 127.0.0.1:34493} remote_candidates={10.200.0.1:42177, 10.200.0.2:42177, 127.0.0.1:42177} +2026-10-11T17:24:01.211800Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(104732827594944) evt=Ok(AddressAdded(10.200.0.2:42177)) +2026-10-11T17:24:01.211835Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37078, tv_nsec: 650878610 }, local_candidates: {10.200.0.1:34493, 10.200.0.2:34493, 127.0.0.1:34493}, remote_candidates: {10.200.0.1:42177, 10.200.0.2:42177, 127.0.0.1:42177} } local_candidates={10.200.0.1:34493, 10.200.0.2:34493, 127.0.0.1:34493} remote_candidates={10.200.0.1:42177, 10.200.0.2:42177, 127.0.0.1:42177} +2026-10-11T17:24:01.211862Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999914187s +2026-10-11T17:24:01.211893Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(104732827594944) evt=Ok(AddressAdded(10.200.0.1:42177)) +2026-10-11T17:24:01.211930Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37078, tv_nsec: 650878610 }, local_candidates: {10.200.0.1:34493, 10.200.0.2:34493, 127.0.0.1:34493}, remote_candidates: {10.200.0.1:42177, 10.200.0.2:42177, 127.0.0.1:42177} } local_candidates={10.200.0.1:34493, 10.200.0.2:34493, 127.0.0.1:34493} remote_candidates={10.200.0.1:42177, 10.200.0.2:42177, 127.0.0.1:42177} +2026-10-11T17:24:01.211961Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999811873s +2026-10-11T17:24:01.214805Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:24:01.215002Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=38.955821 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:24:01.215269Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=39.222195 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:42177)/Active"] +2026-10-11T17:24:01.416632Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:42177)/Active"] +2026-10-11T17:24:01.416773Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:24:01.416820Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-18/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-18/ready.txt new file mode 100644 index 0000000000..d075c55760 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-18/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=42177 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-18/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-18/server.log new file mode 100644 index 0000000000..5b9c910492 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-18/server.log @@ -0,0 +1,13 @@ +2026-10-11T17:24:01.151471Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=42177 direct=["10.200.0.1:42177", "10.200.0.2:42177", "127.0.0.1:42177"] +2026-10-11T17:24:01.178920Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:34493) alpns=["n30/allowlist/0"] +2026-10-11T17:24:01.209642Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:01.210801Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(128064449156624) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:42177, 10.200.0.2:42177, 127.0.0.1:42177} +2026-10-11T17:24:01.210977Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(128064449156624) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:24:01.211303Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:24:01.211923Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:24:01.212048Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:24:01.212271Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:34493)/Active"] +2026-10-11T17:24:01.212484Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:34493)/Active"] +2026-10-11T17:24:01.212599Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:34493)/Active"] +2026-10-11T17:24:01.213441Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:24:01.213813Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-19/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-19/client.log new file mode 100644 index 0000000000..4b0291a4c5 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-19/client.log @@ -0,0 +1,24 @@ +2026-10-11T17:24:02.087140Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:55951] +2026-10-11T17:24:02.087817Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:02.087962Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:24:02.089409Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:24:02.089479Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:24:02.089510Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:24:02.089730Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:55951)] +2026-10-11T17:24:02.111093Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(106234282558016) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:59464, 10.200.0.2:59464, 127.0.0.1:59464} +2026-10-11T17:24:02.113823Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=26.551513999999997 remote_info=["Ip(127.0.0.1:55951)/Active"] +2026-10-11T17:24:02.126882Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106234282558016) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:24:02.127008Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(106234282558016) evt=Ok(AddressAdded(127.0.0.1:55951)) +2026-10-11T17:24:02.127093Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37079, tv_nsec: 550455592 }, local_candidates: {10.200.0.1:59464, 10.200.0.2:59464, 127.0.0.1:59464}, remote_candidates: {} } local_candidates={10.200.0.1:59464, 10.200.0.2:59464, 127.0.0.1:59464} remote_candidates={10.200.0.1:55951, 10.200.0.2:55951, 127.0.0.1:55951} +2026-10-11T17:24:02.127223Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(106234282558016) evt=Ok(AddressAdded(10.200.0.2:55951)) +2026-10-11T17:24:02.127982Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37079, tv_nsec: 566286817 }, local_candidates: {10.200.0.1:59464, 10.200.0.2:59464, 127.0.0.1:59464}, remote_candidates: {10.200.0.1:55951, 10.200.0.2:55951, 127.0.0.1:55951} } local_candidates={10.200.0.1:59464, 10.200.0.2:59464, 127.0.0.1:59464} remote_candidates={10.200.0.1:55951, 10.200.0.2:55951, 127.0.0.1:55951} +2026-10-11T17:24:02.128061Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999125294s +2026-10-11T17:24:02.128124Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(106234282558016) evt=Ok(AddressAdded(10.200.0.1:55951)) +2026-10-11T17:24:02.128163Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37079, tv_nsec: 566286817 }, local_candidates: {10.200.0.1:59464, 10.200.0.2:59464, 127.0.0.1:59464}, remote_candidates: {10.200.0.1:55951, 10.200.0.2:55951, 127.0.0.1:55951} } local_candidates={10.200.0.1:59464, 10.200.0.2:59464, 127.0.0.1:59464} remote_candidates={10.200.0.1:55951, 10.200.0.2:55951, 127.0.0.1:55951} +2026-10-11T17:24:02.128210Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.998971883s +2026-10-11T17:24:02.129957Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=42.686064 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:24:02.129986Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:24:02.130943Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=43.677189999999996 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:55951)/Active"] +2026-10-11T17:24:02.332093Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:55951)/Active"] +2026-10-11T17:24:02.332230Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:24:02.332283Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-19/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-19/ready.txt new file mode 100644 index 0000000000..2c712e0923 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-19/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=55951 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-19/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-19/server.log new file mode 100644 index 0000000000..62ca645dda --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-19/server.log @@ -0,0 +1,15 @@ +2026-10-11T17:24:02.054615Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=55951 direct=["10.200.0.1:55951", "10.200.0.2:55951", "127.0.0.1:55951"] +2026-10-11T17:24:02.091004Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:59464) alpns=["n30/allowlist/0"] +2026-10-11T17:24:02.124451Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:02.124616Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:24:02.124632Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:24:02.125423Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(133566369372880) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:55951, 10.200.0.2:55951, 127.0.0.1:55951} +2026-10-11T17:24:02.125547Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(133566369372880) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:24:02.125747Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:24:02.125950Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:59464)/Active"] +2026-10-11T17:24:02.127239Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:24:02.127293Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:24:02.127388Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:59464)/Active"] +2026-10-11T17:24:02.127585Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:59464)/Active"] +2026-10-11T17:24:02.127691Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:24:02.127812Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-20/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-20/client.log new file mode 100644 index 0000000000..0459c9d818 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-20/client.log @@ -0,0 +1,25 @@ +2026-10-11T17:24:02.980833Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:50917] +2026-10-11T17:24:02.981420Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:02.981549Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:24:02.981636Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:24:02.981655Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:24:02.981677Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:24:02.982923Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:50917)] +2026-10-11T17:24:03.002633Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(102987793014976) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:51243, 10.200.0.2:51243, 127.0.0.1:51243} +2026-10-11T17:24:03.003332Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=22.368313 remote_info=["Ip(127.0.0.1:50917)/Active"] +2026-10-11T17:24:03.020833Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(102987793014976) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:24:03.020931Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(102987793014976) evt=Ok(AddressAdded(127.0.0.1:50917)) +2026-10-11T17:24:03.021010Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=40.047738 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:24:03.021026Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37080, tv_nsec: 441983932 }, local_candidates: {10.200.0.1:51243, 10.200.0.2:51243, 127.0.0.1:51243}, remote_candidates: {} } local_candidates={10.200.0.1:51243, 10.200.0.2:51243, 127.0.0.1:51243} remote_candidates={10.200.0.1:50917, 10.200.0.2:50917, 127.0.0.1:50917} +2026-10-11T17:24:03.021082Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:24:03.021174Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(102987793014976) evt=Ok(AddressAdded(10.200.0.2:50917)) +2026-10-11T17:24:03.021181Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=40.220183999999996 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:50917)/Active"] +2026-10-11T17:24:03.021208Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37080, tv_nsec: 441983932 }, local_candidates: {10.200.0.1:51243, 10.200.0.2:51243, 127.0.0.1:51243}, remote_candidates: {} } local_candidates={10.200.0.1:51243, 10.200.0.2:51243, 127.0.0.1:51243} remote_candidates={10.200.0.1:50917, 10.200.0.2:50917, 127.0.0.1:50917} +2026-10-11T17:24:03.021246Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:24:03.021308Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(102987793014976) evt=Ok(AddressAdded(10.200.0.1:50917)) +2026-10-11T17:24:03.021348Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37080, tv_nsec: 441983932 }, local_candidates: {10.200.0.1:51243, 10.200.0.2:51243, 127.0.0.1:51243}, remote_candidates: {} } local_candidates={10.200.0.1:51243, 10.200.0.2:51243, 127.0.0.1:51243} remote_candidates={10.200.0.1:50917, 10.200.0.2:50917, 127.0.0.1:50917} +2026-10-11T17:24:03.021395Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:24:03.021486Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:24:03.222628Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:50917)/Active"] +2026-10-11T17:24:03.222762Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:24:03.222802Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-20/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-20/ready.txt new file mode 100644 index 0000000000..a764df7b05 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-20/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=50917 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-20/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-20/server.log new file mode 100644 index 0000000000..9ea856d0b1 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-20/server.log @@ -0,0 +1,13 @@ +2026-10-11T17:24:02.955079Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=50917 direct=["10.200.0.1:50917", "10.200.0.2:50917", "127.0.0.1:50917"] +2026-10-11T17:24:02.983749Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:51243) alpns=["n30/allowlist/0"] +2026-10-11T17:24:03.017883Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:03.018156Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(128397309121456) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:50917, 10.200.0.2:50917, 127.0.0.1:50917} +2026-10-11T17:24:03.018251Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(128397309121456) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:24:03.018434Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:24:03.018574Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:51243)/Active"] +2026-10-11T17:24:03.020089Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:24:03.020164Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:24:03.020329Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:51243)/Active"] +2026-10-11T17:24:03.020434Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:51243)/Active"] +2026-10-11T17:24:03.020511Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:24:03.020691Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-21/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-21/client.log new file mode 100644 index 0000000000..a7e839f6c4 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-21/client.log @@ -0,0 +1,25 @@ +2026-10-11T17:24:03.931111Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:55966] +2026-10-11T17:24:03.931759Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:03.931893Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:24:03.932029Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:24:03.932051Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:24:03.932079Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:24:03.937757Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:55966)] +2026-10-11T17:24:03.980738Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(101441216553184) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:53320, 10.200.0.2:53320, 127.0.0.1:53320} +2026-10-11T17:24:03.981652Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=50.401972 remote_info=["Ip(127.0.0.1:55966)/Active"] +2026-10-11T17:24:04.016193Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(101441216553184) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:24:04.016386Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(101441216553184) evt=Ok(AddressAdded(127.0.0.1:55966)) +2026-10-11T17:24:04.016498Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37081, tv_nsec: 420106788 }, local_candidates: {10.200.0.1:53320, 10.200.0.2:53320, 127.0.0.1:53320}, remote_candidates: {} } local_candidates={10.200.0.1:53320, 10.200.0.2:53320, 127.0.0.1:53320} remote_candidates={10.200.0.1:55966, 10.200.0.2:55966, 127.0.0.1:55966} +2026-10-11T17:24:04.016574Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:24:04.016659Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(101441216553184) evt=Ok(AddressAdded(10.200.0.2:55966)) +2026-10-11T17:24:04.016703Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37081, tv_nsec: 420106788 }, local_candidates: {10.200.0.1:53320, 10.200.0.2:53320, 127.0.0.1:53320}, remote_candidates: {} } local_candidates={10.200.0.1:53320, 10.200.0.2:53320, 127.0.0.1:53320} remote_candidates={10.200.0.1:55966, 10.200.0.2:55966, 127.0.0.1:55966} +2026-10-11T17:24:04.016747Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:24:04.016796Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(101441216553184) evt=Ok(AddressAdded(10.200.0.1:55966)) +2026-10-11T17:24:04.016824Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37081, tv_nsec: 420106788 }, local_candidates: {10.200.0.1:53320, 10.200.0.2:53320, 127.0.0.1:53320}, remote_candidates: {} } local_candidates={10.200.0.1:53320, 10.200.0.2:53320, 127.0.0.1:53320} remote_candidates={10.200.0.1:55966, 10.200.0.2:55966, 127.0.0.1:55966} +2026-10-11T17:24:04.016871Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:24:04.016994Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:24:04.017370Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=86.122716 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:24:04.017724Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=86.477198 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:55966)/Active"] +2026-10-11T17:24:04.219329Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:55966)/Active"] +2026-10-11T17:24:04.222990Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:24:04.223139Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-21/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-21/ready.txt new file mode 100644 index 0000000000..c0bff80331 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-21/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=55966 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-21/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-21/server.log new file mode 100644 index 0000000000..a72b9a4506 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-21/server.log @@ -0,0 +1,13 @@ +2026-10-11T17:24:03.856155Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=55966 direct=["10.200.0.1:55966", "10.200.0.2:55966", "127.0.0.1:55966"] +2026-10-11T17:24:03.939018Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:53320) alpns=["n30/allowlist/0"] +2026-10-11T17:24:04.009131Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:04.010938Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(132819581934416) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:55966, 10.200.0.2:55966, 127.0.0.1:55966} +2026-10-11T17:24:04.011155Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(132819581934416) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:24:04.011474Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:24:04.011517Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:24:04.011619Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:24:04.011907Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:53320)/Active"] +2026-10-11T17:24:04.012635Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:53320)/Active"] +2026-10-11T17:24:04.012803Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:53320)/Active"] +2026-10-11T17:24:04.012932Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:24:04.013084Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-22/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-22/client.log new file mode 100644 index 0000000000..fb4bd0cf76 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-22/client.log @@ -0,0 +1,24 @@ +2026-10-11T17:24:04.910777Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:48348] +2026-10-11T17:24:04.911705Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:04.911849Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:24:04.913275Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:24:04.913347Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:24:04.913382Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:24:04.915839Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:48348)] +2026-10-11T17:24:04.943960Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(94802729713600) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:48382, 10.200.0.2:48382, 127.0.0.1:48382} +2026-10-11T17:24:04.945230Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=34.285626 remote_info=["Ip(127.0.0.1:48348)/Active"] +2026-10-11T17:24:04.963655Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94802729713600) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:24:04.963779Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(94802729713600) evt=Ok(AddressAdded(127.0.0.1:48348)) +2026-10-11T17:24:04.963868Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37082, tv_nsec: 383278713 }, local_candidates: {10.200.0.1:48382, 10.200.0.2:48382, 127.0.0.1:48382}, remote_candidates: {} } local_candidates={10.200.0.1:48382, 10.200.0.2:48382, 127.0.0.1:48382} remote_candidates={10.200.0.1:48348, 10.200.0.2:48348, 127.0.0.1:48348} +2026-10-11T17:24:04.964045Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(94802729713600) evt=Ok(AddressAdded(10.200.0.2:48348)) +2026-10-11T17:24:04.964109Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37082, tv_nsec: 403087859 }, local_candidates: {10.200.0.1:48382, 10.200.0.2:48382, 127.0.0.1:48382}, remote_candidates: {10.200.0.1:48348, 10.200.0.2:48348, 127.0.0.1:48348} } local_candidates={10.200.0.1:48382, 10.200.0.2:48382, 127.0.0.1:48382} remote_candidates={10.200.0.1:48348, 10.200.0.2:48348, 127.0.0.1:48348} +2026-10-11T17:24:04.964157Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999832442s +2026-10-11T17:24:04.964213Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(94802729713600) evt=Ok(AddressAdded(10.200.0.1:48348)) +2026-10-11T17:24:04.964257Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37082, tv_nsec: 403087859 }, local_candidates: {10.200.0.1:48382, 10.200.0.2:48382, 127.0.0.1:48382}, remote_candidates: {10.200.0.1:48348, 10.200.0.2:48348, 127.0.0.1:48348} } local_candidates={10.200.0.1:48382, 10.200.0.2:48382, 127.0.0.1:48382} remote_candidates={10.200.0.1:48348, 10.200.0.2:48348, 127.0.0.1:48348} +2026-10-11T17:24:04.964307Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999676146s +2026-10-11T17:24:04.965214Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=54.269534 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:24:04.965286Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:24:04.965497Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=54.557178 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:48348)/Active"] +2026-10-11T17:24:05.167486Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:48348)/Active"] +2026-10-11T17:24:05.170179Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:24:05.170302Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-22/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-22/ready.txt new file mode 100644 index 0000000000..f0de14ba53 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-22/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=48348 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-22/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-22/server.log new file mode 100644 index 0000000000..40f09eb6ac --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-22/server.log @@ -0,0 +1,15 @@ +2026-10-11T17:24:04.861793Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=48348 direct=["10.200.0.1:48348", "10.200.0.2:48348", "127.0.0.1:48348"] +2026-10-11T17:24:04.920248Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:48382) alpns=["n30/allowlist/0"] +2026-10-11T17:24:04.960032Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:04.960201Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:24:04.960228Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:24:04.961416Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(136675120387600) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:48348, 10.200.0.2:48348, 127.0.0.1:48348} +2026-10-11T17:24:04.961585Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(136675120387600) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:24:04.961776Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:24:04.961799Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:24:04.961861Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:24:04.962047Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:48382)/Active"] +2026-10-11T17:24:04.962986Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:48382)/Active"] +2026-10-11T17:24:04.963206Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:48382)/Active"] +2026-10-11T17:24:04.963318Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:24:04.964220Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-23/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-23/client.log new file mode 100644 index 0000000000..f75f7cee01 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-23/client.log @@ -0,0 +1,24 @@ +2026-10-11T17:24:05.828002Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:52814] +2026-10-11T17:24:05.828532Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:05.828650Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:24:05.828764Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:24:05.828780Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:24:05.828802Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:24:05.830280Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:52814)] +2026-10-11T17:24:05.848707Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(99057421906912) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:42325, 10.200.0.2:42325, 127.0.0.1:42325} +2026-10-11T17:24:05.849206Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=21.087487 remote_info=["Ip(127.0.0.1:52814)/Active"] +2026-10-11T17:24:05.869700Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(99057421906912) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:24:05.869847Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(99057421906912) evt=Ok(AddressAdded(127.0.0.1:52814)) +2026-10-11T17:24:05.869963Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37083, tv_nsec: 288034859 }, local_candidates: {10.200.0.1:42325, 10.200.0.2:42325, 127.0.0.1:42325}, remote_candidates: {} } local_candidates={10.200.0.1:42325, 10.200.0.2:42325, 127.0.0.1:42325} remote_candidates={10.200.0.1:52814, 10.200.0.2:52814, 127.0.0.1:52814} +2026-10-11T17:24:05.870164Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(99057421906912) evt=Ok(AddressAdded(10.200.0.2:52814)) +2026-10-11T17:24:05.870223Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37083, tv_nsec: 309201867 }, local_candidates: {10.200.0.1:42325, 10.200.0.2:42325, 127.0.0.1:42325}, remote_candidates: {10.200.0.1:52814, 10.200.0.2:52814, 127.0.0.1:52814} } local_candidates={10.200.0.1:42325, 10.200.0.2:42325, 127.0.0.1:42325} remote_candidates={10.200.0.1:52814, 10.200.0.2:52814, 127.0.0.1:52814} +2026-10-11T17:24:05.870263Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999838034s +2026-10-11T17:24:05.870305Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(99057421906912) evt=Ok(AddressAdded(10.200.0.1:52814)) +2026-10-11T17:24:05.870339Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37083, tv_nsec: 309201867 }, local_candidates: {10.200.0.1:42325, 10.200.0.2:42325, 127.0.0.1:42325}, remote_candidates: {10.200.0.1:52814, 10.200.0.2:52814, 127.0.0.1:52814} } local_candidates={10.200.0.1:42325, 10.200.0.2:42325, 127.0.0.1:42325} remote_candidates={10.200.0.1:52814, 10.200.0.2:52814, 127.0.0.1:52814} +2026-10-11T17:24:05.870384Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999712336s +2026-10-11T17:24:05.873543Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:24:05.873735Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=45.617722 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:24:05.873986Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=45.868257 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:52814)/Active"] +2026-10-11T17:24:06.075979Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:52814)/Active"] +2026-10-11T17:24:06.076508Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:24:06.076613Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-23/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-23/ready.txt new file mode 100644 index 0000000000..300eb13920 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-23/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=52814 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-23/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-23/server.log new file mode 100644 index 0000000000..8a82eecea5 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-23/server.log @@ -0,0 +1,13 @@ +2026-10-11T17:24:05.806086Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=52814 direct=["10.200.0.1:52814", "10.200.0.2:52814", "127.0.0.1:52814"] +2026-10-11T17:24:05.831159Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:42325) alpns=["n30/allowlist/0"] +2026-10-11T17:24:05.863504Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:05.867266Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(136519562040800) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:52814, 10.200.0.2:52814, 127.0.0.1:52814} +2026-10-11T17:24:05.867518Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(136519562040800) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:24:05.868352Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:24:05.868427Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:24:05.868537Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:24:05.868844Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:42325)/Active"] +2026-10-11T17:24:05.871504Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:42325)/Active"] +2026-10-11T17:24:05.871742Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:42325)/Active"] +2026-10-11T17:24:05.871857Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:24:05.872010Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-24/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-24/client.log new file mode 100644 index 0000000000..595f290c05 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-24/client.log @@ -0,0 +1,24 @@ +2026-10-11T17:24:06.778039Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:49150] +2026-10-11T17:24:06.778530Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:06.778677Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:24:06.778768Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:24:06.778785Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:24:06.778807Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:24:06.780468Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:49150)] +2026-10-11T17:24:06.799847Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(101662586290336) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:45081, 10.200.0.2:45081, 127.0.0.1:45081} +2026-10-11T17:24:06.800368Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=22.210773 remote_info=["Ip(127.0.0.1:49150)/Active"] +2026-10-11T17:24:06.816283Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(101662586290336) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:24:06.816372Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(101662586290336) evt=Ok(AddressAdded(127.0.0.1:49150)) +2026-10-11T17:24:06.816437Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37084, tv_nsec: 239143196 }, local_candidates: {10.200.0.1:45081, 10.200.0.2:45081, 127.0.0.1:45081}, remote_candidates: {} } local_candidates={10.200.0.1:45081, 10.200.0.2:45081, 127.0.0.1:45081} remote_candidates={10.200.0.1:49150, 10.200.0.2:49150, 127.0.0.1:49150} +2026-10-11T17:24:06.816541Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(101662586290336) evt=Ok(AddressAdded(10.200.0.2:49150)) +2026-10-11T17:24:06.816573Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37084, tv_nsec: 255615074 }, local_candidates: {10.200.0.1:45081, 10.200.0.2:45081, 127.0.0.1:45081}, remote_candidates: {10.200.0.1:49150, 10.200.0.2:49150, 127.0.0.1:49150} } local_candidates={10.200.0.1:45081, 10.200.0.2:45081, 127.0.0.1:45081} remote_candidates={10.200.0.1:49150, 10.200.0.2:49150, 127.0.0.1:49150} +2026-10-11T17:24:06.816605Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999906864s +2026-10-11T17:24:06.816634Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(101662586290336) evt=Ok(AddressAdded(10.200.0.1:49150)) +2026-10-11T17:24:06.816657Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37084, tv_nsec: 255615074 }, local_candidates: {10.200.0.1:45081, 10.200.0.2:45081, 127.0.0.1:45081}, remote_candidates: {10.200.0.1:49150, 10.200.0.2:49150, 127.0.0.1:49150} } local_candidates={10.200.0.1:45081, 10.200.0.2:45081, 127.0.0.1:45081} remote_candidates={10.200.0.1:49150, 10.200.0.2:49150, 127.0.0.1:49150} +2026-10-11T17:24:06.816698Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999811583s +2026-10-11T17:24:06.817302Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=39.145156 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:24:06.817327Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:24:06.817454Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=39.298978 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:49150)/Active"] +2026-10-11T17:24:07.022018Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:49150)/Active"] +2026-10-11T17:24:07.022426Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:24:07.022509Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-24/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-24/ready.txt new file mode 100644 index 0000000000..022c70df20 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-24/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=49150 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-24/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-24/server.log new file mode 100644 index 0000000000..ce0cb5e375 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-24/server.log @@ -0,0 +1,13 @@ +2026-10-11T17:24:06.757003Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=49150 direct=["10.200.0.1:49150", "10.200.0.2:49150", "127.0.0.1:49150"] +2026-10-11T17:24:06.781372Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:45081) alpns=["n30/allowlist/0"] +2026-10-11T17:24:06.813937Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:06.814904Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(125311308085024) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:49150, 10.200.0.2:49150, 127.0.0.1:49150} +2026-10-11T17:24:06.815037Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(125311308085024) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:24:06.815655Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:24:06.815688Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:24:06.815756Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:24:06.815923Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:45081)/Active"] +2026-10-11T17:24:06.816089Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:45081)/Active"] +2026-10-11T17:24:06.816170Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:45081)/Active"] +2026-10-11T17:24:06.816719Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:24:06.816798Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-25/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-25/client.log new file mode 100644 index 0000000000..deac487b9a --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-25/client.log @@ -0,0 +1,25 @@ +2026-10-11T17:24:07.768585Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:37974] +2026-10-11T17:24:07.769736Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:07.769913Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:24:07.770040Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:24:07.770063Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:24:07.770092Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:24:07.772386Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:37974)] +2026-10-11T17:24:07.809230Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(99556251672544) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:49440, 10.200.0.2:49440, 127.0.0.1:49440} +2026-10-11T17:24:07.811996Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=43.271068 remote_info=["Ip(127.0.0.1:37974)/Active"] +2026-10-11T17:24:07.837912Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=69.176917 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:24:07.838447Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=69.726998 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:37974)/Active"] +2026-10-11T17:24:07.838629Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(99556251672544) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:24:07.838710Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(99556251672544) evt=Ok(AddressAdded(127.0.0.1:37974)) +2026-10-11T17:24:07.838795Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37085, tv_nsec: 248589865 }, local_candidates: {10.200.0.1:49440, 10.200.0.2:49440, 127.0.0.1:49440}, remote_candidates: {} } local_candidates={10.200.0.1:49440, 10.200.0.2:49440, 127.0.0.1:49440} remote_candidates={10.200.0.1:37974, 10.200.0.2:37974, 127.0.0.1:37974} +2026-10-11T17:24:07.838861Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:24:07.838937Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(99556251672544) evt=Ok(AddressAdded(10.200.0.2:37974)) +2026-10-11T17:24:07.838982Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37085, tv_nsec: 248589865 }, local_candidates: {10.200.0.1:49440, 10.200.0.2:49440, 127.0.0.1:49440}, remote_candidates: {} } local_candidates={10.200.0.1:49440, 10.200.0.2:49440, 127.0.0.1:49440} remote_candidates={10.200.0.1:37974, 10.200.0.2:37974, 127.0.0.1:37974} +2026-10-11T17:24:07.839022Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:24:07.839086Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(99556251672544) evt=Ok(AddressAdded(10.200.0.1:37974)) +2026-10-11T17:24:07.839117Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37085, tv_nsec: 248589865 }, local_candidates: {10.200.0.1:49440, 10.200.0.2:49440, 127.0.0.1:49440}, remote_candidates: {} } local_candidates={10.200.0.1:49440, 10.200.0.2:49440, 127.0.0.1:49440} remote_candidates={10.200.0.1:37974, 10.200.0.2:37974, 127.0.0.1:37974} +2026-10-11T17:24:07.839153Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:24:07.839256Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:24:08.040598Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:37974)/Active"] +2026-10-11T17:24:08.040810Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:24:08.040867Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-25/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-25/ready.txt new file mode 100644 index 0000000000..7f44f43472 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-25/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=37974 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-25/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-25/server.log new file mode 100644 index 0000000000..3ccce39ccd --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-25/server.log @@ -0,0 +1,13 @@ +2026-10-11T17:24:07.711258Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=37974 direct=["10.200.0.1:37974", "10.200.0.2:37974", "127.0.0.1:37974"] +2026-10-11T17:24:07.775440Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:49440) alpns=["n30/allowlist/0"] +2026-10-11T17:24:07.827181Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:07.833025Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(138209094878400) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:37974, 10.200.0.2:37974, 127.0.0.1:37974} +2026-10-11T17:24:07.833249Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(138209094878400) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:24:07.833543Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:24:07.833575Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:24:07.833649Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:24:07.833873Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:49440)/Active"] +2026-10-11T17:24:07.834499Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:49440)/Active"] +2026-10-11T17:24:07.834610Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:49440)/Active"] +2026-10-11T17:24:07.834702Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:24:07.834808Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-26/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-26/client.log new file mode 100644 index 0000000000..b68d082bea --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-26/client.log @@ -0,0 +1,25 @@ +2026-10-11T17:24:08.701386Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:36494] +2026-10-11T17:24:08.702001Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:08.702141Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:24:08.702244Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:24:08.702262Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:24:08.702285Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:24:08.703765Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:36494)] +2026-10-11T17:24:08.724044Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(106884249232960) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:34560, 10.200.0.2:34560, 127.0.0.1:34560} +2026-10-11T17:24:08.725048Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=23.533687 remote_info=["Ip(127.0.0.1:36494)/Active"] +2026-10-11T17:24:08.742074Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106884249232960) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:24:08.742208Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(106884249232960) evt=Ok(AddressAdded(127.0.0.1:36494)) +2026-10-11T17:24:08.742246Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=40.734975 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:24:08.742332Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37086, tv_nsec: 163367669 }, local_candidates: {10.200.0.1:34560, 10.200.0.2:34560, 127.0.0.1:34560}, remote_candidates: {} } local_candidates={10.200.0.1:34560, 10.200.0.2:34560, 127.0.0.1:34560} remote_candidates={10.200.0.1:36494, 10.200.0.2:36494, 127.0.0.1:36494} +2026-10-11T17:24:08.742398Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:24:08.742505Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(106884249232960) evt=Ok(AddressAdded(10.200.0.2:36494)) +2026-10-11T17:24:08.742511Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=41.001580000000004 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:36494)/Active"] +2026-10-11T17:24:08.742547Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37086, tv_nsec: 163367669 }, local_candidates: {10.200.0.1:34560, 10.200.0.2:34560, 127.0.0.1:34560}, remote_candidates: {} } local_candidates={10.200.0.1:34560, 10.200.0.2:34560, 127.0.0.1:34560} remote_candidates={10.200.0.1:36494, 10.200.0.2:36494, 127.0.0.1:36494} +2026-10-11T17:24:08.742585Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:24:08.742657Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(106884249232960) evt=Ok(AddressAdded(10.200.0.1:36494)) +2026-10-11T17:24:08.742679Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37086, tv_nsec: 163367669 }, local_candidates: {10.200.0.1:34560, 10.200.0.2:34560, 127.0.0.1:34560}, remote_candidates: {} } local_candidates={10.200.0.1:34560, 10.200.0.2:34560, 127.0.0.1:34560} remote_candidates={10.200.0.1:36494, 10.200.0.2:36494, 127.0.0.1:36494} +2026-10-11T17:24:08.742705Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:24:08.742783Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:24:08.944669Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:36494)/Active"] +2026-10-11T17:24:08.944821Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:24:08.944874Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-26/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-26/ready.txt new file mode 100644 index 0000000000..629d19e5a9 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-26/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=36494 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-26/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-26/server.log new file mode 100644 index 0000000000..ea94afcadf --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-26/server.log @@ -0,0 +1,13 @@ +2026-10-11T17:24:08.676232Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=36494 direct=["10.200.0.1:36494", "10.200.0.2:36494", "127.0.0.1:36494"] +2026-10-11T17:24:08.704814Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:34560) alpns=["n30/allowlist/0"] +2026-10-11T17:24:08.737847Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:08.738177Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(134346778428944) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:36494, 10.200.0.2:36494, 127.0.0.1:36494} +2026-10-11T17:24:08.738291Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(134346778428944) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:24:08.738482Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:24:08.738660Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:34560)/Active"] +2026-10-11T17:24:08.739691Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:24:08.739767Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:24:08.739970Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:34560)/Active"] +2026-10-11T17:24:08.740205Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:34560)/Active"] +2026-10-11T17:24:08.740354Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:24:08.740422Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-27/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-27/client.log new file mode 100644 index 0000000000..eb83b542e2 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-27/client.log @@ -0,0 +1,24 @@ +2026-10-11T17:24:09.596348Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:49807] +2026-10-11T17:24:09.596891Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:09.597036Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:24:09.597120Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:24:09.597136Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:24:09.597158Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:24:09.598696Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:49807)] +2026-10-11T17:24:09.618882Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(106804615366624) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:43354, 10.200.0.2:43354, 127.0.0.1:43354} +2026-10-11T17:24:09.619422Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=22.968145999999997 remote_info=["Ip(127.0.0.1:49807)/Active"] +2026-10-11T17:24:09.640715Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106804615366624) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:24:09.640867Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(106804615366624) evt=Ok(AddressAdded(127.0.0.1:49807)) +2026-10-11T17:24:09.640977Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37087, tv_nsec: 58206359 }, local_candidates: {10.200.0.1:43354, 10.200.0.2:43354, 127.0.0.1:43354}, remote_candidates: {} } local_candidates={10.200.0.1:43354, 10.200.0.2:43354, 127.0.0.1:43354} remote_candidates={10.200.0.1:49807, 10.200.0.2:49807, 127.0.0.1:49807} +2026-10-11T17:24:09.641125Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(106804615366624) evt=Ok(AddressAdded(10.200.0.2:49807)) +2026-10-11T17:24:09.641157Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37087, tv_nsec: 80191614 }, local_candidates: {10.200.0.1:43354, 10.200.0.2:43354, 127.0.0.1:43354}, remote_candidates: {10.200.0.1:49807, 10.200.0.2:49807, 127.0.0.1:49807} } local_candidates={10.200.0.1:43354, 10.200.0.2:43354, 127.0.0.1:43354} remote_candidates={10.200.0.1:49807, 10.200.0.2:49807, 127.0.0.1:49807} +2026-10-11T17:24:09.641191Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999898588s +2026-10-11T17:24:09.641223Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(106804615366624) evt=Ok(AddressAdded(10.200.0.1:49807)) +2026-10-11T17:24:09.641251Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37087, tv_nsec: 80191614 }, local_candidates: {10.200.0.1:43354, 10.200.0.2:43354, 127.0.0.1:43354}, remote_candidates: {10.200.0.1:49807, 10.200.0.2:49807, 127.0.0.1:49807} } local_candidates={10.200.0.1:43354, 10.200.0.2:43354, 127.0.0.1:43354} remote_candidates={10.200.0.1:49807, 10.200.0.2:49807, 127.0.0.1:49807} +2026-10-11T17:24:09.641292Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999793679s +2026-10-11T17:24:09.649502Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=53.042166 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:24:09.649571Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:24:09.649831Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=53.379064 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:49807)/Active"] +2026-10-11T17:24:09.851381Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:49807)/Active"] +2026-10-11T17:24:09.851626Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:24:09.851676Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-27/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-27/ready.txt new file mode 100644 index 0000000000..c867622928 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-27/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=49807 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-27/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-27/server.log new file mode 100644 index 0000000000..e6f3d6b775 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-27/server.log @@ -0,0 +1,13 @@ +2026-10-11T17:24:09.570849Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=49807 direct=["10.200.0.1:49807", "10.200.0.2:49807", "127.0.0.1:49807"] +2026-10-11T17:24:09.599871Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:43354) alpns=["n30/allowlist/0"] +2026-10-11T17:24:09.633862Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:09.634150Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(131064886546544) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:49807, 10.200.0.2:49807, 127.0.0.1:49807} +2026-10-11T17:24:09.634258Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(131064886546544) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:24:09.634454Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:24:09.634626Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:43354)/Active"] +2026-10-11T17:24:09.643278Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:24:09.643392Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:24:09.643535Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:43354)/Active"] +2026-10-11T17:24:09.643773Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:43354)/Active"] +2026-10-11T17:24:09.643873Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:24:09.644019Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-28/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-28/client.log new file mode 100644 index 0000000000..1fb5fe80ed --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-28/client.log @@ -0,0 +1,15 @@ +2026-10-11T17:24:10.570804Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:33428] +2026-10-11T17:24:10.571636Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:10.571781Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:24:10.571924Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:24:10.571959Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:24:10.571993Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:24:10.574798Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:33428)] +2026-10-11T17:24:10.619616Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(108874135253824) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:58306, 10.200.0.2:58306, 127.0.0.1:58306} +2026-10-11T17:24:10.620374Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=49.424346 remote_info=["Ip(127.0.0.1:33428)/Active"] +2026-10-11T17:24:10.642019Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:24:10.642634Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=71.680614 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:24:10.643168Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=72.218673 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:33428)/Active"] +2026-10-11T17:24:10.844168Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:33428)/Active"] +2026-10-11T17:24:10.844332Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:24:10.844380Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-28/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-28/ready.txt new file mode 100644 index 0000000000..1b26a32095 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-28/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=33428 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-28/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-28/server.log new file mode 100644 index 0000000000..9b1bb094b7 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-28/server.log @@ -0,0 +1,13 @@ +2026-10-11T17:24:10.495727Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=33428 direct=["10.200.0.1:33428", "10.200.0.2:33428", "127.0.0.1:33428"] +2026-10-11T17:24:10.575841Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:58306) alpns=["n30/allowlist/0"] +2026-10-11T17:24:10.638625Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:10.638989Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(129570036596496) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:33428, 10.200.0.2:33428, 127.0.0.1:33428} +2026-10-11T17:24:10.639123Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(129570036596496) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:24:10.639406Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:24:10.639616Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:58306)/Active"] +2026-10-11T17:24:10.639794Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:24:10.639831Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:24:10.639987Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:58306)/Active"] +2026-10-11T17:24:10.640113Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:58306)/Active"] +2026-10-11T17:24:10.640210Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:24:10.640316Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-29/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-29/client.log new file mode 100644 index 0000000000..84d73e9e4a --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-29/client.log @@ -0,0 +1,24 @@ +2026-10-11T17:24:11.494109Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:51497] +2026-10-11T17:24:11.494654Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:11.494781Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:24:11.494871Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:24:11.494888Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:24:11.494926Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:24:11.496106Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:51497)] +2026-10-11T17:24:11.512971Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(102866822422720) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:54633, 10.200.0.2:54633, 127.0.0.1:54633} +2026-10-11T17:24:11.513422Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=19.214198 remote_info=["Ip(127.0.0.1:51497)/Active"] +2026-10-11T17:24:11.527109Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(102866822422720) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:24:11.527198Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(102866822422720) evt=Ok(AddressAdded(127.0.0.1:51497)) +2026-10-11T17:24:11.527268Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37088, tv_nsec: 952277984 }, local_candidates: {10.200.0.1:54633, 10.200.0.2:54633, 127.0.0.1:54633}, remote_candidates: {} } local_candidates={10.200.0.1:54633, 10.200.0.2:54633, 127.0.0.1:54633} remote_candidates={10.200.0.1:51497, 10.200.0.2:51497, 127.0.0.1:51497} +2026-10-11T17:24:11.527382Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(102866822422720) evt=Ok(AddressAdded(10.200.0.2:51497)) +2026-10-11T17:24:11.527417Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37088, tv_nsec: 966451539 }, local_candidates: {10.200.0.1:54633, 10.200.0.2:54633, 127.0.0.1:54633}, remote_candidates: {10.200.0.1:51497, 10.200.0.2:51497, 127.0.0.1:51497} } local_candidates={10.200.0.1:54633, 10.200.0.2:54633, 127.0.0.1:54633} remote_candidates={10.200.0.1:51497, 10.200.0.2:51497, 127.0.0.1:51497} +2026-10-11T17:24:11.527450Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.99989971s +2026-10-11T17:24:11.527478Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(102866822422720) evt=Ok(AddressAdded(10.200.0.1:51497)) +2026-10-11T17:24:11.527500Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37088, tv_nsec: 966451539 }, local_candidates: {10.200.0.1:54633, 10.200.0.2:54633, 127.0.0.1:54633}, remote_candidates: {10.200.0.1:51497, 10.200.0.2:51497, 127.0.0.1:51497} } local_candidates={10.200.0.1:54633, 10.200.0.2:54633, 127.0.0.1:54633} remote_candidates={10.200.0.1:51497, 10.200.0.2:51497, 127.0.0.1:51497} +2026-10-11T17:24:11.527535Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999810531s +2026-10-11T17:24:11.528171Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:24:11.528971Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=34.761935 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:24:11.529305Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=35.098162 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:51497)/Active"] +2026-10-11T17:24:11.731143Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:51497)/Active"] +2026-10-11T17:24:11.731275Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:24:11.731320Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-29/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-29/ready.txt new file mode 100644 index 0000000000..55f058a635 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-29/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=51497 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-29/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-29/server.log new file mode 100644 index 0000000000..a2b3dde22f --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-29/server.log @@ -0,0 +1,13 @@ +2026-10-11T17:24:11.472753Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=51497 direct=["10.200.0.1:51497", "10.200.0.2:51497", "127.0.0.1:51497"] +2026-10-11T17:24:11.496822Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:54633) alpns=["n30/allowlist/0"] +2026-10-11T17:24:11.524713Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:11.525743Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(127921171733328) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:51497, 10.200.0.2:51497, 127.0.0.1:51497} +2026-10-11T17:24:11.525905Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(127921171733328) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:24:11.526483Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:24:11.526521Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:24:11.526605Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:24:11.526796Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:54633)/Active"] +2026-10-11T17:24:11.526957Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:54633)/Active"] +2026-10-11T17:24:11.527031Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:54633)/Active"] +2026-10-11T17:24:11.527426Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:24:11.527483Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-30/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-30/client.log new file mode 100644 index 0000000000..cc5f333c5c --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-30/client.log @@ -0,0 +1,24 @@ +2026-10-11T17:24:12.373334Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=stream ticket=[127.0.0.1:48417] +2026-10-11T17:24:12.373813Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:12.373950Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:24:12.374051Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:24:12.374071Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:24:12.374095Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:24:12.375150Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:48417)] +2026-10-11T17:24:12.391584Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(94341202108640) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:44781, 10.200.0.2:44781, 127.0.0.1:44781} +2026-10-11T17:24:12.391951Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=18.523920999999998 remote_info=["Ip(127.0.0.1:48417)/Active"] +2026-10-11T17:24:12.405435Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(94341202108640) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:24:12.405514Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(94341202108640) evt=Ok(AddressAdded(127.0.0.1:48417)) +2026-10-11T17:24:12.405563Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37089, tv_nsec: 830825264 }, local_candidates: {10.200.0.1:44781, 10.200.0.2:44781, 127.0.0.1:44781}, remote_candidates: {} } local_candidates={10.200.0.1:44781, 10.200.0.2:44781, 127.0.0.1:44781} remote_candidates={10.200.0.1:48417, 10.200.0.2:48417, 127.0.0.1:48417} +2026-10-11T17:24:12.405638Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(94341202108640) evt=Ok(AddressAdded(10.200.0.2:48417)) +2026-10-11T17:24:12.406112Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37089, tv_nsec: 844720422 }, local_candidates: {10.200.0.1:44781, 10.200.0.2:44781, 127.0.0.1:44781}, remote_candidates: {10.200.0.1:48417, 10.200.0.2:48417, 127.0.0.1:48417} } local_candidates={10.200.0.1:44781, 10.200.0.2:44781, 127.0.0.1:44781} remote_candidates={10.200.0.1:48417, 10.200.0.2:48417, 127.0.0.1:48417} +2026-10-11T17:24:12.406153Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999465428s +2026-10-11T17:24:12.406189Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(94341202108640) evt=Ok(AddressAdded(10.200.0.1:48417)) +2026-10-11T17:24:12.406337Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37089, tv_nsec: 844720422 }, local_candidates: {10.200.0.1:44781, 10.200.0.2:44781, 127.0.0.1:44781}, remote_candidates: {10.200.0.1:48417, 10.200.0.2:48417, 127.0.0.1:48417} } local_candidates={10.200.0.1:44781, 10.200.0.2:44781, 127.0.0.1:44781} remote_candidates={10.200.0.1:48417, 10.200.0.2:48417, 127.0.0.1:48417} +2026-10-11T17:24:12.406345Z INFO harness: reading reply failed role="client" event="stream_error" elapsed_ms=32.918835 error=read error: connection lost dbg=Read(ConnectionLost(ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }))) +2026-10-11T17:24:12.406383Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999232217s +2026-10-11T17:24:12.406450Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=33.025446 why=closed by peer: not on allowlist (code 4098) dbg=ApplicationClosed(ApplicationClose { error_code: 4098, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:48417)/Active"] +2026-10-11T17:24:12.406487Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:24:12.607183Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:48417)/Active"] +2026-10-11T17:24:12.607309Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:24:12.607350Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-30/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-30/ready.txt new file mode 100644 index 0000000000..173da7f3de --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-30/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=48417 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-30/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-30/server.log new file mode 100644 index 0000000000..6a59ec8407 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-app/run-30/server.log @@ -0,0 +1,11 @@ +2026-10-11T17:24:12.359961Z INFO harness: bound role="server" event="ready" mode=App id=8a88e3dd74 port=48417 direct=["10.200.0.1:48417", "10.200.0.2:48417", "127.0.0.1:48417"] +2026-10-11T17:24:12.375946Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:44781) alpns=["n30/allowlist/0"] +2026-10-11T17:24:12.404443Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:24:12.404928Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(134488915003840) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:48417, 10.200.0.2:48417, 127.0.0.1:48417} +2026-10-11T17:24:12.405011Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(134488915003840) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:24:12.405167Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=false +2026-10-11T17:24:12.405301Z INFO harness: Connection handed to the application role="server" event="application_has_connection" peer=ed4928c628 allowed=false remote_info=["Ip(127.0.0.1:44781)/Active"] +2026-10-11T17:24:12.405735Z INFO harness: stream from peer role="server" event="stream_opened" peer=ed4928c628 first_bytes=hello remote_info=["Ip(127.0.0.1:44781)/Active"] +2026-10-11T17:24:12.405809Z INFO harness: refusing after the stream opened role="server" event="app_refusal" peer=ed4928c628 remote_info=["Ip(127.0.0.1:44781)/Active"] +2026-10-11T17:24:12.405862Z INFO harness: closed role="server" event="connection_closed" why=closed +2026-10-11T17:24:12.406012Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-01/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-01/client.log new file mode 100644 index 0000000000..07b24f27a6 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-01/client.log @@ -0,0 +1,14 @@ +2026-10-11T17:22:38.814049Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:40992] +2026-10-11T17:22:38.814949Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:38.815105Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:38.815222Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:38.815239Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:38.815262Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:38.817239Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:40992)] +2026-10-11T17:22:38.853619Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(107261819891680) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:47698, 10.200.0.2:47698, 127.0.0.1:47698} +2026-10-11T17:22:38.854729Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=40.556986 remote_info=["Ip(127.0.0.1:40992)/Active"] +2026-10-11T17:22:38.886370Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:38.886911Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=72.738603 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:40992)/Active"] +2026-10-11T17:22:39.088139Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:40992)/Active"] +2026-10-11T17:22:39.088390Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:39.088441Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-01/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-01/ready.txt new file mode 100644 index 0000000000..73ef08b3c9 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-01/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=40992 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-01/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-01/server.log new file mode 100644 index 0000000000..3f753d6b4b --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-01/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:22:38.718588Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=40992 direct=["10.200.0.1:40992", "10.200.0.2:40992", "127.0.0.1:40992"] +2026-10-11T17:22:38.821477Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:47698) alpns=["n30/allowlist/0"] +2026-10-11T17:22:38.884181Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:38.884356Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:38.884384Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:38.884797Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(125363183240608) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:40992, 10.200.0.2:40992, 127.0.0.1:40992} +2026-10-11T17:22:38.884949Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(125363183240608) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:38.885210Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:38.885576Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:38.885663Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:47698)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-02/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-02/client.log new file mode 100644 index 0000000000..9b20a1c3bf --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-02/client.log @@ -0,0 +1,23 @@ +2026-10-11T17:22:39.826904Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:38337] +2026-10-11T17:22:39.827888Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:39.828076Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:39.828204Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:39.828224Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:39.828251Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:39.830633Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:38337)] +2026-10-11T17:22:39.863568Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(96201363070912) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:42350, 10.200.0.2:42350, 127.0.0.1:42350} +2026-10-11T17:22:39.869958Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=42.919603 remote_info=["Ip(127.0.0.1:38337)/Active"] +2026-10-11T17:22:39.892475Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(96201363070912) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:22:39.892596Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(96201363070912) evt=Ok(AddressAdded(127.0.0.1:38337)) +2026-10-11T17:22:39.892684Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 36997, tv_nsec: 302915455 }, local_candidates: {10.200.0.1:42350, 10.200.0.2:42350, 127.0.0.1:42350}, remote_candidates: {} } local_candidates={10.200.0.1:42350, 10.200.0.2:42350, 127.0.0.1:42350} remote_candidates={10.200.0.1:38337, 10.200.0.2:38337, 127.0.0.1:38337} +2026-10-11T17:22:39.892822Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(96201363070912) evt=Ok(AddressAdded(10.200.0.2:38337)) +2026-10-11T17:22:39.892861Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 36997, tv_nsec: 331884956 }, local_candidates: {10.200.0.1:42350, 10.200.0.2:42350, 127.0.0.1:42350}, remote_candidates: {10.200.0.1:38337, 10.200.0.2:38337, 127.0.0.1:38337} } local_candidates={10.200.0.1:42350, 10.200.0.2:42350, 127.0.0.1:42350} remote_candidates={10.200.0.1:38337, 10.200.0.2:38337, 127.0.0.1:38337} +2026-10-11T17:22:39.892908Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999885974s +2026-10-11T17:22:39.892950Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(96201363070912) evt=Ok(AddressAdded(10.200.0.1:38337)) +2026-10-11T17:22:39.892979Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 36997, tv_nsec: 331884956 }, local_candidates: {10.200.0.1:42350, 10.200.0.2:42350, 127.0.0.1:42350}, remote_candidates: {10.200.0.1:38337, 10.200.0.2:38337, 127.0.0.1:38337} } local_candidates={10.200.0.1:42350, 10.200.0.2:42350, 127.0.0.1:42350} remote_candidates={10.200.0.1:38337, 10.200.0.2:38337, 127.0.0.1:38337} +2026-10-11T17:22:39.893019Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999760667s +2026-10-11T17:22:39.897418Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=70.381226 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:38337)/Active"] +2026-10-11T17:22:39.897619Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:40.098774Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:38337)/Active"] +2026-10-11T17:22:40.099445Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:40.099492Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-02/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-02/ready.txt new file mode 100644 index 0000000000..083fb7a296 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-02/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=38337 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-02/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-02/server.log new file mode 100644 index 0000000000..d9ef5f5d93 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-02/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:22:39.770266Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=38337 direct=["10.200.0.1:38337", "10.200.0.2:38337", "127.0.0.1:38337"] +2026-10-11T17:22:39.833160Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:42350) alpns=["n30/allowlist/0"] +2026-10-11T17:22:39.889173Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:39.889465Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(126309552363952) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:38337, 10.200.0.2:38337, 127.0.0.1:38337} +2026-10-11T17:22:39.889576Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(126309552363952) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:39.891089Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:39.895270Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:22:39.895383Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:39.895686Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:39.895851Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:42350)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-03/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-03/client.log new file mode 100644 index 0000000000..1afda8efea --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-03/client.log @@ -0,0 +1,24 @@ +2026-10-11T17:22:40.855666Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:52605] +2026-10-11T17:22:40.856689Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:40.856838Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:40.856964Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:40.856987Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:40.857013Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:40.859622Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:52605)] +2026-10-11T17:22:40.899138Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(105866598363232) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:41364, 10.200.0.2:41364, 127.0.0.1:41364} +2026-10-11T17:22:40.899766Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=43.973058 remote_info=["Ip(127.0.0.1:52605)/Active"] +2026-10-11T17:22:40.930592Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(105866598363232) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:22:40.930710Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(105866598363232) evt=Ok(AddressAdded(127.0.0.1:52605)) +2026-10-11T17:22:40.930793Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 36998, tv_nsec: 338444225 }, local_candidates: {10.200.0.1:41364, 10.200.0.2:41364, 127.0.0.1:41364}, remote_candidates: {} } local_candidates={10.200.0.1:41364, 10.200.0.2:41364, 127.0.0.1:41364} remote_candidates={10.200.0.1:52605, 10.200.0.2:52605, 127.0.0.1:52605} +2026-10-11T17:22:40.930846Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:22:40.930905Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(105866598363232) evt=Ok(AddressAdded(10.200.0.2:52605)) +2026-10-11T17:22:40.930939Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 36998, tv_nsec: 338444225 }, local_candidates: {10.200.0.1:41364, 10.200.0.2:41364, 127.0.0.1:41364}, remote_candidates: {} } local_candidates={10.200.0.1:41364, 10.200.0.2:41364, 127.0.0.1:41364} remote_candidates={10.200.0.1:52605, 10.200.0.2:52605, 127.0.0.1:52605} +2026-10-11T17:22:40.930973Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:22:40.931070Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(105866598363232) evt=Ok(AddressAdded(10.200.0.1:52605)) +2026-10-11T17:22:40.931103Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 36998, tv_nsec: 338444225 }, local_candidates: {10.200.0.1:41364, 10.200.0.2:41364, 127.0.0.1:41364}, remote_candidates: {} } local_candidates={10.200.0.1:41364, 10.200.0.2:41364, 127.0.0.1:41364} remote_candidates={10.200.0.1:52605, 10.200.0.2:52605, 127.0.0.1:52605} +2026-10-11T17:22:40.931148Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:22:40.931148Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=75.357073 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:52605)/Active"] +2026-10-11T17:22:40.931240Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:41.135920Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:52605)/Active"] +2026-10-11T17:22:41.141173Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:41.141279Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-03/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-03/ready.txt new file mode 100644 index 0000000000..c4364ed866 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-03/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=52605 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-03/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-03/server.log new file mode 100644 index 0000000000..f3926ca4b0 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-03/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:22:40.800137Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=52605 direct=["10.200.0.1:52605", "10.200.0.2:52605", "127.0.0.1:52605"] +2026-10-11T17:22:40.861187Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:41364) alpns=["n30/allowlist/0"] +2026-10-11T17:22:40.921365Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:40.921737Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(134246652002000) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:52605, 10.200.0.2:52605, 127.0.0.1:52605} +2026-10-11T17:22:40.921891Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(134246652002000) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:40.926499Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:22:40.926580Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:40.926675Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:40.926953Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:40.929601Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:41364)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-04/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-04/client.log new file mode 100644 index 0000000000..f56e7db7b2 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-04/client.log @@ -0,0 +1,14 @@ +2026-10-11T17:22:41.854541Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:54035] +2026-10-11T17:22:41.855783Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:41.855972Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:41.856093Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:41.856110Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:41.856133Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:41.857868Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:54035)] +2026-10-11T17:22:41.890429Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(96529291001952) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:59792, 10.200.0.2:59792, 127.0.0.1:59792} +2026-10-11T17:22:41.891041Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=36.358279 remote_info=["Ip(127.0.0.1:54035)/Active"] +2026-10-11T17:22:41.913313Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=58.6258 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:54035)/Active"] +2026-10-11T17:22:41.913529Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:42.114592Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:54035)/Active"] +2026-10-11T17:22:42.114876Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:42.114951Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-04/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-04/ready.txt new file mode 100644 index 0000000000..b948a25a3f --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-04/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=54035 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-04/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-04/server.log new file mode 100644 index 0000000000..305a6f890e --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-04/server.log @@ -0,0 +1,8 @@ +2026-10-11T17:22:41.815158Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=54035 direct=["10.200.0.1:54035", "10.200.0.2:54035", "127.0.0.1:54035"] +2026-10-11T17:22:41.859797Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:59792) alpns=["n30/allowlist/0"] +2026-10-11T17:22:41.908172Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:41.910063Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(138421897085984) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:54035, 10.200.0.2:54035, 127.0.0.1:54035} +2026-10-11T17:22:41.910267Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(138421897085984) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:41.910564Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:41.910953Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:41.911066Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:59792)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-05/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-05/client.log new file mode 100644 index 0000000000..b10c735ef6 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-05/client.log @@ -0,0 +1,14 @@ +2026-10-11T17:22:42.781652Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:58418] +2026-10-11T17:22:42.782632Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:42.782820Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:42.784417Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:42.784496Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:42.784539Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:42.785181Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:58418)] +2026-10-11T17:22:42.822925Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(94865094983904) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:55305, 10.200.0.2:55305, 127.0.0.1:55305} +2026-10-11T17:22:42.828540Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=46.774875 remote_info=["Ip(127.0.0.1:58418)/Active"] +2026-10-11T17:22:42.856223Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=74.45689499999999 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:58418)/Active"] +2026-10-11T17:22:42.856504Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:43.058303Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:58418)/Active"] +2026-10-11T17:22:43.058790Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:43.058834Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-05/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-05/ready.txt new file mode 100644 index 0000000000..dce03f214c --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-05/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=58418 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-05/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-05/server.log new file mode 100644 index 0000000000..6bb99f149e --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-05/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:22:42.749703Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=58418 direct=["10.200.0.1:58418", "10.200.0.2:58418", "127.0.0.1:58418"] +2026-10-11T17:22:42.786445Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:55305) alpns=["n30/allowlist/0"] +2026-10-11T17:22:42.851422Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:42.851620Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:42.851654Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:42.852100Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(139801655254544) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:58418, 10.200.0.2:58418, 127.0.0.1:58418} +2026-10-11T17:22:42.852249Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(139801655254544) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:42.852500Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:42.852881Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:42.852993Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:55305)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-06/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-06/client.log new file mode 100644 index 0000000000..7eccb75c01 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-06/client.log @@ -0,0 +1,14 @@ +2026-10-11T17:22:43.780568Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:40995] +2026-10-11T17:22:43.781832Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:43.782010Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:43.782130Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:43.782148Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:43.782173Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:43.785040Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:40995)] +2026-10-11T17:22:43.836026Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(103519885922240) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:42507, 10.200.0.2:42507, 127.0.0.1:42507} +2026-10-11T17:22:43.836619Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=55.932936000000005 remote_info=["Ip(127.0.0.1:40995)/Active"] +2026-10-11T17:22:43.858295Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:43.858501Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=77.81589799999999 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:40995)/Active"] +2026-10-11T17:22:44.060002Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:40995)/Active"] +2026-10-11T17:22:44.060192Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:44.060238Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-06/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-06/ready.txt new file mode 100644 index 0000000000..5fb65294a3 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-06/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=40995 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-06/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-06/server.log new file mode 100644 index 0000000000..346eb26383 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-06/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:22:43.710170Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=40995 direct=["10.200.0.1:40995", "10.200.0.2:40995", "127.0.0.1:40995"] +2026-10-11T17:22:43.786352Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:42507) alpns=["n30/allowlist/0"] +2026-10-11T17:22:43.854978Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:43.855150Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:43.855171Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:43.855603Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(139068759351392) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:40995, 10.200.0.2:40995, 127.0.0.1:40995} +2026-10-11T17:22:43.855724Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(139068759351392) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:43.856073Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:43.856273Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:43.856541Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:42507)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-07/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-07/client.log new file mode 100644 index 0000000000..042fc02bc2 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-07/client.log @@ -0,0 +1,14 @@ +2026-10-11T17:22:44.778519Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:50928] +2026-10-11T17:22:44.779222Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:44.779393Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:44.780862Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:44.781033Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:44.781096Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:44.781399Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:50928)] +2026-10-11T17:22:44.814507Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(106315751785024) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:46132, 10.200.0.2:46132, 127.0.0.1:46132} +2026-10-11T17:22:44.815179Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=36.546073 remote_info=["Ip(127.0.0.1:50928)/Active"] +2026-10-11T17:22:44.850475Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:44.851773Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=73.13782300000001 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:50928)/Active"] +2026-10-11T17:22:45.052933Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:50928)/Active"] +2026-10-11T17:22:45.053191Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:45.053240Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-07/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-07/ready.txt new file mode 100644 index 0000000000..481d925b18 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-07/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=50928 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-07/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-07/server.log new file mode 100644 index 0000000000..c7fa80f4d1 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-07/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:22:44.724454Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=50928 direct=["10.200.0.1:50928", "10.200.0.2:50928", "127.0.0.1:50928"] +2026-10-11T17:22:44.782872Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:46132) alpns=["n30/allowlist/0"] +2026-10-11T17:22:44.843166Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:44.847241Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(139632876460864) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:50928, 10.200.0.2:50928, 127.0.0.1:50928} +2026-10-11T17:22:44.847438Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(139632876460864) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:44.847686Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:22:44.847713Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:44.847789Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:44.848127Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:44.848208Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:46132)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-08/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-08/client.log new file mode 100644 index 0000000000..4d546b08a6 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-08/client.log @@ -0,0 +1,23 @@ +2026-10-11T17:22:45.754400Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:33466] +2026-10-11T17:22:45.755542Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:45.755694Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:45.755796Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:45.755813Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:45.755835Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:45.758607Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:33466)] +2026-10-11T17:22:45.783017Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(103194178572608) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:44025, 10.200.0.2:44025, 127.0.0.1:44025} +2026-10-11T17:22:45.783555Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=29.035543 remote_info=["Ip(127.0.0.1:33466)/Active"] +2026-10-11T17:22:45.805226Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(103194178572608) evt=Ok(AddressAdded(127.0.0.1:33466)) +2026-10-11T17:22:45.805386Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37003, tv_nsec: 222332826 }, local_candidates: {10.200.0.1:44025, 10.200.0.2:44025, 127.0.0.1:44025}, remote_candidates: {} } local_candidates={10.200.0.1:44025, 10.200.0.2:44025, 127.0.0.1:44025} remote_candidates={10.200.0.1:33466, 10.200.0.2:33466, 127.0.0.1:33466} +2026-10-11T17:22:45.805585Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(103194178572608) evt=Ok(AddressAdded(10.200.0.2:33466)) +2026-10-11T17:22:45.805622Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37003, tv_nsec: 244608511 }, local_candidates: {10.200.0.1:44025, 10.200.0.2:44025, 127.0.0.1:44025}, remote_candidates: {10.200.0.1:33466, 10.200.0.2:33466, 127.0.0.1:33466} } local_candidates={10.200.0.1:44025, 10.200.0.2:44025, 127.0.0.1:44025} remote_candidates={10.200.0.1:33466, 10.200.0.2:33466, 127.0.0.1:33466} +2026-10-11T17:22:45.805658Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999848934s +2026-10-11T17:22:45.805692Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(103194178572608) evt=Ok(AddressAdded(10.200.0.1:33466)) +2026-10-11T17:22:45.805712Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37003, tv_nsec: 244608511 }, local_candidates: {10.200.0.1:44025, 10.200.0.2:44025, 127.0.0.1:44025}, remote_candidates: {10.200.0.1:33466, 10.200.0.2:33466, 127.0.0.1:33466} } local_candidates={10.200.0.1:44025, 10.200.0.2:44025, 127.0.0.1:44025} remote_candidates={10.200.0.1:33466, 10.200.0.2:33466, 127.0.0.1:33466} +2026-10-11T17:22:45.805735Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999767529s +2026-10-11T17:22:45.806853Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(103194178572608) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:22:45.807049Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:45.807801Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=53.278274 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:33466)/Active"] +2026-10-11T17:22:46.010029Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:33466)/Active"] +2026-10-11T17:22:46.010273Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:46.010322Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-08/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-08/ready.txt new file mode 100644 index 0000000000..499baabe92 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-08/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=33466 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-08/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-08/server.log new file mode 100644 index 0000000000..da292ab2c5 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-08/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:22:45.700197Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=33466 direct=["10.200.0.1:33466", "10.200.0.2:33466", "127.0.0.1:33466"] +2026-10-11T17:22:45.760768Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:44025) alpns=["n30/allowlist/0"] +2026-10-11T17:22:45.799491Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:45.799821Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(130015706490656) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:33466, 10.200.0.2:33466, 127.0.0.1:33466} +2026-10-11T17:22:45.800975Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(130015706490656) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:45.803081Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:22:45.803174Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:45.803286Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:45.804522Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:45.804645Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:44025)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-09/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-09/client.log new file mode 100644 index 0000000000..57bc93b775 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-09/client.log @@ -0,0 +1,14 @@ +2026-10-11T17:22:46.694860Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:45847] +2026-10-11T17:22:46.695511Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:46.695664Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:46.695772Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:46.695790Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:46.695824Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:46.697336Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:45847)] +2026-10-11T17:22:46.718016Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(110506778755936) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:45316, 10.200.0.2:45316, 127.0.0.1:45316} +2026-10-11T17:22:46.719153Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=24.169873000000003 remote_info=["Ip(127.0.0.1:45847)/Active"] +2026-10-11T17:22:46.733860Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:46.734337Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=39.356987000000004 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:45847)/Active"] +2026-10-11T17:22:46.936365Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:45847)/Active"] +2026-10-11T17:22:46.936518Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:46.936566Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-09/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-09/ready.txt new file mode 100644 index 0000000000..b5973f1b82 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-09/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=45847 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-09/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-09/server.log new file mode 100644 index 0000000000..5e78d09e74 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-09/server.log @@ -0,0 +1,8 @@ +2026-10-11T17:22:46.665150Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=45847 direct=["10.200.0.1:45847", "10.200.0.2:45847", "127.0.0.1:45847"] +2026-10-11T17:22:46.698493Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:45316) alpns=["n30/allowlist/0"] +2026-10-11T17:22:46.730991Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:46.731922Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(138699526378528) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:45847, 10.200.0.2:45847, 127.0.0.1:45847} +2026-10-11T17:22:46.732059Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(138699526378528) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:46.732298Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:46.732612Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:46.732683Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:45316)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-10/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-10/client.log new file mode 100644 index 0000000000..6f2365a502 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-10/client.log @@ -0,0 +1,24 @@ +2026-10-11T17:22:47.609310Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:45529] +2026-10-11T17:22:47.609925Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:47.610066Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:47.610164Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:47.610183Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:47.610208Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:47.611655Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:45529)] +2026-10-11T17:22:47.635853Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(110428041089184) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:37868, 10.200.0.2:37868, 127.0.0.1:37868} +2026-10-11T17:22:47.637884Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=28.454831 remote_info=["Ip(127.0.0.1:45529)/Active"] +2026-10-11T17:22:47.652829Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(110428041089184) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:22:47.653264Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=43.838927999999996 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:45529)/Active"] +2026-10-11T17:22:47.653434Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(110428041089184) evt=Ok(AddressAdded(127.0.0.1:45529)) +2026-10-11T17:22:47.653546Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37005, tv_nsec: 75364487 }, local_candidates: {10.200.0.1:37868, 10.200.0.2:37868, 127.0.0.1:37868}, remote_candidates: {} } local_candidates={10.200.0.1:37868, 10.200.0.2:37868, 127.0.0.1:37868} remote_candidates={10.200.0.1:45529, 10.200.0.2:45529, 127.0.0.1:45529} +2026-10-11T17:22:47.653619Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:22:47.653690Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(110428041089184) evt=Ok(AddressAdded(10.200.0.2:45529)) +2026-10-11T17:22:47.653728Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37005, tv_nsec: 75364487 }, local_candidates: {10.200.0.1:37868, 10.200.0.2:37868, 127.0.0.1:37868}, remote_candidates: {} } local_candidates={10.200.0.1:37868, 10.200.0.2:37868, 127.0.0.1:37868} remote_candidates={10.200.0.1:45529, 10.200.0.2:45529, 127.0.0.1:45529} +2026-10-11T17:22:47.653770Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:22:47.653815Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(110428041089184) evt=Ok(AddressAdded(10.200.0.1:45529)) +2026-10-11T17:22:47.653861Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37005, tv_nsec: 75364487 }, local_candidates: {10.200.0.1:37868, 10.200.0.2:37868, 127.0.0.1:37868}, remote_candidates: {} } local_candidates={10.200.0.1:37868, 10.200.0.2:37868, 127.0.0.1:37868} remote_candidates={10.200.0.1:45529, 10.200.0.2:45529, 127.0.0.1:45529} +2026-10-11T17:22:47.654639Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:22:47.654863Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:47.854877Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:45529)/Active"] +2026-10-11T17:22:47.855087Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:47.855132Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-10/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-10/ready.txt new file mode 100644 index 0000000000..9f3be14971 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-10/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=45529 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-10/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-10/server.log new file mode 100644 index 0000000000..2b9d4d98bc --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-10/server.log @@ -0,0 +1,12 @@ +2026-10-11T17:22:47.587168Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=45529 direct=["10.200.0.1:45529", "10.200.0.2:45529", "127.0.0.1:45529"] +2026-10-11T17:22:47.613198Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:37868) alpns=["n30/allowlist/0"] +2026-10-11T17:22:47.648805Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:47.648974Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:47.649003Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:47.649539Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(127313702373136) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:45529, 10.200.0.2:45529, 127.0.0.1:45529} +2026-10-11T17:22:47.649642Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(127313702373136) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:47.649819Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:47.651000Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:22:47.651085Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:47.651477Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:47.651617Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:37868)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-11/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-11/client.log new file mode 100644 index 0000000000..323dbc03f9 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-11/client.log @@ -0,0 +1,12 @@ +2026-10-11T17:22:48.511651Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:60583] +2026-10-11T17:22:48.512268Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:48.512412Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:48.513239Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:48.513283Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:48.513312Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:48.514951Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:60583)] +2026-10-11T17:22:48.542759Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(108212618160368) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:33699, 10.200.0.2:33699, 127.0.0.1:33699} +2026-10-11T17:22:48.544963Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=33.189371 remote_info=["Ip(127.0.0.1:60583)/Active"] +2026-10-11T17:22:48.560030Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:48.560366Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=48.599918 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:60583)/Active"] +2026-10-11T17:22:48.762460Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:60583)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-11/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-11/ready.txt new file mode 100644 index 0000000000..a672d780b0 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-11/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=60583 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-11/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-11/server.log new file mode 100644 index 0000000000..7f9cf1511a --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-11/server.log @@ -0,0 +1,8 @@ +2026-10-11T17:22:48.483466Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=60583 direct=["10.200.0.1:60583", "10.200.0.2:60583", "127.0.0.1:60583"] +2026-10-11T17:22:48.516178Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:33699) alpns=["n30/allowlist/0"] +2026-10-11T17:22:48.557004Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:48.557355Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(134621454932688) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:60583, 10.200.0.2:60583, 127.0.0.1:60583} +2026-10-11T17:22:48.557482Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(134621454932688) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:48.557740Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:48.558088Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:48.558184Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:33699)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-12/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-12/client.log new file mode 100644 index 0000000000..aa8d4adcfb --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-12/client.log @@ -0,0 +1,14 @@ +2026-10-11T17:22:49.427205Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:54802] +2026-10-11T17:22:49.427826Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:49.428078Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:49.428379Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:49.428409Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:49.428436Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:49.429798Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:54802)] +2026-10-11T17:22:49.451422Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(106417537614400) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:54159, 10.200.0.2:54159, 127.0.0.1:54159} +2026-10-11T17:22:49.452001Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=24.673296 remote_info=["Ip(127.0.0.1:54802)/Active"] +2026-10-11T17:22:49.474773Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:49.475017Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=47.687939 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:54802)/Active"] +2026-10-11T17:22:49.677543Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:54802)/Active"] +2026-10-11T17:22:49.677785Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:49.677829Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-12/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-12/ready.txt new file mode 100644 index 0000000000..f8541fbeca --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-12/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=54802 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-12/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-12/server.log new file mode 100644 index 0000000000..f07473e79a --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-12/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:22:49.407304Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=54802 direct=["10.200.0.1:54802", "10.200.0.2:54802", "127.0.0.1:54802"] +2026-10-11T17:22:49.430800Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:54159) alpns=["n30/allowlist/0"] +2026-10-11T17:22:49.471000Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:49.472532Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(137593974953696) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:54802, 10.200.0.2:54802, 127.0.0.1:54802} +2026-10-11T17:22:49.472732Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(137593974953696) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:49.473056Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:22:49.473102Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:49.473192Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:49.473551Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:49.473645Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:54159)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-13/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-13/client.log new file mode 100644 index 0000000000..8f45ecf247 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-13/client.log @@ -0,0 +1,24 @@ +2026-10-11T17:22:50.338553Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:56525] +2026-10-11T17:22:50.339245Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:50.339387Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:50.339511Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:50.339533Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:50.339563Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:50.341358Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:56525)] +2026-10-11T17:22:50.362605Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(101488166331360) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:42024, 10.200.0.2:42024, 127.0.0.1:42024} +2026-10-11T17:22:50.363180Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=24.516558 remote_info=["Ip(127.0.0.1:56525)/Active"] +2026-10-11T17:22:50.378059Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(101488166331360) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:22:50.378211Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(101488166331360) evt=Ok(AddressAdded(127.0.0.1:56525)) +2026-10-11T17:22:50.378202Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=39.539821 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:56525)/Active"] +2026-10-11T17:22:50.378289Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37007, tv_nsec: 801963078 }, local_candidates: {10.200.0.1:42024, 10.200.0.2:42024, 127.0.0.1:42024}, remote_candidates: {} } local_candidates={10.200.0.1:42024, 10.200.0.2:42024, 127.0.0.1:42024} remote_candidates={10.200.0.1:56525, 10.200.0.2:56525, 127.0.0.1:56525} +2026-10-11T17:22:50.378346Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:22:50.378393Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(101488166331360) evt=Ok(AddressAdded(10.200.0.2:56525)) +2026-10-11T17:22:50.378419Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37007, tv_nsec: 801963078 }, local_candidates: {10.200.0.1:42024, 10.200.0.2:42024, 127.0.0.1:42024}, remote_candidates: {} } local_candidates={10.200.0.1:42024, 10.200.0.2:42024, 127.0.0.1:42024} remote_candidates={10.200.0.1:56525, 10.200.0.2:56525, 127.0.0.1:56525} +2026-10-11T17:22:50.378455Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:22:50.378494Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(101488166331360) evt=Ok(AddressAdded(10.200.0.1:56525)) +2026-10-11T17:22:50.378537Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37007, tv_nsec: 801963078 }, local_candidates: {10.200.0.1:42024, 10.200.0.2:42024, 127.0.0.1:42024}, remote_candidates: {} } local_candidates={10.200.0.1:42024, 10.200.0.2:42024, 127.0.0.1:42024} remote_candidates={10.200.0.1:56525, 10.200.0.2:56525, 127.0.0.1:56525} +2026-10-11T17:22:50.378574Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:22:50.378670Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:50.579538Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:56525)/Active"] +2026-10-11T17:22:50.579662Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:50.579707Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-13/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-13/ready.txt new file mode 100644 index 0000000000..7ad90a746a --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-13/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=56525 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-13/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-13/server.log new file mode 100644 index 0000000000..c74b297639 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-13/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:22:50.305168Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=56525 direct=["10.200.0.1:56525", "10.200.0.2:56525", "127.0.0.1:56525"] +2026-10-11T17:22:50.342317Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:42024) alpns=["n30/allowlist/0"] +2026-10-11T17:22:50.375643Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:50.375957Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(139801856659312) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:56525, 10.200.0.2:56525, 127.0.0.1:56525} +2026-10-11T17:22:50.376095Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(139801856659312) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:50.376329Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:50.376389Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:22:50.376424Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:50.377299Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:50.377548Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:42024)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-14/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-14/client.log new file mode 100644 index 0000000000..bfa220e06c --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-14/client.log @@ -0,0 +1,14 @@ +2026-10-11T17:22:51.232706Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:57527] +2026-10-11T17:22:51.234045Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:51.234377Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:51.234498Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:51.234537Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:51.234566Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:51.236643Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:57527)] +2026-10-11T17:22:51.255647Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(107787264000096) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:40288, 10.200.0.2:40288, 127.0.0.1:40288} +2026-10-11T17:22:51.256202Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=23.395263999999997 remote_info=["Ip(127.0.0.1:57527)/Active"] +2026-10-11T17:22:51.270491Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:51.270625Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=37.8185 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:57527)/Active"] +2026-10-11T17:22:51.472272Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:57527)/Active"] +2026-10-11T17:22:51.473059Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:51.473274Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-14/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-14/ready.txt new file mode 100644 index 0000000000..8027d078db --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-14/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=57527 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-14/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-14/server.log new file mode 100644 index 0000000000..96aed76d65 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-14/server.log @@ -0,0 +1,8 @@ +2026-10-11T17:22:51.208909Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=57527 direct=["10.200.0.1:57527", "10.200.0.2:57527", "127.0.0.1:57527"] +2026-10-11T17:22:51.238201Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:40288) alpns=["n30/allowlist/0"] +2026-10-11T17:22:51.267867Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:51.269116Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(138781734740480) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:57527, 10.200.0.2:57527, 127.0.0.1:57527} +2026-10-11T17:22:51.269250Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(138781734740480) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:51.269464Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:51.269707Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:51.269769Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:40288)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-15/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-15/client.log new file mode 100644 index 0000000000..f7d74fd7b8 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-15/client.log @@ -0,0 +1,23 @@ +2026-10-11T17:22:52.124837Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:35553] +2026-10-11T17:22:52.125386Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:52.125513Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:52.125629Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:52.125645Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:52.125668Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:52.129963Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:35553)] +2026-10-11T17:22:52.149092Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(95499576062176) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:46291, 10.200.0.2:46291, 127.0.0.1:46291} +2026-10-11T17:22:52.149665Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=24.717748 remote_info=["Ip(127.0.0.1:35553)/Active"] +2026-10-11T17:22:52.167338Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95499576062176) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:22:52.167431Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(95499576062176) evt=Ok(AddressAdded(127.0.0.1:35553)) +2026-10-11T17:22:52.167497Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37009, tv_nsec: 588398625 }, local_candidates: {10.200.0.1:46291, 10.200.0.2:46291, 127.0.0.1:46291}, remote_candidates: {} } local_candidates={10.200.0.1:46291, 10.200.0.2:46291, 127.0.0.1:46291} remote_candidates={10.200.0.1:35553, 10.200.0.2:35553, 127.0.0.1:35553} +2026-10-11T17:22:52.167595Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(95499576062176) evt=Ok(AddressAdded(10.200.0.2:35553)) +2026-10-11T17:22:52.167619Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37009, tv_nsec: 606670051 }, local_candidates: {10.200.0.1:46291, 10.200.0.2:46291, 127.0.0.1:46291}, remote_candidates: {10.200.0.1:35553, 10.200.0.2:35553, 127.0.0.1:35553} } local_candidates={10.200.0.1:46291, 10.200.0.2:46291, 127.0.0.1:46291} remote_candidates={10.200.0.1:35553, 10.200.0.2:35553, 127.0.0.1:35553} +2026-10-11T17:22:52.167642Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999924677s +2026-10-11T17:22:52.167662Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(95499576062176) evt=Ok(AddressAdded(10.200.0.1:35553)) +2026-10-11T17:22:52.167684Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37009, tv_nsec: 606670051 }, local_candidates: {10.200.0.1:46291, 10.200.0.2:46291, 127.0.0.1:46291}, remote_candidates: {10.200.0.1:35553, 10.200.0.2:35553, 127.0.0.1:35553} } local_candidates={10.200.0.1:46291, 10.200.0.2:46291, 127.0.0.1:46291} remote_candidates={10.200.0.1:35553, 10.200.0.2:35553, 127.0.0.1:35553} +2026-10-11T17:22:52.167716Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999848272s +2026-10-11T17:22:52.169440Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:52.169728Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=44.780438 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:35553)/Active"] +2026-10-11T17:22:52.371084Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:35553)/Active"] +2026-10-11T17:22:52.371271Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:52.371321Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-15/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-15/ready.txt new file mode 100644 index 0000000000..1e67181e25 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-15/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=35553 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-15/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-15/server.log new file mode 100644 index 0000000000..d2164ec427 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-15/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:22:52.105272Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=35553 direct=["10.200.0.1:35553", "10.200.0.2:35553", "127.0.0.1:35553"] +2026-10-11T17:22:52.130870Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:46291) alpns=["n30/allowlist/0"] +2026-10-11T17:22:52.164458Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:52.166460Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(137149848492752) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:35553, 10.200.0.2:35553, 127.0.0.1:35553} +2026-10-11T17:22:52.166649Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(137149848492752) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:52.167803Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:22:52.167865Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:52.167975Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:52.168308Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:52.168499Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:46291)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-16/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-16/client.log new file mode 100644 index 0000000000..c0932e661a --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-16/client.log @@ -0,0 +1,14 @@ +2026-10-11T17:22:53.036575Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:54884] +2026-10-11T17:22:53.037329Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:53.037473Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:53.037584Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:53.037606Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:53.037632Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:53.039313Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:54884)] +2026-10-11T17:22:53.063293Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(104784424506080) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:41338, 10.200.0.2:41338, 127.0.0.1:41338} +2026-10-11T17:22:53.063738Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=27.05125 remote_info=["Ip(127.0.0.1:54884)/Active"] +2026-10-11T17:22:53.091628Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:53.093233Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=56.539746 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:54884)/Active"] +2026-10-11T17:22:53.295314Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:54884)/Active"] +2026-10-11T17:22:53.295542Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:53.295591Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-16/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-16/ready.txt new file mode 100644 index 0000000000..42dfe970d4 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-16/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=54884 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-16/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-16/server.log new file mode 100644 index 0000000000..fe0a6d1959 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-16/server.log @@ -0,0 +1,8 @@ +2026-10-11T17:22:53.002158Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=54884 direct=["10.200.0.1:54884", "10.200.0.2:54884", "127.0.0.1:54884"] +2026-10-11T17:22:53.040817Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:41338) alpns=["n30/allowlist/0"] +2026-10-11T17:22:53.089756Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:53.090064Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(138381833018064) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:54884, 10.200.0.2:54884, 127.0.0.1:54884} +2026-10-11T17:22:53.090188Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(138381833018064) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:53.090418Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:53.091882Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:53.092061Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:41338)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-17/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-17/client.log new file mode 100644 index 0000000000..3dd79cad42 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-17/client.log @@ -0,0 +1,23 @@ +2026-10-11T17:22:53.953201Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:58398] +2026-10-11T17:22:53.954096Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:53.954261Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:53.954372Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:53.954397Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:53.954430Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:53.955963Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:58398)] +2026-10-11T17:22:53.977787Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(107088544375744) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:48587, 10.200.0.2:48587, 127.0.0.1:48587} +2026-10-11T17:22:53.979358Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=26.058258000000002 remote_info=["Ip(127.0.0.1:58398)/Active"] +2026-10-11T17:22:53.994253Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(107088544375744) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:22:53.994343Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(107088544375744) evt=Ok(AddressAdded(127.0.0.1:58398)) +2026-10-11T17:22:53.994408Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37011, tv_nsec: 417161919 }, local_candidates: {10.200.0.1:48587, 10.200.0.2:48587, 127.0.0.1:48587}, remote_candidates: {} } local_candidates={10.200.0.1:48587, 10.200.0.2:48587, 127.0.0.1:48587} remote_candidates={10.200.0.1:58398, 10.200.0.2:58398, 127.0.0.1:58398} +2026-10-11T17:22:53.994518Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(107088544375744) evt=Ok(AddressAdded(10.200.0.2:58398)) +2026-10-11T17:22:53.995135Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37011, tv_nsec: 433583230 }, local_candidates: {10.200.0.1:48587, 10.200.0.2:48587, 127.0.0.1:48587}, remote_candidates: {10.200.0.1:58398, 10.200.0.2:58398, 127.0.0.1:58398} } local_candidates={10.200.0.1:48587, 10.200.0.2:48587, 127.0.0.1:48587} remote_candidates={10.200.0.1:58398, 10.200.0.2:58398, 127.0.0.1:58398} +2026-10-11T17:22:53.995210Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999272331s +2026-10-11T17:22:53.995326Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(107088544375744) evt=Ok(AddressAdded(10.200.0.1:58398)) +2026-10-11T17:22:53.995362Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37011, tv_nsec: 433583230 }, local_candidates: {10.200.0.1:48587, 10.200.0.2:48587, 127.0.0.1:48587}, remote_candidates: {10.200.0.1:58398, 10.200.0.2:58398, 127.0.0.1:58398} } local_candidates={10.200.0.1:48587, 10.200.0.2:48587, 127.0.0.1:48587} remote_candidates={10.200.0.1:58398, 10.200.0.2:58398, 127.0.0.1:58398} +2026-10-11T17:22:53.995398Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999079556s +2026-10-11T17:22:53.995459Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:53.995480Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=42.185030999999995 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:58398)/Active"] +2026-10-11T17:22:54.197947Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:58398)/Active"] +2026-10-11T17:22:54.198206Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:54.198255Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-17/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-17/ready.txt new file mode 100644 index 0000000000..b96e29bf42 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-17/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=58398 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-17/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-17/server.log new file mode 100644 index 0000000000..f0cc7215d1 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-17/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:22:53.931166Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=58398 direct=["10.200.0.1:58398", "10.200.0.2:58398", "127.0.0.1:58398"] +2026-10-11T17:22:53.956976Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:48587) alpns=["n30/allowlist/0"] +2026-10-11T17:22:53.991795Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:53.992613Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(136889130556112) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:58398, 10.200.0.2:58398, 127.0.0.1:58398} +2026-10-11T17:22:53.992744Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(136889130556112) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:53.992983Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:22:53.993702Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:53.993821Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:53.995232Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:53.995366Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:48587)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-18/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-18/client.log new file mode 100644 index 0000000000..aa094d6a0e --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-18/client.log @@ -0,0 +1,23 @@ +2026-10-11T17:22:54.878581Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:56472] +2026-10-11T17:22:54.879549Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:54.879698Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:54.881126Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:54.881185Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:54.881218Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:54.882228Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:56472)] +2026-10-11T17:22:54.912421Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(97107411215072) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:46313, 10.200.0.2:46313, 127.0.0.1:46313} +2026-10-11T17:22:54.913787Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=35.077976 remote_info=["Ip(127.0.0.1:56472)/Active"] +2026-10-11T17:22:54.934855Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(97107411215072) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:22:54.934970Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(97107411215072) evt=Ok(AddressAdded(127.0.0.1:56472)) +2026-10-11T17:22:54.935050Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37012, tv_nsec: 351759704 }, local_candidates: {10.200.0.1:46313, 10.200.0.2:46313, 127.0.0.1:46313}, remote_candidates: {} } local_candidates={10.200.0.1:46313, 10.200.0.2:46313, 127.0.0.1:46313} remote_candidates={10.200.0.1:56472, 10.200.0.2:56472, 127.0.0.1:56472} +2026-10-11T17:22:54.935182Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(97107411215072) evt=Ok(AddressAdded(10.200.0.2:56472)) +2026-10-11T17:22:54.935220Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37012, tv_nsec: 374246826 }, local_candidates: {10.200.0.1:46313, 10.200.0.2:46313, 127.0.0.1:46313}, remote_candidates: {10.200.0.1:56472, 10.200.0.2:56472, 127.0.0.1:56472} } local_candidates={10.200.0.1:46313, 10.200.0.2:46313, 127.0.0.1:46313} remote_candidates={10.200.0.1:56472, 10.200.0.2:56472, 127.0.0.1:56472} +2026-10-11T17:22:54.935257Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999887857s +2026-10-11T17:22:54.935294Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(97107411215072) evt=Ok(AddressAdded(10.200.0.1:56472)) +2026-10-11T17:22:54.935321Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37012, tv_nsec: 374246826 }, local_candidates: {10.200.0.1:46313, 10.200.0.2:46313, 127.0.0.1:46313}, remote_candidates: {10.200.0.1:56472, 10.200.0.2:56472, 127.0.0.1:56472} } local_candidates={10.200.0.1:46313, 10.200.0.2:46313, 127.0.0.1:46313} remote_candidates={10.200.0.1:56472, 10.200.0.2:56472, 127.0.0.1:56472} +2026-10-11T17:22:54.935363Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.9997784s +2026-10-11T17:22:54.943867Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:54.944429Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=65.720939 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:56472)/Active"] +2026-10-11T17:22:55.148619Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:56472)/Active"] +2026-10-11T17:22:55.149135Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:55.149201Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-18/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-18/ready.txt new file mode 100644 index 0000000000..be50d8caf3 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-18/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=56472 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-18/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-18/server.log new file mode 100644 index 0000000000..f4524eff85 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-18/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:22:54.835127Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=56472 direct=["10.200.0.1:56472", "10.200.0.2:56472", "127.0.0.1:56472"] +2026-10-11T17:22:54.884042Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:46313) alpns=["n30/allowlist/0"] +2026-10-11T17:22:54.928664Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:54.933517Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(138012734267920) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:56472, 10.200.0.2:56472, 127.0.0.1:56472} +2026-10-11T17:22:54.933747Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(138012734267920) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:54.934728Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:22:54.934813Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:54.934943Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:54.939372Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:54.939523Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:46313)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-19/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-19/client.log new file mode 100644 index 0000000000..07fd521b70 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-19/client.log @@ -0,0 +1,23 @@ +2026-10-11T17:22:55.816833Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:49096] +2026-10-11T17:22:55.817379Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:55.817505Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:55.817598Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:55.817616Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:55.817638Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:55.819134Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:49096)] +2026-10-11T17:22:55.840417Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(99234798768320) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:51160, 10.200.0.2:51160, 127.0.0.1:51160} +2026-10-11T17:22:55.841051Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=24.106559 remote_info=["Ip(127.0.0.1:49096)/Active"] +2026-10-11T17:22:55.852654Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(99234798768320) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:22:55.852736Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(99234798768320) evt=Ok(AddressAdded(127.0.0.1:49096)) +2026-10-11T17:22:55.852796Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37013, tv_nsec: 279771968 }, local_candidates: {10.200.0.1:51160, 10.200.0.2:51160, 127.0.0.1:51160}, remote_candidates: {} } local_candidates={10.200.0.1:51160, 10.200.0.2:51160, 127.0.0.1:51160} remote_candidates={10.200.0.1:49096, 10.200.0.2:49096, 127.0.0.1:49096} +2026-10-11T17:22:55.852910Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(99234798768320) evt=Ok(AddressAdded(10.200.0.2:49096)) +2026-10-11T17:22:55.852942Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37013, tv_nsec: 291976279 }, local_candidates: {10.200.0.1:51160, 10.200.0.2:51160, 127.0.0.1:51160}, remote_candidates: {10.200.0.1:49096, 10.200.0.2:49096, 127.0.0.1:49096} } local_candidates={10.200.0.1:51160, 10.200.0.2:51160, 127.0.0.1:51160} remote_candidates={10.200.0.1:49096, 10.200.0.2:49096, 127.0.0.1:49096} +2026-10-11T17:22:55.852974Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.99989952s +2026-10-11T17:22:55.853004Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(99234798768320) evt=Ok(AddressAdded(10.200.0.1:49096)) +2026-10-11T17:22:55.853025Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37013, tv_nsec: 291976279 }, local_candidates: {10.200.0.1:51160, 10.200.0.2:51160, 127.0.0.1:51160}, remote_candidates: {10.200.0.1:49096, 10.200.0.2:49096, 127.0.0.1:49096} } local_candidates={10.200.0.1:51160, 10.200.0.2:51160, 127.0.0.1:51160} remote_candidates={10.200.0.1:49096, 10.200.0.2:49096, 127.0.0.1:49096} +2026-10-11T17:22:55.853058Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999812525s +2026-10-11T17:22:55.853835Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:55.854650Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=37.706825 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:49096)/Active"] +2026-10-11T17:22:56.057193Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:49096)/Active"] +2026-10-11T17:22:56.059116Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:56.059222Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-19/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-19/ready.txt new file mode 100644 index 0000000000..25b9f35311 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-19/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=49096 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-19/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-19/server.log new file mode 100644 index 0000000000..dcd90429c6 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-19/server.log @@ -0,0 +1,8 @@ +2026-10-11T17:22:55.789743Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=49096 direct=["10.200.0.1:49096", "10.200.0.2:49096", "127.0.0.1:49096"] +2026-10-11T17:22:55.820190Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:51160) alpns=["n30/allowlist/0"] +2026-10-11T17:22:55.851323Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:55.851637Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(131601556054544) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:49096, 10.200.0.2:49096, 127.0.0.1:49096} +2026-10-11T17:22:55.851747Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(131601556054544) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:55.851987Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:55.852931Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:55.853162Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:51160)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-20/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-20/client.log new file mode 100644 index 0000000000..4f6e05245e --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-20/client.log @@ -0,0 +1,14 @@ +2026-10-11T17:22:56.713158Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:54291] +2026-10-11T17:22:56.716386Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:56.716565Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:56.716698Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:56.716723Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:56.716751Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:56.718351Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:54291)] +2026-10-11T17:22:56.738527Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(94242293392320) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:56617, 10.200.0.2:56617, 127.0.0.1:56617} +2026-10-11T17:22:56.739160Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=25.887633 remote_info=["Ip(127.0.0.1:54291)/Active"] +2026-10-11T17:22:56.758576Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:56.759695Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=46.420412 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:54291)/Active"] +2026-10-11T17:22:56.961798Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:54291)/Active"] +2026-10-11T17:22:56.962013Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:56.962064Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-20/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-20/ready.txt new file mode 100644 index 0000000000..49a2ab1944 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-20/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=54291 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-20/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-20/server.log new file mode 100644 index 0000000000..9700d121c4 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-20/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:22:56.688308Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=54291 direct=["10.200.0.1:54291", "10.200.0.2:54291", "127.0.0.1:54291"] +2026-10-11T17:22:56.719269Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:56617) alpns=["n30/allowlist/0"] +2026-10-11T17:22:56.752882Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:56.753717Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(133054731395584) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:54291, 10.200.0.2:54291, 127.0.0.1:54291} +2026-10-11T17:22:56.753853Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(133054731395584) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:56.754071Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:22:56.754101Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:56.754159Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:56.754474Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:56.754536Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:56617)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-21/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-21/client.log new file mode 100644 index 0000000000..0f056e0618 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-21/client.log @@ -0,0 +1,14 @@ +2026-10-11T17:22:57.653346Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:35516] +2026-10-11T17:22:57.654344Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:57.654516Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:57.655632Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:57.655847Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:57.656056Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:57.657926Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:35516)] +2026-10-11T17:22:57.684052Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(94060318595136) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:35715, 10.200.0.2:35715, 127.0.0.1:35715} +2026-10-11T17:22:57.684866Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=31.399004 remote_info=["Ip(127.0.0.1:35516)/Active"] +2026-10-11T17:22:57.702903Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:57.703270Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=49.803601 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:35516)/Active"] +2026-10-11T17:22:57.905107Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:35516)/Active"] +2026-10-11T17:22:57.905298Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:57.905347Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-21/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-21/ready.txt new file mode 100644 index 0000000000..d13330d008 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-21/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=35516 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-21/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-21/server.log new file mode 100644 index 0000000000..a82b9290d5 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-21/server.log @@ -0,0 +1,8 @@ +2026-10-11T17:22:57.611521Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=35516 direct=["10.200.0.1:35516", "10.200.0.2:35516", "127.0.0.1:35516"] +2026-10-11T17:22:57.660489Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:35715) alpns=["n30/allowlist/0"] +2026-10-11T17:22:57.697700Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:57.697995Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(139551406374752) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:35516, 10.200.0.2:35516, 127.0.0.1:35516} +2026-10-11T17:22:57.698113Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(139551406374752) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:57.698321Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:57.698616Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:57.698702Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:35715)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-22/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-22/client.log new file mode 100644 index 0000000000..c390886671 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-22/client.log @@ -0,0 +1,23 @@ +2026-10-11T17:22:58.556998Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:39494] +2026-10-11T17:22:58.557543Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:58.557677Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:58.557767Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:58.557779Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:58.557797Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:58.559339Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:39494)] +2026-10-11T17:22:58.579320Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(95030840758464) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:47391, 10.200.0.2:47391, 127.0.0.1:47391} +2026-10-11T17:22:58.579809Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=22.693490999999998 remote_info=["Ip(127.0.0.1:39494)/Active"] +2026-10-11T17:22:58.595384Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95030840758464) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:22:58.595473Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(95030840758464) evt=Ok(AddressAdded(127.0.0.1:39494)) +2026-10-11T17:22:58.595539Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37016, tv_nsec: 18601309 }, local_candidates: {10.200.0.1:47391, 10.200.0.2:47391, 127.0.0.1:47391}, remote_candidates: {} } local_candidates={10.200.0.1:47391, 10.200.0.2:47391, 127.0.0.1:47391} remote_candidates={10.200.0.1:39494, 10.200.0.2:39494, 127.0.0.1:39494} +2026-10-11T17:22:58.595650Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(95030840758464) evt=Ok(AddressAdded(10.200.0.2:39494)) +2026-10-11T17:22:58.595681Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37016, tv_nsec: 34724083 }, local_candidates: {10.200.0.1:47391, 10.200.0.2:47391, 127.0.0.1:47391}, remote_candidates: {10.200.0.1:39494, 10.200.0.2:39494, 127.0.0.1:39494} } local_candidates={10.200.0.1:47391, 10.200.0.2:47391, 127.0.0.1:47391} remote_candidates={10.200.0.1:39494, 10.200.0.2:39494, 127.0.0.1:39494} +2026-10-11T17:22:58.595715Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999906293s +2026-10-11T17:22:58.595743Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(95030840758464) evt=Ok(AddressAdded(10.200.0.1:39494)) +2026-10-11T17:22:58.595765Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37016, tv_nsec: 34724083 }, local_candidates: {10.200.0.1:47391, 10.200.0.2:47391, 127.0.0.1:47391}, remote_candidates: {10.200.0.1:39494, 10.200.0.2:39494, 127.0.0.1:39494} } local_candidates={10.200.0.1:47391, 10.200.0.2:47391, 127.0.0.1:47391} remote_candidates={10.200.0.1:39494, 10.200.0.2:39494, 127.0.0.1:39494} +2026-10-11T17:22:58.595803Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.99981502s +2026-10-11T17:22:58.597037Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:58.597197Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=40.083556 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:39494)/Active"] +2026-10-11T17:22:58.798365Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:39494)/Active"] +2026-10-11T17:22:58.798572Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:58.798615Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-22/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-22/ready.txt new file mode 100644 index 0000000000..d8c5c08bef --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-22/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=39494 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-22/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-22/server.log new file mode 100644 index 0000000000..38582088af --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-22/server.log @@ -0,0 +1,8 @@ +2026-10-11T17:22:58.533598Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=39494 direct=["10.200.0.1:39494", "10.200.0.2:39494", "127.0.0.1:39494"] +2026-10-11T17:22:58.560683Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:47391) alpns=["n30/allowlist/0"] +2026-10-11T17:22:58.592646Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:58.594540Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(123259588717392) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:39494, 10.200.0.2:39494, 127.0.0.1:39494} +2026-10-11T17:22:58.594720Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(123259588717392) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:58.595830Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:58.596054Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:58.596403Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:47391)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-23/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-23/client.log new file mode 100644 index 0000000000..3ff77e9f73 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-23/client.log @@ -0,0 +1,23 @@ +2026-10-11T17:22:59.477162Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:33873] +2026-10-11T17:22:59.477764Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:59.477913Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:22:59.478026Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:22:59.478046Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:22:59.478072Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:22:59.479695Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:33873)] +2026-10-11T17:22:59.504577Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(97352830677184) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:35023, 10.200.0.2:35023, 127.0.0.1:35023} +2026-10-11T17:22:59.505553Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=28.271067000000002 remote_info=["Ip(127.0.0.1:33873)/Active"] +2026-10-11T17:22:59.519341Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(97352830677184) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:22:59.519432Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(97352830677184) evt=Ok(AddressAdded(127.0.0.1:33873)) +2026-10-11T17:22:59.519494Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37016, tv_nsec: 943883675 }, local_candidates: {10.200.0.1:35023, 10.200.0.2:35023, 127.0.0.1:35023}, remote_candidates: {} } local_candidates={10.200.0.1:35023, 10.200.0.2:35023, 127.0.0.1:35023} remote_candidates={10.200.0.1:33873, 10.200.0.2:33873, 127.0.0.1:33873} +2026-10-11T17:22:59.519604Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(97352830677184) evt=Ok(AddressAdded(10.200.0.2:33873)) +2026-10-11T17:22:59.519635Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37016, tv_nsec: 958678492 }, local_candidates: {10.200.0.1:35023, 10.200.0.2:35023, 127.0.0.1:35023}, remote_candidates: {10.200.0.1:33873, 10.200.0.2:33873, 127.0.0.1:33873} } local_candidates={10.200.0.1:35023, 10.200.0.2:35023, 127.0.0.1:35023} remote_candidates={10.200.0.1:33873, 10.200.0.2:33873, 127.0.0.1:33873} +2026-10-11T17:22:59.519669Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999907124s +2026-10-11T17:22:59.519698Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(97352830677184) evt=Ok(AddressAdded(10.200.0.1:33873)) +2026-10-11T17:22:59.519720Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37016, tv_nsec: 958678492 }, local_candidates: {10.200.0.1:35023, 10.200.0.2:35023, 127.0.0.1:35023}, remote_candidates: {10.200.0.1:33873, 10.200.0.2:33873, 127.0.0.1:33873} } local_candidates={10.200.0.1:35023, 10.200.0.2:35023, 127.0.0.1:35023} remote_candidates={10.200.0.1:33873, 10.200.0.2:33873, 127.0.0.1:33873} +2026-10-11T17:22:59.519757Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.99981559s +2026-10-11T17:22:59.520478Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:59.521147Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=43.864388 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:33873)/Active"] +2026-10-11T17:22:59.723286Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:33873)/Active"] +2026-10-11T17:22:59.723462Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:22:59.723513Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-23/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-23/ready.txt new file mode 100644 index 0000000000..c567ee3872 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-23/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=33873 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-23/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-23/server.log new file mode 100644 index 0000000000..4050f34567 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-23/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:22:59.430338Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=33873 direct=["10.200.0.1:33873", "10.200.0.2:33873", "127.0.0.1:33873"] +2026-10-11T17:22:59.480779Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:35023) alpns=["n30/allowlist/0"] +2026-10-11T17:22:59.518052Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:22:59.518406Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(127806952444416) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:33873, 10.200.0.2:33873, 127.0.0.1:33873} +2026-10-11T17:22:59.518533Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(127806952444416) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:59.519064Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:22:59.519114Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:22:59.519210Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:22:59.520125Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:22:59.520443Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:35023)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-24/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-24/client.log new file mode 100644 index 0000000000..8d675c8b8a --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-24/client.log @@ -0,0 +1,23 @@ +2026-10-11T17:23:00.401635Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:48871] +2026-10-11T17:23:00.402178Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:00.402303Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:23:00.402391Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:23:00.402407Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:23:00.402428Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:23:00.403847Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:48871)] +2026-10-11T17:23:00.423941Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(105160096027584) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:51279, 10.200.0.2:51279, 127.0.0.1:51279} +2026-10-11T17:23:00.424715Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=22.975615 remote_info=["Ip(127.0.0.1:48871)/Active"] +2026-10-11T17:23:00.440677Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(105160096027584) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:00.440796Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(105160096027584) evt=Ok(AddressAdded(127.0.0.1:48871)) +2026-10-11T17:23:00.440856Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37017, tv_nsec: 863288401 }, local_candidates: {10.200.0.1:51279, 10.200.0.2:51279, 127.0.0.1:51279}, remote_candidates: {} } local_candidates={10.200.0.1:51279, 10.200.0.2:51279, 127.0.0.1:51279} remote_candidates={10.200.0.1:48871, 10.200.0.2:48871, 127.0.0.1:48871} +2026-10-11T17:23:00.441109Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(105160096027584) evt=Ok(AddressAdded(10.200.0.2:48871)) +2026-10-11T17:23:00.441335Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37017, tv_nsec: 880160213 }, local_candidates: {10.200.0.1:51279, 10.200.0.2:51279, 127.0.0.1:51279}, remote_candidates: {10.200.0.1:48871, 10.200.0.2:48871, 127.0.0.1:48871} } local_candidates={10.200.0.1:51279, 10.200.0.2:51279, 127.0.0.1:51279} remote_candidates={10.200.0.1:48871, 10.200.0.2:48871, 127.0.0.1:48871} +2026-10-11T17:23:00.441394Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999665556s +2026-10-11T17:23:00.441503Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(105160096027584) evt=Ok(AddressAdded(10.200.0.1:48871)) +2026-10-11T17:23:00.441491Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=39.752527 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:48871)/Active"] +2026-10-11T17:23:00.441538Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37017, tv_nsec: 880160213 }, local_candidates: {10.200.0.1:51279, 10.200.0.2:51279, 127.0.0.1:51279}, remote_candidates: {10.200.0.1:48871, 10.200.0.2:48871, 127.0.0.1:48871} } local_candidates={10.200.0.1:51279, 10.200.0.2:51279, 127.0.0.1:51279} remote_candidates={10.200.0.1:48871, 10.200.0.2:48871, 127.0.0.1:48871} +2026-10-11T17:23:00.441576Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999478442s +2026-10-11T17:23:00.441636Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:00.644624Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:48871)/Active"] +2026-10-11T17:23:00.644838Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:23:00.644886Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-24/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-24/ready.txt new file mode 100644 index 0000000000..4fc8834978 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-24/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=48871 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-24/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-24/server.log new file mode 100644 index 0000000000..4a0ba6b6b6 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-24/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:23:00.382883Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=48871 direct=["10.200.0.1:48871", "10.200.0.2:48871", "127.0.0.1:48871"] +2026-10-11T17:23:00.404637Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:51279) alpns=["n30/allowlist/0"] +2026-10-11T17:23:00.439477Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:00.439990Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(133551873935392) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:48871, 10.200.0.2:48871, 127.0.0.1:48871} +2026-10-11T17:23:00.440108Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(133551873935392) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:00.440353Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:23:00.440929Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:23:00.440973Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:00.441144Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:00.441241Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:51279)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-25/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-25/client.log new file mode 100644 index 0000000000..0daf02ea9d --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-25/client.log @@ -0,0 +1,24 @@ +2026-10-11T17:23:01.301526Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:58335] +2026-10-11T17:23:01.302171Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:01.302304Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:23:01.303590Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:23:01.303643Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:23:01.303669Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:23:01.304140Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:58335)] +2026-10-11T17:23:01.325366Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(95614106354496) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:60313, 10.200.0.2:60313, 127.0.0.1:60313} +2026-10-11T17:23:01.325824Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=24.182712 remote_info=["Ip(127.0.0.1:58335)/Active"] +2026-10-11T17:23:01.341379Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(95614106354496) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:01.341460Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(95614106354496) evt=Ok(AddressAdded(127.0.0.1:58335)) +2026-10-11T17:23:01.341568Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37018, tv_nsec: 764661645 }, local_candidates: {10.200.0.1:60313, 10.200.0.2:60313, 127.0.0.1:60313}, remote_candidates: {} } local_candidates={10.200.0.1:60313, 10.200.0.2:60313, 127.0.0.1:60313} remote_candidates={10.200.0.1:58335, 10.200.0.2:58335, 127.0.0.1:58335} +2026-10-11T17:23:01.341620Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:23:01.341705Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(95614106354496) evt=Ok(AddressAdded(10.200.0.2:58335)) +2026-10-11T17:23:01.341717Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=40.07634 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:58335)/Active"] +2026-10-11T17:23:01.341734Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37018, tv_nsec: 764661645 }, local_candidates: {10.200.0.1:60313, 10.200.0.2:60313, 127.0.0.1:60313}, remote_candidates: {} } local_candidates={10.200.0.1:60313, 10.200.0.2:60313, 127.0.0.1:60313} remote_candidates={10.200.0.1:58335, 10.200.0.2:58335, 127.0.0.1:58335} +2026-10-11T17:23:01.341765Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:23:01.341795Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(95614106354496) evt=Ok(AddressAdded(10.200.0.1:58335)) +2026-10-11T17:23:01.341827Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37018, tv_nsec: 764661645 }, local_candidates: {10.200.0.1:60313, 10.200.0.2:60313, 127.0.0.1:60313}, remote_candidates: {} } local_candidates={10.200.0.1:60313, 10.200.0.2:60313, 127.0.0.1:60313} remote_candidates={10.200.0.1:58335, 10.200.0.2:58335, 127.0.0.1:58335} +2026-10-11T17:23:01.341858Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:23:01.341937Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:01.542987Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:58335)/Active"] +2026-10-11T17:23:01.543118Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:23:01.543164Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-25/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-25/ready.txt new file mode 100644 index 0000000000..d139838ffc --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-25/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=58335 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-25/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-25/server.log new file mode 100644 index 0000000000..9a09cd44f1 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-25/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:23:01.281311Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=58335 direct=["10.200.0.1:58335", "10.200.0.2:58335", "127.0.0.1:58335"] +2026-10-11T17:23:01.306179Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:60313) alpns=["n30/allowlist/0"] +2026-10-11T17:23:01.338757Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:01.339803Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(134595148258000) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:58335, 10.200.0.2:58335, 127.0.0.1:58335} +2026-10-11T17:23:01.339980Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(134595148258000) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:01.340734Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:23:01.340787Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:01.340890Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:23:01.341274Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:01.341352Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:60313)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-26/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-26/client.log new file mode 100644 index 0000000000..9b045f256d --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-26/client.log @@ -0,0 +1,24 @@ +2026-10-11T17:23:02.192419Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:43878] +2026-10-11T17:23:02.193213Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:02.193366Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:23:02.193476Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:23:02.193497Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:23:02.193525Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:23:02.195408Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:43878)] +2026-10-11T17:23:02.225304Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(106895473574208) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:58691, 10.200.0.2:58691, 127.0.0.1:58691} +2026-10-11T17:23:02.225985Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=33.440108 remote_info=["Ip(127.0.0.1:43878)/Active"] +2026-10-11T17:23:02.242152Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(106895473574208) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:02.242271Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(106895473574208) evt=Ok(AddressAdded(127.0.0.1:43878)) +2026-10-11T17:23:02.243817Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37019, tv_nsec: 664702802 }, local_candidates: {10.200.0.1:58691, 10.200.0.2:58691, 127.0.0.1:58691}, remote_candidates: {} } local_candidates={10.200.0.1:58691, 10.200.0.2:58691, 127.0.0.1:58691} remote_candidates={10.200.0.1:43878, 10.200.0.2:43878, 127.0.0.1:43878} +2026-10-11T17:23:02.243991Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:23:02.244163Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(106895473574208) evt=Ok(AddressAdded(10.200.0.2:43878)) +2026-10-11T17:23:02.244159Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=51.617463 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:43878)/Active"] +2026-10-11T17:23:02.244220Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37019, tv_nsec: 664702802 }, local_candidates: {10.200.0.1:58691, 10.200.0.2:58691, 127.0.0.1:58691}, remote_candidates: {} } local_candidates={10.200.0.1:58691, 10.200.0.2:58691, 127.0.0.1:58691} remote_candidates={10.200.0.1:43878, 10.200.0.2:43878, 127.0.0.1:43878} +2026-10-11T17:23:02.244266Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:23:02.244325Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(106895473574208) evt=Ok(AddressAdded(10.200.0.1:43878)) +2026-10-11T17:23:02.244379Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37019, tv_nsec: 664702802 }, local_candidates: {10.200.0.1:58691, 10.200.0.2:58691, 127.0.0.1:58691}, remote_candidates: {} } local_candidates={10.200.0.1:58691, 10.200.0.2:58691, 127.0.0.1:58691} remote_candidates={10.200.0.1:43878, 10.200.0.2:43878, 127.0.0.1:43878} +2026-10-11T17:23:02.244428Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:23:02.244549Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:02.445036Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:43878)/Active"] +2026-10-11T17:23:02.445248Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:23:02.445295Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-26/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-26/ready.txt new file mode 100644 index 0000000000..92f630b821 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-26/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=43878 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-26/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-26/server.log new file mode 100644 index 0000000000..651285c3ad --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-26/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:23:02.168148Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=43878 direct=["10.200.0.1:43878", "10.200.0.2:43878", "127.0.0.1:43878"] +2026-10-11T17:23:02.196406Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:58691) alpns=["n30/allowlist/0"] +2026-10-11T17:23:02.239026Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:02.239204Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:23:02.239234Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:23:02.241120Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(131634707831504) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:43878, 10.200.0.2:43878, 127.0.0.1:43878} +2026-10-11T17:23:02.241290Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(131634707831504) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:02.241529Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:23:02.242091Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:02.242243Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:58691)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-27/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-27/client.log new file mode 100644 index 0000000000..d3f89f5854 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-27/client.log @@ -0,0 +1,23 @@ +2026-10-11T17:23:03.105835Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:42676] +2026-10-11T17:23:03.106496Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:03.106627Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:23:03.106714Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:23:03.106755Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:23:03.106778Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:23:03.108264Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:42676)] +2026-10-11T17:23:03.126760Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(102261478626656) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:49909, 10.200.0.2:49909, 127.0.0.1:49909} +2026-10-11T17:23:03.127642Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=21.673807999999998 remote_info=["Ip(127.0.0.1:42676)/Active"] +2026-10-11T17:23:03.147183Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(102261478626656) evt=Ok(AddressAdded(127.0.0.1:42676)) +2026-10-11T17:23:03.147829Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37020, tv_nsec: 566028739 }, local_candidates: {10.200.0.1:49909, 10.200.0.2:49909, 127.0.0.1:49909}, remote_candidates: {} } local_candidates={10.200.0.1:49909, 10.200.0.2:49909, 127.0.0.1:49909} remote_candidates={10.200.0.1:42676, 10.200.0.2:42676, 127.0.0.1:42676} +2026-10-11T17:23:03.148269Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(102261478626656) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:03.148333Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(102261478626656) evt=Ok(AddressAdded(10.200.0.2:42676)) +2026-10-11T17:23:03.148368Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37020, tv_nsec: 587244850 }, local_candidates: {10.200.0.1:49909, 10.200.0.2:49909, 127.0.0.1:49909}, remote_candidates: {10.200.0.1:42676, 10.200.0.2:42676, 127.0.0.1:42676} } local_candidates={10.200.0.1:49909, 10.200.0.2:49909, 127.0.0.1:49909} remote_candidates={10.200.0.1:42676, 10.200.0.2:42676, 127.0.0.1:42676} +2026-10-11T17:23:03.148403Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999738464s +2026-10-11T17:23:03.148431Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(102261478626656) evt=Ok(AddressAdded(10.200.0.1:42676)) +2026-10-11T17:23:03.148453Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37020, tv_nsec: 587244850 }, local_candidates: {10.200.0.1:49909, 10.200.0.2:49909, 127.0.0.1:49909}, remote_candidates: {10.200.0.1:42676, 10.200.0.2:42676, 127.0.0.1:42676} } local_candidates={10.200.0.1:49909, 10.200.0.2:49909, 127.0.0.1:49909} remote_candidates={10.200.0.1:42676, 10.200.0.2:42676, 127.0.0.1:42676} +2026-10-11T17:23:03.148486Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999652892s +2026-10-11T17:23:03.151224Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:03.153138Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=47.16599 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:42676)/Active"] +2026-10-11T17:23:03.354867Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:42676)/Active"] +2026-10-11T17:23:03.355097Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:23:03.355141Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-27/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-27/ready.txt new file mode 100644 index 0000000000..486059e43a --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-27/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=42676 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-27/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-27/server.log new file mode 100644 index 0000000000..0a22667f32 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-27/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:23:03.076507Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=42676 direct=["10.200.0.1:42676", "10.200.0.2:42676", "127.0.0.1:42676"] +2026-10-11T17:23:03.109198Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:49909) alpns=["n30/allowlist/0"] +2026-10-11T17:23:03.145441Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:03.146365Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(129929605814992) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:42676, 10.200.0.2:42676, 127.0.0.1:42676} +2026-10-11T17:23:03.146719Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(129929605814992) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:03.147367Z DEBUG RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: connections are not good enough, triggering holepunching +2026-10-11T17:23:03.148000Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:03.148124Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:23:03.149183Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:03.149303Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:49909)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-28/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-28/client.log new file mode 100644 index 0000000000..e2b1bd80fa --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-28/client.log @@ -0,0 +1,24 @@ +2026-10-11T17:23:04.014770Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:33372] +2026-10-11T17:23:04.015420Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:04.015566Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:23:04.015672Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:23:04.015695Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:23:04.015723Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:23:04.017206Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:33372)] +2026-10-11T17:23:04.035771Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(102110772926176) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:40347, 10.200.0.2:40347, 127.0.0.1:40347} +2026-10-11T17:23:04.036553Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=21.655964 remote_info=["Ip(127.0.0.1:33372)/Active"] +2026-10-11T17:23:04.052041Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(102110772926176) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:04.052246Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(102110772926176) evt=Ok(AddressAdded(127.0.0.1:33372)) +2026-10-11T17:23:04.052237Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=37.340927 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:33372)/Active"] +2026-10-11T17:23:04.052338Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37021, tv_nsec: 475095136 }, local_candidates: {10.200.0.1:40347, 10.200.0.2:40347, 127.0.0.1:40347}, remote_candidates: {} } local_candidates={10.200.0.1:40347, 10.200.0.2:40347, 127.0.0.1:40347} remote_candidates={10.200.0.1:33372, 10.200.0.2:33372, 127.0.0.1:33372} +2026-10-11T17:23:04.052402Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:23:04.052464Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(102110772926176) evt=Ok(AddressAdded(10.200.0.2:33372)) +2026-10-11T17:23:04.052499Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37021, tv_nsec: 475095136 }, local_candidates: {10.200.0.1:40347, 10.200.0.2:40347, 127.0.0.1:40347}, remote_candidates: {} } local_candidates={10.200.0.1:40347, 10.200.0.2:40347, 127.0.0.1:40347} remote_candidates={10.200.0.1:33372, 10.200.0.2:33372, 127.0.0.1:33372} +2026-10-11T17:23:04.052539Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:23:04.052582Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(102110772926176) evt=Ok(AddressAdded(10.200.0.1:33372)) +2026-10-11T17:23:04.052624Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37021, tv_nsec: 475095136 }, local_candidates: {10.200.0.1:40347, 10.200.0.2:40347, 127.0.0.1:40347}, remote_candidates: {} } local_candidates={10.200.0.1:40347, 10.200.0.2:40347, 127.0.0.1:40347} remote_candidates={10.200.0.1:33372, 10.200.0.2:33372, 127.0.0.1:33372} +2026-10-11T17:23:04.052659Z DEBUG RemoteStateActor{remote=8a88e3dd74}:do_holepunching: iroh::socket::remote_map::remote_state: failed to initiate NAT traversal: The connection is already closed +2026-10-11T17:23:04.052763Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:04.253339Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:33372)/Active"] +2026-10-11T17:23:04.253514Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:23:04.253560Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-28/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-28/ready.txt new file mode 100644 index 0000000000..7e81bdaa3a --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-28/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=33372 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-28/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-28/server.log new file mode 100644 index 0000000000..9a2c66c882 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-28/server.log @@ -0,0 +1,8 @@ +2026-10-11T17:23:03.989814Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=33372 direct=["10.200.0.1:33372", "10.200.0.2:33372", "127.0.0.1:33372"] +2026-10-11T17:23:04.018178Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:40347) alpns=["n30/allowlist/0"] +2026-10-11T17:23:04.048813Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:04.049058Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(123653719069344) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:33372, 10.200.0.2:33372, 127.0.0.1:33372} +2026-10-11T17:23:04.049146Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(123653719069344) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:04.049313Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:23:04.049919Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:04.050133Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:40347)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-29/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-29/client.log new file mode 100644 index 0000000000..03b1f966ad --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-29/client.log @@ -0,0 +1,14 @@ +2026-10-11T17:23:04.902994Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:36032] +2026-10-11T17:23:04.903591Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:04.903711Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:23:04.903816Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:23:04.903835Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:23:04.903858Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:23:04.905347Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:36032)] +2026-10-11T17:23:04.924545Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(103972893417632) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:48673, 10.200.0.2:48673, 127.0.0.1:48673} +2026-10-11T17:23:04.925076Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=21.957144000000003 remote_info=["Ip(127.0.0.1:36032)/Active"] +2026-10-11T17:23:04.940940Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:04.941100Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=37.980548000000006 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(127.0.0.1:36032)/Active"] +2026-10-11T17:23:05.142568Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(127.0.0.1:36032)/Active"] +2026-10-11T17:23:05.143001Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:23:05.143075Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-29/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-29/ready.txt new file mode 100644 index 0000000000..9bd1a82bb6 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-29/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=36032 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-29/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-29/server.log new file mode 100644 index 0000000000..614922939e --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-29/server.log @@ -0,0 +1,10 @@ +2026-10-11T17:23:04.882701Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=36032 direct=["10.200.0.1:36032", "10.200.0.2:36032", "127.0.0.1:36032"] +2026-10-11T17:23:04.906175Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:48673) alpns=["n30/allowlist/0"] +2026-10-11T17:23:04.938983Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:04.939158Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:23:04.939184Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:23:04.939537Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(124224144413856) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:36032, 10.200.0.2:36032, 127.0.0.1:36032} +2026-10-11T17:23:04.939644Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(124224144413856) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:04.939837Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:23:04.940427Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:04.940540Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:48673)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-30/client.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-30/client.log new file mode 100644 index 0000000000..dcc9ef579d --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-30/client.log @@ -0,0 +1,35 @@ +2026-10-11T17:23:05.834464Z INFO harness: dialing with one loopback hint role="client" event="start" me=ed4928c628 kind=connect ticket=[127.0.0.1:40694] +2026-10-11T17:23:05.835125Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:05.835284Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=ResolveRemote(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state::path_state: added addressing information +2026-10-11T17:23:05.835403Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: local addrs updated, triggering holepunching +2026-10-11T17:23:05.835427Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no connections +2026-10-11T17:23:05.835455Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: Address Lookup not configured +2026-10-11T17:23:05.837315Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=SendDatagram(..) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: sending datagram to all known paths paths=[Ip(127.0.0.1:40694)] +2026-10-11T17:23:05.860814Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_message{msg=AddConnection(104985259257664) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:35065, 10.200.0.2:35065, 127.0.0.1:35065} +2026-10-11T17:23:05.861556Z INFO harness: connect() returned a Connection role="client" event="connect_ok" elapsed_ms=26.951155 remote_info=["Ip(127.0.0.1:40694)/Active"] +2026-10-11T17:23:05.875726Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(104985259257664) event=Ok(RemoteStatus { id: PathId(0), status: Available })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:05.875844Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(104985259257664) evt=Ok(AddressAdded(127.0.0.1:40694)) +2026-10-11T17:23:05.875913Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37023, tv_nsec: 300142105 }, local_candidates: {10.200.0.1:35065, 10.200.0.2:35065, 127.0.0.1:35065}, remote_candidates: {} } local_candidates={10.200.0.1:35065, 10.200.0.2:35065, 127.0.0.1:35065} remote_candidates={10.200.0.1:40694, 10.200.0.2:40694, 127.0.0.1:40694} +2026-10-11T17:23:05.876027Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(104985259257664) evt=Ok(AddressAdded(10.200.0.2:40694)) +2026-10-11T17:23:05.876057Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37023, tv_nsec: 315101583 }, local_candidates: {10.200.0.1:35065, 10.200.0.2:35065, 127.0.0.1:35065}, remote_candidates: {10.200.0.1:40694, 10.200.0.2:40694, 127.0.0.1:40694} } local_candidates={10.200.0.1:35065, 10.200.0.2:35065, 127.0.0.1:35065} remote_candidates={10.200.0.1:40694, 10.200.0.2:40694, 127.0.0.1:40694} +2026-10-11T17:23:05.876092Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999906363s +2026-10-11T17:23:05.876120Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: remote addrs updated, triggering holepunching id=ConnId(104985259257664) evt=Ok(AddressAdded(10.200.0.1:40694)) +2026-10-11T17:23:05.876141Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: candidates to holepunch? last_hp=HolepunchAttempt { when: Instant { tv_sec: 37023, tv_nsec: 315101583 }, local_candidates: {10.200.0.1:35065, 10.200.0.2:35065, 127.0.0.1:35065}, remote_candidates: {10.200.0.1:40694, 10.200.0.2:40694, 127.0.0.1:40694} } local_candidates={10.200.0.1:35065, 10.200.0.2:35065, 127.0.0.1:35065} remote_candidates={10.200.0.1:40694, 10.200.0.2:40694, 127.0.0.1:40694} +2026-10-11T17:23:05.876179Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: not holepunching: no new addresses scheduled_in=4.999816562s +2026-10-11T17:23:05.881391Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(104985259257664) event=Ok(Established { id: PathId(1) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:05.881522Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(104985259257664) event=Ok(Established { id: PathId(1) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:40694, local: Some(127.0.0.1) }) +2026-10-11T17:23:05.881557Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(104985259257664) event=Ok(Established { id: PathId(1) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.1:40694, local: Some(10.200.0.1) } conn_id=104985259257664 path_id=1 +2026-10-11T17:23:05.881680Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(104985259257664) event=Ok(Established { id: PathId(2) })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:05.881725Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(104985259257664) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:40694, local: Some(127.0.0.1) }) +2026-10-11T17:23:05.881748Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(104985259257664) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.2:40694, local: Some(10.200.0.2) } conn_id=104985259257664 path_id=2 +2026-10-11T17:23:05.881781Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(104985259257664) event=Ok(Established { id: PathId(2) })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.1:40694, local: Some(10.200.0.1) } conn_id=104985259257664 path_id=1 +2026-10-11T17:23:05.882138Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(104985259257664) event=Ok(Abandoned { id: PathId(1), reason: ApplicationClosed { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:05.882215Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(104985259257664) event=Ok(Abandoned { id: PathId(1), reason: ApplicationClosed { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:40694, local: Some(127.0.0.1) }) +2026-10-11T17:23:05.882245Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(104985259257664) event=Ok(Abandoned { id: PathId(1), reason: ApplicationClosed { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: closing direct path path_fourtuple=Ip { remote: 10.200.0.2:40694, local: Some(10.200.0.2) } conn_id=104985259257664 path_id=2 +2026-10-11T17:23:05.882317Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(104985259257664) event=Ok(Abandoned { id: PathId(2), reason: ApplicationClosed { error_code: 62 } })}: iroh::socket::remote_map::remote_state: path event +2026-10-11T17:23:05.882348Z TRACE RemoteStateActor{remote=8a88e3dd74}:handle_path_event{conn_id=ConnId(104985259257664) event=Ok(Abandoned { id: PathId(2), reason: ApplicationClosed { error_code: 62 } })}:select_path: iroh::socket::remote_map::remote_state: keeping current path current_path=Some(Ip { remote: 127.0.0.1:40694, local: Some(127.0.0.1) }) +2026-10-11T17:23:05.882986Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:05.883304Z INFO harness: peer closed role="client" event="closed_by_peer" elapsed_ms=48.701276 why=closed by peer: not on allowlist (code 4097) dbg=ApplicationClosed(ApplicationClose { error_code: 4097, reason: b"not on allowlist" }) remote_info=["Ip(10.200.0.2:40694)/Inactive", "Ip(10.200.0.1:40694)/Inactive", "Ip(127.0.0.1:40694)/Active"] +2026-10-11T17:23:06.085508Z INFO harness: final snapshot role="client" event="remote_info_final" remote_info=["Ip(10.200.0.2:40694)/Inactive", "Ip(10.200.0.1:40694)/Inactive", "Ip(127.0.0.1:40694)/Active"] +2026-10-11T17:23:06.085665Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor cancelled +2026-10-11T17:23:06.085718Z TRACE RemoteStateActor{remote=8a88e3dd74}: iroh::socket::remote_map::remote_state: actor terminating diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-30/ready.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-30/ready.txt new file mode 100644 index 0000000000..898dbb824c --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-30/ready.txt @@ -0,0 +1,2 @@ +id=8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c +port=40694 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-30/server.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-30/server.log new file mode 100644 index 0000000000..5d200a2c7d --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/logs/multi-refuse/run-30/server.log @@ -0,0 +1,8 @@ +2026-10-11T17:23:05.818731Z INFO harness: bound role="server" event="ready" mode=Refuse id=8a88e3dd74 port=40694 direct=["10.200.0.1:40694", "10.200.0.2:40694", "127.0.0.1:40694"] +2026-10-11T17:23:05.838307Z INFO harness: first Initial packet; no EndpointId is known yet role="server" event="incoming" remote=Ip(127.0.0.1:35065) alpns=["n30/allowlist/0"] +2026-10-11T17:23:05.874272Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: actor started +2026-10-11T17:23:05.874917Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(137900729572048) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: updated local QNT addresses direct_addrs={10.200.0.1:40694, 10.200.0.2:40694, 127.0.0.1:40694} +2026-10-11T17:23:05.875053Z TRACE RemoteStateActor{remote=ed4928c628}:handle_message{msg=AddConnection(137900729572048) send_tasks=FuturesUnorderedBounded { len: 0, .. }}: iroh::socket::remote_map::remote_state: not holepunching: no client connection +2026-10-11T17:23:05.879654Z INFO harness: hook runs role="server" event="after_handshake" peer=ed4928c628 allowed=false enforce=true +2026-10-11T17:23:05.880072Z TRACE RemoteStateActor{remote=ed4928c628}: iroh::socket::remote_map::remote_state: last connection closed - clearing selected_path +2026-10-11T17:23:05.880164Z INFO harness: no Connection was handed to the application role="server" event="handshake_refused" peer=Some("ed4928c628") error=Connection was rejected locally dbg=Connection was rejected locally remote_info_after_refusal=["Ip(127.0.0.1:35065)/Active"] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/src/main.rs b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/src/main.rs new file mode 100644 index 0000000000..547d77b460 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/iroh-allowlist/src/main.rs @@ -0,0 +1,322 @@ +//! N30 spike: refusing an unlisted EndpointId in iroh 1.3.0. +//! +//! Two roles, run as two processes in one network namespace (lab/run.sh), so each side logs only +//! what it saw. Logs go to stderr with wall-clock timestamps; lab/summarize.py merges them. +//! +//! iroh-allowlist-spike server --bind IP:0 --mode refuse|app|filter --ready FILE +//! iroh-allowlist-spike client --seed N --bind IP:0 --kind connect|stream --ticket FILE +//! +//! Server modes: +//! refuse EndpointHooks::after_handshake rejects ids that are not on the allowlist. This is the +//! only hook that sees the peer's EndpointId. +//! app after_handshake accepts everyone. The first bi stream is checked against the list. +//! filter Incoming::refuse() before any handshake, for everyone. No identity is available here. +//! +//! Fixed seeds, so the allowlist is explicit: server 1, allowed client 2, unlisted client 3. + +use std::{ + collections::HashSet, + future::Future, + net::SocketAddr, + path::{Path, PathBuf}, + sync::{Arc, Mutex}, + time::{Duration, Instant}, +}; + +use anyhow::{Context, Result, bail}; +use iroh::{ + Endpoint, EndpointAddr, EndpointId, RelayMode, SecretKey, + endpoint::{AfterHandshakeOutcome, Connection, EndpointHooks, VarInt, presets}, +}; +use tracing::info; +use tracing_subscriber::EnvFilter; + +const ALPN: &[u8] = b"n30/allowlist/0"; +const SERVER_SEED: u8 = 1; +const ALLOWED_SEED: u8 = 2; +// Codes sent in CONNECTION_CLOSE, so the refused side can name the refusal. +const HOOK_CLOSE: u32 = 0x1001; +const APP_CLOSE: u32 = 0x1002; + +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +enum Mode { + Refuse, + App, + Filter, +} + +fn seed_key(seed: u8) -> SecretKey { + SecretKey::from_bytes(&[seed; 32]) +} + +fn arg(args: &[String], name: &str) -> Result { + let flag = format!("--{name}"); + let i = args + .iter() + .position(|a| a == &flag) + .with_context(|| format!("missing {flag}"))?; + args.get(i + 1) + .cloned() + .with_context(|| format!("{flag} needs a value")) +} + +/// Addresses the endpoint holds for `id` right now, with their usage. +async fn snapshot(ep: &Endpoint, id: EndpointId) -> Vec { + match ep.remote_info(id).await { + Some(info) => info + .addrs() + .map(|a| format!("{:?}/{:?}", a.addr(), a.usage())) + .collect(), + None => vec!["".to_string()], + } +} + +/// Runs in `EndpointHooks::after_handshake`. The TLS handshake is done, so the peer's id is known. +#[derive(Debug)] +struct Gate { + allowed: Arc>, + enforce: bool, + last_peer: Arc>>, +} + +impl EndpointHooks for Gate { + fn after_handshake<'a>( + &'a self, + conn: &'a Connection, + ) -> impl Future + Send + 'a { + async move { + let peer = conn.remote_id(); + *self.last_peer.lock().unwrap() = Some(peer); + let allowed = self.allowed.contains(&peer); + info!(target: "harness", role = "server", event = "after_handshake", peer = %peer.fmt_short(), allowed, enforce = self.enforce, "hook runs"); + if self.enforce && !allowed { + AfterHandshakeOutcome::Reject { + error_code: VarInt::from_u32(HOOK_CLOSE), + reason: b"not on allowlist".to_vec(), + } + } else { + AfterHandshakeOutcome::Accept + } + } + } +} + +async fn server(args: &[String]) -> Result<()> { + let bind = arg(args, "bind")?; + let mode = match arg(args, "mode")?.as_str() { + "refuse" => Mode::Refuse, + "app" => Mode::App, + "filter" => Mode::Filter, + other => bail!("unknown --mode {other}"), + }; + let ready = PathBuf::from(arg(args, "ready")?); + let allowed: Arc> = + Arc::new([seed_key(ALLOWED_SEED).public()].into_iter().collect()); + let last_peer = Arc::new(Mutex::new(None)); + + let server = Endpoint::builder(presets::Minimal) + .secret_key(seed_key(SERVER_SEED)) + .relay_mode(RelayMode::Disabled) + .clear_ip_transports() + .bind_addr(bind.as_str())? + .alpns(vec![ALPN.to_vec()]) + .hooks(Gate { + allowed: allowed.clone(), + enforce: mode == Mode::Refuse, + last_peer: last_peer.clone(), + }) + .bind() + .await?; + + // Give the interface scan time to finish, so the candidate set is complete before a peer dials. + tokio::time::sleep(Duration::from_millis(300)).await; + let port = server + .bound_sockets() + .first() + .context("no bound socket")? + .port(); + let direct: Vec = server.addr().ip_addrs().map(|a| a.to_string()).collect(); + info!(target: "harness", role = "server", event = "ready", mode = ?mode, id = %server.id().fmt_short(), port, direct = ?direct, "bound"); + let tmp = ready.with_extension("tmp"); + std::fs::write(&tmp, format!("id={}\nport={}\n", server.id(), port))?; + std::fs::rename(&tmp, &ready)?; + + loop { + let Some(incoming) = server.accept().await else { + break; + }; + // ALPNs from the ClientHello in the Initial packet: the only peer data readable before the handshake. + let alpns: Vec = incoming + .decrypt() + .and_then(|d| d.alpns()) + .map(|it| { + it.map(|r| match r { + Ok(b) => String::from_utf8_lossy(&b).into_owned(), + Err(_) => "".to_string(), + }) + .collect() + }) + .unwrap_or_default(); + info!(target: "harness", role = "server", event = "incoming", remote = ?incoming.remote_addr(), alpns = ?alpns, "first Initial packet; no EndpointId is known yet"); + if mode == Mode::Filter { + info!(target: "harness", role = "server", event = "refused_before_handshake", "Incoming::refuse()"); + incoming.refuse(); + continue; + } + let accepting = match incoming.accept() { + Ok(accepting) => accepting, + Err(err) => { + info!(target: "harness", role = "server", event = "accept_error", error = %err, "Incoming::accept failed"); + continue; + } + }; + let ep = server.clone(); + let allowed = allowed.clone(); + let last_peer = last_peer.clone(); + tokio::spawn(async move { + match accepting.await { + Ok(conn) => serve(conn, &ep, mode, &allowed).await, + Err(err) => { + let peer = *last_peer.lock().unwrap(); + let known = match peer { + Some(p) => snapshot(&ep, p).await, + None => vec!["".to_string()], + }; + info!(target: "harness", role = "server", event = "handshake_refused", peer = ?peer.map(|p| p.fmt_short().to_string()), error = %err, dbg = ?err, remote_info_after_refusal = ?known, "no Connection was handed to the application"); + } + } + }); + } + Ok(()) +} + +/// The application side of a connection that the hook accepted. +async fn serve(conn: Connection, ep: &Endpoint, mode: Mode, allowed: &HashSet) { + let peer = conn.remote_id(); + let ok = allowed.contains(&peer); + let at_handoff = snapshot(ep, peer).await; + info!(target: "harness", role = "server", event = "application_has_connection", peer = %peer.fmt_short(), allowed = ok, remote_info = ?at_handoff, "Connection handed to the application"); + match tokio::time::timeout(Duration::from_secs(10), conn.accept_bi()).await { + Ok(Ok((mut send, mut recv))) => { + let line = recv.read_to_end(256).await.unwrap_or_default(); + let at_stream = snapshot(ep, peer).await; + info!(target: "harness", role = "server", event = "stream_opened", peer = %peer.fmt_short(), first_bytes = %String::from_utf8_lossy(&line).trim_end(), remote_info = ?at_stream, "stream from peer"); + if ok { + let _ = send.write_all(b"welcome\n").await; + let _ = send.finish(); + } else if mode == Mode::App { + let at_refusal = snapshot(ep, peer).await; + info!(target: "harness", role = "server", event = "app_refusal", peer = %peer.fmt_short(), remote_info = ?at_refusal, "refusing after the stream opened"); + conn.close(VarInt::from_u32(APP_CLOSE), b"not on allowlist"); + } + } + Ok(Err(err)) => { + info!(target: "harness", role = "server", event = "accept_bi_error", error = %err, "no stream") + } + Err(_) => info!(target: "harness", role = "server", event = "accept_bi_timeout", "no stream within 10 s"), + } + let why = conn.closed().await; + info!(target: "harness", role = "server", event = "connection_closed", why = %why, "closed"); +} + +fn read_ready(path: &Path) -> Result<(EndpointId, u16)> { + let text = std::fs::read_to_string(path) + .with_context(|| format!("reading {}", path.display()))?; + let field = |key: &str| -> Result { + text.lines() + .find_map(|l| l.strip_prefix(&format!("{key}="))) + .map(str::to_string) + .with_context(|| format!("no {key}= in {}", path.display())) + }; + Ok((field("id")?.parse()?, field("port")?.parse()?)) +} + +async fn client(args: &[String]) -> Result<()> { + let seed: u8 = arg(args, "seed")?.parse()?; + let bind = arg(args, "bind")?; + let kind = arg(args, "kind")?; + let (server_id, port) = read_ready(Path::new(&arg(args, "ticket")?))?; + + let ep = Endpoint::builder(presets::Minimal) + .secret_key(seed_key(seed)) + .relay_mode(RelayMode::Disabled) + .clear_ip_transports() + .bind_addr(bind.as_str())? + .bind() + .await?; + // The ticket: the server's EndpointId and one loopback address. Nothing else. + let ticket = + EndpointAddr::new(server_id).with_ip_addr(SocketAddr::from(([127, 0, 0, 1], port))); + info!(target: "harness", role = "client", event = "start", me = %ep.id().fmt_short(), kind = %kind, ticket = ?ticket.ip_addrs().collect::>(), "dialing with one loopback hint"); + + let t0 = Instant::now(); + let conn = match ep.connect(ticket, ALPN).await { + Ok(conn) => { + let known = snapshot(&ep, server_id).await; + info!(target: "harness", role = "client", event = "connect_ok", elapsed_ms = t0.elapsed().as_secs_f64() * 1000.0, remote_info = ?known, "connect() returned a Connection"); + conn + } + Err(err) => { + info!(target: "harness", role = "client", event = "connect_err", elapsed_ms = t0.elapsed().as_secs_f64() * 1000.0, error = %err, dbg = ?err, "connect() failed"); + ep.close().await; + return Ok(()); + } + }; + + if kind == "stream" { + match conn.open_bi().await { + Ok((mut send, mut recv)) => { + let _ = send.write_all(b"hello\n").await; + let _ = send.finish(); + match recv.read_to_end(256).await { + Ok(bytes) => { + info!(target: "harness", role = "client", event = "stream_reply", elapsed_ms = t0.elapsed().as_secs_f64() * 1000.0, reply = %String::from_utf8_lossy(&bytes).trim_end(), "reply") + } + Err(err) => { + info!(target: "harness", role = "client", event = "stream_error", elapsed_ms = t0.elapsed().as_secs_f64() * 1000.0, error = %err, dbg = ?err, "reading reply failed") + } + } + } + Err(err) => { + info!(target: "harness", role = "client", event = "open_bi_error", elapsed_ms = t0.elapsed().as_secs_f64() * 1000.0, error = %err, dbg = ?err, "open_bi failed") + } + } + } + + // Wait for the server to close. If it does not within 3 s, close from this side. + match tokio::time::timeout(Duration::from_secs(3), conn.closed()).await { + Ok(why) => { + let known = snapshot(&ep, server_id).await; + info!(target: "harness", role = "client", event = "closed_by_peer", elapsed_ms = t0.elapsed().as_secs_f64() * 1000.0, why = %why, dbg = ?why, remote_info = ?known, "peer closed") + } + Err(_) => { + conn.close(VarInt::from_u32(0), b"client done"); + info!(target: "harness", role = "client", event = "closed_locally", elapsed_ms = t0.elapsed().as_secs_f64() * 1000.0, "no close from peer in 3 s; closed here") + } + } + tokio::time::sleep(Duration::from_millis(200)).await; + let final_info = snapshot(&ep, server_id).await; + info!(target: "harness", role = "client", event = "remote_info_final", remote_info = ?final_info, "final snapshot"); + ep.close().await; + Ok(()) +} + +#[tokio::main] +async fn main() -> Result<()> { + let filter = EnvFilter::try_from_default_env().unwrap_or_else(|_| { + EnvFilter::new( + "harness=info,iroh::socket::remote_map::remote_state=trace,iroh=warn,noq_proto=warn", + ) + }); + tracing_subscriber::fmt() + .with_env_filter(filter) + .with_ansi(false) + .with_writer(std::io::stderr) + .init(); + let args: Vec = std::env::args().collect(); + match args.get(1).map(String::as_str) { + Some("server") => server(&args[2..]).await, + Some("client") => client(&args[2..]).await, + _ => bail!("usage: iroh-allowlist-spike server|client ..."), + } +} diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/RESULTS.md b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/RESULTS.md new file mode 100644 index 0000000000..4fa9605fb9 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/RESULTS.md @@ -0,0 +1,312 @@ +# Range parameters K and T, and range sync versus LogSync + +Date: 2026-10-11. Folder: `/home/user/work/research-round2/range-config/`. Harness: `harness/`, a copy of S7 with the additions listed under "Harness changes". Logs: `harness/logs/`. Labels: **verified** (I saw it in output or read it in the code), **inferred** (reasoned from verified facts), **not checked**. + +## Questions (verbatim) + +Owner, verbatim: + +1. "n6 can these things be configurable or will that cause compat impacts?" +2. "i'm ok with range above crossover but i want to better understand what the tradeoffs are." + +The owner's "these things" are K (fan-out) and T (leaf threshold), and "range above crossover" is N5 ("Range sync above about 40 chains; LogSync below (confirm the crossover in S7)"). Index: `/home/user/work/integrated/doc/2026-10-11T11-08-42Z_design_remaining_work/2026-10-11T11-08-42Z_design_remaining_work.md:93,94`. + +Parent's task, as assigned: + +1. Read the S7 range code. What does each range message carry (explicit bounds, a per-range mode)? Are K and T wire parameters or local split policy? Does a receiver need the sender's K and T? Can two peers with different K and T converge? +2. Copy the S7 harness. Run the real sync between two stores with (K=16, T=16) on one side and (K=4, T=8) on the other, and with both sides at (K=2, T=4) and at (K=32, T=32). Check that both stores are equal afterwards, with no duplicate inserts and no missed events. Record bytes, flights and time. Small deterministic workload, under about five minutes. +3. Compare LogSync and range on round trips, bytes, CPU, memory, code to maintain, failure modes, many chains, few new events, equal stores and large diffs, using the S1 and S7 numbers. Propose the selection rule for "range above the crossover", and say what the initiator must know (chain count, estimate of the difference, last-sync time). +4. Protocol versioning: what a change to K or T requires; what a change to the fingerprint function or the bounds encoding requires (a version bump or not); what the protocol ID string should carry. + +## Short answers + +**Owner 1 (configurable, compat?).** Yes, K and T can be per-node settings with no wire impact. They are local split policy: they never appear on the wire, and a node uses only its own values when it answers a message (verified: `range.rs:96,110,115`, `session.rs:119`). Pairs with different values converge exactly: K16/T16 against K4/T8, and the other pairs in Table O2, end with equal stores, no duplicate inserts, no missed events, and a wire run that matches the in-memory run byte for byte (verified, 9 wire configurations). The risk is validation, not the wire. K must be at least 2: `range.rs:97` panics otherwise (verified, K=1). T must be at least 1: with T=0, two single keys that differ never terminate (verified, panic after 10,000 flights). Changing the fingerprint, the bounds encoding, the key layout, the framing, the leaf ID width or the mode bytes is a wire change and needs a new protocol ID (Q4). + +**Owner 2 (tradeoffs of range above the crossover).** Measured, the crossover is not 40 chains. S1's 40-chain figure is for 2 new events only (S1 RESULTS line 85). In control bytes, range overtakes LogSync at about 3.5 percent of the chain count: 33 new events at 1,000 chains, about 360 at 10,000 (S7 RESULTS lines 173–175). Above that, range's control grows at 1.6 to 2.5 KB per new event, while LogSync's stays at 76 bytes per chain. Range/LogSync control ratio at 1,000 chains: 0.67 at 2 percent of chains, 1.19 at 4 percent, 4.66 at 20 percent (Table O3). What range costs, beyond bytes: 7 to 9 flights against 2 for LogSync, which is 2.5 to 3.5 more round trips before data starts (inferred from alternating flights, RTT not measured). Per session it holds an in-memory index of every event: 88 bytes per event, measured RSS 88 to 92 bytes per event (verified, `mixed frame`), and an index build of 21–26 ms at 1,000 chains and 153–183 ms at 10,000 (S7 RESULTS lines 292–293). What range buys: a flat cost when the stores are equal (33 bytes, against 76 KB for LogSync), detection of interior sequence gaps (LogSync cannot see them: verified by `compare_logs`), and detection of forks (LogSync cannot see those either). Two failure modes must be handled before range is relied on. A single conflicting event aborts the batch it sits in, and the 20 unrelated events in that batch were lost (verified, E3d). A single flight above about 524,288 IDs exceeds the 16 MiB frame limit (verified in memory), so a bootstrap of a larger store fails in either direction. + +**Q1 (what a range message carries; K and T).** Each message is a list of entries. Each entry carries an explicit upper bound, a key prefix with a one-byte length (zero means +infinity), and a mode: skip, fingerprint (a 16-byte XOR and a count), or an ID list (32-byte IDs, with a reply flag) (verified: `range.rs:18–30`, `range.rs:173–201`). The lower bound is not sent: it is the previous entry's upper bound (`range.rs:99,143`). K and T appear only inside `respond` (`range.rs:96–146`), never in `encode` or `decode` (`range.rs:173–261`). A receiver needs nothing from the sender beyond the message itself. Different K and T on the two peers converge (verified on real stores). + +**Q2 (exactness with mixed and extreme K/T).** All nine wire configurations passed, including the calibration row. Each store ended with the other's events, there were zero duplicate inserts, each side learned exactly the symmetric difference, and the wire flights and bytes matched the in-memory run exactly (Table O2, verified). Control bytes at 1,000 chains with 20 new events on each side: K2/T4 66,001 (18 flights); K4/T8 56,761 (11); K16/T16 89,698 (7); K32/T32 125,180 (7). Mixed: K16/T16 to K4/T8 72,062 (9 flights); K4/T8 to K16/T16 79,200 (8). Among these, K4/T8 has the fewest bytes and fewer flights than K2/T4, which agrees with S7's recommendation. Wall times are indicative only, because other agents share this host. + +**Q3 (LogSync versus range, selection rule).** Proposed rule, labelled inferred from the measured crossover: +- **Bootstrap** (no completed sync with this peer): LogSync, once a redb `LogStore` adapter exists. It needs 2 flights and about 76 bytes per chain of control. Until then, range with K16/T16, which costs 6.5 percent extra bytes and 4–5 flights, and which fails above about 524,288 events (see Q4 and Table O4). +- **Otherwise**: LogSync when the estimated number of events the two sides disagree on, D, is above about 0.035 times the local chain count C. Range (K16/T16) below that. +- **What the initiator must know**: C (its own chain count, from its index); D (an estimate: events it created since the last sync with this peer, plus events it received from this peer since then, which is a lower bound because the peer's new events are unknown before the first exchange); and T_last, the time of the last completed sync with this peer, which tells bootstrap from steady state. A margin on D is advisable. + +**Q4 (versioning).** Table O5 has the full list. A change to K or T needs no protocol change, only validation (K at least 2, T at least 1). A change to the fingerprint function, the bounds encoding, the key layout, the framing, the leaf ID width, the mode bytes or the frame-size limit is wire-visible and needs a new ALPN, `/id-sync/2`. The separator choice and the batch size are local. The protocol ID should carry the wire-format version only, never K, T or batch. The message has no in-band version field: the first bytes are the entry count (`range.rs:175`), so the ALPN is the only negotiation point. + +## Evidence + +### E1. Environment and commands + +- Toolchain: `rustup which --toolchain 1.97.0 cargo` (`/home/user/.rustup/toolchains/1.97.0-x86_64-unknown-linux-gnu/bin/cargo`). Pinned p2panda rev `3e84cac48bba05c6857cce2ec433862b97f8d53c` (verified: `/home/user/work/spikes/Cargo.toml:11–16`). `CARGO_TARGET_DIR=/home/user/work/spikes/target`, as the brief says for pinned crates. This is the only write outside my folder, and it is a build cache. +- Build: `cargo build --release --bin mixed` in `harness/`. Succeeded, no warnings in the tail of the output. +- Wire runs under `unshare -Urn sh -c "ip link set lo up && …"`, because iroh binds to 127.0.0.1 (verified: loopback comes up in the namespace). +- In-memory runs: `mixed tzero`, `mixed gap`, `mixed frame 50000|524000|550000`, `mixed frame-empty 50000|550000`. +- Wire runs: `mixed pairs data 1000 3`, `mixed bootstrap data 1000`, `mixed fork data 1000`. +- Base store: `data/base-1000.redb`, built by the same generator as S7 (`chain.rs:63–79`): 1,000 chains of 50 events, 50,000 events. Deleted after the runs. +- All logs are in `harness/logs/` (`pairs-1k.txt`, `bootstrap-1k.txt`, `fork-1k.txt`, `tzero.txt`, `gap.txt`, `frame.txt`, `frame-empty.txt`). The stderr files are empty except `tzero.stderr`, which holds the expected panic messages. +- Total runtime of all runs: under two minutes. + +### E2. Code reading for Q1 (S7 original, `/home/user/work/spikes-next/s7-range-real/src/`) + +| Item | Where | Note | +|---|---|---| +| Modes: Skip, Fp{fp,count}, Ids{ids,reply} | `range.rs:18–23` | verified | +| Entry: upper bound, mode | `range.rs:25–30` | verified | +| Fingerprint: XOR of 16-byte truncations (implicit, by `zip`) | `range.rs:45–58`, zip at `:52` | verified | +| Counts and fingerprint over a prefix-partitioned index | `range.rs:69–79` | verified | +| Separator: shortest prefix that sorts above the previous key | `range.rs:82–86` | verified | +| `respond(msg, thresh=T, k=K)`: the only place K and T are used | `range.rs:96–146`, K assert `:97`, leaf rule `:110`, split `:113–128` | verified | +| Leaf reply: the responder replies with its own IDs for the range, unbounded by T | `range.rs:131–141`, IDs at `:135–137` | verified | +| Lower bound is the previous upper bound | `range.rs:99`, `:143` | verified | +| Wire encoding: entry count, bound (length byte, 0 = +inf), mode byte, payload | `range.rs:173–201` (bound length `:180`, modes `:185–197`) | verified | +| Decode rejects unknown mode bytes and trailing bytes | `range.rs:233–261` (`:255`, `:259`) | verified | +| Session: one frame per flight (u32 BE length), `write_frame` cap | `session.rs:67–72`, cap check `:68`, `flight` `:85–93` | verified | +| Session: the receiver calls `respond(&incoming, p.t, p.k)` with its own values | `session.rs:119` | verified | +| Session: the loop ends on an all-skip message | `session.rs:116–124` | verified | +| Protocol ID | `session.rs:24`: `b"/id-sync/1"`; `MAX_FRAME` at `:25` | verified | +| `sync_pair` takes one `Params` and gives it to both sides | `session.rs:224` (acceptor `:235`, dialer `:242`) | verified; this is why the harness needed `sync_pair_mixed` | +| Data phase: count frame, then one frame per record, both sides at once | `session.rs:127–192`, count check `:153`, expected and duplicate checks `:162–163` | verified | +| Store: key = author (32 B) ‖ seq (8 B, BE), `KEY_LEN` 40 | `store.rs:15`, `key_of` `:23–28` | verified | +| Store: a fork (same key, other ID) fails the batch | `store.rs:55–78`, bail at `:68` | verified | +| Store: `open` creates no tables; a read of an empty store fails | `store.rs:48–51` | verified (defect, E3e) | + +What a message carries: explicit bounds (one per entry), and a mode per range. K and T are not carried, so they are local policy. A receiver needs nothing about the sender's K or T; it applies its own split and leaf rules to its own keys. Convergence rests on the bounds being value-space points: both sides apply the same comparison to their own keys (`range.rs:69–71`), so the partition of the key space is the same on both sides, whatever K or T each uses. + +Termination (inferred from the code, not proved): a split by a party only happens when its own count exceeds T, and each child holds fewer of that party's keys. So the number of splits is bounded by the key count, provided T is at least 1. That is why T=0 is unsafe (E3b). + +### E3. Test results + +**(a) Calibration: the copy reproduces S7 exactly (verified).** One-sided 40 new events, K16/T16, 1,000 chains: 7 flights, 90,654 control bytes, 19,616 data bytes. S7's N=40 row: 7 flights, 90,654 (`S7 logs/crossover-1k.txt` line 6; RESULTS line 161). Data bytes are 40 × 490 + 16 (count frames), matching S7's 490-byte record (S7 RESULTS line 59). + +**(b) Pairs with separate parameters on both sides (verified).** 1,000 chains; the dialer adds 20 events on chains 0, 50, …, 950; the acceptor adds 20 on chains 25, 75, …, 975 (disjoint, so no fork). Each row: 3 runs, identical bytes and flights in each run. + +| Case | Dialer K,T | Acceptor K,T | Flights A+B | Control B | Data B | Checks | +|---|---|---|---|---|---|---| +| Calibration: 40 new on the dialer only | 16,16 | 16,16 | 7 (4+3) | 90,654 | 19,616 | exact, wire = in-memory | +| S7 default on both sides | 16,16 | 16,16 | 7 (4+3) | 89,698 | 19,616 | exact, wire = in-memory | +| Mixed | 16,16 | 4,8 | 9 (5+4) | 72,062 | 19,616 | exact, wire = in-memory | +| Mixed | 4,8 | 16,16 | 8 (4+4) | 79,200 | 19,616 | exact, wire = in-memory | +| Both K2 T4 | 2,4 | 2,4 | 18 (9+9) | 66,001 | 19,616 | exact, wire = in-memory | +| Both K4 T8 (S7's bulk setting) | 4,8 | 4,8 | 11 (6+5) | 56,761 | 19,616 | exact, wire = in-memory | +| Both K32 T32 | 32,32 | 32,32 | 7 (4+3) | 125,180 | 19,616 | exact, wire = in-memory | +| Mixed | 2,4 | 32,32 | 8 (4+4) | 99,603 | 19,616 | exact, wire = in-memory | +| Mixed | 32,32 | 2,4 | 9 (5+4) | 100,639 | 19,616 | exact, wire = in-memory | + +Checks, in `mixed.rs:147–240`: each side learned the exact symmetric difference (computed from the stores before the sync); inserts equal the number of events the side lacked; zero duplicate inserts; the two stores are equal afterwards; the row count equals the union. All nine rows passed on every run. + +Wall-time medians of the final run (ms, shared host, indicative only): 31.5, 23.2, 42.8, 24.0, 30.4, 42.2, 24.4, 26.5, 36.4. Earlier runs of the same harness, before the store fix, gave 8–15 ms for the same cases, so the variance is about 3×. + +**(c) Bootstrap: an empty store (verified).** 50,000 events on the full side, one run each. + +| Case | Flights A+B | Control B | Data B | Control / data | +|---|---|---|---|---| +| Full dials empty, K16/T16 | 4 (2+2) | 1,600,051 | 24,442,016 | 0.065 | +| Empty dials full, K16/T16 | 5 (3+2) | 1,601,465 | 24,442,016 | 0.066 | +| Full (K4/T8) dials empty (K16/T16) | 4 (2+2) | 1,600,051 | 24,442,016 | 0.065 | +| Empty (K16/T16) dials full (K4/T8) | 5 (3+2) | 1,600,166 | 24,442,016 | 0.065 | + +The control is 32 bytes per event: the responder answers with an empty ID list, and the other side replies with every ID in the range (`range.rs:131–137`). That reply is not bounded by T. It is one flight, and the cost is nearly the same whichever side dials. Wall times (8–13 s, single runs) are dominated by 50,000 signature verifications and 196 commits (inferred). + +**(d) Fork: a second, different event at one (author, seq) (verified).** Chain 3, seq 25: the acceptor holds a different event with the same key. Rows after the sync, dialer / acceptor: + +| Unrelated new events on the dialer | Parameters | Failures, verbatim (abridged) | Rows after, dialer / acceptor | +|---|---|---|---| +| 0 | K16/T16 | dialer: `connection lost: closed by peer: 0`; acceptor: `fork at key f22a…0019` | 50,000 / 50,000 | +| 0 | K4/T8 | dialer: `connection lost`; acceptor: `fork at key …0019` | 50,000 / 50,000 | +| 20 | K16/T16 | both: `fork at key …0019` | 50,020 / 50,000 | +| 20 | K4/T8 | both: `fork at key …0019` | 50,020 / 50,000 | + +Reading: the key is `f22a…` followed by `0000000000000019`, which is seq 25 (`store.rs:23–28`). Both sides detect the fork during the data phase. The acceptor always reports `fork at key`; the dialer reports either that or `connection lost`, depending on which error reaches it first. With 20 unrelated events in the same batch (batch size 256, `session.rs:165`), neither side commits any of them, and the sync fails without progress. The stores differ afterwards, as expected. Stores in the no-extra case are unchanged. The fork fails in every run. Later sessions should fail the same way, because the key does not move (inferred; only one session per configuration was run). + +**(e) Defect in S7's store: an empty store cannot be read (verified).** Before the fix, `mixed bootstrap` failed with `Error: Table 'author_seq' does not exist`. `Store::open` (`store.rs:48–51`) never creates the tables, and a read of a missing table fails. S7 never ran an empty store, so this was not seen. In my copy, `Store::open` now creates both tables (`harness/src/store.rs:48–59`). The original is not changed. + +**(f) Invalid parameters, in memory (verified, `mixed tzero`).** + +| Parameters (T, K) | Result | +|---|---| +| T=16, K=16 | ok, 6 flights | +| T=1, K=2 | ok, 12 flights | +| T=0, K=16 (300 keys, 3 missing) | ok, 6 flights | +| T=16, K=1 | panic: `K must be at least 2` (`range.rs:97`) | +| One key each, differing, T=0, K=16 | panic: `reconciliation did not terminate` after 10,000 flights | +| One key each, differing, T=1, K=2 | ok, 4 flights | + +T=0 does not always fail: the 300-key case converged. It fails on a single-key mismatch, because a responder with one key in a mismatched range splits into one child, which is the same range again (`range.rs:113–128` with `parts = min(k, 1) = 1`), and the loop never ends. The termination assertion is `range.rs:297` in S7 and `range.rs:327` in my copy's `simulate_mixed`. The conclusion holds: T must be at least 1. + +**(g) Frame limit and index memory, in memory (verified, `mixed frame`, `mixed frame-empty`).** + +| Events | Leaf reply, bytes (one flight) | Limit, bytes | Over | Index RSS, MiB | RSS bytes per event | +|---|---|---|---|---|---| +| 50,000 | 1,600,006 | 16,777,216 | no | 4.4 | 92 | +| 524,000 | 16,768,006 | 16,777,216 | no | 44.2 | 88 | +| 550,000 | 17,600,006 | 16,777,216 | **yes** | 46.4 | 88 | + +The reply is 32·N + 6 bytes at all three points. The limit is therefore crossed at N = 524,288. The enforcing checks are `session.rs:68` (writer) and `session.rs:78` (reader). The empty-dialer variant does not avoid it: its flight 4 (one frame carrying every child's reply) is 1,600,185 bytes at 50,000 and 17,600,201 bytes at 550,000, over the limit. Every reply in a flight goes into one frame (`session.rs:119–121`). The wire run at 550,000 was not done (inferred that it would fail the same way, from the same check). + +**(h) LogSync's completeness check, the same function it calls (verified, `mixed gap`).** LogSync decides what to send with `compare_logs(&local, &remote)` (`log_sync.rs:153`), on heights only. The function is `compare_logs`, `p2panda-core/src/logs.rs:110–162`. + +| Case (heights, local / remote) | Entries sent for the chain | Why | +|---|---|---| +| Gap at seq 20 on the remote; 49 / 49 | 0 | equal heights skip (`logs.rs:131–133`) | +| Same height, different event at seq 25 (fork); 49 / 49 | 0 | equal heights skip | +| Remote lags; 49 / 30 | 1, range (30, 49] | `logs.rs:149–157` | +| Remote has no entries; 49 / none | 1, range (none, 49] | `logs.rs:121–126` | + +So LogSync sends nothing for an interior gap or a fork, and reports no error. The check was on the function with heights supplied by hand, because there is no redb `LogStore` to read them from (not checked: a real LogSync run). + +### E4. LogSync code, for Q3 (p2panda checkout at rev 3e84cac) + +Paths are relative to `/home/user/.cargo/git/checkouts/p2panda-de6556ee3f16c1a4/3e84cac/`. The crates.io 0.7.1 in `/tmp/research/p2p-sync-wu85cK/` is a different code base (no `api.rs`, `compare` instead of `compare_logs`, a different `Logs` type), so the pins must be read against rev `3e84cac`, not 0.7.1 (verified by `diff -r`). + +| Fact | Where | Verified | +|---|---|---| +| Sequence: Have (both sides at once), then PreSync or Done, then operations, then Done | `p2panda-sync/src/protocols/log_sync.rs:120–135` (Have), `158–210` (PreSync or Done, selection `188–196`), `287–411` (operations and Done) | yes | +| Flights before data: 2 (Have, PreSync) | the same | yes (S1 RESULTS line 84 agrees) | +| Heights only: `compare_logs` decides what to send | `log_sync.rs:153`; `p2panda-core/src/logs.rs:110–162` | yes | +| Have holds every log passed in the set (one `get_log_heights` per author) | `p2panda-sync/src/api.rs:573–590` (loop `:582–587`) | yes | +| Operations streamed from the store, one stream item in memory | `api.rs:596–630` (comment `:594`); close on error `:620–627` | yes | +| Dedup buffer of 1,024 hashes | `p2panda-sync/src/dedup.rs:7` | yes | +| Strict state machine: any out-of-order message aborts the session | `log_sync.rs:148–151`, `:245–248`, `:352–354`; tests `:781–884` | yes | +| A log pruned mid-sync gives a short sync, with no error | test `log_sync.rs:888–978`, asserts `:976–977` (250 promised, 249 received) | yes (test assertion; not re-run) | +| Byte and operation counters are `u32` (overflow above 4 GiB per session) | `log_sync.rs:165–166`, `:179–180`, `:474–481` | yes (read); not reached at this scale | +| Store traits: `LogStore` (6 methods) and `OperationStore` | `p2panda-store/src/logs/traits.rs:21–89`; `p2panda-store/src/operations/traits.rs:11` | yes; redb has neither | +| S1 used `SqliteStore`, which implements both | S1 RESULTS line 97 | yes | + +### E5. Numbers from S1 and S7 + +S1 (`/home/user/work/spikes/s1-transport/RESULTS.md`): LogSync's Have is 38 bytes per chain (CBOR), 38,009 bytes at 1,000 chains; PreSync 43 bytes, Done 5 bytes (lines 74–75). Control: 76,071 bytes at 1,000 chains and 760,071 at 10,000 (S7 RESULTS line 151; `bench.rs:24–30` takes these as constants, not re-measured). Crossover at 2 new events: 35–40 chains (line 85). Range's flights: 7–19 (line 84). + +S7 (`/home/user/work/spikes-next/s7-range-real/RESULTS.md`, verified): + +| Chains, new events | Range control B | Range flights | LogSync control B (S1) | Ratio range/LogSync | +|---|---|---|---|---| +| 1,000, 0 | 33 | 2 | 76,071 | 0.0004 | +| 1,000, 2 | 6,554 | 7 | 76,071 | 0.086 | +| 1,000, 20 | 50,939 | 7 | 76,071 | 0.67 | +| 1,000, 30 | 69,314 | 7 | 76,071 | 0.91 | +| 1,000, 40 | 90,654 | 7 | 76,071 | 1.19 | +| 1,000, 100 | 200,969 | 7 | 76,071 | 2.64 | +| 1,000, 200 | 354,280 | 7 | 76,071 | 4.66 | +| 10,000, 2 | 7,422 | 8 | 760,071 | 0.0098 | +| 10,000, 20 | 63,856 | 8 | 760,071 | 0.084 | +| 10,000, 200 | 462,479 | 8 | 760,071 | 0.61 | +| 10,000, 400 | 828,508 | 8 | 760,071 | 1.09 | +| 10,000, 800 | 1,465,422 | 8 | 760,071 | 1.93 | +| 10,000, 1,600 | 2,598,113 | 8 | 760,071 | 3.42 | + +Ratios are my arithmetic on the S7 table (`RESULTS.md` lines 155–171). Crossover by linear interpolation: 33 new events at 1,000 chains (between 30 and 40), 363 at 10,000 (between 200 and 400), i.e. 3.3 and 3.6 percent of the chain count (S7 RESULTS lines 173–175). Range's control is 3.6 times data at N=200 on 1,000 chains and 4.7 times at 10,000 (S7 RESULTS lines 144–145). + +Sweeps at 1,000 chains, one-sided (S7 `logs/sweep-1k.txt`, verified): N=20: K2/T4 35,312 (18 flights), K4/T8 31,777 (11), K16/T16 50,939 (7), K32/T16 73,383 (7). N=200: K2/T4 263,470, K4/T8 236,741, K16/T16 354,280, K32/T16 492,245. The same ordering holds in my bidirectional runs, with K4/T8 cheapest in bytes. + +Equal stores: range 33 bytes and 2 flights, against 76,071 bytes and 2 flights for LogSync (S7 RESULTS lines 21–22). Index build per session: 21–26 ms at 1,000 chains, 153–183 ms at 10,000, per side (S7 lines 292–293). Known O(n) scan on the data phase at 10,000 chains (S7 lines 294–297). + +Interior sequence gap: range repairs it (one event, 7 flights), and a height comparison sees nothing (0 of 1,000 authors differ) (S7 RESULTS lines 226–228). LogSync's `compare_logs` behaves the same way (E3h). + +### E6. Code size, for "code to maintain" (verified line counts) + +Range: `range.rs` 381 lines (tests about 80 of them), `session.rs` 270, `store.rs` 138, `chain.rs` 168 (`/home/user/work/spikes-next/s7-range-real/src/`). This is our code, so we maintain it. LogSync: `log_sync.rs` 979 lines (about 530 without tests), `api.rs` 664, `dedup.rs` 116, plus an adapter to implement, which does not exist yet (not checked: its size). LogSync is upstream code at a pre-release git rev whose API differs from the published 0.7.1 (E4). + +## Options + +### Table O1. K and T as settings + +| Option | Compat impact | Verdict | +|---|---|---| +| Per-node settings, validated (K ≥ 2, T ≥ 1), not negotiated | none on the wire (verified by the mixed runs) | recommended | +| Fixed constants | none, but no tuning for bulk catch-up | acceptable fallback | +| Negotiated per session | adds a round trip and a wire change; no benefit, since the parameters are not on the wire | rejected | + +### Table O2. K/T pairs, 1,000 chains, 20 new events each side (verified) + +| Pair | Control B | Flights | Use | +|---|---|---|---| +| K2/T4 both | 66,001 | 18 | none: more bytes and far more flights than K4/T8 | +| K4/T8 both | 56,761 | 11 | bulk catch-up (fewest bytes here) | +| K16/T16 both | 89,698 | 7 | default (tied with K32/T32 for the fewest flights) | +| K32/T32 both | 125,180 | 7 | none: same flights as K16, 40% more bytes | +| K16/T16 to K4/T8 | 72,062 | 9 | mixed: about half the saving of both-sided K4/T8 | +| K4/T8 to K16/T16 | 79,200 | 8 | mixed | +| K2/T4 to K32/T32 | 99,603 | 8 | mixed, extreme | +| K32/T32 to K2/T4 | 100,639 | 9 | mixed, extreme | + +Reading: the bulk saving is worth most when both sides use it. In this workload, only the acceptor at K4/T8 saves 17,636 bytes, only the dialer at K4/T8 saves 10,498, and both at K4/T8 save 32,937. Each mixed row is one configuration, run three times with identical bytes. + +### Table O3. Range versus LogSync, by new events as a fraction of chains (verified from S7) + +| New events as % of chains | Range/LogSync control, 1,000 chains | Range/LogSync control, 10,000 chains | Flights, range / LogSync | +|---|---|---|---| +| 0.2% | 0.086 | 0.0098 (at 0.02%) / 0.084 (at 0.2%) | 7–8 / 2 | +| 2% | 0.67 | 0.61 | 7–8 / 2 | +| 3.5% (crossover) | 1.0 | 1.0 | 7–8 / 2 | +| 4% | 1.19 | 1.09 | 7–8 / 2 | +| 10% | 2.64 | 1.93 (at 8%) | 7–8 / 2 | +| 20% | 4.66 | 3.42 (at 16%) | 7–8 / 2 | + +The ratio depends on the fraction, not on the chain count, which is why the rule uses D/C. + +### Table O4. Failure modes + +| Mode | Range | LogSync | Evidence | +|---|---|---|---| +| Interior sequence gap | repaired | not seen; no transfer, no error | range: S7 (a); LogSync: E3h | +| Fork (same key, other ID) | detected; the batch fails; session aborts; neighbouring events in the batch are lost | not seen; no transfer, no error | E3d (verified) | +| Bootstrap, large | fails when a flight exceeds 16 MiB (about 524,288 IDs), either direction | 2 flights, control ~76 B per chain, no frame problem | E3g (verified in memory; wire not run at that size) | +| T = 0 | never terminates on a single-key mismatch (the in-memory run aborts at 10,000 flights) | not applicable | E3f (verified) | +| K = 1 | panic at `range.rs:97` | not applicable | E3f (verified) | +| Empty store | fails to read until tables exist (fixed in copy) | needs a `LogStore` adapter | E3e (verified) | +| Pruned log during sync | not applicable | short sync, no error | test assertion, E4 (not re-run) | +| Out-of-order message | session aborts | session aborts | E4, E2 | +| Interrupted session | whole batches committed; restart completes | not measured | S7 (d1) | +| Byte counters (overflow) | not applicable | `u32` counters overflow above 4 GiB per session | E4 (read; not reached) | + +### Table O5. What a change requires + +| Change | Protocol change? | Notes | +|---|---|---| +| K (fan-out) | no | local; validate K ≥ 2 (`range.rs:97`) | +| T (leaf threshold) | no | local; validate T ≥ 1 (E3f) | +| Batch size (`Params.batch`) | no | receiver's commit batching (`session.rs:165`) | +| Separator choice (which prefix is the bound) | no | any prefix that separates the neighbouring keys works (`range.rs:82–86`, `:69–71`) (inferred) | +| Fingerprint function (hash, truncation length, XOR, count rule) | **yes**: `/id-sync/2` | both sides must compute the same fingerprint for equal ranges (`range.rs:45–79`) | +| Bounds encoding (length byte, the zero sentinel, prefix form) | **yes**: `/id-sync/2` | `range.rs:173–201` | +| Key layout and width (author ‖ BE u64 seq, 40 bytes) | **yes**: `/id-sync/2` | bounds are key prefixes, so the byte order and width are part of the wire meaning (inferred; not tested) | +| Leaf ID width (32 bytes) | **yes** | `range.rs:194–196` | +| Mode bytes or the reply flag | **yes** | the decoder rejects unknown mode bytes (`range.rs:255`) | +| Framing (u32 BE length) and the data-phase count frame | **yes** | `session.rs:67–82`, `:137` | +| `MAX_FRAME` | **yes**, and a compat issue: a reader refuses larger frames (`session.rs:78`) | raise on every node before any node relies on it | +| Event ID definition (BLAKE3 over header bytes) | **yes**, a data-model change | IDs feed the fingerprint (`chain.rs:57–59`) | + +## Recommendation + +1. **K and T: make them per-node settings, validated at load.** K ≥ 2 and T ≥ 1. Keep K16/T16 as the default. Use K4/T8 for bulk catch-up, enabled on both sides for the full saving (Table O2). Do not put K or T in the protocol ID, and do not negotiate them. +2. **Selection rule** (for N5, which currently says "range above about 40 chains"): range when D ≤ 0.035·C, LogSync above that and for bootstrap. The 40-chain figure should be replaced: it holds only for 2 new events. This moves the design away from "range always" (the task-04 decision that LogSync is not used). If the owner keeps range above the crossover, make the threshold a setting. At 10% of chains range costs 2.6 times LogSync's control bytes (Table O3), and every diff up to that point still uses range. +3. **Before relying on range, fix three things.** (a) Frame size: either raise `MAX_FRAME` on every node first (a compat change: a reader with the old cap refuses larger frames), or bound the flight size (a protocol change, not designed here). Until then, bootstrap above about 524,000 events fails. (b) Forks: the receiver should check each event's key before it enters the batch, skip a conflicting event, and continue. That is a local receiver change with no wire impact (not verified; the event would be retried every session). (c) Store: create tables on open (E3e). +4. **LogSync** needs a redb adapter for `LogStore` and `OperationStore` before it can be measured or used. Its gap and fork blindness is acceptable only if the store guarantees contiguous chains. Ingest must reject gaps for that, which task 02's orderer is meant to provide (S7 RESULTS line 282). +5. **What would change this.** A real RTT (the flight count matters more if RTT is high); a measured LogSync run over iroh (its CPU and memory are not measured here); evidence that chain counts above 10,000 are common (the bootstrap cap then becomes urgent); a store that cannot guarantee contiguous chains (then range's gap detection is required, and LogSync is out). + +## Not verified + +- A real network RTT. Everything ran on loopback, so the flights-to-latency conversion is inferred. +- A LogSync session. No redb adapter exists. LogSync's CPU, memory and bytes for operations are not measured; its control bytes are S1's CBOR numbers. +- The wire run at 550,000 events. The frame failure is shown in memory, and the empty-dialer case is in memory too. +- T = 0 on realistic sparse diffs. Only the single-key mismatch was tested. +- Fork handling across batch boundaries. The stall was shown for one batch; behaviour with several batches is inferred from `session.rs:165–171`. +- Whether a fork is retried identically on every session. Inferred from the unchanged key position; one session per configuration only. +- ALPN negotiation behaviour in iroh when two peers offer different versions. Not tested. +- Wall times: noisy on a shared host, medians of 3, indicative only. +- Chain counts other than 1,000 for the new tests. S7's 10,000-chain numbers are cited, not re-run. +- `bench`, `scenarios` and `gen` in the copy were not built after my changes. `sync_pair` keeps its signature and `Store::open` keeps its API, so they should still compile (not checked). +- The 524,288 threshold assumes the reply is 32 bytes per ID with no other content in the flight. Verified for the empty-responder case only. + +## Harness changes (copy at `harness/`) + +Only these differ from `/home/user/work/spikes-next/s7-range-real/src/` (verified with `diff -r`): + +- `src/session.rs:224–` `sync_pair` now calls `sync_pair_mixed(dialer, acceptor, p, p, cut)`. The new `sync_pair_mixed(…, pd, pa, …)` (line 229) gives the dialer `pd` and the acceptor `pa`. +- `src/range.rs:304–330` `simulate_mixed(a, b, (T,K), (T,K))`, the in-memory run with separate parameters per side. Its termination assertion is at `range.rs:327`. +- `src/chain.rs:83–91` `event_with_body`, for the fork test. +- `src/store.rs:48–59` `Store::open` creates both tables (the defect in E3e). +- `src/bin/mixed.rs` (new, 563 lines): `pairs`, `bootstrap`, `fork`, `tzero`, `frame`, `frame-empty`, `gap`. Ground-truth checks in `sync_check` (`mixed.rs:147–240`). +- `Cargo.toml` and `Cargo.lock` are copies, with the package name unchanged (`s7-range-real`). diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/Cargo.lock b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/Cargo.lock new file mode 100644 index 0000000000..ad0bb8b8ba --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/Cargo.lock @@ -0,0 +1,4016 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "aead" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0" +dependencies = [ + "crypto-common 0.1.7", + "generic-array", +] + +[[package]] +name = "aes" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" +dependencies = [ + "cfg-if", + "cipher", + "cpufeatures 0.2.17", +] + +[[package]] +name = "aes-gcm" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "831010a0f742e1209b3bcea8fab6a8e149051ba6099432c8cb2cc117dec3ead1" +dependencies = [ + "aead", + "aes", + "cipher", + "ctr", + "ghash", + "subtle", +] + +[[package]] +name = "aho-corasick" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba" +dependencies = [ + "memchr", +] + +[[package]] +name = "android_system_properties" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae221649c9976a6f6c56ae1facf410f3ddb33cc661c4b7b61020a912d4237fbc" +dependencies = [ + "libc", +] + +[[package]] +name = "anyhow" +version = "1.0.104" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470" + +[[package]] +name = "arc-swap" +version = "1.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c049c0be4daef0b145cb3555416b3b8ef5b7888a38aea1a3a155801fe7b0810b" +dependencies = [ + "rustversion", +] + +[[package]] +name = "arrayvec" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56" + +[[package]] +name = "async_io_stream" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6d7b9decdf35d8908a7e3ef02f64c5e9b1695e230154c0e8de3969142d9b94c" +dependencies = [ + "futures", + "pharos", + "rustc_version", +] + +[[package]] +name = "atomic-waker" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" + +[[package]] +name = "attohttpc" +version = "0.30.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16e2cdb6d5ed835199484bb92bb8b3edd526effe995c61732580439c1a67e2e9" +dependencies = [ + "base64 0.22.1", + "http", + "log", + "url", +] + +[[package]] +name = "autocfg" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" + +[[package]] +name = "backon" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cffb0e931875b666fc4fcb20fee52e9bbd1ef836fd9e9e04ec21555f9f85f7ef" +dependencies = [ + "fastrand", + "gloo-timers", + "tokio", +] + +[[package]] +name = "base16ct" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd307490d624467aa6f74b0eabb77633d1f758a7b25f12bceb0b22e08d9726f6" + +[[package]] +name = "base64" +version = "0.22.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" + +[[package]] +name = "base64" +version = "0.23.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac07cdecf99051d9a5238b80f35af32cdeba5b336e55d957b318b50137e18da5" + +[[package]] +name = "base64ct" +version = "1.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2af50177e190e07a26ab74f8b1efbfe2ef87da2116221318cb1c2e82baf7de06" + +[[package]] +name = "bitflags" +version = "2.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06" + +[[package]] +name = "blake3" +version = "1.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d9e454fc11f76977dc803893aff6304ed33d6a26efae8696573bea74baa27ae" +dependencies = [ + "arrayvec", + "cc", + "cfg-if", + "constant_time_eq", + "cpufeatures 0.3.1", +] + +[[package]] +name = "block-buffer" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" +dependencies = [ + "generic-array", +] + +[[package]] +name = "block-buffer" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2f6c7dbe95a6ed67ad9f18e57daf93a2f034c524b99fd2b76d18fdfeb6660aa" +dependencies = [ + "hybrid-array", +] + +[[package]] +name = "block2" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdeb9d870516001442e364c5220d3574d2da8dc765554b4a617230d33fa58ef5" +dependencies = [ + "objc2", +] + +[[package]] +name = "bumpalo" +version = "3.20.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649" + +[[package]] +name = "bytes" +version = "1.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04" + +[[package]] +name = "cbor-core" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9f70473b5194d5f6e3c271dc6d0f63f6b17cc5d004af959e9ed0be8c1dadcdb" +dependencies = [ + "serde", +] + +[[package]] +name = "cc" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50a649af8a827553c29fb0cb4bd4a6f1a0dd695bd3232b9bc98bd9c8a3ffbb8b" +dependencies = [ + "find-msvc-tools", + "shlex", +] + +[[package]] +name = "cesu8" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c" + +[[package]] +name = "cfg-if" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600" + +[[package]] +name = "cfg_aliases" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527" + +[[package]] +name = "chacha20" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65c35e4b699c7e15ccbe7ee35c005e4fc0a278d22238a2857e6ce2dadeda1b06" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "rand_core 0.10.1", +] + +[[package]] +name = "chrono" +version = "0.4.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1aa79e62e7697b8e29b513a68abacf485adcd1fe8284a4316c5ae868e6633327" +dependencies = [ + "iana-time-zone", + "num-traits", + "serde", + "windows-link", +] + +[[package]] +name = "cipher" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" +dependencies = [ + "crypto-common 0.1.7", + "inout", +] + +[[package]] +name = "cmov" +version = "0.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c9ea0ac24bc397ab3c98583a3c9ba74fa56b09a4449bbe172b9b1ddb016027a" + +[[package]] +name = "cobs" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fa961b519f0b462e3a3b4a34b64d119eeaca1d59af726fe450bbba07a9fc0a1" +dependencies = [ + "thiserror 2.0.21", +] + +[[package]] +name = "combine" +version = "4.6.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfc320937d09e6de266b31b9afb480f197d7a861be86be7cb2ea7e5d1bfffc5e" +dependencies = [ + "bytes", + "memchr", +] + +[[package]] +name = "const-oid" +version = "0.9.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" + +[[package]] +name = "const-oid" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6ef517f0926dd24a1582492c791b6a4818a4d94e789a334894aa15b0d12f55c" + +[[package]] +name = "constant_time_eq" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d52eff69cd5e647efe296129160853a42795992097e8af39800e1060caeea9b" + +[[package]] +name = "convert_case" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "633458d4ef8c78b72454de2d54fd6ab2e60f9e02be22f3c6104cdc8a4e0fceb9" +dependencies = [ + "unicode-segmentation", +] + +[[package]] +name = "cordyceps" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b9ab7e0ca1d179628fa0172b2b97203c7fa0cd81be2448bd446fb9559ca9261" +dependencies = [ + "loom", + "tracing", +] + +[[package]] +name = "core-foundation" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "core-foundation-sys" +version = "0.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" + +[[package]] +name = "cpufeatures" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" +dependencies = [ + "libc", +] + +[[package]] +name = "cpufeatures" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ca28b0ae3115b884660db4118d803791fd6756b6e88f39c0f3f7859060d7566" +dependencies = [ + "libc", +] + +[[package]] +name = "crypto-common" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" +dependencies = [ + "generic-array", + "typenum", +] + +[[package]] +name = "crypto-common" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453" +dependencies = [ + "hybrid-array", + "rand_core 0.10.1", +] + +[[package]] +name = "ctr" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835" +dependencies = [ + "cipher", +] + +[[package]] +name = "ctutils" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03bb0e1cc970d482d121d9a1744999169b69a07470b3d644a7894e53fcaf4574" +dependencies = [ + "cmov", +] + +[[package]] +name = "curve25519-dalek" +version = "4.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "curve25519-dalek-derive", + "digest 0.10.7", + "fiat-crypto 0.2.9", + "rustc_version", + "subtle", + "zeroize", +] + +[[package]] +name = "curve25519-dalek" +version = "5.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5eed333089e2e1c1ac8c6c0398e5e2497b4c9926ca6d0365ed1e099afa5bc23" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "curve25519-dalek-derive", + "digest 0.11.3", + "fiat-crypto 0.3.0", + "rand_core 0.10.1", + "rustc_version", + "serde", + "subtle", + "zeroize", +] + +[[package]] +name = "curve25519-dalek-derive" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "data-encoding" +version = "2.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4583a4551df46e2792f82ceeac45e850d2e2d5debba0b91f102385cda5b11f06" + +[[package]] +name = "data-encoding-macro" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6a127ecbb3c4632e1525380e04c0c3fcf8dcb44d32a79ea290d8a36906edcd8" +dependencies = [ + "data-encoding", + "data-encoding-macro-internal", +] + +[[package]] +name = "data-encoding-macro-internal" +version = "0.1.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c54e03a951783e8b327515db3f2a2fd0e3bed362a96b066f341ce66ed49b4ead" +dependencies = [ + "data-encoding", + "syn 3.0.7", +] + +[[package]] +name = "der" +version = "0.7.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb" +dependencies = [ + "const-oid 0.9.6", + "zeroize", +] + +[[package]] +name = "der" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a878c850e9e421b20262e9b41f9c860e4785fa07541c266b62ff9d1ef998a80a" +dependencies = [ + "const-oid 0.10.2", + "pem-rfc7468", + "zeroize", +] + +[[package]] +name = "deranged" +version = "0.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c" + +[[package]] +name = "derive_more" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d751e9e49156b02b44f9c1815bcb94b984cdcc4396ecc32521c739452808b134" +dependencies = [ + "derive_more-impl", +] + +[[package]] +name = "derive_more-impl" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "799a97264921d8623a957f6c3b9011f3b5492f557bbb7a5a19b7fa6d06ba8dcb" +dependencies = [ + "convert_case", + "proc-macro2", + "quote", + "rustc_version", + "syn 2.0.119", + "unicode-xid", +] + +[[package]] +name = "diatomic-waker" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab03c107fafeb3ee9f5925686dbb7a73bc76e3932abb0d2b365cb64b169cf04c" + +[[package]] +name = "digest" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" +dependencies = [ + "block-buffer 0.10.4", + "crypto-common 0.1.7", +] + +[[package]] +name = "digest" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2" +dependencies = [ + "block-buffer 0.12.1", + "crypto-common 0.2.2", +] + +[[package]] +name = "dispatch2" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e0e367e4e7da84520dedcac1901e4da967309406d1e51017ae1abfb97adbd38" +dependencies = [ + "bitflags", + "block2", + "libc", + "objc2", +] + +[[package]] +name = "displaydoc" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "dlopen2" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e2c5bd4158e66d1e215c49b837e11d62f3267b30c92f1d171c4d3105e3dc4d4" +dependencies = [ + "libc", + "once_cell", + "winapi", +] + +[[package]] +name = "ed25519" +version = "2.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" +dependencies = [ + "pkcs8 0.10.2", + "signature 2.2.0", +] + +[[package]] +name = "ed25519" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29fcf32e6c73d1079f83ab4d782de2d81620346a5f38c6237a86a22f8368980a" +dependencies = [ + "pkcs8 0.11.0", + "serdect", + "signature 3.0.0", +] + +[[package]] +name = "ed25519-dalek" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70e796c081cee67dc755e1a36a0a172b897fab85fc3f6bc48307991f64e4eca9" +dependencies = [ + "curve25519-dalek 4.1.3", + "ed25519 2.2.3", + "rand_core 0.6.4", + "serde", + "sha2 0.10.9", + "subtle", + "zeroize", +] + +[[package]] +name = "ed25519-dalek" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ebaa1a2bf1290ab3bfe5a7b771d050ebffab2711c19a81691c683a5144a25de" +dependencies = [ + "curve25519-dalek 5.0.0", + "ed25519 3.0.0", + "rand_core 0.10.1", + "serde", + "sha2 0.11.0", + "signature 3.0.0", + "subtle", + "zeroize", +] + +[[package]] +name = "embedded-io" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef1a6892d9eef45c8fa6b9e0086428a2cca8491aca8f787c534a3d6d0bcb3ced" + +[[package]] +name = "embedded-io" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "edd0f118536f44f5ccd48bcb8b111bdc3de888b58c74639dfb034a357d0f206d" + +[[package]] +name = "enum-assoc" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0590c4a94da3372e83493b956755a6e2266830b6e4e3b101afe66e3f39477b91" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "equivalent" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" + +[[package]] +name = "errno" +version = "0.3.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" +dependencies = [ + "libc", + "windows-sys 0.61.2", +] + +[[package]] +name = "fastrand" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223" + +[[package]] +name = "fiat-crypto" +version = "0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d" + +[[package]] +name = "fiat-crypto" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64cd1e32ddd350061ae6edb1b082d7c54915b5c672c389143b9a63403a109f24" + +[[package]] +name = "find-msvc-tools" +version = "0.1.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aedcfb3409746eddb02b9e19ebda1c3394f759a152e48ee875a0844d1b955484" + +[[package]] +name = "fnv" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" + +[[package]] +name = "foldhash" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" + +[[package]] +name = "form_urlencoded" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" +dependencies = [ + "percent-encoding", +] + +[[package]] +name = "futures" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a31d2a3fbaaeb2af2368bbdd904aa8e812d3c04a1ee10d3171f52d556e5d0a3" +dependencies = [ + "futures-channel", + "futures-core", + "futures-executor", + "futures-io", + "futures-sink", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-buffered" +version = "0.2.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4421cb78ee172b6b06080093479d3c50f058e7c81b7d577bbb8d118d551d4cd5" +dependencies = [ + "cordyceps", + "diatomic-waker", + "futures-core", + "pin-project-lite", + "spin", +] + +[[package]] +name = "futures-channel" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1f9e3d69d39e4862ffed03ed071a76f9a13ba1d9109d355b0f0aa6b15e393c4" +dependencies = [ + "futures-core", + "futures-sink", +] + +[[package]] +name = "futures-core" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e" + +[[package]] +name = "futures-executor" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "031b47cf1a3c6cc8bc2fc76cd437f521619387907d469316e7c0bc278f1f5432" +dependencies = [ + "futures-core", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-io" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53c0fa8157de1303bfffdaa1cc2a673bfffb60102f76b0ef4441659124373fed" + +[[package]] +name = "futures-lite" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f78e10609fe0e0b3f4157ffab1876319b5b0db102a2c60dc4626306dc46b44ad" +dependencies = [ + "fastrand", + "futures-core", + "futures-io", + "parking", + "pin-project-lite", +] + +[[package]] +name = "futures-macro" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fb9654ba8355388abeb8dcb4fc62f511300867002afc858860463bdd9fe0c44" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "futures-sink" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1944426bf7d03f1d14f708785e4b33efd750b36d48a157b836b3efc15ede8e1d" + +[[package]] +name = "futures-task" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd" + +[[package]] +name = "futures-util" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc" +dependencies = [ + "futures-channel", + "futures-core", + "futures-io", + "futures-macro", + "futures-sink", + "futures-task", + "memchr", + "pin-project-lite", + "slab", +] + +[[package]] +name = "generator" +version = "0.8.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "54ade96dc9003043bce7c035c85a9df5a858bfb2039c5a2e6fdf00f324f6c551" +dependencies = [ + "cc", + "cfg-if", + "libc", + "log", + "rustversion", + "windows-link", + "windows-result", +] + +[[package]] +name = "generic-array" +version = "0.14.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +dependencies = [ + "typenum", + "version_check", +] + +[[package]] +name = "getrandom" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0" +dependencies = [ + "cfg-if", + "js-sys", + "libc", + "wasi", + "wasm-bindgen", +] + +[[package]] +name = "getrandom" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" +dependencies = [ + "cfg-if", + "js-sys", + "libc", + "r-efi", + "rand_core 0.10.1", + "wasm-bindgen", +] + +[[package]] +name = "ghash" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0d8a4362ccb29cb0b265253fb0a2728f592895ee6854fd9bc13f2ffda266ff1" +dependencies = [ + "opaque-debug", + "polyval", +] + +[[package]] +name = "gloo-timers" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbb143cf96099802033e0d4f4963b19fd2e0b728bcf076cd9cf7f6634f092994" +dependencies = [ + "futures-channel", + "futures-core", + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "h2" +version = "0.4.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d29020232d6aa3fb1daca64c1127cf662cf97f254ae16c18c05b8ab635fc118" +dependencies = [ + "atomic-waker", + "bytes", + "fnv", + "futures-core", + "futures-sink", + "http", + "indexmap", + "slab", + "tokio", + "tokio-util", + "tracing", +] + +[[package]] +name = "hashbrown" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" +dependencies = [ + "foldhash", +] + +[[package]] +name = "heck" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" + +[[package]] +name = "hex" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" +dependencies = [ + "serde", +] + +[[package]] +name = "http" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "918d3568bebf352712bc2ef3d46a8bcf1a75b373be6539de198e9105cbbf9ce0" +dependencies = [ + "bytes", + "itoa", +] + +[[package]] +name = "http-body" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca2a8f2913ee65f60facd6a5905613afaa448497a0230cc41ce022d93290bc2c" +dependencies = [ + "bytes", + "http", +] + +[[package]] +name = "http-body-util" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23169fe34a5fbcdd3f3862e78fb9b6fccd5f02a6dc6f732547005d45631ce71c" +dependencies = [ + "bytes", + "futures-core", + "http", + "http-body", + "pin-project-lite", +] + +[[package]] +name = "httparse" +version = "1.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" + +[[package]] +name = "httpdate" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" + +[[package]] +name = "hybrid-array" +version = "0.4.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27f864f10dfb56725ce5ce5472bc52252c8f93a4ab86327122cebf62c5f59a17" +dependencies = [ + "typenum", +] + +[[package]] +name = "hyper" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c3e324da4c95177d6291d4c8730197c0d1822f8a9766814a4a44fa5ab797c9c" +dependencies = [ + "atomic-waker", + "bytes", + "futures-channel", + "futures-core", + "h2", + "http", + "http-body", + "httparse", + "httpdate", + "itoa", + "pin-project-lite", + "smallvec", + "tokio", + "want", +] + +[[package]] +name = "hyper-rustls" +version = "0.27.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfa8e654703247911e29c23fbeaa261834bd9bb74efba2f9acddc37bfb127f53" +dependencies = [ + "http", + "hyper", + "hyper-util", + "rustls", + "tokio", + "tokio-rustls", + "tower-service", +] + +[[package]] +name = "hyper-util" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddc03d96684f9226b8a787cdb71488417b53ab5ea8fdb1dac946cb9431cc8bff" +dependencies = [ + "base64 0.23.1", + "bytes", + "futures-channel", + "futures-util", + "http", + "http-body", + "httparse", + "hyper", + "ipnet", + "libc", + "percent-encoding", + "pin-project-lite", + "socket2", + "tokio", + "tower-service", + "tracing", +] + +[[package]] +name = "iana-time-zone" +version = "0.1.65" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e31bc9ad994ba00e440a8aa5c9ef0ec67d5cb5e5cb0cc7f8b744a35b389cc470" +dependencies = [ + "android_system_properties", + "core-foundation-sys", + "iana-time-zone-haiku", + "js-sys", + "log", + "wasm-bindgen", + "windows-core", +] + +[[package]] +name = "iana-time-zone-haiku" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" +dependencies = [ + "cc", +] + +[[package]] +name = "icu_collections" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa68d21081c4a05d5a901a1c62add574c77048b6a1c67be3b50ce0b60d4ca513" +dependencies = [ + "displaydoc", + "potential_utf", + "utf8_iter", + "yoke", + "zerofrom", + "zerovec", +] + +[[package]] +name = "icu_locale_core" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d56e28588da92eee5c3201a6eff33fabdd49b62269c8938d4ff050ce4d900deb" +dependencies = [ + "displaydoc", + "litemap", + "tinystr", + "writeable", + "zerovec", +] + +[[package]] +name = "icu_normalizer" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12f9cf5f235641ed274641dd81c3f28d870e276763d0797aeeab72317b1c646f" +dependencies = [ + "icu_collections", + "icu_normalizer_data", + "icu_properties", + "icu_provider", + "smallvec", + "zerovec", +] + +[[package]] +name = "icu_normalizer_data" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1563da1ed3e0b3bf3d74c9b85917ac9c56464d2f57242270c09c9e752f8021a0" + +[[package]] +name = "icu_properties" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e7ca276ad3145661a65914e6daf131ca5120cd3dcee8f8f3214b8875184a148" +dependencies = [ + "displaydoc", + "icu_collections", + "icu_locale_core", + "icu_properties_data", + "icu_provider", + "zerotrie", + "zerovec", +] + +[[package]] +name = "icu_properties_data" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e590f038c1464a96894fd6d10127e90a8be4509f56ff7ecef851b15cee0b7caa" + +[[package]] +name = "icu_provider" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d27bbb9d3abbefac45d55f647c9de1d44aafcd1186eb91879afef17c396c3e73" +dependencies = [ + "displaydoc", + "icu_locale_core", + "writeable", + "yoke", + "zerofrom", + "zerotrie", + "zerovec", +] + +[[package]] +name = "identity-hash" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfdd7caa900436d8f13b2346fe10257e0c05c1f1f9e351f4f5d57c03bd5f45da" + +[[package]] +name = "idna" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" +dependencies = [ + "idna_adapter", + "smallvec", + "utf8_iter", +] + +[[package]] +name = "idna_adapter" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714" +dependencies = [ + "icu_normalizer", + "icu_properties", +] + +[[package]] +name = "igd-next" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de7238d487a9aff61f81b5ab41c0a841532a115a398b5fa92a2fadd0885e2581" +dependencies = [ + "attohttpc", + "bytes", + "futures", + "http", + "http-body-util", + "hyper", + "hyper-util", + "log", + "rand 0.10.3", + "tokio", + "url", + "xmltree", +] + +[[package]] +name = "indexmap" +version = "2.14.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855" +dependencies = [ + "equivalent", + "hashbrown", +] + +[[package]] +name = "inout" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01" +dependencies = [ + "generic-array", +] + +[[package]] +name = "ipconfig" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4d40460c0ce33d6ce4b0630ad68ff63d6661961c48b6dba35e5a4d81cfb48222" +dependencies = [ + "socket2", + "widestring", + "windows-registry", + "windows-result", + "windows-sys 0.61.2", +] + +[[package]] +name = "ipnet" +version = "2.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "791930b43c0d5973160d90a8f3894509f2b273430f5c5c73b668636d0287c5c0" + +[[package]] +name = "iroh" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "885787b892b5e2507c701f132ecbd45d2bad4bbb75157a19427087c16dadb833" +dependencies = [ + "backon", + "blake3", + "bytes", + "cfg_aliases", + "ctutils", + "data-encoding", + "derive_more", + "ed25519-dalek 3.0.0", + "futures-util", + "getrandom 0.4.3", + "http", + "ipnet", + "iroh-base", + "iroh-dns", + "iroh-metrics", + "iroh-relay", + "n0-error", + "n0-future", + "n0-watcher", + "netwatch", + "noq", + "noq-proto", + "noq-udp", + "papaya", + "pin-project", + "portable-atomic", + "portmapper", + "rand 0.10.3", + "reqwest", + "rustc-hash", + "rustls", + "rustls-pki-types", + "serde", + "smallvec", + "strum", + "time", + "tokio", + "tokio-stream", + "tokio-util", + "tracing", + "url", + "wasm-bindgen-futures", +] + +[[package]] +name = "iroh-base" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ae9092be76c9f5429776ab3394f5a5a78dc19dc2524267e884a5b9781546c3f" +dependencies = [ + "curve25519-dalek 5.0.0", + "data-encoding", + "data-encoding-macro", + "derive_more", + "ed25519-dalek 3.0.0", + "getrandom 0.4.3", + "n0-error", + "rand 0.10.3", + "serde", + "url", + "zeroize", +] + +[[package]] +name = "iroh-dns" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80276761b56e904e26ea71d0863beef0bb8d5ab6b639cbd1338e4b615209e3a1" +dependencies = [ + "arc-swap", + "cfg_aliases", + "derive_more", + "iroh-base", + "n0-dns-resolver", + "n0-error", + "n0-future", + "portable-atomic", + "rand 0.10.3", + "rustls", + "simple-dns", + "strum", + "tokio", + "tracing", + "url", +] + +[[package]] +name = "iroh-metrics" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ede55536349842337f7cdc63012ec33dc637945f3259c98a0763aac364cdf09" +dependencies = [ + "iroh-metrics-derive", + "itoa", + "n0-error", + "portable-atomic", + "ryu", + "serde", + "tracing", +] + +[[package]] +name = "iroh-metrics-derive" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ae5f0c4405d1fbc9fb16ff422ca40620e93dc36c30ecaba0c2aee3992b7bd48" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "iroh-relay" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee116a8233f84980574bb8d11e4517503080cd2c3605bafca04ee9c35d708bd9" +dependencies = [ + "blake3", + "bytes", + "cfg_aliases", + "data-encoding", + "derive_more", + "getrandom 0.4.3", + "http", + "http-body-util", + "hyper", + "hyper-util", + "iroh-base", + "iroh-dns", + "iroh-metrics", + "lru", + "n0-error", + "n0-future", + "noq", + "noq-proto", + "num_enum", + "pin-project", + "postcard", + "rand 0.10.3", + "reqwest", + "rustls", + "rustls-pki-types", + "serde", + "serde_bytes", + "strum", + "tokio", + "tokio-rustls", + "tokio-util", + "tokio-websockets", + "tracing", + "url", + "webpki-roots", + "ws_stream_wasm", +] + +[[package]] +name = "itoa" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" + +[[package]] +name = "jni" +version = "0.21.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97" +dependencies = [ + "cesu8", + "cfg-if", + "combine", + "jni-sys 0.3.1", + "log", + "thiserror 1.0.69", + "walkdir", + "windows-sys 0.45.0", +] + +[[package]] +name = "jni" +version = "0.22.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5efd9a482cf3a427f00d6b35f14332adc7902ce91efb778580e180ff90fa3498" +dependencies = [ + "cfg-if", + "combine", + "jni-macros", + "jni-sys 0.4.1", + "log", + "simd_cesu8", + "thiserror 2.0.21", + "walkdir", + "windows-link", +] + +[[package]] +name = "jni-macros" +version = "0.22.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a00109accc170f0bdb141fed3e393c565b6f5e072365c3bd58f5b062591560a3" +dependencies = [ + "proc-macro2", + "quote", + "rustc_version", + "simd_cesu8", + "syn 2.0.119", +] + +[[package]] +name = "jni-sys" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41a652e1f9b6e0275df1f15b32661cf0d4b78d4d87ddec5e0c3c20f097433258" +dependencies = [ + "jni-sys 0.4.1", +] + +[[package]] +name = "jni-sys" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6377a88cb3910bee9b0fa88d4f42e1d2da8e79915598f65fb0c7ee14c878af2" +dependencies = [ + "jni-sys-macros", +] + +[[package]] +name = "jni-sys-macros" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38c0b942f458fe50cdac086d2f946512305e5631e720728f2a61aabcd47a6264" +dependencies = [ + "quote", + "syn 2.0.119", +] + +[[package]] +name = "js-sys" +version = "0.3.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7883d941dae510fb2d978fc3fe018c71c9e2892fd38854de3e8b92c2e5ad9cc5" +dependencies = [ + "cfg-if", + "futures-util", + "wasm-bindgen", +] + +[[package]] +name = "lazy_static" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20870f649af7073d53e38067b2a84312175d56ea15217e1b15bc83506ec50afb" + +[[package]] +name = "libc" +version = "0.2.190" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78" + +[[package]] +name = "litemap" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47d9d19d1d6efa0109d2f65ff4c85cddd50bd572e5a00127ab10987290bcefae" + +[[package]] +name = "lock_api" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" +dependencies = [ + "scopeguard", +] + +[[package]] +name = "log" +version = "0.4.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6" + +[[package]] +name = "loom" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "419e0dc8046cb947daa77eb95ae174acfbddb7673b4151f56d1eed8e93fbfaca" +dependencies = [ + "cfg-if", + "generator", + "scoped-tls", + "tracing", + "tracing-subscriber", +] + +[[package]] +name = "lru" +version = "0.18.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef9ac18847474e638e3702b76c65d4eb93428471a74778ef0f1be711717f89b5" +dependencies = [ + "hashbrown", +] + +[[package]] +name = "lru-slab" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4050469837a6ff301cd14c1f8f24f88549e6d548f24f64e2148eb0f72cebc51f" + +[[package]] +name = "mac-addr" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3d25b0e0b648a86960ac23b7ad4abb9717601dec6f66c165f5b037f3f03065f" + +[[package]] +name = "matchers" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1525a2a28c7f4fa0fc98bb91ae755d1e2d1505079e05539e35bc876b5d65ae9" +dependencies = [ + "regex-automata", +] + +[[package]] +name = "memchr" +version = "2.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" + +[[package]] +name = "mio" +version = "1.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1788edb87fdc09c7e26304471e2f5be8cdefb1b6930d6e3985fc02ff53bf86ee" +dependencies = [ + "libc", + "wasi", + "windows-sys 0.61.2", +] + +[[package]] +name = "n0-dns-resolver" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "535c99c9a786bee714155d2ee4fc2477405c2c43536e1bc6a51de09a0d1448f7" +dependencies = [ + "derive_more", + "ipconfig", + "jni 0.22.4", + "lru", + "n0-error", + "n0-future", + "ndk-context", + "rand 0.10.3", + "reqwest", + "rustc-hash", + "rustls", + "simple-dns", + "system-configuration", + "tokio", + "tokio-rustls", + "tracing", + "webpki-roots", +] + +[[package]] +name = "n0-error" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26c59ea174675ce6bc196878851e5049e11b8b1f9af3ba87e4d6df8d828bb001" +dependencies = [ + "n0-error-macros", + "spez", +] + +[[package]] +name = "n0-error-macros" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4412346410d6616f3668c40e53c298e5320c7b856f7a960e5914e442601be79f" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "n0-future" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2ab99dfb861450e68853d34ae665243a88b8c493d01ba957321a1e9b2312bbe" +dependencies = [ + "cfg_aliases", + "derive_more", + "futures-buffered", + "futures-lite", + "futures-util", + "js-sys", + "pin-project", + "send_wrapper", + "tokio", + "tokio-util", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-time", +] + +[[package]] +name = "n0-watcher" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbc618745ad0b7414b149d0517ad8b5573b2fb4d4e2717add3d2446ce1fdd826" +dependencies = [ + "derive_more", + "n0-error", + "n0-future", +] + +[[package]] +name = "ndk-context" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27b02d87554356db9e9a873add8782d4ea6e3e58ea071a9adb9a2e8ddb884a8b" + +[[package]] +name = "netdev" +version = "0.45.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "096c44b66a9b09b99b4dd36b1c295ff3a492039ccecaf55466bd6ddcdba59968" +dependencies = [ + "block2", + "dispatch2", + "dlopen2", + "ipnet", + "jni 0.21.1", + "libc", + "mac-addr", + "ndk-context", + "netlink-packet-core 0.8.2", + "netlink-packet-route 0.31.0", + "netlink-sys 0.8.8", + "objc2", + "objc2-core-foundation", + "objc2-core-wlan", + "objc2-foundation", + "objc2-system-configuration", + "once_cell", + "plist", + "windows-sys 0.61.2", +] + +[[package]] +name = "netdev" +version = "0.46.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3c52c2584961c68f5a6e3356797344061f818c93b8acc9cd6d7e284795e563e" +dependencies = [ + "block2", + "dispatch2", + "dlopen2", + "ipnet", + "jni 0.21.1", + "libc", + "mac-addr", + "ndk-context", + "netlink-packet-core 0.9.0", + "netlink-packet-route 0.33.0", + "netlink-sys 0.9.0", + "objc2-core-foundation", + "objc2-system-configuration", + "once_cell", + "plist", + "windows-sys 0.61.2", +] + +[[package]] +name = "netlink-packet-core" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b897d7bd4f0af82e68d40d0344cf37e97f9c97ddf74a098de3e4da05e96ca395" +dependencies = [ + "paste", +] + +[[package]] +name = "netlink-packet-core" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d6e2daf9a8c2e21302714706860a0e6be02e03d17294ecc66b354ea7d4059dd" + +[[package]] +name = "netlink-packet-route" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2288fcb784eb3defd5fb16f4c4160d5f477de192eac730f43e1d11c24d9a007" +dependencies = [ + "bitflags", + "libc", + "log", + "netlink-packet-core 0.8.2", +] + +[[package]] +name = "netlink-packet-route" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59d48ffc8b73a506e1ff0878528c72668f2bfbc3d875b6be890a96be5d0d5576" +dependencies = [ + "bitflags", + "libc", + "log", + "netlink-packet-core 0.9.0", + "zerocopy", +] + +[[package]] +name = "netlink-proto" +version = "0.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93af8261786086024cd5e96e0a991dd65ced07bbf7c233a487bbc96b971d5539" +dependencies = [ + "bytes", + "futures-channel", + "futures-util", + "log", + "netlink-packet-core 0.8.2", + "netlink-sys 0.8.8", + "thiserror 2.0.21", +] + +[[package]] +name = "netlink-sys" +version = "0.8.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd6c30ed10fa69cc491d491b85cc971f6bdeb8e7367b7cde2ee6cc878d583fae" +dependencies = [ + "bytes", + "futures-util", + "libc", + "log", + "tokio", +] + +[[package]] +name = "netlink-sys" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c99d38e00b420df49e940fe0826e667c3dad82ac68eb4c2bbf754c1c14a83a10" +dependencies = [ + "bytes", + "libc", + "log", +] + +[[package]] +name = "netwatch" +version = "0.19.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39da9cad5f23aa43401f09497d3b280e51b5feba115d9ffbf38ca35d6ff95e96" +dependencies = [ + "atomic-waker", + "bytes", + "cfg_aliases", + "derive_more", + "ipnet", + "js-sys", + "libc", + "n0-error", + "n0-future", + "n0-watcher", + "netdev 0.45.1", + "netdev 0.46.3", + "netlink-packet-core 0.8.2", + "netlink-packet-route 0.31.0", + "netlink-proto", + "netlink-sys 0.8.8", + "noq-udp", + "objc2-core-foundation", + "objc2-system-configuration", + "pin-project-lite", + "serde", + "socket2", + "time", + "tokio", + "tokio-util", + "tracing", + "web-sys", + "windows", + "windows-result", + "wmi", +] + +[[package]] +name = "noq" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b78be567e796cfa74bb9bdc4117790af2d505eb887019cf8803244353eb09d89" +dependencies = [ + "bytes", + "cfg_aliases", + "derive_more", + "noq-proto", + "noq-udp", + "pin-project-lite", + "rustc-hash", + "rustls", + "socket2", + "thiserror 2.0.21", + "tokio", + "tokio-stream", + "tracing", + "web-time", +] + +[[package]] +name = "noq-proto" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c1e5b6fe668491eca022f745a0a9402585626c73a7b839b3424ace15d6a9c8f" +dependencies = [ + "aes-gcm", + "bytes", + "derive_more", + "enum-assoc", + "getrandom 0.4.3", + "identity-hash", + "lru-slab", + "rand 0.10.3", + "rand_pcg", + "ring", + "rustc-hash", + "rustls", + "rustls-pki-types", + "slab", + "sorted-index-buffer", + "thiserror 2.0.21", + "tinyvec", + "tracing", + "web-time", +] + +[[package]] +name = "noq-udp" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4dc50afea61aff926e150a36c31f06094608848e114a3fe667d76ec233163b1c" +dependencies = [ + "cfg_aliases", + "libc", + "socket2", + "tracing", + "windows-sys 0.61.2", +] + +[[package]] +name = "nu-ansi-term" +version = "0.50.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "num-conv" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "521739c6d2bac4aa25192232afe6841231376b2b26d4d9fae5ecf8ca5772e441" + +[[package]] +name = "num-traits" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +dependencies = [ + "autocfg", +] + +[[package]] +name = "num_enum" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d0bca838442ec211fa11de3a8b0e0e8f3a4522575b5c4c06ed722e005036f26" +dependencies = [ + "num_enum_derive", + "rustversion", +] + +[[package]] +name = "num_enum_derive" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "680998035259dcfcafe653688bf2aa6d3e2dc05e98be6ab46afb089dc84f1df8" +dependencies = [ + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "objc2" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08849bbd4767dfae9457696856ae1c84fe4e0281bbe4a7abff2d0e06fb7981f8" +dependencies = [ + "objc2-encode", +] + +[[package]] +name = "objc2-core-foundation" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a180dd8642fa45cdb7dd721cd4c11b1cadd4929ce112ebd8b9f5803cc79d536" +dependencies = [ + "bitflags", + "block2", + "dispatch2", + "libc", + "objc2", +] + +[[package]] +name = "objc2-core-wlan" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c71e34919aba0d701380d911702455038a8a3587467fe0141d6a71501e7ffe48" +dependencies = [ + "bitflags", + "objc2", + "objc2-core-foundation", + "objc2-foundation", + "objc2-security", + "objc2-security-foundation", +] + +[[package]] +name = "objc2-encode" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef25abbcd74fb2609453eb695bd2f860d389e457f67dc17cafc8b8cbc89d0c33" + +[[package]] +name = "objc2-foundation" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3e0adef53c21f888deb4fa59fc59f7eb17404926ee8a6f59f5df0fd7f9f3272" +dependencies = [ + "bitflags", + "block2", + "libc", + "objc2", + "objc2-core-foundation", +] + +[[package]] +name = "objc2-security" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "709fe137109bd1e8b5a99390f77a7d8b2961dafc1a1c5db8f2e60329ad6d895a" +dependencies = [ + "bitflags", + "objc2", + "objc2-core-foundation", +] + +[[package]] +name = "objc2-security-foundation" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef76382e9cedd18123099f17638715cc3d81dba3637d4c0d39ab69df2ef345a5" +dependencies = [ + "objc2", + "objc2-foundation", +] + +[[package]] +name = "objc2-system-configuration" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7216bd11cbda54ccabcab84d523dc93b858ec75ecfb3a7d89513fa22464da396" +dependencies = [ + "bitflags", + "dispatch2", + "libc", + "objc2", + "objc2-core-foundation", + "objc2-security", +] + +[[package]] +name = "once_cell" +version = "1.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" + +[[package]] +name = "opaque-debug" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" + +[[package]] +name = "openssl-probe" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c87def4c32ab89d880effc9e097653c8da5d6ef28e6b539d313baaacfbafcbe" + +[[package]] +name = "p2panda-core" +version = "0.7.1" +source = "git+https://github.com/p2panda/p2panda?rev=3e84cac48bba05c6857cce2ec433862b97f8d53c#3e84cac48bba05c6857cce2ec433862b97f8d53c" +dependencies = [ + "blake3", + "cbor-core", + "ed25519-dalek 2.2.0", + "hex", + "rand 0.8.8", + "serde", + "serde_bytes", + "thiserror 2.0.21", +] + +[[package]] +name = "papaya" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da2442474a9404698c42509b8967f437249dbc7b50493e83020333d3943ec0ae" +dependencies = [ + "equivalent", + "seize", +] + +[[package]] +name = "parking" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba" + +[[package]] +name = "parking_lot" +version = "0.12.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" +dependencies = [ + "lock_api", + "parking_lot_core", +] + +[[package]] +name = "parking_lot_core" +version = "0.9.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" +dependencies = [ + "cfg-if", + "libc", + "redox_syscall", + "smallvec", + "windows-link", +] + +[[package]] +name = "paste" +version = "1.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" + +[[package]] +name = "pem-rfc7468" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6305423e0e7738146434843d1694d621cce767262b2a86910beab705e4493d9" +dependencies = [ + "base64ct", +] + +[[package]] +name = "percent-encoding" +version = "2.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" + +[[package]] +name = "pharos" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9567389417feee6ce15dd6527a8a1ecac205ef62c2932bcf3d9f6fc5b78b414" +dependencies = [ + "futures", + "rustc_version", +] + +[[package]] +name = "pin-project" +version = "1.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2466b2336ed02bcdca6b294417127b90ec92038d1d5c4fbeac971a922e0e0924" +dependencies = [ + "pin-project-internal", +] + +[[package]] +name = "pin-project-internal" +version = "1.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c96395f0a926bc13b1c17622aaddda1ecb55d49c8f1bf9777e4d877800a43f8b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "pin-project-lite" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" + +[[package]] +name = "pkcs8" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" +dependencies = [ + "der 0.7.10", + "spki 0.7.3", +] + +[[package]] +name = "pkcs8" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "451913da69c775a56034ea8d9003d27ee8948e12443eae7c038ba100a4f21cb7" +dependencies = [ + "der 0.8.2", + "spki 0.8.1", +] + +[[package]] +name = "plist" +version = "1.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2896bade328c13f7042a297ea5ac5b0951f6cf989dea5f32c2fd98da398195cb" +dependencies = [ + "base64 0.23.1", + "indexmap", + "quick-xml", + "serde", + "time", +] + +[[package]] +name = "polyval" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d1fe60d06143b2430aa532c94cfe9e29783047f06c0d7fd359a9a51b729fa25" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "opaque-debug", + "universal-hash", +] + +[[package]] +name = "portable-atomic" +version = "1.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85" +dependencies = [ + "serde", +] + +[[package]] +name = "portmapper" +version = "0.19.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca97242f016e090a25330613bc2382aab65eb22f9149dbe84d8f8e711d49a530" +dependencies = [ + "base64 0.22.1", + "bytes", + "derive_more", + "hyper-util", + "igd-next", + "iroh-metrics", + "libc", + "n0-error", + "n0-future", + "netwatch", + "num_enum", + "rand 0.10.3", + "serde", + "smallvec", + "socket2", + "time", + "tokio", + "tokio-util", + "tower-layer", + "tracing", + "url", +] + +[[package]] +name = "postcard" +version = "1.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6764c3b5dd454e283a30e6dfe78e9b31096d9e32036b5d1eaac7a6119ccb9a24" +dependencies = [ + "cobs", + "embedded-io 0.4.0", + "embedded-io 0.6.1", + "postcard-derive", + "serde", +] + +[[package]] +name = "postcard-derive" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0232bd009a197ceec9cc881ba46f727fcd8060a2d8d6a9dde7a69030a6fe2bb" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "potential_utf" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d83eb9bc6d8e5cf568e7a1101d60ee05e81ed50ea106026f3d18deeb046d7661" +dependencies = [ + "zerovec", +] + +[[package]] +name = "powerfmt" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a6394b9e965e73d0a289ee54f589087e2c676aedf60885baf52c76b771e4958" + +[[package]] +name = "ppv-lite86" +version = "0.2.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" +dependencies = [ + "zerocopy", +] + +[[package]] +name = "proc-macro-crate" +version = "3.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e67ba7e9b2b56446f1d419b1d807906278ffa1a658a8a5d8a39dcb1f5a78614f" +dependencies = [ + "toml_edit", +] + +[[package]] +name = "proc-macro2" +version = "1.0.107" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "quick-xml" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41b1177fdf999d2321d3fb46ff47159d9c1fb9ad66a4879f8c50a0b504615e9b" +dependencies = [ + "memchr", +] + +[[package]] +name = "quote" +version = "1.0.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "r-efi" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" + +[[package]] +name = "rand" +version = "0.8.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e058c7de0b26af77780c769414d6257830bb240f3c38477dbc2c16e5f54d6d4c" +dependencies = [ + "libc", + "rand_chacha", + "rand_core 0.6.4", +] + +[[package]] +name = "rand" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65c9fb96cbc91e3478eaae79a69fcd3f1ae4ad052e471fe6732fff548984b4af" +dependencies = [ + "chacha20", + "getrandom 0.4.3", + "rand_core 0.10.1", +] + +[[package]] +name = "rand_chacha" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +dependencies = [ + "ppv-lite86", + "rand_core 0.6.4", +] + +[[package]] +name = "rand_core" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +dependencies = [ + "getrandom 0.2.17", +] + +[[package]] +name = "rand_core" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" + +[[package]] +name = "rand_pcg" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "caa0f4137e1c0a72f4c651489402276c8e8e1cf081f3b0ba156d2cbeef09e86a" +dependencies = [ + "rand_core 0.10.1", +] + +[[package]] +name = "redb" +version = "4.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb338a6c67830a61bed824b78c2bb034ab1ff401a20616bd7957524f4fdc2f22" +dependencies = [ + "libc", +] + +[[package]] +name = "redox_syscall" +version = "0.5.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" +dependencies = [ + "bitflags", +] + +[[package]] +name = "regex-automata" +version = "0.4.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.8.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" + +[[package]] +name = "reqwest" +version = "0.13.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16a1cfa75cc186dd73d5818e510e042e40927bccc9c236b061cea97e1eb08029" +dependencies = [ + "base64 0.23.1", + "bytes", + "futures-core", + "futures-util", + "http", + "http-body", + "http-body-util", + "hyper", + "hyper-rustls", + "hyper-util", + "js-sys", + "log", + "percent-encoding", + "pin-project-lite", + "rustls", + "rustls-pki-types", + "rustls-platform-verifier", + "sync_wrapper", + "tokio", + "tokio-rustls", + "tokio-util", + "tower", + "tower-http", + "tower-service", + "url", + "wasm-bindgen", + "wasm-bindgen-futures", + "wasm-streams", + "web-sys", +] + +[[package]] +name = "ring" +version = "0.17.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" +dependencies = [ + "cc", + "cfg-if", + "getrandom 0.2.17", + "libc", + "untrusted", + "windows-sys 0.52.0", +] + +[[package]] +name = "rustc-hash" +version = "2.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d" + +[[package]] +name = "rustc_version" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" +dependencies = [ + "semver", +] + +[[package]] +name = "rustls" +version = "0.23.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d41d731c7d2f962d1ccc364cec258de3c0e93b38c2fb3ba97ac74513048d634" +dependencies = [ + "log", + "once_cell", + "ring", + "rustls-pki-types", + "rustls-webpki", + "subtle", + "zeroize", +] + +[[package]] +name = "rustls-native-certs" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dab5152771c58876a2146916e53e35057e1a4dfa2b9df0f0305b07f611fdea4d" +dependencies = [ + "openssl-probe", + "rustls-pki-types", + "schannel", + "security-framework", +] + +[[package]] +name = "rustls-pki-types" +version = "1.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f4925028c7eb5d1fcdaf196971378ed9d2c1c4efc7dc5d011256f76c99c0a96" +dependencies = [ + "web-time", + "zeroize", +] + +[[package]] +name = "rustls-platform-verifier" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1167586491e2b18b8bfbb293e8180ec17c201c4f076d7cb3070ca964e7598f98" +dependencies = [ + "core-foundation", + "core-foundation-sys", + "jni 0.22.4", + "log", + "once_cell", + "rustls", + "rustls-native-certs", + "rustls-platform-verifier-android", + "rustls-webpki", + "security-framework", + "security-framework-sys", + "webpki-root-certs", + "windows-sys 0.61.2", +] + +[[package]] +name = "rustls-platform-verifier-android" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eec689c0bc40ff2458a5977b6619cb718087084a18e02a131c599b62d05e1a5f" + +[[package]] +name = "rustls-webpki" +version = "0.103.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3c3cf1d8b1e7d4927e2d154c3fcb02979afb9939629c62cd9048d4f07b60ac2" +dependencies = [ + "ring", + "rustls-pki-types", + "untrusted", +] + +[[package]] +name = "rustversion" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f" + +[[package]] +name = "ryu" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f" + +[[package]] +name = "s7-range-real" +version = "0.0.0" +dependencies = [ + "anyhow", + "blake3", + "hex", + "iroh", + "p2panda-core", + "redb", + "serde", + "tokio", +] + +[[package]] +name = "same-file" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "schannel" +version = "0.1.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91c1b7e4904c873ef0710c1f407dde2e6287de2bebc1bbbf7d430bb7cbffd939" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "scoped-tls" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294" + +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + +[[package]] +name = "security-framework" +version = "3.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7f4bc775c73d9a02cde8bf7b2ec4c9d12743edf609006c7facc23998404cd1d" +dependencies = [ + "bitflags", + "core-foundation", + "core-foundation-sys", + "libc", + "security-framework-sys", +] + +[[package]] +name = "security-framework-sys" +version = "2.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ce2691df843ecc5d231c0b14ece2acc3efb62c0a398c7e1d875f3983ce020e3" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "seize" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b55fb86dfd3a2f5f76ea78310a88f96c4ea21a3031f8d212443d56123fd0521" + +[[package]] +name = "semver" +version = "1.0.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd" + +[[package]] +name = "send_wrapper" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd0b0ec5f1c1ca621c432a25813d8d60c88abe6d3e08a3eb9cf37d97a0fe3d73" + +[[package]] +name = "serde" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba" +dependencies = [ + "serde_core", + "serde_derive", +] + +[[package]] +name = "serde_bytes" +version = "0.11.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5d440709e79d88e51ac01c4b72fc6cb7314017bb7da9eeff678aa94c10e3ea8" +dependencies = [ + "serde", + "serde_core", +] + +[[package]] +name = "serde_core" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "serdect" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "66cf8fedced2fcf12406bcb34223dffb92eaf34908ede12fed414c82b7f00b3e" +dependencies = [ + "base16ct", + "serde", +] + +[[package]] +name = "sha1_smol" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbfa15b3dddfee50a0fff136974b3e1bde555604ba463834a7eb7deb6417705d" + +[[package]] +name = "sha2" +version = "0.10.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "digest 0.10.7", +] + +[[package]] +name = "sha2" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "digest 0.11.3", +] + +[[package]] +name = "sharded-slab" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" +dependencies = [ + "lazy_static", +] + +[[package]] +name = "shlex" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba" + +[[package]] +name = "signal-hook-registry" +version = "1.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b" +dependencies = [ + "errno", + "libc", +] + +[[package]] +name = "signature" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" +dependencies = [ + "rand_core 0.6.4", +] + +[[package]] +name = "signature" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28d567dcbaf0049cb8ac2608a76cd95ff9e4412e1899d389ee400918ca7537f5" +dependencies = [ + "rand_core 0.10.1", +] + +[[package]] +name = "simd_cesu8" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11031e251abf8611c80f460e19dbdeb54a66db918e49c65a7065b46ac7aec520" +dependencies = [ + "rustc_version", + "simdutf8", +] + +[[package]] +name = "simdutf8" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e" + +[[package]] +name = "simple-dns" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b6f884fa9a8d48101774bfbd3aeb81e968dd22cffd19a372da69f183db22c1a" +dependencies = [ + "bitflags", +] + +[[package]] +name = "slab" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" + +[[package]] +name = "smallvec" +version = "1.16.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b3dc8af474f516a851ff4bd12db780f948b9250ad37211e4eec0bccea54e01b" + +[[package]] +name = "socket2" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3d1e2c7f27f8d4cb10542a02c49005dbd6e93095799d6f3be745fae9f8fedd4" +dependencies = [ + "libc", + "windows-sys 0.61.2", +] + +[[package]] +name = "sorted-index-buffer" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea06cc588e43c632923a55450401b8f25e628131571d4e1baea1bdfdb2b5ed06" + +[[package]] +name = "spez" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c87e960f4dca2788eeb86bbdde8dd246be8948790b7618d656e68f9b720a86e8" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "spin" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "023a211cb3138dbc438680b32560ad89f699977624c9f8dbb95a47d5b4c07dd3" + +[[package]] +name = "spki" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" +dependencies = [ + "base64ct", + "der 0.7.10", +] + +[[package]] +name = "spki" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ef958a98b9d5da290cfc78946e9f3e61e1e62a18db0d92cac0b83cc161491a9" +dependencies = [ + "base64ct", + "der 0.8.2", +] + +[[package]] +name = "stable_deref_trait" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" + +[[package]] +name = "strum" +version = "0.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9628de9b8791db39ceda2b119bbe13134770b56c138ec1d3af810d045c04f9bd" +dependencies = [ + "strum_macros", +] + +[[package]] +name = "strum_macros" +version = "0.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab85eea0270ee17587ed4156089e10b9e6880ee688791d45a905f5b1ca36f664" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "subtle" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" + +[[package]] +name = "syn" +version = "2.0.119" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "3.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d62a2e0561533f2ca2561d0cf27fd9fedb640a1bf2616ff5d5c80d99017faadc" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "sync_wrapper" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263" +dependencies = [ + "futures-core", +] + +[[package]] +name = "synstructure" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "901704edd0dfe137f1987838ee4f259e4e063c31371bdb423f7ae38ec6f77f02" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "system-configuration" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "501336eb7ba9e417300a6a0fa985721065467aa83a6dcf0422a8e43e4c0328fa" +dependencies = [ + "bitflags", + "core-foundation", + "system-configuration-sys", +] + +[[package]] +name = "system-configuration-sys" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e1d1b10ced5ca923a1fcb8d03e96b8d3268065d724548c0211415ff6ac6bac4" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "thiserror" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" +dependencies = [ + "thiserror-impl 1.0.69", +] + +[[package]] +name = "thiserror" +version = "2.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e" +dependencies = [ + "thiserror-impl 2.0.21", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "thread_local" +version = "1.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ad99c4c6d32803332c548b1af0540b357b3f5fc0be8f6c6bfe8b2e6ae784070" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "time" +version = "0.3.55" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdb87b95ec50ddfa440816d227a17b2ccbdda963a316a727fda0fc4334f7d134" +dependencies = [ + "deranged", + "js-sys", + "num-conv", + "powerfmt", + "serde_core", + "time-core", + "time-macros", +] + +[[package]] +name = "time-core" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e1c906769ad99c88eaa54e728060edef082f8e358ff32030cb7c7d315e81109" + +[[package]] +name = "time-macros" +version = "0.2.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e689342a48d2ea927c87ea50cabf8594854bf940e9310208848d680d668ed85" +dependencies = [ + "num-conv", + "time-core", +] + +[[package]] +name = "tinystr" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1e27c91459209c2986af3dcf603a5a74a4368754ce37414f59acc971167f643" +dependencies = [ + "displaydoc", + "zerovec", +] + +[[package]] +name = "tinyvec" +version = "1.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd3ca314f692efd6c868f8408f53fe444634a845f96c028b97d35f6a1f79f0ee" + +[[package]] +name = "tokio" +version = "1.53.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e95f91fcc7a621e8b030f6aa23c71fe9838ae2fb4d8118b75602a328f5144044" +dependencies = [ + "bytes", + "libc", + "mio", + "parking_lot", + "pin-project-lite", + "signal-hook-registry", + "socket2", + "tokio-macros", + "windows-sys 0.61.2", +] + +[[package]] +name = "tokio-macros" +version = "2.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78773a2a397f451582ce068015985c33193cf6dea8b74d2a639fe457b2f07b0e" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "tokio-rustls" +version = "0.26.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9cc2678c2cdd569ef8215e2afd7954ada2ae20b4fdd2c5fe6139a3b02d105db" +dependencies = [ + "rustls", + "tokio", +] + +[[package]] +name = "tokio-stream" +version = "0.1.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3d06f0b082ba57c26b79407372e57cf2a1e28124f78e9479fe80322cf53420b" +dependencies = [ + "futures-core", + "pin-project-lite", + "tokio", + "tokio-util", +] + +[[package]] +name = "tokio-util" +version = "0.7.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e464cf451ba96ebfc6f9b6542f17ee8b8956e33f1e40d9690624e59d7a7f8a4b" +dependencies = [ + "bytes", + "futures-core", + "futures-sink", + "futures-util", + "libc", + "pin-project-lite", + "tokio", +] + +[[package]] +name = "tokio-websockets" +version = "0.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d52efb639344a7c6adb8e62c6f3d2c19c001ff1b79a5041ba1c6ed42e19c6aa5" +dependencies = [ + "base64 0.22.1", + "bytes", + "futures-core", + "futures-sink", + "getrandom 0.4.3", + "http", + "httparse", + "rand 0.10.3", + "ring", + "rustls-pki-types", + "sha1_smol", + "simdutf8", + "tokio", + "tokio-rustls", + "tokio-util", +] + +[[package]] +name = "toml_datetime" +version = "1.1.2+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b86d767906c6c42421dcba507eb9d203e779497710a47782a224bb871653053" +dependencies = [ + "serde_core", +] + +[[package]] +name = "toml_edit" +version = "0.25.17+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3641d5bbb5349a79e1020a242d251efbc546ad8048d133958323ce9c40a9c9c" +dependencies = [ + "indexmap", + "toml_datetime", + "toml_parser", + "winnow", +] + +[[package]] +name = "toml_parser" +version = "1.1.5+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baa693a8032d7e1cada7d0041e96126df243179ff061456783ac7f12bda4744c" +dependencies = [ + "winnow", +] + +[[package]] +name = "tower" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebe5ef63511595f1344e2d5cfa636d973292adc0eec1f0ad45fae9f0851ab1d4" +dependencies = [ + "futures-core", + "futures-util", + "pin-project-lite", + "sync_wrapper", + "tokio", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-http" +version = "0.6.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cfcf7e2740e6fc6d4d688b4ef00650406bb94adf4731e43c096c3a19fe40840" +dependencies = [ + "bitflags", + "bytes", + "futures-util", + "http", + "http-body", + "pin-project-lite", + "tower", + "tower-layer", + "tower-service", + "url", +] + +[[package]] +name = "tower-layer" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" + +[[package]] +name = "tower-service" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" + +[[package]] +name = "tracing" +version = "0.1.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100" +dependencies = [ + "log", + "pin-project-lite", + "tracing-attributes", + "tracing-core", +] + +[[package]] +name = "tracing-attributes" +version = "0.1.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "tracing-core" +version = "0.1.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a" +dependencies = [ + "once_cell", + "valuable", +] + +[[package]] +name = "tracing-log" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" +dependencies = [ + "log", + "once_cell", + "tracing-core", +] + +[[package]] +name = "tracing-subscriber" +version = "0.3.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb7f578e5945fb242538965c2d0b04418d38ec25c79d160cd279bf0731c8d319" +dependencies = [ + "matchers", + "nu-ansi-term", + "once_cell", + "regex-automata", + "sharded-slab", + "smallvec", + "thread_local", + "tracing", + "tracing-core", + "tracing-log", +] + +[[package]] +name = "try-lock" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" + +[[package]] +name = "typenum" +version = "1.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" + +[[package]] +name = "unicode-ident" +version = "1.0.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d245f478577f809a851594d02313b640fb437e0bb33866753cff937863096954" + +[[package]] +name = "unicode-segmentation" +version = "1.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8" + +[[package]] +name = "unicode-xid" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" + +[[package]] +name = "universal-hash" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea" +dependencies = [ + "crypto-common 0.1.7", + "subtle", +] + +[[package]] +name = "untrusted" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" + +[[package]] +name = "url" +version = "2.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" +dependencies = [ + "form_urlencoded", + "idna", + "percent-encoding", + "serde", + "serde_derive", +] + +[[package]] +name = "utf8_iter" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" + +[[package]] +name = "valuable" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" + +[[package]] +name = "version_check" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" + +[[package]] +name = "walkdir" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" +dependencies = [ + "same-file", + "winapi-util", +] + +[[package]] +name = "want" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec4cdd0dd910afe868b7ef477227d8d538b46b3075031afee8a9f2acb0a2ed0b" +dependencies = [ + "try-lock", +] + +[[package]] +name = "wasi" +version = "0.11.1+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" + +[[package]] +name = "wasm-bindgen" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9bb54f33acc68fd454578d9820b0bde1a1a3d17aa17bb7b6595806d02886d409" +dependencies = [ + "cfg-if", + "once_cell", + "rustversion", + "wasm-bindgen-macro", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-futures" +version = "0.4.79" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3cbab34de2d982e9b48e18d216d04c4a6f641066ff19ffb699980f591ee3610e" +dependencies = [ + "js-sys", + "tokio", + "wasm-bindgen", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e29d0c35b16e224a7eeb5cd2d25e3e1968fbd65604117b44d3b789d00ee8535" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f501a8bc3719dba86ef8ae4728879c08001bea749eb1333ac5b91e040e2a6b7" +dependencies = [ + "bumpalo", + "proc-macro2", + "quote", + "syn 3.0.7", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23f0c9c52aa7cd7d77769a4cfe2a9adb1b331f489a41d912ce14513d5ab995c6" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "wasm-streams" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d1ec4f6517c9e11ae630e200b2b65d193279042e28edd4a2cda233e46670bbb" +dependencies = [ + "futures-util", + "js-sys", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "web-sys" +version = "0.3.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88261b9deccee56594c11a3460c462c41f58d148598fe70ad77070126a68aba4" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "web-time" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "webpki-root-certs" +version = "1.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b96554aa2acc8ccdb7e1c9a58a7a68dd5d13bccc69cd124cb09406db612a1c9b" +dependencies = [ + "rustls-pki-types", +] + +[[package]] +name = "webpki-roots" +version = "1.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7dcd9d09a39985f5344844e66b0c530a33843579125f23e21e9f0f220850f22a" +dependencies = [ + "rustls-pki-types", +] + +[[package]] +name = "widestring" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72069c3113ab32ab29e5584db3c6ec55d416895e60715417b5b883a357c3e471" + +[[package]] +name = "winapi" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +dependencies = [ + "winapi-i686-pc-windows-gnu", + "winapi-x86_64-pc-windows-gnu", +] + +[[package]] +name = "winapi-i686-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" + +[[package]] +name = "winapi-util" +version = "0.1.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "winapi-x86_64-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" + +[[package]] +name = "windows" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "527fadee13e0c05939a6a05d5bd6eec6cd2e3dbd648b9f8e447c6518133d8580" +dependencies = [ + "windows-collections", + "windows-core", + "windows-future", + "windows-numerics", +] + +[[package]] +name = "windows-collections" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23b2d95af1a8a14a3c7367e1ed4fc9c20e0a26e79551b1454d72583c97cc6610" +dependencies = [ + "windows-core", +] + +[[package]] +name = "windows-core" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" +dependencies = [ + "windows-implement", + "windows-interface", + "windows-link", + "windows-result", + "windows-strings", +] + +[[package]] +name = "windows-future" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1d6f90251fe18a279739e78025bd6ddc52a7e22f921070ccdc67dde84c605cb" +dependencies = [ + "windows-core", + "windows-link", + "windows-threading", +] + +[[package]] +name = "windows-implement" +version = "0.60.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "windows-interface" +version = "0.59.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + +[[package]] +name = "windows-numerics" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e2e40844ac143cdb44aead537bbf727de9b044e107a0f1220392177d15b0f26" +dependencies = [ + "windows-core", + "windows-link", +] + +[[package]] +name = "windows-registry" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02752bf7fbdcce7f2a27a742f798510f3e5ad88dbe84871e5168e2120c3d5720" +dependencies = [ + "windows-link", + "windows-result", + "windows-strings", +] + +[[package]] +name = "windows-result" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-strings" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-sys" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" +dependencies = [ + "windows-targets 0.42.2", +] + +[[package]] +name = "windows-sys" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +dependencies = [ + "windows-targets 0.52.6", +] + +[[package]] +name = "windows-sys" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-targets" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" +dependencies = [ + "windows_aarch64_gnullvm 0.42.2", + "windows_aarch64_msvc 0.42.2", + "windows_i686_gnu 0.42.2", + "windows_i686_msvc 0.42.2", + "windows_x86_64_gnu 0.42.2", + "windows_x86_64_gnullvm 0.42.2", + "windows_x86_64_msvc 0.42.2", +] + +[[package]] +name = "windows-targets" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" +dependencies = [ + "windows_aarch64_gnullvm 0.52.6", + "windows_aarch64_msvc 0.52.6", + "windows_i686_gnu 0.52.6", + "windows_i686_gnullvm", + "windows_i686_msvc 0.52.6", + "windows_x86_64_gnu 0.52.6", + "windows_x86_64_gnullvm 0.52.6", + "windows_x86_64_msvc 0.52.6", +] + +[[package]] +name = "windows-threading" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" + +[[package]] +name = "windows_i686_gnu" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" + +[[package]] +name = "windows_i686_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" + +[[package]] +name = "windows_i686_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" + +[[package]] +name = "windows_i686_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" + +[[package]] +name = "windows_i686_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" + +[[package]] +name = "winnow" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23b97319f7b8343df12cc98938e5c3eb436064524c8d2b4e30a1d3a36eecdf81" +dependencies = [ + "memchr", +] + +[[package]] +name = "wmi" +version = "0.18.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c81b85c57a57500e56669586496bf2abd5cf082b9d32995251185d105208b64" +dependencies = [ + "chrono", + "futures", + "log", + "serde", + "thiserror 2.0.21", + "windows", + "windows-core", +] + +[[package]] +name = "writeable" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc" + +[[package]] +name = "ws_stream_wasm" +version = "0.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c173014acad22e83f16403ee360115b38846fe754e735c5d9d3803fe70c6abc" +dependencies = [ + "async_io_stream", + "futures", + "js-sys", + "log", + "pharos", + "rustc_version", + "send_wrapper", + "thiserror 2.0.21", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "xml-rs" +version = "0.8.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e450f9b2ed1dff33c94c12589a87338689467b9c4f5d8a5710bd09a847d2c8a7" + +[[package]] +name = "xmltree" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7d8a75eaf6557bb84a65ace8609883db44a29951042ada9b393151532e41fcb" +dependencies = [ + "xml-rs", +] + +[[package]] +name = "yoke" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5" +dependencies = [ + "stable_deref_trait", + "yoke-derive", + "zerofrom", +] + +[[package]] +name = "yoke-derive" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec8ebde2db3681e8c9980cc27822030e68752690ddfa9473e739aeb4dbde6d71" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", + "synstructure", +] + +[[package]] +name = "zerocopy" +version = "0.8.62" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86502bf56ac7c77571a32e2647bb2a15894565e981fb2a48d7bde2d91c965a9d" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.8.62" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5457206954b06561e2608c7e19cf58b1926586d999c246eebe4502f7e2039d1a" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "zerofrom" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272" +dependencies = [ + "zerofrom-derive", +] + +[[package]] +name = "zerofrom-derive" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f75b4683f6c7f45248d4d64056a24298c6281e0993356d7d1b4a1a962ef10d4a" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", + "synstructure", +] + +[[package]] +name = "zeroize" +version = "1.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e13084392c5e4bc371903e2935a5eaeed24905a7511356b883835e18a78f6879" +dependencies = [ + "zeroize_derive", +] + +[[package]] +name = "zeroize_derive" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c50655cbb0fe3fc43170059e702f1ce5e19b84cec58dc87b037a09935c2f328" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "zerotrie" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ea269c3bd32f0a32c321907a2ae912ba6f4649bb0fc764a15627e99a7095a3f" +dependencies = [ + "displaydoc", + "yoke", + "zerofrom", +] + +[[package]] +name = "zerovec" +version = "0.11.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb0464e17806c1d976d5cba29399c7f08e516e279e2ba493f63123b5fca67dd8" +dependencies = [ + "yoke", + "zerofrom", + "zerovec-derive", +] + +[[package]] +name = "zerovec-derive" +version = "0.11.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34df6fc39dbd26ddc9c10e6a2984476e13acce22e64e4487636ef494369225da" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/Cargo.toml b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/Cargo.toml new file mode 100644 index 0000000000..b303c36185 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/Cargo.toml @@ -0,0 +1,21 @@ +[package] +name = "s7-range-real" +version = "0.0.0" +edition = "2024" +rust-version = "1.96" +publish = false + +# Standalone crate. Not a member of /home/user/work/spikes. +[workspace] + +# Pins copied from /home/user/work/spikes/Cargo.toml. +# Not enabled: p2panda-core's test_utils feature (it turns on the signature check in Header::verify). +[dependencies] +p2panda-core = { git = "https://github.com/p2panda/p2panda", rev = "3e84cac48bba05c6857cce2ec433862b97f8d53c" } +iroh = "1.3.0" +redb = "=4.3.0" +tokio = { version = "1", features = ["full"] } +anyhow = "1" +serde = { version = "1", features = ["derive"] } +hex = "0.4" +blake3 = "1" diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/bootstrap-1k.stderr b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/bootstrap-1k.stderr new file mode 100644 index 0000000000..e69de29bb2 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/bootstrap-1k.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/bootstrap-1k.txt new file mode 100644 index 0000000000..64017ea931 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/bootstrap-1k.txt @@ -0,0 +1,7 @@ +## bootstrap: chains=1000, 50000 events on the full side, one run each +| case | flights A+B | control B | data B | control / data | wall ms | checks | +|---|---|---|---|---|---|---| +| full dials empty, both K16 T16 | 4 (2+2) | 1600051 | 24442016 | 0.065 | 8133.6 | exact; wire = in-memory | +| empty dials full, both K16 T16 | 5 (3+2) | 1601465 | 24442016 | 0.066 | 13370.3 | exact; wire = in-memory | +| full (K4 T8) dials empty (K16 T16) | 4 (2+2) | 1600051 | 24442016 | 0.065 | 12645.3 | exact; wire = in-memory | +| empty (K16 T16) dials full (K4 T8) | 5 (3+2) | 1600166 | 24442016 | 0.065 | 12715.6 | exact; wire = in-memory | diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/crossover-10k.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/crossover-10k.txt new file mode 100644 index 0000000000..7ada575a08 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/crossover-10k.txt @@ -0,0 +1,10 @@ +## matrix: chains=10000 K=16 T=16 batch=256 repeats=1 +| N | flights (A+B) | control B | data B | transport B (QUIC) | wall ms, median | of which commit ms, median | index ms, median | checks | +|---|---|---|---|---|---|---|---|---| +run N=400 r=1 flights=8 (A 4 B 4) control=828508 data=196016 wall=108.9 ms commit=32.6 ms index=226.1 ms transport=1078537 ok=true +| 400 | 8 | 828508 | 196016 | 1078537 | 108.9 | 32.6 | 226.1 | all ok, identical across runs | +run N=800 r=1 flights=8 (A 4 B 4) control=1465422 data=392016 wall=177.5 ms commit=61.2 ms index=193.2 ms transport=1934704 ok=true +| 800 | 8 | 1465422 | 392016 | 1934704 | 177.5 | 61.2 | 193.2 | all ok, identical across runs | +run N=1600 r=1 flights=8 (A 4 B 4) control=2598113 data=784016 wall=306.5 ms commit=120.7 ms index=158.3 ms transport=3505184 ok=true +| 1600 | 8 | 2598113 | 784016 | 3505184 | 306.5 | 120.7 | 158.3 | all ok, identical across runs | +LogSync control for this chain count (S1, CBOR, not re-run): 760071 B, 2 flights before data. diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/crossover-1k.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/crossover-1k.txt new file mode 100644 index 0000000000..a59670a6fb --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/crossover-1k.txt @@ -0,0 +1,14 @@ +## matrix: chains=1000 K=16 T=16 batch=256 repeats=1 +| N | flights (A+B) | control B | data B | transport B (QUIC) | wall ms, median | of which commit ms, median | index ms, median | checks | +|---|---|---|---|---|---|---|---|---| +run N=30 r=1 flights=7 (A 4 B 3) control=69314 data=14716 wall=17.6 ms commit=10.6 ms index=37.2 ms transport=108307 ok=true +| 30 | 7 | 69314 | 14716 | 108307 | 17.6 | 10.6 | 37.2 | all ok, identical across runs | +run N=40 r=1 flights=7 (A 4 B 3) control=90654 data=19616 wall=12.1 ms commit=5.0 ms index=25.3 ms transport=135715 ok=true +| 40 | 7 | 90654 | 19616 | 135715 | 12.1 | 5.0 | 25.3 | all ok, identical across runs | +run N=50 r=1 flights=7 (A 4 B 3) control=107390 data=24516 wall=17.2 ms commit=5.6 ms index=22.8 ms transport=156868 ok=true +| 50 | 7 | 107390 | 24516 | 156868 | 17.2 | 5.6 | 22.8 | all ok, identical across runs | +run N=75 r=1 flights=7 (A 4 B 3) control=153315 data=36766 wall=21.9 ms commit=12.0 ms index=23.6 ms transport=218053 ok=true +| 75 | 7 | 153315 | 36766 | 218053 | 21.9 | 12.0 | 23.6 | all ok, identical across runs | +run N=100 r=1 flights=7 (A 4 B 3) control=200969 data=49016 wall=22.9 ms commit=11.0 ms index=22.0 ms transport=278831 ok=true +| 100 | 7 | 200969 | 49016 | 278831 | 22.9 | 11.0 | 22.0 | all ok, identical across runs | +LogSync control for this chain count (S1, CBOR, not re-run): 76071 B, 2 flights before data. diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/fork-1k.stderr b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/fork-1k.stderr new file mode 100644 index 0000000000..e69de29bb2 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/fork-1k.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/fork-1k.txt new file mode 100644 index 0000000000..ecb198f5e8 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/fork-1k.txt @@ -0,0 +1,7 @@ +## fork: chains=1000; chain 3 at seq 25 is the original on the dialer and a different event on the acceptor +| unrelated new events on the dialer | parameters, both sides | failures, verbatim | rows after, dialer / acceptor | +|---|---|---|---| +| 0 | K16 T16 | dialer: fork at key f22a287318da15fb7f32bbfa3205d4b037ac80702e2bcc0b359ec43fbed4092e0000000000000019 / acceptor: fork at key f22a287318da15fb7f32bbfa3205d4b037ac80702e2bcc0b359ec43fbed4092e0000000000000019 / stores differ after sync: 50000 rows vs 50000 rows / 50000 rows after sync, union is 50001 | 50000 / 50000 | +| 0 | K4 T8 | dialer: connection lost: closed by peer: 0 / acceptor: fork at key f22a287318da15fb7f32bbfa3205d4b037ac80702e2bcc0b359ec43fbed4092e0000000000000019 / stores differ after sync: 50000 rows vs 50000 rows / 50000 rows after sync, union is 50001 | 50000 / 50000 | +| 20 | K16 T16 | dialer: fork at key f22a287318da15fb7f32bbfa3205d4b037ac80702e2bcc0b359ec43fbed4092e0000000000000019 / acceptor: fork at key f22a287318da15fb7f32bbfa3205d4b037ac80702e2bcc0b359ec43fbed4092e0000000000000019 / stores differ after sync: 50020 rows vs 50000 rows / 50020 rows after sync, union is 50021 | 50020 / 50000 | +| 20 | K4 T8 | dialer: fork at key f22a287318da15fb7f32bbfa3205d4b037ac80702e2bcc0b359ec43fbed4092e0000000000000019 / acceptor: fork at key f22a287318da15fb7f32bbfa3205d4b037ac80702e2bcc0b359ec43fbed4092e0000000000000019 / stores differ after sync: 50020 rows vs 50000 rows / 50020 rows after sync, union is 50021 | 50020 / 50000 | diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/frame-empty.stderr b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/frame-empty.stderr new file mode 100644 index 0000000000..e69de29bb2 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/frame-empty.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/frame-empty.txt new file mode 100644 index 0000000000..b765936499 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/frame-empty.txt @@ -0,0 +1,6 @@ +| events | K, T | entries in flight 2 | flight 4 bytes (one frame) | over the limit | +|---|---|---|---|---| +| 50000 | K16 T16 | 16 | 1600185 | false | +| events | K, T | entries in flight 2 | flight 4 bytes (one frame) | over the limit | +|---|---|---|---|---| +| 550000 | K16 T16 | 16 | 17600201 | true | diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/frame.stderr b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/frame.stderr new file mode 100644 index 0000000000..e69de29bb2 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/frame.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/frame.txt new file mode 100644 index 0000000000..d3f76ab961 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/frame.txt @@ -0,0 +1,9 @@ +| events | leaf reply, bytes | payload limit, bytes | over the limit | index RSS, MiB | RSS bytes per event | +|---|---|---|---|---|---| +| 50000 | 1600006 | 16777216 | false | 4.7 | 99 | +| events | leaf reply, bytes | payload limit, bytes | over the limit | index RSS, MiB | RSS bytes per event | +|---|---|---|---|---|---| +| 524000 | 16768006 | 16777216 | false | 44.3 | 89 | +| events | leaf reply, bytes | payload limit, bytes | over the limit | index RSS, MiB | RSS bytes per event | +|---|---|---|---|---|---| +| 550000 | 17600006 | 16777216 | true | 46.4 | 88 | diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/gap.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/gap.txt new file mode 100644 index 0000000000..7296db2724 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/gap.txt @@ -0,0 +1,6 @@ +| case | compare_logs(local, remote) for the chain | entries sent | +|---|---|---| +| gap at seq 20 on the remote (has 0..19 and 21..49): heights 49 and 49 | None | 0 | +| same heights, different event at seq 25 (fork): heights 49 and 49 | None | 0 | +| remote lags: heights 49 and 30 | Some((Some(30), Some(49))) | 1 | +| remote has no entries for this chain: heights 49 and none | Some((None, Some(49))) | 1 | diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/matrix-10k-k16-t16.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/matrix-10k-k16-t16.txt new file mode 100644 index 0000000000..b748aa389e --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/matrix-10k-k16-t16.txt @@ -0,0 +1,28 @@ +## matrix: chains=10000 K=16 T=16 batch=256 repeats=5 +| N | flights (A+B) | control B | data B | transport B (QUIC) | wall ms, median | of which commit ms, median | index ms, median | checks | +|---|---|---|---|---|---|---|---|---| +run N=0 r=1 flights=2 (A 1 B 1) control=33 data=16 wall=3.3 ms commit=0.0 ms index=240.0 ms transport=21594 ok=true +run N=0 r=2 flights=2 (A 1 B 1) control=33 data=16 wall=3.8 ms commit=0.0 ms index=223.6 ms transport=21546 ok=true +run N=0 r=3 flights=2 (A 1 B 1) control=33 data=16 wall=3.6 ms commit=0.0 ms index=149.2 ms transport=21644 ok=true +run N=0 r=4 flights=2 (A 1 B 1) control=33 data=16 wall=4.7 ms commit=0.0 ms index=136.8 ms transport=21487 ok=true +run N=0 r=5 flights=2 (A 1 B 1) control=33 data=16 wall=3.8 ms commit=0.0 ms index=154.0 ms transport=21557 ok=true +| 0 | 2 | 33 | 16 | 21557 | 3.8 | 0.0 | 154.0 | all ok, identical across runs | +run N=2 r=1 flights=8 (A 4 B 4) control=7422 data=996 wall=32.9 ms commit=4.4 ms index=157.9 ms transport=30541 ok=true +run N=2 r=2 flights=8 (A 4 B 4) control=7422 data=996 wall=32.1 ms commit=4.0 ms index=152.6 ms transport=30554 ok=true +run N=2 r=3 flights=8 (A 4 B 4) control=7422 data=996 wall=34.6 ms commit=4.8 ms index=156.8 ms transport=30814 ok=true +run N=2 r=4 flights=8 (A 4 B 4) control=7422 data=996 wall=32.5 ms commit=3.5 ms index=150.3 ms transport=30627 ok=true +run N=2 r=5 flights=8 (A 4 B 4) control=7422 data=996 wall=27.2 ms commit=4.3 ms index=152.3 ms transport=30562 ok=true +| 2 | 8 | 7422 | 996 | 30562 | 32.5 | 4.3 | 152.6 | all ok, identical across runs | +run N=20 r=1 flights=8 (A 4 B 4) control=63856 data=9816 wall=40.3 ms commit=8.1 ms index=157.3 ms transport=97867 ok=true +run N=20 r=2 flights=8 (A 4 B 4) control=63856 data=9816 wall=39.2 ms commit=7.2 ms index=154.0 ms transport=97797 ok=true +run N=20 r=3 flights=8 (A 4 B 4) control=63856 data=9816 wall=73.4 ms commit=5.1 ms index=194.0 ms transport=98268 ok=true +run N=20 r=4 flights=8 (A 4 B 4) control=63856 data=9816 wall=67.9 ms commit=7.0 ms index=202.0 ms transport=96486 ok=true +run N=20 r=5 flights=8 (A 4 B 4) control=63856 data=9816 wall=48.0 ms commit=5.5 ms index=182.5 ms transport=96331 ok=true +| 20 | 8 | 63856 | 9816 | 97797 | 48.0 | 7.0 | 182.5 | all ok, identical across runs | +run N=200 r=1 flights=8 (A 4 B 4) control=462479 data=98016 wall=120.0 ms commit=22.8 ms index=187.4 ms transport=595901 ok=true +run N=200 r=2 flights=8 (A 4 B 4) control=462479 data=98016 wall=84.9 ms commit=21.5 ms index=183.3 ms transport=599808 ok=true +run N=200 r=3 flights=8 (A 4 B 4) control=462479 data=98016 wall=84.7 ms commit=22.5 ms index=167.6 ms transport=595720 ok=true +run N=200 r=4 flights=8 (A 4 B 4) control=462479 data=98016 wall=67.3 ms commit=21.4 ms index=149.3 ms transport=599552 ok=true +run N=200 r=5 flights=8 (A 4 B 4) control=462479 data=98016 wall=61.8 ms commit=14.5 ms index=144.2 ms transport=600618 ok=true +| 200 | 8 | 462479 | 98016 | 599552 | 84.7 | 21.5 | 167.6 | all ok, identical across runs | +LogSync control for this chain count (S1, CBOR, not re-run): 760071 B, 2 flights before data. diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/matrix-1k-k16-t16.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/matrix-1k-k16-t16.txt new file mode 100644 index 0000000000..e2d77e7f53 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/matrix-1k-k16-t16.txt @@ -0,0 +1,28 @@ +## matrix: chains=1000 K=16 T=16 batch=256 repeats=5 +| N | flights (A+B) | control B | data B | transport B (QUIC) | wall ms, median | of which commit ms, median | index ms, median | checks | +|---|---|---|---|---|---|---|---|---| +run N=0 r=1 flights=2 (A 1 B 1) control=33 data=16 wall=2.1 ms commit=0.0 ms index=34.7 ms transport=21527 ok=true +run N=0 r=2 flights=2 (A 1 B 1) control=33 data=16 wall=1.9 ms commit=0.0 ms index=32.6 ms transport=21627 ok=true +run N=0 r=3 flights=2 (A 1 B 1) control=33 data=16 wall=1.8 ms commit=0.0 ms index=22.8 ms transport=21726 ok=true +run N=0 r=4 flights=2 (A 1 B 1) control=33 data=16 wall=1.8 ms commit=0.0 ms index=24.0 ms transport=21594 ok=true +run N=0 r=5 flights=2 (A 1 B 1) control=33 data=16 wall=1.7 ms commit=0.0 ms index=22.7 ms transport=21618 ok=true +| 0 | 2 | 33 | 16 | 21618 | 1.8 | 0.0 | 24.0 | all ok, identical across runs | +run N=2 r=1 flights=7 (A 4 B 3) control=6554 data=996 wall=10.2 ms commit=6.7 ms index=23.3 ms transport=29779 ok=true +run N=2 r=2 flights=7 (A 4 B 3) control=6554 data=996 wall=9.2 ms commit=5.1 ms index=25.4 ms transport=29645 ok=true +run N=2 r=3 flights=7 (A 4 B 3) control=6554 data=996 wall=6.7 ms commit=3.2 ms index=22.7 ms transport=29490 ok=true +run N=2 r=4 flights=7 (A 4 B 3) control=6554 data=996 wall=13.0 ms commit=8.5 ms index=26.3 ms transport=29586 ok=true +run N=2 r=5 flights=7 (A 4 B 3) control=6554 data=996 wall=12.2 ms commit=8.3 ms index=32.9 ms transport=29569 ok=true +| 2 | 7 | 6554 | 996 | 29586 | 10.2 | 6.7 | 25.4 | all ok, identical across runs | +run N=20 r=1 flights=7 (A 4 B 3) control=50939 data=9816 wall=10.5 ms commit=4.2 ms index=20.5 ms transport=84451 ok=true +run N=20 r=2 flights=7 (A 4 B 3) control=50939 data=9816 wall=15.3 ms commit=8.6 ms index=26.1 ms transport=84464 ok=true +run N=20 r=3 flights=7 (A 4 B 3) control=50939 data=9816 wall=15.2 ms commit=4.0 ms index=29.1 ms transport=84292 ok=true +run N=20 r=4 flights=7 (A 4 B 3) control=50939 data=9816 wall=11.5 ms commit=4.3 ms index=26.3 ms transport=84332 ok=true +run N=20 r=5 flights=7 (A 4 B 3) control=50939 data=9816 wall=14.3 ms commit=8.8 ms index=26.2 ms transport=84298 ok=true +| 20 | 7 | 50939 | 9816 | 84332 | 14.3 | 4.3 | 26.2 | all ok, identical across runs | +run N=200 r=1 flights=7 (A 4 B 3) control=354280 data=98016 wall=29.9 ms commit=9.6 ms index=20.8 ms transport=490555 ok=true +run N=200 r=2 flights=7 (A 4 B 3) control=354280 data=98016 wall=34.8 ms commit=16.0 ms index=27.0 ms transport=489041 ok=true +run N=200 r=3 flights=7 (A 4 B 3) control=354280 data=98016 wall=41.1 ms commit=19.7 ms index=27.1 ms transport=488726 ok=true +run N=200 r=4 flights=7 (A 4 B 3) control=354280 data=98016 wall=37.8 ms commit=15.3 ms index=20.6 ms transport=487534 ok=true +run N=200 r=5 flights=7 (A 4 B 3) control=354280 data=98016 wall=30.5 ms commit=11.5 ms index=21.1 ms transport=490325 ok=true +| 200 | 7 | 354280 | 98016 | 489041 | 34.8 | 15.3 | 21.1 | all ok, identical across runs | +LogSync control for this chain count (S1, CBOR, not re-run): 76071 B, 2 flights before data. diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/pairs-1k.stderr b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/pairs-1k.stderr new file mode 100644 index 0000000000..e69de29bb2 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/pairs-1k.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/pairs-1k.txt new file mode 100644 index 0000000000..6ef9e4df3e --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/pairs-1k.txt @@ -0,0 +1,13 @@ +## pairs: chains=1000, base 50000 events, repeats=3 +| case | dialer K,T | acceptor K,T | new events, dialer / acceptor | flights A+B | control B | data B | wall ms, median | commit ms, median | index ms, median | checks | +|---|---|---|---|---|---|---|---|---|---|---| +| calibration: 40 new on the dialer only (S7's N=40 row) | K16 T16 | K16 T16 | 40 / 0 | 7 (4+3) | 90654 | 19616 | 31.5 | 9.3 | 33.5 | exact; 3 runs identical; wire = in-memory | +| S7 default on both sides | K16 T16 | K16 T16 | 20 / 20 | 7 (4+3) | 89698 | 19616 | 23.2 | 15.3 | 11.5 | exact; 3 runs identical; wire = in-memory | +| mixed: dialer K16 T16, acceptor K4 T8 | K16 T16 | K4 T8 | 20 / 20 | 9 (5+4) | 72062 | 19616 | 42.8 | 24.4 | 32.5 | exact; 3 runs identical; wire = in-memory | +| mixed: dialer K4 T8, acceptor K16 T16 | K4 T8 | K16 T16 | 20 / 20 | 8 (4+4) | 79200 | 19616 | 24.0 | 14.2 | 13.8 | exact; 3 runs identical; wire = in-memory | +| K2 T4 on both sides | K2 T4 | K2 T4 | 20 / 20 | 18 (9+9) | 66001 | 19616 | 30.4 | 14.7 | 18.5 | exact; 3 runs identical; wire = in-memory | +| K4 T8 on both sides (S7's bulk setting) | K4 T8 | K4 T8 | 20 / 20 | 11 (6+5) | 56761 | 19616 | 42.2 | 25.4 | 11.8 | exact; 3 runs identical; wire = in-memory | +| K32 T32 on both sides | K32 T32 | K32 T32 | 20 / 20 | 7 (4+3) | 125180 | 19616 | 24.4 | 13.5 | 10.7 | exact; 3 runs identical; wire = in-memory | +| mixed: dialer K2 T4, acceptor K32 T32 | K2 T4 | K32 T32 | 20 / 20 | 8 (4+4) | 99603 | 19616 | 26.5 | 16.6 | 17.5 | exact; 3 runs identical; wire = in-memory | +| mixed: dialer K32 T32, acceptor K2 T4 | K32 T32 | K2 T4 | 20 / 20 | 9 (5+4) | 100639 | 19616 | 36.4 | 37.9 | 12.3 | exact; 3 runs identical; wire = in-memory | +base store: 50000 events per side before the new events diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/scenarios.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/scenarios.txt new file mode 100644 index 0000000000..c138a4ef30 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/scenarios.txt @@ -0,0 +1,33 @@ +(b) XOR cancellation, in memory on crafted IDs (real BLAKE3 IDs cannot be steered this way) + b1: fingerprints equal: true, counts 3 vs 2 + PASS b1: the count check catches it: flights=4, both sides learned the true 5-item difference: true + b2: fingerprints equal: true, counts 2 vs 2 + PASS b2: equal fingerprint and count is not caught: flights=2, learned A=0 B=0, true difference=4: the 4 events are missed + note: 128-bit fingerprints make a chance match 2^-128 per compared range. Constructing one with + real events needs a 4-way XOR collision (about 2^43 signed events by generalized birthday). +(a) sequence gap: chain 7 lacks seq 20 on the acceptor, and has seq 21..49 + PASS gap is present before sync: gaps=1 bad links=0 + PASS height-only comparison sees no difference: authors whose largest seq differs: 0 of 1000 + PASS range sync moves exactly the missing event: acceptor inserted 1, dialer inserted 0, learned = true diff: true + PASS stores equal after sync: every row matches + PASS chain 7 is contiguous with valid links: gaps=0 bad links=0 + flights (A+B): 7, control bytes: 3749 +(c) bounds at keys with 0x00 bytes: authors with zero bytes at chosen public-key positions + 50 authors, 17 of them with a 0x00 byte in the public key; every seq < 256 also has 0x00 bytes + PASS (c) in-memory run learns the true difference: K=2 T=1: flights 16 ok=true; K=2 T=4: flights 14 ok=true; K=16 T=16: flights 6 ok=true; K=32 T=16: flights 6 ok=true; K=4 T=8: flights 9 ok=true + PASS (c) wire sync with zero-byte keys is exact: acceptor inserted 20 of 20, stores equal: true + PASS (c) links valid after sync: gaps=0 bad links=0 +(d) interrupted session, restarted from scratch (1,000 chains; 60 chains get 3 new events each) + cut run: dialer error = Some("cut before record 101") + cut run: acceptor error = Some("connection lost: closed by peer: cut (code 1)") + PASS (d1) both sides report the cut: dialer err=true, acceptor err=true + PASS (d1) only whole batches committed: 96 of 180 new events committed (batch 32) + PASS (d1) store consistent after the cut: gaps=0 bad links=0 + PASS (d1) committed events are the ones in the store: 96 of the new events are in the store, 96 new rows + PASS (d1) restart sends only what is missing: restart inserted 84 (expected 84), duplicates 0 + PASS (d1) restart learns exactly the missing events: learned 84 and 84, missing 84 + PASS (d1) stores equal after restart: stores equal: true + PASS (d1) links valid after restart: gaps=0 bad links=0 + PASS (d2) cut during reconciliation commits nothing: dialer err=true, acceptor err=true, new rows=0 + PASS (d2) restart completes with no duplicates: restart inserted 180 of 180, stores equal: true +failures: 0 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/sweep-10k.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/sweep-10k.txt new file mode 100644 index 0000000000..0cf812531e --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/sweep-10k.txt @@ -0,0 +1,30 @@ +## sweep: chains=10000 (one run per row, bytes and flights are deterministic) +| K | T | N | flights | control B | data B | ok | +|---|---|---|---|---|---|---| +| 4 | 4 | 2 | 13 | 4545 | 996 | true | +| 4 | 4 | 20 | 13 | 41282 | 9816 | true | +| 4 | 4 | 200 | 13 | 315259 | 98016 | true | +| 4 | 8 | 2 | 12 | 4672 | 996 | true | +| 4 | 8 | 20 | 12 | 43503 | 9816 | true | +| 4 | 8 | 200 | 12 | 334836 | 98016 | true | +| 4 | 16 | 2 | 12 | 4672 | 996 | true | +| 4 | 16 | 20 | 12 | 43503 | 9816 | true | +| 4 | 16 | 200 | 12 | 334836 | 98016 | true | +| 8 | 4 | 2 | 10 | 5479 | 996 | true | +| 8 | 4 | 20 | 10 | 47319 | 9816 | true | +| 8 | 4 | 200 | 10 | 356764 | 98016 | true | +| 8 | 8 | 2 | 10 | 5479 | 996 | true | +| 8 | 8 | 20 | 10 | 47319 | 9816 | true | +| 8 | 8 | 200 | 10 | 356764 | 98016 | true | +| 8 | 16 | 2 | 9 | 6350 | 996 | true | +| 8 | 16 | 20 | 10 | 55328 | 9816 | true | +| 8 | 16 | 200 | 10 | 431418 | 98016 | true | +| 16 | 4 | 2 | 9 | 7343 | 996 | true | +| 16 | 4 | 20 | 9 | 63349 | 9816 | true | +| 16 | 4 | 200 | 9 | 458335 | 98016 | true | +| 16 | 8 | 2 | 8 | 7422 | 996 | true | +| 16 | 8 | 20 | 8 | 63856 | 9816 | true | +| 16 | 8 | 200 | 8 | 462479 | 98016 | true | +| 16 | 16 | 2 | 8 | 7422 | 996 | true | +| 16 | 16 | 20 | 8 | 63856 | 9816 | true | +| 16 | 16 | 200 | 8 | 462479 | 98016 | true | diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/sweep-1k.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/sweep-1k.txt new file mode 100644 index 0000000000..2e59cefcc5 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/sweep-1k.txt @@ -0,0 +1,63 @@ +## sweep: chains=1000 (one run per row, bytes and flights are deterministic) +| K | T | N | flights | control B | data B | ok | +|---|---|---|---|---|---|---| +| 2 | 4 | 2 | 18 | 4813 | 996 | true | +| 2 | 4 | 20 | 18 | 35312 | 9816 | true | +| 2 | 4 | 200 | 18 | 263470 | 98016 | true | +| 2 | 8 | 2 | 17 | 4870 | 996 | true | +| 2 | 8 | 20 | 17 | 36942 | 9816 | true | +| 2 | 8 | 200 | 17 | 279725 | 98016 | true | +| 2 | 16 | 2 | 16 | 5247 | 996 | true | +| 2 | 16 | 20 | 16 | 41671 | 9816 | true | +| 2 | 16 | 200 | 16 | 324907 | 98016 | true | +| 2 | 32 | 2 | 15 | 6584 | 996 | true | +| 2 | 32 | 20 | 15 | 54311 | 9816 | true | +| 2 | 32 | 200 | 15 | 454267 | 98016 | true | +| 4 | 4 | 2 | 11 | 3912 | 996 | true | +| 4 | 4 | 20 | 11 | 31777 | 9816 | true | +| 4 | 4 | 200 | 11 | 236741 | 98016 | true | +| 4 | 8 | 2 | 11 | 3912 | 996 | true | +| 4 | 8 | 20 | 11 | 31777 | 9816 | true | +| 4 | 8 | 200 | 11 | 236741 | 98016 | true | +| 4 | 16 | 2 | 10 | 4551 | 996 | true | +| 4 | 16 | 20 | 10 | 37821 | 9816 | true | +| 4 | 16 | 200 | 10 | 296377 | 98016 | true | +| 4 | 32 | 2 | 10 | 4551 | 996 | true | +| 4 | 32 | 20 | 10 | 37821 | 9816 | true | +| 4 | 32 | 200 | 10 | 296377 | 98016 | true | +| 8 | 4 | 2 | 9 | 4815 | 996 | true | +| 8 | 4 | 20 | 9 | 36848 | 9816 | true | +| 8 | 4 | 200 | 9 | 272688 | 98016 | true | +| 8 | 8 | 2 | 9 | 4815 | 996 | true | +| 8 | 8 | 20 | 9 | 36848 | 9816 | true | +| 8 | 8 | 200 | 9 | 272688 | 98016 | true | +| 8 | 16 | 2 | 8 | 4996 | 996 | true | +| 8 | 16 | 20 | 8 | 40656 | 9816 | true | +| 8 | 16 | 200 | 8 | 308627 | 98016 | true | +| 8 | 32 | 2 | 8 | 4996 | 996 | true | +| 8 | 32 | 20 | 8 | 40656 | 9816 | true | +| 8 | 32 | 200 | 8 | 308627 | 98016 | true | +| 16 | 4 | 2 | 8 | 6415 | 996 | true | +| 16 | 4 | 20 | 8 | 49604 | 9816 | true | +| 16 | 4 | 200 | 8 | 340920 | 98016 | true | +| 16 | 8 | 2 | 8 | 6415 | 996 | true | +| 16 | 8 | 20 | 8 | 49604 | 9816 | true | +| 16 | 8 | 200 | 8 | 340920 | 98016 | true | +| 16 | 16 | 2 | 7 | 6554 | 996 | true | +| 16 | 16 | 20 | 7 | 50939 | 9816 | true | +| 16 | 16 | 200 | 7 | 354280 | 98016 | true | +| 16 | 32 | 2 | 7 | 6554 | 996 | true | +| 16 | 32 | 20 | 7 | 50939 | 9816 | true | +| 16 | 32 | 200 | 7 | 354280 | 98016 | true | +| 32 | 4 | 2 | 7 | 9775 | 996 | true | +| 32 | 4 | 20 | 7 | 73383 | 9816 | true | +| 32 | 4 | 200 | 7 | 492245 | 98016 | true | +| 32 | 8 | 2 | 7 | 9775 | 996 | true | +| 32 | 8 | 20 | 7 | 73383 | 9816 | true | +| 32 | 8 | 200 | 7 | 492245 | 98016 | true | +| 32 | 16 | 2 | 7 | 9775 | 996 | true | +| 32 | 16 | 20 | 7 | 73383 | 9816 | true | +| 32 | 16 | 200 | 7 | 492245 | 98016 | true | +| 32 | 32 | 2 | 7 | 9775 | 996 | true | +| 32 | 32 | 20 | 7 | 73383 | 9816 | true | +| 32 | 32 | 200 | 7 | 492245 | 98016 | true | diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/tzero.stderr b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/tzero.stderr new file mode 100644 index 0000000000..843e0d93a3 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/tzero.stderr @@ -0,0 +1,7 @@ + +thread 'main' (2130857) panicked at src/range.rs:97:9: +K must be at least 2, or a split makes no progress +note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace + +thread 'main' (2130857) panicked at src/range.rs:327:9: +reconciliation did not terminate diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/tzero.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/tzero.txt new file mode 100644 index 0000000000..8a9d180682 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/logs/tzero.txt @@ -0,0 +1,8 @@ +| parameters (T, K) on both sides | result | +|---|---| +| T=16, K=16 | ok: 6 flights, 3 and 3 learned | +| T=1, K=2 | ok: 12 flights, 3 and 3 learned | +| T=0, K=16 | ok: 6 flights, 3 and 3 learned | +| T=16, K=1 | panic: K must be at least 2, or a split makes no progress | +| one key each, differing: T=0, K=16 | panic: reconciliation did not terminate | +| one key each, differing: T=1, K=2 | ok: 4 flights | diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/src/bin/bench.rs b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/src/bin/bench.rs new file mode 100644 index 0000000000..78b306d268 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/src/bin/bench.rs @@ -0,0 +1,276 @@ +//! Range sync over iroh on real redb stores: the main matrix, and the K/T sweep. +//! +//! Each run copies the base store twice. The dialer's copy gets N new events on N distinct +//! chains (spread evenly, as S1 did). Both sides then sync over localhost with +//! `RelayMode::Disabled`, and the run is checked against the ground truth. +//! +//! Usage: +//! bench matrix +//! bench sweep + +use anyhow::{Context, Result, bail}; +use s7_range_real::chain::{self, EVENTS_PER_CHAIN, chain_events, chain_key}; +use s7_range_real::range::simulate; +use s7_range_real::session::{Cut, Params, Side, sync_pair}; +use s7_range_real::store::{Id, Item, Store, key_of}; +use std::collections::HashSet; +use std::path::{Path, PathBuf}; +use std::sync::Arc; +use std::time::{Duration, Instant}; + +/// S1's LogSync control bytes, CBOR: two Have messages, PreSync and two Done. Their size depends +/// on the chain count only, so they do not change with N. Taken from S1's log_sizes run and +/// not re-measured here. +fn logsync_control(chains: usize) -> Option { + match chains { + 1000 => Some(76_071), + 10_000 => Some(760_071), + _ => None, + } +} + +/// Copies the base store to two files, adds `n_new` events to the first, and returns the paths +/// and the IDs of the new events (the ground truth for the symmetric difference). +fn prepare(dir: &Path, base: &Path, tag: &str, chains: usize, n_new: usize) -> Result<(PathBuf, PathBuf, HashSet)> { + let a = dir.join(format!("a-{tag}.redb")); + let b = dir.join(format!("b-{tag}.redb")); + std::fs::copy(base, &a)?; + std::fs::copy(base, &b)?; + let store = Store::open(&a)?; + let mut items = Vec::with_capacity(n_new); + let mut truth = HashSet::with_capacity(n_new); + for j in 0..n_new { + let chain = j * chains / n_new; + let next = chain_events(&chain_key(chain), EVENTS_PER_CHAIN + 1) + .pop() + .context("chain has no next event")?; + let v = chain::verify(&next.header, &next.body)?; + truth.insert(v.id); + items.push(Item { + key: key_of(&v.author, v.seq), + id: v.id, + record: chain::record(&next.header, &next.body), + }); + } + store.insert(&items)?; + // Flush the copies, so that a commit's fsync inside the timed run does not wait for them. + std::fs::File::open(&a)?.sync_all()?; + std::fs::File::open(&b)?.sync_all()?; + Ok((a, b, truth)) +} + +#[derive(Clone, Default)] +struct Record { + flights: u32, + flights_a: u32, + flights_b: u32, + control: usize, + data: usize, + wall: Duration, + /// Redb commit time on the acceptor and dialer, summed. Included in `wall`. + commit: Duration, + index: Duration, + transport: u64, + sim_flights: u32, + failures: Vec, +} + +impl Record { + fn ok(&self) -> bool { + self.failures.is_empty() + } +} + +async fn sync_once(dir: &Path, base: &Path, chains: usize, n_new: usize, p: Params, tag: &str) -> Result { + let (a_path, b_path, truth) = prepare(dir, base, tag, chains, n_new)?; + let mut rec = Record::default(); + + let started = Instant::now(); + let store_a = Arc::new(Store::open(&a_path)?); + let party_a = Arc::new(store_a.index()?); + let store_b = Arc::new(Store::open(&b_path)?); + let party_b = Arc::new(store_b.index()?); + rec.index = started.elapsed(); + + // The in-memory run of the same scheme. Its bytes must match the wire run. + let sim = simulate(&party_a, &party_b, p.t, p.k); + rec.sim_flights = sim.flights; + + let run = sync_pair( + Side { store: store_a.clone(), party: party_a.clone() }, + Side { store: store_b.clone(), party: party_b.clone() }, + p, + Cut::Never, + ) + .await?; + rec.wall = run.wall; + rec.transport = run.transport_bytes; + + let out_a = match run.dialer { + Ok(o) => Some(o), + Err(e) => { + rec.failures.push(format!("dialer: {e:#}")); + None + } + }; + let out_b = match run.acceptor { + Ok(o) => Some(o), + Err(e) => { + rec.failures.push(format!("acceptor: {e:#}")); + None + } + }; + if let (Some(a), Some(b)) = (&out_a, &out_b) { + rec.flights_a = a.flights; + rec.flights_b = b.flights; + rec.flights = a.flights + b.flights; + rec.control = a.control_bytes + b.control_bytes; + rec.data = a.data_bytes + b.data_bytes; + rec.commit = a.commit + b.commit; + + if a.inserted != 0 { + rec.failures.push(format!("dialer inserted {}", a.inserted)); + } + if b.inserted != n_new { + rec.failures.push(format!("acceptor inserted {} of {n_new}", b.inserted)); + } + if a.duplicates + b.duplicates != 0 { + rec.failures.push("duplicate inserts".into()); + } + if a.learned != truth || b.learned != truth { + rec.failures.push("a side did not learn the true difference".into()); + } + if rec.flights != sim.flights || rec.control != sim.bytes_a + sim.bytes_b + 4 * sim.flights as usize { + rec.failures.push(format!( + "wire run differs from in-memory run: flights {} vs {}, control {} vs {}", + rec.flights, + sim.flights, + rec.control, + sim.bytes_a + sim.bytes_b + 4 * sim.flights as usize + )); + } + } + + let pairs_a = store_a.pairs()?; + let pairs_b = store_b.pairs()?; + let expected = chains * EVENTS_PER_CHAIN as usize + n_new; + if pairs_a != pairs_b || pairs_a.len() != expected { + rec.failures.push(format!( + "stores differ after sync: rows {} vs {}, expected {expected}", + pairs_a.len(), + pairs_b.len() + )); + } + + drop((party_a, party_b, store_a, store_b)); + let _ = std::fs::remove_file(&a_path); + let _ = std::fs::remove_file(&b_path); + Ok(rec) +} + +fn median(mut v: Vec) -> Duration { + v.sort(); + v[v.len() / 2] +} + +fn parse_list(s: &str) -> Result> { + s.split(',').map(|x| x.trim().parse::().map_err(Into::into)).collect() +} + +fn fmt_ms(d: Duration) -> String { + format!("{:.1}", d.as_secs_f64() * 1e3) +} + +async fn matrix(dir: &Path, chains: usize, repeats: usize, p: Params, ns: &[usize]) -> Result<()> { + let base = dir.join(format!("base-{chains}.redb")); + println!("## matrix: chains={chains} K={} T={} batch={} repeats={repeats}", p.k, p.t, p.batch); + println!("| N | flights (A+B) | control B | data B | transport B (QUIC) | wall ms, median | of which commit ms, median | index ms, median | checks |"); + println!("|---|---|---|---|---|---|---|---|---|"); + for &n in ns { + let mut runs = Vec::new(); + for r in 0..repeats { + let rec = sync_once(dir, &base, chains, n, p, &format!("m{n}-{r}")).await?; + println!( + "run N={n} r={} flights={} (A {} B {}) control={} data={} wall={} ms commit={} ms index={} ms transport={} ok={}{}", + r + 1, + rec.flights, + rec.flights_a, + rec.flights_b, + rec.control, + rec.data, + fmt_ms(rec.wall), + fmt_ms(rec.commit), + fmt_ms(rec.index), + rec.transport, + rec.ok(), + if rec.ok() { String::new() } else { format!(" FAILED: {}", rec.failures.join("; ")) } + ); + runs.push(rec); + } + let first = &runs[0]; + let same = runs.iter().all(|r| r.flights == first.flights && r.control == first.control && r.data == first.data); + let all_ok = runs.iter().all(Record::ok); + let mut transport: Vec = runs.iter().map(|r| r.transport).collect(); + transport.sort(); + println!( + "| {n} | {} | {} | {} | {} | {} | {} | {} | {} |", + first.flights, + first.control, + first.data, + transport[transport.len() / 2], + fmt_ms(median(runs.iter().map(|r| r.wall).collect())), + fmt_ms(median(runs.iter().map(|r| r.commit).collect())), + fmt_ms(median(runs.iter().map(|r| r.index).collect())), + if all_ok && same { "all ok, identical across runs" } else { "SEE RUN LINES" } + ); + } + if let Some(ls) = logsync_control(chains) { + println!("LogSync control for this chain count (S1, CBOR, not re-run): {ls} B, 2 flights before data."); + } + Ok(()) +} + +async fn sweep(dir: &Path, chains: usize, ks: &[usize], ts: &[usize], ns: &[usize]) -> Result<()> { + let base = dir.join(format!("base-{chains}.redb")); + println!("## sweep: chains={chains} (one run per row, bytes and flights are deterministic)"); + println!("| K | T | N | flights | control B | data B | ok |"); + println!("|---|---|---|---|---|---|---|"); + for &k in ks { + for &t in ts { + for &n in ns { + let p = Params { k, t, batch: 256 }; + let rec = sync_once(dir, &base, chains, n, p, &format!("s{k}-{t}-{n}")).await?; + println!( + "| {k} | {t} | {n} | {} | {} | {} | {}{} |", + rec.flights, + rec.control, + rec.data, + rec.ok(), + if rec.ok() { String::new() } else { format!(" {}", rec.failures.join("; ")) } + ); + } + } + } + Ok(()) +} + +#[tokio::main] +async fn main() -> Result<()> { + let args: Vec = std::env::args().skip(1).collect(); + let arg = |i: usize| -> Result<&str> { args.get(i).map(String::as_str).context("missing argument") }; + match arg(0)? { + "matrix" => { + let dir = PathBuf::from(arg(1)?); + let chains: usize = arg(2)?.parse()?; + let repeats: usize = arg(3)?.parse()?; + let p = Params { k: arg(4)?.parse()?, t: arg(5)?.parse()?, batch: 256 }; + matrix(&dir, chains, repeats, p, &parse_list(arg(6)?)?).await + } + "sweep" => { + let dir = PathBuf::from(arg(1)?); + let chains: usize = arg(2)?.parse()?; + sweep(&dir, chains, &parse_list(arg(3)?)?, &parse_list(arg(4)?)?, &parse_list(arg(5)?)?).await + } + other => bail!("unknown command {other}"), + } +} diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/src/bin/gen.rs b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/src/bin/gen.rs new file mode 100644 index 0000000000..68ecedc079 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/src/bin/gen.rs @@ -0,0 +1,53 @@ +//! Builds the base store: `chains` device chains, 50 signed events each, every event verified +//! with `AnyHeader::decode` before it is stored. +//! +//! Usage: gen -> /base-.redb + +use anyhow::{Result, bail}; +use s7_range_real::chain::{self, EVENTS_PER_CHAIN, chain_events, chain_key}; +use s7_range_real::store::{Item, Store, key_of}; +use std::path::PathBuf; +use std::time::Instant; + +fn main() -> Result<()> { + let args: Vec = std::env::args().collect(); + if args.len() != 3 { + bail!("usage: gen "); + } + let dir = PathBuf::from(&args[1]); + let chains: usize = args[2].parse()?; + std::fs::create_dir_all(&dir)?; + let path = dir.join(format!("base-{chains}.redb")); + let _ = std::fs::remove_file(&path); + let store = Store::open(&path)?; + + let started = Instant::now(); + let mut verified = 0usize; + let mut pending: Vec = Vec::new(); + for i in 0..chains { + for ev in chain_events(&chain_key(i), EVENTS_PER_CHAIN) { + let v = chain::verify(&ev.header, &ev.body)?; + verified += 1; + pending.push(Item { + key: key_of(&v.author, v.seq), + id: v.id, + record: chain::record(&ev.header, &ev.body), + }); + if pending.len() == 10_000 { + store.insert(&pending)?; + pending.clear(); + } + } + } + store.insert(&pending)?; + let elapsed = started.elapsed(); + let (events, rows) = store.counts()?; + let bytes = std::fs::metadata(&path)?.len(); + println!( + "gen: chains={chains} events={events} rows={rows} verified={verified} \ + time={:.1}s file={:.1} MB", + elapsed.as_secs_f64(), + bytes as f64 / 1e6 + ); + Ok(()) +} diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/src/bin/mixed.rs b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/src/bin/mixed.rs new file mode 100644 index 0000000000..89fc753b51 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/src/bin/mixed.rs @@ -0,0 +1,563 @@ +//! Mixed and extreme K and T on real redb stores over iroh, plus the failure-mode checks that +//! RESULTS.md cites. Each wire run is checked against the in-memory run with the same parameters, +//! and against the ground truth taken from the two stores before the sync. +//! +//! Usage (under `unshare -Urn`, after `ip link set lo up`): +//! mixed pairs K/T pairs, new events on both sides +//! mixed bootstrap one side empty, both directions +//! mixed fork two different events at one (author, seq) +//! mixed tzero in memory: parameter values the code rejects +//! mixed frame in memory: one leaf reply, and index memory +//! mixed gap compare_logs on heights, for the same cases + +use anyhow::{Context, Result, bail}; +use p2panda_core::logs::{LogHeights, compare_logs}; +use p2panda_core::{Hash, VerifyingKey}; +use s7_range_real::chain::{self, BODY_LEN, EVENTS_PER_CHAIN, chain_events, chain_key, event_with_body}; +use s7_range_real::range::{self, Entry, Mode, Party, simulate_mixed}; +use s7_range_real::session::{Cut, Params, Side, sync_pair_mixed}; +use s7_range_real::store::{Id, Item, KEY_LEN, Key, Store, key_of}; +use std::any::Any; +use std::collections::{BTreeMap, HashSet}; +use std::panic::{AssertUnwindSafe, catch_unwind}; +use std::path::{Path, PathBuf}; +use std::sync::Arc; +use std::time::{Duration, Instant}; + +/// `MAX_FRAME` in session.rs. `write_frame` refuses a payload larger than this. +const MAX_FRAME: usize = 16 << 20; + +#[derive(Clone, Copy, PartialEq, Eq)] +enum Empty { + Neither, + Dialer, + Acceptor, +} + +/// `dial` and `acc` are (K, T), in the order the brief writes them. +#[derive(Clone)] +struct Case { + label: String, + dial: (usize, usize), + acc: (usize, usize), + dial_new: usize, + acc_new: usize, + empty: Empty, +} + +#[derive(Default, Clone)] +struct Rec { + flights: (u32, u32), + control: usize, + data: usize, + wall: Duration, + commit: Duration, + index: Duration, + learned: usize, + inserted: (usize, usize), + dups: usize, + rows: usize, + rows_b: usize, + union: usize, + sim_flights: u32, + sim_ok: bool, + failures: Vec, +} + +impl Rec { + fn ok(&self) -> bool { + self.failures.is_empty() + } +} + +/// The base store, as `gen` builds it: `chains` chains of 50 events. Reused if it exists. +fn base(dir: &Path, chains: usize) -> Result { + let path = dir.join(format!("base-{chains}.redb")); + if path.exists() { + return Ok(path); + } + std::fs::create_dir_all(dir)?; + let store = Store::open(&path)?; + let mut pending = Vec::new(); + for i in 0..chains { + for ev in chain_events(&chain_key(i), EVENTS_PER_CHAIN) { + let v = chain::verify(&ev.header, &ev.body)?; + pending.push(Item { key: key_of(&v.author, v.seq), id: v.id, record: chain::record(&ev.header, &ev.body) }); + if pending.len() == 10_000 { + store.insert(&pending)?; + pending.clear(); + } + } + } + store.insert(&pending)?; + drop(store); + Ok(path) +} + +/// The next event (seq 50) of chain `c`, as a store item. +fn next_item(c: usize) -> Result { + let ev = chain_events(&chain_key(c), EVENTS_PER_CHAIN + 1).pop().context("no next event")?; + let v = chain::verify(&ev.header, &ev.body)?; + Ok(Item { key: key_of(&v.author, v.seq), id: v.id, record: chain::record(&ev.header, &ev.body) }) +} + +/// Adds `n` next events to the store at `path`, on chains `j * step`, or `j * step + step / 2` +/// when `offset` is set, with `step = chains / n`. The two sides use different offsets, so their +/// new events sit on different chains, and no (author, seq) is written twice. +fn add_new(path: &Path, chains: usize, n: usize, offset: bool) -> Result<()> { + if n == 0 { + return Ok(()); + } + let step = chains / n; + let items = (0..n) + .map(|j| next_item(j * step + if offset { step / 2 } else { 0 })) + .collect::>>()?; + let store = Store::open(path)?; + store.insert(&items)?; + drop(store); + std::fs::File::open(path)?.sync_all()?; + Ok(()) +} + +/// Copies the base into two stores, leaving out an empty side, and adds the new events. The +/// copies are flushed first, as in S7's bench, so that fsync does not wait on the copies. +fn prepare(dir: &Path, base: &Path, tag: &str, chains: usize, c: &Case) -> Result<(PathBuf, PathBuf)> { + let a = dir.join(format!("a-{tag}.redb")); + let b = dir.join(format!("b-{tag}.redb")); + let _ = std::fs::remove_file(&a); + let _ = std::fs::remove_file(&b); + if c.empty != Empty::Dialer { + std::fs::copy(base, &a)?; + } + if c.empty != Empty::Acceptor { + std::fs::copy(base, &b)?; + } + add_new(&a, chains, c.dial_new, false)?; + add_new(&b, chains, c.acc_new, true)?; + for p in [&a, &b] { + if p.exists() { + std::fs::File::open(p)?.sync_all()?; + } + } + Ok((a, b)) +} + +/// Syncs the stores at `a_path` (dialer, K/T `dial`) and `b_path` (acceptor, `acc`), and checks +/// the run against the in-memory run and the ground truth. +async fn sync_check(a_path: &Path, b_path: &Path, dial: (usize, usize), acc: (usize, usize)) -> Result { + let mut rec = Rec::default(); + let store_a = Arc::new(Store::open(a_path)?); + let store_b = Arc::new(Store::open(b_path)?); + let pre_a = store_a.pairs()?; + let pre_b = store_b.pairs()?; + let ids_a: HashSet = pre_a.iter().map(|p| p.1).collect(); + let ids_b: HashSet = pre_b.iter().map(|p| p.1).collect(); + let truth: HashSet = ids_a.symmetric_difference(&ids_b).copied().collect(); + let a_needs = ids_b.difference(&ids_a).count(); + let b_needs = ids_a.difference(&ids_b).count(); + rec.union = ids_a.union(&ids_b).count(); + + let started = Instant::now(); + let party_a = Arc::new(store_a.index()?); + let party_b = Arc::new(store_b.index()?); + rec.index = started.elapsed(); + + // The dialer is `a`. `simulate_mixed` takes (T, K). + let sim = simulate_mixed(&party_a, &party_b, (dial.1, dial.0), (acc.1, acc.0)); + rec.sim_flights = sim.flights; + + let run = sync_pair_mixed( + Side { store: store_a.clone(), party: party_a.clone() }, + Side { store: store_b.clone(), party: party_b.clone() }, + Params { k: dial.0, t: dial.1, batch: 256 }, + Params { k: acc.0, t: acc.1, batch: 256 }, + Cut::Never, + ) + .await?; + rec.wall = run.wall; + + let out_a = match run.dialer { + Ok(o) => Some(o), + Err(e) => { + rec.failures.push(format!("dialer: {e:#}")); + None + } + }; + let out_b = match run.acceptor { + Ok(o) => Some(o), + Err(e) => { + rec.failures.push(format!("acceptor: {e:#}")); + None + } + }; + if let (Some(a), Some(b)) = (&out_a, &out_b) { + rec.flights = (a.flights, b.flights); + rec.control = a.control_bytes + b.control_bytes; + rec.data = a.data_bytes + b.data_bytes; + rec.commit = a.commit + b.commit; + rec.learned = a.learned.len(); + rec.inserted = (a.inserted, b.inserted); + rec.dups = a.duplicates + b.duplicates; + if a.learned != truth { + rec.failures.push("dialer did not learn the true difference".into()); + } + if b.learned != truth { + rec.failures.push("acceptor did not learn the true difference".into()); + } + if a.inserted != a_needs { + rec.failures.push(format!("dialer inserted {} of {a_needs}", a.inserted)); + } + if b.inserted != b_needs { + rec.failures.push(format!("acceptor inserted {} of {b_needs}", b.inserted)); + } + if rec.dups != 0 { + rec.failures.push(format!("{} duplicate inserts", rec.dups)); + } + rec.sim_ok = rec.flights.0 + rec.flights.1 == sim.flights + && rec.control == sim.bytes_a + sim.bytes_b + 4 * sim.flights as usize; + if !rec.sim_ok { + rec.failures.push(format!( + "wire differs from in-memory run: flights {} vs {}, control {} vs {}", + rec.flights.0 + rec.flights.1, + sim.flights, + rec.control, + sim.bytes_a + sim.bytes_b + 4 * sim.flights as usize + )); + } + } + + let post_a = store_a.pairs()?; + let post_b = store_b.pairs()?; + rec.rows = post_a.len(); + rec.rows_b = post_b.len(); + if post_a != post_b { + rec.failures.push(format!("stores differ after sync: {} rows vs {} rows", post_a.len(), post_b.len())); + } + if post_a.len() != rec.union { + rec.failures.push(format!("{} rows after sync, union is {}", post_a.len(), rec.union)); + } + Ok(rec) +} + +async fn run_case(dir: &Path, base: &Path, tag: &str, chains: usize, c: &Case) -> Result { + let (a, b) = prepare(dir, base, tag, chains, c)?; + let rec = sync_check(&a, &b, c.dial, c.acc).await?; + let _ = std::fs::remove_file(&a); + let _ = std::fs::remove_file(&b); + Ok(rec) +} + +fn median(mut v: Vec) -> Duration { + v.sort(); + v[v.len() / 2] +} + +fn ms(d: Duration) -> String { + format!("{:.1}", d.as_secs_f64() * 1e3) +} + +async fn pairs(dir: &Path, chains: usize, repeats: usize) -> Result<()> { + let base = base(dir, chains)?; + let c = |label: &str, dial, acc, dial_new, acc_new| Case { + label: label.into(), + dial, + acc, + dial_new, + acc_new, + empty: Empty::Neither, + }; + let cases = vec![ + c("calibration: 40 new on the dialer only (S7's N=40 row)", (16, 16), (16, 16), 40, 0), + c("S7 default on both sides", (16, 16), (16, 16), 20, 20), + c("mixed: dialer K16 T16, acceptor K4 T8", (16, 16), (4, 8), 20, 20), + c("mixed: dialer K4 T8, acceptor K16 T16", (4, 8), (16, 16), 20, 20), + c("K2 T4 on both sides", (2, 4), (2, 4), 20, 20), + c("K4 T8 on both sides (S7's bulk setting)", (4, 8), (4, 8), 20, 20), + c("K32 T32 on both sides", (32, 32), (32, 32), 20, 20), + c("mixed: dialer K2 T4, acceptor K32 T32", (2, 4), (32, 32), 20, 20), + c("mixed: dialer K32 T32, acceptor K2 T4", (32, 32), (2, 4), 20, 20), + ]; + println!("## pairs: chains={chains}, base {} events, repeats={repeats}", chains * EVENTS_PER_CHAIN as usize); + println!("| case | dialer K,T | acceptor K,T | new events, dialer / acceptor | flights A+B | control B | data B | wall ms, median | commit ms, median | index ms, median | checks |"); + println!("|---|---|---|---|---|---|---|---|---|---|---|"); + for (i, case) in cases.iter().enumerate() { + let mut runs = Vec::new(); + for r in 0..repeats { + let rec = run_case(dir, &base, &format!("p{i}-{r}"), chains, case).await?; + for f in &rec.failures { + eprintln!("FAILED {} run {}: {f}", case.label, r + 1); + } + runs.push(rec); + } + let first = runs[0].clone(); + let same = runs.iter().all(|r| r.flights == first.flights && r.control == first.control && r.data == first.data); + let all_ok = runs.iter().all(|r| r.ok() && r.sim_ok); + let checks = if all_ok && same { + format!("exact; {} runs identical; wire = in-memory", runs.len()) + } else { + "FAILED (see stderr)".to_string() + }; + println!( + "| {} | K{} T{} | K{} T{} | {} / {} | {} ({}+{}) | {} | {} | {} | {} | {} | {} |", + case.label, + case.dial.0, + case.dial.1, + case.acc.0, + case.acc.1, + case.dial_new, + case.acc_new, + first.flights.0 + first.flights.1, + first.flights.0, + first.flights.1, + first.control, + first.data, + ms(median(runs.iter().map(|r| r.wall).collect())), + ms(median(runs.iter().map(|r| r.commit).collect())), + ms(median(runs.iter().map(|r| r.index).collect())), + checks + ); + } + println!("base store: {} events per side before the new events", chains * EVENTS_PER_CHAIN as usize); + Ok(()) +} + +async fn bootstrap(dir: &Path, chains: usize) -> Result<()> { + let base = base(dir, chains)?; + let cases = [ + Case { label: "full dials empty, both K16 T16".into(), dial: (16, 16), acc: (16, 16), dial_new: 0, acc_new: 0, empty: Empty::Acceptor }, + Case { label: "empty dials full, both K16 T16".into(), dial: (16, 16), acc: (16, 16), dial_new: 0, acc_new: 0, empty: Empty::Dialer }, + Case { label: "full (K4 T8) dials empty (K16 T16)".into(), dial: (4, 8), acc: (16, 16), dial_new: 0, acc_new: 0, empty: Empty::Acceptor }, + Case { label: "empty (K16 T16) dials full (K4 T8)".into(), dial: (16, 16), acc: (4, 8), dial_new: 0, acc_new: 0, empty: Empty::Dialer }, + ]; + println!("## bootstrap: chains={chains}, {} events on the full side, one run each", chains * EVENTS_PER_CHAIN as usize); + println!("| case | flights A+B | control B | data B | control / data | wall ms | checks |"); + println!("|---|---|---|---|---|---|---|"); + for (i, c) in cases.iter().enumerate() { + let rec = run_case(dir, &base, &format!("boot{i}"), chains, c).await?; + for f in &rec.failures { + eprintln!("FAILED {}: {f}", c.label); + } + println!( + "| {} | {} ({}+{}) | {} | {} | {:.3} | {} | {} |", + c.label, + rec.flights.0 + rec.flights.1, + rec.flights.0, + rec.flights.1, + rec.control, + rec.data, + rec.control as f64 / rec.data.max(1) as f64, + ms(rec.wall), + if rec.ok() && rec.sim_ok { "exact; wire = in-memory".to_string() } else { format!("FAILED: {}", rec.failures.join("; ")) } + ); + } + Ok(()) +} + +async fn fork(dir: &Path, chains: usize) -> Result<()> { + let base = base(dir, chains)?; + // Chain 3, seq 25: the fork is signed by the same key, with another body, linked to seq 24. + let key = chain_key(3); + let author = *key.verifying_key().as_bytes(); + let events = chain_events(&key, EVENTS_PER_CHAIN); + let fork_ev = event_with_body(&key, 25, Some(Hash::digest(&events[24].header)), &vec![0xAB; BODY_LEN]); + let a = dir.join("fork-a.redb"); + let b = dir.join("fork-b.redb"); + println!("## fork: chains={chains}; chain 3 at seq 25 is the original on the dialer and a different event on the acceptor"); + println!("| unrelated new events on the dialer | parameters, both sides | failures, verbatim | rows after, dialer / acceptor |"); + println!("|---|---|---|---|"); + for extra in [0usize, 20] { + for (label, kt) in [("K16 T16", (16, 16)), ("K4 T8", (4, 8))] { + let _ = std::fs::remove_file(&a); + let _ = std::fs::remove_file(&b); + std::fs::copy(&base, &a)?; + std::fs::copy(&base, &b)?; + let sb = Store::open(&b)?; + sb.remove(&key_of(&author, 25))?; + sb.insert(&[Item { key: key_of(&author, 25), id: fork_ev.id(), record: chain::record(&fork_ev.header, &fork_ev.body) }])?; + drop(sb); + // Unrelated events on other chains, in the dialer's store only. + add_new(&a, chains, extra, false)?; + let rec = sync_check(&a, &b, kt, kt).await?; + println!("| {extra} | {label} | {} | {} / {} |", rec.failures.join(" / "), rec.rows, rec.rows_b); + } + } + let _ = std::fs::remove_file(&a); + let _ = std::fs::remove_file(&b); + Ok(()) +} + +/// Text of a panic payload. +fn panic_text(e: &Box) -> String { + e.downcast_ref::<&str>() + .map(|s| s.to_string()) + .or_else(|| e.downcast_ref::().cloned()) + .unwrap_or_else(|| "non-string panic".into()) +} + +fn tzero() { + // 300 keys on the acceptor side; the dialer lacks three of them. + let mut rows: Vec<(Key, Id)> = (0..300u64) + .map(|i| { + let author = *blake3::hash(&i.to_be_bytes()).as_bytes(); + let key = key_of(&author, 0); + (key, *blake3::hash(&key).as_bytes()) + }) + .collect(); + rows.sort(); + let (ak, ai): (Vec, Vec) = rows.iter().copied().unzip(); + let (bk, bi): (Vec, Vec) = rows + .iter() + .enumerate() + .filter(|(i, _)| ![10, 150, 290].contains(i)) + .map(|(_, r)| *r) + .unzip(); + let a = Party::new(ak, ai); + let b = Party::new(bk, bi); + println!("| parameters (T, K) on both sides | result |"); + println!("|---|---|"); + for (t, k) in [(16usize, 16usize), (1, 2), (0, 16), (16, 1)] { + let r = catch_unwind(AssertUnwindSafe(|| simulate_mixed(&a, &b, (t, k), (t, k)))); + match r { + Ok(sim) => println!( + "| T={t}, K={k} | ok: {} flights, {} and {} learned |", + sim.flights, + sim.learned_a.len(), + sim.learned_b.len() + ), + Err(e) => println!("| T={t}, K={k} | panic: {} |", panic_text(&e)), + } + } + // One key on each side, and the keys differ. The smallest possible mismatch. + let kx = key_of(blake3::hash(b"x").as_bytes(), 0); + let ky = key_of(blake3::hash(b"y").as_bytes(), 0); + let one_x = Party::new(vec![kx], vec![*blake3::hash(&kx).as_bytes()]); + let one_y = Party::new(vec![ky], vec![*blake3::hash(&ky).as_bytes()]); + for (t, k) in [(0usize, 16usize), (1, 2)] { + let r = catch_unwind(AssertUnwindSafe(|| simulate_mixed(&one_x, &one_y, (t, k), (t, k)))); + match r { + Ok(sim) => println!("| one key each, differing: T={t}, K={k} | ok: {} flights |", sim.flights), + Err(e) => println!("| one key each, differing: T={t}, K={k} | panic: {} |", panic_text(&e)), + } + } +} + +fn rss_kib() -> u64 { + std::fs::read_to_string("/proc/self/status") + .ok() + .and_then(|s| { + s.lines() + .find(|l| l.starts_with("VmRSS:")) + .and_then(|l| l.split_whitespace().nth(1)) + .and_then(|v| v.parse().ok()) + }) + .unwrap_or(0) +} + +fn frame(n: usize) { + let before = rss_kib(); + let keys: Vec = (0..n) + .map(|i| { + let mut k = [0u8; KEY_LEN]; + k[..8].copy_from_slice(&(i as u64).to_be_bytes()); + k + }) + .collect(); + let ids: Vec = (0..n).map(|i| *blake3::hash(&(i as u64).to_be_bytes()).as_bytes()).collect(); + let party = Party::new(keys, ids); + let after = rss_kib(); + // The responder is empty, so it answers with an empty ID list for the whole range. The + // initiator then replies with every ID it holds in that range: one leaf message, unbounded. + let mut learned = HashSet::new(); + let reply = party.respond(&[Entry { upper: None, mode: Mode::Ids { ids: vec![], reply: true } }], 16, 16, &mut learned); + let bytes = range::encode(&reply).len(); + let rss_kib_delta = after.saturating_sub(before); + println!("| events | leaf reply, bytes | payload limit, bytes | over the limit | index RSS, MiB | RSS bytes per event |"); + println!("|---|---|---|---|---|---|"); + println!( + "| {n} | {bytes} | {MAX_FRAME} | {} | {:.1} | {:.0} |", + bytes > MAX_FRAME, + rss_kib_delta as f64 / 1024.0, + rss_kib_delta as f64 * 1024.0 / n as f64 + ); +} + +/// The same synthetic index as `frame`. +fn synthetic(n: usize) -> Party { + let keys: Vec = (0..n) + .map(|i| { + let mut k = [0u8; KEY_LEN]; + k[..8].copy_from_slice(&(i as u64).to_be_bytes()); + k + }) + .collect(); + let ids: Vec = (0..n).map(|i| *blake3::hash(&(i as u64).to_be_bytes()).as_bytes()).collect(); + Party::new(keys, ids) +} + +/// Bootstrap with the empty side dialing. Each flight is one frame, and it carries the replies +/// for every entry it answers, so the total for the flight is what the limit applies to. +fn frame_empty_dialer(n: usize, k: usize, t: usize) { + let full = synthetic(n); + let empty = Party::new(vec![], vec![]); + let mut learned = HashSet::new(); + let open = vec![empty.full_range()]; + let split = full.respond(&open, t, k, &mut learned); + let ask = empty.respond(&split, t, k, &mut learned); + let reply = full.respond(&ask, t, k, &mut learned); + let bytes = range::encode(&reply).len(); + println!("| events | K, T | entries in flight 2 | flight 4 bytes (one frame) | over the limit |"); + println!("|---|---|---|---|---|"); + println!("| {n} | K{k} T{t} | {} | {bytes} | {} |", split.len(), bytes > MAX_FRAME); +} + +fn gap() { + let author: VerifyingKey = chain_key(7).verifying_key(); + let heights = |h: Option| -> LogHeights { + match h { + Some(h) => BTreeMap::from([(author.clone(), BTreeMap::from([(0u64, h)]))]), + None => BTreeMap::new(), + } + }; + let cases = [ + ("gap at seq 20 on the remote (has 0..19 and 21..49): heights 49 and 49", heights(Some(49)), heights(Some(49))), + ("same heights, different event at seq 25 (fork): heights 49 and 49", heights(Some(49)), heights(Some(49))), + ("remote lags: heights 49 and 30", heights(Some(49)), heights(Some(30))), + ("remote has no entries for this chain: heights 49 and none", heights(Some(49)), heights(None)), + ]; + println!("| case | compare_logs(local, remote) for the chain | entries sent |"); + println!("|---|---|---|"); + for (label, local, remote) in cases { + let ranges = compare_logs(&local, &remote); + let entry = ranges.get(&author).and_then(|m| m.get(&0u64)).copied(); + let sent = ranges.values().map(|m| m.len()).sum::(); + println!("| {label} | {:?} | {sent} |", entry); + } +} + +#[tokio::main] +async fn main() -> Result<()> { + let args: Vec = std::env::args().skip(1).collect(); + let arg = |i: usize| -> Result<&str> { args.get(i).map(String::as_str).context("missing argument") }; + match arg(0)? { + "pairs" => pairs(&PathBuf::from(arg(1)?), arg(2)?.parse()?, arg(3)?.parse()?).await, + "bootstrap" => bootstrap(&PathBuf::from(arg(1)?), arg(2)?.parse()?).await, + "fork" => fork(&PathBuf::from(arg(1)?), arg(2)?.parse()?).await, + "tzero" => { + tzero(); + Ok(()) + } + "frame" => { + frame(arg(1)?.parse()?); + Ok(()) + } + "gap" => { + gap(); + Ok(()) + } + "frame-empty" => { + frame_empty_dialer(arg(1)?.parse()?, 16, 16); + Ok(()) + } + other => bail!("unknown command {other}"), + } +} diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/src/bin/scenarios.rs b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/src/bin/scenarios.rs new file mode 100644 index 0000000000..5d74738f0b --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/src/bin/scenarios.rs @@ -0,0 +1,448 @@ +//! The "what could be missed" checks, on real stores over iroh (except (b), which runs the +//! scheme in memory on crafted IDs). +//! +//! (a) a chain with a sequence gap on one side +//! (b) XOR cancellation: same fingerprint, with and without the count check +//! (c) bounds at keys containing 0x00 bytes +//! (d) an interrupted session, restarted from scratch +//! +//! Usage: scenarios + +use anyhow::{Context, Result, bail}; +use p2panda_core::SigningKey; +use s7_range_real::chain::{self, EVENTS_PER_CHAIN, chain_events, chain_key, split_record}; +use s7_range_real::range::{Party, simulate}; +use s7_range_real::session::{Cut, Params, Run, Side, sync_pair}; +use s7_range_real::store::{Id, Item, Key, Store, key_of}; +use std::collections::HashSet; +use std::path::{Path, PathBuf}; +use std::sync::Arc; + +#[derive(Default)] +struct Report { + failures: usize, +} + +impl Report { + fn check(&mut self, name: &str, ok: bool, detail: impl AsRef) { + if ok { + println!(" PASS {name}: {}", detail.as_ref()); + } else { + self.failures += 1; + println!(" FAIL {name}: {}", detail.as_ref()); + } + } +} + +/// Copies `base` to `dst` and returns its path. +fn copy_to(base: &Path, dst: PathBuf) -> Result { + let _ = std::fs::remove_file(&dst); + std::fs::copy(base, &dst)?; + Ok(dst) +} + +/// Adds events `EVENTS_PER_CHAIN..EVENTS_PER_CHAIN + count` on each `(key, count)` to a store. +/// Returns the IDs added. +fn add_next(path: &Path, extra: &[(&SigningKey, u32)]) -> Result> { + let store = Store::open(path)?; + let mut items = Vec::new(); + let mut ids = HashSet::new(); + for (key, count) in extra { + let events = chain_events(key, EVENTS_PER_CHAIN + count); + for ev in events.iter().skip(EVENTS_PER_CHAIN as usize) { + let v = chain::verify(&ev.header, &ev.body)?; + ids.insert(v.id); + items.push(Item { + key: key_of(&v.author, v.seq), + id: v.id, + record: chain::record(&ev.header, &ev.body), + }); + } + } + store.insert(&items)?; + Ok(ids) +} + +/// Checks each author's rows: a missing seq counts as a gap, and a row whose predecessor is held +/// must link to it by backlink. Returns (gaps, bad links). +fn audit(store: &Store) -> Result<(usize, usize)> { + let mut gaps = 0usize; + let mut bad = 0usize; + let mut prev: Option<([u8; 32], u32, Id)> = None; + for (key, id) in store.pairs()? { + let author: [u8; 32] = key[..32].try_into()?; + let seq = u64::from_be_bytes(key[32..].try_into()?) as u32; + let same = matches!(prev, Some((a, _, _)) if a == author); + if same { + let (_, ps, pid) = prev.context("prev")?; + if seq > ps + 1 { + gaps += (seq - ps - 1) as usize; + } + if seq == ps + 1 { + let rec = store.record(&id)?; + let (header, body) = split_record(&rec)?; + if chain::verify(header, body)?.backlink != Some(pid) { + bad += 1; + } + } + } else if seq != 0 { + gaps += seq as usize; + } + prev = Some((author, seq, id)); + } + Ok((gaps, bad)) +} + +async fn sync_paths(a: &Path, b: &Path, p: Params, cut: Cut) -> Result<(Run, Arc, Arc)> { + let store_a = Arc::new(Store::open(a)?); + let party_a = Arc::new(store_a.index()?); + let store_b = Arc::new(Store::open(b)?); + let party_b = Arc::new(store_b.index()?); + let run = sync_pair( + Side { store: store_a.clone(), party: party_a }, + Side { store: store_b.clone(), party: party_b }, + p, + cut, + ) + .await?; + Ok((run, store_a, store_b)) +} + +fn same_rows(a: &Store, b: &Store) -> Result { + Ok(a.pairs()? == b.pairs()? && a.counts()? == b.counts()?) +} + +// (a) ------------------------------------------------------------------------------------------ + +async fn scenario_a(dir: &Path, base: &Path, rep: &mut Report) -> Result<()> { + println!("(a) sequence gap: chain 7 lacks seq 20 on the acceptor, and has seq 21..49"); + let victim = chain_key(7); + let author = *victim.verifying_key().as_bytes(); + let truth: HashSet = [chain_events(&victim, EVENTS_PER_CHAIN)[20].id()].into_iter().collect(); + + let a = copy_to(base, dir.join("a-gap.redb"))?; + let b = copy_to(base, dir.join("b-gap.redb"))?; + Store::open(&b)?.remove(&key_of(&author, 20))?; + + let store_b = Store::open(&b)?; + let (gaps_before, bad_before) = audit(&store_b)?; + rep.check("gap is present before sync", gaps_before == 1 && bad_before == 0, format!("gaps={gaps_before} bad links={bad_before}")); + drop(store_b); + + // Height view: the largest seq per author, as a height-based Have message would carry. + let heights = |path: &Path| -> Result> { + let store = Store::open(path)?; + let mut h = std::collections::BTreeMap::new(); + for (key, _) in store.pairs()? { + let author: [u8; 32] = key[..32].try_into()?; + let seq = u64::from_be_bytes(key[32..].try_into()?) as u32; + let e = h.entry(author).or_insert(0); + *e = (*e).max(seq); + } + Ok(h) + }; + let (ha, hb) = (heights(&a)?, heights(&b)?); + let height_diffs = ha.iter().filter(|(k, v)| hb.get(*k) != Some(v)).count(); + rep.check( + "height-only comparison sees no difference", + height_diffs == 0, + format!("authors whose largest seq differs: {height_diffs} of {}", ha.len()), + ); + + let (run, sa, sb) = sync_paths(&a, &b, Params { k: 16, t: 16, batch: 256 }, Cut::Never).await?; + let out_a = run.dialer?; + let out_b = run.acceptor?; + rep.check( + "range sync moves exactly the missing event", + out_b.inserted == 1 && out_a.inserted == 0 && out_b.learned == truth && out_a.learned == truth, + format!( + "acceptor inserted {}, dialer inserted {}, learned = true diff: {}", + out_b.inserted, + out_a.inserted, + out_a.learned == truth && out_b.learned == truth + ), + ); + rep.check("stores equal after sync", same_rows(&sa, &sb)?, "every row matches"); + let (gaps, bad) = audit(&sb)?; + rep.check("chain 7 is contiguous with valid links", gaps == 0 && bad == 0, format!("gaps={gaps} bad links={bad}")); + println!(" flights (A+B): {}, control bytes: {}", out_a.flights + out_b.flights, out_a.control_bytes + out_b.control_bytes); + Ok(()) +} + +// (b) ------------------------------------------------------------------------------------------ + +/// The 16-byte truncation of an ID, as the fingerprint sees it. +fn trunc(id: &Id) -> [u8; 16] { + id[..16].try_into().expect("16 bytes") +} + +fn xor16(a: &[u8; 16], b: &[u8; 16]) -> [u8; 16] { + std::array::from_fn(|i| a[i] ^ b[i]) +} + +fn synthetic_id(tag: &str) -> Id { + *blake3::hash(tag.as_bytes()).as_bytes() +} + +/// An ID whose first 16 bytes are `target` XOR `other`, so that `fp` matches under XOR. +fn id_with_truncation(seed: &str, target: [u8; 16]) -> Id { + let mut id = synthetic_id(seed); + for (dst, t) in id[..16].iter_mut().zip(target) { + *dst = t; + } + id +} + +fn party_of(author: u8, ids: &[Id]) -> Party { + let mut items: Vec<(Key, Id)> = ids + .iter() + .enumerate() + .map(|(seq, id)| (key_of(&[author; 32], seq as u32), *id)) + .collect(); + items.sort_by_key(|(k, _)| *k); + let (keys, ids): (Vec, Vec) = items.into_iter().unzip(); + Party::new(keys, ids) +} + +fn scenario_b(rep: &mut Report) { + println!("(b) XOR cancellation, in memory on crafted IDs (real BLAKE3 IDs cannot be steered this way)"); + + // b1. Unequal sizes: A holds {a, b, e} and B holds {c, d}, with equal XOR fingerprints. + let a = synthetic_id("b1-a"); + let b = synthetic_id("b1-b"); + let e = synthetic_id("b1-e"); + let c = synthetic_id("b1-c"); + let d = id_with_truncation("b1-d", xor16(&xor16(&trunc(&a), &trunc(&b)), &xor16(&trunc(&e), &trunc(&c)))); + let fp_a = [a, b, e].iter().fold([0u8; 16], |acc, id| xor16(&acc, &trunc(id))); + let fp_b = [c, d].iter().fold([0u8; 16], |acc, id| xor16(&acc, &trunc(id))); + println!(" b1: fingerprints equal: {}, counts 3 vs 2", fp_a == fp_b); + let pa = party_of(0x0A, &[a, b, e]); + let pb = party_of(0x0B, &[c, d]); + let sim = simulate(&pa, &pb, 16, 16); + let truth: HashSet = [a, b, e, c, d].into_iter().collect(); + rep.check( + "b1: the count check catches it", + sim.learned_a == truth && sim.learned_b == truth && sim.flights > 2, + format!("flights={}, both sides learned the true 5-item difference: {}", sim.flights, sim.learned_a == truth && sim.learned_b == truth), + ); + + // b2. Equal sizes: A holds {a, b}, B holds {c, d}, with equal XOR fingerprints and equal counts. + let a2 = synthetic_id("b2-a"); + let b2 = synthetic_id("b2-b"); + let c2 = synthetic_id("b2-c"); + let d2 = id_with_truncation("b2-d", xor16(&xor16(&trunc(&a2), &trunc(&b2)), &trunc(&c2))); + let fp_a2 = [a2, b2].iter().fold([0u8; 16], |acc, id| xor16(&acc, &trunc(id))); + let fp_b2 = [c2, d2].iter().fold([0u8; 16], |acc, id| xor16(&acc, &trunc(id))); + println!(" b2: fingerprints equal: {}, counts 2 vs 2", fp_a2 == fp_b2); + let pa2 = party_of(0x0A, &[a2, b2]); + let pb2 = party_of(0x0B, &[c2, d2]); + let sim2 = simulate(&pa2, &pb2, 16, 16); + let truth2: HashSet = [a2, b2, c2, d2].into_iter().collect(); + rep.check( + "b2: equal fingerprint and count is not caught", + sim2.flights == 2 && sim2.learned_a.is_empty() && sim2.learned_b.is_empty() && truth2.len() == 4, + format!( + "flights={}, learned A={} B={}, true difference={}: the 4 events are missed", + sim2.flights, + sim2.learned_a.len(), + sim2.learned_b.len(), + truth2.len() + ), + ); + println!(" note: 128-bit fingerprints make a chance match 2^-128 per compared range. Constructing one with"); + println!(" real events needs a 4-way XOR collision (about 2^43 signed events by generalized birthday)."); +} + +// (c) ------------------------------------------------------------------------------------------ + +/// A key whose public key has zero bytes at the given positions. Ground by trying seeds. +fn grind(zero_at: &[usize], salt: u64) -> SigningKey { + let mut i = 0u64; + loop { + let seed = *blake3::hash(&[&salt.to_be_bytes()[..], &i.to_be_bytes()[..]].concat()).as_bytes(); + let key = SigningKey::from_bytes(&seed); + let pk = *key.verifying_key().as_bytes(); + if zero_at.iter().all(|&p| pk[p] == 0) { + return key; + } + i += 1; + } +} + +async fn scenario_c(dir: &Path, rep: &mut Report) -> Result<()> { + println!("(c) bounds at keys with 0x00 bytes: authors with zero bytes at chosen public-key positions"); + let mut keys: Vec = Vec::new(); + for salt in 0..4 { + keys.push(grind(&[0, 1], 100 + salt)); + } + for salt in 0..2 { + keys.push(grind(&[15, 16], 200 + salt)); + } + for salt in 0..4 { + keys.push(grind(&[31], 300 + salt)); + } + for i in 0..40 { + keys.push(chain_key(10_000 + i)); + } + let with_zero = keys + .iter() + .filter(|k| k.verifying_key().as_bytes().contains(&0)) + .count(); + println!(" {} authors, {} of them with a 0x00 byte in the public key; every seq < 256 also has 0x00 bytes", keys.len(), with_zero); + + let base = dir.join("base-c.redb"); + let _ = std::fs::remove_file(&base); + { + let store = Store::open(&base)?; + let mut items = Vec::new(); + for key in &keys { + for ev in chain_events(key, EVENTS_PER_CHAIN) { + let v = chain::verify(&ev.header, &ev.body)?; + items.push(Item { key: key_of(&v.author, v.seq), id: v.id, record: chain::record(&ev.header, &ev.body) }); + } + } + store.insert(&items)?; + } + + let a = copy_to(&base, dir.join("a-c.redb"))?; + let b = copy_to(&base, dir.join("b-c.redb"))?; + // 20 new events: on the zero-byte authors first, then on ordinary ones. + let extra: Vec<(&SigningKey, u32)> = keys.iter().take(20).map(|k| (k, 1)).collect(); + let truth = add_next(&a, &extra)?; + + // In memory first: the scheme with several K and T on this key set. + let a_pairs = Store::open(&a)?.pairs()?; + let mut all_ok = true; + let mut rows = Vec::new(); + for (k, t) in [(2usize, 1usize), (2, 4), (16, 16), (32, 16), (4, 8)] { + let pa = Party::new(a_pairs.iter().map(|x| x.0).collect(), a_pairs.iter().map(|x| x.1).collect()); + let b_pairs = Store::open(&b)?.pairs()?; + let pb = Party::new(b_pairs.iter().map(|x| x.0).collect(), b_pairs.iter().map(|x| x.1).collect()); + let sim = simulate(&pa, &pb, t, k); + let good = sim.learned_a == truth && sim.learned_b == truth; + all_ok &= good; + rows.push(format!("K={k} T={t}: flights {} ok={good}", sim.flights)); + } + rep.check("(c) in-memory run learns the true difference", all_ok, rows.join("; ")); + + let p = Params { k: 16, t: 16, batch: 256 }; + let (run, sa, sb) = sync_paths(&a, &b, p, Cut::Never).await?; + let out_a = run.dialer?; + let out_b = run.acceptor?; + rep.check( + "(c) wire sync with zero-byte keys is exact", + out_b.inserted == truth.len() && out_b.learned == truth && out_a.learned == truth && same_rows(&sa, &sb)?, + format!("acceptor inserted {} of {}, stores equal: {}", out_b.inserted, truth.len(), same_rows(&sa, &sb)?), + ); + let (gaps, bad) = audit(&sb)?; + rep.check("(c) links valid after sync", gaps == 0 && bad == 0, format!("gaps={gaps} bad links={bad}")); + Ok(()) +} + +// (d) ------------------------------------------------------------------------------------------ + +async fn scenario_d(dir: &Path, base: &Path, rep: &mut Report) -> Result<()> { + println!("(d) interrupted session, restarted from scratch (1,000 chains; 60 chains get 3 new events each)"); + let extra_keys: Vec = (0..60).map(|i| chain_key(i * 16)).collect(); + let extra: Vec<(&SigningKey, u32)> = extra_keys.iter().map(|k| (k, 3)).collect(); + + // d1. Cut the dialer during the data phase. Batches of 32, so partial commits can happen. + let a = copy_to(base, dir.join("a-d.redb"))?; + let b = copy_to(base, dir.join("b-d.redb"))?; + let truth = add_next(&a, &extra)?; + let p = Params { k: 16, t: 16, batch: 32 }; + let base_rows = Store::open(base)?.counts()?.1; + let (cut_run, _, sb) = sync_paths(&a, &b, p, Cut::AfterRecords(100)).await?; + let cut_errors = cut_run.dialer.is_err() && cut_run.acceptor.is_err(); + println!(" cut run: dialer error = {:?}", cut_run.dialer.as_ref().err().map(|e| format!("{e:#}"))); + println!(" cut run: acceptor error = {:?}", cut_run.acceptor.as_ref().err().map(|e| format!("{e:#}"))); + let committed = sb.counts()?.1 - base_rows; + rep.check("(d1) both sides report the cut", cut_errors, format!("dialer err={}, acceptor err={}", cut_run.dialer.is_err(), cut_run.acceptor.is_err())); + rep.check( + "(d1) only whole batches committed", + committed % 32 == 0 && committed < truth.len() as u64, + format!("{committed} of {} new events committed (batch 32)", truth.len()), + ); + let (gaps, bad) = audit(&sb)?; + rep.check("(d1) store consistent after the cut", gaps == 0 && bad == 0, format!("gaps={gaps} bad links={bad}")); + + // What is still missing after the cut: the true difference minus what was committed. + let mut present = HashSet::new(); + for id in &truth { + if sb.has(id)? { + present.insert(*id); + } + } + let remaining: HashSet = truth.difference(&present).copied().collect(); + rep.check( + "(d1) committed events are the ones in the store", + present.len() as u64 == committed, + format!("{} of the new events are in the store, {committed} new rows", present.len()), + ); + drop(sb); + + // Restart from scratch: new indexes, new reconciliation. + let (run2, sa2, sb2) = sync_paths(&a, &b, Params { k: 16, t: 16, batch: 256 }, Cut::Never).await?; + let out_a = run2.dialer?; + let out_b = run2.acceptor?; + rep.check( + "(d1) restart sends only what is missing", + out_b.inserted == remaining.len() && out_b.duplicates == 0 && out_a.inserted == 0, + format!("restart inserted {} (expected {}), duplicates {}", out_b.inserted, remaining.len(), out_b.duplicates), + ); + rep.check( + "(d1) restart learns exactly the missing events", + out_a.learned == remaining && out_b.learned == remaining, + format!("learned {} and {}, missing {}", out_a.learned.len(), out_b.learned.len(), remaining.len()), + ); + rep.check( + "(d1) stores equal after restart", + same_rows(&sa2, &sb2)? && sb2.has(truth.iter().next().context("truth")?)?, + format!("stores equal: {}", same_rows(&sa2, &sb2)?), + ); + let (gaps, bad) = audit(&sb2)?; + rep.check("(d1) links valid after restart", gaps == 0 && bad == 0, format!("gaps={gaps} bad links={bad}")); + + // d2. Cut during reconciliation: the dialer closes after its first message. + let a = copy_to(base, dir.join("a-d2.redb"))?; + let b = copy_to(base, dir.join("b-d2.redb"))?; + let truth2 = add_next(&a, &extra)?; + let (cut2, _, sb3) = sync_paths(&a, &b, p, Cut::AfterFlights(1)).await?; + let nothing_committed = sb3.counts()?.1 == base_rows; + rep.check( + "(d2) cut during reconciliation commits nothing", + cut2.dialer.is_err() && nothing_committed, + format!("dialer err={}, acceptor err={}, new rows={}", cut2.dialer.is_err(), cut2.acceptor.is_err(), sb3.counts()?.1 - base_rows), + ); + drop(sb3); + let (run3, sa3, sb4) = sync_paths(&a, &b, Params { k: 16, t: 16, batch: 256 }, Cut::Never).await?; + let out_b3 = run3.acceptor?; + run3.dialer?; + rep.check( + "(d2) restart completes with no duplicates", + out_b3.inserted == truth2.len() && out_b3.duplicates == 0 && same_rows(&sa3, &sb4)?, + format!("restart inserted {} of {}, stores equal: {}", out_b3.inserted, truth2.len(), same_rows(&sa3, &sb4)?), + ); + Ok(()) +} + +#[tokio::main] +async fn main() -> Result<()> { + let args: Vec = std::env::args().skip(1).collect(); + if args.len() != 2 { + bail!("usage: scenarios "); + } + let dir = PathBuf::from(&args[0]); + let base = PathBuf::from(&args[1]); + std::fs::create_dir_all(&dir)?; + let mut rep = Report::default(); + scenario_b(&mut rep); + scenario_a(&dir, &base, &mut rep).await?; + scenario_c(&dir, &mut rep).await?; + scenario_d(&dir, &base, &mut rep).await?; + println!("failures: {}", rep.failures); + if rep.failures > 0 { + bail!("{} checks failed", rep.failures); + } + Ok(()) +} diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/src/chain.rs b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/src/chain.rs new file mode 100644 index 0000000000..117a5449c8 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/src/chain.rs @@ -0,0 +1,181 @@ +//! Real signed events: one device chain per author, with 256-byte bodies. +//! +//! Headers are p2panda-core's `Header` with the design's extension, signed by the chain's key. +//! An event ID is BLAKE3 over the header bytes, which is p2panda's operation hash. + +use anyhow::{Result, anyhow, ensure}; +use p2panda_core::{AnyHeader, Hash, Header, SigningKey}; +use serde::{Deserialize, Serialize}; + +/// Events per chain, as in S1's setup, so control bytes compare directly. +pub const EVENTS_PER_CHAIN: u32 = 50; +pub const BODY_LEN: usize = 256; + +/// The design's extension fields (S1's `ChainExt`), with no `after` hashes and no group. +#[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)] +pub struct ChainExt { + pub kind: String, + pub after: Vec, + pub group: Option, + pub domain: String, +} + +fn ext() -> ChainExt { + ChainExt { + kind: "group.policy".into(), + after: Vec::new(), + group: None, + domain: "id.events.v1".into(), + } +} + +/// Signing key for chain `i`. Deterministic, so every store built by this crate agrees. +pub fn chain_key(i: usize) -> SigningKey { + SigningKey::from_bytes(blake3::hash(&(i as u64).to_be_bytes()).as_bytes()) +} + +/// The 256-byte body of event `seq` on the chain of `author`. +pub fn body(author: &[u8; 32], seq: u32) -> Vec { + let mut hasher = blake3::Hasher::new(); + hasher.update(author); + hasher.update(&seq.to_be_bytes()); + let mut out = vec![0u8; BODY_LEN]; + hasher.finalize_xof().fill(&mut out); + out +} + +/// One signed event: header bytes and body bytes, as stored and as sent. +#[derive(Clone, Debug)] +pub struct Event { + pub author: [u8; 32], + pub seq: u32, + pub header: Vec, + pub body: Vec, +} + +impl Event { + pub fn id(&self) -> [u8; 32] { + *Hash::digest(&self.header).as_bytes() + } +} + +/// Events `0..count` of the chain signed by `key`, each linked to the one before. +pub fn chain_events(key: &SigningKey, count: u32) -> Vec { + let author = *key.verifying_key().as_bytes(); + let mut out = Vec::with_capacity(count as usize); + let mut prev: Option = None; + for seq in 0..count { + let body = body(&author, seq); + let header = Header::::builder() + .seq_num(seq) + .backlink(prev) + .body(&body) + .build(key, ext()) + .encode(); + prev = Some(Hash::digest(&header)); + out.push(Event { author, seq, header, body }); + } + out +} + +/// An event at `seq` with the given body, linked to `prev`. The fork test uses it to sign a second +/// event at an existing (author, seq). +pub fn event_with_body(key: &SigningKey, seq: u32, prev: Option, body: &[u8]) -> Event { + let author = *key.verifying_key().as_bytes(); + let header = Header::::builder() + .seq_num(seq) + .backlink(prev) + .body(body) + .build(key, ext()) + .encode(); + Event { author, seq, header, body: body.to_vec() } +} + +/// What a received event checked out to be. +#[derive(Debug)] +pub struct Verified { + pub id: [u8; 32], + pub author: [u8; 32], + pub seq: u32, + pub backlink: Option<[u8; 32]>, +} + +/// Checks received bytes without `Header::verify`. `AnyHeader::decode` verifies the signature. +/// Then the header must re-encode to the same bytes, and the body must match `payload_size` +/// and `payload_hash`. +pub fn verify(header: &[u8], body: &[u8]) -> Result { + let h = AnyHeader::decode(header).map_err(|e| anyhow!("header rejected: {e:?}"))?; + ensure!(h.encode() == header, "header is not canonical"); + ensure!( + h.payload_size as usize == body.len(), + "body is {} bytes, header says {}", + body.len(), + h.payload_size + ); + match h.payload_hash { + Some(hash) => ensure!(hash == Hash::digest(body), "body hash mismatch"), + None => ensure!(body.is_empty(), "body without a payload hash"), + } + Ok(Verified { + id: *Hash::digest(header).as_bytes(), + author: *h.verifying_key.as_bytes(), + seq: h.seq_num, + backlink: h.backlink.map(|b| *b.as_bytes()), + }) +} + +/// A stored record: u16 header length, header bytes, body bytes. +pub fn record(header: &[u8], body: &[u8]) -> Vec { + let mut out = (header.len() as u16).to_be_bytes().to_vec(); + out.extend_from_slice(header); + out.extend_from_slice(body); + out +} + +/// Splits a record into header and body. +pub fn split_record(record: &[u8]) -> Result<(&[u8], &[u8])> { + ensure!(record.len() >= 2, "record shorter than its length field"); + let n = u16::from_be_bytes([record[0], record[1]]) as usize; + ensure!(record.len() >= 2 + n, "record shorter than its header length"); + Ok((&record[2..2 + n], &record[2 + n..])) +} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn chain_events_verify_and_link() { + let key = chain_key(3); + let events = chain_events(&key, 5); + let mut prev: Option<[u8; 32]> = None; + for ev in &events { + let v = verify(&ev.header, &ev.body).expect("verifies"); + assert_eq!(v.id, ev.id()); + assert_eq!(v.seq, ev.seq); + assert_eq!(v.backlink, prev); + // The typed hash agrees with BLAKE3 over the received bytes for untouched headers. + let typed = Header::::decode(&ev.header).expect("typed decode"); + assert_eq!(typed.hash().as_bytes(), &v.id); + prev = Some(v.id); + } + } + + #[test] + fn verify_rejects_tampering() { + let ev = &chain_events(&chain_key(1), 2)[1]; + // One bit flipped inside the 64 signature bytes. Nothing else changes, so only the + // signature check can reject it. + let sig = AnyHeader::decode(&ev.header).unwrap().signature.to_bytes(); + let at = ev.header.windows(64).position(|w| w == sig).expect("signature is in the header"); + let mut bad_sig = ev.header.clone(); + bad_sig[at] ^= 1; + let err = AnyHeader::decode(&bad_sig).expect_err("AnyHeader::decode checks the signature"); + eprintln!("bit flip in signature rejected by AnyHeader::decode: {err:?}"); + assert!(verify(&bad_sig, &ev.body).is_err()); + let mut bad_body = ev.body.clone(); + bad_body[0] ^= 1; + assert!(verify(&ev.header, &bad_body).is_err()); + assert!(verify(&ev.header, &ev.body[..10]).is_err()); + } +} diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/src/lib.rs b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/src/lib.rs new file mode 100644 index 0000000000..c3c83c374e --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/src/lib.rs @@ -0,0 +1,11 @@ +//! Spike S7: range reconciliation over (author, seq) keys, on real redb stores, over iroh. +//! +//! - [`chain`]: real signed events (p2panda-core headers, 256-byte bodies) and their verification. +//! - [`store`]: the redb event store, with S6's key layout. +//! - [`range`]: S1's range scheme over a store's sorted keys, with a wire encoding. +//! - [`session`]: one sync session over an iroh stream, and the two-endpoint runner. + +pub mod chain; +pub mod range; +pub mod session; +pub mod store; diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/src/range.rs b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/src/range.rs new file mode 100644 index 0000000000..fc3898bcd8 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/src/range.rs @@ -0,0 +1,411 @@ +//! S1's range reconciliation (`/home/user/work/spikes/s1-transport/src/range_sim.rs`), run over +//! a store's sorted (author, seq) keys, with a wire encoding. +//! +//! A range is `[lower, upper)`. Bounds are the shortest key prefixes that separate neighbouring +//! keys. A fingerprint is the XOR of the 16-byte truncations of the event IDs, plus the count. +//! A mismatched range with at most `T` items sends its IDs. A larger one splits into `K` +//! children. +//! +//! Differences from S1: keys are 40 bytes (S6's layout). A split uses `min(K, n)` children. +//! Read from S1's code, not run: when a mismatched range starts at key 0 and has fewer than K +//! items, S1 computes a bound at position 0 and panics. S1's runs did not reach that case. + +use crate::store::{Id, Key, KEY_LEN}; +use anyhow::{Result, bail, ensure}; +use std::collections::HashSet; + +#[derive(Clone, Debug, PartialEq, Eq)] +pub enum Mode { + Skip, + Fp { fp: [u8; 16], count: u32 }, + /// `reply` asks the receiver to answer with its own IDs for the same range. + Ids { ids: Vec, reply: bool }, +} + +#[derive(Clone, Debug, PartialEq, Eq)] +pub struct Entry { + /// Exclusive upper bound as a key prefix. `None` is +infinity. + pub upper: Option>, + pub mode: Mode, +} + +pub fn all_skip(msg: &[Entry]) -> bool { + msg.iter().all(|e| e.mode == Mode::Skip) +} + +/// One side's sorted keys and IDs, with prefix XORs for O(1) fingerprints. +pub struct Party { + keys: Vec, + ids: Vec, + xor: Vec<[u8; 16]>, +} + +impl Party { + /// Keys must be sorted and distinct, as a store's index is. + pub fn new(keys: Vec, ids: Vec) -> Self { + assert_eq!(keys.len(), ids.len()); + assert!(keys.windows(2).all(|w| w[0] < w[1]), "keys must be sorted and distinct"); + let mut xor = Vec::with_capacity(ids.len() + 1); + let mut acc = [0u8; 16]; + xor.push(acc); + for id in &ids { + for (a, b) in acc.iter_mut().zip(id) { + *a ^= b; + } + xor.push(acc); + } + Party { keys, ids, xor } + } + + pub fn len(&self) -> usize { + self.keys.len() + } + + pub fn ids(&self) -> &[Id] { + &self.ids + } + + /// Index of the first key whose prefix is not below `bound`. + fn idx(&self, bound: &[u8]) -> usize { + self.keys.partition_point(|k| &k[..bound.len()] < bound) + } + + fn fp(&self, lo: usize, hi: usize) -> ([u8; 16], u32) { + let mut out = [0u8; 16]; + for (o, (a, b)) in out.iter_mut().zip(self.xor[hi].iter().zip(&self.xor[lo])) { + *o = a ^ b; + } + (out, (hi - lo) as u32) + } + + /// Shortest prefix of keys[p] that sorts above keys[p - 1]. Requires 0 < p < len. + fn separator(&self, p: usize) -> Vec { + let (a, b) = (&self.keys[p - 1], &self.keys[p]); + let d = (0..KEY_LEN).find(|&i| a[i] != b[i]).expect("keys are distinct"); + b[..=d].to_vec() + } + + /// The whole key space as one fingerprint range. + pub fn full_range(&self) -> Entry { + let (fp, count) = self.fp(0, self.len()); + Entry { upper: None, mode: Mode::Fp { fp, count } } + } + + /// Answers each entry of a message from the other side. IDs in the symmetric difference + /// go into `learned`. + pub fn respond(&self, msg: &[Entry], thresh: usize, k: usize, learned: &mut HashSet) -> Vec { + assert!(k >= 2, "K must be at least 2, or a split makes no progress"); + let mut out: Vec = Vec::new(); + let mut lower: Option<&[u8]> = None; + for entry in msg { + let upper = entry.upper.as_deref(); + let lo = lower.map_or(0, |b| self.idx(b)); + let hi = upper.map_or(self.len(), |b| self.idx(b)); + match &entry.mode { + Mode::Skip => push(&mut out, entry.upper.clone(), Mode::Skip), + Mode::Fp { fp, count } => { + let (mine, n) = self.fp(lo, hi); + if mine == *fp && n == *count { + push(&mut out, entry.upper.clone(), Mode::Skip); + } else if (n as usize) <= thresh { + let ids = self.ids[lo..hi].to_vec(); + push(&mut out, entry.upper.clone(), Mode::Ids { ids, reply: true }); + } else { + // n > thresh >= 1, so parts >= 2 and every child holds at least one key. + let parts = k.min(n as usize); + let pos: Vec = (0..=parts).map(|j| lo + j * (hi - lo) / parts).collect(); + for j in 0..parts { + let child_upper = if j + 1 < parts { + Some(self.separator(pos[j + 1])) + } else { + entry.upper.clone() + }; + let (cfp, ccount) = self.fp(pos[j], pos[j + 1]); + out.push(Entry { + upper: child_upper, + mode: Mode::Fp { fp: cfp, count: ccount }, + }); + } + } + } + Mode::Ids { ids, reply } => { + let mine: HashSet = self.ids[lo..hi].iter().copied().collect(); + let theirs: HashSet = ids.iter().copied().collect(); + learned.extend(mine.symmetric_difference(&theirs).copied()); + if *reply { + let ids = self.ids[lo..hi].to_vec(); + push(&mut out, entry.upper.clone(), Mode::Ids { ids, reply: false }); + } else { + push(&mut out, entry.upper.clone(), Mode::Skip); + } + } + } + lower = upper; + } + out + } +} + +/// Appends an entry, merging it into the previous one when both are skips. +fn push(out: &mut Vec, upper: Option>, mode: Mode) { + if mode == Mode::Skip { + if let Some(last) = out.last_mut() { + if last.mode == Mode::Skip { + last.upper = upper; + return; + } + } + } + out.push(Entry { upper, mode }); +} + +fn put_varint(out: &mut Vec, mut x: usize) { + while x >= 0x80 { + out.push((x as u8 & 0x7f) | 0x80); + x >>= 7; + } + out.push(x as u8); +} + +/// Wire form of one message, without the frame length: varint entry count; per entry, a bound +/// (one length byte, 0 for +infinity, then the prefix), one mode byte (0 skip, 1 fingerprint, +/// 2 IDs, 3 IDs with reply), and the payload (fingerprint + varint count, or varint count + IDs). +pub fn encode(msg: &[Entry]) -> Vec { + let mut out = Vec::new(); + put_varint(&mut out, msg.len()); + for e in msg { + match &e.upper { + None => out.push(0), + Some(b) => { + out.push(b.len() as u8); + out.extend_from_slice(b); + } + } + match &e.mode { + Mode::Skip => out.push(0), + Mode::Fp { fp, count } => { + out.push(1); + out.extend_from_slice(fp); + put_varint(&mut out, *count as usize); + } + Mode::Ids { ids, reply } => { + out.push(if *reply { 3 } else { 2 }); + put_varint(&mut out, ids.len()); + for id in ids { + out.extend_from_slice(id); + } + } + } + } + out +} + +struct Reader<'a> { + buf: &'a [u8], +} + +impl<'a> Reader<'a> { + fn take(&mut self, n: usize) -> Result<&'a [u8]> { + ensure!(self.buf.len() >= n, "message truncated"); + let (head, rest) = self.buf.split_at(n); + self.buf = rest; + Ok(head) + } + + fn byte(&mut self) -> Result { + Ok(self.take(1)?[0]) + } + + fn varint(&mut self) -> Result { + let mut x = 0usize; + for shift in (0..).step_by(7).take(5) { + let b = self.byte()?; + x |= ((b & 0x7f) as usize) << shift; + if b < 0x80 { + return Ok(x); + } + } + bail!("varint longer than 5 bytes") + } +} + +/// Parses a message written by [`encode`]. Rejects truncated and trailing bytes. +pub fn decode(bytes: &[u8]) -> Result> { + let mut r = Reader { buf: bytes }; + let n = r.varint()?; + let mut out = Vec::new(); + for _ in 0..n { + let len = r.byte()? as usize; + let upper = if len == 0 { None } else { Some(r.take(len)?.to_vec()) }; + let mode = match r.byte()? { + 0 => Mode::Skip, + 1 => { + let fp: [u8; 16] = r.take(16)?.try_into()?; + let count = u32::try_from(r.varint()?)?; + Mode::Fp { fp, count } + } + m @ (2 | 3) => { + let count = r.varint()?; + let mut ids = Vec::new(); + for _ in 0..count { + ids.push(r.take(32)?.try_into()?); + } + Mode::Ids { ids, reply: m == 3 } + } + m => bail!("unknown mode byte {m}"), + }; + out.push(Entry { upper, mode }); + } + ensure!(r.buf.is_empty(), "trailing bytes after message"); + Ok(out) +} + +/// Both sides run the protocol in memory, as S1's `reconcile`. Used to check the wire run +/// byte for byte, and to find the symmetric difference. +pub struct Sim { + pub flights: u32, + /// Encoded bytes each side wrote, without frame lengths. + pub bytes_a: usize, + pub bytes_b: usize, + pub learned_a: HashSet, + pub learned_b: HashSet, +} + +pub fn simulate(a: &Party, b: &Party, thresh: usize, k: usize) -> Sim { + let mut learned_a = HashSet::new(); + let mut learned_b = HashSet::new(); + let mut msg = vec![a.full_range()]; + let mut a_sends = true; + let (mut bytes_a, mut bytes_b, mut flights) = (0usize, 0usize, 0u32); + loop { + flights += 1; + let n = encode(&msg).len(); + if a_sends { + bytes_a += n; + } else { + bytes_b += n; + } + if all_skip(&msg) { + break; + } + msg = if a_sends { + b.respond(&msg, thresh, k, &mut learned_b) + } else { + a.respond(&msg, thresh, k, &mut learned_a) + }; + a_sends = !a_sends; + assert!(flights < 10_000, "reconciliation did not terminate"); + } + Sim { flights, bytes_a, bytes_b, learned_a, learned_b } +} + +/// As [`simulate`], with separate parameters. `pa` = (T, K) is used when `a` answers, and `pb` +/// when `b` answers. Each side's K and T enter only its own `respond` calls. +pub fn simulate_mixed(a: &Party, b: &Party, pa: (usize, usize), pb: (usize, usize)) -> Sim { + let mut learned_a = HashSet::new(); + let mut learned_b = HashSet::new(); + let mut msg = vec![a.full_range()]; + let mut a_sends = true; + let (mut bytes_a, mut bytes_b, mut flights) = (0usize, 0usize, 0u32); + loop { + flights += 1; + let n = encode(&msg).len(); + if a_sends { + bytes_a += n; + } else { + bytes_b += n; + } + if all_skip(&msg) { + break; + } + msg = if a_sends { + b.respond(&msg, pb.0, pb.1, &mut learned_b) + } else { + a.respond(&msg, pa.0, pa.1, &mut learned_a) + }; + a_sends = !a_sends; + assert!(flights < 10_000, "reconciliation did not terminate"); + } + Sim { flights, bytes_a, bytes_b, learned_a, learned_b } +} + +#[cfg(test)] +mod tests { + use super::*; + + fn bytes(seed: u64, n: usize) -> Vec { + let mut h = blake3::Hasher::new(); + h.update(&seed.to_be_bytes()); + let mut out = vec![0u8; n]; + h.finalize_xof().fill(&mut out); + out + } + + /// Keys built only from 0x00 and 0x01 bytes, so bounds end in zeros often. + fn zero_heavy(n: usize, seed: u64) -> Vec { + let mut keys: Vec = (0..n as u64) + .map(|i| { + let r = bytes(seed ^ (i << 8), KEY_LEN); + let mut k = [0u8; KEY_LEN]; + for (dst, src) in k.iter_mut().zip(r) { + *dst = src & 1; + } + k + }) + .collect(); + keys.sort(); + keys.dedup(); + keys + } + + /// IDs derived from the whole key, so two keys never share an ID. + fn party(keys: &[Key], seed: u64) -> Party { + let ids = keys + .iter() + .map(|k| *blake3::hash(&[k.as_slice(), &seed.to_be_bytes()].concat()).as_bytes()) + .collect(); + Party::new(keys.to_vec(), ids) + } + + #[test] + fn separators_split_keys_with_nul_bytes() { + let keys = zero_heavy(300, 7); + let p = party(&keys, 1); + for pos in 1..p.len() { + let s = p.separator(pos); + assert_eq!(p.idx(&s), pos, "separator {} at {pos} splits the keys wrongly", hex::encode(&s)); + } + } + + #[test] + fn respond_learns_exact_difference() { + for (keys_seed, k, t) in [(11u64, 2, 4), (12, 16, 16), (13, 16, 4), (14, 32, 16), (15, 32, 1)] { + let all = zero_heavy(700, keys_seed); + let a_keys: Vec = all.iter().copied().filter(|k| k[0] == 0 || k[1] == 0).collect(); + let b_keys: Vec = all.iter().copied().filter(|k| k[2] == 0 || k[31] == 1).collect(); + let a = party(&a_keys, 5); + let b = party(&b_keys, 5); + let sim = simulate(&a, &b, t, k); + let a_set: HashSet = a.ids().iter().copied().collect(); + let b_set: HashSet = b.ids().iter().copied().collect(); + let truth: HashSet = a_set.symmetric_difference(&b_set).copied().collect(); + assert!(!truth.is_empty()); + assert_eq!(sim.learned_a, truth, "K={k} T={t}"); + assert_eq!(sim.learned_b, truth, "K={k} T={t}"); + } + } + + #[test] + fn wire_round_trip() { + let keys = zero_heavy(200, 3); + let p = party(&keys, 2); + let mut learned = HashSet::new(); + let msg = p.respond(&[p.full_range()], 4, 16, &mut learned); + let bytes = encode(&msg); + assert_eq!(decode(&bytes).unwrap(), msg); + assert!(decode(&bytes[..bytes.len() - 1]).is_err()); + let mut extra = bytes.clone(); + extra.push(0); + assert!(decode(&extra).is_err()); + } +} diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/src/session.rs b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/src/session.rs new file mode 100644 index 0000000000..4aa382b635 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/src/session.rs @@ -0,0 +1,275 @@ +//! One sync session over an iroh bidirectional stream, and the two-endpoint runner. +//! +//! Protocol `/id-sync/1`, one stream per session: +//! 1. Reconciliation. Flights alternate as in S1's `reconcile`. The dialer sends the full-range +//! fingerprint, and each side answers. A message with only Skip entries ends the loop. Each +//! message is one length-prefixed frame. +//! 2. Data. After reconciliation both sides hold the symmetric difference, so each knows what it +//! lacks, and what it holds that the peer lacks. No request is needed. Each side sends its +//! events in key order: a count frame, then one frame per record. Both sides send at once. +//! The receiver verifies each event, checks that it was expected, and commits every `batch` +//! events in one transaction. + +use crate::chain::{self, split_record}; +use crate::range::{self, Entry, Party, all_skip}; +use crate::store::{Batch, Id, Item, Store, key_of}; +use anyhow::{Context, Result, anyhow, bail, ensure}; +use iroh::endpoint::{Connection, Endpoint, RecvStream, SendStream, presets}; +use iroh::{EndpointAddr, RelayMode}; +use std::collections::HashSet; +use std::net::Ipv4Addr; +use std::sync::Arc; +use std::time::{Duration, Instant}; + +pub const ALPN: &[u8] = b"/id-sync/1"; +const MAX_FRAME: usize = 16 << 20; + +#[derive(Clone, Copy, Debug)] +pub struct Params { + pub k: usize, + pub t: usize, + /// Events per commit on the receiving side. + pub batch: usize, +} + +/// Where to cut the connection, for the interruption test. The cut closes the connection. +/// Counts are this side's own writes. +#[derive(Clone, Copy, Debug, PartialEq, Eq)] +pub enum Cut { + Never, + /// Close before this side writes its reconciliation message `n + 1`. + AfterFlights(u32), + /// Close before this side writes event record `n + 1`. + AfterRecords(usize), +} + +#[derive(Debug, Default, Clone)] +pub struct Outcome { + /// Reconciliation messages this side wrote. + pub flights: u32, + /// Bytes this side wrote in reconciliation, including 4-byte frame lengths. + pub control_bytes: usize, + /// Bytes this side wrote in the data phase: count frame, then records with frame lengths. + pub data_bytes: usize, + /// Event records this side wrote. + pub sent: usize, + pub received: usize, + pub inserted: usize, + pub duplicates: usize, + /// IDs this side lacks (what it expected to receive). + pub need: usize, + /// Time spent in redb commits on this side (each one fsyncs). + pub commit: Duration, + /// Symmetric difference, as this side learned it. + pub learned: HashSet, +} + +async fn write_frame(send: &mut SendStream, payload: &[u8]) -> Result { + ensure!(payload.len() <= MAX_FRAME, "frame of {} bytes", payload.len()); + send.write_all(&(payload.len() as u32).to_be_bytes()).await?; + send.write_all(payload).await?; + Ok(4 + payload.len()) +} + +async fn read_frame(recv: &mut RecvStream) -> Result> { + let mut len = [0u8; 4]; + recv.read_exact(&mut len).await?; + let len = u32::from_be_bytes(len) as usize; + ensure!(len <= MAX_FRAME, "frame announces {len} bytes"); + let mut buf = vec![0u8; len]; + recv.read_exact(&mut buf).await?; + Ok(buf) +} + +/// Writes one reconciliation message, or closes the connection if the cut is due. +async fn flight(send: &mut SendStream, conn: &Connection, out: &mut Outcome, msg: &[Entry], cut: Cut) -> Result<()> { + if cut == Cut::AfterFlights(out.flights) { + conn.close(1u32.into(), b"cut"); + bail!("cut before flight {}", out.flights + 1); + } + out.control_bytes += write_frame(send, &range::encode(msg)).await?; + out.flights += 1; + Ok(()) +} + +/// Commits a batch, and returns how long the commit took (redb fsyncs each commit). Blocking +/// redb work runs in `block_in_place`, on the multi-thread runtime. +fn commit(store: &Store, pending: &mut Vec) -> Result<(Batch, Duration)> { + let started = Instant::now(); + let batch = tokio::task::block_in_place(|| store.insert(pending))?; + pending.clear(); + Ok((batch, started.elapsed())) +} + +/// Runs one session on an open connection. `initiator` is the dialer. +pub async fn run(store: &Store, party: &Party, conn: &Connection, initiator: bool, p: Params, cut: Cut) -> Result { + let (mut send, mut recv) = if initiator { conn.open_bi().await? } else { conn.accept_bi().await? }; + let mut out = Outcome::default(); + let mut learned = HashSet::new(); + + // 1. Reconciliation, the same loop as S1's `reconcile`. + if initiator { + flight(&mut send, conn, &mut out, &[party.full_range()], cut).await?; + } + loop { + let incoming = range::decode(&read_frame(&mut recv).await?)?; + if all_skip(&incoming) { + break; + } + let reply = party.respond(&incoming, p.t, p.k, &mut learned); + let last = all_skip(&reply); + flight(&mut send, conn, &mut out, &reply, cut).await?; + if last { + break; + } + } + + // 2. Data. `learned` is the symmetric difference, so both sides agree on it. + let mut need: HashSet = HashSet::new(); + for id in &learned { + if !store.has(id)? { + need.insert(*id); + } + } + let offers: Vec = (0..party.len()).filter(|&i| learned.contains(&party.ids()[i])).collect(); + + let sending = async { + let mut bytes = write_frame(&mut send, &(offers.len() as u32).to_be_bytes()).await?; + for (sent, &i) in offers.iter().enumerate() { + if cut == Cut::AfterRecords(sent) { + conn.close(1u32.into(), b"cut"); + bail!("cut before record {}", sent + 1); + } + bytes += write_frame(&mut send, &store.record(&party.ids()[i])?).await?; + } + send.finish()?; + anyhow::Ok(bytes) + }; + + let receiving = async { + let count_frame = read_frame(&mut recv).await?; + let count: [u8; 4] = count_frame.as_slice().try_into().map_err(|_| anyhow!("count frame is not 4 bytes"))?; + let count = u32::from_be_bytes(count) as usize; + ensure!(count == need.len(), "peer offers {count} events, and {} are missing here", need.len()); + let mut seen: HashSet = HashSet::with_capacity(count); + let mut pending: Vec = Vec::with_capacity(p.batch); + let mut total = Batch::default(); + let mut commit_time = Duration::ZERO; + for _ in 0..count { + let record = read_frame(&mut recv).await?; + let (header, body) = split_record(&record)?; + let v = chain::verify(header, body)?; + ensure!(need.contains(&v.id), "event {} was not expected", hex::encode(v.id)); + ensure!(seen.insert(v.id), "event {} arrived twice", hex::encode(v.id)); + pending.push(Item { key: key_of(&v.author, v.seq), id: v.id, record }); + if pending.len() == p.batch { + let (b, t) = commit(store, &mut pending)?; + total.inserted += b.inserted; + total.duplicates += b.duplicates; + commit_time += t; + } + } + if !pending.is_empty() { + let (b, t) = commit(store, &mut pending)?; + total.inserted += b.inserted; + total.duplicates += b.duplicates; + commit_time += t; + } + anyhow::Ok((count, total, commit_time)) + }; + + let (sent_bytes, received) = tokio::join!(sending, receiving); + out.data_bytes = sent_bytes?; + out.sent = offers.len(); + let (count, total, commit_time) = received?; + out.received = count; + out.inserted = total.inserted; + out.duplicates = total.duplicates; + out.commit = commit_time; + out.need = need.len(); + out.learned = learned; + Ok(out) +} + +/// An endpoint on localhost, with no relay and no address lookup. Dialled by address only. +pub async fn endpoint(alpns: Vec>) -> Result { + Ok(Endpoint::builder(presets::Minimal) + .alpns(alpns) + .relay_mode(RelayMode::Disabled) + .clear_ip_transports() + .bind_addr((Ipv4Addr::LOCALHOST, 0))? + .bind() + .await?) +} + +/// One store and its index, shared with the accepting task. +#[derive(Clone)] +pub struct Side { + pub store: Arc, + pub party: Arc, +} + +pub struct Run { + pub dialer: Result, + pub acceptor: Result, + /// Connect to both sessions finishing. Indexes are built before the call. + pub wall: Duration, + /// QUIC bytes in both directions on the dialer's connection, including headers and TLS. + pub transport_bytes: u64, +} + +/// Syncs `dialer` and `acceptor` over one connection on localhost, with `cut` applied to the +/// dialer. Each side returns only after it has read everything the other side sent, so +/// closing the connections afterwards loses nothing. +pub async fn sync_pair(dialer: Side, acceptor: Side, p: Params, cut: Cut) -> Result { + sync_pair_mixed(dialer, acceptor, p, p, cut).await +} + +/// As [`sync_pair`], with separate parameters: the dialer runs with `pd`, the acceptor with `pa`. +pub async fn sync_pair_mixed(dialer: Side, acceptor: Side, pd: Params, pa: Params, cut: Cut) -> Result { + let server = endpoint(vec![ALPN.to_vec()]).await?; + let client = endpoint(vec![]).await?; + let sock = *server.addr().ip_addrs().next().context("server has no IP address")?; + let target = EndpointAddr::new(server.id()).with_ip_addr(sock); + + let accepting = tokio::spawn({ + let server = server.clone(); + async move { + let incoming = server.accept().await.context("endpoint closed before a connection")?; + let conn = incoming.await?; + let out = run(&acceptor.store, &acceptor.party, &conn, false, pa, Cut::Never).await?; + anyhow::Ok((out, conn)) + } + }); + + let started = Instant::now(); + let conn = client.connect(target, ALPN).await.context("connect")?; + let dialing = run(&dialer.store, &dialer.party, &conn, true, pd, cut); + let (dialer_result, accepted) = tokio::time::timeout(Duration::from_secs(120), async { + tokio::join!(dialing, accepting) + }) + .await + .map_err(|_| anyhow!("sync timed out after 120 s"))?; + let wall = started.elapsed(); + + let transport_bytes = { + let s = conn.stats(); + s.udp_tx.bytes + s.udp_rx.bytes + }; + let (acceptor_result, acceptor_conn) = match accepted? { + Ok((out, conn)) => (Ok(out), Some(conn)), + Err(e) => (Err(e), None), + }; + conn.close(0u32.into(), b"done"); + if let Some(c) = acceptor_conn { + c.close(0u32.into(), b"done"); + } + client.close().await; + server.close().await; + Ok(Run { + dialer: dialer_result, + acceptor: acceptor_result, + wall, + transport_bytes, + }) +} diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/src/store.rs b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/src/store.rs new file mode 100644 index 0000000000..a4f0d1557d --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/range-config/harness/src/store.rs @@ -0,0 +1,146 @@ +//! Event store on redb, with S6's layout (`/home/user/work/spikes-s6/src/redb_store.rs`). +//! +//! - `author_seq`: author (32 B) || seq (8 B, big-endian) -> event ID. This is the range index. +//! - `events`: event ID -> record (see `chain::record`). +//! +//! As in S6, one write transaction per batch, and the (author, seq) check runs inside it: +//! redb has no unique constraint. p2panda's seq is u32; it is widened to S6's 8-byte field. + +use crate::range::Party; +use anyhow::{Context, Result, bail}; +use redb::{Database, ReadableDatabase, ReadableTable, ReadableTableMetadata, TableDefinition}; +use std::path::Path; + +/// author (32 B) || seq (8 B, big-endian). +pub const KEY_LEN: usize = 40; +pub type Key = [u8; KEY_LEN]; +pub type Id = [u8; 32]; + +const EVENTS: TableDefinition<&[u8], &[u8]> = TableDefinition::new("events"); +const AUTHOR_SEQ: TableDefinition<&[u8], &[u8]> = TableDefinition::new("author_seq"); + +/// S6's `author_seq_key`, with the u32 seq widened to u64. +pub fn key_of(author: &[u8; 32], seq: u32) -> Key { + let mut key = [0u8; KEY_LEN]; + key[..32].copy_from_slice(author); + key[32..].copy_from_slice(&(seq as u64).to_be_bytes()); + key +} + +#[derive(Debug, Default, Clone, Copy, PartialEq, Eq)] +pub struct Batch { + pub inserted: usize, + pub duplicates: usize, +} + +/// One verified event ready to store. +pub struct Item { + pub key: Key, + pub id: Id, + pub record: Vec, +} + +pub struct Store { + db: Database, +} + +impl Store { + pub fn open(path: &Path) -> Result { + let db = Database::create(path).with_context(|| format!("redb: opening {}", path.display()))?; + // redb has no tables until a write creates them, and reads of a missing table fail. Create + // both now, so that an empty store can be read (the bootstrap case). S7's original did not. + let txn = db.begin_write()?; + { + txn.open_table(AUTHOR_SEQ)?; + txn.open_table(EVENTS)?; + } + txn.commit()?; + Ok(Self { db }) + } + + /// Writes `items` in one transaction. An identical event already held is a duplicate. A + /// different event at an occupied (author, seq) is a fork, and it fails the whole batch. + pub fn insert(&self, items: &[Item]) -> Result { + let txn = self.db.begin_write()?; + let mut batch = Batch::default(); + { + let mut author_seq = txn.open_table(AUTHOR_SEQ)?; + let mut events = txn.open_table(EVENTS)?; + for item in items { + let held = author_seq.get(item.key.as_slice())?.map(|g| g.value().to_vec()); + match held { + Some(prev) if prev.as_slice() == item.id.as_slice() => { + batch.duplicates += 1; + continue; + } + Some(_) => bail!("fork at key {}", hex::encode(item.key)), + None => {} + } + events.insert(item.id.as_slice(), item.record.as_slice())?; + author_seq.insert(item.key.as_slice(), item.id.as_slice())?; + batch.inserted += 1; + } + } + txn.commit()?; + Ok(batch) + } + + /// The sorted (key, ID) index that the range scheme runs on. + pub fn index(&self) -> Result { + let txn = self.db.begin_read()?; + let table = txn.open_table(AUTHOR_SEQ)?; + let mut keys = Vec::with_capacity(table.len()? as usize); + let mut ids = Vec::with_capacity(keys.capacity()); + for row in table.iter()? { + let (key, id) = row?; + keys.push(key.value().try_into()?); + ids.push(id.value().try_into()?); + } + Ok(Party::new(keys, ids)) + } + + pub fn record(&self, id: &Id) -> Result> { + let txn = self.db.begin_read()?; + let events = txn.open_table(EVENTS)?; + let row = events.get(id.as_slice())?.with_context(|| format!("no event {}", hex::encode(id)))?; + Ok(row.value().to_vec()) + } + + pub fn has(&self, id: &Id) -> Result { + let txn = self.db.begin_read()?; + Ok(txn.open_table(EVENTS)?.get(id.as_slice())?.is_some()) + } + + /// Every (key, ID) row, in key order. + pub fn pairs(&self) -> Result> { + let txn = self.db.begin_read()?; + let table = txn.open_table(AUTHOR_SEQ)?; + let mut out = Vec::with_capacity(table.len()? as usize); + for row in table.iter()? { + let (key, id) = row?; + out.push((key.value().try_into()?, id.value().try_into()?)); + } + Ok(out) + } + + /// Row counts: (events, author_seq). + pub fn counts(&self) -> Result<(u64, u64)> { + let txn = self.db.begin_read()?; + Ok((txn.open_table(EVENTS)?.len()?, txn.open_table(AUTHOR_SEQ)?.len()?)) + } + + /// Removes one event from both tables. Used only to build a gap in a test store. + pub fn remove(&self, key: &Key) -> Result<()> { + let txn = self.db.begin_write()?; + { + let mut author_seq = txn.open_table(AUTHOR_SEQ)?; + let mut events = txn.open_table(EVENTS)?; + let id = author_seq.remove(key.as_slice())?.map(|g| g.value().to_vec()); + if let Some(id) = id { + events.remove(id.as_slice())?; + } + } + txn.commit()?; + Ok(()) + } +} diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/scheme-serde/Cargo.lock b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/scheme-serde/Cargo.lock new file mode 100644 index 0000000000..57d1537656 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/scheme-serde/Cargo.lock @@ -0,0 +1,1619 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "aead" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0" +dependencies = [ + "crypto-common 0.1.7", + "generic-array", +] + +[[package]] +name = "aes" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" +dependencies = [ + "cfg-if", + "cipher", + "cpufeatures 0.2.17", +] + +[[package]] +name = "aes-gcm" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "831010a0f742e1209b3bcea8fab6a8e149051ba6099432c8cb2cc117dec3ead1" +dependencies = [ + "aead", + "aes", + "cipher", + "ctr", + "ghash", + "subtle", +] + +[[package]] +name = "aho-corasick" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba" +dependencies = [ + "memchr", +] + +[[package]] +name = "arrayvec" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56" + +[[package]] +name = "autocfg" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" + +[[package]] +name = "base16ct" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" + +[[package]] +name = "base64ct" +version = "1.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2af50177e190e07a26ab74f8b1efbfe2ef87da2116221318cb1c2e82baf7de06" + +[[package]] +name = "bindgen" +version = "0.72.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "993776b509cfb49c750f11b8f07a46fa23e0a1386ffc01fb1e7d343efc387895" +dependencies = [ + "bitflags", + "cexpr", + "clang-sys", + "itertools", + "log", + "prettyplease", + "proc-macro2", + "quote", + "regex", + "rustc-hash", + "shlex 1.3.0", + "syn 2.0.119", +] + +[[package]] +name = "bitflags" +version = "2.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06" + +[[package]] +name = "blake3" +version = "1.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d9e454fc11f76977dc803893aff6304ed33d6a26efae8696573bea74baa27ae" +dependencies = [ + "arrayvec", + "cc", + "cfg-if", + "constant_time_eq", + "cpufeatures 0.3.1", +] + +[[package]] +name = "block-buffer" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" +dependencies = [ + "generic-array", +] + +[[package]] +name = "block-buffer" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2f6c7dbe95a6ed67ad9f18e57daf93a2f034c524b99fd2b76d18fdfeb6660aa" +dependencies = [ + "hybrid-array", +] + +[[package]] +name = "bumpalo" +version = "3.20.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649" + +[[package]] +name = "cbor-core" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9f70473b5194d5f6e3c271dc6d0f63f6b17cc5d004af959e9ed0be8c1dadcdb" +dependencies = [ + "serde", +] + +[[package]] +name = "cc" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50a649af8a827553c29fb0cb4bd4a6f1a0dd695bd3232b9bc98bd9c8a3ffbb8b" +dependencies = [ + "find-msvc-tools", + "shlex 2.0.1", +] + +[[package]] +name = "cexpr" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766" +dependencies = [ + "nom", +] + +[[package]] +name = "cfg-if" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600" + +[[package]] +name = "chacha20" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3613f74bd2eac03dad61bd53dbe620703d4371614fe0bc3b9f04dd36fe4e818" +dependencies = [ + "cfg-if", + "cipher", + "cpufeatures 0.2.17", +] + +[[package]] +name = "chacha20" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65c35e4b699c7e15ccbe7ee35c005e4fc0a278d22238a2857e6ce2dadeda1b06" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "rand_core 0.10.1", +] + +[[package]] +name = "chacha20poly1305" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10cd79432192d1c0f4e1a0fef9527696cc039165d729fb41b3f4f4f354c2dc35" +dependencies = [ + "aead", + "chacha20 0.9.1", + "cipher", + "poly1305", + "zeroize", +] + +[[package]] +name = "cipher" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" +dependencies = [ + "crypto-common 0.1.7", + "inout", + "zeroize", +] + +[[package]] +name = "clang-sys" +version = "1.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "157a8ba7b480713b56f4c09fd13fc3e0a22a5dfab8097ba61cbc5feef950788a" +dependencies = [ + "glob", + "libc", + "libloading", +] + +[[package]] +name = "cmov" +version = "0.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c9ea0ac24bc397ab3c98583a3c9ba74fa56b09a4449bbe172b9b1ddb016027a" + +[[package]] +name = "const-oid" +version = "0.9.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" + +[[package]] +name = "constant_time_eq" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d52eff69cd5e647efe296129160853a42795992097e8af39800e1060caeea9b" + +[[package]] +name = "core-models" +version = "0.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee3344d349528f449816cfa85e558c439bdca5a6d8a738cfb21e69f0b2b1952f" +dependencies = [ + "hax-lib", + "pastey", + "rand 0.10.3", +] + +[[package]] +name = "cpufeatures" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" +dependencies = [ + "libc", +] + +[[package]] +name = "cpufeatures" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ca28b0ae3115b884660db4118d803791fd6756b6e88f39c0f3f7859060d7566" +dependencies = [ + "libc", +] + +[[package]] +name = "crabgrind" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc7459e07732f6de74001fcf73a3fdfbb0f368e4fd8e2392f4a2206a065e6e95" +dependencies = [ + "bindgen", + "cc", + "pkg-config", +] + +[[package]] +name = "crypto-bigint" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" +dependencies = [ + "generic-array", + "rand_core 0.6.4", + "subtle", + "zeroize", +] + +[[package]] +name = "crypto-common" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" +dependencies = [ + "generic-array", + "typenum", +] + +[[package]] +name = "crypto-common" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453" +dependencies = [ + "hybrid-array", +] + +[[package]] +name = "ctr" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835" +dependencies = [ + "cipher", +] + +[[package]] +name = "ctutils" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03bb0e1cc970d482d121d9a1744999169b69a07470b3d644a7894e53fcaf4574" +dependencies = [ + "cmov", +] + +[[package]] +name = "curve25519-dalek" +version = "4.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "curve25519-dalek-derive", + "digest 0.10.7", + "fiat-crypto", + "rustc_version", + "subtle", + "zeroize", +] + +[[package]] +name = "curve25519-dalek-derive" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "der" +version = "0.7.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb" +dependencies = [ + "const-oid", + "zeroize", +] + +[[package]] +name = "digest" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" +dependencies = [ + "block-buffer 0.10.4", + "crypto-common 0.1.7", + "subtle", +] + +[[package]] +name = "digest" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2" +dependencies = [ + "block-buffer 0.12.1", + "crypto-common 0.2.2", + "ctutils", +] + +[[package]] +name = "ed25519" +version = "2.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" +dependencies = [ + "pkcs8", + "signature", +] + +[[package]] +name = "ed25519-dalek" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70e796c081cee67dc755e1a36a0a172b897fab85fc3f6bc48307991f64e4eca9" +dependencies = [ + "curve25519-dalek", + "ed25519", + "rand_core 0.6.4", + "serde", + "sha2 0.10.9", + "subtle", + "zeroize", +] + +[[package]] +name = "either" +version = "1.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be" + +[[package]] +name = "elliptic-curve" +version = "0.13.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" +dependencies = [ + "base16ct", + "crypto-bigint", + "digest 0.10.7", + "ff", + "generic-array", + "group", + "hkdf 0.12.4", + "rand_core 0.6.4", + "sec1", + "subtle", + "zeroize", +] + +[[package]] +name = "ff" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0b50bfb653653f9ca9095b427bed08ab8d75a137839d9ad64eb11810d5b6393" +dependencies = [ + "rand_core 0.6.4", + "subtle", +] + +[[package]] +name = "fiat-crypto" +version = "0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d" + +[[package]] +name = "find-msvc-tools" +version = "0.1.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aedcfb3409746eddb02b9e19ebda1c3394f759a152e48ee875a0844d1b955484" + +[[package]] +name = "futures-core" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e" + +[[package]] +name = "futures-task" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd" + +[[package]] +name = "futures-util" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc" +dependencies = [ + "futures-core", + "futures-task", + "pin-project-lite", + "slab", +] + +[[package]] +name = "generic-array" +version = "0.14.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +dependencies = [ + "typenum", + "version_check", + "zeroize", +] + +[[package]] +name = "getrandom" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0" +dependencies = [ + "cfg-if", + "libc", + "wasi", +] + +[[package]] +name = "getrandom" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" +dependencies = [ + "cfg-if", + "libc", + "r-efi 5.3.0", + "wasip2", +] + +[[package]] +name = "getrandom" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" +dependencies = [ + "cfg-if", + "libc", + "r-efi 6.0.0", + "rand_core 0.10.1", +] + +[[package]] +name = "ghash" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0d8a4362ccb29cb0b265253fb0a2728f592895ee6854fd9bc13f2ffda266ff1" +dependencies = [ + "opaque-debug", + "polyval", +] + +[[package]] +name = "glob" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4eba85ea1d0a966a983acd07deee566e67395d2d96b6fb39e62b5a833f1eb0b" + +[[package]] +name = "group" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" +dependencies = [ + "ff", + "rand_core 0.6.4", + "subtle", +] + +[[package]] +name = "hax-lib" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01a33cb227f97ee5c419064c31d7c55a7d895f28d8019ccdadc311cc036500c4" +dependencies = [ + "hax-lib-macros", + "num-bigint", + "num-traits", +] + +[[package]] +name = "hax-lib-macros" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28da835a5f153e9f3d0cc1f42ee605a1cfa9093c93348193793d60a1b0908b51" +dependencies = [ + "hax-lib-macros-types", + "proc-macro-error2", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "hax-lib-macros-types" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eed327e9a28d6ee018a4a9ba842d4ee27e378c8a591d2beb6f42f32b24a02fcb" +dependencies = [ + "proc-macro2", + "quote", + "serde", + "serde_json", + "uuid", +] + +[[package]] +name = "hex" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" +dependencies = [ + "serde", +] + +[[package]] +name = "hkdf" +version = "0.12.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7" +dependencies = [ + "hmac 0.12.1", +] + +[[package]] +name = "hkdf" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4aaa26c720c68b866f2c96ef5c1264b3e6f473fe5d4ce61cd44bbe913e553018" +dependencies = [ + "hmac 0.13.0", +] + +[[package]] +name = "hmac" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" +dependencies = [ + "digest 0.10.7", +] + +[[package]] +name = "hmac" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6303bc9732ae41b04cb554b844a762b4115a61bfaa81e3e83050991eeb56863f" +dependencies = [ + "digest 0.11.3", +] + +[[package]] +name = "hpke-rs" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "812de62ab573b876c6c40d7553bae9402ae3bad95b64af06f964388eecb9b7b1" +dependencies = [ + "hpke-rs-crypto", + "libcrux-sha3", + "log", + "subtle", + "zeroize", +] + +[[package]] +name = "hpke-rs-crypto" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2c461da2e0c9c93d875b597f0c78214fb0d2d5c57834b2ef2a2fa057fa20e24" +dependencies = [ + "rand 0.10.3", + "zeroize", +] + +[[package]] +name = "hpke-rs-rust-crypto" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a606ac19851da841862ef5f39d26d6227bfcfb4047417801a66c1f6e6652d71" +dependencies = [ + "aes-gcm", + "chacha20poly1305", + "hkdf 0.13.0", + "hpke-rs-crypto", + "k256", + "p256", + "p384", + "rand 0.10.3", + "rand_chacha 0.10.0", + "rand_core 0.10.1", + "sha2 0.11.0", + "subtle", + "x25519-dalek", + "zeroize", +] + +[[package]] +name = "hybrid-array" +version = "0.4.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27f864f10dfb56725ce5ce5472bc52252c8f93a4ab86327122cebf62c5f59a17" +dependencies = [ + "typenum", +] + +[[package]] +name = "inout" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01" +dependencies = [ + "generic-array", +] + +[[package]] +name = "itertools" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" +dependencies = [ + "either", +] + +[[package]] +name = "itoa" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" + +[[package]] +name = "js-sys" +version = "0.3.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7883d941dae510fb2d978fc3fe018c71c9e2892fd38854de3e8b92c2e5ad9cc5" +dependencies = [ + "cfg-if", + "futures-util", + "wasm-bindgen", +] + +[[package]] +name = "k256" +version = "0.13.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6e3919bbaa2945715f0bb6d3934a173d1e9a59ac23767fbaaef277265a7411b" +dependencies = [ + "cfg-if", + "elliptic-curve", +] + +[[package]] +name = "libc" +version = "0.2.190" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78" + +[[package]] +name = "libcrux-intrinsics" +version = "0.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98a0c574d4eb81d0814bc2b91e4a433d7e0b35851b1d62eb5dd95c064f1f76d0" +dependencies = [ + "core-models", + "hax-lib", +] + +[[package]] +name = "libcrux-platform" +version = "0.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d9e21d7ed31a92ac539bd69a8c970b183ee883872d2d19ce27036e24cb8ecc4" +dependencies = [ + "libc", +] + +[[package]] +name = "libcrux-secrets" +version = "0.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "79054fc9037cb70d6a546cf094cea7d7df06af5e49d230ba24103d27ccc886f1" +dependencies = [ + "crabgrind", + "hax-lib", +] + +[[package]] +name = "libcrux-sha3" +version = "0.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c09f5c39afae0528e1f70a3c1e3c6ee649ec1f19dda26fc9b6ea91108fb879ef" +dependencies = [ + "hax-lib", + "libcrux-intrinsics", + "libcrux-platform", + "libcrux-traits", +] + +[[package]] +name = "libcrux-traits" +version = "0.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3fa7a21e8c2e8baa8b40f0b176740f2ca4baadd79d1b00e48d6b1e363c42085a" +dependencies = [ + "libcrux-secrets", + "rand 0.10.3", +] + +[[package]] +name = "libloading" +version = "0.8.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55" +dependencies = [ + "cfg-if", + "windows-link", +] + +[[package]] +name = "log" +version = "0.4.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6" + +[[package]] +name = "memchr" +version = "2.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" + +[[package]] +name = "minimal-lexical" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" + +[[package]] +name = "nom" +version = "7.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" +dependencies = [ + "memchr", + "minimal-lexical", +] + +[[package]] +name = "num-bigint" +version = "0.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c89e69e7e0f03bea5ef08013795c25018e101932225a656383bd384495ecc367" +dependencies = [ + "num-integer", + "num-traits", +] + +[[package]] +name = "num-integer" +version = "0.1.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ce2d95d4b3734dc35aa2f45e1aa22cd416814592a4f9d9205e11affd5b8e10b" +dependencies = [ + "num-traits", +] + +[[package]] +name = "num-traits" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +dependencies = [ + "autocfg", +] + +[[package]] +name = "once_cell" +version = "1.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" + +[[package]] +name = "opaque-debug" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" + +[[package]] +name = "p256" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9863ad85fa8f4460f9c48cb909d38a0d689dba1f6f6988a5e3e0d31071bcd4b" +dependencies = [ + "elliptic-curve", + "primeorder", +] + +[[package]] +name = "p2panda-core" +version = "0.7.1" +source = "git+https://github.com/p2panda/p2panda?rev=3e84cac48bba05c6857cce2ec433862b97f8d53c#3e84cac48bba05c6857cce2ec433862b97f8d53c" +dependencies = [ + "blake3", + "cbor-core", + "ed25519-dalek", + "hex", + "rand 0.8.8", + "serde", + "serde_bytes", + "thiserror", +] + +[[package]] +name = "p2panda-encryption" +version = "0.7.1" +source = "git+https://github.com/p2panda/p2panda?rev=3e84cac48bba05c6857cce2ec433862b97f8d53c#3e84cac48bba05c6857cce2ec433862b97f8d53c" +dependencies = [ + "chacha20poly1305", + "curve25519-dalek", + "hex", + "hkdf 0.12.4", + "hpke-rs", + "hpke-rs-crypto", + "hpke-rs-rust-crypto", + "p2panda-core", + "rand_chacha 0.9.0", + "serde", + "serde_bytes", + "sha2 0.10.9", + "subtle", + "thiserror", + "x25519-dalek", + "zeroize", +] + +[[package]] +name = "p2panda-encryption-both" +version = "0.7.1" +dependencies = [ + "chacha20poly1305", + "curve25519-dalek", + "hex", + "hkdf 0.12.4", + "hpke-rs", + "hpke-rs-crypto", + "hpke-rs-rust-crypto", + "p2panda-core", + "rand_chacha 0.9.0", + "serde", + "serde_bytes", + "sha2 0.10.9", + "subtle", + "thiserror", + "x25519-dalek", + "zeroize", +] + +[[package]] +name = "p2panda-encryption-inner" +version = "0.7.1" +dependencies = [ + "chacha20poly1305", + "curve25519-dalek", + "hex", + "hkdf 0.12.4", + "hpke-rs", + "hpke-rs-crypto", + "hpke-rs-rust-crypto", + "p2panda-core", + "rand_chacha 0.9.0", + "serde", + "serde_bytes", + "sha2 0.10.9", + "subtle", + "thiserror", + "x25519-dalek", + "zeroize", +] + +[[package]] +name = "p2panda-encryption-outer" +version = "0.7.1" +dependencies = [ + "chacha20poly1305", + "curve25519-dalek", + "hex", + "hkdf 0.12.4", + "hpke-rs", + "hpke-rs-crypto", + "hpke-rs-rust-crypto", + "p2panda-core", + "rand_chacha 0.9.0", + "serde", + "serde_bytes", + "sha2 0.10.9", + "subtle", + "thiserror", + "x25519-dalek", + "zeroize", +] + +[[package]] +name = "p384" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe42f1670a52a47d448f14b6a5c61dd78fce51856e68edaa38f7ae3a46b8d6b6" +dependencies = [ + "elliptic-curve", + "primeorder", +] + +[[package]] +name = "pastey" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ee67f1008b1ba2321834326597b8e186293b049a023cdef258527550b9935b4" + +[[package]] +name = "pin-project-lite" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" + +[[package]] +name = "pkcs8" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" +dependencies = [ + "der", + "spki", +] + +[[package]] +name = "pkg-config" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548" + +[[package]] +name = "poly1305" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8159bd90725d2df49889a078b54f4f79e87f1f8a8444194cdca81d38f5393abf" +dependencies = [ + "cpufeatures 0.2.17", + "opaque-debug", + "universal-hash", +] + +[[package]] +name = "polyval" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d1fe60d06143b2430aa532c94cfe9e29783047f06c0d7fd359a9a51b729fa25" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "opaque-debug", + "universal-hash", +] + +[[package]] +name = "ppv-lite86" +version = "0.2.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" +dependencies = [ + "zerocopy", +] + +[[package]] +name = "prettyplease" +version = "0.2.37" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b" +dependencies = [ + "proc-macro2", + "syn 2.0.119", +] + +[[package]] +name = "primeorder" +version = "0.13.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "353e1ca18966c16d9deb1c69278edbc5f194139612772bd9537af60ac231e1e6" +dependencies = [ + "elliptic-curve", +] + +[[package]] +name = "proc-macro-error-attr2" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96de42df36bb9bba5542fe9f1a054b8cc87e172759a1868aa05c1f3acc89dfc5" +dependencies = [ + "proc-macro2", + "quote", +] + +[[package]] +name = "proc-macro-error2" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11ec05c52be0a07b08061f7dd003e7d7092e0472bc731b4af7bb1ef876109802" +dependencies = [ + "proc-macro-error-attr2", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "proc-macro2" +version = "1.0.107" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "quote" +version = "1.0.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "r-efi" +version = "5.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" + +[[package]] +name = "r-efi" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" + +[[package]] +name = "rand" +version = "0.8.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e058c7de0b26af77780c769414d6257830bb240f3c38477dbc2c16e5f54d6d4c" +dependencies = [ + "libc", + "rand_chacha 0.3.1", + "rand_core 0.6.4", +] + +[[package]] +name = "rand" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65c9fb96cbc91e3478eaae79a69fcd3f1ae4ad052e471fe6732fff548984b4af" +dependencies = [ + "chacha20 0.10.2", + "getrandom 0.4.3", + "rand_core 0.10.1", +] + +[[package]] +name = "rand_chacha" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +dependencies = [ + "ppv-lite86", + "rand_core 0.6.4", +] + +[[package]] +name = "rand_chacha" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" +dependencies = [ + "ppv-lite86", + "rand_core 0.9.5", +] + +[[package]] +name = "rand_chacha" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e6af7f3e25ded52c41df4e0b1af2d047e45896c2f3281792ed68a1c243daedb" +dependencies = [ + "ppv-lite86", + "rand_core 0.10.1", +] + +[[package]] +name = "rand_core" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +dependencies = [ + "getrandom 0.2.17", +] + +[[package]] +name = "rand_core" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c" +dependencies = [ + "getrandom 0.3.4", +] + +[[package]] +name = "rand_core" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" + +[[package]] +name = "regex" +version = "1.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.4.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.8.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" + +[[package]] +name = "rustc-hash" +version = "2.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d" + +[[package]] +name = "rustc_version" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" +dependencies = [ + "semver", +] + +[[package]] +name = "rustversion" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f" + +[[package]] +name = "scheme-serde" +version = "0.0.0" +dependencies = [ + "cbor-core", + "p2panda-core", + "p2panda-encryption", + "p2panda-encryption-both", + "p2panda-encryption-inner", + "p2panda-encryption-outer", + "serde", + "serde_bytes", +] + +[[package]] +name = "sec1" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" +dependencies = [ + "base16ct", + "der", + "generic-array", + "subtle", + "zeroize", +] + +[[package]] +name = "semver" +version = "1.0.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd" + +[[package]] +name = "serde" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba" +dependencies = [ + "serde_core", + "serde_derive", +] + +[[package]] +name = "serde_bytes" +version = "0.11.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5d440709e79d88e51ac01c4b72fc6cb7314017bb7da9eeff678aa94c10e3ea8" +dependencies = [ + "serde", + "serde_core", +] + +[[package]] +name = "serde_core" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "serde_json" +version = "1.0.152" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1741ab7a6cc54a03a89b5d563ed60075c277d9e3cfa73ad0c1f23f23974703c6" +dependencies = [ + "itoa", + "memchr", + "serde", + "serde_core", + "zmij", +] + +[[package]] +name = "sha2" +version = "0.10.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "digest 0.10.7", +] + +[[package]] +name = "sha2" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "digest 0.11.3", +] + +[[package]] +name = "shlex" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" + +[[package]] +name = "shlex" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba" + +[[package]] +name = "signature" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" +dependencies = [ + "rand_core 0.6.4", +] + +[[package]] +name = "slab" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" + +[[package]] +name = "spki" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" +dependencies = [ + "base64ct", + "der", +] + +[[package]] +name = "subtle" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" + +[[package]] +name = "syn" +version = "2.0.119" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "3.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d62a2e0561533f2ca2561d0cf27fd9fedb640a1bf2616ff5d5c80d99017faadc" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "thiserror" +version = "2.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e" +dependencies = [ + "thiserror-impl", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "typenum" +version = "1.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" + +[[package]] +name = "unicode-ident" +version = "1.0.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d245f478577f809a851594d02313b640fb437e0bb33866753cff937863096954" + +[[package]] +name = "universal-hash" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea" +dependencies = [ + "crypto-common 0.1.7", + "subtle", +] + +[[package]] +name = "uuid" +version = "1.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7cc1186384beb7dd8eedea376413fd654937285ea6c9cfbb928dc3043ea4b606" +dependencies = [ + "getrandom 0.4.3", + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "version_check" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" + +[[package]] +name = "wasi" +version = "0.11.1+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" + +[[package]] +name = "wasip2" +version = "1.0.4+wasi-0.2.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b67efb37e106e55ce722a510d6b5f9c17f083e5fc79afc2badeb12cc313d9487" +dependencies = [ + "wit-bindgen", +] + +[[package]] +name = "wasm-bindgen" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9bb54f33acc68fd454578d9820b0bde1a1a3d17aa17bb7b6595806d02886d409" +dependencies = [ + "cfg-if", + "once_cell", + "rustversion", + "wasm-bindgen-macro", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e29d0c35b16e224a7eeb5cd2d25e3e1968fbd65604117b44d3b789d00ee8535" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f501a8bc3719dba86ef8ae4728879c08001bea749eb1333ac5b91e040e2a6b7" +dependencies = [ + "bumpalo", + "proc-macro2", + "quote", + "syn 3.0.7", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23f0c9c52aa7cd7d77769a4cfe2a9adb1b331f489a41d912ce14513d5ab995c6" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + +[[package]] +name = "wit-bindgen" +version = "0.57.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e" + +[[package]] +name = "x25519-dalek" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7e468321c81fb07fa7f4c636c3972b9100f0346e5b6a9f2bd0603a52f7ed277" +dependencies = [ + "curve25519-dalek", + "rand_core 0.6.4", + "serde", + "zeroize", +] + +[[package]] +name = "zerocopy" +version = "0.8.62" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86502bf56ac7c77571a32e2647bb2a15894565e981fb2a48d7bde2d91c965a9d" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.8.62" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5457206954b06561e2608c7e19cf58b1926586d999c246eebe4502f7e2039d1a" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "zeroize" +version = "1.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e13084392c5e4bc371903e2935a5eaeed24905a7511356b883835e18a78f6879" +dependencies = [ + "zeroize_derive", +] + +[[package]] +name = "zeroize_derive" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c50655cbb0fe3fc43170059e702f1ce5e19b84cec58dc87b037a09935c2f328" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "zmij" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b" diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/scheme-serde/Cargo.toml b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/scheme-serde/Cargo.toml new file mode 100644 index 0000000000..074b5e85ec --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/scheme-serde/Cargo.toml @@ -0,0 +1,29 @@ +[package] +name = "scheme-serde" +version = "0.0.0" +edition = "2024" +rust-version = "1.96" +publish = false + +# Standalone crate, not a member of the spikes workspace (BRIEF rule 4). The three path copies are +# excluded so that cargo does not treat them as workspace members. +[workspace] +exclude = [ + "variants/both/p2panda-encryption", + "variants/inner/p2panda-encryption", + "variants/outer/p2panda-encryption", +] + +[dependencies] +p2panda-core = { git = "https://github.com/p2panda/p2panda", rev = "3e84cac48bba05c6857cce2ec433862b97f8d53c" } +cbor-core = "=0.10.1" +serde = { version = "1.0.228", features = ["derive"] } +serde_bytes = "0.11.19" +# Stock crate, as pinned (the baseline). +p2panda-encryption = { git = "https://github.com/p2panda/p2panda", rev = "3e84cac48bba05c6857cce2ec433862b97f8d53c", features = ["data_scheme", "test_utils"] } +# Pinned source plus `serde_bytes` on both fields (the option (b) diff). +p2panda-encryption-both = { package = "p2panda-encryption-both", path = "variants/both/p2panda-encryption", features = ["data_scheme", "test_utils"] } +# Only the `TwoPartyPlaintext.plaintext` field annotated (inner layer). +p2panda-encryption-inner = { package = "p2panda-encryption-inner", path = "variants/inner/p2panda-encryption", features = ["data_scheme", "test_utils"] } +# Only the `X3dhCiphertext.ciphertext` field annotated (outer layer). +p2panda-encryption-outer = { package = "p2panda-encryption-outer", path = "variants/outer/p2panda-encryption", features = ["data_scheme", "test_utils"] } diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/scheme-serde/RESULTS.md b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/scheme-serde/RESULTS.md new file mode 100644 index 0000000000..9ce3394d13 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/scheme-serde/RESULTS.md @@ -0,0 +1,258 @@ +# scheme-serde: how DataScheme serializes its messages, and how to version and encode them + +Date: 2026-10-11. Crate: p2panda-encryption 0.7.1 at p2panda rev `3e84cac48bba05c6857cce2ec433862b97f8d53c`, checkout `/home/user/.cargo/git/checkouts/p2panda-de6556ee3f16c1a4/3e84cac/`. Serializer: `p2panda_core::cbor::encode_cbor`, which calls cbor-core 0.10.1 (`p2panda-core/Cargo.toml:38`). Toolchain: cargo 1.97.0 (`rustup which --toolchain 1.97.0 cargo`), `CARGO_TARGET_DIR=/home/user/work/spikes/target`. Folder: `/home/user/work/research-round2/scheme-serde/`. + +Labels: **verified** = I read the line or saw the output; **inferred** = my reasoning from verified facts; **not checked** = not done. + +--- + +## Questions (verbatim) + +Owner: "n10 what are these scheme versions? what options are there why is this custom one the best?" + +Brief (from the parent session): + +1. List the structs that go on the wire for the data scheme (welcome, PreKey welcome, two-party plaintext, X3DH ciphertext, update or add messages). For each, list which fields are `Vec`, and which serializer is used. +2. Explain why the stock output is 146.6 bytes per epoch. Explain what `serde_bytes` changes on the wire. Check the S12 variant patch. +3. Evaluate options (a) keep stock, (b) fork with `serde_bytes`, (c) own adapter, (d) own compact encoding, (e) compression, (f) where a scheme version tag goes. +4. For each option: bytes per epoch, lines we own, upstream-change risk, wire compatibility, failure modes. +5. Recommend one option and a versioning scheme. Address "why is this custom one the best?" + +--- + +## Short answers + +**Q1, the wire structs.** The data scheme sends four kinds of struct: the welcome (`DirectMessage` with `DirectMessageContent::Welcome`), the 2SM message in its X3DH form (`TwoPartyMessage` holding `X3dhCiphertext`), the 2SM message in its HPKE form (`TwoPartyMessage` holding `HpkeCiphertext`), and the control messages (`ControlMessage`) with one direct message per recipient for update, add and remove. `TwoPartyPlaintext` is not sent as such: it is CBOR-encoded and then encrypted inside the 2SM message. Serialization is `encode_cbor`, which is `cbor_core::Value::serialized(..).encode()` (verified, `p2panda-core/src/cbor.rs:17-20`). The crate has no serializer of its own. The `Vec` fields are `TwoPartyPlaintext.plaintext` (`two_party.rs:244`, no `serde_bytes`), `X3dhCiphertext.ciphertext` (`x3dh.rs:41`, no `serde_bytes`), and `HpkeCiphertext.kem_output` and `.ciphertext` (`hpke.rs:18,22`, both already `serde_bytes`). The welcome carries the DGM state (`history`), which is our type. The crate has no version field anywhere (verified: `grep -ri version` finds only a doc comment). + +**Q2, the 146.6 bytes per epoch.** Each epoch adds one `GroupSecret` to the bundle. Its CBOR is `[bstr(32), uint]`, about 40 bytes (inferred from the encoding rules; the serde_bytes build measures exactly 40.00 per epoch, which matches). In the stock layout the bundle is encoded twice, and both times as a CBOR integer array. The inner layer is `TwoPartyPlaintext.plaintext`: its 40 bytes become about 76.9 bytes (the outer-only build measures 76.9 per epoch, and that number is exactly this inner integer array carried inside a byte string). The outer layer is `X3dhCiphertext.ciphertext`, which holds the AEAD output of those 76.9 bytes, again as an integer array: 76.9 × 1.906 ≈ 146.6 (stock measured 146.46 to 146.53 across three seeds). An integer array costs 1 byte for values below 24 and 2 bytes for the rest, so 1.906 bytes per random byte. Check: the inner-only build carries the outer layer alone over 40 random bytes, 40 × 1.906 = 76.2, and measures 76.24. `serde_bytes` replaces the array with a byte string, so each byte costs exactly 1 byte. The S12 patch (`variants/serde-bytes.patch`) contains the two annotations (patch lines 119 and 130), but it also changes `dcgka.rs` and `group.rs` (the membership fix and `add_from_join`, about 40 added lines) and `Cargo.toml`. So S12's "serde_bytes build" is more than the serialization change. My build with only the two annotations on the pinned source gives 40.00 per epoch and exactly S12's 40,493 bytes at K = 1000. + +**Q3, the options.** (a) Stock: no code, 146.5 bytes per epoch. (b) Fork with `serde_bytes` on the two fields: 40.00 per epoch, two lines in the encryption crate. (c) Our own serde structs: not possible as specified. `TwoPartyMessage` and `TwoPartyPlaintext` have private fields and no constructor (`two_party.rs:225-228, 242-255`), so any conversion has to pass through serde on the encoded form. A Value-level transcoder does work without a crate change, but only on the outer field: 76.9 per epoch for joiners, and it cannot reach the inner layer, which sits inside the AEAD. (d) Our own compact welcome: the bundle's own CBOR is 40 bytes per epoch, so the floor is near 40 and the gain is at most about 15% per epoch. Reaching the bundle also means replacing the 2SM welcome construction, which is custom cryptography. Not recommended. (e) Compression: the brief expected little gain. On stock bytes the gain is large (bzip2 at −9 gives 78,344 bytes at K = 1000, 47% less), because the integer-array framing is predictable. On v1 bytes compression gives nothing (+4 to +534 bytes). (f) Version tag: 5 to 12 bytes per welcome. Put it in the signed group policy as the authority, with a checked copy in the event header and the welcome envelope. + +**Q4, numbers.** The table in §Options has all of them. The headline: joiner welcome at K = 1000 is 147.3 KB stock, 40.5 KB with `serde_bytes` on both fields, 77.4 KB with the outer field alone (transcoder), and 76.9 KB with the inner field alone. The per-recipient update message is 375 to 383 bytes stock and 342 to 344 bytes with `serde_bytes`. So `serde_bytes` saves only about 10% on updates, because the HPKE outer layer is already a byte string. The inner field is what matters for updates and re-adds; the outer field only matters for PreKey welcomes. + +**Q5, recommendation.** Choose (b): a fork with `serde_bytes` on `TwoPartyPlaintext.plaintext` and `X3dhCiphertext.ciphertext`, named DataScheme scheme v1 from the first release, with the version bound to the signed group policy and checked in the event header and the welcome envelope. "This custom one" is the best option that reaches the floor. It is 3.66 times smaller on joiner welcomes, it adds two lines to a fork we already carry for `from_join` (N9), it uses the attribute the crate already uses for every other byte field, and it has no migration cost, because nothing has shipped: nothing in `/home/user/code` depends on p2panda-encryption (verified by grep). It is not free. It is incompatible with stock in both directions (verified), the update path gains only about 10%, and the version tag and determinism fixes in §Recommendation are required. If the owner will not carry any crate patch, the fallback is (c), the transcoder, which gets half the joiner saving and nothing elsewhere. + +--- + +## Evidence + +### E1. Wire structs and their byte fields (pinned rev, verified) + +| Struct (file:line) | Fields | `Vec` | `serde_bytes` today | +|---|---|---|---| +| `DirectMessage` (`data_scheme/dcgka.rs:564-570`) | `recipient: ID`, `content` | none | n/a | +| `DirectMessageContent::Welcome` (`dcgka.rs:606-613`) | `ciphertext: TwoPartyMessage`, `history: DGM::State` | none directly; `history` is our DGM state (test DGM uses `HashSet`, `data_scheme/test_utils/dgm.rs:35`) | n/a | +| `DirectMessageContent::TwoParty` (`dcgka.rs:614-616`) | `ciphertext: TwoPartyMessage` | none | n/a | +| `TwoPartyMessage` (`two_party/two_party.rs:224-228`) | `ciphertext: TwoPartyCiphertext`, `key_used: KeyUsed`. **Private fields.** | none | n/a | +| `TwoPartyCiphertext` (`two_party.rs:230-237`) | `PreKey(X3dhCiphertext)` / `Hpke(HpkeCiphertext)` | none | n/a | +| `X3dhCiphertext` (`two_party/x3dh.rs:28-45`) | `identity_key: PublicKey`, `onetime_prekey_id: Option<_>`, `prekey_id`, `ciphertext: Vec` (line 41), `ephemeral_key: PublicKey` | `ciphertext` | `PublicKey` is `serde_bytes` (`x25519.rs:65`) | +| `HpkeCiphertext` (`crypto/hpke.rs:15-24`) | `kem_output`, `ciphertext` | both | both (`hpke.rs:18,22`) | +| `TwoPartyPlaintext` (inside the AEAD, `two_party.rs:241-255`) | `plaintext: Vec` (line 244), `receiver_new_secret: SecretKey`, `sender_new_verifying_key: PublicKey`, `sender_next_index: u64` | `plaintext` | no (`Secret` is `serde_bytes`, `secret.rs:22`) | +| `ControlMessage` (`dcgka.rs:484-490`) | `Create { initial_members: Vec }`, `Update`, `Remove { removed: ID }`, `Add { added: ID }` | none | n/a | +| `GroupSecret` (`data_scheme/group_secret.rs:39-40`) | `GroupSecret(Secret<32>, Timestamp)` | none | the `Secret` is | +| `SecretBundleState` (`group_secret.rs:109-112`, Serialize at 174-186) | a CBOR sequence of `GroupSecret`, written in `HashMap` order (line 180) | none | n/a | +| application data (`data_scheme/data.rs:5-13`, `group.rs:443`) | XChaCha20-Poly1305 output, `Vec`; the crate defines no serialized struct for it | the output | n/a | + +The update, add and remove messages (`dcgka.rs:343-374`, `send_group_secret`) send one 2SM message per recipient. Each carries one `GroupSecret` (`to_bytes` at `group_secret.rs:86-88`, `encode_cbor(self)`). The welcome carries the whole `SecretBundleState` (`dcgka.rs:260`, `bundle.to_bytes()`), and that is the part that grows with epochs. + +### E2. Serializer and serde mapping + +- `encode_cbor` = `cbor_core::Value::serialized(value)?.encode()` (verified, `p2panda-core/src/cbor.rs:17-20`). `decode_cbor` uses the LENIENT strictness (`cbor.rs:33-36`); `decode_cbor_strict` exists (`cbor.rs:47`). +- `Vec` serializes as a CBOR array of unsigned integers. Observed: `[84, 01, 02, 03, 18, c8]` for `[1,2,3,200]`. +- `#[serde(with = "serde_bytes")]` serializes as a byte string. Observed: `[44, 01, 02, 03, c8]` for the same data (run-all.txt, serde read check). +- The cbor-core decoder rejects the other form: `deserialize_seq` errors with "expected array, got {type}" (verified, `cbor-core-0.10.1/src/ext/serde.rs:758-766`); `deserialize_bytes` and `deserialize_byte_buf` go through `visit_borrowed_bytes` (`serde.rs:724-725`) and fail on an array with "incompatible CBOR type Array" (observed). serde_bytes' own `ByteBuf` visitor does implement `visit_seq` (`serde_bytes-0.11.19/src/bytebuf.rs:211`), but cbor-core never calls it, so `ByteBuf` cannot read arrays. +- Struct fields become text keys, sorted length-first (verified, `welcome-k1-stock.diag`: `"history"` comes before `"ciphertext"`); enum variants are externally tagged (`{"Welcome": {...}}`); unit variants are text (`"PreKey"`); `None` is `null` (verified in the same diagnostic). +- `IDs`: `p2panda-core` `VerifyingKey` serializes via `serialize_hex` (`p2panda-core/src/serde.rs:92-99`), which writes a byte string for non-human-readable formats such as CBOR (`serde.rs:21-31`). `ed25519-dalek` 3.0.0 (`pkgs/id` uses version 3, `pkgs/id/Cargo.toml:44`) uses `serialize_bytes` (`ed25519-dalek-3.0.0/src/verifying.rs:700-704`). So product IDs built on `VerifyingKey` are byte strings. `[u8; 32]` would be an array (inferred from serde's tuple rule; not measured). + +### E3. The S12 variant patch + +`/home/user/work/spikes-next/s12-welcome/variants/serde-bytes.patch` (verified by grep): + +- Files changed: `Cargo.toml` (explicit deps, no `[lints]`); `src/data_scheme/dcgka.rs` (the membership fix: the patch's comments say "The joiner applies its own add in `process_welcome`, after the welcome's history" and "The welcome's history predates this add, so the joiner applies the add itself", patch lines 45 and 71); `src/data_scheme/group.rs` (new public `add_from_join`, patch lines 84-107); `src/two_party/two_party.rs` (patch line 119: `#[serde(with = "serde_bytes")]`); `src/two_party/x3dh.rs` (patch line 130: `#[serde(with = "serde_bytes")]`). Patch line numbers are given throughout, not source line numbers. +- So the S12 "serde_bytes" build is the encryption crate with the membership and `from_join` changes and the two annotations. The two annotations are the only change that affects the wire sizes measured below. S12's RESULTS.md (line 34) says the S3 path copy has no `serde_bytes` change, so the S12 variant was built separately. +- My builds start from the pinned source and add only the annotations. `diff -ru` of `src` against the pinned checkout shows exactly the annotation lines (run in this session). + +### E4. Builds and commands (all run in this session) + +``` +export CARGO_TARGET_DIR=/home/user/work/spikes/target +CARGO="$(rustup which --toolchain 1.97.0 cargo)" +cd /home/user/work/research-round2/scheme-serde + +# variants: pinned checkout copied, Cargo.toml taken from S12's serde-bytes variant (package renamed), +# annotation lines inserted with sed: +# both: two_party.rs before " plaintext: Vec," and x3dh.rs before " pub ciphertext: Vec," +# inner: two_party.rs only +# outer: x3dh.rs only +"$CARGO" build --release --offline # 1m16s first build, 6.6s incremental +/home/user/work/spikes/target/release/scheme-serde > logs/run-all.txt # 37 s, seeds 1 to 3, four builds per seed +scripts/compress.sh > logs/compress.txt +``` + +The harness `src/harness.rs` is adapted from S12's `src/harness.rs`, not a byte copy. Same scenario (create with three members, then K rotations: odd K is `update`, even K is remove Carol and add her back). Removed: timers and recent-N. Added: the update direct message to Bob, the re-add welcome for Carol, and the file dumps. `src/main.rs` adds the serde read check, the cross-decode, the transcoder and the envelope overhead. Stderr was empty. `logs/run-all.txt` is the final run; an earlier run of the same binary gave the same slopes within 0.2 bytes per epoch. + +The variant diffs against the pinned source (verified): + +``` +both: two_party/two_party.rs +#[serde(with = "serde_bytes")] before plaintext; x3dh.rs +same before ciphertext +inner: two_party/two_party.rs only +outer: two_party/x3dh.rs only +``` + +### E5. Measurements (final run, `logs/run-all.txt`, three seeds; `logs/summary.txt`) + +Per epoch is the least-squares slope over the 11 samples K = 0, 1, 2, 5, 10, 50, 100, 250, 500, 750, 1000, against the number of secrets (K + 1). + +| build | joiner welcome, B per epoch (fit, 3 seeds) | intercept, B | joiner welcome at K = 1000, B (seeds 1, 2, 3) | update DM to Bob, B (range over samples and seeds) | re-add welcome, B per epoch | re-add at K = 1000, B (seeds 1, 2, 3) | +|---|---|---|---|---|---|---| +| stock | 146.46 to 146.53 | 597.8 to 603.3 | 147,277 / 147,261 / 147,252 | 375 to 383 | 76.87 to 76.90 | 77,407 / 77,369 / 77,381 | +| both (v1 candidate) | **40.00** (max residual 1.5) | 450.5 | **40,493 / 40,493 / 40,493** | 342 to 344 | 40.01 | 40,424 (all seeds) | +| inner only | 76.24 to 76.26 | 596.2 to 601.2 | 76,953 / 76,939 / 76,965 | 342 to 344 | 40.01 | 40,424 (all seeds) | +| outer only | 76.86 to 76.90 | 447.4 to 457.4 | 77,441 / 77,402 / 77,411 | 375 to 383 | 76.87 to 76.90 | 77,407 / 77,369 / 77,381 | + +Reading the table: the inner field sets the update and re-add cost, the outer field sets only the PreKey welcome. The inner-only build's joiner welcome is 40 × 1.906 = 76.2 (matches 76.24). The outer-only build is 76.9, which is the inner integer array (`40 → 76.9`) carried in a byte string. + +The welcome at K = 0 for stock is 737, 744, 735 bytes; for both it is 489 bytes (`logs/run-all.txt`, first row of each table). + +### E6. Compression (seed 1 dumps, `logs/compress.txt`) + +| bytes | raw | zstd -19 | xz -9e | gzip -9 | bzip2 -9 | brotli -11 | +|---|---|---|---|---|---|---| +| stock joiner welcome, K = 1000 | 147,277 | 95,594 | 86,528 | 100,591 | **78,344** | 86,562 | +| stock joiner welcome, K = 1 | 879 | 730 | 784 | 775 | 838 | 665 | +| both (v1) joiner welcome, K = 1000 | 40,493 | 40,507 | 40,564 | 40,547 | 41,027 | 40,497 | +| both (v1) joiner welcome, K = 1 | 529 | 517 | 572 | 549 | 642 | 484 | +| transcoded outer-only, K = 1000 | 77,441 | 77,457 | 77,512 | 77,512 | 78,130 | 77,446 | +| stock update DM | 383 | 385 | 448 | 428 | 519 | 367 | +| both (v1) update DM | 344 | 346 | 408 | 385 | 475 | 329 | +| stock re-add, K = 1000 | 77,407 | 77,423 | 77,480 | 77,465 | 78,106 | 77,412 | +| both (v1) re-add, K = 1000 | 40,424 | 40,438 | 40,492 | 40,476 | 40,953 | 40,428 | + +Per epoch from the two points K = 1 and K = 1000 (inferred, (c(1000) − c(1)) / 999): stock bzip2 77.6, xz 85.8, brotli 86.0, zstd 95.0, gzip 99.9. For v1: 40.0 for every compressor, so no gain. + +### E7. Cross-decode and the transcoder (all seeds, `logs/run-all.txt`) + +Cross-decode, `decode_cbor` of the whole direct message (the inner layer sits inside the AEAD and is not read by this check): + +| welcome | read by | result | +|---|---|---| +| stock K = 1 PreKey | both | `Err("incompatible CBOR type Array")` | +| both K = 1 PreKey | stock | `Err("expected array, got Bytes")` | +| stock K = 1 PreKey | inner | `Ok` | +| stock K = 1 PreKey | outer | `Err("incompatible CBOR type Array")` | +| inner K = 1 PreKey | stock | `Ok` | +| outer K = 1 PreKey | stock | `Err("expected array, got Bytes")` | +| stock re-add (HPKE) | both | `Ok` | +| both re-add (HPKE) | stock | `Ok` | + +So a PreKey welcome from either side fails on the other side at the direct-message level. The HPKE re-add passes at this level only, because its inner layer is not read here. The inner-only build's `Ok` on a stock welcome is a result at the direct-message level only; the inner decode happens after decryption, and I did not run it (inferred that it would fail). + +Transcoder, `to_wire` replaces the integer array at `content → Welcome → ciphertext → ciphertext → PreKey → ciphertext` with a byte string, and `from_wire` reverses it (`src/main.rs`): + +| check | seed 1 | seed 2 | seed 3 | +|---|---|---|---| +| stock K = 1 → wire | 879 → 601 B | 893 → 605 B | 888 → 598 B | +| stock K = 1000 → wire | 147,277 → 77,441 B | 147,261 → 77,402 B | 147,252 → 77,411 B | +| `from_wire(to_wire(x)) == x`, K = 1 and K = 1000 | true, true | true, true | true, true | +| stock reads the round trip | Ok | Ok | Ok | +| outer build reads the wire form | Ok | Ok | Ok | +| wire size equals the outer-only build's welcome size | 77,441 = 77,441 | 77,402 = 77,402 | 77,411 = 77,411 | + +The transcoder output has the same size as the outer-only build's welcome in every seed. The two welcomes come from separate processes, so I did not compare the bytes themselves; the size match is evidence of equivalence, not proof. + +Re-encoding a decoded welcome with the typed API does not always give the same bytes. Stock K = 1 re-encodes exactly in seeds 2 and 3 and not in seed 1. The transcoded wire form re-encodes exactly in 1 of 6 cases (K = 1 and K = 1000, three seeds). For the stock bytes, decode followed by encode at the `Value` level is an identity (`stock K=1000 bytes are canonical: true` and `stock K=1 ... Value decode then encode is identity: true`, all seeds). I did not run that Value-level check on the transcoded form. The likely cause of the typed-API differences is hash order: the test DGM keeps members in a `HashSet` (`dgm.rs:35`), and the bundle serializes its secrets in `HashMap` order (`group_secret.rs:180`). I did not isolate it (inferred). + +Envelope overhead (a version tag around the welcome): array form `[version, body]` adds 5 bytes to the 40.5 KB v1 welcome and 7 bytes to the 77 KB form; map form `{v, body}` adds 12 and 14 bytes. + +### E8. Our repository (verified) + +- `/home/user/code/pkgs/id` has no `p2panda-encryption` dependency (grep over `*.toml`, `*.rs`, `*.nix`, `*.md`). `pkgs/id/TODO.md:250` names it as a candidate only. There is no DataScheme data in the product, so no existing welcome or event needs to be read. +- The design says `scheme: none` is the opt-out and that DataScheme is the default (`task-05` scope items 6 and 7). Item 6: the scheme and version live in the signed group policy; key bundles advertise supported schemes; a scheme change starts a new epoch; readers keep a decoder for every scheme that ever produced an epoch; a message whose scheme differs from its epoch's is rejected. The acceptance list requires a downgrade test (task-05 line 36). +- Index items: N10, "serde_bytes on the two DataScheme fields", alternatives "Stay on stock encoding until a migration window exists" (remaining-work index, line 98). N20, "Scheme version for serde_bytes", alternative "Stay on stock encoding and accept 3.7 times larger welcomes" (line 108). The decision at task-05 line 106 says "Round 2 scheme-serde decides between the options". + +--- + +## Options + +Per-epoch numbers are for the joiner welcome (full history, PreKey path) unless the column says otherwise. "Update DM" is one direct message to one recipient for one update (HPKE path, one secret). + +| Option | Joiner welcome, B per epoch | Joiner welcome, K = 1000 | Update DM, B per recipient | Re-add, B per epoch | Lines we own | Upstream-change risk | Wire compatibility with stock | Failure modes | +|---|---|---|---|---|---|---|---|---| +| **(a)** keep stock | 146.5 | 147.3 KB | 375 to 383 | 76.9 | 0 | none while pinned | identical | welcome grows linearly; churn quadratic (S12: 19.5 MB of welcomes at K = 1000 with 500 re-adds); each update costs n − 1 messages of about 380 B | +| **(b)** fork, `serde_bytes` on both fields | **40.00** | **40.5 KB** | 342 to 344 | 40.0 | 2 attribute lines; the fork already exists for `from_join` (N9) | low to moderate: same attribute the crate uses for every other byte field (`secret.rs:22`, `x25519.rs:65`, `xeddsa.rs:31`, `hpke.rs:18,22`), so a fix upstream would likely match; a different layout would conflict | none: both directions fail for PreKey welcomes (E7) | a stock build anywhere in the dependency graph breaks the welcome path; `p2panda-spaces` depends on the crate (not checked) and would pull a second copy unless patched; `decode_cbor` is lenient (`cbor.rs:33-36`); bundle order depends on `HashMap` (`group_secret.rs:180`) | +| (b-inner), inner field only | 76.2 | 76.9 KB | 342 to 344 | 40.0 | 1 line | as (b) | none | the inner decode after decryption would fail on a stock plaintext (inferred, not run); the direct-message decode succeeds (E7) | +| (b-outer), outer field only (same bytes as (c)) | 76.9 | 77.4 KB | 375 to 383 (no change) | 76.9 (no change) | 1 line | as (b) | the outer layer reads as generic CBOR; the inner stays stock | helps PreKey welcomes only; updates and re-adds are not helped | +| **(c)** own serde structs converting to and from the crate's types | not built | — | — | — | — | — | — | not constructible as specified: `TwoPartyMessage` and `TwoPartyPlaintext` have private fields and no constructor (`two_party.rs:225-228, 242-255`; construction only inside `two_party.rs:161, 171`); `X3dhCiphertext` and `HpkeCiphertext` have public fields, but their `Vec` fields cannot be read from bytes by the crate's deserializer (E2). What would have to change: a crate change (public constructors or `serde_bytes` on the fields, which is option (b)), or a conversion on the encoded form, which is (c') | +| **(c')** transcoder on the encoded welcome, no crate change | 76.9 (outer-only equivalent) | 77.4 KB (77,402 to 77,441) | 375 to 383 (no change) | 76.9 (no change) | about 40 lines for `to_wire`, `from_wire` and `navigate` (`src/main.rs`); tests are not written yet | low for the crate itself, since no fork; coupled to field and variant names (`Welcome`, `PreKey`, `ciphertext`), so a rename breaks it unless golden tests cover it | the wire form is standard CBOR; `from_wire` gives back stock bytes, which the stock decoder reads (E7) | works only on the PreKey welcome; the inner layer is inside the AEAD, so the ceiling is about 1.9 times; must be applied on send and on receive; signed bytes must be taken before transcoding | +| **(d)** own compact welcome | not built; floor about 40 (inferred: bundle CBOR per secret) | about 40.5 KB at best, a gain of at most about 15% per epoch from dropping timestamp bytes | not measured | not measured | 300 or more, plus crypto review (inferred) | highest: replaces the 2SM welcome | none | the bundle is encrypted inside `TwoParty::send` (`two_party.rs:153-171`), so reaching it needs a fork as well; a new transport on the public `x3dh_encrypt` (`x3dh.rs:48`) is custom cryptography; the fixed part, about 450 bytes per welcome, is only 1% at K = 1000 | +| **(e)** compress the welcome | about 78 (bzip2), 86 (xz, brotli), 95 (zstd), 100 (gzip) on stock bytes | 78.3 KB (bzip2) | 367 (brotli, stock) and 329 (brotli, v1): about 4% | derived from the same data, not measured separately | 1 library call plus a size cap | none | breaks stock decoders, so it needs a version tag anyway | decompression bombs (cap the output size); CPU; compressing secret-bearing data can leak if attacker-chosen text shares the context (not the case for random keys, but a policy point); compressor output is not stable across versions, so signed bytes must not be recompressed; on v1 bytes the gain is zero (+4 to +534 bytes) | +| **(f)** version tag | none (tag only) | +5 B (array) or +12 B (map) on 40.5 KB | +1 to 2 B (event header) | — | 10 to 30 lines | none | the tag sits outside the crate's payload, so the crate does not change | a tag without the policy check is a downgrade hole; placement in the table below | + +Other measured points: the joiner welcome's fixed part is 450 bytes for v1 and about 600 bytes for stock (intercept). At K = 1 the v1 welcome is 529 bytes and the stock welcome is 879 bytes. + +### (f) Where the scheme version goes + +| Location | Cost per message | Who reads it, and when | Detection and negotiation | Downgrade protection | Verdict | +|---|---|---|---|---|---| +| Event header (in the signed body) | 1 byte plus a key, about 2 bytes | every receiver, before decoding the payload | the tag must equal the scheme of the epoch the event names, looked up in the policy; no negotiation, since senders use the epoch's scheme | yes, because the tag is signed | use, as a checked copy | +| Welcome envelope (our wrapper around the crate's direct message) | 5 bytes (array) or 12 bytes (map) | the joiner, before calling the crate; the joiner has no group state yet | read the tag first; reject unknown tags with a named error, not a CBOR error; check against the scheme in the signed add event or the policy | only with the policy check | use, as a checked copy | +| Group state (signed policy; `DcgkaState` is persisted, `dcgka.rs:31-33`) | 0 bytes per message | every member, from the signed policy | the policy names the scheme for each epoch; a manage operation changes it and starts a new epoch (task-05 item 6); key bundles advertise supported schemes, so the admin refuses to add a bundle that does not advertise the group's scheme | yes, because the policy is signed | the authority | + +The three together match task-05 item 6: the policy is the authority, and the other two are checked copies that let a receiver pick a decoder without trial decoding. + +--- + +## Recommendation + +**Choose option (b):** the crate fork with `serde_bytes` on `TwoPartyPlaintext.plaintext` (`two_party.rs:244`) and `X3dhCiphertext.ciphertext` (`x3dh.rs:41`), named DataScheme scheme v1 from the first release, with the version as in the table above. + +Why this custom one is the best: + +1. It is the only option that reaches the floor. Joiner welcomes drop from 146.5 to 40.00 bytes per epoch (3.66 times), and a 1,000-rotation joiner gets 40.5 KB instead of 147.3 KB. The floor is the bundle's own CBOR, 40 bytes per secret, so nothing better is possible without changing what the crate puts in the bundle. +2. It costs two lines in a crate we already fork for `from_join` (N9). The membership fix and `add_from_join` are needed anyway, so the marginal cost is the two attributes and the tests. +3. It is the crate's own convention. `Secret`, `PublicKey`, `XSignature` and `HpkeCiphertext` already use `serde_bytes`. The two unannotated fields are the exception, so an upstream fix would most likely produce the same bytes. +4. Nothing has shipped, so the compatibility argument for stock does not apply. N10's "migration window" does not exist yet. The stock option's only real benefit is interoperability with stock decoders, and we have none. +5. The costs are real and should stay visible: + - it is incompatible with stock in both directions (E7), so every node must run the fork; + - the update path gains only about 10% (383 to 344 bytes per recipient). Updates still send one message per member, so about 380 KB per update at 1,000 members (inferred from the per-recipient size). The design already records O(n) messages per removal (design doc `2026-10-11T03-44-33Z_design_groups_events_delegation`, line 355), and `serde_bytes` does not change that; + - the version tag and determinism fixes below are required. + +Why not the others: (c') gets only half and only for joiners, so it is the fallback if the owner refuses any crate patch. (d) is custom cryptography for at most about 15%. (e) is not a substitute: on stock bytes it still leaves about 78 KB, and on v1 it does nothing. + +### Versioning scheme + +- **Name:** `datascheme/1` = p2panda-encryption at `3e84cac` with the two annotations. The S12 membership and `from_join` changes are a separate patch set in the same fork. Nothing is `datascheme/0` in production; the stock layout is kept only as a reference. +- **Policy:** the signed group policy carries the scheme id. A manage operation changes it and starts a new epoch (task-05 item 6). +- **Event header:** the scheme id, inside the signed body. The receiver checks it against the epoch's scheme before decoding the payload. A mismatch is rejected (the task-05 downgrade test). +- **Welcome envelope:** `{v: 1, body: bstr}` (+5 bytes in array form). The joiner checks `v` against the scheme in the signed add event or the policy. An unknown `v` gets a named error. +- **Negotiation:** key bundles advertise supported schemes. The admin refuses to add a bundle that does not advertise the group's scheme, so an undecodable welcome is never produced. +- **Determinism (recommended, not measured):** sort the secrets in `SecretBundleState::serialize` by timestamp, then id (`group_secret.rs:174-186`, about 3 lines), and use ordered collections in our DGM. The stock bytes are not a function of the logical state (E7, the K = 1 re-encode). +- **Strict decoding for signed bytes:** `decode_cbor_strict` (`cbor.rs:47`), not `decode_cbor` (lenient, `cbor.rs:33-36`). +- **Tests:** golden vectors for a v1 welcome and a v1 update message; a dependency check that the lock contains one copy of p2panda-encryption (`cargo tree -d`); a test that a stock-encoded message is rejected with the version error, not a CBOR error. +- **Tolerant reader (plan B, not built):** a serde untagged enum over `ByteBuf` and `Vec` reads both forms (verified on a standalone type: `EitherForm` read both encodings in the serde read check). It would have to be applied to the crate's fields in the fork. It is not needed while nothing has shipped. + +### What would change the recommendation + +- The owner will not carry any crate patch: choose (c'), which gives 76.9 bytes per epoch for joiners and no change elsewhere. The prototype is about 40 lines; it needs tests and golden vectors before use. +- Upstream changes the layout of these structs, not just the encoding: re-evaluate. The golden vectors would catch it. +- A stock-crate peer must read our welcomes: option (a) with `recent:N`. S12 measured 5.3 KB at N = 32 for stock. +- Product IDs or larger groups change the picture: the welcome's `history` grows with members (S12 did not measure this), and the update cost is O(n). +- The `full` default: under v1 a joiner welcome at 1,000 rotations is 40.5 KB. `recent:32` is 1.7 KB under v1 (S12). That is the owner's decision in task-05, not mine. + +--- + +## Not verified + +1. **Processing of the v1 welcome by the joiner, and full-group runs.** Bob and Carol never process messages; the joiner check from S12 is not repeated for v1 or for the transcoded form. +2. **Single-annotation builds past the direct-message level.** The inner-only and outer-only builds were checked only at the direct-message level; whether the inner decode would fail after decryption is inferred. +3. **The tolerant reader inside the crate.** Shown only on a standalone untagged enum, not on the crate's fields. +4. **Determinism of v1 bytes.** The bundle and history order were not checked for v1; the sort fix is recommended, not tested. +5. **Product IDs and group sizes.** The harness uses the test `MemberId` (small integers). Product IDs as `VerifyingKey` are byte strings (E2), but the sizes were not measured with them. Groups above three members were not measured; the update message size is assumed independent of n (inferred). +6. **K above 1,000, other churn patterns, and timing.** Not measured this round. +7. **The crates.io 0.7.1 tarball differs from the pinned checkout** in `dcgka.rs`, `key_bundle/lifetime.rs`, `key_bundle/prekey.rs` and `traits/dgm.rs` (`diff -rq`, this session). I did not check whether any of these changes the wire layout. The pin is `3e84cac`, so the analysis uses it. +8. **Upstream state.** I did not check upstream issues or releases this round (no web fetch). task-11 says no issue covers the two `Vec` fields. +9. **Other repositories.** Only `/home/user/code` was searched for `p2panda-encryption`. `p2panda-spaces` was not checked for how it depends on the crate. +10. **Lenient and strict decoding for the transcoder.** Not tested with non-canonical input. +11. **Compression beyond the seed-1 dumps.** The derived per-epoch figures come from two points (K = 1 and K = 1000). +12. **Byte equivalence of (c') and the outer-only build.** Shown by equal sizes in three seeds, not by equal bytes (separate processes). +13. **Re-encoding determinism of stock.** The cause (hash order) is inferred; I did not isolate it. diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/scheme-serde/logs/compress.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/scheme-serde/logs/compress.txt new file mode 100644 index 0000000000..8cdeb24d70 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/scheme-serde/logs/compress.txt @@ -0,0 +1,9 @@ +stock-s1-welcome-k1.bin raw=879 zstd19=730 xz9e=784 gzip9=775 bzip2_9=838 brotli11=665 +stock-s1-welcome-k1000.bin raw=147277 zstd19=95594 xz9e=86528 gzip9=100591 bzip2_9=78344 brotli11=86562 +both-s1-welcome-k1.bin raw=529 zstd19=517 xz9e=572 gzip9=549 bzip2_9=642 brotli11=484 +both-s1-welcome-k1000.bin raw=40493 zstd19=40507 xz9e=40564 gzip9=40547 bzip2_9=41027 brotli11=40497 +transcoded-outer-s1-welcome-k1000.bin raw=77441 zstd19=77457 xz9e=77512 gzip9=77512 bzip2_9=78130 brotli11=77446 +stock-s1-update-dm-k1000.bin raw=383 zstd19=385 xz9e=448 gzip9=428 bzip2_9=519 brotli11=367 +both-s1-update-dm-k1000.bin raw=344 zstd19=346 xz9e=408 gzip9=385 bzip2_9=475 brotli11=329 +stock-s1-readd-k1000.bin raw=77407 zstd19=77423 xz9e=77480 gzip9=77465 bzip2_9=78106 brotli11=77412 +both-s1-readd-k1000.bin raw=40424 zstd19=40438 xz9e=40492 gzip9=40476 bzip2_9=40953 brotli11=40428 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/scheme-serde/logs/run-all.stderr b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/scheme-serde/logs/run-all.stderr new file mode 100644 index 0000000000..e69de29bb2 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/scheme-serde/logs/run-all.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/scheme-serde/logs/run-all.txt new file mode 100644 index 0000000000..00a5b8ae66 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/scheme-serde/logs/run-all.txt @@ -0,0 +1,310 @@ +## serde read check (one byte field, 4 bytes) +Vec encodes to [84, 01, 02, 03, 18, c8] (6 B) +serde_bytes encodes to [44, 01, 02, 03, c8] (5 B) +read Vec from the array form: ok [1, 2, 3, 200] +read Vec from the byte-string form: err: expected array, got Bytes +read ByteBuf from the array form: err: incompatible CBOR type Array +read ByteBuf from the byte-string form: ok [1, 2, 3, 200] +read EitherForm from the array form: ok Bytes([1, 2, 3, 200]) +read EitherForm from the byte-string form: ok Bytes([1, 2, 3, 200]) + +## build: stock, seed 1 +| K | secrets | welcome B (PreKey, full) | update DM to Bob B (HPKE, 1 secret) | re-add welcome B (HPKE, full) | +|---|---|---|---|---| +| 0 | 1 | 737 | 379 | 490 | +| 1 | 2 | 879 | 379 | 567 | +| 2 | 3 | 1028 | 380 | 645 | +| 5 | 6 | 1458 | 379 | 877 | +| 10 | 11 | 2208 | 377 | 1260 | +| 50 | 51 | 8104 | 379 | 4345 | +| 100 | 101 | 15411 | 381 | 8194 | +| 250 | 251 | 37408 | 377 | 19708 | +| 500 | 501 | 73968 | 381 | 38918 | +| 750 | 751 | 110646 | 381 | 58159 | +| 1000 | 1001 | 147277 | 383 | 77407 | +fit welcome = a + b*secrets over 11 samples: b = 146.53 B/secret, a = 597.8 B, max residual = 40.2 B +fit re-add = a + b*secrets: b = 76.90 B/secret, a = 414.3 B +update DM to Bob over all samples: min 377 B, max 383 B + +## build: both, seed 1 +| K | secrets | welcome B (PreKey, full) | update DM to Bob B (HPKE, 1 secret) | re-add welcome B (HPKE, full) | +|---|---|---|---|---| +| 0 | 1 | 489 | 342 | 418 | +| 1 | 2 | 529 | 342 | 459 | +| 2 | 3 | 570 | 342 | 499 | +| 5 | 6 | 690 | 342 | 620 | +| 10 | 11 | 891 | 342 | 820 | +| 50 | 51 | 2492 | 343 | 2422 | +| 100 | 101 | 4492 | 343 | 4422 | +| 250 | 251 | 10492 | 343 | 10422 | +| 500 | 501 | 20493 | 344 | 20424 | +| 750 | 751 | 30493 | 344 | 30424 | +| 1000 | 1001 | 40493 | 344 | 40424 | +fit welcome = a + b*secrets over 11 samples: b = 40.00 B/secret, a = 450.5 B, max residual = 1.5 B +fit re-add = a + b*secrets: b = 40.01 B/secret, a = 380.0 B +update DM to Bob over all samples: min 342 B, max 344 B + +## build: inner, seed 1 +| K | secrets | welcome B (PreKey, full) | update DM to Bob B (HPKE, 1 secret) | re-add welcome B (HPKE, full) | +|---|---|---|---|---| +| 0 | 1 | 677 | 342 | 418 | +| 1 | 2 | 734 | 342 | 459 | +| 2 | 3 | 809 | 342 | 499 | +| 5 | 6 | 1047 | 342 | 620 | +| 10 | 11 | 1450 | 342 | 820 | +| 50 | 51 | 4510 | 343 | 2422 | +| 100 | 101 | 8321 | 343 | 4422 | +| 250 | 251 | 19713 | 343 | 10422 | +| 500 | 501 | 38787 | 344 | 20424 | +| 750 | 751 | 57794 | 344 | 30424 | +| 1000 | 1001 | 76953 | 344 | 40424 | +fit welcome = a + b*secrets over 11 samples: b = 76.24 B/secret, a = 596.2 B, max residual = 55.6 B +fit re-add = a + b*secrets: b = 40.01 B/secret, a = 380.0 B +update DM to Bob over all samples: min 342 B, max 344 B + +## build: outer, seed 1 +| K | secrets | welcome B (PreKey, full) | update DM to Bob B (HPKE, 1 secret) | re-add welcome B (HPKE, full) | +|---|---|---|---|---| +| 0 | 1 | 522 | 379 | 490 | +| 1 | 2 | 601 | 379 | 567 | +| 2 | 3 | 678 | 380 | 645 | +| 5 | 6 | 908 | 379 | 877 | +| 10 | 11 | 1295 | 377 | 1260 | +| 50 | 51 | 4380 | 379 | 4345 | +| 100 | 101 | 8225 | 381 | 8194 | +| 250 | 251 | 19743 | 377 | 19708 | +| 500 | 501 | 38951 | 381 | 38918 | +| 750 | 751 | 58191 | 381 | 58159 | +| 1000 | 1001 | 77441 | 383 | 77407 | +fit welcome = a + b*secrets over 11 samples: b = 76.90 B/secret, a = 447.4 B, max residual = 23.0 B +fit re-add = a + b*secrets: b = 76.90 B/secret, a = 414.3 B +update DM to Bob over all samples: min 377 B, max 383 B + +## cross-decode, seed 1 (decode_cbor of the whole direct message; the inner layer is inside the AEAD and is not read) +stock K=1 welcome read by both: Err("incompatible CBOR type Array") +both K=1 welcome read by stock: Err("expected array, got Bytes") +stock K=1 welcome read by inner: Ok(()) +stock K=1 welcome read by outer: Err("incompatible CBOR type Array") +inner K=1 welcome read by stock: Ok(()) +outer K=1 welcome read by stock: Err("expected array, got Bytes") +stock re-add welcome read by both: Ok(()) +both re-add welcome read by stock: Ok(()) +stock K=1000 bytes are canonical (decode then encode is identity): true +stock K=1 welcome: stock build re-encodes it byte-exact: false +stock K=1 welcome: Value decode then encode is identity: true +outer K=1 welcome (outer layout, not transcoded): outer build re-encodes it byte-exact: false +both K=1 welcome: both build re-encodes it byte-exact: false +## transcoder: stock PreKey welcome to the outer-only layout (seed 1) +K=1: stock 879 B -> wire 601 B +K=1: from_wire(to_wire(x)) == x: true +K=1: stock reads the round trip: Ok(()) +K=1: outer build reads the wire form: Ok(()) +K=1: outer build re-encodes the wire form byte-exact: false +K=1000: stock 147277 B -> wire 77441 B +K=1000: from_wire(to_wire(x)) == x: true +K=1000: stock reads the round trip: Ok(()) +K=1000: outer build reads the wire form: Ok(()) +K=1000: outer build re-encodes the wire form byte-exact: false +K=1000: version tag overhead on the wire form: array (version, body) +7 B, map {v, body} +14 B +both K=1000 welcome 40493 B: version tag overhead: array +5 B, map +12 B + +## build: stock, seed 2 +| K | secrets | welcome B (PreKey, full) | update DM to Bob B (HPKE, 1 secret) | re-add welcome B (HPKE, full) | +|---|---|---|---|---| +| 0 | 1 | 744 | 379 | 498 | +| 1 | 2 | 893 | 375 | 569 | +| 2 | 3 | 1041 | 378 | 647 | +| 5 | 6 | 1491 | 376 | 886 | +| 10 | 11 | 2220 | 381 | 1271 | +| 50 | 51 | 8093 | 379 | 4355 | +| 100 | 101 | 15426 | 380 | 8210 | +| 250 | 251 | 37310 | 380 | 19718 | +| 500 | 501 | 73994 | 382 | 38933 | +| 750 | 751 | 110525 | 383 | 58169 | +| 1000 | 1001 | 147261 | 382 | 77369 | +fit welcome = a + b*secrets over 11 samples: b = 146.46 B/secret, a = 603.3 B, max residual = 68.4 B +fit re-add = a + b*secrets: b = 76.87 B/secret, a = 425.5 B +update DM to Bob over all samples: min 375 B, max 383 B + +## build: both, seed 2 +| K | secrets | welcome B (PreKey, full) | update DM to Bob B (HPKE, 1 secret) | re-add welcome B (HPKE, full) | +|---|---|---|---|---| +| 0 | 1 | 489 | 342 | 418 | +| 1 | 2 | 529 | 342 | 459 | +| 2 | 3 | 570 | 342 | 499 | +| 5 | 6 | 690 | 342 | 620 | +| 10 | 11 | 891 | 342 | 820 | +| 50 | 51 | 2492 | 343 | 2422 | +| 100 | 101 | 4492 | 343 | 4422 | +| 250 | 251 | 10492 | 343 | 10422 | +| 500 | 501 | 20493 | 344 | 20424 | +| 750 | 751 | 30493 | 344 | 30424 | +| 1000 | 1001 | 40493 | 344 | 40424 | +fit welcome = a + b*secrets over 11 samples: b = 40.00 B/secret, a = 450.5 B, max residual = 1.5 B +fit re-add = a + b*secrets: b = 40.01 B/secret, a = 380.0 B +update DM to Bob over all samples: min 342 B, max 344 B + +## build: inner, seed 2 +| K | secrets | welcome B (PreKey, full) | update DM to Bob B (HPKE, 1 secret) | re-add welcome B (HPKE, full) | +|---|---|---|---|---| +| 0 | 1 | 677 | 342 | 418 | +| 1 | 2 | 748 | 342 | 459 | +| 2 | 3 | 830 | 342 | 499 | +| 5 | 6 | 1053 | 342 | 620 | +| 10 | 11 | 1452 | 342 | 820 | +| 50 | 51 | 4484 | 343 | 2422 | +| 100 | 101 | 8288 | 343 | 4422 | +| 250 | 251 | 19767 | 343 | 10422 | +| 500 | 501 | 38817 | 344 | 20424 | +| 750 | 751 | 57846 | 344 | 30424 | +| 1000 | 1001 | 76939 | 344 | 40424 | +fit welcome = a + b*secrets over 11 samples: b = 76.26 B/secret, a = 601.2 B, max residual = 25.7 B +fit re-add = a + b*secrets: b = 40.01 B/secret, a = 380.0 B +update DM to Bob over all samples: min 342 B, max 344 B + +## build: outer, seed 2 +| K | secrets | welcome B (PreKey, full) | update DM to Bob B (HPKE, 1 secret) | re-add welcome B (HPKE, full) | +|---|---|---|---|---| +| 0 | 1 | 528 | 379 | 498 | +| 1 | 2 | 605 | 375 | 569 | +| 2 | 3 | 682 | 378 | 647 | +| 5 | 6 | 916 | 376 | 886 | +| 10 | 11 | 1302 | 381 | 1271 | +| 50 | 51 | 4386 | 379 | 4355 | +| 100 | 101 | 8241 | 380 | 8210 | +| 250 | 251 | 19750 | 380 | 19718 | +| 500 | 501 | 38964 | 382 | 38933 | +| 750 | 751 | 58199 | 383 | 58169 | +| 1000 | 1001 | 77402 | 382 | 77369 | +fit welcome = a + b*secrets over 11 samples: b = 76.87 B/secret, a = 457.4 B, max residual = 19.4 B +fit re-add = a + b*secrets: b = 76.87 B/secret, a = 425.5 B +update DM to Bob over all samples: min 375 B, max 383 B + +## cross-decode, seed 2 (decode_cbor of the whole direct message; the inner layer is inside the AEAD and is not read) +stock K=1 welcome read by both: Err("incompatible CBOR type Array") +both K=1 welcome read by stock: Err("expected array, got Bytes") +stock K=1 welcome read by inner: Ok(()) +stock K=1 welcome read by outer: Err("incompatible CBOR type Array") +inner K=1 welcome read by stock: Ok(()) +outer K=1 welcome read by stock: Err("expected array, got Bytes") +stock re-add welcome read by both: Ok(()) +both re-add welcome read by stock: Ok(()) +stock K=1000 bytes are canonical (decode then encode is identity): true +stock K=1 welcome: stock build re-encodes it byte-exact: true +stock K=1 welcome: Value decode then encode is identity: true +outer K=1 welcome (outer layout, not transcoded): outer build re-encodes it byte-exact: false +both K=1 welcome: both build re-encodes it byte-exact: false +## transcoder: stock PreKey welcome to the outer-only layout (seed 2) +K=1: stock 893 B -> wire 605 B +K=1: from_wire(to_wire(x)) == x: true +K=1: stock reads the round trip: Ok(()) +K=1: outer build reads the wire form: Ok(()) +K=1: outer build re-encodes the wire form byte-exact: false +K=1000: stock 147261 B -> wire 77402 B +K=1000: from_wire(to_wire(x)) == x: true +K=1000: stock reads the round trip: Ok(()) +K=1000: outer build reads the wire form: Ok(()) +K=1000: outer build re-encodes the wire form byte-exact: false +K=1000: version tag overhead on the wire form: array (version, body) +7 B, map {v, body} +14 B +both K=1000 welcome 40493 B: version tag overhead: array +5 B, map +12 B + +## build: stock, seed 3 +| K | secrets | welcome B (PreKey, full) | update DM to Bob B (HPKE, 1 secret) | re-add welcome B (HPKE, full) | +|---|---|---|---|---| +| 0 | 1 | 735 | 379 | 493 | +| 1 | 2 | 888 | 382 | 564 | +| 2 | 3 | 1015 | 381 | 643 | +| 5 | 6 | 1476 | 382 | 878 | +| 10 | 11 | 2215 | 378 | 1260 | +| 50 | 51 | 8078 | 383 | 4349 | +| 100 | 101 | 15422 | 381 | 8208 | +| 250 | 251 | 37408 | 378 | 19704 | +| 500 | 501 | 73960 | 380 | 38908 | +| 750 | 751 | 110594 | 382 | 58125 | +| 1000 | 1001 | 147252 | 379 | 77381 | +fit welcome = a + b*secrets over 11 samples: b = 146.49 B/secret, a = 600.0 B, max residual = 39.4 B +fit re-add = a + b*secrets: b = 76.87 B/secret, a = 417.3 B +update DM to Bob over all samples: min 378 B, max 383 B + +## build: both, seed 3 +| K | secrets | welcome B (PreKey, full) | update DM to Bob B (HPKE, 1 secret) | re-add welcome B (HPKE, full) | +|---|---|---|---|---| +| 0 | 1 | 489 | 342 | 418 | +| 1 | 2 | 529 | 342 | 459 | +| 2 | 3 | 570 | 342 | 499 | +| 5 | 6 | 690 | 342 | 620 | +| 10 | 11 | 891 | 342 | 820 | +| 50 | 51 | 2492 | 343 | 2422 | +| 100 | 101 | 4492 | 343 | 4422 | +| 250 | 251 | 10492 | 343 | 10422 | +| 500 | 501 | 20493 | 344 | 20424 | +| 750 | 751 | 30493 | 344 | 30424 | +| 1000 | 1001 | 40493 | 344 | 40424 | +fit welcome = a + b*secrets over 11 samples: b = 40.00 B/secret, a = 450.5 B, max residual = 1.5 B +fit re-add = a + b*secrets: b = 40.01 B/secret, a = 380.0 B +update DM to Bob over all samples: min 342 B, max 344 B + +## build: inner, seed 3 +| K | secrets | welcome B (PreKey, full) | update DM to Bob B (HPKE, 1 secret) | re-add welcome B (HPKE, full) | +|---|---|---|---|---| +| 0 | 1 | 671 | 342 | 418 | +| 1 | 2 | 744 | 342 | 459 | +| 2 | 3 | 827 | 342 | 499 | +| 5 | 6 | 1059 | 342 | 620 | +| 10 | 11 | 1437 | 342 | 820 | +| 50 | 51 | 4514 | 343 | 2422 | +| 100 | 101 | 8270 | 343 | 4422 | +| 250 | 251 | 19747 | 343 | 10422 | +| 500 | 501 | 38838 | 344 | 20424 | +| 750 | 751 | 57817 | 344 | 30424 | +| 1000 | 1001 | 76965 | 344 | 40424 | +fit welcome = a + b*secrets over 11 samples: b = 76.26 B/secret, a = 597.7 B, max residual = 55.7 B +fit re-add = a + b*secrets: b = 40.01 B/secret, a = 380.0 B +update DM to Bob over all samples: min 342 B, max 344 B + +## build: outer, seed 3 +| K | secrets | welcome B (PreKey, full) | update DM to Bob B (HPKE, 1 secret) | re-add welcome B (HPKE, full) | +|---|---|---|---|---| +| 0 | 1 | 524 | 379 | 493 | +| 1 | 2 | 598 | 382 | 564 | +| 2 | 3 | 675 | 381 | 643 | +| 5 | 6 | 909 | 382 | 878 | +| 10 | 11 | 1294 | 378 | 1260 | +| 50 | 51 | 4382 | 383 | 4349 | +| 100 | 101 | 8239 | 381 | 8208 | +| 250 | 251 | 19740 | 378 | 19704 | +| 500 | 501 | 38941 | 380 | 38908 | +| 750 | 751 | 58157 | 382 | 58125 | +| 1000 | 1001 | 77411 | 379 | 77381 | +fit welcome = a + b*secrets over 11 samples: b = 76.86 B/secret, a = 450.1 B, max residual = 25.6 B +fit re-add = a + b*secrets: b = 76.87 B/secret, a = 417.3 B +update DM to Bob over all samples: min 378 B, max 383 B + +## cross-decode, seed 3 (decode_cbor of the whole direct message; the inner layer is inside the AEAD and is not read) +stock K=1 welcome read by both: Err("incompatible CBOR type Array") +both K=1 welcome read by stock: Err("expected array, got Bytes") +stock K=1 welcome read by inner: Ok(()) +stock K=1 welcome read by outer: Err("incompatible CBOR type Array") +inner K=1 welcome read by stock: Ok(()) +outer K=1 welcome read by stock: Err("expected array, got Bytes") +stock re-add welcome read by both: Ok(()) +both re-add welcome read by stock: Ok(()) +stock K=1000 bytes are canonical (decode then encode is identity): true +stock K=1 welcome: stock build re-encodes it byte-exact: true +stock K=1 welcome: Value decode then encode is identity: true +outer K=1 welcome (outer layout, not transcoded): outer build re-encodes it byte-exact: false +both K=1 welcome: both build re-encodes it byte-exact: false +## transcoder: stock PreKey welcome to the outer-only layout (seed 3) +K=1: stock 888 B -> wire 598 B +K=1: from_wire(to_wire(x)) == x: true +K=1: stock reads the round trip: Ok(()) +K=1: outer build reads the wire form: Ok(()) +K=1: outer build re-encodes the wire form byte-exact: true +K=1000: stock 147252 B -> wire 77411 B +K=1000: from_wire(to_wire(x)) == x: true +K=1000: stock reads the round trip: Ok(()) +K=1000: outer build reads the wire form: Ok(()) +K=1000: outer build re-encodes the wire form byte-exact: false +K=1000: version tag overhead on the wire form: array (version, body) +7 B, map {v, body} +14 B +both K=1000 welcome 40493 B: version tag overhead: array +5 B, map +12 B + diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/scheme-serde/logs/summary.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/scheme-serde/logs/summary.txt new file mode 100644 index 0000000000..ad97aaf411 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/scheme-serde/logs/summary.txt @@ -0,0 +1,147 @@ +# summary of logs/run-all.txt (final run, 3 seeds) +## build: stock, seed 1 | fit welcome = a + b*secrets over 11 samples: b = 146.53 B/secret, a = 597.8 B, max residual = 40.2 B +## build: stock, seed 1 | fit re-add = a + b*secrets: b = 76.90 B/secret, a = 414.3 B +## build: stock, seed 1 | update DM to Bob over all samples: min 377 B, max 383 B +## build: both, seed 1 | fit welcome = a + b*secrets over 11 samples: b = 40.00 B/secret, a = 450.5 B, max residual = 1.5 B +## build: both, seed 1 | fit re-add = a + b*secrets: b = 40.01 B/secret, a = 380.0 B +## build: both, seed 1 | update DM to Bob over all samples: min 342 B, max 344 B +## build: inner, seed 1 | fit welcome = a + b*secrets over 11 samples: b = 76.24 B/secret, a = 596.2 B, max residual = 55.6 B +## build: inner, seed 1 | fit re-add = a + b*secrets: b = 40.01 B/secret, a = 380.0 B +## build: inner, seed 1 | update DM to Bob over all samples: min 342 B, max 344 B +## build: outer, seed 1 | fit welcome = a + b*secrets over 11 samples: b = 76.90 B/secret, a = 447.4 B, max residual = 23.0 B +## build: outer, seed 1 | fit re-add = a + b*secrets: b = 76.90 B/secret, a = 414.3 B +## build: outer, seed 1 | update DM to Bob over all samples: min 377 B, max 383 B +## build: stock, seed 2 | fit welcome = a + b*secrets over 11 samples: b = 146.46 B/secret, a = 603.3 B, max residual = 68.4 B +## build: stock, seed 2 | fit re-add = a + b*secrets: b = 76.87 B/secret, a = 425.5 B +## build: stock, seed 2 | update DM to Bob over all samples: min 375 B, max 383 B +## build: both, seed 2 | fit welcome = a + b*secrets over 11 samples: b = 40.00 B/secret, a = 450.5 B, max residual = 1.5 B +## build: both, seed 2 | fit re-add = a + b*secrets: b = 40.01 B/secret, a = 380.0 B +## build: both, seed 2 | update DM to Bob over all samples: min 342 B, max 344 B +## build: inner, seed 2 | fit welcome = a + b*secrets over 11 samples: b = 76.26 B/secret, a = 601.2 B, max residual = 25.7 B +## build: inner, seed 2 | fit re-add = a + b*secrets: b = 40.01 B/secret, a = 380.0 B +## build: inner, seed 2 | update DM to Bob over all samples: min 342 B, max 344 B +## build: outer, seed 2 | fit welcome = a + b*secrets over 11 samples: b = 76.87 B/secret, a = 457.4 B, max residual = 19.4 B +## build: outer, seed 2 | fit re-add = a + b*secrets: b = 76.87 B/secret, a = 425.5 B +## build: outer, seed 2 | update DM to Bob over all samples: min 375 B, max 383 B +## build: stock, seed 3 | fit welcome = a + b*secrets over 11 samples: b = 146.49 B/secret, a = 600.0 B, max residual = 39.4 B +## build: stock, seed 3 | fit re-add = a + b*secrets: b = 76.87 B/secret, a = 417.3 B +## build: stock, seed 3 | update DM to Bob over all samples: min 378 B, max 383 B +## build: both, seed 3 | fit welcome = a + b*secrets over 11 samples: b = 40.00 B/secret, a = 450.5 B, max residual = 1.5 B +## build: both, seed 3 | fit re-add = a + b*secrets: b = 40.01 B/secret, a = 380.0 B +## build: both, seed 3 | update DM to Bob over all samples: min 342 B, max 344 B +## build: inner, seed 3 | fit welcome = a + b*secrets over 11 samples: b = 76.26 B/secret, a = 597.7 B, max residual = 55.7 B +## build: inner, seed 3 | fit re-add = a + b*secrets: b = 40.01 B/secret, a = 380.0 B +## build: inner, seed 3 | update DM to Bob over all samples: min 342 B, max 344 B +## build: outer, seed 3 | fit welcome = a + b*secrets over 11 samples: b = 76.86 B/secret, a = 450.1 B, max residual = 25.6 B +## build: outer, seed 3 | fit re-add = a + b*secrets: b = 76.87 B/secret, a = 417.3 B +## build: outer, seed 3 | update DM to Bob over all samples: min 378 B, max 383 B + +14:| 0 | 1 | 737 | 379 | 490 | +18:| 10 | 11 | 2208 | 377 | 1260 | +24:| 1000 | 1001 | 147277 | 383 | 77407 | +32:| 0 | 1 | 489 | 342 | 418 | +36:| 10 | 11 | 891 | 342 | 820 | +42:| 1000 | 1001 | 40493 | 344 | 40424 | +50:| 0 | 1 | 677 | 342 | 418 | +54:| 10 | 11 | 1450 | 342 | 820 | +60:| 1000 | 1001 | 76953 | 344 | 40424 | +68:| 0 | 1 | 522 | 379 | 490 | +72:| 10 | 11 | 1295 | 377 | 1260 | +78:| 1000 | 1001 | 77441 | 383 | 77407 | +114:| 0 | 1 | 744 | 379 | 498 | +118:| 10 | 11 | 2220 | 381 | 1271 | +124:| 1000 | 1001 | 147261 | 382 | 77369 | +132:| 0 | 1 | 489 | 342 | 418 | +136:| 10 | 11 | 891 | 342 | 820 | +142:| 1000 | 1001 | 40493 | 344 | 40424 | +150:| 0 | 1 | 677 | 342 | 418 | +154:| 10 | 11 | 1452 | 342 | 820 | +160:| 1000 | 1001 | 76939 | 344 | 40424 | +168:| 0 | 1 | 528 | 379 | 498 | +172:| 10 | 11 | 1302 | 381 | 1271 | +178:| 1000 | 1001 | 77402 | 382 | 77369 | +214:| 0 | 1 | 735 | 379 | 493 | +218:| 10 | 11 | 2215 | 378 | 1260 | +224:| 1000 | 1001 | 147252 | 379 | 77381 | +232:| 0 | 1 | 489 | 342 | 418 | +236:| 10 | 11 | 891 | 342 | 820 | +242:| 1000 | 1001 | 40493 | 344 | 40424 | +250:| 0 | 1 | 671 | 342 | 418 | +254:| 10 | 11 | 1437 | 342 | 820 | +260:| 1000 | 1001 | 76965 | 344 | 40424 | +268:| 0 | 1 | 524 | 379 | 493 | +272:| 10 | 11 | 1294 | 378 | 1260 | +278:| 1000 | 1001 | 77411 | 379 | 77381 | + +84:stock K=1 welcome read by both: Err("incompatible CBOR type Array") +85:both K=1 welcome read by stock: Err("expected array, got Bytes") +86:stock K=1 welcome read by inner: Ok(()) +87:stock K=1 welcome read by outer: Err("incompatible CBOR type Array") +88:inner K=1 welcome read by stock: Ok(()) +89:outer K=1 welcome read by stock: Err("expected array, got Bytes") +90:stock re-add welcome read by both: Ok(()) +91:both re-add welcome read by stock: Ok(()) +92:stock K=1000 bytes are canonical (decode then encode is identity): true +93:stock K=1 welcome: stock build re-encodes it byte-exact: false +94:stock K=1 welcome: Value decode then encode is identity: true +95:outer K=1 welcome (outer layout, not transcoded): outer build re-encodes it byte-exact: false +96:both K=1 welcome: both build re-encodes it byte-exact: false +98:K=1: stock 879 B -> wire 601 B +99:K=1: from_wire(to_wire(x)) == x: true +100:K=1: stock reads the round trip: Ok(()) +101:K=1: outer build reads the wire form: Ok(()) +102:K=1: outer build re-encodes the wire form byte-exact: false +103:K=1000: stock 147277 B -> wire 77441 B +104:K=1000: from_wire(to_wire(x)) == x: true +105:K=1000: stock reads the round trip: Ok(()) +106:K=1000: outer build reads the wire form: Ok(()) +107:K=1000: outer build re-encodes the wire form byte-exact: false +109:both K=1000 welcome 40493 B: version tag overhead: array +5 B, map +12 B +184:stock K=1 welcome read by both: Err("incompatible CBOR type Array") +185:both K=1 welcome read by stock: Err("expected array, got Bytes") +186:stock K=1 welcome read by inner: Ok(()) +187:stock K=1 welcome read by outer: Err("incompatible CBOR type Array") +188:inner K=1 welcome read by stock: Ok(()) +189:outer K=1 welcome read by stock: Err("expected array, got Bytes") +190:stock re-add welcome read by both: Ok(()) +191:both re-add welcome read by stock: Ok(()) +192:stock K=1000 bytes are canonical (decode then encode is identity): true +193:stock K=1 welcome: stock build re-encodes it byte-exact: true +194:stock K=1 welcome: Value decode then encode is identity: true +195:outer K=1 welcome (outer layout, not transcoded): outer build re-encodes it byte-exact: false +196:both K=1 welcome: both build re-encodes it byte-exact: false +198:K=1: stock 893 B -> wire 605 B +199:K=1: from_wire(to_wire(x)) == x: true +200:K=1: stock reads the round trip: Ok(()) +201:K=1: outer build reads the wire form: Ok(()) +202:K=1: outer build re-encodes the wire form byte-exact: false +203:K=1000: stock 147261 B -> wire 77402 B +204:K=1000: from_wire(to_wire(x)) == x: true +205:K=1000: stock reads the round trip: Ok(()) +206:K=1000: outer build reads the wire form: Ok(()) +207:K=1000: outer build re-encodes the wire form byte-exact: false +209:both K=1000 welcome 40493 B: version tag overhead: array +5 B, map +12 B +284:stock K=1 welcome read by both: Err("incompatible CBOR type Array") +285:both K=1 welcome read by stock: Err("expected array, got Bytes") +286:stock K=1 welcome read by inner: Ok(()) +287:stock K=1 welcome read by outer: Err("incompatible CBOR type Array") +288:inner K=1 welcome read by stock: Ok(()) +289:outer K=1 welcome read by stock: Err("expected array, got Bytes") +290:stock re-add welcome read by both: Ok(()) +291:both re-add welcome read by stock: Ok(()) +292:stock K=1000 bytes are canonical (decode then encode is identity): true +293:stock K=1 welcome: stock build re-encodes it byte-exact: true +294:stock K=1 welcome: Value decode then encode is identity: true +295:outer K=1 welcome (outer layout, not transcoded): outer build re-encodes it byte-exact: false +296:both K=1 welcome: both build re-encodes it byte-exact: false +298:K=1: stock 888 B -> wire 598 B +299:K=1: from_wire(to_wire(x)) == x: true +300:K=1: stock reads the round trip: Ok(()) +301:K=1: outer build reads the wire form: Ok(()) +302:K=1: outer build re-encodes the wire form byte-exact: true +303:K=1000: stock 147252 B -> wire 77411 B +304:K=1000: from_wire(to_wire(x)) == x: true +305:K=1000: stock reads the round trip: Ok(()) +306:K=1000: outer build reads the wire form: Ok(()) +307:K=1000: outer build re-encodes the wire form byte-exact: false +309:both K=1000 welcome 40493 B: version tag overhead: array +5 B, map +12 B diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/scheme-serde/scripts/compress.sh b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/scheme-serde/scripts/compress.sh new file mode 100755 index 0000000000..be8364a6ad --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/scheme-serde/scripts/compress.sh @@ -0,0 +1,11 @@ +#!/bin/sh +# Compression of the seed-1 dumps written by the harness (out/). Prints raw and compressed sizes. +cd "$(dirname "$0")/../out" || exit 1 +for f in stock-s1-welcome-k1.bin stock-s1-welcome-k1000.bin both-s1-welcome-k1.bin both-s1-welcome-k1000.bin \ + transcoded-outer-s1-welcome-k1000.bin stock-s1-update-dm-k1000.bin both-s1-update-dm-k1000.bin \ + stock-s1-readd-k1000.bin both-s1-readd-k1000.bin; do + raw=$(wc -c < "$f") + z=$(zstd -19 -q -c "$f" | wc -c); x=$(xz -9e -c "$f" | wc -c); g=$(gzip -9 -c "$f" | wc -c) + b=$(bzip2 -9 -c "$f" | wc -c); q=$(brotli -q 11 -c "$f" | wc -c) + echo "$f raw=$raw zstd19=$z xz9e=$x gzip9=$g bzip2_9=$b brotli11=$q" +done diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/scheme-serde/src/harness.rs b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/scheme-serde/src/harness.rs new file mode 100644 index 0000000000..9d0cde96ec --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/scheme-serde/src/harness.rs @@ -0,0 +1,246 @@ +// Shared harness for scheme-serde. main.rs includes this file once per build. Before the include, +// the module defines `enc` (the crate under test) and `Dgm` (its test membership). +// +// The scenario and setup are those of S12 (spikes-next/s12-welcome/src/harness.rs): the adder +// creates a group of three, then rotates K times (odd K: update; even K: remove Carol and add her +// back). This copy measures three things at each sample K: +// - the full welcome for a fresh joiner (X3DH path), as in S12; +// - the direct message to Bob for one update (2SM path, one secret, one recipient); +// - the re-add welcome for Carol (HPKE path, full bundle). +// It writes the K=1 and K=1000 bytes to `out/` so that main.rs can cross-decode them and run the +// transcoder and the compression tests. + +use std::fmt::Debug; +use std::fs; +use std::path::Path; + +use p2panda_core::cbor::{decode_cbor, encode_cbor}; + +use enc::data_scheme::dcgka::{ + ControlMessage, Dcgka, DcgkaState, DirectMessage, DirectMessageContent, GroupSecretOutput, + ProcessInput, +}; +use enc::data_scheme::group::{EncryptionGroup, GroupState}; +use enc::data_scheme::group_secret::{SecretBundle, SecretBundleState}; +use enc::data_scheme::test_utils::ordering::{MessageOrderer, TestMessage}; +use enc::key_bundle::Lifetime; +use enc::key_manager::KeyManager; +use enc::key_registry::KeyRegistry; +use enc::test_utils::{MemberId, MessageId}; +use enc::traits::{GroupMessage, Ordering, PreKeyManager, PreKeyRegistry}; + +type Id = MemberId; +type Mid = MessageId; +type Orderer = MessageOrderer; +type Pki = KeyRegistry; +type Kmg = KeyManager; +type Y = GroupState; +type Dcgka0 = DcgkaState; +type Msg = TestMessage; +type Dm = DirectMessage; + +const ADMIN: Id = 0; +const BOB: Id = 1; +const CAROL: Id = 2; +// Joiner for the welcome probes. Probes run on clones of the adder's state. +const PROBE: Id = 3; +// Joiner for the joiner-side check, which processes the full welcome with its own keys. +const JOIN: Id = 4; + +const ROTATIONS: usize = 1000; +const SAMPLES: [usize; 11] = [0, 1, 2, 5, 10, 50, 100, 250, 500, 750, 1000]; + +fn ok(result: Result, what: &str) -> T { + result.unwrap_or_else(|err| panic!("{what} failed: {err:?}")) +} + +// The adder's state, plus a key bundle in the adder's registry for every identity in the run. +fn init_adder(rng: &enc::Rng) -> (Y, Dcgka0) { + let lifetime = Lifetime::default(); + let mut registry = KeyRegistry::::init(); + let mut adder_keys = None; + let mut probe_keys = None; + for id in [ADMIN, BOB, CAROL, PROBE, JOIN] { + let identity = enc::test_utils::crypto::SecretKey::from_bytes(rng.random_array().unwrap()); + let keys = ok( + KeyManager::init_and_generate_prekey(&identity, lifetime, rng), + "prekey", + ); + let bundle = ok(KeyManager::prekey_bundle(&keys), "prekey bundle"); + registry = ok(KeyRegistry::add_longterm_bundle(registry, id, bundle), "register"); + match id { + ADMIN => adder_keys = Some(keys), + PROBE => probe_keys = Some(keys), + _ => {} + } + } + let joiner = Dcgka::init( + PROBE, + probe_keys.expect("probe keys"), + registry.clone(), + Dgm::init(PROBE), + ); + let adder = EncryptionGroup::init( + ADMIN, + adder_keys.expect("adder keys"), + registry, + Dgm::init(ADMIN), + Orderer::init(ADMIN), + ); + (adder, joiner) +} + +// The welcome for `joiner` that `Dcgka::add` builds from `bundle`. Runs on a clone of the state. +fn welcome(y: &Y, joiner: Id, bundle: &SecretBundleState, rng: &enc::Rng) -> Dm { + let (_, output) = ok(Dcgka::add(y.dcgka.clone(), joiner, bundle, rng), "welcome"); + output + .direct_messages + .into_iter() + .find(|dm| dm.recipient == joiner) + .expect("a welcome for the joiner") +} + +fn dm_for(msg: &Msg, recipient: Id) -> Dm { + msg.direct_messages() + .into_iter() + .find(|dm| dm.recipient == recipient) + .expect("a direct message for the recipient") +} + +// Full-history welcome for a fresh joiner (X3DH, PreKey path). +fn full_welcome(y: &Y, rng: &enc::Rng) -> Dm { + welcome(y, PROBE, &y.secrets, rng) +} + +// The direct message to Bob for one update (2SM, HPKE path, one new secret). +fn update_dm(y: &Y, rng: &enc::Rng) -> Dm { + let (_, msg) = ok(EncryptionGroup::update(y.clone(), rng), "update probe"); + dm_for(&msg, BOB) +} + +// Carol's re-add welcome after remove and add (HPKE path, full bundle). +fn readd_welcome(y: &Y, rng: &enc::Rng) -> Dm { + let (without, _) = ok(EncryptionGroup::remove(y.clone(), CAROL, rng), "remove probe"); + let (_, msg) = ok(EncryptionGroup::add(without, CAROL, rng), "re-add probe"); + dm_for(&msg, CAROL) +} + +// Least-squares line through (x, y): slope, intercept, and the largest absolute residual. +fn fit(points: &[(f64, f64)]) -> (f64, f64, f64) { + let n = points.len() as f64; + let sx: f64 = points.iter().map(|p| p.0).sum(); + let sy: f64 = points.iter().map(|p| p.1).sum(); + let sxx: f64 = points.iter().map(|p| p.0 * p.0).sum(); + let sxy: f64 = points.iter().map(|p| p.0 * p.1).sum(); + let slope = (n * sxy - sx * sy) / (n * sxx - sx * sx); + let intercept = (sy - slope * sx) / n; + let worst = points + .iter() + .map(|(x, y)| (y - (intercept + slope * x)).abs()) + .fold(0.0, f64::max); + (slope, intercept, worst) +} + +pub struct Dumps { + pub k1_welcome: Vec, + pub k1000_welcome: Vec, + pub k1000_update_dm: Vec, + pub k1000_readd: Vec, +} + +// Runs the scenario for one build and seed, prints one table, and writes the dumps to `out_dir`. +pub fn run(name: &str, seed: u8, out_dir: &Path) -> Dumps { + println!("## build: {name}, seed {seed}"); + let rng = enc::Rng::from_seed([seed; 32]); + let (adder, _) = init_adder(&rng); + let (mut y, _) = ok( + EncryptionGroup::create(adder, vec![ADMIN, BOB, CAROL], &rng), + "create", + ); + + let mut rows: Vec<(usize, usize, usize, usize, usize)> = Vec::new(); + let mut dumps = Dumps { + k1_welcome: Vec::new(), + k1000_welcome: Vec::new(), + k1000_update_dm: Vec::new(), + k1000_readd: Vec::new(), + }; + for k in 0..=ROTATIONS { + if k > 0 && k % 2 == 1 { + let (next, _) = ok(EncryptionGroup::update(y, &rng), "update"); + y = next; + } else if k > 0 { + let (without, _) = ok(EncryptionGroup::remove(y, CAROL, &rng), "remove"); + let (next, _) = ok(EncryptionGroup::add(without, CAROL, &rng), "add back"); + y = next; + } + if SAMPLES.contains(&k) { + let full = full_welcome(&y, &rng); + let upd = update_dm(&y, &rng); + let readd = readd_welcome(&y, &rng); + let full_bytes = encode_cbor(&full).expect("encode the welcome"); + let upd_bytes = encode_cbor(&upd).expect("encode the update message"); + let readd_bytes = encode_cbor(&readd).expect("encode the re-add welcome"); + if k == 1 { + dumps.k1_welcome = full_bytes.clone(); + } + if k == ROTATIONS { + dumps.k1000_welcome = full_bytes.clone(); + dumps.k1000_update_dm = upd_bytes.clone(); + dumps.k1000_readd = readd_bytes.clone(); + } + rows.push(( + k, + y.secrets.len(), + full_bytes.len(), + upd_bytes.len(), + readd_bytes.len(), + )); + } + } + + println!( + "| K | secrets | welcome B (PreKey, full) | update DM to Bob B (HPKE, 1 secret) | re-add welcome B (HPKE, full) |" + ); + println!("|---|---|---|---|---|"); + for (k, secrets, welcome, upd, readd) in &rows { + println!("| {k} | {secrets} | {welcome} | {upd} | {readd} |"); + } + let welcome_pts: Vec<(f64, f64)> = rows.iter().map(|r| (r.1 as f64, r.2 as f64)).collect(); + let (slope, intercept, worst) = fit(&welcome_pts); + println!( + "fit welcome = a + b*secrets over {} samples: b = {slope:.2} B/secret, a = {intercept:.1} B, max residual = {worst:.1} B", + welcome_pts.len() + ); + let readd_pts: Vec<(f64, f64)> = rows.iter().map(|r| (r.1 as f64, r.4 as f64)).collect(); + let (rslope, rintercept, _) = fit(&readd_pts); + println!("fit re-add = a + b*secrets: b = {rslope:.2} B/secret, a = {rintercept:.1} B"); + let upd_min = rows.iter().map(|r| r.3).min().unwrap_or(0); + let upd_max = rows.iter().map(|r| r.3).max().unwrap_or(0); + println!("update DM to Bob over all samples: min {upd_min} B, max {upd_max} B"); + + let file_name = name.replace(' ', "-"); + let write = |suffix: &str, bytes: &[u8]| { + fs::write(out_dir.join(format!("{file_name}-s{seed}-{suffix}.bin")), bytes) + .expect("write dump"); + }; + write("welcome-k1", &dumps.k1_welcome); + write("welcome-k1000", &dumps.k1000_welcome); + write("update-dm-k1000", &dumps.k1000_update_dm); + write("readd-k1000", &dumps.k1000_readd); + println!(); + dumps +} + +// Decodes a welcome with this build's types. Returns the error text when decoding fails. +pub fn decode_welcome(bytes: &[u8]) -> Result<(), String> { + decode_cbor::(bytes) + .map(|_| ()) + .map_err(|err| err.to_string()) +} + +// Decodes a welcome with this build's types and encodes it again. +pub fn reencode_welcome(bytes: &[u8]) -> Result, String> { + let dm = decode_cbor::(bytes).map_err(|err| err.to_string())?; + encode_cbor(&dm).map_err(|err| err.to_string()) +} diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/scheme-serde/src/main.rs b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/scheme-serde/src/main.rs new file mode 100644 index 0000000000..759bb72b2b --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/scheme-serde/src/main.rs @@ -0,0 +1,207 @@ +//! scheme-serde: welcome, update and re-add sizes for four builds of p2panda-encryption at rev +//! 3e84cac (stock, both byte fields, the inner field only, the outer field only). Also checks how +//! serde reads a byte string and an integer array, and runs a Value-level transcoder from the stock +//! layout to the outer-only layout. Method and results are in RESULTS.md. +#![allow(dead_code, unused_imports)] + +use std::fmt::Debug; +use std::fs; +use std::path::Path; + +use cbor_core::Value; +use p2panda_core::cbor::{decode_cbor, encode_cbor}; +use serde::{Deserialize, Serialize}; +use serde_bytes::{ByteBuf, Bytes}; + +mod stock { + use p2panda_encryption as enc; + + type Dgm = enc::data_scheme::test_utils::dgm::TestDgm< + enc::test_utils::MemberId, + enc::test_utils::MessageId, + >; + + include!("harness.rs"); +} + +mod both { + use p2panda_encryption_both as enc; + + type Dgm = enc::data_scheme::test_utils::dgm::TestDgm< + enc::test_utils::MemberId, + enc::test_utils::MessageId, + >; + + include!("harness.rs"); +} + +mod inner { + use p2panda_encryption_inner as enc; + + type Dgm = enc::data_scheme::test_utils::dgm::TestDgm< + enc::test_utils::MemberId, + enc::test_utils::MessageId, + >; + + include!("harness.rs"); +} + +mod outer { + use p2panda_encryption_outer as enc; + + type Dgm = enc::data_scheme::test_utils::dgm::TestDgm< + enc::test_utils::MemberId, + enc::test_utils::MessageId, + >; + + include!("harness.rs"); +} + +// Path of the X3DH ciphertext's byte field in the CBOR of a PreKey welcome. The welcome is the +// direct message: `content` -> `Welcome` -> `ciphertext` (TwoPartyMessage) -> `ciphertext` +// (TwoPartyCiphertext) -> `PreKey` (X3dhCiphertext) -> `ciphertext`. +const X3DH_PATH: [&str; 6] = [ + "content", + "Welcome", + "ciphertext", + "ciphertext", + "PreKey", + "ciphertext", +]; + +fn navigate<'v, 'a>(mut value: &'v mut Value<'a>, path: &[&str]) -> &'v mut Value<'a> { + for key in path { + value = value.get_mut(*key).expect("a key on the path"); + } + value +} + +// Stock layout to outer-only layout: the integer array at the X3DH path becomes a byte string. +// Nothing else changes, so the inner layer (inside the AEAD) stays as stock. +fn to_wire(stock_bytes: &[u8]) -> Vec { + let mut value = Value::decode_owned(stock_bytes).expect("decode the stock welcome"); + let slot = navigate(&mut value, &X3DH_PATH); + let bytes: Vec = slot + .as_array() + .expect("an integer array") + .iter() + .map(|item| item.to_u8().expect("a byte")) + .collect(); + *slot = Value::byte_string(bytes); + value.encode() +} + +// The reverse: the byte string at the X3DH path becomes an integer array, which the stock decoder +// reads. +fn from_wire(wire: &[u8]) -> Vec { + let mut value = Value::decode_owned(wire).expect("decode the wire welcome"); + let slot = navigate(&mut value, &X3DH_PATH); + let items: Vec = slot + .as_bytes() + .expect("a byte string") + .iter() + .map(|byte| Value::from(*byte)) + .collect(); + *slot = Value::array(items); + value.encode() +} + +// What serde reads from each encoding. `EitherForm` is an untagged enum that accepts both. +#[derive(Deserialize, Debug)] +#[serde(untagged)] +enum EitherForm { + Bytes(ByteBuf), + Seq(Vec), +} + +#[derive(Serialize)] +struct Envelope<'a> { + v: u8, + body: &'a Bytes, +} + +fn read Deserialize<'a> + Debug>(bytes: &[u8]) -> String { + match decode_cbor::(bytes) { + Ok(value) => format!("ok {value:?}"), + Err(err) => format!("err: {err}"), + } +} + +fn serde_read_check() { + let data: Vec = vec![1, 2, 3, 200]; + let as_array = encode_cbor(&data).expect("encode the array form"); + let as_bytes = encode_cbor(&Bytes::new(&data[..])).expect("encode the byte-string form"); + println!("## serde read check (one byte field, 4 bytes)"); + println!("Vec encodes to {:02x?} ({} B)", as_array, as_array.len()); + println!("serde_bytes encodes to {:02x?} ({} B)", as_bytes, as_bytes.len()); + println!("read Vec from the array form: {}", read::>(&as_array)); + println!("read Vec from the byte-string form: {}", read::>(&as_bytes)); + println!("read ByteBuf from the array form: {}", read::(&as_array)); + println!("read ByteBuf from the byte-string form: {}", read::(&as_bytes)); + println!("read EitherForm from the array form: {}", read::(&as_array)); + println!("read EitherForm from the byte-string form: {}", read::(&as_bytes)); + println!(); +} + +// Bytes added around a body of `len` bytes by a version tag: an array of (version, body) and a map +// of {v, body}. The body header is counted, so the figure depends on the body length. +fn envelope_overhead(len: usize) -> (usize, usize) { + let body = vec![0u8; len]; + let body = Bytes::new(&body[..]); + let array = encode_cbor(&(1u8, body)).expect("encode the array envelope").len() - len; + let map = encode_cbor(&Envelope { v: 1, body }) + .expect("encode the map envelope") + .len() + - len; + (array, map) +} + +fn cross_checks(seed: u8, out_dir: &Path, s: &stock::Dumps, b: &both::Dumps, i: &inner::Dumps, o: &outer::Dumps) { + println!("## cross-decode, seed {seed} (decode_cbor of the whole direct message; the inner layer is inside the AEAD and is not read)"); + println!("stock K=1 welcome read by both: {:?}", both::decode_welcome(&s.k1_welcome)); + println!("both K=1 welcome read by stock: {:?}", stock::decode_welcome(&b.k1_welcome)); + println!("stock K=1 welcome read by inner: {:?}", inner::decode_welcome(&s.k1_welcome)); + println!("stock K=1 welcome read by outer: {:?}", outer::decode_welcome(&s.k1_welcome)); + println!("inner K=1 welcome read by stock: {:?}", stock::decode_welcome(&i.k1_welcome)); + println!("outer K=1 welcome read by stock: {:?}", stock::decode_welcome(&o.k1_welcome)); + println!("stock re-add welcome read by both: {:?}", both::decode_welcome(&s.k1000_readd)); + println!("both re-add welcome read by stock: {:?}", stock::decode_welcome(&b.k1000_readd)); + println!("stock K=1000 bytes are canonical (decode then encode is identity): {}", Value::decode_owned(&s.k1000_welcome).map(|v| v.encode() == s.k1000_welcome).unwrap_or(false)); + println!("stock K=1 welcome: stock build re-encodes it byte-exact: {}", stock::reencode_welcome(&s.k1_welcome).map(|v| v == s.k1_welcome).unwrap_or(false)); + println!("stock K=1 welcome: Value decode then encode is identity: {}", Value::decode_owned(&s.k1_welcome).map(|v| v.encode() == s.k1_welcome).unwrap_or(false)); + println!("outer K=1 welcome (outer layout, not transcoded): outer build re-encodes it byte-exact: {}", outer::reencode_welcome(&o.k1_welcome).map(|v| v == o.k1_welcome).unwrap_or(false)); + println!("both K=1 welcome: both build re-encodes it byte-exact: {}", both::reencode_welcome(&b.k1_welcome).map(|v| v == b.k1_welcome).unwrap_or(false)); + + println!("## transcoder: stock PreKey welcome to the outer-only layout (seed {seed})"); + for (label, bytes) in [("K=1", &s.k1_welcome), ("K=1000", &s.k1000_welcome)] { + let wire = to_wire(bytes); + let back = from_wire(&wire); + println!("{label}: stock {} B -> wire {} B", bytes.len(), wire.len()); + println!("{label}: from_wire(to_wire(x)) == x: {}", back == *bytes); + println!("{label}: stock reads the round trip: {:?}", stock::decode_welcome(&back)); + println!("{label}: outer build reads the wire form: {:?}", outer::decode_welcome(&wire)); + let exact = outer::reencode_welcome(&wire).map(|v| v == wire).unwrap_or(false); + println!("{label}: outer build re-encodes the wire form byte-exact: {exact}"); + if label == "K=1000" { + fs::write(out_dir.join(format!("transcoded-outer-s{seed}-welcome-k1000.bin")), &wire).expect("write transcoded dump"); + let (arr, map) = envelope_overhead(wire.len()); + println!("{label}: version tag overhead on the wire form: array (version, body) +{arr} B, map {{v, body}} +{map} B"); + } + } + let (arr, map) = envelope_overhead(b.k1000_welcome.len()); + println!("both K=1000 welcome {} B: version tag overhead: array +{arr} B, map +{map} B", b.k1000_welcome.len()); + println!(); +} + +fn main() { + let out_dir = Path::new(env!("CARGO_MANIFEST_DIR")).join("out"); + fs::create_dir_all(&out_dir).expect("create out/"); + serde_read_check(); + for seed in 1..=3u8 { + let s = stock::run("stock", seed, &out_dir); + let b = both::run("both", seed, &out_dir); + let i = inner::run("inner", seed, &out_dir); + let o = outer::run("outer", seed, &out_dir); + cross_checks(seed, &out_dir, &s, &b, &i, &o); + } +} diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/store-fit/RESULTS.md b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/store-fit/RESULTS.md new file mode 100644 index 0000000000..d57958bf53 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/store-fit/RESULTS.md @@ -0,0 +1,332 @@ +# RESULTS: p2panda-store fit for n3 (traits over redb, or a fork) + +- Date: 2026-10-11. Pins: p2panda `3e84cac48bba05c6857cce2ec433862b97f8d53c` (the store crate reports 0.7.1), redb `=4.3.0`, cbor-core `=0.10.1`, Rust 1.97.0. +- Scope: read-only analysis of the p2panda checkout, the 0.7.1 extraction, spike code and design docs. No repo was modified. Three small crates in this folder (`sendcheck`, `nosqlite`, `semcheck`) were built with the shared target dir and the spikes lock to check specific claims. +- Tags: **[V]** verified (command output seen, or a source line read); **[I]** inferred from [V]; **[N]** not checked. + +## Questions (verbatim) + +Owner's decision: "for n3 a fork isn't rejected because nothing has to keep sqlite we'd own the fork-- but i prefer traits over redb like you do." + +Owner's question (context): "what does chainext do?" + +Research questions: + +1. Read p2panda-store at rev 3e84cac (checkout under `~/.cargo/git/checkouts/p2panda-*/3e84cac/p2panda-store`, and the 0.7.1 extraction under `/tmp/research/p2p-store-*`). List each trait: `TopicStore`, `CursorStore`, `KeySecretsStore`, `LogStore`, `OperationStore`, `GroupsStore`, `OrdererStore`, `Transaction`. For each: its methods, the semantics callers rely on (atomicity, transactions, ordering, uniqueness, latest-entry queries, deletes), and which crate calls it. +2. Read how p2panda-sync (LogSync, TopicLogSync) and p2panda-stream use these traits. Which traits does a LogSync session need? Which methods? +3. Map our needs to them: ChainExt-based chains (per-author sequence, `after` frontier), fork freeze and proof storage, waiting events with caps, tuple-keyed subject and name/value indexes, unique (author, seq). For each need, say whether a trait covers it, whether we need an extra method, or whether it sits outside the traits. +4. Find SQL-only semantics in the SQLite implementation that a redb implementation would have to reproduce (ordering by height, paging, transaction isolation, constraints). Name the lines. +5. Estimate effort in lines and risk for (a) a redb implementation of the traits, and (b) a fork that replaces the SQLite implementation with redb, keeping the traits unchanged. +6. Recommend. The owner prefers traits over redb, and accepts a fork if we own it. Say what would change the recommendation. + +Do not modify any repo. Output: RESULTS.md with a fit matrix (need by trait method). + +## Short answers + +**ChainExt (context).** ChainExt is the header extension signed with every event: `kind` (text), `after` (at most 32 hashes: the author's causal frontier), `group` (optional hash), and a domain tag (`id.events.v1`). It sits inside the signed header, so the causal and group links cannot change without breaking the signature. The per-author chain (`seq_num` and `backlink`) is p2panda's own header, not ChainExt. [V: `spikes/s1-transport/src/header.rs:13–18`; design `explainers.md` §1] + +**1. Trait inventory.** The eight traits have 36 methods between them at the pin (Transaction 3, LogStore 6, OperationStore 7, TopicStore 5, CursorStore 3, OrdererStore 8, GroupsStore 2, KeySecretsStore 2) [V]. Callers rely on one store-wide write transaction (`_tx` methods and most writes fail with `TransactionMissing` outside one [V]), latest entry by seq read inside the ingest transaction, idempotent insert by hash, heights and sizes over ranges, topic to author to logs resolution, named cursors, and group state by hash [V, call sites in the table below]. Deletes are prune (whole rows [V]), `delete_operation` (tests only), and the payload delete (no callers). No trait enforces (author, seq) uniqueness or fork handling [V]. + +**2. LogSync.** A LogSync session needs only `LogStore`: `get_log_heights`, `get_log_size` and `log_entries`, plus `Clone + Send + 'static`. It needs no `OperationStore`, `TopicStore` or `Transaction` [V: log_sync.rs:97, 122, 171, 292; api.rs:573–630]. TopicLogSync adds `TopicStore::resolve` [V: topic_log_sync.rs:59–60, 132–135]. The protocol writes nothing; received operations go to the application, which ingests them with `Transaction`, `OperationStore` (`has_operation_tx`, `insert_operation`), `LogStore::get_latest_entry_tx` and `TopicStore::associate` [V: ingest/operation.rs:58–61, 86, 100, 187, 191]. The 0.7.1 crate calls the sync method `get_log_entries`; the pin calls it `log_entries` [V: diff]. + +**3. Mapping.** Covered by trait methods: per-author append and latest (`get_latest_entry_tx` with `insert_operation` in one transaction), dedupe (`has_operation_tx`), LogSync heights, sizes and entries, and topic to logs. Partly covered: `after` (OrdererStore models dependencies and a ready queue, but "ready" means processed, not applied) and backlink uniqueness (ingest checks the backlink inside the transaction, not the store). Not covered, so an extra method or our own table: fork proof and freeze; waiting events with per-author caps and expiry (OrdererStore has neither and keeps pending items forever, design line 804); subject and name/value indexes; and store-level (author, seq) uniqueness. Range sync (S7) uses none of the traits [V]. The matrix is below. + +**4. SQL-only semantics.** Twenty behaviours need reproducing or replacing; the table lists them with lines. Four matter most: (i) numeric seq ordering comes from SQLite type affinity (observed: latest is 10 over 9 [V]); (ii) (author, seq) is not unique in the schema, and two different events at one position were both stored [V]; (iii) prune deletes headers as well as bodies, although the doc says bodies [V]; (iv) one store-wide transaction, with `TransactionMissing` outside it [V]. One prediction was wrong: an empty `get_log_size` returns `Some((0, 0))`, not an error [V]. + +**5. Effort and risk.** (a) redb in our crate, minimal set (Transaction, OperationStore, LogStore, TopicStore, plus CursorStore if needed): about 650–900 implementation lines and 300–450 test lines [I, calibrated on S6's 162-line redb store and S7's 138-line store]. Medium risk: the store-wide transaction, streams, and no runtime evidence yet. Adding OrdererStore costs about 300–400 more lines and is the highest-risk port. (b) A fork that replaces SQLite with redb and keeps the traits: the same implementation, plus deleting 3,526 lines of SQLite code and 11 migration files [V: wc, ls], plus keeping the feature gates compiling (`groups`, `encryption`, `processor`, `spaces` each imply `sqlite` [V: Cargo.toml]), plus renaming or aliasing 209 lines that reference `SqliteStore`/`SqliteError` outside the store [V]. Medium-high risk, mostly maintenance: 18 store source files differ between 0.7.1 and the pin, so each upstream bump conflicts with the deleted files [V: diff -rq]. + +**6. Recommendation.** Option (a), with the minimal set, and no fork now. Two facts shape it. First, GroupsStore, KeySecretsStore, KeyRegistryStore, SpacesStore and ProcessorStore cannot be named without enabling a feature that implies `sqlite`, which brings sqlx back [V: nosqlite; Cargo.toml]. Second, p2panda-sync, p2panda-stream, p2panda-spaces and p2panda-net each enable `sqlite` [V: Cargo.toml]. So the clean path is: implement Transaction, OperationStore, LogStore and TopicStore over redb; keep our own ingest and range sync (both already in the design); keep waiting in our own table; and keep p2panda-sync and p2panda-stream out of the graph. The decision that changes this is N5: if LogSync stays for small groups, p2panda-sync brings sqlx back, and the fork becomes the only SQLite-free route, which the owner accepts. N3's premise is also wrong: S7 did not test p2panda-store (it used its own redb tables), so the fit is source-level until a port runs. + +## Evidence (commands and sources) + +All cargo commands used `CARGO="$(rustup which --toolchain 1.97.0 cargo)"`, `RUSTC` from the same toolchain, `CARGO_TARGET_DIR=/home/user/work/spikes/target`, `--offline`, and the copied `/home/user/work/spikes/Cargo.lock`. + +**E1. sendcheck (`store-fit/sendcheck/src/lib.rs`).** `cargo check --offline`: `Checking sendcheck v0.0.0 … Finished`, exit 0 [V]. Compile-time assertions that passed: +- `WriteTransaction: Send`, `Database: Send + Sync`, and the store struct `Send + Sync`, with a `tokio::sync::Mutex>` slot and a `Semaphore`. +- An async fn that acquires the permit, runs `begin_write` through `spawn_blocking`, stores the transaction, awaits (`yield_now`), takes it back, and commits is `Send`. +- `redb::Range<'static, &[u8], &[u8]>: Send` [V]. + +**E2. nosqlite (`store-fit/nosqlite`).** p2panda-store with `default-features = false`. A local type implements `Transaction` and `LogStore` with stub bodies; the ungated trait modules `cursors`, `operations`, `orderer` and `topics` are imported. `cargo check --offline`: exit 0 [V]. `cargo tree -e normal`, lines matching `sqlx|libsqlite|rusqlite|tokio` other than the root crate: count 0 [V]. The normal tree is p2panda-core (cbor-core, ed25519-dalek, blake3 and others), async-stream and futures-util [V]. + +**E3. Feature implication (same crate).** With `groups = ["p2panda-store/groups"]` added to the root crate, `cargo tree --features groups` adds p2panda-auth, sqlx 0.9.0, sqlx-core, sqlx-macros, sqlx-postgres, sqlx-mysql and libsqlite3-sys 0.37.0 (lock update lines, exit 0) [V]. The feature table was then reverted. + +**E4. semcheck (`store-fit/semcheck/src/main.rs`).** Runs against `SqliteStoreBuilder::memory()` at the pin, without `test_utils`. Two earlier runs failed on harness errors, which I corrected: inserts outside a transaction (`TransactionMissing`), and seq>0 headers without a backlink (`Decode(MissingField("backlink"))`, because `AnyHeader::decode` requires the field). The final run: + +``` +0 insert without tx: Err(TransactionMissing) +1 empty latest: None +1 empty heights: None +1 empty size: Ok(Some((0, 0))) +1 empty entries: [] +2 latest after seq 9 and 10: Some(10) +3 hashes differ: true +3 insert fork a: Ok(true) +3 insert fork b: Ok(true) +3 log 2 size (count, bytes): Ok(Some((2, 288))) +3 log 2 heights: Some({2: 0}) +3 latest on fork log is (is_a, is_b): Some((true, false)) +4 log 0 all: [0, 1, 2, 3, 4] +4 log 0 after=1 until=3: [2, 3] +4 log 0 size after=1 until=3: Ok(Some((2, 348))) +4 log 0 heights: Some({0: 4}) +5 prune until 3: deleted 3; has_operation(seq 0) = false +5 log 0 after prune: [3, 4] +exit=0 +``` + +The tie on the fork log returned the first-inserted event once; the tie rule itself is not specified, so this is one observation [V]. The harness did not test a second store instance, concurrency, or other tie orders [N]. + +**E5. Source reads and greps.** Line numbers are from `cat -n`, `grep -n`, or `sed -n` on the pinned checkout, unless marked as 0.7.1. +- Store: `lib.rs:103–128` (module gates, re-exports); `lib.rs:112` (`macros` gate); `sqlite.rs:259–264` (store-wide transaction slot), `:275` (Semaphore(1)), `:305–313` (`tx()`, `TransactionMissing` at 310), `:341–390` (`begin`, semaphore 345–350, `BEGIN IMMEDIATE` at 386), `:396–426` (rollback, commit), `:459–476` (permit Drop: async rollback spawned); `:185–186` (connection options, no journal_mode or WAL pragma; a grep for `journal_mode|wal|synchronous|pragma` in the store source returned nothing [V]); `macros.rs:17–26` (`tx!`); `traits.rs:10–23` (Transaction). +- Trait files: `logs/traits.rs:21–89`, `operations/traits.rs:11–60`, `topics/traits.rs:41–72`, `cursors/traits.rs:8–29`, `orderer/traits.rs:16–87`, `groups/traits.rs:12–31`, `key_secrets/traits.rs:9–20`, `processor/traits.rs:9–15`, `key_registry/traits.rs:9–20`, `spaces/traits.rs:7–28`, `address_book/traits.rs:20–125`. +- SQLite impls: `operations/sqlite.rs:37–195`; `logs/sqlite/mod.rs:21–279` (SQL at 21–53); `topics/sqlite.rs:15–208`; `cursors/sqlite.rs:11–98`; `groups/sqlite.rs:14–82`; `key_secrets/sqlite.rs:14–68`; `orderer/sqlite.rs:16–528`. +- Core: `prune.rs:74–101` (`validate_prunable_backlink`); `operation/validation.rs:81–104` (`validate_backlink`); `operation/any.rs:344` (signature check in `AnyHeader::decode`); `identity.rs:196–198` (`verify` calls `verify_strict`); `operation/header.rs:121–125` (`Header::decode` calls `AnyHeader::decode`). +- Stream: `ingest/operation.rs:47–196` (ingest), `:221–247` (validate); `ingest/ooo.rs:69–74, 92–93, 292–299` (in-memory OOO buffer; `push` calls `IndexMap::pop` at 294); `orderer/orderer.rs:64–148` (CausalOrderer); `orderer/processor.rs:84–108, 122, 171, 203`; `groups/processor.rs:84–118`; `log_prune/processor.rs:57`. +- Sync: `log_sync.rs:97` (bound), `:122`, `:171`, `:188` (`if outbound_bytes > 0`; zero bytes means Done), `:292`, `:312` (`Header::::decode`); `api.rs:573–589` (`log_heights`), `:596–630` (`log_ranges`), `:613` (`log_entries`), `:633–650` (`topic_log_heights`); `topic_log_sync.rs:59–60, 106–107, 132–135`; `manager/mod.rs:107–108`. +- Facade: `forge.rs:69, 70, 72, 77, 93, 105`; `streams/acked.rs:56, 74, 139`; `streams/subscription.rs:86`; `spaces/forge.rs:262`; `spaces/repair.rs:101, 133, 183`; `node.rs:584, 699, 702` (uses `SqliteStore` in production code). +- p2panda-net: `address_book/actor.rs` names `SqliteStore` at lines 8, 110, 114, 121, 126, 132, 157, all before its `#[cfg(test)]` at 374 [V]. +- Identity (spaces): `identity.rs:132` (`set_prekey_secrets`), `:228` (`get_key_registry`). +- Greps: `SqliteStore|SqliteError` outside the store: 209 lines [V]. Same-named calls in `p2panda-encryption/src/ordering.rs` and `p2panda-core` (`mark_ready`, `ready`, …) are other crates and were excluded. The store's own tests call `SqliteStore::temporary()` 5 (logs), 1 (operations) and 5 (topics) times [V]. + +**E6. 0.7.1 vs the pin.** `diff -rq` on `src` shows 18 differing files and one new `processor` module [V]. Signature diffs on the changed trait files [V]: +- `logs/traits.rs`: `type Error: Error + Send`; `get_log_entries` renamed to `log_entries`. +- `topics/traits.rs`: `resolve_topics` and `topics` added. +- `orderer/traits.rs`: methods gained a `namespace` argument; `clear` and `clear_keys` added. +- `spaces/traits.rs`: `SpacesMessageStore` renamed to ``. + +The traits in `operations`, `cursors`, `groups`, `key_secrets` and the `Transaction` file are unchanged. + +**E7. Dependency facts (Cargo.toml, read [V]).** Store: `default = ["sqlite", "macros"]`; `groups`, `encryption`, `processor`, `spaces` and `test_utils` each list `sqlite`; `macros = []` (no dependency); `sqlx = "0.9.0"` optional. Downstream: `p2panda-stream/Cargo.toml:35, 44, 50` (feature gates `groups`, `processor`, `spaces`), `:61` (store, default features); `p2panda-sync/Cargo.toml:40` (default features); `p2panda-spaces/Cargo.toml:35` (`sqlite`, `spaces` forced); `p2panda-net/Cargo.toml:35, 81`; `p2panda/Cargo.toml:37`. + +**E8. S1, S6, S7 (read).** S6 `sqlite_store.rs:10` uses rusqlite, not p2panda-store [V]; S6 RESULTS 82–87 document the libsqlite3-sys bound and the one-`links`-package rule [V]; S7 `RESULTS.md` 62–65 documents its own table layout; S7's crossover table covers only 1,000 and 10,000 chains [V]; S1 RESULTS 17 and 97 say sqlx and LogSync were not exercised [V]. A grep of `spikes-next` finds no p2panda crate [V]. + +### Corrections to the index and task docs + +1. **N3 says "S7 tests it".** It does not. S7 used its own redb layout (`spikes-next/s7-range-real/RESULTS.md` 62–65), and no spike runs p2panda-store's traits [V]. +2. **Design line 399** says the storage choice (p2panda-store on SQLite, or a plain store) "is decided in spike S6". S6 compared redb with rusqlite, not with p2panda-store [V]. +3. **task-02 gotcha**, "p2panda-store conflicts with rusqlite": the conflict is real, but specific. rusqlite 0.40 needs libsqlite3-sys ^0.38, sqlx-sqlite 0.9.0 allows below 0.38, and cargo permits one `links = "sqlite3"` package [V: S6 RESULTS 82–87]. It disappears if p2panda-store is not in the graph. +4. **Store doc mismatches.** The cursor `set`/`delete` docs say they return `bool`, but both return `()` (`cursors/traits.rs:19–28`) [V]. The `prune_entries` doc says it deletes bodies; the SQL deletes rows [V, E4]. +5. **`OooBuffer`** documents oldest-first eviction, but `push` calls `IndexMap::pop`, which removes the most recently inserted entry (`ooo.rs:292–299`; indexmap 2.14.2 `map.rs:1119–1125`) [V: read; not run]. +6. **Pin vs crates.io.** The 0.7.1 API differs from the pin (E6). This bears on N14. +7. **Main design line 68** ("Fork proofs are not stored. Forks are refused and dropped.") conflicts with lines 28 and 94 (proofs are stored). I did not check its context [N], and I did not check `pkgs/id` for a proof table [N]. + +## Trait inventory (step 1) + +Columns: method (trait line) | what callers rely on | production callers (file:line) | SQLite implementation (file:line). "None found" means no call outside the store crate in grep, not exhaustive [V]. + +### LogStore (`logs/traits.rs:21`) + +| Method (line) | Callers rely on | Callers | SQLite impl | +|---|---|---|---| +| `get_latest_entry` (27) | newest entry of (author, log), committed data; None if absent | forge.rs:69 | `logs/sqlite/mod.rs:62–82` (pool, 73); SQL 21–33 (`ORDER BY seq_num DESC LIMIT 1`, 31–32) | +| `get_latest_entry_tx` (40) | same inside the open transaction; ingest reads it, then inserts | ingest/operation.rs:100, 163, 227; forge.rs:77 | `92–118` (tx at 98) | +| `get_log_heights` (51) | max seq per requested log; None when no requested log has rows | p2panda-sync api.rs:583 | `121–163` (`GROUP BY log_id`, 147; None at 158–162) | +| `get_log_size` (60) | (count, header + payload bytes) for (after, until]; Option | log_sync.rs:171 | `166–210` (SQL 173–191; pool 199); empty range gives `Some((0, 0))` [V] | +| `log_entries` (72) | sync fn returning a `'static` stream, ordered by seq; after exclusive, until inclusive | api.rs:613 (via `log_ranges`); log_sync.rs:292 | `214–247` (`ORDER BY` 51–52; pool clone 228) | +| `prune_entries` (83) | delete below `until`; returns row count; no transaction | log_prune/processor.rs:57 | `252–278` (DELETE 258–268; pool 272; doc 249–251) | + +### OperationStore (`operations/traits.rs:11`) + +| Method (line) | Callers rely on | Callers | SQLite impl | +|---|---|---|---| +| `insert_operation` (18) | insert by hash; bool = inserted; duplicate hash ignored; no same-position check | ingest/operation.rs:187; forge.rs:70, 105 | `operations/sqlite.rs:37–90` (tx 47; `INSERT OR IGNORE` 50; rows_affected 89) | +| `get_operation` (26) | committed read by hash; header re-decoded and re-verified | streams/subscription.rs:86; stream orderer/processor.rs:160 | `92–107` (pool 94; decode 218) | +| `get_operation_tx` (33) | same, inside the transaction | spaces/forge.rs:262; spaces/repair.rs:133 | `113–128` (tx 115) | +| `has_operation` (38) | committed existence | none outside tests | `130–142` (pool 131) | +| `has_operation_tx` (47) | existence inside the transaction (dedupe before insert) | ingest/operation.rs:86 | `144–156` (tx 146) | +| `delete_operation` (53) | delete by hash inside the transaction | tests only: p2panda-sync log_sync.rs:963 | `158–177` (tx 160) | +| `delete_operation_payload` (59) | sets body to NULL; committed write, no transaction | none found | `179–195` (pool 191) | + +### TopicStore (`topics/traits.rs:41`) + +| Method (line) | Callers rely on | Callers | SQLite impl | +|---|---|---|---| +| `associate` (45) | add (topic, author, data_id); bool = inserted | ingest/operation.rs:183, 191; forge.rs:72, 93 | `topics/sqlite.rs:23–59` (tx 30; `INSERT OR IGNORE` 33; `UNIQUE` in migration 20260217222329:8) | +| `remove` (53) | delete one association inside the transaction | none found | `62–95` (tx 69) | +| `resolve` (61) | topic to `BTreeMap>`; order not guaranteed | p2panda-sync api.rs:642; topic_log_sync.rs:133 | `98–137` (pool 100; no `ORDER BY`, 103–110) | +| `resolve_topics` (64) | data_id to topics | none found | `140–178` (pool 146) | +| `topics` (71) | all topics inside the transaction | examples only: sneakernet.rs:155, 239 | `181–207` (tx 183; `DISTINCT`, no `ORDER BY`, 186) | + +### CursorStore (`cursors/traits.rs:8`) + +| Method (line) | Callers rely on | Callers | SQLite impl | +|---|---|---|---| +| `get_cursor` (14) | by name; committed | streams/acked.rs:56 | `cursors/sqlite.rs:19–46` (pool 21) | +| `set_cursor` (22) | upsert by name; requires a transaction; returns `()` (doc says `bool`) | acked.rs:74, 139 | `49–76` (tx 50; `ON CONFLICT` 58–62) | +| `delete_cursor` (27) | delete by name; requires a transaction; returns `()` | none found | `79–97` (tx 80) | + +### OrdererStore (`orderer/traits.rs:16`; namespaced at the pin) + +| Method (line) | Callers rely on | Callers | SQLite impl | +|---|---|---|---| +| `mark_ready` (21) | add to the FIFO ready queue; re-queues an item that is ready but not queued | stream orderer/orderer.rs:107, 135 | `orderer/sqlite.rs:22–124` (tx 23; queue index 25–41; re-queue 76–117) | +| `mark_pending` (28) | record that an id waits for its deps; dedupe by set digest | orderer.rs:102 | `126–212` (sort 136; digest 139–147) | +| `get_next_pending` (37) | items waiting on id, as (id, deps) | orderer.rs:121 | `214–~255` (`DISTINCT`, no `ORDER BY`) | +| `take_next_ready` (44) | pop the oldest queued ready item; clear `in_queue` | orderer.rs:95 | `285–~325` (`ORDER BY queue_index` 296–297; `in_queue = FALSE` 318) | +| `remove_pending` (50) | drop pending rows that wait on id | orderer.rs:144 | `334–` (DELETE) | +| `ready` (57) | true when all keys are in the ready table; dequeued items still count | orderer.rs:100, 130 | `355–375` (count compared with `len` at 375) | +| `clear` (66), `clear_keys` (71) | delete ready and pending rows | none found (`replay.rs:67` matched `clear_keys`; not inspected) | `414–` | + +Also `OrdererTestExt` (80–86): test helpers only. + +### GroupsStore (`groups/traits.rs:12`) + +| Method (line) | Callers rely on | Callers | SQLite impl | +|---|---|---|---| +| `set_groups_state_tx` (20) | upsert CBOR state by group hash; requires a transaction | stream groups/processor.rs:113; node.rs:699 | `groups/sqlite.rs:21–48` (tx 26; `INSERT OR REPLACE` 29) | +| `get_groups_state_tx` (27) | state by hash inside the transaction | groups/processor.rs:89; spaces/repair.rs:101 | `50–81` (tx 55) | + +### KeySecretsStore (`key_secrets/traits.rs:9`) + +| Method (line) | Callers rely on | Callers | SQLite impl | +|---|---|---|---| +| `get_prekey_secrets` (12) | the single `'default'` row; committed | one non-store call (not inspected) | `key_secrets/sqlite.rs:17–45` (pool 19; id at 12) | +| `set_prekey_secrets` (16) | upsert the single row; requires a transaction | spaces identity.rs:132 | `47–67` (tx 48; `INSERT OR REPLACE` 51) | + +### Transaction (`traits.rs:10`; `macros.rs:17–26`) + +| Method (line) | Callers rely on | Callers | SQLite impl | +|---|---|---|---| +| `begin` (16) | acquire the store's one write permit; waits while another permit is held | ingest/operation.rs:77, 222; orderer/processor.rs:122; groups/processor.rs:84 | `sqlite.rs:341–390` (semaphore 345–350; `BEGIN IMMEDIATE` 386) | +| `commit` (22) | commit; release the permit | ingest/operation.rs:137, 242; groups/processor.rs:117 | `414–426` | +| `rollback` (19) | roll back; release | none outside tests | `396–408` | +| drop without commit | rollback in a spawned task; a `tx!` body with an early `?` takes this path | `macros.rs:17–26` | `sqlite.rs:459–476` | + +### Traits outside the brief (listed for completeness) + +- **KeyRegistryStore** (`key_registry/traits.rs:9–20`): get and set. Used by spaces identity.rs:228. Its feature (`encryption`) implies `sqlite` [V]. +- **SpacesStore, SpacesMessageStore** (`spaces/traits.rs:7–28`): `set_space_state_tx` used by `node.rs:702`, `space.rs:272`, `repair.rs:183`, stream `spaces/processor.rs:133`, and `manager.rs:652`. Feature `spaces` implies `sqlite` [V]. +- **ProcessorStore** (`processor/traits.rs:9–15`): new at the pin; used by stream `orderer/processor.rs:171, 203`. Feature `processor` implies `sqlite` [V]. +- **AddressBook** (`address_book/traits.rs:20–125`): ungated in `lib.rs`. Its SQLite implementation is 504 lines. p2panda-net's address-book actor names `SqliteStore` in non-test code [V]. Not analysed further. + +## LogSync and TopicLogSync (step 2) + +| Protocol | Store bound (file:line) | Store methods used (file:line) | Writes to the store? | +|---|---|---|---| +| LogSync | `LogStore + Clone + Send + 'static` (log_sync.rs:97) | `get_log_heights` via `log_heights` (api.rs:573–589; called at log_sync.rs:122); `get_log_size` (log_sync.rs:171); `log_entries` via `log_ranges` (api.rs:596–630; log_sync.rs:292) | No. Received operations go to the app as `OperationReceived` events in the Sync state | +| TopicLogSync | adds `TopicStore` (topic_log_sync.rs:59–60, 106–107) | `TopicStore::resolve` (topic_log_sync.rs:132–135; api.rs:639–645), then the LogStore three | No | +| sync manager | `LogStore + TopicStore` (manager/mod.rs:107–108) | creates TopicLogSync sessions | No | +| ingest (receiver's app) | `Transaction + OperationStore + LogStore + TopicStore` (ingest/operation.rs:58–61, 152–155, 206–209) | `begin`; `has_operation_tx` (86); `get_latest_entry_tx` (100, 163, 227); `insert_operation` (187); `associate` (191); `commit` (137, 242) | Yes | + +Receive check [V]: `Header::::decode` (log_sync.rs:312) calls `AnyHeader::decode`, which calls `verifying_key.verify` (any.rs:344), which is `verify_strict` (identity.rs:196–198). So signatures are checked before the app sees an event, through p2panda's own path. Our canonical-form checks and the `MAX_AFTER` limit from task-02 still need to run in our code [I]. + +## Fit matrix (step 3) + +Columns (our needs): +- **A** per-author chain: append and latest (ChainExt backlink chain) +- **B** `after` frontier: causal readiness +- **C** fork proof and freeze +- **D** waiting events with per-author caps and expiry +- **E** tuple-keyed subject and name/value indexes (task 06) +- **F** unique (author, seq) +- **G** sync: heights, sizes, entries, topic to logs (LogSync) +- **H** atomic ingest: check, insert and associate in one transaction +- **I** persisted p2panda-auth group state (task 03) + +Legend: **●** covered as is; **◐** covered with a caveat or a semantic to reproduce; **○** not covered: needs an extra method or our own table; blank: not relevant. + +| Trait method | A | B | C | D | E | F | G | H | I | +|---|---|---|---|---|---|---|---|---|---| +| `Transaction::begin` / `commit` / `rollback` | | | | | | | | ● | | +| `LogStore::get_latest_entry` | ◐ committed only | | ○ returns one fork; tie unspecified | | | ○ | | | | +| `LogStore::get_latest_entry_tx` | ● | | ○ | | | ◐ backlink checked in txn, not in store | | ● | | +| `LogStore::get_log_heights` | ● | | | | | | ● None when no rows | | | +| `LogStore::get_log_size` | | | | | | | ● `Some((0, 0))` when empty | | | +| `LogStore::log_entries` | | | | | | | ● ordered; (after, until] | | | +| `LogStore::prune_entries` | | | | | | | later (task 10): deletes headers too | | | +| `OperationStore::insert_operation` | ● | | ○ stores both forks | | | ○ | | ● | | +| `OperationStore::get_operation` / `_tx` | ● | ◐ | | | | | ● | | | +| `OperationStore::has_operation_tx` | | | | | | | | ● dedupe | | +| `OperationStore::has_operation` | | ● dependency present | | | | | | | | +| `OperationStore::delete_operation` / `delete_operation_payload` | | | | | | | | | later (task 10) | +| `TopicStore::associate` | ◐ one log per author: topic to authors | | | | | | ◐ | ● | | +| `TopicStore::resolve` | | | | | | | ● | | | +| `TopicStore::remove` / `resolve_topics` / `topics` | not needed | | | | | | | | | +| `CursorStore::*` | not needed (S7 restarts sessions) | | | | | | | | | +| `OrdererStore::mark_ready` / `ready` / `take_next_ready` | | ◐ "ready" means processed | | | | | | | | +| `OrdererStore::mark_pending` / `get_next_pending` / `remove_pending` | | ◐ | | ○ no caps, no expiry | | | | | | +| `OrdererStore::clear` / `clear_keys` | | | | ◐ by key only | | | | | | +| `GroupsStore::set` / `get_groups_state_tx` | | | | | | | | ◐ txn only | ◐ needs `groups`, which implies sqlx | +| `KeySecretsStore::*` | | | | | | | | | not needed unless the p2panda-encryption key managers are used | +| **Outside the traits** | | | ○ proof table and freeze flag | ○ waiting table, per-author counts, expiry index | ○ tuple-keyed tables (S6 layout) | ○ check inside the write txn (S6, S7) | ○ key-order range and fingerprints (S7) | | ○ own table | + +## SQL-only semantics to reproduce (step 4) + +Tags show how each behaviour was checked. "Redb must" is the behaviour an implementation has to reproduce or deliberately replace. + +| # | Behaviour | SQLite (file:line) | Redb must | Tag | +|---|---|---|---|---| +| 1 | Insert is idempotent by hash: `INSERT OR IGNORE` on PK(hash); returns rows > 0 | operations/sqlite.rs:50, 89; migration 20250928132835:4 | check the hash table in the write txn; false if present | V | +| 2 | No (author, log, seq) uniqueness: `operations_v1` has only the hash PK; indexes exist only on topics, orderer and address book | migration 20250928132835 (whole file) | enforce ourselves: same position and same hash means already present; different hash goes to the fork path | V (schema); V (both forks stored, E4) | +| 3 | Latest by seq: `ORDER BY seq_num DESC LIMIT 1`; seq is bound as text (`to_string`) into an INTEGER column, so NUMERIC affinity orders it numerically | logs/sqlite/mod.rs:31–32; operations/sqlite.rs:79; migration line 11 | big-endian u32 keys; reverse range | V (10 over 9, E4) | +| 4 | Tie at equal seq: no tie-break in the query | logs/sqlite/mod.rs:31–32 | define our own rule and store the proof | V (one observation: first-inserted returned, E4) | +| 5 | Heights: `MAX(seq) GROUP BY log_id` for the requested logs; None when no rows | logs/sqlite/mod.rs:127–147, 158–162 | last key in each requested log's range; None when all are empty | V (`Some({0: 4})`; None when empty, E4) | +| 6 | Range: `seq > after` (or `>= 0` when `after` is None) and `seq <= until` | logs/sqlite/mod.rs:45–50, 184–189, 196–198, 226–227 | `(after, until]`; None means from 0 inclusive, until None means no upper bound | V (`[2, 3]` for after 1, until 3, E4) | +| 7 | Stream order by seq | logs/sqlite/mod.rs:51–52 | key order | V (E4) | +| 8 | `get_log_size` on an empty range returns `Some((0, 0))`; the trait says Option. Predicted an error from u32 fields (`models.rs:10–15`); refuted | logs/sqlite/mod.rs:173–200 | return `Some((0, 0))`. Callers treat zero bytes as nothing to send (log_sync.rs:188) | V (observed); mechanism not traced [N] | +| 9 | Prune: `DELETE seq < until` on the pool, outside any transaction; removes whole rows, headers included, although the doc says bodies | logs/sqlite/mod.rs:249–251, 258–273 | range delete (`retain_in` or `extract_from_if`, table.rs:194–288); decide headers or bodies explicitly | V (has_operation false after prune, E4) | +| 10 | One store-wide transaction shared by all clones; `_tx` methods and writes need an open one, else `TransactionMissing` | sqlite.rs:259–264, 305–313; cursors/sqlite.rs:50 | a write-slot `Option` behind a permit; the same hazard: any task's `_tx` call uses the open transaction | V (E4, step 0; sqlite test `serialized_transactions`) | +| 11 | Single writer: `Semaphore(1)`; `BEGIN IMMEDIATE` | sqlite.rs:275, 345–350, 386 | tokio Semaphore(1); `begin_write` through `spawn_blocking` (it blocks while a writer is open, db.rs:1755–1759) | V | +| 12 | Uncommitted permit: async rollback in a spawned task; a `?` inside `tx!` takes this path | sqlite.rs:459–476; macros.rs:17–26 | WriteTransaction drop aborts (transactions.rs:2744–2750); clear the slot in Drop | V | +| 13 | Non-transactional reads (pool) see committed data; `_tx` reads see the open transaction | operations/sqlite.rs:92–107 vs 113–128; logs/sqlite/mod.rs:62–82 vs 92–118 | `begin_read` snapshot vs the write txn (read-your-writes) | V | +| 14 | Journal mode is the SQLite default: no `journal_mode` or WAL pragma is set | sqlite.rs:185–186 (none set) | nothing to copy; redb readers do not block the writer | V (none set); I (locking effect) [N, not run] | +| 15 | Upserts and sets: cursors `ON CONFLICT DO UPDATE`; groups and key_secrets `INSERT OR REPLACE`; topics `UNIQUE` plus `INSERT OR IGNORE` | cursors/sqlite.rs:53–62; groups/sqlite.rs:29; key_secrets/sqlite.rs:51; topics migration line 8, topics/sqlite.rs:33 | insert overwrites; insert-if-absent for topics | V | +| 16 | Unordered results: `resolve` and `resolve_topics` have no `ORDER BY`; `topics()` uses `DISTINCT` without order | topics/sqlite.rs:103–110, 149–156, 186–190 | key order (callers do not depend on order [I]) | V (text); I (callers) | +| 17 | Orderer: queue index is `MAX + 1` inside the txn; FIFO by `queue_index` with an `in_queue` flag; re-queue on re-mark; pending dedupe by set digest; `ready` counts dequeued rows | orderer/sqlite.rs:25–41, 76–117, 136–147, 296–297, 318, 355–375; ordering migration lines 12, 66–72 | only if OrdererStore is implemented (not recommended) | V | +| 18 | Keys: log id stored as CBOR bytes; author and hash as hex text | logs/sqlite/mod.rs:70–72, 102–103; operations/sqlite.rs:69, 75 | fixed binary keys (32-byte author, u32 BE seq, 32-byte hash), as S6 and S7 did | V | +| 19 | Every decode re-verifies the signature | operations/sqlite.rs:218; any.rs:344; identity.rs:197 | same cost unless decoded headers are cached | V | +| 20 | Schema evolution: 11 migrations, e.g. rename `public_key` to `verifying_key` | migrations/ | none; data may be discarded (task-02) | V | + +## Effort and risk (step 5) + +| Option | Implementation (lines) | Tests (lines) | Dependency effect | Risk | +|---|---|---|---|---| +| **(a)** Traits over redb in our crate, minimal set: Transaction, OperationStore, LogStore, TopicStore (+ CursorStore if needed) | 650–900 [I] | 300–450 [I]; p2panda-store's logs, operations and topics tests are 581 lines with 11 `temporary()` calls [V]; bodies call trait methods [I] | `default-features = false`: no sqlx, sqlite or tokio in the normal tree [V]. Add `macros` alone for `tx!` (no dependency) [V] | Medium. Store-wide transaction shared by all tasks; replicated, not fixed [V behaviour]. Redb `Range` owns its snapshot (table.rs:919–935, 1129–1140), so streams can be `'static` [V source]. No runtime test yet [N] | +| (a) + OrdererStore | +300–400 [I] | +150 [I] | same | High. The most complex SQLite port (528 lines [V]). Our waiting queue needs caps and expiry the trait lacks, so we would write it anyway | +| (a) + GroupsStore, KeySecrets, KeyRegistry, Spaces, Processor | +150–300 [I] | +100 [I] | each feature implies `sqlite`, so sqlx returns [V, E3] | Medium: sqlx in the graph, or copy the trait definitions (about 30 lines each [I]) | +| **(b)** Fork: replace the SQLite backend with redb, traits unchanged | same as (a): 650–900 [I], plus the feature impls if the features are kept | port or delete p2panda-store's suites: 1,379 lines [V] | removes sqlx and the feature implications, so every trait and crate is usable without SQLite [I] | Medium-high. Deletes 3,526 lines of SQLite code and 11 migrations [V]; 209 downstream lines to rename or alias [V]; 18 store files differ from 0.7.1, so each upstream bump conflicts with the deleted files [V diff; I consequence] | +| **(c)** Own store API, no p2panda-store (N3's alternative) | 500–700 [I] | 250–350 [I] | no p2panda crate in the store path; our ingest (about 100 lines of logic, ingest/operation.rs:97–196 [V]) and range sync | Low to medium. No interop with p2panda-sync or p2panda-stream | + +## Options + +| Option | What we get | What we give up | When | +|---|---|---|---| +| (a) Traits over redb, minimal set, no p2panda-sync or -stream | the owner's preferred shape; no sqlx; about 650–900 lines; no fork | GroupsStore, KeySecrets and the other feature traits (they need sqlx); p2panda's LogSync and ingest processors | Now (recommended) | +| (a) + p2panda-sync / -stream | LogSync and processors work with our store | sqlx and libsqlite3-sys in the graph; link check against libsql-ffi not done [N] | Only if N5 keeps LogSync and a SQLite-linked binary is acceptable | +| (b) Fork | no SQLite anywhere; all traits and crates usable | 3,526 lines deleted; ongoing merges against 18 changed files; ~200 downstream edits; owned maintenance | If LogSync must stay and no SQLite may be linked (the owner accepts this) | +| (c) Own API | smallest surface; explicit transactions; our fork rules directly | no interop with p2panda-sync or -stream; a new API to document | If we never use p2panda-sync or -stream | +| (d) Keep p2panda-store's SQLite | works today | SQLite stays; the owner said nothing has to keep SQLite | Not analysed | + +## Recommendation (step 6) + +**Choose (a): implement Transaction, OperationStore, LogStore and TopicStore over redb in our crate, with p2panda-store at `default-features = false` (plus `macros` for `tx!`). Do not fork now. Do not implement OrdererStore. Do not put p2panda-sync or p2panda-stream in the graph yet.** + +Reasons: +1. It matches the owner's preference. The accepted decision in the main design (2026-10-11T16-08-10Z, "p2panda-store traits over redb", line 869) says the same [V]. +2. Nothing blocks it. A type of ours implements `Transaction` and `LogStore` with default features off, and the normal tree has no sqlx, sqlite or tokio [V, E2]. The redb pieces check out: the write transaction can sit behind a permit and cross awaits in `Send` futures, and a range can own its snapshot [V, E1; table.rs]. +3. The cost is small and there is nothing to rebase. About 650–900 lines plus tests, against 3,526 lines of deletions and a permanent merge with 18 changed files for the fork [I, V]. +4. The SQL-only behaviours in step 4 are simple to match. The two we must decide ourselves (fork handling and the tie at equal seq) are ours anyway, because the design stores fork proofs and freezes the chain. +5. OrdererStore cannot express our caps and expiry (design line 804), so our waiting table is needed regardless, and OrdererStore is the riskiest SQL port [V]. +6. GroupsStore and the other feature traits are not worth the sqlx they bring. Persist p2panda-auth state in our own table (the matrix's column I becomes ○). + +**What would change it:** +- **N5 keeps LogSync (p2panda-sync) for small groups.** Then sqlx returns under (a). If the binary must not link SQLite, choose (b), which the owner accepts. If not, first measure LogSync at small chain counts: S7 measured the crossover only at 1,000 and 10,000 chains [V], so the 40-chain threshold in N5 is untested. +- **The port shows the store-wide transaction is unsafe for ingest.** For example, two tasks' `_tx` calls landing in one transaction. Then the fork with explicit transaction handles (a trait change), or option (c). +- **We use neither p2panda-sync nor p2panda-stream.** The traits then add a shape but no interop. Option (c) is about the same size and avoids the global transaction. Keep (a) if the owner still prefers traits. +- **Power-loss testing (N13) finds redb weaker than needed.** Change the engine, not the traits. +- **We need a second process to read the index while the node runs.** redb refuses a second opener (`DatabaseAlreadyOpen`, page_manager.rs:739–805 [V]). Then SQLite in WAL mode is the answer, and p2panda-store's `SqliteStore` becomes viable as is. + +## Not verified + +- **[N] No redb implementation of the traits exists.** The effort figures are calibrated estimates, not measurements. +- **[N] Concurrency.** The store-wide transaction slot, dirty reads by other tasks, the spawned-rollback path, and streams held across awaits were not run. +- **[N] Power loss** (N13) was not tested. +- **[I, not run] Locking.** No journal_mode is set, so SQLite runs in the default rollback-journal mode, where a long reader can delay a writer's commit. This follows from SQLite's documented locking rules; it was not measured. +- **[N] Linking.** libsql-ffi has no `links` key [V: Cargo.toml], so cargo accepts it alongside libsqlite3-sys. Whether the two can coexist in one binary (duplicate SQLite symbols) was not built. +- **[V read, N build] Downstream dependencies.** The `sqlite` implications in p2panda-sync, -stream, -spaces and -net were read from Cargo.toml, not built. +- **[N] Tie-break.** `get_latest_entry` on equal seq was observed once (first-inserted). The rule is unspecified. +- **[N] Other traits.** AddressBook, Spaces, Processor and KeyRegistry were listed, not analysed. +- **[N] OrdererStore.** Read, not run. +- **[N] get_log_size mechanism.** The result is observed; why SUM over no rows decodes to 0 was not traced. +- **[N] Performance.** S6 and S7 numbers are for their own layouts; no trait-level throughput was measured. +- **[N] Test bodies.** I did not read every p2panda-store test body to confirm it uses only trait methods. The constructor swap is the expected port work. diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/store-fit/nosqlite/Cargo.lock b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/store-fit/nosqlite/Cargo.lock new file mode 100644 index 0000000000..403f205334 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/store-fit/nosqlite/Cargo.lock @@ -0,0 +1,1734 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "allocator-api2" +version = "0.2.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" + +[[package]] +name = "arrayvec" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56" + +[[package]] +name = "async-stream" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b5a71a6f37880a80d1d7f19efd781e4b5de42c88f0722cc13bcb6cc2cfe8476" +dependencies = [ + "async-stream-impl", + "futures-core", + "pin-project-lite", +] + +[[package]] +name = "async-stream-impl" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7c24de15d275a1ecfd47a380fb4d5ec9bfe0933f309ed5e705b775596a3574d" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "atoi" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f28d99ec8bfea296261ca1af174f24225171fea9664ba9003cbebee704810528" +dependencies = [ + "num-traits", +] + +[[package]] +name = "autocfg" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" + +[[package]] +name = "base64" +version = "0.22.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" + +[[package]] +name = "base64ct" +version = "1.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2af50177e190e07a26ab74f8b1efbfe2ef87da2116221318cb1c2e82baf7de06" + +[[package]] +name = "bitflags" +version = "2.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06" +dependencies = [ + "serde_core", +] + +[[package]] +name = "blake3" +version = "1.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d9e454fc11f76977dc803893aff6304ed33d6a26efae8696573bea74baa27ae" +dependencies = [ + "arrayvec", + "cc", + "cfg-if", + "constant_time_eq", + "cpufeatures 0.3.1", +] + +[[package]] +name = "block-buffer" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" +dependencies = [ + "generic-array", +] + +[[package]] +name = "block-buffer" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2f6c7dbe95a6ed67ad9f18e57daf93a2f034c524b99fd2b76d18fdfeb6660aa" +dependencies = [ + "hybrid-array", +] + +[[package]] +name = "byteorder" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" + +[[package]] +name = "bytes" +version = "1.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04" + +[[package]] +name = "cbor-core" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9f70473b5194d5f6e3c271dc6d0f63f6b17cc5d004af959e9ed0be8c1dadcdb" +dependencies = [ + "serde", +] + +[[package]] +name = "cc" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50a649af8a827553c29fb0cb4bd4a6f1a0dd695bd3232b9bc98bd9c8a3ffbb8b" +dependencies = [ + "find-msvc-tools", + "shlex", +] + +[[package]] +name = "cfg-if" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600" + +[[package]] +name = "chacha20" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65c35e4b699c7e15ccbe7ee35c005e4fc0a278d22238a2857e6ce2dadeda1b06" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "rand_core 0.10.1", +] + +[[package]] +name = "cmov" +version = "0.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c9ea0ac24bc397ab3c98583a3c9ba74fa56b09a4449bbe172b9b1ddb016027a" + +[[package]] +name = "const-oid" +version = "0.9.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" + +[[package]] +name = "constant_time_eq" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d52eff69cd5e647efe296129160853a42795992097e8af39800e1060caeea9b" + +[[package]] +name = "cpufeatures" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" +dependencies = [ + "libc", +] + +[[package]] +name = "cpufeatures" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ca28b0ae3115b884660db4118d803791fd6756b6e88f39c0f3f7859060d7566" +dependencies = [ + "libc", +] + +[[package]] +name = "crc" +version = "3.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5eb8a2a1cd12ab0d987a5d5e825195d372001a4094a0376319d5a0ad71c1ba0d" +dependencies = [ + "crc-catalog", +] + +[[package]] +name = "crc-catalog" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "217698eaf96b4a3f0bc4f3662aaa55bdf913cd54d7204591faa790070c6d0853" + +[[package]] +name = "crossbeam-queue" +version = "0.3.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03e8bd762f7479489c70ed6c768ddca99d7296857de437a68dcb2a94365b3fae" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-utils" +version = "0.8.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a31eee39dddec8330830986fcd7625edb5a24ec90ea038215273bbc3adb08ac6" + +[[package]] +name = "crypto-common" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" +dependencies = [ + "generic-array", + "typenum", +] + +[[package]] +name = "crypto-common" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453" +dependencies = [ + "hybrid-array", +] + +[[package]] +name = "ctutils" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03bb0e1cc970d482d121d9a1744999169b69a07470b3d644a7894e53fcaf4574" +dependencies = [ + "cmov", +] + +[[package]] +name = "curve25519-dalek" +version = "4.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "curve25519-dalek-derive", + "digest 0.10.7", + "fiat-crypto", + "rustc_version", + "subtle", + "zeroize", +] + +[[package]] +name = "curve25519-dalek-derive" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "der" +version = "0.7.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb" +dependencies = [ + "const-oid", + "zeroize", +] + +[[package]] +name = "digest" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" +dependencies = [ + "block-buffer 0.10.4", + "crypto-common 0.1.7", +] + +[[package]] +name = "digest" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2" +dependencies = [ + "block-buffer 0.12.1", + "crypto-common 0.2.2", + "ctutils", +] + +[[package]] +name = "displaydoc" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "dotenvy" +version = "0.15.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1aaf95b3e5c8f23aa320147307562d361db0ae0d51242340f558153b4eb2439b" + +[[package]] +name = "ed25519" +version = "2.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" +dependencies = [ + "pkcs8", + "signature", +] + +[[package]] +name = "ed25519-dalek" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70e796c081cee67dc755e1a36a0a172b897fab85fc3f6bc48307991f64e4eca9" +dependencies = [ + "curve25519-dalek", + "ed25519", + "rand_core 0.6.4", + "serde", + "sha2 0.10.9", + "subtle", + "zeroize", +] + +[[package]] +name = "either" +version = "1.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be" +dependencies = [ + "serde", +] + +[[package]] +name = "equivalent" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" + +[[package]] +name = "etcetera" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de48cc4d1c1d97a20fd819def54b890cadde72ed3ad0c614822a0a433361be96" +dependencies = [ + "cfg-if", + "windows-sys", +] + +[[package]] +name = "event-listener" +version = "5.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a23add41df1562121a9393cb065eab5146a1242410f23a644851e90cfd669d2" +dependencies = [ + "parking", + "pin-project-lite", +] + +[[package]] +name = "fiat-crypto" +version = "0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d" + +[[package]] +name = "find-msvc-tools" +version = "0.1.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aedcfb3409746eddb02b9e19ebda1c3394f759a152e48ee875a0844d1b955484" + +[[package]] +name = "fixedbitset" +version = "0.5.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d674e81391d1e1ab681a28d99df07927c6d4aa5b027d7da16ba32d1d21ecd99" + +[[package]] +name = "flume" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e139bc46ca777eb5efaf62df0ab8cc5fd400866427e56c68b22e414e53bd3be" +dependencies = [ + "futures-core", + "futures-sink", + "spin", +] + +[[package]] +name = "foldhash" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" + +[[package]] +name = "foldhash" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" + +[[package]] +name = "form_urlencoded" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" +dependencies = [ + "percent-encoding", +] + +[[package]] +name = "futures-channel" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1f9e3d69d39e4862ffed03ed071a76f9a13ba1d9109d355b0f0aa6b15e393c4" +dependencies = [ + "futures-core", + "futures-sink", +] + +[[package]] +name = "futures-core" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e" + +[[package]] +name = "futures-executor" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "031b47cf1a3c6cc8bc2fc76cd437f521619387907d469316e7c0bc278f1f5432" +dependencies = [ + "futures-core", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-intrusive" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d930c203dd0b6ff06e0201a4a2fe9149b43c684fd4420555b26d21b1a02956f" +dependencies = [ + "futures-core", + "lock_api", + "parking_lot", +] + +[[package]] +name = "futures-io" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53c0fa8157de1303bfffdaa1cc2a673bfffb60102f76b0ef4441659124373fed" + +[[package]] +name = "futures-macro" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fb9654ba8355388abeb8dcb4fc62f511300867002afc858860463bdd9fe0c44" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "futures-sink" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1944426bf7d03f1d14f708785e4b33efd750b36d48a157b836b3efc15ede8e1d" + +[[package]] +name = "futures-task" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd" + +[[package]] +name = "futures-util" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc" +dependencies = [ + "futures-core", + "futures-io", + "futures-macro", + "futures-sink", + "futures-task", + "memchr", + "pin-project-lite", + "slab", +] + +[[package]] +name = "generic-array" +version = "0.14.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +dependencies = [ + "typenum", + "version_check", +] + +[[package]] +name = "getrandom" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0" +dependencies = [ + "cfg-if", + "libc", + "wasi", +] + +[[package]] +name = "getrandom" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" +dependencies = [ + "cfg-if", + "libc", + "r-efi", + "rand_core 0.10.1", +] + +[[package]] +name = "hashbrown" +version = "0.15.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" +dependencies = [ + "foldhash 0.1.5", +] + +[[package]] +name = "hashbrown" +version = "0.16.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" +dependencies = [ + "allocator-api2", + "equivalent", + "foldhash 0.2.0", +] + +[[package]] +name = "hashbrown" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" + +[[package]] +name = "hashlink" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "824e001ac4f3012dd16a264bec811403a67ca9deb6c102fc5049b32c4574b35f" +dependencies = [ + "hashbrown 0.16.1", +] + +[[package]] +name = "heck" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" + +[[package]] +name = "hex" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" +dependencies = [ + "serde", +] + +[[package]] +name = "hkdf" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4aaa26c720c68b866f2c96ef5c1264b3e6f473fe5d4ce61cd44bbe913e553018" +dependencies = [ + "hmac", +] + +[[package]] +name = "hmac" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6303bc9732ae41b04cb554b844a762b4115a61bfaa81e3e83050991eeb56863f" +dependencies = [ + "digest 0.11.3", +] + +[[package]] +name = "hybrid-array" +version = "0.4.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27f864f10dfb56725ce5ce5472bc52252c8f93a4ab86327122cebf62c5f59a17" +dependencies = [ + "typenum", +] + +[[package]] +name = "icu_collections" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa68d21081c4a05d5a901a1c62add574c77048b6a1c67be3b50ce0b60d4ca513" +dependencies = [ + "displaydoc", + "potential_utf", + "utf8_iter", + "yoke", + "zerofrom", + "zerovec", +] + +[[package]] +name = "icu_locale_core" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d56e28588da92eee5c3201a6eff33fabdd49b62269c8938d4ff050ce4d900deb" +dependencies = [ + "displaydoc", + "litemap", + "tinystr", + "writeable", + "zerovec", +] + +[[package]] +name = "icu_normalizer" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12f9cf5f235641ed274641dd81c3f28d870e276763d0797aeeab72317b1c646f" +dependencies = [ + "icu_collections", + "icu_normalizer_data", + "icu_properties", + "icu_provider", + "smallvec", + "zerovec", +] + +[[package]] +name = "icu_normalizer_data" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1563da1ed3e0b3bf3d74c9b85917ac9c56464d2f57242270c09c9e752f8021a0" + +[[package]] +name = "icu_properties" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e7ca276ad3145661a65914e6daf131ca5120cd3dcee8f8f3214b8875184a148" +dependencies = [ + "displaydoc", + "icu_collections", + "icu_locale_core", + "icu_properties_data", + "icu_provider", + "zerotrie", + "zerovec", +] + +[[package]] +name = "icu_properties_data" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e590f038c1464a96894fd6d10127e90a8be4509f56ff7ecef851b15cee0b7caa" + +[[package]] +name = "icu_provider" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d27bbb9d3abbefac45d55f647c9de1d44aafcd1186eb91879afef17c396c3e73" +dependencies = [ + "displaydoc", + "icu_locale_core", + "writeable", + "yoke", + "zerofrom", + "zerotrie", + "zerovec", +] + +[[package]] +name = "idna" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" +dependencies = [ + "idna_adapter", + "smallvec", + "utf8_iter", +] + +[[package]] +name = "idna_adapter" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714" +dependencies = [ + "icu_normalizer", + "icu_properties", +] + +[[package]] +name = "indexmap" +version = "2.14.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855" +dependencies = [ + "equivalent", + "hashbrown 0.17.1", +] + +[[package]] +name = "itoa" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" + +[[package]] +name = "libc" +version = "0.2.190" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78" + +[[package]] +name = "libsqlite3-sys" +version = "0.37.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1f111c8c41e7c61a49cd34e44c7619462967221a6443b0ec299e0ac30cfb9b1" +dependencies = [ + "cc", + "pkg-config", + "vcpkg", +] + +[[package]] +name = "litemap" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47d9d19d1d6efa0109d2f65ff4c85cddd50bd572e5a00127ab10987290bcefae" + +[[package]] +name = "lock_api" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" +dependencies = [ + "scopeguard", +] + +[[package]] +name = "log" +version = "0.4.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6" + +[[package]] +name = "md-5" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69b6441f590336821bb897fb28fc622898ccceb1d6cea3fde5ea86b090c4de98" +dependencies = [ + "cfg-if", + "digest 0.11.3", +] + +[[package]] +name = "memchr" +version = "2.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" + +[[package]] +name = "mio" +version = "1.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1788edb87fdc09c7e26304471e2f5be8cdefb1b6930d6e3985fc02ff53bf86ee" +dependencies = [ + "libc", + "wasi", + "windows-sys", +] + +[[package]] +name = "nosqlite" +version = "0.0.0" +dependencies = [ + "futures-util", + "p2panda-core", + "p2panda-store", +] + +[[package]] +name = "num-traits" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +dependencies = [ + "autocfg", +] + +[[package]] +name = "once_cell" +version = "1.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" + +[[package]] +name = "p2panda-auth" +version = "0.7.1" +source = "git+https://github.com/p2panda/p2panda?rev=3e84cac48bba05c6857cce2ec433862b97f8d53c#3e84cac48bba05c6857cce2ec433862b97f8d53c" +dependencies = [ + "p2panda-core", + "petgraph", + "serde", + "thiserror", + "tracing", +] + +[[package]] +name = "p2panda-core" +version = "0.7.1" +source = "git+https://github.com/p2panda/p2panda?rev=3e84cac48bba05c6857cce2ec433862b97f8d53c#3e84cac48bba05c6857cce2ec433862b97f8d53c" +dependencies = [ + "blake3", + "cbor-core", + "ed25519-dalek", + "hex", + "rand 0.8.8", + "serde", + "serde_bytes", + "thiserror", +] + +[[package]] +name = "p2panda-store" +version = "0.7.1" +source = "git+https://github.com/p2panda/p2panda?rev=3e84cac48bba05c6857cce2ec433862b97f8d53c#3e84cac48bba05c6857cce2ec433862b97f8d53c" +dependencies = [ + "async-stream", + "futures-util", + "p2panda-auth", + "p2panda-core", + "serde", + "sqlx", + "thiserror", + "tokio", +] + +[[package]] +name = "parking" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba" + +[[package]] +name = "parking_lot" +version = "0.12.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" +dependencies = [ + "lock_api", + "parking_lot_core", +] + +[[package]] +name = "parking_lot_core" +version = "0.9.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" +dependencies = [ + "cfg-if", + "libc", + "redox_syscall", + "smallvec", + "windows-link", +] + +[[package]] +name = "percent-encoding" +version = "2.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" + +[[package]] +name = "petgraph" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8701b58ea97060d5e5b155d383a69952a60943f0e6dfe30b04c287beb0b27455" +dependencies = [ + "fixedbitset", + "hashbrown 0.15.5", + "indexmap", + "serde", + "serde_derive", +] + +[[package]] +name = "pin-project-lite" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" + +[[package]] +name = "pkcs8" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" +dependencies = [ + "der", + "spki", +] + +[[package]] +name = "pkg-config" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548" + +[[package]] +name = "potential_utf" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d83eb9bc6d8e5cf568e7a1101d60ee05e81ed50ea106026f3d18deeb046d7661" +dependencies = [ + "zerovec", +] + +[[package]] +name = "ppv-lite86" +version = "0.2.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" +dependencies = [ + "zerocopy", +] + +[[package]] +name = "proc-macro2" +version = "1.0.107" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "quote" +version = "1.0.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "r-efi" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" + +[[package]] +name = "rand" +version = "0.8.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e058c7de0b26af77780c769414d6257830bb240f3c38477dbc2c16e5f54d6d4c" +dependencies = [ + "libc", + "rand_chacha", + "rand_core 0.6.4", +] + +[[package]] +name = "rand" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65c9fb96cbc91e3478eaae79a69fcd3f1ae4ad052e471fe6732fff548984b4af" +dependencies = [ + "chacha20", + "getrandom 0.4.3", + "rand_core 0.10.1", +] + +[[package]] +name = "rand_chacha" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +dependencies = [ + "ppv-lite86", + "rand_core 0.6.4", +] + +[[package]] +name = "rand_core" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +dependencies = [ + "getrandom 0.2.17", +] + +[[package]] +name = "rand_core" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" + +[[package]] +name = "redox_syscall" +version = "0.5.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" +dependencies = [ + "bitflags", +] + +[[package]] +name = "rustc_version" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" +dependencies = [ + "semver", +] + +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + +[[package]] +name = "semver" +version = "1.0.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd" + +[[package]] +name = "serde" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba" +dependencies = [ + "serde_core", + "serde_derive", +] + +[[package]] +name = "serde_bytes" +version = "0.11.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5d440709e79d88e51ac01c4b72fc6cb7314017bb7da9eeff678aa94c10e3ea8" +dependencies = [ + "serde", + "serde_core", +] + +[[package]] +name = "serde_core" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "serde_json" +version = "1.0.154" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6" +dependencies = [ + "itoa", + "memchr", + "serde", + "serde_core", + "zmij", +] + +[[package]] +name = "sha1" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aacc4cc499359472b4abe1bf11d0b12e688af9a805fa5e3016f9a386dc2d0214" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "digest 0.11.3", +] + +[[package]] +name = "sha2" +version = "0.10.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "digest 0.10.7", +] + +[[package]] +name = "sha2" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "digest 0.11.3", +] + +[[package]] +name = "shlex" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba" + +[[package]] +name = "signature" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" +dependencies = [ + "rand_core 0.6.4", +] + +[[package]] +name = "slab" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" + +[[package]] +name = "smallvec" +version = "1.16.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b3dc8af474f516a851ff4bd12db780f948b9250ad37211e4eec0bccea54e01b" +dependencies = [ + "serde", +] + +[[package]] +name = "socket2" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3d1e2c7f27f8d4cb10542a02c49005dbd6e93095799d6f3be745fae9f8fedd4" +dependencies = [ + "libc", + "windows-sys", +] + +[[package]] +name = "spin" +version = "0.9.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3763264f6b73151db08c50ff20d7d8a0b8796e021cdea7ceedad07b80155fa0e" +dependencies = [ + "lock_api", +] + +[[package]] +name = "spki" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" +dependencies = [ + "base64ct", + "der", +] + +[[package]] +name = "sqlx" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "378620ccc25c62c89d8be1c819e76a88d59bdcc3304733330788948e619bfd71" +dependencies = [ + "sqlx-core", + "sqlx-macros", + "sqlx-mysql", + "sqlx-postgres", + "sqlx-sqlite", +] + +[[package]] +name = "sqlx-core" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05b44e85bf579a8eeb4ceaa77a3a523baf2bf0e9bac7e40f405d537b5d2d5ccb" +dependencies = [ + "base64", + "bytes", + "cfg-if", + "crc", + "crossbeam-queue", + "either", + "event-listener", + "futures-core", + "futures-intrusive", + "futures-io", + "futures-util", + "hashbrown 0.16.1", + "hashlink", + "indexmap", + "log", + "memchr", + "percent-encoding", + "serde", + "serde_json", + "sha2 0.10.9", + "smallvec", + "thiserror", + "tokio", + "tokio-stream", + "tracing", + "url", +] + +[[package]] +name = "sqlx-macros" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd2b84f2bc39a5705ef27ec785a11c934a41bbd4a24941e257927cddc26b60bf" +dependencies = [ + "proc-macro2", + "quote", + "sqlx-core", + "sqlx-macros-core", + "syn 2.0.119", +] + +[[package]] +name = "sqlx-macros-core" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb8d96de5fdc85a5c4ec813432b523ec637e80ba98f046555f75f7908ddac7c3" +dependencies = [ + "cfg-if", + "dotenvy", + "either", + "heck", + "hex", + "proc-macro2", + "quote", + "serde", + "serde_json", + "sha2 0.10.9", + "sqlx-core", + "sqlx-mysql", + "sqlx-postgres", + "sqlx-sqlite", + "syn 2.0.119", + "thiserror", + "tokio", + "url", +] + +[[package]] +name = "sqlx-mysql" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90b8020fe17c5f2c245bfa2505d7ef59c5604839527c740266ad2214acebea27" +dependencies = [ + "bitflags", + "byteorder", + "bytes", + "crc", + "digest 0.11.3", + "dotenvy", + "either", + "futures-core", + "futures-util", + "generic-array", + "log", + "percent-encoding", + "serde", + "sha1", + "sha2 0.11.0", + "sqlx-core", + "thiserror", + "tracing", +] + +[[package]] +name = "sqlx-postgres" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87a2bdd6e83f6b3ea525ca9fee568030508b58355a43d0b2c1674d5f79dcd65e" +dependencies = [ + "atoi", + "base64", + "bitflags", + "byteorder", + "crc", + "dotenvy", + "etcetera", + "futures-channel", + "futures-core", + "futures-util", + "hex", + "hkdf", + "hmac", + "itoa", + "log", + "md-5", + "memchr", + "rand 0.10.3", + "serde", + "serde_json", + "sha2 0.11.0", + "smallvec", + "sqlx-core", + "stringprep", + "thiserror", + "tracing", + "whoami", +] + +[[package]] +name = "sqlx-sqlite" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "488e99c397a62007e4229aec669a179816339afc6d2620ca6fa420dbee2e982c" +dependencies = [ + "atoi", + "flume", + "form_urlencoded", + "futures-channel", + "futures-core", + "futures-executor", + "futures-intrusive", + "futures-util", + "libsqlite3-sys", + "log", + "percent-encoding", + "serde", + "sqlx-core", + "thiserror", + "tracing", + "url", +] + +[[package]] +name = "stable_deref_trait" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" + +[[package]] +name = "stringprep" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b4df3d392d81bd458a8a621b8bffbd2302a12ffe288a9d931670948749463b1" +dependencies = [ + "unicode-bidi", + "unicode-normalization", + "unicode-properties", +] + +[[package]] +name = "subtle" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" + +[[package]] +name = "syn" +version = "2.0.119" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "3.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d62a2e0561533f2ca2561d0cf27fd9fedb640a1bf2616ff5d5c80d99017faadc" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "synstructure" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "901704edd0dfe137f1987838ee4f259e4e063c31371bdb423f7ae38ec6f77f02" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "thiserror" +version = "2.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e" +dependencies = [ + "thiserror-impl", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "tinystr" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1e27c91459209c2986af3dcf603a5a74a4368754ce37414f59acc971167f643" +dependencies = [ + "displaydoc", + "zerovec", +] + +[[package]] +name = "tinyvec" +version = "1.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd3ca314f692efd6c868f8408f53fe444634a845f96c028b97d35f6a1f79f0ee" + +[[package]] +name = "tokio" +version = "1.53.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e95f91fcc7a621e8b030f6aa23c71fe9838ae2fb4d8118b75602a328f5144044" +dependencies = [ + "bytes", + "libc", + "mio", + "pin-project-lite", + "socket2", + "windows-sys", +] + +[[package]] +name = "tokio-stream" +version = "0.1.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3d06f0b082ba57c26b79407372e57cf2a1e28124f78e9479fe80322cf53420b" +dependencies = [ + "futures-core", + "pin-project-lite", + "tokio", +] + +[[package]] +name = "tracing" +version = "0.1.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100" +dependencies = [ + "log", + "pin-project-lite", + "tracing-attributes", + "tracing-core", +] + +[[package]] +name = "tracing-attributes" +version = "0.1.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "tracing-core" +version = "0.1.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a" +dependencies = [ + "once_cell", +] + +[[package]] +name = "typenum" +version = "1.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" + +[[package]] +name = "unicode-bidi" +version = "0.3.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c1cb5db39152898a79168971543b1cb5020dff7fe43c8dc468b0885f5e29df5" + +[[package]] +name = "unicode-ident" +version = "1.0.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d245f478577f809a851594d02313b640fb437e0bb33866753cff937863096954" + +[[package]] +name = "unicode-normalization" +version = "0.1.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5fd4f6878c9cb28d874b009da9e8d183b5abc80117c40bbd187a1fde336be6e8" +dependencies = [ + "tinyvec", +] + +[[package]] +name = "unicode-properties" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7df058c713841ad818f1dc5d3fd88063241cc61f49f5fbea4b951e8cf5a8d71d" + +[[package]] +name = "url" +version = "2.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" +dependencies = [ + "form_urlencoded", + "idna", + "percent-encoding", + "serde", +] + +[[package]] +name = "utf8_iter" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" + +[[package]] +name = "vcpkg" +version = "0.2.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" + +[[package]] +name = "version_check" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" + +[[package]] +name = "wasi" +version = "0.11.1+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" + +[[package]] +name = "whoami" +version = "2.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "626c4bac6755d76ffc12cb01b2eac751db1996b9e0041de9aa02c8c211ddc82c" + +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + +[[package]] +name = "windows-sys" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" +dependencies = [ + "windows-link", +] + +[[package]] +name = "writeable" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc" + +[[package]] +name = "yoke" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5" +dependencies = [ + "stable_deref_trait", + "yoke-derive", + "zerofrom", +] + +[[package]] +name = "yoke-derive" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec8ebde2db3681e8c9980cc27822030e68752690ddfa9473e739aeb4dbde6d71" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", + "synstructure", +] + +[[package]] +name = "zerocopy" +version = "0.8.62" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86502bf56ac7c77571a32e2647bb2a15894565e981fb2a48d7bde2d91c965a9d" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.8.62" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5457206954b06561e2608c7e19cf58b1926586d999c246eebe4502f7e2039d1a" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "zerofrom" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272" +dependencies = [ + "zerofrom-derive", +] + +[[package]] +name = "zerofrom-derive" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f75b4683f6c7f45248d4d64056a24298c6281e0993356d7d1b4a1a962ef10d4a" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", + "synstructure", +] + +[[package]] +name = "zeroize" +version = "1.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e13084392c5e4bc371903e2935a5eaeed24905a7511356b883835e18a78f6879" + +[[package]] +name = "zerotrie" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ea269c3bd32f0a32c321907a2ae912ba6f4649bb0fc764a15627e99a7095a3f" +dependencies = [ + "displaydoc", + "yoke", + "zerofrom", +] + +[[package]] +name = "zerovec" +version = "0.11.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb0464e17806c1d976d5cba29399c7f08e516e279e2ba493f63123b5fca67dd8" +dependencies = [ + "yoke", + "zerofrom", + "zerovec-derive", +] + +[[package]] +name = "zerovec-derive" +version = "0.11.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34df6fc39dbd26ddc9c10e6a2984476e13acce22e64e4487636ef494369225da" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "zmij" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b" diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/store-fit/nosqlite/Cargo.toml b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/store-fit/nosqlite/Cargo.toml new file mode 100644 index 0000000000..1d655fef86 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/store-fit/nosqlite/Cargo.toml @@ -0,0 +1,12 @@ +[package] +name = "nosqlite" +version = "0.0.0" +edition = "2024" +publish = false + +[dependencies] +futures-util = "0.3" +p2panda-core = { git = "https://github.com/p2panda/p2panda", rev = "3e84cac48bba05c6857cce2ec433862b97f8d53c" } +p2panda-store = { git = "https://github.com/p2panda/p2panda", rev = "3e84cac48bba05c6857cce2ec433862b97f8d53c", default-features = false } + +[workspace] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/store-fit/nosqlite/src/lib.rs b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/store-fit/nosqlite/src/lib.rs new file mode 100644 index 0000000000..dd78aa2e7e --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/store-fit/nosqlite/src/lib.rs @@ -0,0 +1,78 @@ +//! Can a type in our crate implement p2panda-store's traits with default-features = false? +use std::collections::BTreeMap; + +use futures_util::stream::{self, BoxStream}; +use p2panda_core::{AnyOperation, Hash, SeqNum, VerifyingKey}; +use p2panda_store::Transaction; +use p2panda_store::logs::{LogEntry, LogStore}; + +pub struct RedbStore; + +#[derive(Debug)] +pub struct StoreError; + +impl std::fmt::Display for StoreError { + fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { + write!(f, "store error") + } +} + +impl std::error::Error for StoreError {} + +impl Transaction for RedbStore { + type Error = StoreError; + type Permit = (); + + async fn begin(&self) -> Result<(), StoreError> { + Ok(()) + } + + async fn rollback(&self, _permit: ()) -> Result<(), StoreError> { + Ok(()) + } + + async fn commit(&self, _permit: ()) -> Result<(), StoreError> { + Ok(()) + } +} + +impl LogStore for RedbStore +where + L: p2panda_core::LogId + Send + Sync + 'static, +{ + type Error = StoreError; + + async fn get_latest_entry(&self, _author: &VerifyingKey, _log_id: &L) -> Result, StoreError> { + Ok(None) + } + + async fn get_latest_entry_tx(&self, _author: &VerifyingKey, _log_id: &L) -> Result, StoreError> { + Ok(None) + } + + async fn get_log_heights(&self, _author: &VerifyingKey, _logs: &[L]) -> Result>, StoreError> { + Ok(None) + } + + async fn get_log_size(&self, _author: &VerifyingKey, _log_id: &L, _after: Option, _until: Option) -> Result, StoreError> { + Ok(None) + } + + fn log_entries(&self, _author: &VerifyingKey, _log_id: &L, _after: Option, _until: Option) -> Result, StoreError>>, StoreError> { + Ok(Box::pin(stream::empty())) + } + + async fn prune_entries(&self, _author: &VerifyingKey, _log_id: &L, _until: &SeqNum) -> Result { + Ok(0) + } +} + +// Ungated trait modules: importing them checks that they compile with default features off. +#[allow(unused_imports)] +use p2panda_store::cursors::CursorStore as _CursorStoreCheck; +#[allow(unused_imports)] +use p2panda_store::operations::OperationStore as _OperationStoreCheck; +#[allow(unused_imports)] +use p2panda_store::orderer::OrdererStore as _OrdererStoreCheck; +#[allow(unused_imports)] +use p2panda_store::topics::TopicStore as _TopicStoreCheck; diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/store-fit/semcheck/Cargo.lock b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/store-fit/semcheck/Cargo.lock new file mode 100644 index 0000000000..18e81d1c9f --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/store-fit/semcheck/Cargo.lock @@ -0,0 +1,1700 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "allocator-api2" +version = "0.2.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" + +[[package]] +name = "arrayvec" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56" + +[[package]] +name = "async-stream" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b5a71a6f37880a80d1d7f19efd781e4b5de42c88f0722cc13bcb6cc2cfe8476" +dependencies = [ + "async-stream-impl", + "futures-core", + "pin-project-lite", +] + +[[package]] +name = "async-stream-impl" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7c24de15d275a1ecfd47a380fb4d5ec9bfe0933f309ed5e705b775596a3574d" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "atoi" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f28d99ec8bfea296261ca1af174f24225171fea9664ba9003cbebee704810528" +dependencies = [ + "num-traits", +] + +[[package]] +name = "autocfg" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" + +[[package]] +name = "base64" +version = "0.22.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" + +[[package]] +name = "base64ct" +version = "1.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2af50177e190e07a26ab74f8b1efbfe2ef87da2116221318cb1c2e82baf7de06" + +[[package]] +name = "bitflags" +version = "2.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06" +dependencies = [ + "serde_core", +] + +[[package]] +name = "blake3" +version = "1.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d9e454fc11f76977dc803893aff6304ed33d6a26efae8696573bea74baa27ae" +dependencies = [ + "arrayvec", + "cc", + "cfg-if", + "constant_time_eq", + "cpufeatures 0.3.1", +] + +[[package]] +name = "block-buffer" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" +dependencies = [ + "generic-array", +] + +[[package]] +name = "block-buffer" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2f6c7dbe95a6ed67ad9f18e57daf93a2f034c524b99fd2b76d18fdfeb6660aa" +dependencies = [ + "hybrid-array", +] + +[[package]] +name = "byteorder" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" + +[[package]] +name = "bytes" +version = "1.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04" + +[[package]] +name = "cbor-core" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9f70473b5194d5f6e3c271dc6d0f63f6b17cc5d004af959e9ed0be8c1dadcdb" +dependencies = [ + "serde", +] + +[[package]] +name = "cc" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50a649af8a827553c29fb0cb4bd4a6f1a0dd695bd3232b9bc98bd9c8a3ffbb8b" +dependencies = [ + "find-msvc-tools", + "shlex", +] + +[[package]] +name = "cfg-if" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600" + +[[package]] +name = "chacha20" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65c35e4b699c7e15ccbe7ee35c005e4fc0a278d22238a2857e6ce2dadeda1b06" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "rand_core 0.10.1", +] + +[[package]] +name = "cmov" +version = "0.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c9ea0ac24bc397ab3c98583a3c9ba74fa56b09a4449bbe172b9b1ddb016027a" + +[[package]] +name = "const-oid" +version = "0.9.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" + +[[package]] +name = "constant_time_eq" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d52eff69cd5e647efe296129160853a42795992097e8af39800e1060caeea9b" + +[[package]] +name = "cpufeatures" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" +dependencies = [ + "libc", +] + +[[package]] +name = "cpufeatures" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ca28b0ae3115b884660db4118d803791fd6756b6e88f39c0f3f7859060d7566" +dependencies = [ + "libc", +] + +[[package]] +name = "crc" +version = "3.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5eb8a2a1cd12ab0d987a5d5e825195d372001a4094a0376319d5a0ad71c1ba0d" +dependencies = [ + "crc-catalog", +] + +[[package]] +name = "crc-catalog" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "217698eaf96b4a3f0bc4f3662aaa55bdf913cd54d7204591faa790070c6d0853" + +[[package]] +name = "crossbeam-queue" +version = "0.3.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03e8bd762f7479489c70ed6c768ddca99d7296857de437a68dcb2a94365b3fae" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-utils" +version = "0.8.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a31eee39dddec8330830986fcd7625edb5a24ec90ea038215273bbc3adb08ac6" + +[[package]] +name = "crypto-common" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" +dependencies = [ + "generic-array", + "typenum", +] + +[[package]] +name = "crypto-common" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453" +dependencies = [ + "hybrid-array", +] + +[[package]] +name = "ctutils" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03bb0e1cc970d482d121d9a1744999169b69a07470b3d644a7894e53fcaf4574" +dependencies = [ + "cmov", +] + +[[package]] +name = "curve25519-dalek" +version = "4.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "curve25519-dalek-derive", + "digest 0.10.7", + "fiat-crypto", + "rustc_version", + "subtle", + "zeroize", +] + +[[package]] +name = "curve25519-dalek-derive" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "der" +version = "0.7.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb" +dependencies = [ + "const-oid", + "zeroize", +] + +[[package]] +name = "digest" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" +dependencies = [ + "block-buffer 0.10.4", + "crypto-common 0.1.7", +] + +[[package]] +name = "digest" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2" +dependencies = [ + "block-buffer 0.12.1", + "crypto-common 0.2.2", + "ctutils", +] + +[[package]] +name = "displaydoc" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "dotenvy" +version = "0.15.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1aaf95b3e5c8f23aa320147307562d361db0ae0d51242340f558153b4eb2439b" + +[[package]] +name = "ed25519" +version = "2.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" +dependencies = [ + "pkcs8", + "signature", +] + +[[package]] +name = "ed25519-dalek" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70e796c081cee67dc755e1a36a0a172b897fab85fc3f6bc48307991f64e4eca9" +dependencies = [ + "curve25519-dalek", + "ed25519", + "rand_core 0.6.4", + "serde", + "sha2 0.10.9", + "subtle", + "zeroize", +] + +[[package]] +name = "either" +version = "1.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be" +dependencies = [ + "serde", +] + +[[package]] +name = "equivalent" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" + +[[package]] +name = "etcetera" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de48cc4d1c1d97a20fd819def54b890cadde72ed3ad0c614822a0a433361be96" +dependencies = [ + "cfg-if", + "windows-sys", +] + +[[package]] +name = "event-listener" +version = "5.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a23add41df1562121a9393cb065eab5146a1242410f23a644851e90cfd669d2" +dependencies = [ + "parking", + "pin-project-lite", +] + +[[package]] +name = "fiat-crypto" +version = "0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d" + +[[package]] +name = "find-msvc-tools" +version = "0.1.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aedcfb3409746eddb02b9e19ebda1c3394f759a152e48ee875a0844d1b955484" + +[[package]] +name = "flume" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e139bc46ca777eb5efaf62df0ab8cc5fd400866427e56c68b22e414e53bd3be" +dependencies = [ + "futures-core", + "futures-sink", + "spin", +] + +[[package]] +name = "foldhash" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" + +[[package]] +name = "form_urlencoded" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" +dependencies = [ + "percent-encoding", +] + +[[package]] +name = "futures-channel" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1f9e3d69d39e4862ffed03ed071a76f9a13ba1d9109d355b0f0aa6b15e393c4" +dependencies = [ + "futures-core", + "futures-sink", +] + +[[package]] +name = "futures-core" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e" + +[[package]] +name = "futures-executor" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "031b47cf1a3c6cc8bc2fc76cd437f521619387907d469316e7c0bc278f1f5432" +dependencies = [ + "futures-core", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-intrusive" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d930c203dd0b6ff06e0201a4a2fe9149b43c684fd4420555b26d21b1a02956f" +dependencies = [ + "futures-core", + "lock_api", + "parking_lot", +] + +[[package]] +name = "futures-io" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53c0fa8157de1303bfffdaa1cc2a673bfffb60102f76b0ef4441659124373fed" + +[[package]] +name = "futures-macro" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fb9654ba8355388abeb8dcb4fc62f511300867002afc858860463bdd9fe0c44" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "futures-sink" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1944426bf7d03f1d14f708785e4b33efd750b36d48a157b836b3efc15ede8e1d" + +[[package]] +name = "futures-task" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd" + +[[package]] +name = "futures-util" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc" +dependencies = [ + "futures-core", + "futures-io", + "futures-macro", + "futures-sink", + "futures-task", + "memchr", + "pin-project-lite", + "slab", +] + +[[package]] +name = "generic-array" +version = "0.14.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +dependencies = [ + "typenum", + "version_check", +] + +[[package]] +name = "getrandom" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0" +dependencies = [ + "cfg-if", + "libc", + "wasi", +] + +[[package]] +name = "getrandom" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" +dependencies = [ + "cfg-if", + "libc", + "r-efi", + "rand_core 0.10.1", +] + +[[package]] +name = "hashbrown" +version = "0.16.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" +dependencies = [ + "allocator-api2", + "equivalent", + "foldhash", +] + +[[package]] +name = "hashbrown" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" + +[[package]] +name = "hashlink" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "824e001ac4f3012dd16a264bec811403a67ca9deb6c102fc5049b32c4574b35f" +dependencies = [ + "hashbrown 0.16.1", +] + +[[package]] +name = "heck" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" + +[[package]] +name = "hex" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" +dependencies = [ + "serde", +] + +[[package]] +name = "hkdf" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4aaa26c720c68b866f2c96ef5c1264b3e6f473fe5d4ce61cd44bbe913e553018" +dependencies = [ + "hmac", +] + +[[package]] +name = "hmac" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6303bc9732ae41b04cb554b844a762b4115a61bfaa81e3e83050991eeb56863f" +dependencies = [ + "digest 0.11.3", +] + +[[package]] +name = "hybrid-array" +version = "0.4.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27f864f10dfb56725ce5ce5472bc52252c8f93a4ab86327122cebf62c5f59a17" +dependencies = [ + "typenum", +] + +[[package]] +name = "icu_collections" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa68d21081c4a05d5a901a1c62add574c77048b6a1c67be3b50ce0b60d4ca513" +dependencies = [ + "displaydoc", + "potential_utf", + "utf8_iter", + "yoke", + "zerofrom", + "zerovec", +] + +[[package]] +name = "icu_locale_core" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d56e28588da92eee5c3201a6eff33fabdd49b62269c8938d4ff050ce4d900deb" +dependencies = [ + "displaydoc", + "litemap", + "tinystr", + "writeable", + "zerovec", +] + +[[package]] +name = "icu_normalizer" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12f9cf5f235641ed274641dd81c3f28d870e276763d0797aeeab72317b1c646f" +dependencies = [ + "icu_collections", + "icu_normalizer_data", + "icu_properties", + "icu_provider", + "smallvec", + "zerovec", +] + +[[package]] +name = "icu_normalizer_data" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1563da1ed3e0b3bf3d74c9b85917ac9c56464d2f57242270c09c9e752f8021a0" + +[[package]] +name = "icu_properties" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e7ca276ad3145661a65914e6daf131ca5120cd3dcee8f8f3214b8875184a148" +dependencies = [ + "displaydoc", + "icu_collections", + "icu_locale_core", + "icu_properties_data", + "icu_provider", + "zerotrie", + "zerovec", +] + +[[package]] +name = "icu_properties_data" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e590f038c1464a96894fd6d10127e90a8be4509f56ff7ecef851b15cee0b7caa" + +[[package]] +name = "icu_provider" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d27bbb9d3abbefac45d55f647c9de1d44aafcd1186eb91879afef17c396c3e73" +dependencies = [ + "displaydoc", + "icu_locale_core", + "writeable", + "yoke", + "zerofrom", + "zerotrie", + "zerovec", +] + +[[package]] +name = "idna" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" +dependencies = [ + "idna_adapter", + "smallvec", + "utf8_iter", +] + +[[package]] +name = "idna_adapter" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714" +dependencies = [ + "icu_normalizer", + "icu_properties", +] + +[[package]] +name = "indexmap" +version = "2.14.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855" +dependencies = [ + "equivalent", + "hashbrown 0.17.1", +] + +[[package]] +name = "itoa" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" + +[[package]] +name = "libc" +version = "0.2.190" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78" + +[[package]] +name = "libsqlite3-sys" +version = "0.37.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1f111c8c41e7c61a49cd34e44c7619462967221a6443b0ec299e0ac30cfb9b1" +dependencies = [ + "cc", + "pkg-config", + "vcpkg", +] + +[[package]] +name = "litemap" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47d9d19d1d6efa0109d2f65ff4c85cddd50bd572e5a00127ab10987290bcefae" + +[[package]] +name = "lock_api" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" +dependencies = [ + "scopeguard", +] + +[[package]] +name = "log" +version = "0.4.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6" + +[[package]] +name = "md-5" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69b6441f590336821bb897fb28fc622898ccceb1d6cea3fde5ea86b090c4de98" +dependencies = [ + "cfg-if", + "digest 0.11.3", +] + +[[package]] +name = "memchr" +version = "2.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" + +[[package]] +name = "mio" +version = "1.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1788edb87fdc09c7e26304471e2f5be8cdefb1b6930d6e3985fc02ff53bf86ee" +dependencies = [ + "libc", + "wasi", + "windows-sys", +] + +[[package]] +name = "num-traits" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +dependencies = [ + "autocfg", +] + +[[package]] +name = "once_cell" +version = "1.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" + +[[package]] +name = "p2panda-core" +version = "0.7.1" +source = "git+https://github.com/p2panda/p2panda?rev=3e84cac48bba05c6857cce2ec433862b97f8d53c#3e84cac48bba05c6857cce2ec433862b97f8d53c" +dependencies = [ + "blake3", + "cbor-core", + "ed25519-dalek", + "hex", + "rand 0.8.8", + "serde", + "serde_bytes", + "thiserror", +] + +[[package]] +name = "p2panda-store" +version = "0.7.1" +source = "git+https://github.com/p2panda/p2panda?rev=3e84cac48bba05c6857cce2ec433862b97f8d53c#3e84cac48bba05c6857cce2ec433862b97f8d53c" +dependencies = [ + "async-stream", + "futures-util", + "p2panda-core", + "serde", + "sqlx", + "thiserror", + "tokio", +] + +[[package]] +name = "parking" +version = "2.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba" + +[[package]] +name = "parking_lot" +version = "0.12.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" +dependencies = [ + "lock_api", + "parking_lot_core", +] + +[[package]] +name = "parking_lot_core" +version = "0.9.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" +dependencies = [ + "cfg-if", + "libc", + "redox_syscall", + "smallvec", + "windows-link", +] + +[[package]] +name = "percent-encoding" +version = "2.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" + +[[package]] +name = "pin-project-lite" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" + +[[package]] +name = "pkcs8" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" +dependencies = [ + "der", + "spki", +] + +[[package]] +name = "pkg-config" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548" + +[[package]] +name = "potential_utf" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d83eb9bc6d8e5cf568e7a1101d60ee05e81ed50ea106026f3d18deeb046d7661" +dependencies = [ + "zerovec", +] + +[[package]] +name = "ppv-lite86" +version = "0.2.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" +dependencies = [ + "zerocopy", +] + +[[package]] +name = "proc-macro2" +version = "1.0.107" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "quote" +version = "1.0.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "r-efi" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" + +[[package]] +name = "rand" +version = "0.8.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e058c7de0b26af77780c769414d6257830bb240f3c38477dbc2c16e5f54d6d4c" +dependencies = [ + "libc", + "rand_chacha", + "rand_core 0.6.4", +] + +[[package]] +name = "rand" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65c9fb96cbc91e3478eaae79a69fcd3f1ae4ad052e471fe6732fff548984b4af" +dependencies = [ + "chacha20", + "getrandom 0.4.3", + "rand_core 0.10.1", +] + +[[package]] +name = "rand_chacha" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +dependencies = [ + "ppv-lite86", + "rand_core 0.6.4", +] + +[[package]] +name = "rand_core" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +dependencies = [ + "getrandom 0.2.17", +] + +[[package]] +name = "rand_core" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" + +[[package]] +name = "redox_syscall" +version = "0.5.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" +dependencies = [ + "bitflags", +] + +[[package]] +name = "rustc_version" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" +dependencies = [ + "semver", +] + +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + +[[package]] +name = "semcheck" +version = "0.0.0" +dependencies = [ + "futures-util", + "p2panda-core", + "p2panda-store", + "tokio", +] + +[[package]] +name = "semver" +version = "1.0.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd" + +[[package]] +name = "serde" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba" +dependencies = [ + "serde_core", + "serde_derive", +] + +[[package]] +name = "serde_bytes" +version = "0.11.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5d440709e79d88e51ac01c4b72fc6cb7314017bb7da9eeff678aa94c10e3ea8" +dependencies = [ + "serde", + "serde_core", +] + +[[package]] +name = "serde_core" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "serde_json" +version = "1.0.152" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1741ab7a6cc54a03a89b5d563ed60075c277d9e3cfa73ad0c1f23f23974703c6" +dependencies = [ + "itoa", + "memchr", + "serde", + "serde_core", + "zmij", +] + +[[package]] +name = "sha1" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aacc4cc499359472b4abe1bf11d0b12e688af9a805fa5e3016f9a386dc2d0214" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "digest 0.11.3", +] + +[[package]] +name = "sha2" +version = "0.10.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "digest 0.10.7", +] + +[[package]] +name = "sha2" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "digest 0.11.3", +] + +[[package]] +name = "shlex" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba" + +[[package]] +name = "signature" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" +dependencies = [ + "rand_core 0.6.4", +] + +[[package]] +name = "slab" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" + +[[package]] +name = "smallvec" +version = "1.16.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b3dc8af474f516a851ff4bd12db780f948b9250ad37211e4eec0bccea54e01b" +dependencies = [ + "serde", +] + +[[package]] +name = "socket2" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3d1e2c7f27f8d4cb10542a02c49005dbd6e93095799d6f3be745fae9f8fedd4" +dependencies = [ + "libc", + "windows-sys", +] + +[[package]] +name = "spin" +version = "0.9.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3763264f6b73151db08c50ff20d7d8a0b8796e021cdea7ceedad07b80155fa0e" +dependencies = [ + "lock_api", +] + +[[package]] +name = "spki" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" +dependencies = [ + "base64ct", + "der", +] + +[[package]] +name = "sqlx" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "378620ccc25c62c89d8be1c819e76a88d59bdcc3304733330788948e619bfd71" +dependencies = [ + "sqlx-core", + "sqlx-macros", + "sqlx-mysql", + "sqlx-postgres", + "sqlx-sqlite", +] + +[[package]] +name = "sqlx-core" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05b44e85bf579a8eeb4ceaa77a3a523baf2bf0e9bac7e40f405d537b5d2d5ccb" +dependencies = [ + "base64", + "bytes", + "cfg-if", + "crc", + "crossbeam-queue", + "either", + "event-listener", + "futures-core", + "futures-intrusive", + "futures-io", + "futures-util", + "hashbrown 0.16.1", + "hashlink", + "indexmap", + "log", + "memchr", + "percent-encoding", + "serde", + "serde_json", + "sha2 0.10.9", + "smallvec", + "thiserror", + "tokio", + "tokio-stream", + "tracing", + "url", +] + +[[package]] +name = "sqlx-macros" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd2b84f2bc39a5705ef27ec785a11c934a41bbd4a24941e257927cddc26b60bf" +dependencies = [ + "proc-macro2", + "quote", + "sqlx-core", + "sqlx-macros-core", + "syn 2.0.119", +] + +[[package]] +name = "sqlx-macros-core" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb8d96de5fdc85a5c4ec813432b523ec637e80ba98f046555f75f7908ddac7c3" +dependencies = [ + "cfg-if", + "dotenvy", + "either", + "heck", + "hex", + "proc-macro2", + "quote", + "serde", + "serde_json", + "sha2 0.10.9", + "sqlx-core", + "sqlx-mysql", + "sqlx-postgres", + "sqlx-sqlite", + "syn 2.0.119", + "thiserror", + "tokio", + "url", +] + +[[package]] +name = "sqlx-mysql" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90b8020fe17c5f2c245bfa2505d7ef59c5604839527c740266ad2214acebea27" +dependencies = [ + "bitflags", + "byteorder", + "bytes", + "crc", + "digest 0.11.3", + "dotenvy", + "either", + "futures-core", + "futures-util", + "generic-array", + "log", + "percent-encoding", + "serde", + "sha1", + "sha2 0.11.0", + "sqlx-core", + "thiserror", + "tracing", +] + +[[package]] +name = "sqlx-postgres" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87a2bdd6e83f6b3ea525ca9fee568030508b58355a43d0b2c1674d5f79dcd65e" +dependencies = [ + "atoi", + "base64", + "bitflags", + "byteorder", + "crc", + "dotenvy", + "etcetera", + "futures-channel", + "futures-core", + "futures-util", + "hex", + "hkdf", + "hmac", + "itoa", + "log", + "md-5", + "memchr", + "rand 0.10.3", + "serde", + "serde_json", + "sha2 0.11.0", + "smallvec", + "sqlx-core", + "stringprep", + "thiserror", + "tracing", + "whoami", +] + +[[package]] +name = "sqlx-sqlite" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "488e99c397a62007e4229aec669a179816339afc6d2620ca6fa420dbee2e982c" +dependencies = [ + "atoi", + "flume", + "form_urlencoded", + "futures-channel", + "futures-core", + "futures-executor", + "futures-intrusive", + "futures-util", + "libsqlite3-sys", + "log", + "percent-encoding", + "serde", + "sqlx-core", + "thiserror", + "tracing", + "url", +] + +[[package]] +name = "stable_deref_trait" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" + +[[package]] +name = "stringprep" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b4df3d392d81bd458a8a621b8bffbd2302a12ffe288a9d931670948749463b1" +dependencies = [ + "unicode-bidi", + "unicode-normalization", + "unicode-properties", +] + +[[package]] +name = "subtle" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" + +[[package]] +name = "syn" +version = "2.0.119" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "3.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d62a2e0561533f2ca2561d0cf27fd9fedb640a1bf2616ff5d5c80d99017faadc" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "synstructure" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "901704edd0dfe137f1987838ee4f259e4e063c31371bdb423f7ae38ec6f77f02" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "thiserror" +version = "2.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e" +dependencies = [ + "thiserror-impl", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "tinystr" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1e27c91459209c2986af3dcf603a5a74a4368754ce37414f59acc971167f643" +dependencies = [ + "displaydoc", + "zerovec", +] + +[[package]] +name = "tinyvec" +version = "1.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd3ca314f692efd6c868f8408f53fe444634a845f96c028b97d35f6a1f79f0ee" + +[[package]] +name = "tokio" +version = "1.53.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e95f91fcc7a621e8b030f6aa23c71fe9838ae2fb4d8118b75602a328f5144044" +dependencies = [ + "bytes", + "libc", + "mio", + "pin-project-lite", + "socket2", + "tokio-macros", + "windows-sys", +] + +[[package]] +name = "tokio-macros" +version = "2.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78773a2a397f451582ce068015985c33193cf6dea8b74d2a639fe457b2f07b0e" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "tokio-stream" +version = "0.1.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3d06f0b082ba57c26b79407372e57cf2a1e28124f78e9479fe80322cf53420b" +dependencies = [ + "futures-core", + "pin-project-lite", + "tokio", +] + +[[package]] +name = "tracing" +version = "0.1.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100" +dependencies = [ + "log", + "pin-project-lite", + "tracing-attributes", + "tracing-core", +] + +[[package]] +name = "tracing-attributes" +version = "0.1.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "tracing-core" +version = "0.1.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a" +dependencies = [ + "once_cell", +] + +[[package]] +name = "typenum" +version = "1.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" + +[[package]] +name = "unicode-bidi" +version = "0.3.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c1cb5db39152898a79168971543b1cb5020dff7fe43c8dc468b0885f5e29df5" + +[[package]] +name = "unicode-ident" +version = "1.0.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d245f478577f809a851594d02313b640fb437e0bb33866753cff937863096954" + +[[package]] +name = "unicode-normalization" +version = "0.1.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5fd4f6878c9cb28d874b009da9e8d183b5abc80117c40bbd187a1fde336be6e8" +dependencies = [ + "tinyvec", +] + +[[package]] +name = "unicode-properties" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7df058c713841ad818f1dc5d3fd88063241cc61f49f5fbea4b951e8cf5a8d71d" + +[[package]] +name = "url" +version = "2.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" +dependencies = [ + "form_urlencoded", + "idna", + "percent-encoding", + "serde", +] + +[[package]] +name = "utf8_iter" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" + +[[package]] +name = "vcpkg" +version = "0.2.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" + +[[package]] +name = "version_check" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" + +[[package]] +name = "wasi" +version = "0.11.1+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" + +[[package]] +name = "whoami" +version = "2.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "626c4bac6755d76ffc12cb01b2eac751db1996b9e0041de9aa02c8c211ddc82c" + +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + +[[package]] +name = "windows-sys" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" +dependencies = [ + "windows-link", +] + +[[package]] +name = "writeable" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc" + +[[package]] +name = "yoke" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5" +dependencies = [ + "stable_deref_trait", + "yoke-derive", + "zerofrom", +] + +[[package]] +name = "yoke-derive" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec8ebde2db3681e8c9980cc27822030e68752690ddfa9473e739aeb4dbde6d71" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", + "synstructure", +] + +[[package]] +name = "zerocopy" +version = "0.8.62" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86502bf56ac7c77571a32e2647bb2a15894565e981fb2a48d7bde2d91c965a9d" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.8.62" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5457206954b06561e2608c7e19cf58b1926586d999c246eebe4502f7e2039d1a" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "zerofrom" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272" +dependencies = [ + "zerofrom-derive", +] + +[[package]] +name = "zerofrom-derive" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f75b4683f6c7f45248d4d64056a24298c6281e0993356d7d1b4a1a962ef10d4a" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", + "synstructure", +] + +[[package]] +name = "zeroize" +version = "1.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e13084392c5e4bc371903e2935a5eaeed24905a7511356b883835e18a78f6879" + +[[package]] +name = "zerotrie" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ea269c3bd32f0a32c321907a2ae912ba6f4649bb0fc764a15627e99a7095a3f" +dependencies = [ + "displaydoc", + "yoke", + "zerofrom", +] + +[[package]] +name = "zerovec" +version = "0.11.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb0464e17806c1d976d5cba29399c7f08e516e279e2ba493f63123b5fca67dd8" +dependencies = [ + "yoke", + "zerofrom", + "zerovec-derive", +] + +[[package]] +name = "zerovec-derive" +version = "0.11.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34df6fc39dbd26ddc9c10e6a2984476e13acce22e64e4487636ef494369225da" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "zmij" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b" diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/store-fit/semcheck/Cargo.toml b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/store-fit/semcheck/Cargo.toml new file mode 100644 index 0000000000..40f4b0a8fe --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/store-fit/semcheck/Cargo.toml @@ -0,0 +1,13 @@ +[package] +name = "semcheck" +version = "0.0.0" +edition = "2024" +publish = false + +[dependencies] +futures-util = "0.3" +p2panda-core = { git = "https://github.com/p2panda/p2panda", rev = "3e84cac48bba05c6857cce2ec433862b97f8d53c" } +p2panda-store = { git = "https://github.com/p2panda/p2panda", rev = "3e84cac48bba05c6857cce2ec433862b97f8d53c" } +tokio = { version = "1", features = ["rt", "macros"] } + +[workspace] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/store-fit/semcheck/src/main.rs b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/store-fit/semcheck/src/main.rs new file mode 100644 index 0000000000..d1f022914a --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/store-fit/semcheck/src/main.rs @@ -0,0 +1,98 @@ +//! Checks SQL-only semantics of p2panda-store's SQLite implementation (memory store, no test_utils). +use std::collections::BTreeMap; + +use futures_util::TryStreamExt; +use p2panda_core::{AnyOperation, Body, Hash, Header, Operation, SeqNum, SigningKey, VerifyingKey}; +use p2panda_store::logs::LogStore; +use p2panda_store::operations::OperationStore; +use p2panda_store::{SqliteError, SqliteStore, SqliteStoreBuilder, Transaction}; + +type Log = u64; + +/// Headers with seq > 0 need a backlink to decode (AnyHeader::decode checks the field). +fn op(key: &SigningKey, seq: SeqNum, backlink: Option, body: &[u8]) -> Operation<()> { + let header = Header::<()>::builder() + .seq_num(seq) + .backlink(backlink) + .body(body) + .build(key, ()); + Operation::from_parts(header, Some(Body::from_bytes(body))) +} + +async fn insert(store: &SqliteStore, op: &Operation<()>, log: Log) -> Result { + , Hash>>::insert_operation(store, &op.hash, op, &log) + .await +} + +/// `insert_operation` goes through `tx()`, so every insert needs an open transaction. +async fn insert_tx(store: &SqliteStore, op: &Operation<()>, log: Log) -> Result { + let permit = store.begin().await?; + let inserted = insert(store, op, log).await?; + store.commit(permit).await?; + Ok(inserted) +} + +async fn latest(store: &SqliteStore, author: &VerifyingKey, log: Log) -> Result, SqliteError> { + >::get_latest_entry(store, author, &log).await +} + +async fn heights(store: &SqliteStore, author: &VerifyingKey, logs: &[Log]) -> Result>, SqliteError> { + >::get_log_heights(store, author, logs).await +} + +async fn size(store: &SqliteStore, author: &VerifyingKey, log: Log, after: Option, until: Option) -> Result, SqliteError> { + >::get_log_size(store, author, &log, after, until).await +} + +async fn seqs(store: &SqliteStore, author: &VerifyingKey, log: Log, after: Option, until: Option) -> Result, SqliteError> { + let stream = >::log_entries(store, author, &log, after, until)?; + let entries: Vec<_> = stream.try_collect().await?; + Ok(entries.iter().map(|e| e.entry.header.seq_num).collect()) +} + +#[tokio::main(flavor = "current_thread")] +async fn main() -> Result<(), Box> { + let store = SqliteStoreBuilder::memory().build().await?; + let key = SigningKey::from_bytes(&[7; 32]); + let author = key.verifying_key(); + + println!("0 insert without tx: {:?}", insert(&store, &op(&key, 99, None, b"x"), 7).await); + + println!("1 empty latest: {:?}", latest(&store, &author, 0).await?.map(|o| o.header.seq_num)); + println!("1 empty heights: {:?}", heights(&store, &author, &[0]).await?); + println!("1 empty size: {:?}", size(&store, &author, 0, None, None).await); + println!("1 empty entries: {:?}", seqs(&store, &author, 0, None, None).await?); + + insert_tx(&store, &op(&key, 9, Some(Hash::digest(b"prev 9")), b"nine"), 1).await?; + insert_tx(&store, &op(&key, 10, Some(Hash::digest(b"prev 10")), b"ten"), 1).await?; + println!("2 latest after seq 9 and 10: {:?}", latest(&store, &author, 1).await?.map(|o| o.header.seq_num)); + + let a = op(&key, 0, None, b"fork a"); + let b = op(&key, 0, None, b"fork b"); + println!("3 hashes differ: {}", a.hash != b.hash); + println!("3 insert fork a: {:?}", insert_tx(&store, &a, 2).await); + println!("3 insert fork b: {:?}", insert_tx(&store, &b, 2).await); + println!("3 log 2 size (count, bytes): {:?}", size(&store, &author, 2, None, None).await); + println!("3 log 2 heights: {:?}", heights(&store, &author, &[2]).await?); + let tie = latest(&store, &author, 2).await?.map(|o| (o.hash == a.hash, o.hash == b.hash)); + println!("3 latest on fork log is (is_a, is_b): {:?}", tie); + + let mut hashes = Vec::new(); + let mut prev: Option = None; + for seq in 0..5 { + let o = op(&key, seq, prev, format!("m{seq}").as_bytes()); + prev = Some(o.hash); + hashes.push(o.hash); + insert_tx(&store, &o, 0).await?; + } + println!("4 log 0 all: {:?}", seqs(&store, &author, 0, None, None).await?); + println!("4 log 0 after=1 until=3: {:?}", seqs(&store, &author, 0, Some(1), Some(3)).await?); + println!("4 log 0 size after=1 until=3: {:?}", size(&store, &author, 0, Some(1), Some(3)).await); + println!("4 log 0 heights: {:?}", heights(&store, &author, &[0]).await?); + + let pruned = >::prune_entries(&store, &author, &0, &3).await?; + let has0 = , Hash>>::has_operation(&store, &hashes[0]).await?; + println!("5 prune until 3: deleted {pruned}; has_operation(seq 0) = {has0}"); + println!("5 log 0 after prune: {:?}", seqs(&store, &author, 0, None, None).await?); + Ok(()) +} diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/store-fit/sendcheck/Cargo.lock b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/store-fit/sendcheck/Cargo.lock new file mode 100644 index 0000000000..636eab5a33 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/store-fit/sendcheck/Cargo.lock @@ -0,0 +1,41 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "libc" +version = "0.2.190" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78" + +[[package]] +name = "pin-project-lite" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" + +[[package]] +name = "redb" +version = "4.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb338a6c67830a61bed824b78c2bb034ab1ff401a20616bd7957524f4fdc2f22" +dependencies = [ + "libc", +] + +[[package]] +name = "sendcheck" +version = "0.0.0" +dependencies = [ + "redb", + "tokio", +] + +[[package]] +name = "tokio" +version = "1.53.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e95f91fcc7a621e8b030f6aa23c71fe9838ae2fb4d8118b75602a328f5144044" +dependencies = [ + "pin-project-lite", +] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/store-fit/sendcheck/Cargo.toml b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/store-fit/sendcheck/Cargo.toml new file mode 100644 index 0000000000..72e99c11e3 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/store-fit/sendcheck/Cargo.toml @@ -0,0 +1,11 @@ +[package] +name = "sendcheck" +version = "0.0.0" +edition = "2024" +publish = false + +[dependencies] +redb = "=4.3.0" +tokio = { version = "1", features = ["sync", "rt"] } + +[workspace] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/store-fit/sendcheck/src/lib.rs b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/store-fit/sendcheck/src/lib.rs new file mode 100644 index 0000000000..9efde91ea7 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/store-fit/sendcheck/src/lib.rs @@ -0,0 +1,40 @@ +//! Compile-time checks for a redb-backed p2panda-store `Transaction` impl: can the store hold +//! a `WriteTransaction` behind a tokio Mutex across awaits, and are the resulting futures Send? +use std::future::Future; +use std::sync::Arc; + +use redb::{Database, WriteTransaction}; +use tokio::sync::{Mutex, Semaphore}; + +fn needs_send() {} +fn needs_sync() {} +fn needs_send_future(_: F) {} + +pub struct RedbStore { + db: Arc, + permit: Arc, + txn: Arc>>, +} + +pub async fn begin_hold_commit(store: Arc) { + let _permit = store.permit.clone().acquire_owned().await.unwrap(); + let db = store.db.clone(); + let txn = tokio::task::spawn_blocking(move || db.begin_write()) + .await + .unwrap() + .unwrap(); + store.txn.lock().await.replace(txn); + tokio::task::yield_now().await; + let txn = store.txn.lock().await.take().unwrap(); + txn.commit().unwrap(); +} + +pub fn assertions(store: Arc) { + needs_send::(); + needs_send::(); + needs_sync::(); + needs_send::(); + needs_sync::(); + needs_send_future(begin_hold_commit(store)); + needs_send::>(); +} diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/RESULTS.md b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/RESULTS.md new file mode 100644 index 0000000000..a865f45526 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/RESULTS.md @@ -0,0 +1,390 @@ +# RESULTS: signing EndpointTickets + +Date: 2026-10-11. Folder: `/home/user/work/research-round2/ticket-signing/`. Test crate: `ticket-options/` (iroh-tickets 1.0.0, iroh-base 1.3.0, postcard 1.1.3). Its `Cargo.lock` was copied from `/home/user/work/spikes/Cargo.lock`. Build target: `target/`, as the parent asked. Written only inside this folder. Read only: the registry crates, `pkgs/id` (source and lock), the spikes lock, S9's RESULTS, and the design docs. No network was used. + +Labels: **[verified]** means read in source or seen in output. **[inferred]** means my reasoning from verified facts. **[not checked]** means not tested here. + +## Questions (verbatim) + +Owner, relayed by the parent: + +> n24 i'm not sure what signing tickets entails but we should use or at least allow regular tickets i think and at least for the user they shouldn't need to do anything special they can just validate the signature if they wished. i am on board with signing etc. + +Background from the parent: S9 found that an EndpointTicket carries an EndpointId, a relay URL and addresses, has no signature and no expiry, and that trailing bytes are silently ignored by the parser. + +1. Read iroh-tickets 1.0.0 in the cargo registry: the EndpointTicket format (prefix, encoding, payload type, the serializer), the parser, and how trailing bytes are handled. Confirm S9's claim in source and with a test. +2. Options, each with a concrete format: + (A) standard EndpointTicket only, no signature; + (B) our signed envelope: a new prefix, the standard ticket string inside, and a signature by the inviter's identity key. Standard iroh tools would not parse it; + (C) standard EndpointTicket, plus a separate signed invite event that carries the signature. The ticket itself stays standard; + (D) standard EndpointTicket with appended signature bytes that the parser ignores. Test whether this is robust, and whether it changes the prefix or length. + Also consider (E): both A and C, so standard tickets always work and signatures are optional and checked automatically when present. +3. For each option: what the user copies and pastes, how long the string is, how validation works, what a client does with a bad signature, and compatibility with other iroh tools. +4. Write a small test program that round-trips each option through the iroh-tickets parser and checks that a standard client still accepts the ticket. Show the test output. +5. Recommend one option, and say how it meets the owner's requirements: regular tickets work, signatures are optional, and the user needs to do nothing special. + +## Short answers + +**1. Format, parser, trailing bytes.** **[verified]** iroh-tickets 1.0.0 defines `EndpointTicket { addr: EndpointAddr }`, with no signature, no expiry and no version field of its own (`src/endpoint.rs:30-32`; `src/lib.rs:14-15` leaves versioning to the implementer). The only wire version marker is the enum variant `Variant1` (`endpoint.rs:34-43`). The payload is postcard: the variant index, the 32-byte EndpointId, and a counted `BTreeSet` (`endpoint.rs:129-138`). The string is the prefix `endpoint` plus unpadded base32 of those bytes, lowercased (`lib.rs:44-49`, `endpoint.rs:46, 48-58`). Parsing needs the lowercase prefix (`lib.rs:59`), uppercases the rest for base32 (`lib.rs:62`), and calls `postcard::from_bytes` (`endpoint.rs:61`). postcard documents that the unused part of the input "is not returned" (`postcard-1.1.3/src/de/mod.rs:10-11`). iroh-tickets itself never mentions trailing bytes (grep of its `src` and `README.md`: no matches), so the tolerance is inherited from postcard. S9's three claims hold. The payload carries the EndpointId, relay URLs and IP addresses. There is no signature or expiry field. The parser accepts 0 to 300 appended bytes and returns the same address each time (test `a_trailing_bytes_are_silently_ignored_at_every_length`). It also accepts an edited EndpointId (test `a_swapped_endpoint_id_still_parses_so_a_plain_ticket_proves_nothing`). + +**2. The options.** **[verified by tests; the design choices are mine]** Each option is built and round-tripped, and all 19 tests pass. A is the standard string: 124 characters for a relay plus one IPv4 address, the same length S9 measured. B is `idsig` followed by base32 of a postcard envelope that holds the standard ticket string, the inviter's key, and an Ed25519 signature. It is 361 characters, and the standard parser rejects it. C leaves the ticket unchanged and keeps the signature in an invite event (215 bytes in postcard), whose body commits to the BLAKE3 digest of the ticket's canonical bytes. The event is not pasted. D appends a 64-byte signature and the 32-byte signer key after the postcard payload. The prefix stays `endpoint`, the string grows to 277 characters, and the standard parser accepts it with the same address. Its verifier must split by the wire length, because a standard re-share drops the suffix and a non-canonical payload gives the wrong split. E is A plus C: the pasted string is always the standard ticket, and the event is checked when one is present. + +**3. What the user pastes, and how each option behaves.** **[verified for lengths, messages and parse results; inferred for the user experience]** The table under Options has the full answer. In short: A, C and E paste the 124-character standard ticket, the format that `pkgs/id` already accepts. B needs a new string of 361 characters that the standard parser rejects, and `pkgs/id`'s `check_target` rejects it too. D pastes 277 characters that the standard parser accepts, but a re-share silently strips the signature. **[inferred]** For B and D the signer key sits inside the string, so the verifier must compare it with a key from outside the ticket; a forger can sign with its own key otherwise. The wrong-signer tests check this. A bad signature is a refusal in B, C and D, with a specific message. In E a missing event is `Unverified`, not an error. + +**4. The test program.** **[verified]** `cargo test --offline` in `ticket-options/` runs 19 tests, and all 19 pass (`test-output.txt`). They cover the round trip of each option, standard-parser acceptance for A, C, D and E, the rejection of B by the standard parser, tampering and wrong-signer cases for each signed option, the trailing-byte sweep, the non-canonical split, and the paste rules. A mutation check (`scripts/mutate.py`) makes seven deliberate faults in a scratch copy, and each one fails the test written for it (`mutation-output.txt`). An earlier run reported a red baseline. That was a stale build in the harness's scratch target, because `copytree` kept old mtimes. The harness now clears its target and bumps mtimes, and its baseline is green. + +**5. Recommendation.** **[inferred from the measured results]** Recommend **E**. The pasted string stays the standard EndpointTicket, pasted exactly as today. The inviter's signature lives in a signed invite event in the admin's chain, which the design already has (design §10.1). The joiner's client checks the event before it sends the accept. `Verified` means send. `Unverified` (no event reachable) means send with a visible label. `Rejected` means do not dial, and show why. The user does nothing extra, and can inspect the check if they wish. Two conditions make it work. The link must carry the inviter's key as a trust anchor (`by=`). Invite events must be readable before the join (open pull, task 07 item 6). + +## Options + +### Concrete formats + +**A. Standard ticket, unsigned.** `endpoint` + base32(postcard(`Variant1 { id, addrs }`)). Nothing is added. + +Example, relay plus one IPv4 address (124 characters, from `print-output.txt`): + +``` +endpointadveu3dd4kofecv66vihwezoyx4zkr3wv27l464siipou2iui3jcyaqadruhi5dqom5c6l3smvwgc6jomv4gc3lqnrss45dfon2c4lybadaaaaqk2era +``` + +**B. Signed envelope.** Prefix `idsig`: + +``` +"idsig" + base32( postcard( Envelope { + version: u8 = 1, + ticket: String = the A string, parsed with EndpointTicket::from_str, + signer: [u8; 32] = the inviter's Ed25519 key, as the envelope claims it, + signature: [u8; 64] = Ed25519 verify_strict over b"id-route/v1/envelope" || ticket.encode_bytes() +}) ) +``` + +Decoding is strict, so leftover bytes are an error (`b_rejects_trailing_bytes_that_iroh_would_ignore`). The trust check is `verify_from(K)`. It compares `signer` with K, then checks the signature. Example, 361 characters: + +``` +idsigaf6gk3teobxws3tumfshmzlvgnsgindln5tgky3wgy3hm2lio5sxu33zpa2hu23sgn3xmmrxnq2dmndtnfuxa33vgjuxk2jtnjrxsylrmfshe5line2wi4lpnu2wgntmgnzw25txm5rtm2tpnv3diz3dgnwhc3tsonztinlemzxw4mtdgrwhsytbmrqwcylbofvtezlsmhievmrsoqv3jkz2cnul2rqv4ttnaiskw4nac25pquqkgmwjo6dtpjdmjjgw4neeieocz34provogw5fqdnvsrfw3navi47z4vybossac73k3fmpj33eof7jz6pz5oidqzdiodcl6zjvyqvgu5mg6uatmadq +``` + +A compact variant would put the payload bytes in place of the string. It is not built. Its length is computed from postcard of the same fields: 277 characters for relay plus one IPv4 address. + +**C. Standard ticket plus a signed invite event.** The link becomes `id:join?group=G&invite=I&ticket=T&by=K`. T is the A string, unchanged. K is the inviter's account key, which is 52 base32 characters (measured). `by` is new. The design's link is at `design_groups_events_delegation.md:467`. + +The event is stored in the inviter's chain and is not pasted: + +``` +InviteEvent { + body: InviteBody { + group: [u8; 32], invite_id: [u8; 16], expires_ms: u64, max_uses: u32, + invite_key: [u8; 32], // the Seitan-derived public key (design §10.1) + ticket_digest: [u8; 32], // BLAKE3(b"id-route/v1/ticket-digest" || canonical ticket bytes) + author: [u8; 32], // the signing key. It must be K, or a device key delegated from K + }, + signature: [u8; 64], // Ed25519 verify_strict over b"id-route/v1/invite-event" || postcard(body) +} +``` + +The event is 215 bytes in postcard (measured). The design's canonical CBOR would change that figure. The digest is over the canonical bytes of the parsed ticket, not over the string. This matters: the upper-case-body string parses to an equal ticket (asserted in `paste_rules_the_parser_applies_to_the_pasted_string`), so a string digest would differ for one ticket. + +**D. Standard ticket plus a suffix.** Prefix `endpoint`, unchanged: + +``` +"endpoint" + base32( payload || signature[64] || signer[32] ) +signature = Ed25519 verify_strict over b"id-route/v1/suffix" || payload +``` + +The payload is the received postcard bytes. A standard parser ignores the 96-byte suffix. Our split uses a mirror of iroh's private wire type, through `postcard::take_from_bytes`. Example, 277 characters: + +``` +endpointadveu3dd4kofecv66vihwezoyx4zkr3wv27l464siipou2iui3jcyaqadruhi5dqom5c6l3smvwgc6jomv4gc3lqnrss45dfon2c4lybadaaaaqk2ernvekx66jofchhmmy3jlwalk5nffj77vjswr6gglfpqo3tm5q3cqcgamoh5w45flcvplje4ldvajy23ahcvbphlmohiixfggxcopboalievmrsoqv3jkz2cnul2rqv4ttnaiskw4nac25pquqkgmwjo6dto +``` + +**E. A plus C, checked when present.** The pasted string is A. The check is `check_route(ticket_text, Option<&InviteEvent>, K) -> (EndpointTicket, RouteStatus)`: +- `Verified`: the event's author is K, the signature verifies, and the digest matches the pasted ticket. +- `Unverified`: no event is available. +- `Rejected(reason)`: any check fails. + +### Comparison + +| Option | What the user copies and pastes | Length, relay + 1 IPv4 (measured) | How validation works | Bad signature | Standard iroh tools (`EndpointTicket` parser) | +|---|---|---|---|---|---| +| A | The ticket | 124 | Parse only. The EndpointId is not authenticated, so an edited ID still parses | Nothing to check. An edited ID is accepted silently | Accepts | +| B | One `idsig` envelope | 361 (string inside). 277 (payload inside, computed) | Structure, then `verify_from(K)`: signer must equal K, then Ed25519 `verify_strict` over the domain-tagged ticket bytes | Refuse: `verification failed: bad signature`, or `not signed by the expected inviter` (tested) | Rejects: `wrong prefix, expected endpoint` (tested). `pkgs/id` `check_target` rejects too (tested with the same logic) | +| C | The ticket. The link also carries `by=K` (52 characters). The event is fetched, not pasted | 124 (plus 52 for K in the link) | Event author = K, event signature, and the digest equals the digest of the pasted ticket | Refuse: `event not signed by the expected inviter`, `bad event signature`, or `ticket is not the one the inviter signed` (tested) | Accepts. The ticket is unchanged. The event is not a ticket | +| D | The ticket with a 96-byte suffix | 277 | Split by wire length. Signer = K. Verify over the received payload | Refuse: `bad signature`, `suffix not signed by the expected inviter`, or `trailing bytes are not a signature` (tested). No suffix: `Unverified` | Accepts, same address (tested). A standard re-share drops the suffix (tested) | +| E | The ticket, as today | 124 | As C when an event is present. No event: `Unverified` | `Rejected`: refuse. `Unverified`: proceed with a label (a policy choice, see Recommendation) | Accepts | + +### Lengths (measured, `print-output.txt`) + +| Address set | A (also C and E pasted) | B, string inside | B, payload inside (computed) | D, signature and key | D, signature only (computed, not built) | +|---|---|---|---|---|---| +| relay only (payload 64 bytes) | 111 | 340 | 265 | 264 | 213 | +| relay + 1 IPv4 (payload 72 bytes) | 124 | 361 | 277 | 277 | 226 | +| relay + 2 IPv4 + 1 IPv6 (payload 100 bytes) | 168 | 433 | 322 | 322 | 271 | + +C's event is 215 bytes, which is 344 base32 characters if it were carried inline (computed). A 32-byte key is 52 base32 characters (computed by `data-encoding`'s `encode_len`). + +### Paste rules (measured, shared by every option) + +| Paste | Result | +|---|---| +| exact copy | accepted | +| trailing newline | rejected: `invalid symbol at 116` | +| trailing space | rejected: `invalid symbol at 116` | +| leading space | rejected: `wrong prefix, expected endpoint` | +| upper-case prefix (`ENDPOINT…`) | rejected: `wrong prefix, expected endpoint` | +| upper-case body | accepted, and equal to the exact copy | +| B trailing newline | rejected | +| D trailing newline | rejected | + +## Recommendation + +**Recommend E: the standard ticket, plus an inviter-signed invite event that commits to the ticket's digest.** It uses pieces the design already has: +- The link gains `by=K`. The design's link format is at `design_groups_events_delegation.md:467`. +- The invite event (task 07 item 3) gains `ticket_digest`. Events are already signed by their author (design line 31, and line 78 on `author`). +- The joiner checks the event before sending the accept. `Verified`: send. `Unverified`: send, with a visible "route not verified" label. `Rejected`: do not dial, and show the reason. + +### How E meets the owner's requirements + +- **Regular tickets work.** The pasted string is the standard ticket: 124 characters for relay plus one IPv4 address. iroh-tickets 1.0.0 accepts it with the same address (tests `a_is_the_standard_string_and_round_trips`, `c_verifies_the_unchanged_standard_ticket_against_the_signed_event`, `e_a_plain_ticket_is_accepted_and_unverified_not_refused`). `check_target` (`pkgs/id/src/envelope_outbox.rs:394-404`) needs no change. **[verified]** +- **The user does nothing special.** The user pastes what they paste today. The check runs in the client. **[inferred]** +- **Validation is optional for the user.** The client shows the status. The inviter's key K can be shown as a fingerprint for a manual comparison if the user wants one. **[inferred]** +- **Signing is in.** The invite event is signed by the inviter's key, and the ticket is bound to it by digest. Wrong signers, changed tickets, swapped IDs and forged events are all refused (tests `c_*` and `e_*`). **[verified]** + +### Why not the others + +- **A alone.** An edited EndpointId parses, and nothing flags it (test `a_swapped_endpoint_id…`). It meets the paste requirement but not the signing one. **[verified]** +- **B.** Standard tools reject it (`wrong prefix, expected endpoint`). `pkgs/id`'s `check_target` rejects it too. It is the longest paste, at 361 characters. Its one advantage is a self-contained string, which matters only for offline verification. **[verified for the rejection; the advantage is inferred]** +- **D.** It is shorter than B (277 characters) and keeps the prefix. But a standard re-share silently strips the signature (test `d_is_dropped_when_a_standard_client_reads_and_writes_the_ticket`). A split by re-encoding breaks on a non-canonical payload: 94 bytes on the wire, 64 when re-encoded (test `d_split_follows_the_wire_length…`). It also depends on postcard's `from_bytes` tolerance, which iroh-tickets does not state. A future strict parser would reject every D ticket, which breaks the standard-client guarantee the owner asked for. **[verified for the first two; inferred for the last]** + +### Join flow under E (proposal) + +1. Trim the pasted text. A trailing newline or space fails the parser (measured). `check_target` does not trim (`envelope_outbox.rs:394-404`; its callers at 172, 183 and 376 pass the raw target). **[verified]** +2. Parse the ticket with the standard parser. +3. Ask the ticket's node for the invite event by invite ID, before sending the accept. Open pull allows this (task 07 item 6). **[inferred]** +4. Run `check_route`. `Verified` means send the accept. `Unverified` means send it with the label. `Rejected` means stop. + +### Decisions for the owner + +1. **Unverified policy.** Proceed with a label (my recommendation), or refuse. Proceeding is reasonable because the Seitan proof still guards admission, so a bad route can only leak metadata or stall the join. **[inferred]** +2. **The trust anchor K.** A signature proves consistency with K only. Whoever writes the link chooses K, which is the same trust the link has today. **[inferred]** +3. **Invite events must be readable before joining.** Under authorized pull, E returns `Unverified` for every invite unless the event is served by invite ID. This needs a decision in task 07 item 6. + +### What would change the recommendation + +- **Offline verification** (a QR code, paste only, no network before the join). Carry the event inline with `by=K`: about 344 characters for the event plus 52 for the key (computed). That avoids D's dependence on parser tolerance. D is shorter (+153 characters over A) but riskier. +- **Authorized pull as the default for groups.** E cannot verify an invite before the join. +- **A requirement to bind group, invite and expiry in one string.** Use B, alongside A, not in its place. Adding the group ID and invite ID would add 48 bytes, about 77 characters. That is an estimate and was not built. +- **iroh-tickets adding a trailing-byte check.** E and C would not change. D would break. + +### What changes in the design, if E is adopted + +- Task 07 item 3 (invite event): add `ticket_digest` to the body. +- Design §10.3 (link): add `by=K`. +- Design §10.3 step 2: fetch and check the event before the accept. +- `pkgs/id`: trim the pasted target. No change to the EndpointTicket parse. + +## Evidence + +### Source (read directly) + +| Claim | Location | +|---|---| +| `EndpointTicket { addr: EndpointAddr }`; no signature, expiry or version field | `iroh-tickets-1.0.0/src/endpoint.rs:30-32` | +| Versioning is left to the implementer | `iroh-tickets-1.0.0/src/lib.rs:14-15` | +| Wire format: one variant `Variant1`, holding `id` and `info.addrs` | `endpoint.rs:34-43, 129-138` | +| `KIND = "endpoint"` | `endpoint.rs:46` | +| Serializer: `postcard::to_stdvec` of the wire enum | `endpoint.rs:48-58` | +| Parser: `postcard::from_bytes(bytes)?` | `endpoint.rs:60-69` (the call is at 61) | +| `FromStr` calls `Ticket::decode_string` | `endpoint.rs:75-77` | +| String form: KIND plus `BASE32_NOPAD.encode`, lowercased | `lib.rs:44-49` | +| Decoding: case-sensitive `strip_prefix` (59); base32 of the uppercased body (62) | `lib.rs:57-64` | +| Error variants, including `Verify { message }`, and the `verification_failed` constructor | `lib.rs:71-93, 106-108` | +| postcard `from_bytes`: "The unused portion (if any) of the byte slice is not returned" | `postcard-1.1.3/src/de/mod.rs:10-19` | +| postcard `take_from_bytes` returns the unused portion | `postcard-1.1.3/src/de/mod.rs:60-70` | +| `EndpointAddr { id, addrs: BTreeSet }` | `iroh-base-1.3.0/src/endpoint_addr.rs:41-47` | +| `TransportAddr` is `#[non_exhaustive]`: Relay, Ip, Custom | `endpoint_addr.rs:54-62` | +| `PublicKey::verify` uses `verify_strict` | `iroh-base-1.3.0/src/key.rs:134-138` | +| `PublicKey` `FromStr` uses base32-hex | `key.rs:249-256` | +| iroh-tickets does not mention trailing bytes (grep of `src` and `README.md`) | no matches | + +### pkgs/id (read only) + +| Claim | Location | +|---|---| +| `check_target` tries `EndpointTicket` first, then `EndpointId`. No trimming | `pkgs/id/src/envelope_outbox.rs:394-404` | +| The only `EndpointTicket` parse in `pkgs/id/src` (grep). Line 18 is the import, and 443 is a test | `envelope_outbox.rs:395` | +| Callers pass the raw target: `enqueue`, `enqueue_artifact`, and delivery | `envelope_outbox.rs:172, 183, 376` | +| Pinned versions: iroh-tickets 1.0.0, iroh-base 1.3.0, postcard 1.1.3, ed25519-dalek 3.0.0, iroh 1.3.0 | `pkgs/id/Cargo.lock:3339, 3085, 4998, 1683, 3035` | + +### Prior work and design (read only) + +| Claim | Location | +|---|---| +| S9: the ticket probe (124 characters; 18 bytes appended parse; EndpointId swap parses) | `/home/user/work/spikes-next/s9-seitan/RESULTS.md:8, 125-138` | +| S9 verdicts: a token cannot ride in a ticket; expiry and single use belong to the invite event | `RESULTS.md:144-154` | +| Events are signed. `author` is the signing key | `design_groups_events_delegation.md:31, 78` | +| Invite event contents (invite ID, expiry, public key); the link format | `design_groups_events_delegation.md` §10.1 and line 467 | +| Invite event, tickets, pull policy | `task-07-invites-and-pull.md:21, 23, 24` | + +### Commands and environment + +``` +rustup which --toolchain 1.97.0 cargo + -> /home/user/.rustup/toolchains/1.97.0-x86_64-unknown-linux-gnu/bin/cargo +export PATH=/home/user/.rustup/toolchains/1.97.0-x86_64-unknown-linux-gnu/bin:$PATH +export RUSTC=/home/user/.rustup/toolchains/1.97.0-x86_64-unknown-linux-gnu/bin/rustc +export CARGO_TARGET_DIR=/home/user/work/research-round2/ticket-signing/target +cd ticket-options +cargo test --offline # -> test-output.txt +cargo test --offline --test options -- --nocapture --test-threads=1 # -> print-output.txt +cd .. && python3 -I scripts/mutate.py # -> mutation-output.txt, mutation-logs/ +python3 -I scripts/render_results.py # -> RESULTS.md +``` + +Observed: `rustc 1.97.0 (2d8144b78 2026-07-07)` and `cargo 1.97.0 (c980f4866 2026-06-30)`. The build used `--offline`, and it succeeded, so every crate came from the local registry. The build compiled iroh-base 1.3.0 and iroh-tickets 1.0.0, and their dependencies, from source. No build touched `/home/user/code`, `integrated`, `spikes`, or `spikes-next`. + +### Test output (`cargo test --offline`) + +``` +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s +test a_is_the_standard_string_and_round_trips ... ok +test a_swapped_endpoint_id_still_parses_so_a_plain_ticket_proves_nothing ... ok +test b_is_rejected_by_the_standard_parser_as_expected ... ok +test b_rejects_trailing_bytes_that_iroh_would_ignore ... ok +test d_split_follows_the_wire_length_because_non_canonical_payloads_parse ... ok +test d_is_accepted_by_the_standard_parser_with_the_same_address ... ok +test d_is_dropped_when_a_standard_client_reads_and_writes_the_ticket ... ok +test paste_rules_the_parser_applies_to_the_pasted_string ... ok +test e_a_plain_ticket_is_accepted_and_unverified_not_refused ... ok +test print_lengths_and_examples ... ok +test a_signature_made_for_option_d_is_refused_as_option_b ... ok +test b_rejects_a_changed_ticket_and_a_wrong_signer ... ok +test c_verifies_the_unchanged_standard_ticket_against_the_signed_event ... ok +test b_round_trips_through_our_parser_and_verifies ... ok +test e_a_valid_event_verifies_and_a_mismatched_one_is_rejected ... ok +test c_rejects_an_event_from_another_key_or_with_a_forged_signature ... ok +test c_rejects_a_swapped_endpoint_id_that_the_standard_parser_accepts ... ok +test d_verifies_a_valid_suffix_and_rejects_each_tamper ... ok +test a_trailing_bytes_are_silently_ignored_at_every_length ... ok +test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s +``` + +### Test output with printed strings and lengths (`--nocapture`) + +``` +running 19 tests +test a_is_the_standard_string_and_round_trips ... ok +test a_signature_made_for_option_d_is_refused_as_option_b ... ok +test a_swapped_endpoint_id_still_parses_so_a_plain_ticket_proves_nothing ... ok +test a_trailing_bytes_are_silently_ignored_at_every_length ... ok +test b_is_rejected_by_the_standard_parser_as_expected ... standard EndpointTicket parser on B: wrong prefix, expected endpoint +pkgs/id check_target accepts B: false +ok +test b_rejects_a_changed_ticket_and_a_wrong_signer ... B changed ticket: verification failed: bad signature +B wrong signer: verification failed: not signed by the expected inviter +ok +test b_rejects_trailing_bytes_that_iroh_would_ignore ... ok +test b_round_trips_through_our_parser_and_verifies ... B string (361 chars): idsigaf6gk3teobxws3tumfshmzlvgnsgindln5tgky3wgy3hm2lio5sxu33zpa2hu23sgn3xmmrxnq2dmndtnfuxa33vgjuxk2jtnjrxsylrmfshe5line2wi4lpnu2wgntmgnzw25txm5rtm2tpnv3diz3dgnwhc3tsonztinlemzxw4mtdgrwhsytbmrqwcylbofvtezlsmhievmrsoqv3jkz2cnul2rqv4ttnaiskw4nac25pquqkgmwjo6dtpjdmjjgw4neeieocz34provogw5fqdnvsrfw3navi47z4vybossac73k3fmpj33eof7jz6pz5oidqzdiodcl6zjvyqvgu5mg6uatmadq +ok +test c_rejects_a_swapped_endpoint_id_that_the_standard_parser_accepts ... ok +test c_rejects_an_event_from_another_key_or_with_a_forged_signature ... ok +test c_verifies_the_unchanged_standard_ticket_against_the_signed_event ... C invite event: 215 bytes (stored with the chain, not pasted) +ok +test d_is_accepted_by_the_standard_parser_with_the_same_address ... D string (277 chars): endpointadveu3dd4kofecv66vihwezoyx4zkr3wv27l464siipou2iui3jcyaqadruhi5dqom5c6l3smvwgc6jomv4gc3lqnrss45dfon2c4lybadaaaaqk2ernvekx66jofchhmmy3jlwalk5nffj77vjswr6gglfpqo3tm5q3cqcgamoh5w45flcvplje4ldvajy23ahcvbphlmohiixfggxcopboalievmrsoqv3jkz2cnul2rqv4ttnaiskw4nac25pquqkgmwjo6dto +ok +test d_is_dropped_when_a_standard_client_reads_and_writes_the_ticket ... ok +test d_split_follows_the_wire_length_because_non_canonical_payloads_parse ... wire payload 94 bytes, canonical re-encoding 64 bytes +ok +test d_verifies_a_valid_suffix_and_rejects_each_tamper ... ok +test e_a_plain_ticket_is_accepted_and_unverified_not_refused ... ok +test e_a_valid_event_verifies_and_a_mismatched_one_is_rejected ... ok +test paste_rules_the_parser_applies_to_the_pasted_string ... paste exact copy: accepted +paste trailing newline: rejected: invalid symbol at 116 +paste trailing space: rejected: invalid symbol at 116 +paste leading space: rejected: wrong prefix, expected endpoint +paste upper-case prefix: rejected: wrong prefix, expected endpoint +paste upper-case body: accepted +paste B upper-case body: true +paste B trailing newline: false +paste D trailing newline: false +ok +test print_lengths_and_examples ... C invite event: 215 bytes +C event inline in a link, base32: 344 chars +one 32-byte key as base32 (link trust anchor): 52 chars +A example: endpointadveu3dd4kofecv66vihwezoyx4zkr3wv27l464siipou2iui3jcyaqadruhi5dqom5c6l3smvwgc6jomv4gc3lqnrss45dfon2c4lybadaaaaqk2era +D example: endpointadveu3dd4kofecv66vihwezoyx4zkr3wv27l464siipou2iui3jcyaqadruhi5dqom5c6l3smvwgc6jomv4gc3lqnrss45dfon2c4lybadaaaaqk2ernvekx66jofchhmmy3jlwalk5nffj77vjswr6gglfpqo3tm5q3cqcgamoh5w45flcvplje4ldvajy23ahcvbphlmohiixfggxcopboalievmrsoqv3jkz2cnul2rqv4ttnaiskw4nac25pquqkgmwjo6dto +| address set | A (and C, E pasted) | B string inside | B payload inside (computed) | D sig + key | D sig only (computed) | +|---|---|---|---|---|---| +| relay only (payload 64 bytes) | 111 | 340 | 265 | 264 | 213 | +| relay + 1 IPv4 (payload 72 bytes) | 124 | 361 | 277 | 277 | 226 | +| relay + 2 IPv4 + 1 IPv6 (payload 100 bytes) | 168 | 433 | 322 | 322 | 271 | +ok +test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s +``` + +### Mutation check (`scripts/mutate.py`) + +Each mutant changes one line of `src/lib.rs` in a scratch copy, with its own target directory. The real crate is never edited. + +``` +BASELINE (no mutation): exit 0; test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s + failing tests: none +M1 option B accepts trailing bytes (lenient parse): exit 101; test result: FAILED. 18 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s + failing tests (1): ['b_rejects_trailing_bytes_that_iroh_would_ignore'] +M2 option D skips the expected-signer check: exit 101; test result: FAILED. 18 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s + failing tests (1): ['d_verifies_a_valid_suffix_and_rejects_each_tamper'] +M3 option C skips the ticket digest check: exit 101; test result: FAILED. 17 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s + failing tests (2): ['c_rejects_a_swapped_endpoint_id_that_the_standard_parser_accepts', 'e_a_valid_event_verifies_and_a_mismatched_one_is_rejected'] +M4 option D splits by re-encoding the ticket: exit 101; test result: FAILED. 18 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s + failing tests (1): ['d_split_follows_the_wire_length_because_non_canonical_payloads_parse'] +M5 options B and D sign with no domain tag: exit 101; test result: FAILED. 18 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s + failing tests (1): ['a_signature_made_for_option_d_is_refused_as_option_b'] +M6 option E refuses a plain ticket: exit 101; test result: FAILED. 18 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s + failing tests (1): ['e_a_plain_ticket_is_accepted_and_unverified_not_refused'] +M7 option C ignores the event author: exit 101; test result: FAILED. 18 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s + failing tests (1): ['c_rejects_an_event_from_another_key_or_with_a_forged_signature'] +scratch copy removed +``` + +| # | Fault | Failing test(s) | +|---|---|---| +| baseline | none | none (19 passed) | +| M1 | B accepts trailing bytes | `b_rejects_trailing_bytes_that_iroh_would_ignore` | +| M2 | D skips the expected-signer check | `d_verifies_a_valid_suffix_and_rejects_each_tamper` | +| M3 | C skips the digest check | `c_rejects_a_swapped_endpoint_id…`, `e_a_valid_event_verifies…` | +| M4 | D splits by re-encoding | `d_split_follows_the_wire_length…` | +| M5 | B and D sign with no domain tag | `a_signature_made_for_option_d_is_refused_as_option_b` | +| M6 | E refuses a plain ticket | `e_a_plain_ticket_is_accepted_and_unverified_not_refused` | +| M7 | C ignores the event's author | `c_rejects_an_event_from_another_key…` | + +### Files + +``` +ticket-signing/ + RESULTS.md this file (generated) + ticket-options/ crate: src/lib.rs (options A to E), tests/options.rs (19 tests), Cargo.lock + scripts/mutate.py mutation check (scratch copy, its own target dir) + scripts/render_results.py renders RESULTS.md from scripts/RESULTS.template.md and the logs + scripts/RESULTS.template.md + test-output.txt cargo test (19 passed) + print-output.txt lengths, examples, paste rules + mutation-output.txt mutation summary + mutation-logs/ full cargo output for each mutant + target/ build directory +``` + +## Not verified + +- **No live dial or connection.** I did not test whether iroh's QUIC handshake authenticates the EndpointId. Nothing above depends on it, except the claim that an edited ID changes the route, which holds at the ticket layer. **[not checked]** +- **Only iroh-tickets 1.0.0, iroh-base 1.3.0 and postcard 1.1.3 were used.** I did not check later versions, and I did not check whether postcard or iroh-tickets will keep trailing-byte tolerance. **[not checked]** +- **Event encoding.** The tests use postcard. The design's canonical CBOR (task 02) would change the 215-byte figure. I did not test the canonical re-encoding rule for events. **[not checked]** +- **Delegation.** The event's author may be a device key delegated from the account key (design §7). I did not test that chain. **[not checked]** +- **B's group and invite binding.** Not built, so its cost (about 77 characters) is an estimate. **[not checked]** +- **Relay URL normalization, and `TransportAddr::Custom`.** Not tested. The digest's stability is tested only for the sample address. **[not checked]** +- **Non-minimal varints.** Not tested. The duplicate-address test covers a different kind of non-canonical input. **[not checked]** +- **Callers of `check_target`.** I read the call sites in `envelope_outbox.rs` only. The web and CLI callers were not read, so I cannot say whether they trim. **[not checked]** +- **Compact B length.** Computed from postcard serialization of the same fields. It was not parsed. **[inferred]** +- **Expiry and single use.** No signature here covers them. They belong to the invite event, as in task 07 item 3. **[not checked]** +- **The validation UX** (the status labels and the fingerprint display) is a proposal, not tested. **[not checked]** +- **Seitan.** Not involved here. S9's results are cited, not re-verified. **[not checked]** +- **`pkgs/id` was not changed or built.** Its behaviour is read from source, not run. **[not checked]** diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/mutation-logs/M1.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/mutation-logs/M1.txt new file mode 100644 index 0000000000..6dd424e410 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/mutation-logs/M1.txt @@ -0,0 +1,40 @@ + +running 19 tests +test b_is_rejected_by_the_standard_parser_as_expected ... ok +test b_rejects_trailing_bytes_that_iroh_would_ignore ... FAILED +test a_swapped_endpoint_id_still_parses_so_a_plain_ticket_proves_nothing ... ok +test d_is_accepted_by_the_standard_parser_with_the_same_address ... ok +test a_is_the_standard_string_and_round_trips ... ok +test d_split_follows_the_wire_length_because_non_canonical_payloads_parse ... ok +test e_a_plain_ticket_is_accepted_and_unverified_not_refused ... ok +test d_is_dropped_when_a_standard_client_reads_and_writes_the_ticket ... ok +test paste_rules_the_parser_applies_to_the_pasted_string ... ok +test c_rejects_a_swapped_endpoint_id_that_the_standard_parser_accepts ... ok +test print_lengths_and_examples ... ok +test c_rejects_an_event_from_another_key_or_with_a_forged_signature ... ok +test a_signature_made_for_option_d_is_refused_as_option_b ... ok +test b_round_trips_through_our_parser_and_verifies ... ok +test c_verifies_the_unchanged_standard_ticket_against_the_signed_event ... ok +test b_rejects_a_changed_ticket_and_a_wrong_signer ... ok +test d_verifies_a_valid_suffix_and_rejects_each_tamper ... ok +test e_a_valid_event_verifies_and_a_mismatched_one_is_rejected ... ok +test a_trailing_bytes_are_silently_ignored_at_every_length ... ok + +failures: + +---- b_rejects_trailing_bytes_that_iroh_would_ignore stdout ---- + +thread 'b_rejects_trailing_bytes_that_iroh_would_ignore' (2066357) panicked at tests/options.rs:115:5: +assertion failed: SignedTicket::decode_string(&string_with_kind("idsig", &bytes)).is_err() +note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace + + +failures: + b_rejects_trailing_bytes_that_iroh_would_ignore + +test result: FAILED. 18 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s + + Compiling ticket-options v0.0.0 (/home/user/work/research-round2/ticket-signing/mutants/ticket-options) + Finished `test` profile [unoptimized + debuginfo] target(s) in 1.36s + Running tests/options.rs (/home/user/work/research-round2/ticket-signing/mutant-target/debug/deps/options-563e9fa2d57ce743) +error: test failed, to rerun pass `--test options` diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/mutation-logs/M2.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/mutation-logs/M2.txt new file mode 100644 index 0000000000..c08e116bf3 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/mutation-logs/M2.txt @@ -0,0 +1,51 @@ + +running 19 tests +test d_split_follows_the_wire_length_because_non_canonical_payloads_parse ... ok +test a_is_the_standard_string_and_round_trips ... ok +test e_a_plain_ticket_is_accepted_and_unverified_not_refused ... ok +test b_rejects_trailing_bytes_that_iroh_would_ignore ... ok +test d_is_accepted_by_the_standard_parser_with_the_same_address ... ok +test d_is_dropped_when_a_standard_client_reads_and_writes_the_ticket ... ok +test print_lengths_and_examples ... ok +test a_swapped_endpoint_id_still_parses_so_a_plain_ticket_proves_nothing ... ok +test b_is_rejected_by_the_standard_parser_as_expected ... ok +test paste_rules_the_parser_applies_to_the_pasted_string ... ok +test c_verifies_the_unchanged_standard_ticket_against_the_signed_event ... ok +test a_signature_made_for_option_d_is_refused_as_option_b ... ok +test c_rejects_an_event_from_another_key_or_with_a_forged_signature ... ok +test c_rejects_a_swapped_endpoint_id_that_the_standard_parser_accepts ... ok +test b_round_trips_through_our_parser_and_verifies ... ok +test b_rejects_a_changed_ticket_and_a_wrong_signer ... ok +test e_a_valid_event_verifies_and_a_mismatched_one_is_rejected ... ok +test d_verifies_a_valid_suffix_and_rejects_each_tamper ... FAILED +test a_trailing_bytes_are_silently_ignored_at_every_length ... ok + +failures: + +---- d_verifies_a_valid_suffix_and_rejects_each_tamper stdout ---- + +thread 'd_verifies_a_valid_suffix_and_rejects_each_tamper' (2067084) panicked at tests/options.rs:209:5: +assertion `left == right` failed + left: Rejected("bad signature") + right: Rejected("suffix not signed by the expected inviter") +note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace + + +failures: + d_verifies_a_valid_suffix_and_rejects_each_tamper + +test result: FAILED. 18 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s + + Compiling ticket-options v0.0.0 (/home/user/work/research-round2/ticket-signing/mutants/ticket-options) +warning: unused variable: `signer` + --> src/lib.rs:314:12 + | +314 | let Ok(signer) = PublicKey::from_bytes(&key_bytes) else { + | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_signer` + | + = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default + +warning: `ticket-options` (lib) generated 1 warning (run `cargo fix --lib -p ticket-options` to apply 1 suggestion) + Finished `test` profile [unoptimized + debuginfo] target(s) in 1.13s + Running tests/options.rs (/home/user/work/research-round2/ticket-signing/mutant-target/debug/deps/options-563e9fa2d57ce743) +error: test failed, to rerun pass `--test options` diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/mutation-logs/M3.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/mutation-logs/M3.txt new file mode 100644 index 0000000000..e9f3034ec8 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/mutation-logs/M3.txt @@ -0,0 +1,61 @@ + +running 19 tests +test a_is_the_standard_string_and_round_trips ... ok +test b_is_rejected_by_the_standard_parser_as_expected ... ok +test d_is_dropped_when_a_standard_client_reads_and_writes_the_ticket ... ok +test a_swapped_endpoint_id_still_parses_so_a_plain_ticket_proves_nothing ... ok +test e_a_plain_ticket_is_accepted_and_unverified_not_refused ... ok +test d_is_accepted_by_the_standard_parser_with_the_same_address ... ok +test paste_rules_the_parser_applies_to_the_pasted_string ... ok +test b_rejects_trailing_bytes_that_iroh_would_ignore ... ok +test d_split_follows_the_wire_length_because_non_canonical_payloads_parse ... ok +test a_signature_made_for_option_d_is_refused_as_option_b ... ok +test c_rejects_a_swapped_endpoint_id_that_the_standard_parser_accepts ... FAILED +test print_lengths_and_examples ... ok +test c_rejects_an_event_from_another_key_or_with_a_forged_signature ... ok +test b_round_trips_through_our_parser_and_verifies ... ok +test c_verifies_the_unchanged_standard_ticket_against_the_signed_event ... ok +test e_a_valid_event_verifies_and_a_mismatched_one_is_rejected ... FAILED +test d_verifies_a_valid_suffix_and_rejects_each_tamper ... ok +test b_rejects_a_changed_ticket_and_a_wrong_signer ... ok +test a_trailing_bytes_are_silently_ignored_at_every_length ... ok + +failures: + +---- c_rejects_a_swapped_endpoint_id_that_the_standard_parser_accepts stdout ---- + +thread 'c_rejects_a_swapped_endpoint_id_that_the_standard_parser_accepts' (2068103) panicked at tests/options.rs:146:5: +assertion `left == right` failed + left: Verified + right: Rejected("ticket is not the one the inviter signed") +note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace + +---- e_a_valid_event_verifies_and_a_mismatched_one_is_rejected stdout ---- + +thread 'e_a_valid_event_verifies_and_a_mismatched_one_is_rejected' (2068111) panicked at tests/options.rs:306:5: +assertion `left == right` failed + left: Verified + right: Rejected("ticket is not the one the inviter signed") + + +failures: + c_rejects_a_swapped_endpoint_id_that_the_standard_parser_accepts + e_a_valid_event_verifies_and_a_mismatched_one_is_rejected + +test result: FAILED. 17 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s + + Blocking waiting for file lock on package cache + Blocking waiting for file lock on package cache + Compiling ticket-options v0.0.0 (/home/user/work/research-round2/ticket-signing/mutants/ticket-options) +warning: unused variable: `ticket` + --> src/lib.rs:211:5 + | +211 | ticket: &EndpointTicket, + | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ticket` + | + = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default + +warning: `ticket-options` (lib) generated 1 warning (run `cargo fix --lib -p ticket-options` to apply 1 suggestion) + Finished `test` profile [unoptimized + debuginfo] target(s) in 1.27s + Running tests/options.rs (/home/user/work/research-round2/ticket-signing/mutant-target/debug/deps/options-563e9fa2d57ce743) +error: test failed, to rerun pass `--test options` diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/mutation-logs/M4.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/mutation-logs/M4.txt new file mode 100644 index 0000000000..2b750bf671 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/mutation-logs/M4.txt @@ -0,0 +1,42 @@ + +running 19 tests +test a_swapped_endpoint_id_still_parses_so_a_plain_ticket_proves_nothing ... ok +test a_is_the_standard_string_and_round_trips ... ok +test b_is_rejected_by_the_standard_parser_as_expected ... ok +test b_rejects_trailing_bytes_that_iroh_would_ignore ... ok +test d_split_follows_the_wire_length_because_non_canonical_payloads_parse ... FAILED +test d_is_dropped_when_a_standard_client_reads_and_writes_the_ticket ... ok +test paste_rules_the_parser_applies_to_the_pasted_string ... ok +test d_is_accepted_by_the_standard_parser_with_the_same_address ... ok +test e_a_plain_ticket_is_accepted_and_unverified_not_refused ... ok +test a_signature_made_for_option_d_is_refused_as_option_b ... ok +test b_rejects_a_changed_ticket_and_a_wrong_signer ... ok +test print_lengths_and_examples ... ok +test c_rejects_an_event_from_another_key_or_with_a_forged_signature ... ok +test c_verifies_the_unchanged_standard_ticket_against_the_signed_event ... ok +test b_round_trips_through_our_parser_and_verifies ... ok +test c_rejects_a_swapped_endpoint_id_that_the_standard_parser_accepts ... ok +test d_verifies_a_valid_suffix_and_rejects_each_tamper ... ok +test e_a_valid_event_verifies_and_a_mismatched_one_is_rejected ... ok +test a_trailing_bytes_are_silently_ignored_at_every_length ... ok + +failures: + +---- d_split_follows_the_wire_length_because_non_canonical_payloads_parse stdout ---- + +thread 'd_split_follows_the_wire_length_because_non_canonical_payloads_parse' (2069022) panicked at tests/options.rs:257:5: +assertion `left == right` failed + left: [0, 234, 74, 108, 99, 226, 156, 82, 10, 190, 245, 80, 123, 19, 46, 197, 249, 149, 71, 118, 174, 190, 190, 123, 146, 66, 30, 234, 105, 20, 70, 210, 44, 2, 0, 28, 104, 116, 116, 112, 115, 58, 47, 47, 114, 101, 108, 97, 121, 46, 101, 120, 97, 109, 112, 108, 101, 46, 116, 101, 115, 116, 46, 47] + right: [0, 234, 74, 108, 99, 226, 156, 82, 10, 190, 245, 80, 123, 19, 46, 197, 249, 149, 71, 118, 174, 190, 190, 123, 146, 66, 30, 234, 105, 20, 70, 210, 44, 2, 0, 28, 104, 116, 116, 112, 115, 58, 47, 47, 114, 101, 108, 97, 121, 46, 101, 120, 97, 109, 112, 108, 101, 46, 116, 101, 115, 116, 46, 47, 0, 28, 104, 116, 116, 112, 115, 58, 47, 47, 114, 101, 108, 97, 121, 46, 101, 120, 97, 109, 112, 108, 101, 46, 116, 101, 115, 116, 46, 47] +note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace + + +failures: + d_split_follows_the_wire_length_because_non_canonical_payloads_parse + +test result: FAILED. 18 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s + + Compiling ticket-options v0.0.0 (/home/user/work/research-round2/ticket-signing/mutants/ticket-options) + Finished `test` profile [unoptimized + debuginfo] target(s) in 0.79s + Running tests/options.rs (/home/user/work/research-round2/ticket-signing/mutant-target/debug/deps/options-563e9fa2d57ce743) +error: test failed, to rerun pass `--test options` diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/mutation-logs/M5.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/mutation-logs/M5.txt new file mode 100644 index 0000000000..0bbaa6d2db --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/mutation-logs/M5.txt @@ -0,0 +1,55 @@ + +running 19 tests +test a_swapped_endpoint_id_still_parses_so_a_plain_ticket_proves_nothing ... ok +test a_is_the_standard_string_and_round_trips ... ok +test b_is_rejected_by_the_standard_parser_as_expected ... ok +test d_is_accepted_by_the_standard_parser_with_the_same_address ... ok +test d_is_dropped_when_a_standard_client_reads_and_writes_the_ticket ... ok +test e_a_plain_ticket_is_accepted_and_unverified_not_refused ... ok +test b_rejects_trailing_bytes_that_iroh_would_ignore ... ok +test d_split_follows_the_wire_length_because_non_canonical_payloads_parse ... ok +test paste_rules_the_parser_applies_to_the_pasted_string ... ok +test print_lengths_and_examples ... ok +test c_rejects_a_swapped_endpoint_id_that_the_standard_parser_accepts ... ok +test c_verifies_the_unchanged_standard_ticket_against_the_signed_event ... ok +test a_signature_made_for_option_d_is_refused_as_option_b ... FAILED +test b_rejects_a_changed_ticket_and_a_wrong_signer ... ok +test b_round_trips_through_our_parser_and_verifies ... ok +test c_rejects_an_event_from_another_key_or_with_a_forged_signature ... ok +test d_verifies_a_valid_suffix_and_rejects_each_tamper ... ok +test e_a_valid_event_verifies_and_a_mismatched_one_is_rejected ... ok +test a_trailing_bytes_are_silently_ignored_at_every_length ... ok + +failures: + +---- a_signature_made_for_option_d_is_refused_as_option_b stdout ---- + +thread 'a_signature_made_for_option_d_is_refused_as_option_b' (2069562) panicked at tests/options.rs:281:5: +assertion failed: reused.verify_from(&inviter_key().public()).is_err() +note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace + + +failures: + a_signature_made_for_option_d_is_refused_as_option_b + +test result: FAILED. 18 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s + + Compiling ticket-options v0.0.0 (/home/user/work/research-round2/ticket-signing/mutants/ticket-options) +warning: constant `DOMAIN_ENVELOPE` is never used + --> src/lib.rs:17:7 + | +17 | const DOMAIN_ENVELOPE: &[u8] = b"id-route/v1/envelope"; + | ^^^^^^^^^^^^^^^ + | + = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default + +warning: constant `DOMAIN_SUFFIX` is never used + --> src/lib.rs:18:7 + | +18 | const DOMAIN_SUFFIX: &[u8] = b"id-route/v1/suffix"; + | ^^^^^^^^^^^^^ + +warning: `ticket-options` (lib) generated 2 warnings + Finished `test` profile [unoptimized + debuginfo] target(s) in 0.69s + Running tests/options.rs (/home/user/work/research-round2/ticket-signing/mutant-target/debug/deps/options-563e9fa2d57ce743) +error: test failed, to rerun pass `--test options` diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/mutation-logs/M6.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/mutation-logs/M6.txt new file mode 100644 index 0000000000..9f2be8aa10 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/mutation-logs/M6.txt @@ -0,0 +1,42 @@ + +running 19 tests +test a_swapped_endpoint_id_still_parses_so_a_plain_ticket_proves_nothing ... ok +test a_is_the_standard_string_and_round_trips ... ok +test b_is_rejected_by_the_standard_parser_as_expected ... ok +test b_rejects_trailing_bytes_that_iroh_would_ignore ... ok +test d_split_follows_the_wire_length_because_non_canonical_payloads_parse ... ok +test d_is_accepted_by_the_standard_parser_with_the_same_address ... ok +test d_is_dropped_when_a_standard_client_reads_and_writes_the_ticket ... ok +test e_a_plain_ticket_is_accepted_and_unverified_not_refused ... FAILED +test paste_rules_the_parser_applies_to_the_pasted_string ... ok +test print_lengths_and_examples ... ok +test c_rejects_a_swapped_endpoint_id_that_the_standard_parser_accepts ... ok +test b_round_trips_through_our_parser_and_verifies ... ok +test b_rejects_a_changed_ticket_and_a_wrong_signer ... ok +test c_rejects_an_event_from_another_key_or_with_a_forged_signature ... ok +test a_signature_made_for_option_d_is_refused_as_option_b ... ok +test c_verifies_the_unchanged_standard_ticket_against_the_signed_event ... ok +test e_a_valid_event_verifies_and_a_mismatched_one_is_rejected ... ok +test d_verifies_a_valid_suffix_and_rejects_each_tamper ... ok +test a_trailing_bytes_are_silently_ignored_at_every_length ... ok + +failures: + +---- e_a_plain_ticket_is_accepted_and_unverified_not_refused stdout ---- + +thread 'e_a_plain_ticket_is_accepted_and_unverified_not_refused' (2070113) panicked at tests/options.rs:290:5: +assertion `left == right` failed + left: Rejected("no event") + right: Unverified +note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace + + +failures: + e_a_plain_ticket_is_accepted_and_unverified_not_refused + +test result: FAILED. 18 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s + + Compiling ticket-options v0.0.0 (/home/user/work/research-round2/ticket-signing/mutants/ticket-options) + Finished `test` profile [unoptimized + debuginfo] target(s) in 0.64s + Running tests/options.rs (/home/user/work/research-round2/ticket-signing/mutant-target/debug/deps/options-563e9fa2d57ce743) +error: test failed, to rerun pass `--test options` diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/mutation-logs/M7.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/mutation-logs/M7.txt new file mode 100644 index 0000000000..bebd727c52 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/mutation-logs/M7.txt @@ -0,0 +1,42 @@ + +running 19 tests +test b_rejects_trailing_bytes_that_iroh_would_ignore ... ok +test b_is_rejected_by_the_standard_parser_as_expected ... ok +test a_is_the_standard_string_and_round_trips ... ok +test d_split_follows_the_wire_length_because_non_canonical_payloads_parse ... ok +test a_swapped_endpoint_id_still_parses_so_a_plain_ticket_proves_nothing ... ok +test d_is_dropped_when_a_standard_client_reads_and_writes_the_ticket ... ok +test e_a_plain_ticket_is_accepted_and_unverified_not_refused ... ok +test d_is_accepted_by_the_standard_parser_with_the_same_address ... ok +test c_rejects_an_event_from_another_key_or_with_a_forged_signature ... FAILED +test c_verifies_the_unchanged_standard_ticket_against_the_signed_event ... ok +test paste_rules_the_parser_applies_to_the_pasted_string ... ok +test print_lengths_and_examples ... ok +test b_rejects_a_changed_ticket_and_a_wrong_signer ... ok +test a_signature_made_for_option_d_is_refused_as_option_b ... ok +test b_round_trips_through_our_parser_and_verifies ... ok +test d_verifies_a_valid_suffix_and_rejects_each_tamper ... ok +test c_rejects_a_swapped_endpoint_id_that_the_standard_parser_accepts ... ok +test e_a_valid_event_verifies_and_a_mismatched_one_is_rejected ... ok +test a_trailing_bytes_are_silently_ignored_at_every_length ... ok + +failures: + +---- c_rejects_an_event_from_another_key_or_with_a_forged_signature stdout ---- + +thread 'c_rejects_an_event_from_another_key_or_with_a_forged_signature' (2070798) panicked at tests/options.rs:157:5: +assertion `left == right` failed + left: Rejected("bad event signature") + right: Rejected("event not signed by the expected inviter") +note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace + + +failures: + c_rejects_an_event_from_another_key_or_with_a_forged_signature + +test result: FAILED. 18 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s + + Compiling ticket-options v0.0.0 (/home/user/work/research-round2/ticket-signing/mutants/ticket-options) + Finished `test` profile [unoptimized + debuginfo] target(s) in 0.59s + Running tests/options.rs (/home/user/work/research-round2/ticket-signing/mutant-target/debug/deps/options-563e9fa2d57ce743) +error: test failed, to rerun pass `--test options` diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/mutation-logs/baseline.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/mutation-logs/baseline.txt new file mode 100644 index 0000000000..8f9719e89a --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/mutation-logs/baseline.txt @@ -0,0 +1,117 @@ + +running 19 tests +test a_swapped_endpoint_id_still_parses_so_a_plain_ticket_proves_nothing ... ok +test a_is_the_standard_string_and_round_trips ... ok +test b_is_rejected_by_the_standard_parser_as_expected ... ok +test e_a_plain_ticket_is_accepted_and_unverified_not_refused ... ok +test d_is_accepted_by_the_standard_parser_with_the_same_address ... ok +test paste_rules_the_parser_applies_to_the_pasted_string ... ok +test d_split_follows_the_wire_length_because_non_canonical_payloads_parse ... ok +test print_lengths_and_examples ... ok +test d_is_dropped_when_a_standard_client_reads_and_writes_the_ticket ... ok +test b_rejects_trailing_bytes_that_iroh_would_ignore ... ok +test a_signature_made_for_option_d_is_refused_as_option_b ... ok +test c_rejects_an_event_from_another_key_or_with_a_forged_signature ... ok +test b_round_trips_through_our_parser_and_verifies ... ok +test c_rejects_a_swapped_endpoint_id_that_the_standard_parser_accepts ... ok +test b_rejects_a_changed_ticket_and_a_wrong_signer ... ok +test d_verifies_a_valid_suffix_and_rejects_each_tamper ... ok +test c_verifies_the_unchanged_standard_ticket_against_the_signed_event ... ok +test e_a_valid_event_verifies_and_a_mismatched_one_is_rejected ... ok +test a_trailing_bytes_are_silently_ignored_at_every_length ... ok + +test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s + + Compiling proc-macro2 v1.0.107 + Compiling quote v1.0.47 + Compiling unicode-ident v1.0.26 + Compiling stable_deref_trait v1.2.1 + Compiling rand_core v0.10.1 + Compiling serde_core v1.0.229 + Compiling serde v1.0.229 + Compiling semver v1.0.28 + Compiling writeable v0.6.4 + Compiling litemap v0.8.3 + Compiling typenum v1.20.1 + Compiling cfg-if v1.0.5 + Compiling cpufeatures v0.3.1 + Compiling utf8_iter v1.0.4 + Compiling icu_normalizer_data v2.3.0 + Compiling icu_properties_data v2.3.0 + Compiling smallvec v1.16.3 + Compiling libc v0.2.190 + Compiling getrandom v0.4.3 + Compiling thiserror v2.0.21 + Compiling base16ct v1.0.0 + Compiling unicode-segmentation v1.13.3 + Compiling scopeguard v1.2.0 + Compiling rustc_version v0.4.1 + Compiling lock_api v0.4.14 + Compiling signature v3.0.0 + Compiling percent-encoding v2.3.2 + Compiling unicode-xid v0.2.6 + Compiling data-encoding v2.11.1 + Compiling byteorder v1.5.0 + Compiling subtle v2.6.1 + Compiling shlex v2.0.1 + Compiling find-msvc-tools v0.1.14 + Compiling chacha20 v0.10.2 + Compiling form_urlencoded v1.2.2 + Compiling spin v0.9.9 + Compiling convert_case v0.10.0 + Compiling curve25519-dalek v5.0.0 + Compiling heapless v0.7.17 + Compiling hash32 v0.2.1 + Compiling constant_time_eq v0.4.2 + Compiling cc v1.7.0 + Compiling arrayvec v0.7.8 + Compiling hybrid-array v0.4.15 + Compiling syn v3.0.7 + Compiling syn v2.0.119 + Compiling block-buffer v0.12.1 + Compiling crypto-common v0.2.2 + Compiling rand v0.10.3 + Compiling blake3 v1.8.7 + Compiling digest v0.11.3 + Compiling sha2 v0.11.0 + Compiling synstructure v0.14.0 + Compiling zerovec-derive v0.11.6 + Compiling displaydoc v0.2.7 + Compiling serde_derive v1.0.229 + Compiling thiserror-impl v2.0.21 + Compiling data-encoding-macro-internal v0.1.19 + Compiling zerofrom-derive v0.1.8 + Compiling yoke-derive v0.8.4 + Compiling data-encoding-macro v0.1.21 + Compiling zerofrom v0.1.8 + Compiling yoke v0.8.3 + Compiling cobs v0.3.0 + Compiling zerovec v0.11.8 + Compiling zerotrie v0.2.5 + Compiling zeroize_derive v1.5.0 + Compiling curve25519-dalek-derive v0.1.1 + Compiling derive_more-impl v2.1.1 + Compiling n0-error-macros v1.0.1 + Compiling spez v0.1.2 + Compiling tinystr v0.8.4 + Compiling potential_utf v0.1.6 + Compiling icu_collections v2.3.0 + Compiling icu_locale_core v2.3.0 + Compiling zeroize v1.9.1 + Compiling n0-error v1.0.1 + Compiling icu_provider v2.3.1 + Compiling derive_more v2.1.1 + Compiling icu_normalizer v2.3.0 + Compiling icu_properties v2.3.0 + Compiling serdect v0.4.3 + Compiling ed25519 v3.0.0 + Compiling postcard v1.1.3 + Compiling idna_adapter v1.2.2 + Compiling idna v1.1.0 + Compiling ed25519-dalek v3.0.0 + Compiling url v2.5.8 + Compiling iroh-base v1.3.0 + Compiling iroh-tickets v1.0.0 + Compiling ticket-options v0.0.0 (/home/user/work/research-round2/ticket-signing/mutants/ticket-options) + Finished `test` profile [unoptimized + debuginfo] target(s) in 11.92s + Running tests/options.rs (/home/user/work/research-round2/ticket-signing/mutant-target/debug/deps/options-563e9fa2d57ce743) diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/mutation-output.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/mutation-output.txt new file mode 100644 index 0000000000..c84ac1a30c --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/mutation-output.txt @@ -0,0 +1,17 @@ +BASELINE (no mutation): exit 0; test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s + failing tests: none +M1 option B accepts trailing bytes (lenient parse): exit 101; test result: FAILED. 18 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s + failing tests (1): ['b_rejects_trailing_bytes_that_iroh_would_ignore'] +M2 option D skips the expected-signer check: exit 101; test result: FAILED. 18 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s + failing tests (1): ['d_verifies_a_valid_suffix_and_rejects_each_tamper'] +M3 option C skips the ticket digest check: exit 101; test result: FAILED. 17 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s + failing tests (2): ['c_rejects_a_swapped_endpoint_id_that_the_standard_parser_accepts', 'e_a_valid_event_verifies_and_a_mismatched_one_is_rejected'] +M4 option D splits by re-encoding the ticket: exit 101; test result: FAILED. 18 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s + failing tests (1): ['d_split_follows_the_wire_length_because_non_canonical_payloads_parse'] +M5 options B and D sign with no domain tag: exit 101; test result: FAILED. 18 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s + failing tests (1): ['a_signature_made_for_option_d_is_refused_as_option_b'] +M6 option E refuses a plain ticket: exit 101; test result: FAILED. 18 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s + failing tests (1): ['e_a_plain_ticket_is_accepted_and_unverified_not_refused'] +M7 option C ignores the event author: exit 101; test result: FAILED. 18 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s + failing tests (1): ['c_rejects_an_event_from_another_key_or_with_a_forged_signature'] +scratch copy removed diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/print-output.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/print-output.txt new file mode 100644 index 0000000000..8a44c68f4f --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/print-output.txt @@ -0,0 +1,48 @@ +running 19 tests +test a_is_the_standard_string_and_round_trips ... ok +test a_signature_made_for_option_d_is_refused_as_option_b ... ok +test a_swapped_endpoint_id_still_parses_so_a_plain_ticket_proves_nothing ... ok +test a_trailing_bytes_are_silently_ignored_at_every_length ... ok +test b_is_rejected_by_the_standard_parser_as_expected ... standard EndpointTicket parser on B: wrong prefix, expected endpoint +pkgs/id check_target accepts B: false +ok +test b_rejects_a_changed_ticket_and_a_wrong_signer ... B changed ticket: verification failed: bad signature +B wrong signer: verification failed: not signed by the expected inviter +ok +test b_rejects_trailing_bytes_that_iroh_would_ignore ... ok +test b_round_trips_through_our_parser_and_verifies ... B string (361 chars): idsigaf6gk3teobxws3tumfshmzlvgnsgindln5tgky3wgy3hm2lio5sxu33zpa2hu23sgn3xmmrxnq2dmndtnfuxa33vgjuxk2jtnjrxsylrmfshe5line2wi4lpnu2wgntmgnzw25txm5rtm2tpnv3diz3dgnwhc3tsonztinlemzxw4mtdgrwhsytbmrqwcylbofvtezlsmhievmrsoqv3jkz2cnul2rqv4ttnaiskw4nac25pquqkgmwjo6dtpjdmjjgw4neeieocz34provogw5fqdnvsrfw3navi47z4vybossac73k3fmpj33eof7jz6pz5oidqzdiodcl6zjvyqvgu5mg6uatmadq +ok +test c_rejects_a_swapped_endpoint_id_that_the_standard_parser_accepts ... ok +test c_rejects_an_event_from_another_key_or_with_a_forged_signature ... ok +test c_verifies_the_unchanged_standard_ticket_against_the_signed_event ... C invite event: 215 bytes (stored with the chain, not pasted) +ok +test d_is_accepted_by_the_standard_parser_with_the_same_address ... D string (277 chars): endpointadveu3dd4kofecv66vihwezoyx4zkr3wv27l464siipou2iui3jcyaqadruhi5dqom5c6l3smvwgc6jomv4gc3lqnrss45dfon2c4lybadaaaaqk2ernvekx66jofchhmmy3jlwalk5nffj77vjswr6gglfpqo3tm5q3cqcgamoh5w45flcvplje4ldvajy23ahcvbphlmohiixfggxcopboalievmrsoqv3jkz2cnul2rqv4ttnaiskw4nac25pquqkgmwjo6dto +ok +test d_is_dropped_when_a_standard_client_reads_and_writes_the_ticket ... ok +test d_split_follows_the_wire_length_because_non_canonical_payloads_parse ... wire payload 94 bytes, canonical re-encoding 64 bytes +ok +test d_verifies_a_valid_suffix_and_rejects_each_tamper ... ok +test e_a_plain_ticket_is_accepted_and_unverified_not_refused ... ok +test e_a_valid_event_verifies_and_a_mismatched_one_is_rejected ... ok +test paste_rules_the_parser_applies_to_the_pasted_string ... paste exact copy: accepted +paste trailing newline: rejected: invalid symbol at 116 +paste trailing space: rejected: invalid symbol at 116 +paste leading space: rejected: wrong prefix, expected endpoint +paste upper-case prefix: rejected: wrong prefix, expected endpoint +paste upper-case body: accepted +paste B upper-case body: true +paste B trailing newline: false +paste D trailing newline: false +ok +test print_lengths_and_examples ... C invite event: 215 bytes +C event inline in a link, base32: 344 chars +one 32-byte key as base32 (link trust anchor): 52 chars +A example: endpointadveu3dd4kofecv66vihwezoyx4zkr3wv27l464siipou2iui3jcyaqadruhi5dqom5c6l3smvwgc6jomv4gc3lqnrss45dfon2c4lybadaaaaqk2era +D example: endpointadveu3dd4kofecv66vihwezoyx4zkr3wv27l464siipou2iui3jcyaqadruhi5dqom5c6l3smvwgc6jomv4gc3lqnrss45dfon2c4lybadaaaaqk2ernvekx66jofchhmmy3jlwalk5nffj77vjswr6gglfpqo3tm5q3cqcgamoh5w45flcvplje4ldvajy23ahcvbphlmohiixfggxcopboalievmrsoqv3jkz2cnul2rqv4ttnaiskw4nac25pquqkgmwjo6dto +| address set | A (and C, E pasted) | B string inside | B payload inside (computed) | D sig + key | D sig only (computed) | +|---|---|---|---|---|---| +| relay only (payload 64 bytes) | 111 | 340 | 265 | 264 | 213 | +| relay + 1 IPv4 (payload 72 bytes) | 124 | 361 | 277 | 277 | 226 | +| relay + 2 IPv4 + 1 IPv6 (payload 100 bytes) | 168 | 433 | 322 | 322 | 271 | +ok +test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/scripts/RESULTS.template.md b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/scripts/RESULTS.template.md new file mode 100644 index 0000000000..c98c8f9bbb --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/scripts/RESULTS.template.md @@ -0,0 +1,306 @@ +# RESULTS: signing EndpointTickets + +Date: 2026-10-11. Folder: `/home/user/work/research-round2/ticket-signing/`. Test crate: `ticket-options/` (iroh-tickets 1.0.0, iroh-base 1.3.0, postcard 1.1.3). Its `Cargo.lock` was copied from `/home/user/work/spikes/Cargo.lock`. Build target: `target/`, as the parent asked. Written only inside this folder. Read only: the registry crates, `pkgs/id` (source and lock), the spikes lock, S9's RESULTS, and the design docs. No network was used. + +Labels: **[verified]** means read in source or seen in output. **[inferred]** means my reasoning from verified facts. **[not checked]** means not tested here. + +## Questions (verbatim) + +Owner, relayed by the parent: + +> n24 i'm not sure what signing tickets entails but we should use or at least allow regular tickets i think and at least for the user they shouldn't need to do anything special they can just validate the signature if they wished. i am on board with signing etc. + +Background from the parent: S9 found that an EndpointTicket carries an EndpointId, a relay URL and addresses, has no signature and no expiry, and that trailing bytes are silently ignored by the parser. + +1. Read iroh-tickets 1.0.0 in the cargo registry: the EndpointTicket format (prefix, encoding, payload type, the serializer), the parser, and how trailing bytes are handled. Confirm S9's claim in source and with a test. +2. Options, each with a concrete format: + (A) standard EndpointTicket only, no signature; + (B) our signed envelope: a new prefix, the standard ticket string inside, and a signature by the inviter's identity key. Standard iroh tools would not parse it; + (C) standard EndpointTicket, plus a separate signed invite event that carries the signature. The ticket itself stays standard; + (D) standard EndpointTicket with appended signature bytes that the parser ignores. Test whether this is robust, and whether it changes the prefix or length. + Also consider (E): both A and C, so standard tickets always work and signatures are optional and checked automatically when present. +3. For each option: what the user copies and pastes, how long the string is, how validation works, what a client does with a bad signature, and compatibility with other iroh tools. +4. Write a small test program that round-trips each option through the iroh-tickets parser and checks that a standard client still accepts the ticket. Show the test output. +5. Recommend one option, and say how it meets the owner's requirements: regular tickets work, signatures are optional, and the user needs to do nothing special. + +## Short answers + +**1. Format, parser, trailing bytes.** **[verified]** iroh-tickets 1.0.0 defines `EndpointTicket { addr: EndpointAddr }`, with no signature, no expiry and no version field of its own (`src/endpoint.rs:30-32`; `src/lib.rs:14-15` leaves versioning to the implementer). The only wire version marker is the enum variant `Variant1` (`endpoint.rs:34-43`). The payload is postcard: the variant index, the 32-byte EndpointId, and a counted `BTreeSet` (`endpoint.rs:129-138`). The string is the prefix `endpoint` plus unpadded base32 of those bytes, lowercased (`lib.rs:44-49`, `endpoint.rs:46, 48-58`). Parsing needs the lowercase prefix (`lib.rs:59`), uppercases the rest for base32 (`lib.rs:62`), and calls `postcard::from_bytes` (`endpoint.rs:61`). postcard documents that the unused part of the input "is not returned" (`postcard-1.1.3/src/de/mod.rs:10-11`). iroh-tickets itself never mentions trailing bytes (grep of its `src` and `README.md`: no matches), so the tolerance is inherited from postcard. S9's three claims hold. The payload carries the EndpointId, relay URLs and IP addresses. There is no signature or expiry field. The parser accepts 0 to 300 appended bytes and returns the same address each time (test `a_trailing_bytes_are_silently_ignored_at_every_length`). It also accepts an edited EndpointId (test `a_swapped_endpoint_id_still_parses_so_a_plain_ticket_proves_nothing`). + +**2. The options.** **[verified by tests; the design choices are mine]** Each option is built and round-tripped, and all 19 tests pass. A is the standard string: 124 characters for a relay plus one IPv4 address, the same length S9 measured. B is `idsig` followed by base32 of a postcard envelope that holds the standard ticket string, the inviter's key, and an Ed25519 signature. It is 361 characters, and the standard parser rejects it. C leaves the ticket unchanged and keeps the signature in an invite event (215 bytes in postcard), whose body commits to the BLAKE3 digest of the ticket's canonical bytes. The event is not pasted. D appends a 64-byte signature and the 32-byte signer key after the postcard payload. The prefix stays `endpoint`, the string grows to 277 characters, and the standard parser accepts it with the same address. Its verifier must split by the wire length, because a standard re-share drops the suffix and a non-canonical payload gives the wrong split. E is A plus C: the pasted string is always the standard ticket, and the event is checked when one is present. + +**3. What the user pastes, and how each option behaves.** **[verified for lengths, messages and parse results; inferred for the user experience]** The table under Options has the full answer. In short: A, C and E paste the 124-character standard ticket, the format that `pkgs/id` already accepts. B needs a new string of 361 characters that the standard parser rejects, and `pkgs/id`'s `check_target` rejects it too. D pastes 277 characters that the standard parser accepts, but a re-share silently strips the signature. **[inferred]** For B and D the signer key sits inside the string, so the verifier must compare it with a key from outside the ticket; a forger can sign with its own key otherwise. The wrong-signer tests check this. A bad signature is a refusal in B, C and D, with a specific message. In E a missing event is `Unverified`, not an error. + +**4. The test program.** **[verified]** `cargo test --offline` in `ticket-options/` runs 19 tests, and all 19 pass (`test-output.txt`). They cover the round trip of each option, standard-parser acceptance for A, C, D and E, the rejection of B by the standard parser, tampering and wrong-signer cases for each signed option, the trailing-byte sweep, the non-canonical split, and the paste rules. A mutation check (`scripts/mutate.py`) makes seven deliberate faults in a scratch copy, and each one fails the test written for it (`mutation-output.txt`). An earlier run reported a red baseline. That was a stale build in the harness's scratch target, because `copytree` kept old mtimes. The harness now clears its target and bumps mtimes, and its baseline is green. + +**5. Recommendation.** **[inferred from the measured results]** Recommend **E**. The pasted string stays the standard EndpointTicket, pasted exactly as today. The inviter's signature lives in a signed invite event in the admin's chain, which the design already has (design §10.1). The joiner's client checks the event before it sends the accept. `Verified` means send. `Unverified` (no event reachable) means send with a visible label. `Rejected` means do not dial, and show why. The user does nothing extra, and can inspect the check if they wish. Two conditions make it work. The link must carry the inviter's key as a trust anchor (`by=`). Invite events must be readable before the join (open pull, task 07 item 6). + +## Options + +### Concrete formats + +**A. Standard ticket, unsigned.** `endpoint` + base32(postcard(`Variant1 { id, addrs }`)). Nothing is added. + +Example, relay plus one IPv4 address (124 characters, from `print-output.txt`): + +``` +@@A_EXAMPLE@@ +``` + +**B. Signed envelope.** Prefix `idsig`: + +``` +"idsig" + base32( postcard( Envelope { + version: u8 = 1, + ticket: String = the A string, parsed with EndpointTicket::from_str, + signer: [u8; 32] = the inviter's Ed25519 key, as the envelope claims it, + signature: [u8; 64] = Ed25519 verify_strict over b"id-route/v1/envelope" || ticket.encode_bytes() +}) ) +``` + +Decoding is strict, so leftover bytes are an error (`b_rejects_trailing_bytes_that_iroh_would_ignore`). The trust check is `verify_from(K)`. It compares `signer` with K, then checks the signature. Example, 361 characters: + +``` +@@B_EXAMPLE@@ +``` + +A compact variant would put the payload bytes in place of the string. It is not built. Its length is computed from postcard of the same fields: 277 characters for relay plus one IPv4 address. + +**C. Standard ticket plus a signed invite event.** The link becomes `id:join?group=G&invite=I&ticket=T&by=K`. T is the A string, unchanged. K is the inviter's account key, which is 52 base32 characters (measured). `by` is new. The design's link is at `design_groups_events_delegation.md:467`. + +The event is stored in the inviter's chain and is not pasted: + +``` +InviteEvent { + body: InviteBody { + group: [u8; 32], invite_id: [u8; 16], expires_ms: u64, max_uses: u32, + invite_key: [u8; 32], // the Seitan-derived public key (design §10.1) + ticket_digest: [u8; 32], // BLAKE3(b"id-route/v1/ticket-digest" || canonical ticket bytes) + author: [u8; 32], // the signing key. It must be K, or a device key delegated from K + }, + signature: [u8; 64], // Ed25519 verify_strict over b"id-route/v1/invite-event" || postcard(body) +} +``` + +The event is 215 bytes in postcard (measured). The design's canonical CBOR would change that figure. The digest is over the canonical bytes of the parsed ticket, not over the string. This matters: the upper-case-body string parses to an equal ticket (asserted in `paste_rules_the_parser_applies_to_the_pasted_string`), so a string digest would differ for one ticket. + +**D. Standard ticket plus a suffix.** Prefix `endpoint`, unchanged: + +``` +"endpoint" + base32( payload || signature[64] || signer[32] ) +signature = Ed25519 verify_strict over b"id-route/v1/suffix" || payload +``` + +The payload is the received postcard bytes. A standard parser ignores the 96-byte suffix. Our split uses a mirror of iroh's private wire type, through `postcard::take_from_bytes`. Example, 277 characters: + +``` +@@D_EXAMPLE@@ +``` + +**E. A plus C, checked when present.** The pasted string is A. The check is `check_route(ticket_text, Option<&InviteEvent>, K) -> (EndpointTicket, RouteStatus)`: +- `Verified`: the event's author is K, the signature verifies, and the digest matches the pasted ticket. +- `Unverified`: no event is available. +- `Rejected(reason)`: any check fails. + +### Comparison + +| Option | What the user copies and pastes | Length, relay + 1 IPv4 (measured) | How validation works | Bad signature | Standard iroh tools (`EndpointTicket` parser) | +|---|---|---|---|---|---| +| A | The ticket | 124 | Parse only. The EndpointId is not authenticated, so an edited ID still parses | Nothing to check. An edited ID is accepted silently | Accepts | +| B | One `idsig` envelope | 361 (string inside). 277 (payload inside, computed) | Structure, then `verify_from(K)`: signer must equal K, then Ed25519 `verify_strict` over the domain-tagged ticket bytes | Refuse: `verification failed: bad signature`, or `not signed by the expected inviter` (tested) | Rejects: `wrong prefix, expected endpoint` (tested). `pkgs/id` `check_target` rejects too (tested with the same logic) | +| C | The ticket. The link also carries `by=K` (52 characters). The event is fetched, not pasted | 124 (plus 52 for K in the link) | Event author = K, event signature, and the digest equals the digest of the pasted ticket | Refuse: `event not signed by the expected inviter`, `bad event signature`, or `ticket is not the one the inviter signed` (tested) | Accepts. The ticket is unchanged. The event is not a ticket | +| D | The ticket with a 96-byte suffix | 277 | Split by wire length. Signer = K. Verify over the received payload | Refuse: `bad signature`, `suffix not signed by the expected inviter`, or `trailing bytes are not a signature` (tested). No suffix: `Unverified` | Accepts, same address (tested). A standard re-share drops the suffix (tested) | +| E | The ticket, as today | 124 | As C when an event is present. No event: `Unverified` | `Rejected`: refuse. `Unverified`: proceed with a label (a policy choice, see Recommendation) | Accepts | + +### Lengths (measured, `print-output.txt`) + +| Address set | A (also C and E pasted) | B, string inside | B, payload inside (computed) | D, signature and key | D, signature only (computed, not built) | +|---|---|---|---|---|---| +| relay only (payload 64 bytes) | 111 | 340 | 265 | 264 | 213 | +| relay + 1 IPv4 (payload 72 bytes) | 124 | 361 | 277 | 277 | 226 | +| relay + 2 IPv4 + 1 IPv6 (payload 100 bytes) | 168 | 433 | 322 | 322 | 271 | + +C's event is 215 bytes, which is 344 base32 characters if it were carried inline (computed). A 32-byte key is 52 base32 characters (computed by `data-encoding`'s `encode_len`). + +### Paste rules (measured, shared by every option) + +| Paste | Result | +|---|---| +| exact copy | accepted | +| trailing newline | rejected: `invalid symbol at 116` | +| trailing space | rejected: `invalid symbol at 116` | +| leading space | rejected: `wrong prefix, expected endpoint` | +| upper-case prefix (`ENDPOINT…`) | rejected: `wrong prefix, expected endpoint` | +| upper-case body | accepted, and equal to the exact copy | +| B trailing newline | rejected | +| D trailing newline | rejected | + +## Recommendation + +**Recommend E: the standard ticket, plus an inviter-signed invite event that commits to the ticket's digest.** It uses pieces the design already has: +- The link gains `by=K`. The design's link format is at `design_groups_events_delegation.md:467`. +- The invite event (task 07 item 3) gains `ticket_digest`. Events are already signed by their author (design line 31, and line 78 on `author`). +- The joiner checks the event before sending the accept. `Verified`: send. `Unverified`: send, with a visible "route not verified" label. `Rejected`: do not dial, and show the reason. + +### How E meets the owner's requirements + +- **Regular tickets work.** The pasted string is the standard ticket: 124 characters for relay plus one IPv4 address. iroh-tickets 1.0.0 accepts it with the same address (tests `a_is_the_standard_string_and_round_trips`, `c_verifies_the_unchanged_standard_ticket_against_the_signed_event`, `e_a_plain_ticket_is_accepted_and_unverified_not_refused`). `check_target` (`pkgs/id/src/envelope_outbox.rs:394-404`) needs no change. **[verified]** +- **The user does nothing special.** The user pastes what they paste today. The check runs in the client. **[inferred]** +- **Validation is optional for the user.** The client shows the status. The inviter's key K can be shown as a fingerprint for a manual comparison if the user wants one. **[inferred]** +- **Signing is in.** The invite event is signed by the inviter's key, and the ticket is bound to it by digest. Wrong signers, changed tickets, swapped IDs and forged events are all refused (tests `c_*` and `e_*`). **[verified]** + +### Why not the others + +- **A alone.** An edited EndpointId parses, and nothing flags it (test `a_swapped_endpoint_id…`). It meets the paste requirement but not the signing one. **[verified]** +- **B.** Standard tools reject it (`wrong prefix, expected endpoint`). `pkgs/id`'s `check_target` rejects it too. It is the longest paste, at 361 characters. Its one advantage is a self-contained string, which matters only for offline verification. **[verified for the rejection; the advantage is inferred]** +- **D.** It is shorter than B (277 characters) and keeps the prefix. But a standard re-share silently strips the signature (test `d_is_dropped_when_a_standard_client_reads_and_writes_the_ticket`). A split by re-encoding breaks on a non-canonical payload: 94 bytes on the wire, 64 when re-encoded (test `d_split_follows_the_wire_length…`). It also depends on postcard's `from_bytes` tolerance, which iroh-tickets does not state. A future strict parser would reject every D ticket, which breaks the standard-client guarantee the owner asked for. **[verified for the first two; inferred for the last]** + +### Join flow under E (proposal) + +1. Trim the pasted text. A trailing newline or space fails the parser (measured). `check_target` does not trim (`envelope_outbox.rs:394-404`; its callers at 172, 183 and 376 pass the raw target). **[verified]** +2. Parse the ticket with the standard parser. +3. Ask the ticket's node for the invite event by invite ID, before sending the accept. Open pull allows this (task 07 item 6). **[inferred]** +4. Run `check_route`. `Verified` means send the accept. `Unverified` means send it with the label. `Rejected` means stop. + +### Decisions for the owner + +1. **Unverified policy.** Proceed with a label (my recommendation), or refuse. Proceeding is reasonable because the Seitan proof still guards admission, so a bad route can only leak metadata or stall the join. **[inferred]** +2. **The trust anchor K.** A signature proves consistency with K only. Whoever writes the link chooses K, which is the same trust the link has today. **[inferred]** +3. **Invite events must be readable before joining.** Under authorized pull, E returns `Unverified` for every invite unless the event is served by invite ID. This needs a decision in task 07 item 6. + +### What would change the recommendation + +- **Offline verification** (a QR code, paste only, no network before the join). Carry the event inline with `by=K`: about 344 characters for the event plus 52 for the key (computed). That avoids D's dependence on parser tolerance. D is shorter (+153 characters over A) but riskier. +- **Authorized pull as the default for groups.** E cannot verify an invite before the join. +- **A requirement to bind group, invite and expiry in one string.** Use B, alongside A, not in its place. Adding the group ID and invite ID would add 48 bytes, about 77 characters. That is an estimate and was not built. +- **iroh-tickets adding a trailing-byte check.** E and C would not change. D would break. + +### What changes in the design, if E is adopted + +- Task 07 item 3 (invite event): add `ticket_digest` to the body. +- Design §10.3 (link): add `by=K`. +- Design §10.3 step 2: fetch and check the event before the accept. +- `pkgs/id`: trim the pasted target. No change to the EndpointTicket parse. + +## Evidence + +### Source (read directly) + +| Claim | Location | +|---|---| +| `EndpointTicket { addr: EndpointAddr }`; no signature, expiry or version field | `iroh-tickets-1.0.0/src/endpoint.rs:30-32` | +| Versioning is left to the implementer | `iroh-tickets-1.0.0/src/lib.rs:14-15` | +| Wire format: one variant `Variant1`, holding `id` and `info.addrs` | `endpoint.rs:34-43, 129-138` | +| `KIND = "endpoint"` | `endpoint.rs:46` | +| Serializer: `postcard::to_stdvec` of the wire enum | `endpoint.rs:48-58` | +| Parser: `postcard::from_bytes(bytes)?` | `endpoint.rs:60-69` (the call is at 61) | +| `FromStr` calls `Ticket::decode_string` | `endpoint.rs:75-77` | +| String form: KIND plus `BASE32_NOPAD.encode`, lowercased | `lib.rs:44-49` | +| Decoding: case-sensitive `strip_prefix` (59); base32 of the uppercased body (62) | `lib.rs:57-64` | +| Error variants, including `Verify { message }`, and the `verification_failed` constructor | `lib.rs:71-93, 106-108` | +| postcard `from_bytes`: "The unused portion (if any) of the byte slice is not returned" | `postcard-1.1.3/src/de/mod.rs:10-19` | +| postcard `take_from_bytes` returns the unused portion | `postcard-1.1.3/src/de/mod.rs:60-70` | +| `EndpointAddr { id, addrs: BTreeSet }` | `iroh-base-1.3.0/src/endpoint_addr.rs:41-47` | +| `TransportAddr` is `#[non_exhaustive]`: Relay, Ip, Custom | `endpoint_addr.rs:54-62` | +| `PublicKey::verify` uses `verify_strict` | `iroh-base-1.3.0/src/key.rs:134-138` | +| `PublicKey` `FromStr` uses base32-hex | `key.rs:249-256` | +| iroh-tickets does not mention trailing bytes (grep of `src` and `README.md`) | no matches | + +### pkgs/id (read only) + +| Claim | Location | +|---|---| +| `check_target` tries `EndpointTicket` first, then `EndpointId`. No trimming | `pkgs/id/src/envelope_outbox.rs:394-404` | +| The only `EndpointTicket` parse in `pkgs/id/src` (grep). Line 18 is the import, and 443 is a test | `envelope_outbox.rs:395` | +| Callers pass the raw target: `enqueue`, `enqueue_artifact`, and delivery | `envelope_outbox.rs:172, 183, 376` | +| Pinned versions: iroh-tickets 1.0.0, iroh-base 1.3.0, postcard 1.1.3, ed25519-dalek 3.0.0, iroh 1.3.0 | `pkgs/id/Cargo.lock:3339, 3085, 4998, 1683, 3035` | + +### Prior work and design (read only) + +| Claim | Location | +|---|---| +| S9: the ticket probe (124 characters; 18 bytes appended parse; EndpointId swap parses) | `/home/user/work/spikes-next/s9-seitan/RESULTS.md:8, 125-138` | +| S9 verdicts: a token cannot ride in a ticket; expiry and single use belong to the invite event | `RESULTS.md:144-154` | +| Events are signed. `author` is the signing key | `design_groups_events_delegation.md:31, 78` | +| Invite event contents (invite ID, expiry, public key); the link format | `design_groups_events_delegation.md` §10.1 and line 467 | +| Invite event, tickets, pull policy | `task-07-invites-and-pull.md:21, 23, 24` | + +### Commands and environment + +``` +rustup which --toolchain 1.97.0 cargo + -> /home/user/.rustup/toolchains/1.97.0-x86_64-unknown-linux-gnu/bin/cargo +export PATH=/home/user/.rustup/toolchains/1.97.0-x86_64-unknown-linux-gnu/bin:$PATH +export RUSTC=/home/user/.rustup/toolchains/1.97.0-x86_64-unknown-linux-gnu/bin/rustc +export CARGO_TARGET_DIR=/home/user/work/research-round2/ticket-signing/target +cd ticket-options +cargo test --offline # -> test-output.txt +cargo test --offline --test options -- --nocapture --test-threads=1 # -> print-output.txt +cd .. && python3 -I scripts/mutate.py # -> mutation-output.txt, mutation-logs/ +python3 -I scripts/render_results.py # -> RESULTS.md +``` + +Observed: `rustc 1.97.0 (2d8144b78 2026-07-07)` and `cargo 1.97.0 (c980f4866 2026-06-30)`. The build used `--offline`, and it succeeded, so every crate came from the local registry. The build compiled iroh-base 1.3.0 and iroh-tickets 1.0.0, and their dependencies, from source. No build touched `/home/user/code`, `integrated`, `spikes`, or `spikes-next`. + +### Test output (`cargo test --offline`) + +``` +@@TEST_OUTPUT@@ +``` + +### Test output with printed strings and lengths (`--nocapture`) + +``` +@@PRINT_OUTPUT@@ +``` + +### Mutation check (`scripts/mutate.py`) + +Each mutant changes one line of `src/lib.rs` in a scratch copy, with its own target directory. The real crate is never edited. + +``` +@@MUTATION_OUTPUT@@ +``` + +| # | Fault | Failing test(s) | +|---|---|---| +| baseline | none | none (19 passed) | +| M1 | B accepts trailing bytes | `b_rejects_trailing_bytes_that_iroh_would_ignore` | +| M2 | D skips the expected-signer check | `d_verifies_a_valid_suffix_and_rejects_each_tamper` | +| M3 | C skips the digest check | `c_rejects_a_swapped_endpoint_id…`, `e_a_valid_event_verifies…` | +| M4 | D splits by re-encoding | `d_split_follows_the_wire_length…` | +| M5 | B and D sign with no domain tag | `a_signature_made_for_option_d_is_refused_as_option_b` | +| M6 | E refuses a plain ticket | `e_a_plain_ticket_is_accepted_and_unverified_not_refused` | +| M7 | C ignores the event's author | `c_rejects_an_event_from_another_key…` | + +### Files + +``` +ticket-signing/ + RESULTS.md this file (generated) + ticket-options/ crate: src/lib.rs (options A to E), tests/options.rs (19 tests), Cargo.lock + scripts/mutate.py mutation check (scratch copy, its own target dir) + scripts/render_results.py renders RESULTS.md from scripts/RESULTS.template.md and the logs + scripts/RESULTS.template.md + test-output.txt cargo test (19 passed) + print-output.txt lengths, examples, paste rules + mutation-output.txt mutation summary + mutation-logs/ full cargo output for each mutant + target/ build directory +``` + +## Not verified + +- **No live dial or connection.** I did not test whether iroh's QUIC handshake authenticates the EndpointId. Nothing above depends on it, except the claim that an edited ID changes the route, which holds at the ticket layer. **[not checked]** +- **Only iroh-tickets 1.0.0, iroh-base 1.3.0 and postcard 1.1.3 were used.** I did not check later versions, and I did not check whether postcard or iroh-tickets will keep trailing-byte tolerance. **[not checked]** +- **Event encoding.** The tests use postcard. The design's canonical CBOR (task 02) would change the 215-byte figure. I did not test the canonical re-encoding rule for events. **[not checked]** +- **Delegation.** The event's author may be a device key delegated from the account key (design §7). I did not test that chain. **[not checked]** +- **B's group and invite binding.** Not built, so its cost (about 77 characters) is an estimate. **[not checked]** +- **Relay URL normalization, and `TransportAddr::Custom`.** Not tested. The digest's stability is tested only for the sample address. **[not checked]** +- **Non-minimal varints.** Not tested. The duplicate-address test covers a different kind of non-canonical input. **[not checked]** +- **Callers of `check_target`.** I read the call sites in `envelope_outbox.rs` only. The web and CLI callers were not read, so I cannot say whether they trim. **[not checked]** +- **Compact B length.** Computed from postcard serialization of the same fields. It was not parsed. **[inferred]** +- **Expiry and single use.** No signature here covers them. They belong to the invite event, as in task 07 item 3. **[not checked]** +- **The validation UX** (the status labels and the fingerprint display) is a proposal, not tested. **[not checked]** +- **Seitan.** Not involved here. S9's results are cited, not re-verified. **[not checked]** +- **`pkgs/id` was not changed or built.** Its behaviour is read from source, not run. **[not checked]** diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/scripts/mutate.py b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/scripts/mutate.py new file mode 100644 index 0000000000..ae15fa6c3a --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/scripts/mutate.py @@ -0,0 +1,148 @@ +"""Mutation check for ticket-options. Each mutant is one text change to src/lib.rs, run in a scratch copy. + +The real crate is never edited. The scratch copy uses its own target dir, so no artifacts are shared. +Run with: python3 -I scripts/mutate.py +""" + +import os +import re +import shutil +import subprocess +from pathlib import Path + +ROOT = Path(__file__).resolve().parent.parent +SRC_CRATE = ROOT / "ticket-options" +SCRATCH = ROOT / "mutants" / "ticket-options" +TARGET = ROOT / "mutant-target" +TOOLCHAIN_BIN = "/home/user/.rustup/toolchains/1.97.0-x86_64-unknown-linux-gnu/bin" + +# (name, old text, new text). Each old text must occur exactly once in src/lib.rs. +MUTANTS = [ + ( + "M1 option B accepts trailing bytes (lenient parse)", + "let (envelope, rest): (Envelope, &[u8]) = postcard::take_from_bytes(bytes)?;\n" + " if !rest.is_empty() || envelope.version != 1 {", + "let (envelope, _rest): (Envelope, &[u8]) = postcard::take_from_bytes(bytes)?;\n" + " if envelope.version != 1 {", + ), + ( + "M2 option D skips the expected-signer check", + " if signer != *anchor {\n" + ' return RouteStatus::Rejected("suffix not signed by the expected inviter");\n' + " }\n", + "", + ), + ( + "M3 option C skips the ticket digest check", + " if event.body.ticket_digest != ticket_digest(ticket) {\n" + ' return RouteStatus::Rejected("ticket is not the one the inviter signed");\n' + " }\n", + "", + ), + ( + "M4 option D splits by re-encoding the ticket", + "let payload_len = bytes.len() - suffix.len();", + "let payload_len = ticket.encode_bytes().len();", + ), + ( + "M5 options B and D sign with no domain tag", + "[DOMAIN_ENVELOPE, &ticket.encode_bytes()].concat()", + "ticket.encode_bytes()", + ), + ( + "M6 option E refuses a plain ticket", + "None => RouteStatus::Unverified,", + 'None => RouteStatus::Rejected("no event"),', + ), + ( + "M7 option C ignores the event author", + "if event.body.author != *anchor {", + "if false {", + ), +] + +# M5 also needs option D's domain removed on both sides, or the two messages still differ. +M5_EXTRA = [ + ( + "let signature = key.sign(&[DOMAIN_SUFFIX, &payload].concat());", + "let signature = key.sign(&payload);", + ), + ( + "let message = [DOMAIN_SUFFIX, &split.payload].concat();", + "let message = split.payload.clone();", + ), +] + +TEST_LINE = re.compile(r"^test (\S+) \.\.\. (ok|FAILED)$", re.MULTILINE) + + +LOG_DIR = ROOT / "mutation-logs" + + +def run_tests(label): + env = dict(os.environ) + env["PATH"] = TOOLCHAIN_BIN + os.pathsep + env.get("PATH", "") + env["RUSTC"] = TOOLCHAIN_BIN + "/rustc" + env["CARGO_TARGET_DIR"] = str(TARGET) + proc = subprocess.run( + [TOOLCHAIN_BIN + "/cargo", "test", "--offline", "--test", "options"], + cwd=SCRATCH, + env=env, + capture_output=True, + text=True, + timeout=900, + ) + text = proc.stdout + proc.stderr + LOG_DIR.mkdir(exist_ok=True) + (LOG_DIR / f"{label}.txt").write_text(text) + results = dict(TEST_LINE.findall(text)) + summary = re.search(r"test result: .*", text) + return results, (summary.group(0) if summary else "no summary"), proc.returncode + + +def touch_tree(root): + # copytree keeps the source mtimes, and cargo can then reuse a stale mutant build. Bump them. + for dirpath, _dirs, files in os.walk(root): + for name in files: + os.utime(os.path.join(dirpath, name), None) + + +def main(): + if SCRATCH.parent.exists(): + shutil.rmtree(SCRATCH.parent) + # A fresh target dir, so no mutant build can be reused for the baseline. + shutil.rmtree(TARGET, ignore_errors=True) + shutil.copytree(SRC_CRATE, SCRATCH, ignore=shutil.ignore_patterns("target")) + touch_tree(SCRATCH) + original = (SCRATCH / "src" / "lib.rs").read_text() + + results, summary, code = run_tests("baseline") + print(f"BASELINE (no mutation): exit {code}; {summary}") + failing = [name for name, state in results.items() if state == "FAILED"] + print(f" failing tests: {failing or 'none'}") + + for name, old, new in MUTANTS: + text = original + extra = M5_EXTRA if name.startswith("M5") else [] + ok = True + for pair_old, pair_new in [(old, new)] + extra: + if text.count(pair_old) != 1: + ok = False + break + text = text.replace(pair_old, pair_new) + if not ok: + print(f"{name}: NOT APPLIED (pattern did not match exactly once)") + continue + (SCRATCH / "src" / "lib.rs").write_text(text) + results, summary, code = run_tests(name.split(" ")[0]) + failing = [n for n, state in results.items() if state == "FAILED"] + print(f"{name}: exit {code}; {summary}") + print(f" failing tests ({len(failing)}): {failing or 'none'}") + (SCRATCH / "src" / "lib.rs").write_text(original) + + shutil.rmtree(SCRATCH.parent) + print("scratch copy removed") + + +if __name__ == "__main__": + main() diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/scripts/render_results.py b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/scripts/render_results.py new file mode 100644 index 0000000000..84aba77585 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/scripts/render_results.py @@ -0,0 +1,72 @@ +"""Renders RESULTS.md from scripts/RESULTS.template.md and the logs written by the test runs. + +The example strings come from print-output.txt, not from retyping, and each one is checked against +its measured length before it is inserted. Run with: python3 -I scripts/render_results.py +""" + +import re +from pathlib import Path + +ROOT = Path(__file__).resolve().parent.parent + + +def read(name): + return (ROOT / name).read_text() + + +def value_after(prefix, text): + for line in text.splitlines(): + if line.startswith(prefix): + return line[len(prefix):] + raise SystemExit(f"missing line starting with {prefix!r}") + + +def main(): + printed = read("print-output.txt") + + a_example = value_after("A example: ", printed) + d_example = value_after("D example: ", printed) + b_match = re.search(r"B string \((\d+) chars\): (\S+)", printed) + if not b_match: + raise SystemExit("B string not found in print-output.txt") + b_declared, b_example = int(b_match.group(1)), b_match.group(2) + + d_declared = int(re.search(r"D string \((\d+) chars\)", printed).group(1)) + checks = [ + ("A", len(a_example), 124), + ("B", len(b_example), b_declared), + ("B declared", b_declared, 361), + ("D", len(d_example), d_declared), + ("D declared", d_declared, 277), + ] + for label, actual, expected in checks: + if actual != expected: + raise SystemExit(f"{label}: length {actual}, expected {expected}") + + test_lines = [] + for line in read("test-output.txt").splitlines(): + if line.startswith("test "): + test_lines.append(line) + elif line.startswith("test result:") and not line.startswith("test result: ok. 0 passed"): + test_lines.append(line) + if not any(line.startswith("test result: ok. 19 passed") for line in test_lines): + raise SystemExit("expected 19 passing tests in test-output.txt") + + template = read("scripts/RESULTS.template.md") + rendered = ( + template.replace("@@A_EXAMPLE@@", a_example) + .replace("@@B_EXAMPLE@@", b_example) + .replace("@@D_EXAMPLE@@", d_example) + .replace("@@TEST_OUTPUT@@", "\n".join(test_lines)) + .replace("@@PRINT_OUTPUT@@", printed.rstrip("\n")) + .replace("@@MUTATION_OUTPUT@@", read("mutation-output.txt").rstrip("\n")) + ) + if "@@" in rendered: + raise SystemExit("unfilled placeholder left in RESULTS.md") + (ROOT / "RESULTS.md").write_text(rendered) + print(f"wrote RESULTS.md: {rendered.count(chr(10)) + 1} lines") + print(f"lengths checked: A={len(a_example)} B={len(b_example)} D={len(d_example)}") + + +if __name__ == "__main__": + main() diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/test-output.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/test-output.txt new file mode 100644 index 0000000000..0a7173b0fc --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/test-output.txt @@ -0,0 +1,39 @@ + Compiling ticket-options v0.0.0 (/home/user/work/research-round2/ticket-signing/ticket-options) + Finished `test` profile [unoptimized + debuginfo] target(s) in 0.70s + Running unittests src/lib.rs (/home/user/work/research-round2/ticket-signing/target/debug/deps/ticket_options-2ff32da85c7c61c6) + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + + Running tests/options.rs (/home/user/work/research-round2/ticket-signing/target/debug/deps/options-563e9fa2d57ce743) + +running 19 tests +test a_is_the_standard_string_and_round_trips ... ok +test a_swapped_endpoint_id_still_parses_so_a_plain_ticket_proves_nothing ... ok +test b_is_rejected_by_the_standard_parser_as_expected ... ok +test b_rejects_trailing_bytes_that_iroh_would_ignore ... ok +test d_split_follows_the_wire_length_because_non_canonical_payloads_parse ... ok +test d_is_accepted_by_the_standard_parser_with_the_same_address ... ok +test d_is_dropped_when_a_standard_client_reads_and_writes_the_ticket ... ok +test paste_rules_the_parser_applies_to_the_pasted_string ... ok +test e_a_plain_ticket_is_accepted_and_unverified_not_refused ... ok +test print_lengths_and_examples ... ok +test a_signature_made_for_option_d_is_refused_as_option_b ... ok +test b_rejects_a_changed_ticket_and_a_wrong_signer ... ok +test c_verifies_the_unchanged_standard_ticket_against_the_signed_event ... ok +test b_round_trips_through_our_parser_and_verifies ... ok +test e_a_valid_event_verifies_and_a_mismatched_one_is_rejected ... ok +test c_rejects_an_event_from_another_key_or_with_a_forged_signature ... ok +test c_rejects_a_swapped_endpoint_id_that_the_standard_parser_accepts ... ok +test d_verifies_a_valid_suffix_and_rejects_each_tamper ... ok +test a_trailing_bytes_are_silently_ignored_at_every_length ... ok + +test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s + + Doc-tests ticket_options + +running 0 tests + +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/ticket-options/Cargo.lock b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/ticket-options/Cargo.lock new file mode 100644 index 0000000000..1908593b32 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/ticket-options/Cargo.lock @@ -0,0 +1,999 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "arrayvec" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56" + +[[package]] +name = "atomic-polyfill" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8cf2bce30dfe09ef0bfaef228b9d414faaf7e563035494d7fe092dba54b300f4" +dependencies = [ + "critical-section", +] + +[[package]] +name = "base16ct" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd307490d624467aa6f74b0eabb77633d1f758a7b25f12bceb0b22e08d9726f6" + +[[package]] +name = "blake3" +version = "1.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d9e454fc11f76977dc803893aff6304ed33d6a26efae8696573bea74baa27ae" +dependencies = [ + "arrayvec", + "cc", + "cfg-if", + "constant_time_eq", + "cpufeatures", +] + +[[package]] +name = "block-buffer" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2f6c7dbe95a6ed67ad9f18e57daf93a2f034c524b99fd2b76d18fdfeb6660aa" +dependencies = [ + "hybrid-array", +] + +[[package]] +name = "bumpalo" +version = "3.20.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649" + +[[package]] +name = "byteorder" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" + +[[package]] +name = "cc" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50a649af8a827553c29fb0cb4bd4a6f1a0dd695bd3232b9bc98bd9c8a3ffbb8b" +dependencies = [ + "find-msvc-tools", + "shlex", +] + +[[package]] +name = "cfg-if" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600" + +[[package]] +name = "chacha20" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65c35e4b699c7e15ccbe7ee35c005e4fc0a278d22238a2857e6ce2dadeda1b06" +dependencies = [ + "cfg-if", + "cpufeatures", + "rand_core", +] + +[[package]] +name = "cobs" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fa961b519f0b462e3a3b4a34b64d119eeaca1d59af726fe450bbba07a9fc0a1" +dependencies = [ + "thiserror", +] + +[[package]] +name = "constant_time_eq" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d52eff69cd5e647efe296129160853a42795992097e8af39800e1060caeea9b" + +[[package]] +name = "convert_case" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "633458d4ef8c78b72454de2d54fd6ab2e60f9e02be22f3c6104cdc8a4e0fceb9" +dependencies = [ + "unicode-segmentation", +] + +[[package]] +name = "cpufeatures" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ca28b0ae3115b884660db4118d803791fd6756b6e88f39c0f3f7859060d7566" +dependencies = [ + "libc", +] + +[[package]] +name = "critical-section" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "790eea4361631c5e7d22598ecd5723ff611904e3344ce8720784c93e3d83d40b" + +[[package]] +name = "crypto-common" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453" +dependencies = [ + "hybrid-array", + "rand_core", +] + +[[package]] +name = "curve25519-dalek" +version = "5.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5eed333089e2e1c1ac8c6c0398e5e2497b4c9926ca6d0365ed1e099afa5bc23" +dependencies = [ + "cfg-if", + "cpufeatures", + "curve25519-dalek-derive", + "digest", + "fiat-crypto", + "rand_core", + "rustc_version", + "serde", + "subtle", + "zeroize", +] + +[[package]] +name = "curve25519-dalek-derive" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "data-encoding" +version = "2.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4583a4551df46e2792f82ceeac45e850d2e2d5debba0b91f102385cda5b11f06" + +[[package]] +name = "data-encoding-macro" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6a127ecbb3c4632e1525380e04c0c3fcf8dcb44d32a79ea290d8a36906edcd8" +dependencies = [ + "data-encoding", + "data-encoding-macro-internal", +] + +[[package]] +name = "data-encoding-macro-internal" +version = "0.1.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c54e03a951783e8b327515db3f2a2fd0e3bed362a96b066f341ce66ed49b4ead" +dependencies = [ + "data-encoding", + "syn 3.0.7", +] + +[[package]] +name = "derive_more" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d751e9e49156b02b44f9c1815bcb94b984cdcc4396ecc32521c739452808b134" +dependencies = [ + "derive_more-impl", +] + +[[package]] +name = "derive_more-impl" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "799a97264921d8623a957f6c3b9011f3b5492f557bbb7a5a19b7fa6d06ba8dcb" +dependencies = [ + "convert_case", + "proc-macro2", + "quote", + "rustc_version", + "syn 2.0.119", + "unicode-xid", +] + +[[package]] +name = "digest" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2" +dependencies = [ + "block-buffer", + "crypto-common", +] + +[[package]] +name = "displaydoc" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "ed25519" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29fcf32e6c73d1079f83ab4d782de2d81620346a5f38c6237a86a22f8368980a" +dependencies = [ + "serdect", + "signature", +] + +[[package]] +name = "ed25519-dalek" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ebaa1a2bf1290ab3bfe5a7b771d050ebffab2711c19a81691c683a5144a25de" +dependencies = [ + "curve25519-dalek", + "ed25519", + "rand_core", + "serde", + "sha2", + "signature", + "subtle", + "zeroize", +] + +[[package]] +name = "embedded-io" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef1a6892d9eef45c8fa6b9e0086428a2cca8491aca8f787c534a3d6d0bcb3ced" + +[[package]] +name = "embedded-io" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "edd0f118536f44f5ccd48bcb8b111bdc3de888b58c74639dfb034a357d0f206d" + +[[package]] +name = "fiat-crypto" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64cd1e32ddd350061ae6edb1b082d7c54915b5c672c389143b9a63403a109f24" + +[[package]] +name = "find-msvc-tools" +version = "0.1.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aedcfb3409746eddb02b9e19ebda1c3394f759a152e48ee875a0844d1b955484" + +[[package]] +name = "form_urlencoded" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" +dependencies = [ + "percent-encoding", +] + +[[package]] +name = "getrandom" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" +dependencies = [ + "cfg-if", + "js-sys", + "libc", + "r-efi", + "rand_core", + "wasm-bindgen", +] + +[[package]] +name = "hash32" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b0c35f58762feb77d74ebe43bdbc3210f09be9fe6742234d573bacc26ed92b67" +dependencies = [ + "byteorder", +] + +[[package]] +name = "heapless" +version = "0.7.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdc6457c0eb62c71aac4bc17216026d8410337c4126773b9c5daba343f17964f" +dependencies = [ + "atomic-polyfill", + "hash32", + "rustc_version", + "serde", + "spin", + "stable_deref_trait", +] + +[[package]] +name = "hybrid-array" +version = "0.4.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27f864f10dfb56725ce5ce5472bc52252c8f93a4ab86327122cebf62c5f59a17" +dependencies = [ + "typenum", +] + +[[package]] +name = "icu_collections" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa68d21081c4a05d5a901a1c62add574c77048b6a1c67be3b50ce0b60d4ca513" +dependencies = [ + "displaydoc", + "potential_utf", + "utf8_iter", + "yoke", + "zerofrom", + "zerovec", +] + +[[package]] +name = "icu_locale_core" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d56e28588da92eee5c3201a6eff33fabdd49b62269c8938d4ff050ce4d900deb" +dependencies = [ + "displaydoc", + "litemap", + "tinystr", + "writeable", + "zerovec", +] + +[[package]] +name = "icu_normalizer" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12f9cf5f235641ed274641dd81c3f28d870e276763d0797aeeab72317b1c646f" +dependencies = [ + "icu_collections", + "icu_normalizer_data", + "icu_properties", + "icu_provider", + "smallvec", + "zerovec", +] + +[[package]] +name = "icu_normalizer_data" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1563da1ed3e0b3bf3d74c9b85917ac9c56464d2f57242270c09c9e752f8021a0" + +[[package]] +name = "icu_properties" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e7ca276ad3145661a65914e6daf131ca5120cd3dcee8f8f3214b8875184a148" +dependencies = [ + "displaydoc", + "icu_collections", + "icu_locale_core", + "icu_properties_data", + "icu_provider", + "zerotrie", + "zerovec", +] + +[[package]] +name = "icu_properties_data" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e590f038c1464a96894fd6d10127e90a8be4509f56ff7ecef851b15cee0b7caa" + +[[package]] +name = "icu_provider" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d27bbb9d3abbefac45d55f647c9de1d44aafcd1186eb91879afef17c396c3e73" +dependencies = [ + "displaydoc", + "icu_locale_core", + "writeable", + "yoke", + "zerofrom", + "zerotrie", + "zerovec", +] + +[[package]] +name = "idna" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" +dependencies = [ + "idna_adapter", + "smallvec", + "utf8_iter", +] + +[[package]] +name = "idna_adapter" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714" +dependencies = [ + "icu_normalizer", + "icu_properties", +] + +[[package]] +name = "iroh-base" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ae9092be76c9f5429776ab3394f5a5a78dc19dc2524267e884a5b9781546c3f" +dependencies = [ + "curve25519-dalek", + "data-encoding", + "data-encoding-macro", + "derive_more", + "ed25519-dalek", + "getrandom", + "n0-error", + "rand", + "serde", + "url", + "zeroize", +] + +[[package]] +name = "iroh-tickets" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da53233419ca36bf521ed45683b7748366f9b233032891eefc2d70567a84ac54" +dependencies = [ + "data-encoding", + "derive_more", + "iroh-base", + "n0-error", + "postcard", + "serde", +] + +[[package]] +name = "js-sys" +version = "0.3.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7883d941dae510fb2d978fc3fe018c71c9e2892fd38854de3e8b92c2e5ad9cc5" +dependencies = [ + "cfg-if", + "wasm-bindgen", +] + +[[package]] +name = "libc" +version = "0.2.190" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78" + +[[package]] +name = "litemap" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47d9d19d1d6efa0109d2f65ff4c85cddd50bd572e5a00127ab10987290bcefae" + +[[package]] +name = "lock_api" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" +dependencies = [ + "scopeguard", +] + +[[package]] +name = "n0-error" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26c59ea174675ce6bc196878851e5049e11b8b1f9af3ba87e4d6df8d828bb001" +dependencies = [ + "n0-error-macros", + "spez", +] + +[[package]] +name = "n0-error-macros" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4412346410d6616f3668c40e53c298e5320c7b856f7a960e5914e442601be79f" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "once_cell" +version = "1.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" + +[[package]] +name = "percent-encoding" +version = "2.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" + +[[package]] +name = "postcard" +version = "1.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6764c3b5dd454e283a30e6dfe78e9b31096d9e32036b5d1eaac7a6119ccb9a24" +dependencies = [ + "cobs", + "embedded-io 0.4.0", + "embedded-io 0.6.1", + "heapless", + "serde", +] + +[[package]] +name = "potential_utf" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d83eb9bc6d8e5cf568e7a1101d60ee05e81ed50ea106026f3d18deeb046d7661" +dependencies = [ + "zerovec", +] + +[[package]] +name = "proc-macro2" +version = "1.0.107" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "quote" +version = "1.0.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "r-efi" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" + +[[package]] +name = "rand" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65c9fb96cbc91e3478eaae79a69fcd3f1ae4ad052e471fe6732fff548984b4af" +dependencies = [ + "chacha20", + "getrandom", + "rand_core", +] + +[[package]] +name = "rand_core" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" + +[[package]] +name = "rustc_version" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" +dependencies = [ + "semver", +] + +[[package]] +name = "rustversion" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f" + +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + +[[package]] +name = "semver" +version = "1.0.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd" + +[[package]] +name = "serde" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba" +dependencies = [ + "serde_core", + "serde_derive", +] + +[[package]] +name = "serde_core" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "serdect" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "66cf8fedced2fcf12406bcb34223dffb92eaf34908ede12fed414c82b7f00b3e" +dependencies = [ + "base16ct", + "serde", +] + +[[package]] +name = "sha2" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest", +] + +[[package]] +name = "shlex" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba" + +[[package]] +name = "signature" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28d567dcbaf0049cb8ac2608a76cd95ff9e4412e1899d389ee400918ca7537f5" +dependencies = [ + "rand_core", +] + +[[package]] +name = "smallvec" +version = "1.16.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b3dc8af474f516a851ff4bd12db780f948b9250ad37211e4eec0bccea54e01b" + +[[package]] +name = "spez" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c87e960f4dca2788eeb86bbdde8dd246be8948790b7618d656e68f9b720a86e8" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "spin" +version = "0.9.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3763264f6b73151db08c50ff20d7d8a0b8796e021cdea7ceedad07b80155fa0e" +dependencies = [ + "lock_api", +] + +[[package]] +name = "stable_deref_trait" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" + +[[package]] +name = "subtle" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" + +[[package]] +name = "syn" +version = "2.0.119" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "3.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d62a2e0561533f2ca2561d0cf27fd9fedb640a1bf2616ff5d5c80d99017faadc" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "synstructure" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "901704edd0dfe137f1987838ee4f259e4e063c31371bdb423f7ae38ec6f77f02" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "thiserror" +version = "2.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e" +dependencies = [ + "thiserror-impl", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] + +[[package]] +name = "ticket-options" +version = "0.0.0" +dependencies = [ + "blake3", + "data-encoding", + "iroh-base", + "iroh-tickets", + "postcard", + "serde", +] + +[[package]] +name = "tinystr" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1e27c91459209c2986af3dcf603a5a74a4368754ce37414f59acc971167f643" +dependencies = [ + "displaydoc", + "zerovec", +] + +[[package]] +name = "typenum" +version = "1.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" + +[[package]] +name = "unicode-ident" +version = "1.0.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d245f478577f809a851594d02313b640fb437e0bb33866753cff937863096954" + +[[package]] +name = "unicode-segmentation" +version = "1.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8" + +[[package]] +name = "unicode-xid" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" + +[[package]] +name = "url" +version = "2.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" +dependencies = [ + "form_urlencoded", + "idna", + "percent-encoding", + "serde", + "serde_derive", +] + +[[package]] +name = "utf8_iter" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" + +[[package]] +name = "wasm-bindgen" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9bb54f33acc68fd454578d9820b0bde1a1a3d17aa17bb7b6595806d02886d409" +dependencies = [ + "cfg-if", + "once_cell", + "rustversion", + "wasm-bindgen-macro", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e29d0c35b16e224a7eeb5cd2d25e3e1968fbd65604117b44d3b789d00ee8535" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f501a8bc3719dba86ef8ae4728879c08001bea749eb1333ac5b91e040e2a6b7" +dependencies = [ + "bumpalo", + "proc-macro2", + "quote", + "syn 3.0.7", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23f0c9c52aa7cd7d77769a4cfe2a9adb1b331f489a41d912ce14513d5ab995c6" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "writeable" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc" + +[[package]] +name = "yoke" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5" +dependencies = [ + "stable_deref_trait", + "yoke-derive", + "zerofrom", +] + +[[package]] +name = "yoke-derive" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec8ebde2db3681e8c9980cc27822030e68752690ddfa9473e739aeb4dbde6d71" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", + "synstructure", +] + +[[package]] +name = "zerofrom" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272" +dependencies = [ + "zerofrom-derive", +] + +[[package]] +name = "zerofrom-derive" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f75b4683f6c7f45248d4d64056a24298c6281e0993356d7d1b4a1a962ef10d4a" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", + "synstructure", +] + +[[package]] +name = "zeroize" +version = "1.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e13084392c5e4bc371903e2935a5eaeed24905a7511356b883835e18a78f6879" +dependencies = [ + "zeroize_derive", +] + +[[package]] +name = "zeroize_derive" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c50655cbb0fe3fc43170059e702f1ce5e19b84cec58dc87b037a09935c2f328" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "zerotrie" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ea269c3bd32f0a32c321907a2ae912ba6f4649bb0fc764a15627e99a7095a3f" +dependencies = [ + "displaydoc", + "yoke", + "zerofrom", +] + +[[package]] +name = "zerovec" +version = "0.11.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb0464e17806c1d976d5cba29399c7f08e516e279e2ba493f63123b5fca67dd8" +dependencies = [ + "yoke", + "zerofrom", + "zerovec-derive", +] + +[[package]] +name = "zerovec-derive" +version = "0.11.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34df6fc39dbd26ddc9c10e6a2984476e13acce22e64e4487636ef494369225da" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.7", +] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/ticket-options/Cargo.toml b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/ticket-options/Cargo.toml new file mode 100644 index 0000000000..82cba772ce --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/ticket-options/Cargo.toml @@ -0,0 +1,15 @@ +[package] +name = "ticket-options" +version = "0.0.0" +edition = "2024" +publish = false + +[dependencies] +blake3 = "1.8" +data-encoding = "2.11" +iroh-base = { version = "1.3", features = ["key"] } +iroh-tickets = "1.0" +postcard = { version = "1.1", features = ["use-std"] } +serde = { version = "1", features = ["derive"] } + +[workspace] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/ticket-options/src/lib.rs b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/ticket-options/src/lib.rs new file mode 100644 index 0000000000..c143b852a1 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/ticket-options/src/lib.rs @@ -0,0 +1,325 @@ +//! Five ways to carry a signature with an iroh `EndpointTicket` (research, 2026-10-11). +//! +//! A: the standard ticket, unsigned. +//! B: our envelope, prefix `idsig`, with the standard ticket string inside and the inviter's signature. +//! C: the standard ticket, plus a signed invite event that commits to the ticket's digest. +//! D: the standard ticket with 96 bytes appended (a signature, then the signer's key). +//! E: A plus C. The ticket stays standard; a signed event is checked when one is present. +//! +//! Nothing here dials. Keys use fixed seeds, so every string is reproducible. + +use data_encoding::BASE32_NOPAD; +use iroh_base::{EndpointAddr, PublicKey, SecretKey, Signature, TransportAddr}; +use iroh_tickets::{ParseError, Ticket, endpoint::EndpointTicket}; +use serde::{Deserialize, Serialize}; + +/// Domain tags, so a signature made for one option cannot be replayed as another. +const DOMAIN_ENVELOPE: &[u8] = b"id-route/v1/envelope"; +const DOMAIN_SUFFIX: &[u8] = b"id-route/v1/suffix"; +const DOMAIN_EVENT: &[u8] = b"id-route/v1/invite-event"; +const DOMAIN_DIGEST: &[u8] = b"id-route/v1/ticket-digest"; + +/// Length of the suffix in option D: a 64-byte signature, then a 32-byte key. +pub const SUFFIX_LEN: usize = 64 + 32; + +pub fn endpoint_key() -> SecretKey { + SecretKey::from_bytes(&[7; 32]) +} + +pub fn inviter_key() -> SecretKey { + SecretKey::from_bytes(&[0x11; 32]) +} + +pub fn attacker_key() -> SecretKey { + SecretKey::from_bytes(&[0x22; 32]) +} + +/// An address for `endpoint_key()`: an optional relay, then the given IP addresses. +pub fn sample_addr(relay: bool, ips: &[&str]) -> EndpointAddr { + let mut addrs = Vec::new(); + if relay { + addrs.push(TransportAddr::Relay( + "https://relay.example.test./".parse().unwrap(), + )); + } + addrs.extend(ips.iter().map(|ip| TransportAddr::Ip(ip.parse().unwrap()))); + EndpointAddr::from_parts(endpoint_key().public(), addrs) +} + +/// Base32 (no padding, lowercase) with a prefix, the same shape as an iroh ticket string. +pub fn string_with_kind(kind: &str, payload: &[u8]) -> String { + format!("{kind}{}", BASE32_NOPAD.encode(payload).to_ascii_lowercase()) +} + +/// Decodes a string made by `string_with_kind`, lets `edit` change the bytes, and encodes it again. +pub fn edit_payload(text: &str, kind: &str, edit: impl FnOnce(&mut Vec)) -> String { + let body = text.strip_prefix(kind).expect("prefix"); + let mut bytes = BASE32_NOPAD + .decode(body.to_ascii_uppercase().as_bytes()) + .expect("base32"); + edit(&mut bytes); + string_with_kind(kind, &bytes) +} + +/// Replaces the EndpointId inside a standard ticket string, byte for byte (bytes 1..33 of the payload). +pub fn tamper_id(text: &str, new_id: &PublicKey) -> String { + edit_payload(text, "endpoint", |bytes| { + bytes[1..33].copy_from_slice(new_id.as_bytes()) + }) +} + +/// Option A: the standard ticket, exactly as iroh writes it. +pub fn option_a(addr: &EndpointAddr) -> String { + EndpointTicket::new(addr.clone()).to_string() +} + +/// Option B: our envelope. Prefix `idsig`. The inner ticket is the standard string. +#[derive(Debug, Clone, PartialEq, Eq)] +pub struct SignedTicket { + pub ticket: EndpointTicket, + /// The signer's key as the envelope claims it. Only a key the caller trusts counts. + pub signer: PublicKey, + pub signature: Signature, +} + +#[derive(Serialize, Deserialize)] +struct Envelope { + version: u8, + ticket: String, + signer: PublicKey, + signature: Signature, +} + +fn envelope_message(ticket: &EndpointTicket) -> Vec { + [DOMAIN_ENVELOPE, &ticket.encode_bytes()].concat() +} + +impl SignedTicket { + pub fn sign(ticket: EndpointTicket, key: &SecretKey) -> Self { + let signature = key.sign(&envelope_message(&ticket)); + Self { + ticket, + signer: key.public(), + signature, + } + } + + /// Checks the signer against a key the caller already trusts, then checks the signature. + pub fn verify_from(&self, expected: &PublicKey) -> Result<(), ParseError> { + if self.signer != *expected { + return Err(ParseError::verification_failed( + "not signed by the expected inviter", + )); + } + self.signer + .verify(&envelope_message(&self.ticket), &self.signature) + .map_err(|_| ParseError::verification_failed("bad signature")) + } +} + +impl Ticket for SignedTicket { + const KIND: &'static str = "idsig"; + + fn encode_bytes(&self) -> Vec { + let envelope = Envelope { + version: 1, + ticket: self.ticket.to_string(), + signer: self.signer, + signature: self.signature, + }; + postcard::to_stdvec(&envelope).expect("postcard serialization failed") + } + + fn decode_bytes(bytes: &[u8]) -> Result { + // Strict on purpose: `from_bytes` would ignore trailing bytes, as iroh's own parser does. + let (envelope, rest): (Envelope, &[u8]) = postcard::take_from_bytes(bytes)?; + if !rest.is_empty() || envelope.version != 1 { + return Err(ParseError::verification_failed( + "trailing bytes or unknown version", + )); + } + Ok(Self { + ticket: envelope.ticket.parse::()?, + signer: envelope.signer, + signature: envelope.signature, + }) + } +} + +/// The verdict a client reaches for a route. +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub enum RouteStatus { + /// Signed by the expected key, and the signature covers this ticket. + Verified, + /// No signature. The route still works, but nothing vouches for it. + Unverified, + /// A signature is present and wrong. Do not dial this ticket. + Rejected(&'static str), +} + +/// Option C's signed invite event. `author` is the inviter's key, and the signature covers the body. +#[derive(Debug, Clone, Serialize, Deserialize)] +pub struct InviteEvent { + pub body: InviteBody, + pub signature: Signature, +} + +#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] +pub struct InviteBody { + pub group: [u8; 32], + pub invite_id: [u8; 16], + pub expires_ms: u64, + pub max_uses: u32, + pub invite_key: [u8; 32], + /// BLAKE3 over the ticket's canonical bytes. The string form is not used. + pub ticket_digest: [u8; 32], + pub author: PublicKey, +} + +/// The digest of a ticket's canonical bytes. Two strings for one ticket give the same digest. +pub fn ticket_digest(ticket: &EndpointTicket) -> [u8; 32] { + *blake3::hash(&[DOMAIN_DIGEST, &ticket.encode_bytes()].concat()).as_bytes() +} + +fn event_message(body: &InviteBody) -> Vec { + [ + DOMAIN_EVENT, + &postcard::to_stdvec(body).expect("postcard serialization failed"), + ] + .concat() +} + +pub fn sign_invite(body: InviteBody, key: &SecretKey) -> InviteEvent { + let signature = key.sign(&event_message(&body)); + InviteEvent { body, signature } +} + +pub fn event_bytes(event: &InviteEvent) -> Vec { + postcard::to_stdvec(event).expect("postcard serialization failed") +} + +pub fn parse_event(bytes: &[u8]) -> Result { + let (event, rest): (InviteEvent, &[u8]) = postcard::take_from_bytes(bytes)?; + if !rest.is_empty() { + return Err(ParseError::verification_failed("trailing bytes")); + } + Ok(event) +} + +/// Checks an invite event against a ticket. `anchor` is the inviter's key, from outside the ticket. +pub fn verify_invite( + ticket: &EndpointTicket, + event: &InviteEvent, + anchor: &PublicKey, +) -> RouteStatus { + if event.body.author != *anchor { + return RouteStatus::Rejected("event not signed by the expected inviter"); + } + if anchor + .verify(&event_message(&event.body), &event.signature) + .is_err() + { + return RouteStatus::Rejected("bad event signature"); + } + if event.body.ticket_digest != ticket_digest(ticket) { + return RouteStatus::Rejected("ticket is not the one the inviter signed"); + } + RouteStatus::Verified +} + +/// Option E: A plus C. The ticket is always standard. A signed event is checked when present. +/// With no event the route is unverified, not refused: the Seitan proof still guards the join. +pub fn check_route( + ticket_text: &str, + event: Option<&InviteEvent>, + anchor: &PublicKey, +) -> Result<(EndpointTicket, RouteStatus), ParseError> { + let ticket: EndpointTicket = ticket_text.parse()?; + let status = match event { + Some(event) => verify_invite(&ticket, event, anchor), + None => RouteStatus::Unverified, + }; + Ok((ticket, status)) +} + +/// Option D: the standard payload, then a 64-byte signature over `DOMAIN_SUFFIX || payload`, then the 32-byte signer key. +pub fn option_d(addr: &EndpointAddr, key: &SecretKey) -> String { + let payload = EndpointTicket::new(addr.clone()).encode_bytes(); + let signature = key.sign(&[DOMAIN_SUFFIX, &payload].concat()); + let mut bytes = payload; + bytes.extend_from_slice(&signature.to_bytes()); + bytes.extend_from_slice(key.public().as_bytes()); + string_with_kind("endpoint", &bytes) +} + +/// Mirrors iroh-tickets' private wire format (`TicketWireFormat`, endpoint.rs:34-43, 129-138). +/// Only the shape matters: the variant index, the 32-byte ID, and a counted list of addresses. +#[derive(Serialize, Deserialize)] +enum WireMirror { + Variant1(WireMirrorV1), +} + +#[derive(Serialize, Deserialize)] +struct WireMirrorV1 { + addr: WireMirrorAddr, +} + +#[derive(Serialize, Deserialize)] +struct WireMirrorAddr { + id: PublicKey, + info: WireMirrorInfo, +} + +#[derive(Serialize, Deserialize)] +struct WireMirrorInfo { + addrs: Vec, +} + +/// A ticket string split the way D's verifier sees it. +pub struct SuffixedTicket { + /// What a standard client gets from `str::parse::()`. + pub ticket: EndpointTicket, + /// The payload bytes as received. The signature covers these, not a re-encoding. + pub payload: Vec, + /// Whatever followed the payload. Empty for an unsigned ticket. + pub suffix: Vec, +} + +/// Splits option D (or any `endpoint` string) using the wire length, not a re-encoding. +pub fn parse_suffixed(text: &str) -> Result { + let ticket: EndpointTicket = text.parse()?; + let body = text + .strip_prefix("endpoint") + .ok_or_else(|| ParseError::wrong_prefix("endpoint"))?; + let bytes = BASE32_NOPAD.decode(body.to_ascii_uppercase().as_bytes())?; + let (_wire, suffix): (WireMirror, &[u8]) = postcard::take_from_bytes(&bytes)?; + let payload_len = bytes.len() - suffix.len(); + Ok(SuffixedTicket { + ticket, + payload: bytes[..payload_len].to_vec(), + suffix: suffix.to_vec(), + }) +} + +/// D's verdict. No suffix is unverified. A suffix must be exactly 96 bytes, made by the expected key. +pub fn verify_suffixed(split: &SuffixedTicket, anchor: &PublicKey) -> RouteStatus { + if split.suffix.is_empty() { + return RouteStatus::Unverified; + } + if split.suffix.len() != SUFFIX_LEN { + return RouteStatus::Rejected("trailing bytes are not a signature"); + } + let sig_bytes: [u8; 64] = split.suffix[..64].try_into().expect("64 bytes"); + let key_bytes: [u8; 32] = split.suffix[64..].try_into().expect("32 bytes"); + let Ok(signer) = PublicKey::from_bytes(&key_bytes) else { + return RouteStatus::Rejected("suffix key is not a curve point"); + }; + if signer != *anchor { + return RouteStatus::Rejected("suffix not signed by the expected inviter"); + } + let message = [DOMAIN_SUFFIX, &split.payload].concat(); + match anchor.verify(&message, &Signature::from_bytes(&sig_bytes)) { + Ok(()) => RouteStatus::Verified, + Err(_) => RouteStatus::Rejected("bad signature"), + } +} diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/ticket-options/tests/options.rs b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/ticket-options/tests/options.rs new file mode 100644 index 0000000000..0487f0b135 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/ticket-signing/ticket-options/tests/options.rs @@ -0,0 +1,410 @@ +//! Round-trip and compatibility checks for options A to E, run against iroh-tickets 1.0.0. +//! `cargo test -- --nocapture` also prints example strings and the length table. + +use data_encoding::BASE32_NOPAD; +use iroh_base::{EndpointAddr, PublicKey, Signature, TransportAddr}; +use iroh_tickets::{ParseError, Ticket, endpoint::EndpointTicket}; +use ticket_options::*; + +fn addr() -> EndpointAddr { + sample_addr(true, &["192.0.2.10:4433"]) +} + +fn body(ticket: &EndpointTicket, author: PublicKey) -> InviteBody { + InviteBody { + group: [0x33; 32], + invite_id: [0x44; 16], + expires_ms: 1_800_000_000_000, + max_uses: 1, + invite_key: [0x55; 32], + ticket_digest: ticket_digest(ticket), + author, + } +} + +/// The same test as pkgs/id's `check_target` (src/envelope_outbox.rs:394-404): a ticket, else a bare node ID. +fn accepted_as_target(text: &str) -> bool { + text.parse::().is_ok() || text.parse::().is_ok() +} + +// A: the standard ticket. + +#[test] +fn a_is_the_standard_string_and_round_trips() { + let text = option_a(&addr()); + let parsed: EndpointTicket = text.parse().expect("the standard parser accepts A"); + assert_eq!(parsed.endpoint_addr(), &addr()); + assert_eq!(parsed.to_string(), text); + assert_eq!(text.len(), 124, "S9 measured 124 for relay + one IPv4"); +} + +#[test] +fn a_trailing_bytes_are_silently_ignored_at_every_length() { + let payload = EndpointTicket::new(addr()).encode_bytes(); + for n in 0..=300usize { + let mut bytes = payload.clone(); + bytes.extend((0..n).map(|i| (i * 37 + 11) as u8)); + let text = string_with_kind("endpoint", &bytes); + let parsed: EndpointTicket = text + .parse() + .unwrap_or_else(|e| panic!("{n} trailing bytes: {e}")); + assert_eq!(parsed.endpoint_addr(), &addr(), "{n} trailing bytes"); + } +} + +#[test] +fn a_swapped_endpoint_id_still_parses_so_a_plain_ticket_proves_nothing() { + let other = attacker_key().public(); + let parsed: EndpointTicket = tamper_id(&option_a(&addr()), &other) + .parse() + .expect("the standard parser accepts an edited ID"); + assert_eq!(parsed.endpoint_addr().id, other); +} + +// B: our envelope with a new prefix. + +#[test] +fn b_round_trips_through_our_parser_and_verifies() { + let inviter = inviter_key().public(); + let st = SignedTicket::sign(EndpointTicket::new(addr()), &inviter_key()); + let text = st.encode_string(); + let parsed = SignedTicket::decode_string(&text).expect("our parser accepts B"); + assert_eq!(parsed, st); + parsed.verify_from(&inviter).expect("valid signature"); + println!("B string ({} chars): {text}", text.len()); +} + +#[test] +fn b_is_rejected_by_the_standard_parser_as_expected() { + let text = SignedTicket::sign(EndpointTicket::new(addr()), &inviter_key()).encode_string(); + let err = text + .parse::() + .expect_err("the standard parser must not accept B"); + assert!(matches!(err, ParseError::Kind { .. }), "got {err}"); + println!("standard EndpointTicket parser on B: {err}"); + println!( + "pkgs/id check_target accepts B: {}", + accepted_as_target(&text) + ); + assert!(!accepted_as_target(&text)); +} + +#[test] +fn b_rejects_a_changed_ticket_and_a_wrong_signer() { + let inviter = inviter_key().public(); + let st = SignedTicket::sign(EndpointTicket::new(addr()), &inviter_key()); + let changed = SignedTicket { + ticket: EndpointTicket::new(sample_addr(false, &["192.0.2.99:4433"])), + ..st.clone() + }; + let err = changed.verify_from(&inviter).expect_err("changed ticket"); + assert!(err.to_string().contains("bad signature"), "got {err}"); + println!("B changed ticket: {err}"); + + let other = SignedTicket::sign(EndpointTicket::new(addr()), &attacker_key()); + let err = other.verify_from(&inviter).expect_err("wrong signer"); + assert!(err.to_string().contains("not signed by the expected inviter")); + println!("B wrong signer: {err}"); +} + +#[test] +fn b_rejects_trailing_bytes_that_iroh_would_ignore() { + let st = SignedTicket::sign(EndpointTicket::new(addr()), &inviter_key()); + let mut bytes = st.encode_bytes(); + bytes.push(0); + assert!(SignedTicket::decode_string(&string_with_kind("idsig", &bytes)).is_err()); +} + +// C: the standard ticket, plus a signed invite event. + +#[test] +fn c_verifies_the_unchanged_standard_ticket_against_the_signed_event() { + let inviter = inviter_key(); + let text = option_a(&addr()); + let ticket: EndpointTicket = text.parse().expect("standard"); + let event = sign_invite(body(&ticket, inviter.public()), &inviter); + let bytes = event_bytes(&event); + let event = parse_event(&bytes).expect("event parses"); + assert_eq!( + verify_invite(&ticket, &event, &inviter.public()), + RouteStatus::Verified + ); + println!( + "C invite event: {} bytes (stored with the chain, not pasted)", + bytes.len() + ); +} + +#[test] +fn c_rejects_a_swapped_endpoint_id_that_the_standard_parser_accepts() { + let inviter = inviter_key(); + let ticket: EndpointTicket = option_a(&addr()).parse().unwrap(); + let event = sign_invite(body(&ticket, inviter.public()), &inviter); + let forged: EndpointTicket = tamper_id(&option_a(&addr()), &attacker_key().public()) + .parse() + .expect("the standard parser accepts the edited ID"); + assert_eq!( + verify_invite(&forged, &event, &inviter.public()), + RouteStatus::Rejected("ticket is not the one the inviter signed") + ); +} + +#[test] +fn c_rejects_an_event_from_another_key_or_with_a_forged_signature() { + let inviter = inviter_key(); + let ticket: EndpointTicket = option_a(&addr()).parse().unwrap(); + let other_author = sign_invite(body(&ticket, attacker_key().public()), &attacker_key()); + assert_eq!( + verify_invite(&ticket, &other_author, &inviter.public()), + RouteStatus::Rejected("event not signed by the expected inviter") + ); + // Names the inviter as author, but the signature is the attacker's. + let forged = sign_invite(body(&ticket, inviter.public()), &attacker_key()); + assert_eq!( + verify_invite(&ticket, &forged, &inviter.public()), + RouteStatus::Rejected("bad event signature") + ); +} + +// D: the standard ticket with a suffix. + +#[test] +fn d_is_accepted_by_the_standard_parser_with_the_same_address() { + let text = option_d(&addr(), &inviter_key()); + assert!(text.starts_with("endpoint"), "prefix unchanged"); + let parsed: EndpointTicket = text.parse().expect("standard parser accepts D"); + assert_eq!(parsed.endpoint_addr(), &addr()); + println!("D string ({} chars): {text}", text.len()); +} + +#[test] +fn d_verifies_a_valid_suffix_and_rejects_each_tamper() { + let inviter = inviter_key().public(); + let text = option_d(&addr(), &inviter_key()); + assert_eq!( + verify_suffixed(&parse_suffixed(&text).unwrap(), &inviter), + RouteStatus::Verified + ); + + // One bit flipped inside the signature. + let flipped = edit_payload(&text, "endpoint", |b| { + let i = b.len() - SUFFIX_LEN + 5; + b[i] ^= 1; + }); + assert_eq!( + verify_suffixed(&parse_suffixed(&flipped).unwrap(), &inviter), + RouteStatus::Rejected("bad signature") + ); + + // The EndpointId changed and the suffix did not. The standard parser still accepts it. + let moved = tamper_id(&text, &attacker_key().public()); + let split = parse_suffixed(&moved).expect("the standard parser accepts the edit"); + assert_eq!( + verify_suffixed(&split, &inviter), + RouteStatus::Rejected("bad signature") + ); + + // A valid signature, checked against a different expected key. + let split = parse_suffixed(&text).unwrap(); + assert_eq!( + verify_suffixed(&split, &attacker_key().public()), + RouteStatus::Rejected("suffix not signed by the expected inviter") + ); + + // Suffix removed: a plain ticket, which is unverified rather than refused. + let stripped = edit_payload(&text, "endpoint", |b| b.truncate(b.len() - SUFFIX_LEN)); + assert!(stripped.parse::().is_ok()); + assert_eq!( + verify_suffixed(&parse_suffixed(&stripped).unwrap(), &inviter), + RouteStatus::Unverified + ); + + // A suffix of another length is not a signature. + let junk = edit_payload(&text, "endpoint", |b| b.push(0)); + assert_eq!( + verify_suffixed(&parse_suffixed(&junk).unwrap(), &inviter), + RouteStatus::Rejected("trailing bytes are not a signature") + ); +} + +#[test] +fn d_is_dropped_when_a_standard_client_reads_and_writes_the_ticket() { + let text = option_d(&addr(), &inviter_key()); + let reread = text.parse::().unwrap().to_string(); + assert_ne!(reread, text); + assert_eq!(reread, option_a(&addr())); +} + +#[test] +fn d_split_follows_the_wire_length_because_non_canonical_payloads_parse() { + // Hand-built wire bytes: the same relay address listed twice. iroh's BTreeSet keeps one. + let relay = TransportAddr::Relay("https://relay.example.test./".parse().unwrap()); + let mut payload = vec![0x00]; // variant index of Variant1 + payload.extend(postcard::to_stdvec(&endpoint_key().public()).unwrap()); + payload.extend(postcard::to_stdvec(&2usize).unwrap()); + let entry = postcard::to_stdvec(&relay).unwrap(); + payload.extend(&entry); + payload.extend(&entry); + let suffix = [0xAB; SUFFIX_LEN]; + let text = string_with_kind("endpoint", &[payload.clone(), suffix.to_vec()].concat()); + + let parsed: EndpointTicket = text + .parse() + .expect("the standard parser accepts the duplicate"); + assert_eq!(parsed.endpoint_addr(), &sample_addr(true, &[])); + + let split = parse_suffixed(&text).unwrap(); + assert_eq!(split.payload, payload); + assert_eq!(split.suffix, suffix); + + // Re-encoding the parsed ticket gives a shorter payload, so a split by re-encoding is wrong. + let reencoded = parsed.encode_bytes().len(); + println!( + "wire payload {} bytes, canonical re-encoding {} bytes", + payload.len(), + reencoded + ); + assert_ne!(reencoded, payload.len()); +} + +#[test] +fn a_signature_made_for_option_d_is_refused_as_option_b() { + // D signs DOMAIN_SUFFIX || payload. Reusing that signature as B's must fail. + let text = option_d(&addr(), &inviter_key()); + let split = parse_suffixed(&text).unwrap(); + let sig_bytes: [u8; 64] = split.suffix[..64].try_into().unwrap(); + let reused = SignedTicket { + ticket: EndpointTicket::new(addr()), + signer: inviter_key().public(), + signature: Signature::from_bytes(&sig_bytes), + }; + assert!(reused.verify_from(&inviter_key().public()).is_err()); +} + +// E: A plus C, checked automatically when present. + +#[test] +fn e_a_plain_ticket_is_accepted_and_unverified_not_refused() { + let (ticket, status) = + check_route(&option_a(&addr()), None, &inviter_key().public()).unwrap(); + assert_eq!(status, RouteStatus::Unverified); + assert_eq!(ticket.endpoint_addr(), &addr()); +} + +#[test] +fn e_a_valid_event_verifies_and_a_mismatched_one_is_rejected() { + let inviter = inviter_key(); + let text = option_a(&addr()); + let ticket: EndpointTicket = text.parse().unwrap(); + let event = sign_invite(body(&ticket, inviter.public()), &inviter); + + let (_, status) = check_route(&text, Some(&event), &inviter.public()).unwrap(); + assert_eq!(status, RouteStatus::Verified); + + let edited = tamper_id(&text, &attacker_key().public()); + let (_, status) = check_route(&edited, Some(&event), &inviter.public()).unwrap(); + assert_eq!( + status, + RouteStatus::Rejected("ticket is not the one the inviter signed") + ); +} + +// Paste rules. The parser is shared by every option, so this is printed once for all. + +#[test] +fn paste_rules_the_parser_applies_to_the_pasted_string() { + let text = option_a(&addr()); + let upper_body = format!("endpoint{}", text["endpoint".len()..].to_ascii_uppercase()); + let cases = [ + ("exact copy", text.clone()), + ("trailing newline", format!("{text}\n")), + ("trailing space", format!("{text} ")), + ("leading space", format!(" {text}")), + ("upper-case prefix", text.replacen("endpoint", "ENDPOINT", 1)), + ("upper-case body", upper_body.clone()), + ]; + for (label, candidate) in &cases { + match candidate.parse::() { + Ok(_) => println!("paste {label}: accepted"), + Err(e) => println!("paste {label}: rejected: {e}"), + } + } + assert!(text.parse::().is_ok()); + // Same ticket, different string: why a digest must cover the canonical bytes, not the text. + assert_eq!( + upper_body.parse::().unwrap(), + text.parse::().unwrap() + ); + // The same rules apply to our own prefix, because both use Ticket::decode_string. + let b = SignedTicket::sign(EndpointTicket::new(addr()), &inviter_key()).encode_string(); + let b_upper = format!("idsig{}", b["idsig".len()..].to_ascii_uppercase()); + println!("paste B upper-case body: {:?}", SignedTicket::decode_string(&b_upper).is_ok()); + println!( + "paste B trailing newline: {:?}", + SignedTicket::decode_string(&format!("{b}\n")).is_ok() + ); + let d = option_d(&addr(), &inviter_key()); + println!( + "paste D trailing newline: {:?}", + format!("{d}\n").parse::().is_ok() + ); +} + +// Lengths and examples. Run with --nocapture. + +#[test] +fn print_lengths_and_examples() { + let inviter = inviter_key(); + let event = sign_invite( + body(&EndpointTicket::new(addr()), inviter.public()), + &inviter, + ); + println!("C invite event: {} bytes", event_bytes(&event).len()); + println!( + "C event inline in a link, base32: {} chars", + BASE32_NOPAD.encode_len(event_bytes(&event).len()) + ); + println!( + "one 32-byte key as base32 (link trust anchor): {} chars", + BASE32_NOPAD.encode_len(32) + ); + println!("A example: {}", option_a(&addr())); + println!("D example: {}", option_d(&addr(), &inviter_key())); + + let sets: [(&str, EndpointAddr); 3] = [ + ("relay only", sample_addr(true, &[])), + ("relay + 1 IPv4", sample_addr(true, &["192.0.2.10:4433"])), + ( + "relay + 2 IPv4 + 1 IPv6", + sample_addr( + true, + &["192.0.2.10:4433", "198.51.100.7:4433", "[2001:db8::7]:4433"], + ), + ), + ]; + println!( + "| address set | A (and C, E pasted) | B string inside | B payload inside (computed) | D sig + key | D sig only (computed) |" + ); + println!("|---|---|---|---|---|---|"); + for (label, addr) in sets { + let ticket = EndpointTicket::new(addr.clone()); + let payload = ticket.encode_bytes(); + let a = option_a(&addr); + let st = SignedTicket::sign(ticket, &inviter); + let b = st.encode_string(); + let compact = + postcard::to_stdvec(&(1u8, payload.clone(), inviter.public(), st.signature)).unwrap(); + let b_compact = "idsig".len() + BASE32_NOPAD.encode_len(compact.len()); + let d = option_d(&addr, &inviter_key()); + let d_sig_only = "endpoint".len() + BASE32_NOPAD.encode_len(payload.len() + 64); + println!( + "| {label} (payload {} bytes) | {} | {} | {} | {} | {} |", + payload.len(), + a.len(), + b.len(), + b_compact, + d.len(), + d_sig_only + ); + } +} diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/RESULTS.md b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/RESULTS.md new file mode 100644 index 0000000000..07948ca7a0 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/RESULTS.md @@ -0,0 +1,179 @@ +# Research round 2: Rust toolchain (n15) and MSRV + +- Date: 2026-10-11 (fetches about 16:00 UTC) +- Folder: /home/user/work/research-round2/toolchain (all writes are here) +- Repo: read-only. Nothing in /home/user/code, /home/user/work/integrated, /home/user/work/spikes or /home/user/work/spikes-next was changed. `git status` in integrated, run at the start of the session, showed only two pre-existing untracked docs, and pkgs/id had no changes then. I have not written to the repo since. +- Labels: [verified] = seen in command output or source in this session; [inferred] = reasoning from verified facts; [not checked] = not done. + +Owner decisions (from the parent, verbatim): +- n15: "n15 move to the very newest toolchain, if that's a patch 1.99.x or newer than 1.99 both are great." +- n14: "n14 in all cases use the git rev unless there's a strong reason not to." + +## Questions (verbatim) + +1. The newest stable Rust as of today (2026-10-11). Use https://static.rust-lang.org/dist/channel-rust-stable.toml and the versioned manifests. Report the exact version, its date, and whether any newer patch exists. +2. Our repo state, read-only. `pkgs/id/rust-toolchain.toml` (1.97.0). The flake: `flake.nix` and `flake.lock` at the root of `/home/user/work/integrated`. Which rust-overlay revision is locked, and does it contain the newest stable? Which nixpkgs revision is locked, and what rustc does it provide? Read the lock files with `python3 -I` or `jq` only. +3. The exact update steps for a later Phase 0. Name the flake input to update (`nix flake lock --update-input `), and whether `nix` can evaluate the flake offline on this host. Do not run `nix flake update` in the repo. If `nix` is usable, run only `nix eval` on read-only attributes in a copy of the flake directory. +4. Install the newest toolchain into rustup with the minimal profile, so that we can build with it (`rustup toolchain install --profile minimal -c clippy -c rustfmt`). This is a user-level install and is allowed. Then record `rustc -V` and `cargo -V`, and run `cargo --version` against a trivial crate. +5. MSRV and compatibility. Check the minimum supported Rust version of our key dependencies (iroh 1.3, iroh-relay, iroh-blobs 0.103.1, redb 4.3.0, the p2panda git rev 3e84cac, beekem 0.4.0, cbor-core 0.10.1, turso, libsql, ed25519-dalek 2 and 3). Flag any that need a newer toolchain than the newest stable. +6. Note any clippy or rustfmt changes that would affect our lint configuration. + +Output: the version, the steps in order, and the risks. Do not modify the repo. + +## Short answers + +**1. The newest stable is 1.99.0, released 2026-10-01. No newer patch exists.** [verified] RELEASES.md at tag 1.99.0 starts with `Version 1.99.0 (2026-10-01)`, and `channel-rust-stable.toml` has `date = "2026-10-01"`. The rustc build string `1.99.0 (b940084d7 2026-09-28)` carries the commit date, not the release date; task 12's table uses that commit date. HEAD probes on 2026-10-11 for `channel-rust-1.99.1.toml`, `1.99.2`, `1.99.3`, `1.99.4`, `1.99.5`, `1.99.9` and `1.100.0` all returned 404, and the blog release pages and RELEASES.md tags for 1.99.1 and 1.99.2 also returned 404. Two caveats: the stable manifest came through a Varnish cache with age about 14.8 h, so a release from the last few hours could be missed [inferred]; and our pin 1.97.0 is behind 1.97.1 (2026-07-16) [verified]. + +**2. Both locked rust-overlay revisions contain 1.99.0. The locked nixpkgs revisions provide rustc 1.98.1, not 1.99.0.** [verified] The root flake's id toolchain input is `id-rust-overlay`, locked to oxalica/rust-overlay `4ca2963243427cb86bd6b4d9ca6010db0162a619` (2026-10-09T08:47:34Z). The standalone `pkgs/id/flake.lock` locks `rust-overlay` to `b962e5d0c8cd97196c6a882d659fe451b52ad989` (2026-10-06T08:48:55Z). In both, `rust-bin.stable.latest` evaluates to 1.99.0, and a 1.99.0 toolchain with the repo's four components evaluates to version 1.99.0. The nixpkgs revisions are: root `id-nixpkgs` → nixpkgs-master `cfdb2236cff2a6adaace5a4ef37ea73152d710e9` (2026-10-09), pkgs/id `nixpkgs` → `afe869b7192c6caa674e74227031eaa232a062a7` (2026-10-06), and root `nixpkgs` → nixos-unstable `e7439b6b14ad3cc35d05608ebca9bce01a25f5f8` (2026-10-08). All three give `rustPlatform.rust.rustc` = 1.98.1. The id derivations list rust-overlay's `rust-default-1.97.0` before nixpkgs' `rustc-wrapper-1.98.1` and `cargo-1.98.1`, so the pinned toolchain is probably the compiler that the flake build uses [inferred; not built]. The legacy `pkgs/id/default.nix` does not use rust-overlay, so it gets nixpkgs' `rustPlatform` [verified by reading]. + +**3. No lock update is needed for the toolchain step.** [verified: manifest component check and offline eval] Change `channel` in `pkgs/id/rust-toolchain.toml` (line 20) from 1.97.0 to 1.99.0. If a newer overlay is wanted, the inputs are `id-rust-overlay` (root flake) and `rust-overlay` (pkgs/id flake), updated with `nix flake lock --update-input `. After any update, compare the locked rev with upstream: nix's `tarball-ttl` is 259200 s (3 days) [verified: `nix show-config`], so a cached tarball can be stale. Offline evaluation works on this host: `nix eval --offline` exited 0 on copies of both flakes and on the two overlay/nixpkgs probes [verified]. The ordered Phase 0 steps are in Recommendation. + +**4. Installed 1.99.0 with the minimal profile plus clippy and rustfmt.** [verified] `rustc -V` → `rustc 1.99.0 (b940084d7 2026-09-28)`; `cargo -V` → `cargo 1.99.0 (5f94df478 2026-08-27)`. `cargo --version` on the trivial crate `trivial/hello` gives the same, and its build, run (`Hello, world!`), `clippy -D warnings` and `fmt --check` all exit 0. rustup had no default before, so the install set 1.99.0 as the default. I ran `rustup default none` to restore the previous state [verified: settings.toml before and after]. + +**5. Nothing needs more than 1.99.0 in what can be checked.** [verified] I queried crates.io `rust_version` for 834 registry (name, version) pairs from both locks. 603 declare one, the highest is sqlx 0.9.0 at 1.94.0, and no pair is yanked or failed to look up. The p2panda crates at rev 3e84cac all declare `rust-version = "1.96"` (fetched from GitHub). Per crate: iroh, iroh-relay, iroh-blobs 0.103.1, iroh-tickets, iroh-docs and iroh-gossip → 1.91; redb 4.3.0 → 1.90 (redb 3.1.3 → 1.89, also in the pkgs/id lock); cbor-core 0.10.1 → 1.88; ed25519-dalek 2.2.0 → 1.81 and 3.0.0 → 1.85; tokio 1.53.2 → 1.71; beekem 0.4.0 → 1.90.0 (not in either lock). No declared MSRV: dcbor 0.25.2, libsql 0.9.30, distributed-topic-tracker 0.3.5, and turso 0.8.2 (not in either lock). These need a compile to check. Our declared MSRV is 1.91.0 (`pkgs/id/Cargo.toml:5`), below p2panda's 1.96. + +**6. rustfmt: no change for our code. Clippy: 1.99 adds lints that our config enables, and about 50 call sites would trigger one.** [verified; firing on the repo's sites inferred] rustfmt 1.97.0 and 1.99.0 both give zero diffs on 66 files with `--edition 2024`. Our `[lints.clippy]` sets `all`, `pedantic`, `nursery` and `cargo` to warn (`Cargo.toml:116–119`). A probe on a trivial crate shows four warnings that appear only on 1.99.0: `assert_is_empty`, `chunks_exact_to_as_chunks`, `unused_async_trait_impl` and `with_capacity_zero`. Grep finds 50 `assert!(...is_empty())` sites in pkgs/id and 2 `chunks_exact(2)` sites; whether the lints fire on them is not checked. The repo's `just clippy-lint` has no `-D warnings`, so these would not fail it, but task 12's "clippy reports nothing new" would. The 1.98 change that turns some `ambiguous_glob_imports` cases into hard errors could affect our 71 glob imports; that is not checked. + +## Evidence + +Commands are abbreviated. Full logs are in `logs/`, parsed data in `data/`, and downloads in `dl/`, each download in its own directory. + +### E1. Newest stable (Q1) +- `curl -sS -H 'Cache-Control: no-cache' -D dl/stable.headers -o dl/stable/channel-rust-stable.toml https://static.rust-lang.org/dist/channel-rust-stable.toml` → HTTP 200, 943,486 bytes, sha256 `ce6dddc886364f8d786514771212cebe9b731ba82d6b859951c6b0ccc516b6a2`, `last-modified: Thu, 01 Oct 2026 12:38:04 GMT`, `age: 53507`, `x-cache: HIT` (fetched 2026-10-11 16:06 UTC). +- `python3 -I scripts/manifest_summary.py dl/stable/channel-rust-stable.toml` → `manifest-version: 2`, `date: 2026-10-01`, `rustc: 1.99.0 (b940084d7 2026-09-28)`, `cargo: 0.100.0 (5f94df478 2026-08-27)`, `clippy-preview: 0.1.99`, `rustfmt-preview: 1.10.0`, `rust-std` and `rust-src: 1.99.0 (b940084d7 2026-09-28)`. +- Component availability on x86_64, from `python3 -I` on the same manifest: `rustfmt-preview` 1.10.0 True; `rust-analyzer-preview` 0.0.0 True; `clippy-preview` 0.1.99 True; `llvm-tools-preview` 1.99.0 True; `rustc` True; `cargo` True. (My first pass used `rustfmt` and `rust-analyzer` as keys and returned None; the manifest uses the `-preview` names.) +- HEAD probes (`curl -s -o /dev/null -w '%{http_code}' -I https://static.rust-lang.org/dist/channel-rust-.toml`): 1.97.0 200, 1.98.0 200, 1.98.1 200, 1.98.2 404, 1.99.0 200, 1.99.1 404, 1.99.2 404, 1.99.3 404, 1.99.4 404, 1.99.5 404, 1.99.9 404, 1.100.0 404. +- `https://blog.rust-lang.org/releases/1.99.1/` 404; `…/1.99.2/` 404; `https://raw.githubusercontent.com/rust-lang/rust/1.99.1/RELEASES.md` 404; `…/1.99.2/RELEASES.md` 404. +- `dl/rust-1.99.0-releases/RELEASES.md` (tag 1.99.0, 930,191 bytes): `Version 1.99.0 (2026-10-01)` (line 1), `Version 1.98.1 (2026-09-03)` (line 131), `Version 1.98.0 (2026-08-20)` (line 138), `Version 1.97.1 (2026-07-16)` (line 237), `Version 1.97.0 (2026-07-09)` (line 247). + +### E2. Repo state (Q2) +- Pins: `pkgs/id/rust-toolchain.toml:20` `channel = "1.97.0"`; line 22 `components = ["rustfmt", "clippy", "rust-analyzer", "llvm-tools"]`; line 23 `profile = "default"`. The same file exists under /home/user/code and /home/user/work/integrated [verified: read]. +- Legacy files: a `rust-toolchain` file (no `.toml`) containing `nightly-2023-07-20` sits in /home/user/code and /home/user/work/integrated. Running rustup from /home/user/code printed `warn: both /home/user/code/rust-toolchain and /home/user/code/pkgs/id/rust-toolchain.toml exist; using contents of /home/user/code/rust-toolchain` [verified]. +- `jq -c '.root as $r | .nodes[$r].inputs' /home/user/work/integrated/flake.lock` → `id-rust-overlay → id-rust-overlay`, `id-nixpkgs → ["nixpkgs-master"]`, `nixpkgs → ["nixpkgs-unstable"]`, and `id-flake-parts`/`id-flake-utils`/`id-systems` follow other inputs. Locked nodes (jq): + - `id-rust-overlay`: github oxalica/rust-overlay, rev `4ca2963243427cb86bd6b4d9ca6010db0162a619`, lastModified 2026-10-09T08:47:34Z. + - `nixpkgs-master`: github NixOS/nixpkgs, rev `cfdb2236cff2a6adaace5a4ef37ea73152d710e9`, 2026-10-09T22:43:50Z. + - `nixpkgs-unstable`: nixos-unstable `e7439b6b14ad3cc35d05608ebca9bce01a25f5f8`, 2026-10-08T10:40:40Z. + - Other overlay users, not id: `rust-flake → rust-overlay` `6b5c52313aaf3f3e1a0a6757bb89846edfb5195c` (2025-12-27); `yazi → rust-overlay_2` `7470661ba2b51156048af08464b82020223dc942` (2026-10-03). +- `jq` on `/home/user/work/integrated/pkgs/id/flake.lock`: `rust-overlay` `b962e5d0c8cd97196c6a882d659fe451b52ad989` (2026-10-06T08:48:55Z); `nixpkgs` `afe869b7192c6caa674e74227031eaa232a062a7` (2026-10-06T12:14:35Z). +- Wiring: root `flake.nix:313–314` declares `id-rust-overlay` (url `github:oxalica/rust-overlay`). `lib/default.nix:593` `make-id` imports `../pkgs/id/flake.nix` and maps its `rust-overlay` and `nixpkgs` inputs to `id-rust-overlay` and `id-nixpkgs`. `pkgs/id/nix-common.nix:20` `rustToolchain = pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;`. `pkgs/id/flake.nix:445, 576, 634` put `rustToolchain` in `nativeBuildInputs`. +- Offline eval (`scripts/rust_toolchain_probe.nix`, `OV_REV=… NP_REV=… nix eval --offline --impure --raw --file …`), exit 0 for each pair: + - root pair (4ca2963, cfdb2236): `rust-bin.stable.latest=1.99.0`, `rust-bin.stable.1.99.0=present`, `rust-bin.stable.1.97.0=present`, `rust-bin 1.99.0 default(+repo components).version=1.99.0`, `nixpkgs.rustPlatform.rust.rustc.version=1.98.1`, `nixpkgs.rustPlatform.rust.cargo.version=1.98.1`. + - pkgs/id pair (b962e5d, afe869b): the same results. + - root nixpkgs e7439b6b with 4ca2963: `rustPlatform.rust.rustc.version=1.98.1`. +- Derivation inputs by name (`scripts/pkgid_native_inputs.nix` on the pkgs/id copy; `scripts/root_native_inputs.nix` on the root copy; both `nix eval --offline`, exit 0, no build and no instantiation). pkgs/id copy: `packages=default,id-lib,id-web`; `id-lib.nativeBuildInputs=[pkg-config-wrapper-0.29.2, cmake-4.4.3, rust-default-1.97.0, auditable-cargo-1.98.1, cargo-build-hook.sh, cargo-check-hook.sh, cargo-install-hook.sh, cargo-setup-hook.sh, rustc-wrapper-1.98.1, cargo-1.98.1]`. Root copy: `id-lib` and `id-web` (which adds bun) carry the same nixpkgs-side entries with `rust-default-1.97.0`. +- nixpkgs source (cfdb2236, `/nix/store/zqrnilbnkjj5d6kaj6r1ilzyjmd8vfwy-source`): `pkgs/build-support/rust/build-rust-package/default.nix` line 69 `auditable ? !cargo-auditable.meta.broken`; lines 148–160 `nativeBuildInputs = nativeBuildInputs ++ [ … cargoSetupHook rustc cargo ]`. Caller inputs come first, so PATH should prefer the pinned toolchain [inferred; not verified by a build]. +- Legacy path: `pkgs/id/default.nix:12` `pkgs ? import { }`; `:25` `default = pkgs.rustPlatform.buildRustPackage {` with `nativeBuildInputs = with pkgs; [ pkg-config ]`, no overlay and no rustToolchain. `grep -nE 'overlay|rust-bin|rustToolchain|rustc|nixpkgs' default.nix shell.nix` shows no rust-overlay in default.nix; shell.nix uses rust-overlay at lines 34–38 [verified]. +- Declared MSRV: `pkgs/id/Cargo.toml:5` `rust-version = "1.91.0"`; `pkgs/id/clippy.toml:14` `msrv = "1.91.0"`. Lints: `Cargo.toml` `[lints.rust]` at line 99 (`unsafe_code = "warn"` at 101); `[lints.clippy]` at line 114; `all`, `pedantic`, `nursery` and `cargo` at warn on lines 116–119; deny on lines 123–128 (`unwrap_used`, `expect_used`, `panic`, `unimplemented`, `todo`, `dbg_macro`) [verified: grep and sed]. +- Gate: `pkgs/id/justfile:163–164` `clippy-lint:` runs `cargo clippy --all-targets --all-features` with no `-D warnings`. `pkgs/id/check-all:91` runs with `-D warnings || true` [verified]. +- Lock contents (`scripts/lock_packages.py` via `python3 -I` on each Cargo.lock): `pkgs/id/Cargo.lock` (lockfile v4) has 752 packages, 751 registry, 0 git, so p2panda is not in it. `spikes/Cargo.lock` has 584 packages, 569 registry, 7 git (p2panda at 3e84cac) [verified]. +- Git: integrated HEAD `d702af03`. `git --no-optional-locks status --porcelain` lists only two untracked docs, and pkgs/id has no changes [verified]. +- nix: `nix --version` = 2.35pre20260619; `nix show-config` shows flakes and nix-command enabled and `tarball-ttl = 259200` [verified]. + +### E3. Offline evaluation and copies (Q3) +- `git -C /home/user/work/integrated archive HEAD pkgs/id | tar -x -C copy`; `cmp` shows the copy's flake.lock matches the working tree. `git archive HEAD | tar -x -C copy-root` gave 103 MB; `git ls-files | grep -cE '\.(iso|qcow2)$'` = 0, so the large images are untracked and were not copied [verified]. +- `ROOT_FLAKE=path:…/copy-root nix eval --offline --impure --raw --file scripts/root_native_inputs.nix` → exit 0, with warnings only (for example `input 'git-hooks' has an override for a non-existent input 'gitignore'`). +- `PKGID_FLAKE=path:…/copy/pkgs/id nix eval --offline --impure --raw --file scripts/pkgid_native_inputs.nix` → exit 0. +- Not run: `nix flake lock --update-input …`, `nix flake update`, `nix build`, `nix develop`, and anything in the repo. + +### E4. Install and trivial crate (Q4) +- `nohup rustup toolchain install 1.99.0 --profile minimal -c clippy -c rustfmt` → log: `latest update on 2026-10-01 for version 1.99.0 (b940084d7 2026-09-28)`; `1.99.0-x86_64-unknown-linux-gnu installed - rustc 1.99.0 (b940084d7 2026-09-28)`; `default toolchain set to 1.99.0-x86_64-unknown-linux-gnu` (logs/rustup-install-1.99.0.log) [verified]. +- Before the install, `rustup toolchain list` showed `nightly-2023-07-20-x86_64-unknown-linux-gnu` and `1.97.0-x86_64-unknown-linux-gnu`, neither marked default. After the install it showed `1.99.0 (active, default)`. +- `rustup default none` → `info: default toolchain unset`. `~/.rustup/settings.toml`: before, `default_toolchain = "1.99.0-x86_64-unknown-linux-gnu"`; after, no default line [verified]. +- With PATH set to the toolchain bin (`dirname "$(rustup which --toolchain 1.99.0 cargo)"`): `rustc -V` = `rustc 1.99.0 (b940084d7 2026-09-28)`; `cargo -V` = `cargo 1.99.0 (5f94df478 2026-08-27)`; `cargo clippy -V` = `clippy 0.1.99 (b940084d7e 2026-09-28)`; `rustfmt --version` = `rustfmt 1.10.0-stable (b940084d7e 2026-09-28)` [verified]. +- `trivial/hello` (`cargo new hello --vcs none`): `cargo --version` = `cargo 1.99.0 (5f94df478 2026-08-27)`; `cargo build` exit 0; `./target/debug/hello` prints `Hello, world!`; `cargo clippy -- -D warnings` exit 0; `cargo fmt --check` exit 0 [verified]. + +### E5. MSRV (Q5) +- Method: `scripts/lock_packages.py` (`python3 -I`, tomllib) read both Cargo.lock files into `data/pkgid-lock.json` and `data/spikes-lock.json`. `scripts/msrv_crates_io.py` queried `https://crates.io/api/v1/crates//` once per second with a descriptive User-Agent, for the 834 registry pairs (2026-10-11, 0 errors). `scripts/msrv_report.py` summarised the results into `data/msrv-report.txt`. +- Scan summary: 834 pairs, 603 with rust_version, 231 unspecified, 0 errors, 0 yanked. Highest in the union: sqlx 0.9.0 → 1.94.0. Per lock: pkgs/id has 751 registry crates, max `wasmtime-internal-versioned-export-macros 43.0.2` → 1.91.0, 202 unspecified; spikes has 569 registry crates, max `sqlx-sqlite 0.9.0` → 1.94.0, 156 unspecified. Crates needing more than 1.99.0: none. +- Key crates (crates.io `version.rust_version` and `yanked`): + +| Crate (version) | In lock | rust_version | Yanked | vs 1.99.0 | +|---|---|---|---|---| +| iroh 1.3.0 | both | 1.91 | no | ok | +| iroh-relay 1.3.0 | both | 1.91 | no | ok | +| iroh-blobs 0.103.1 | both | 1.91 | no | ok | +| iroh-tickets 1.0.0 | both | 1.91 | no | ok | +| iroh-docs 0.101.0 | pkgs/id | 1.91 | no | ok | +| iroh-gossip 0.101.0 | pkgs/id | 1.91 | no | ok | +| redb 4.3.0 | spikes | 1.90 | no | ok | +| redb 3.1.3 | pkgs/id | 1.89 | no | ok (a second redb copy in pkgs/id) | +| cbor-core 0.10.1 | spikes | 1.88 | no | ok | +| dcbor 0.25.2 | spikes | unspecified | no | unknown | +| ed25519-dalek 2.2.0 | spikes | 1.81 | no | ok | +| ed25519-dalek 3.0.0 | both | 1.85 | no | ok | +| libsql 0.9.30 | pkgs/id | unspecified | no | unknown (C code; task 12 risk) | +| tokio 1.53.2 | both | 1.71 | no | ok | +| distributed-topic-tracker 0.3.5 | pkgs/id | unspecified | no | unknown | +| p2panda-{core, auth, encryption, sync, store, stream} 0.7.1 @ 3e84cac | spikes (git) | 1.96 | n/a | ok, but needs 1.96 | +| beekem 0.4.0 | neither | 1.90.0 | no | ok (not a current dependency) | +| turso 0.8.2 | neither | unspecified | no | unknown (not a current dependency) | + +- p2panda: `dl/p2panda-p2panda-/Cargo.toml` line 15 `rust-version = "1.96"` for each of the six crates. The root `dl/p2panda-root-Cargo.toml` declares no rust-version [verified: GitHub raw at 3e84cac, 2026-10-11]. +- spikes: `spikes/Cargo.toml:7` `rust-version = "1.96"` [verified]. +- Product: `pkgs/id/Cargo.toml:5` (1.91.0) and `pkgs/id/clippy.toml:14` (msrv 1.91.0) are both below 1.96 [verified]. + +### E6. rustfmt and clippy (Q6) +- rustfmt: `rustfmt --edition 2024 --check` over the 66 `.rs` files in `copy/pkgs/id` (the same invocation as the `rustfmt-check` in `pkgs/id/flake.nix:448`). 1.97.0: exit 0, 0 "Diff in" blocks. 1.99.0: exit 0, 0 blocks (`logs/rustfmt-*.txt`) [verified]. +- Changelogs: `dl/clippy-changelog/CHANGELOG.md` (rust-clippy master, fetched 2026-10-11), sections "Rust 1.99" (line 11) and "Rust 1.98" (line 99), extracted to `data/clippy-1.99.md` and `data/clippy-1.98.md`. + - 1.99 New Lints: assert_is_empty (pedantic), nonnull_unchecked_on_box_ptr (complexity), block_scrutinee (suspicious), definition_in_module_root, rest_pattern_accessible_field and unnecessary_rest_pattern (restriction), manual_bit_width (pedantic), mismatched_bit_width_type (suspicious). + - 1.98 New Lints: unnecessary_unwrap_unchecked (complexity), chunks_exact_to_as_chunks (style), by_ref_peekable_peek (suspicious), with_capacity_zero (pedantic), manual_isolate_lowest_one (complexity), for_unbounded_range (suspicious), unused_async_trait_impl (pedantic). + - 1.98 Moves and Deprecations: `empty_enums` moved pedantic → nursery (both are enabled in our config, so no effect); `from_iter_instead_of_collect` deprecated (not in our config). 1.99 has no Moves section. None of the lint names in our `[lints]` tables was renamed or removed [verified]. +- Clippy probe (`trivial/lintprobe/src/lib.rs`, eight small functions covering the candidate patterns; `cargo clippy -- -W clippy::all -W clippy::pedantic -W clippy::nursery`; separate target dirs and `RUSTC` pinned per toolchain): + - 1.97.0 warnings: must_use (5), const fn (2), `&Vec` (1), missing `# Panics` (1), usize→u32 cast (1). + - 1.99.0 adds: "used `assert!` to check that a value is empty"; "using `chunks_exact` with a constant chunk size"; "unused `async` for async trait impl function with no `.await` statements"; "calling `with_capacity(0)` is equivalent to `new()`" [verified: `logs/lintprobe-1.97.0.txt`, `logs/lintprobe-1.99.0.txt`]. +- Repo greps on `copy/pkgs/id` (`src`, `tests`, `examples`) [verified, grep]: + - `assert!(.*\.is_empty\(\))`: 50 (48 in src). + - `chunks_exact` or `as_chunks`: 2. `src/world_session.rs:2065` is `.chunks_exact(2)` inside a `.map`; `src/world.rs:3107` is `bytes.chunks_exact(2)` inside a `zip`. + - `with_capacity(0)`: 0. `unwrap_unchecked`: 0. `chunks(0)` or `windows(0)`: 0. Footnote syntax in doc comments: 0. `#[path`: 0. `no_mangle` or `export_name`: 0. `cfg_select!`: 0. + - `use …::*;`: 71. + - `c_void`: 4, all `as *const libc::c_void` pointer casts (`src/world_native.rs:390, 421, 444, 500`), not return types. +- RELEASES.md 1.98 notes (`dl/rust-1.98.0-releases/RELEASES.md`, extracted to `data/relnotes-1.98.0.md`): line 11 adds the warn-by-default `c_void_returns` lint for `core::ffi::c_void` as a return type; line 9 adds the deny-by-default `invalid_runtime_symbol_definitions`; line 79 converts some `ambiguous_glob_imports` cases into hard errors; line 91 emits `unsafe_code` for all unsafe attributes; line 94 has rustfmt discover modules inside `cfg_select!` [verified]. +- RELEASES.md 1.99 notes (`data/relnotes-1.99.0.md`): lines 8–24 cover rustc lints, including `unconditional_panic` extended to zero-size chunks and windows (deny-by-default), POSIX runtime symbols, `#[path]` on inline modules, `unreachable_cfg_select_predicates` in the unused group, and an invalid doc attribute on a macro invocation. Line 96 adds the rustdoc `unused_footnote_definition` lint. Lines 116–118 add `semicolon_in_expressions_from_non_local_macros`, a warning lint for macros from other crates. Line 88 disables incremental compilation by default in CI; our `.cargo/config.toml` sets `[build] incremental = true` explicitly [verified]. + +## Options + +| Option | Toolchain | Lock change | Gain | Cost or risk | +|---|---|---|---|---| +| A (recommended, n15) | 1.99.0 in `pkgs/id/rust-toolchain.toml` | none; both overlay revisions already have 1.99.0 | Newest stable; owner's decision; eval passes offline; rustfmt clean | About 50 `assert_is_empty` (pedantic) warnings and about 2 `chunks_exact` warnings; possible 1.98 glob-import errors; no compile run yet | +| B | 1.98.1 | none | One step back from newest | Not what the owner asked for; the same clippy work applies | +| C | stay at 1.97.0 (1.97.1 exists) | none | No churn | Contradicts n15; misses the 1.98 and 1.99 fixes; the MSRV raise to 1.96 is still needed for p2panda | +| D | A plus a nixpkgs bump: `nix flake lock --update-input id-nixpkgs` (root) or `nixpkgs` (pkgs/id) | yes | The legacy `default.nix` and the nixpkgs-side rustc move | Not needed for the flake build; whether a newer nixpkgs has rustc 1.99.0 is not checked; more lock churn | + +## Recommendation + +Take option A. The toolchain step needs no lock update, the newest stable is 1.99.0, and no crate with a declared MSRV needs more than 1.99.0. The p2panda git rev (n14) needs 1.96, which 1.99.0 satisfies, so the git-rev decision stands. Phase 0 steps, in order (for later; none of these were run): + +1. Edit `pkgs/id/rust-toolchain.toml` line 20 to `channel = "1.99.0"`. Keep the components and profile. +2. Do not run `nix flake update`. Only if a newer overlay is wanted: `nix flake lock --update-input id-rust-overlay` (root) or `nix flake lock --update-input rust-overlay` (pkgs/id). Then check the locked rev against `git ls-remote https://github.com/oxalica/rust-overlay refs/heads/master`, because of the 3-day tarball TTL. +3. Edit `pkgs/id/Cargo.toml:5` to `rust-version = "1.96"` and `pkgs/id/clippy.toml:14` to `msrv = "1.96"` (task 01). This keeps clippy's MSRV-gated lints in step with the declared MSRV. +4. Offline check in a copy, not the repo: `git -C /home/user/work/integrated archive HEAD pkgs/id | tar -x -C `, apply steps 1 and 3 to the copy, then `PKGID_FLAKE=path:/pkgs/id nix eval --offline --impure --raw --file scripts/pkgid_native_inputs.nix` and expect `rust-default-1.99.0` in the list. Use `--no-write-lock-file` for any further eval. +5. Compile and lint gates with the user toolchain, using a fresh target dir per toolchain (E0514 risk). `TC=$(dirname "$(rustup which --toolchain 1.99.0 cargo)")`, then in `pkgs/id`: `PATH="$TC:$PATH" RUSTC="$TC/rustc" CARGO_TARGET_DIR= cargo clippy --all-targets --all-features -- -D warnings`; `cargo test --lib -- --skip world_compile --skip test_worlds_compile_roc_sources_on_the_fly --skip test_world_module_shared_over_iroh_and_web_presentations`; `cargo test --doc`; and `rustfmt --edition 2024 --check`. Expect the lint set in E6. This is a heavy build, so coordinate with the other agents. +6. Decide the roughly 50 `assert_is_empty` sites: fix them, or allow the lint in `[lints.clippy]` with a stated reason. Decide the two `chunks_exact` sites the same way. +7. Nix build (owner or CI only; agents must not run it): `nix build` for `id-lib` and `id-web`, and confirm from the build log that rustc is `rust-default-1.99.0`, not nixpkgs' 1.98.1. +8. The legacy `pkgs/id/default.nix` ignores the pin. Either route it through rust-overlay, or document that `nix-build` is not the supported path. +9. Commit the toolchain change on its own, with the version table in the body (task 12 acceptance). + +What would change the recommendation: a compile error from the 1.98 glob-import change or from the libsql C build; a crate with no declared MSRV that fails on 1.99.0; a Nix build log showing that the 1.98.1 nixpkgs rustc is the compiler; or a 1.99.x patch appearing before Phase 0 (that changes the version string, not the choice). + +## Not verified + +- No `cargo build`, clippy or test run of pkgs/id on 1.99.0. The counts in E6 come from grep and a probe crate, not from a clippy run on the product. +- No `nix build`, `nix develop` or lock update. The compiler the flake build actually uses, and whether 1.99.0 binaries are cached, are inferred from eval only. +- MSRV for 202 pkgs/id and 156 spikes registry crates with no declared rust_version, including dcbor, libsql, distributed-topic-tracker and turso. Only a compile on 1.99.0 can check them. +- Whether the 1.99 `semicolon_in_expressions_from_non_local_macros` warning or the 1.98 glob-import hard error hits our code. Only the grep counts are known. +- Freshness: the stable manifest came through a cache with age about 14.8 h, so the patch probes could miss a release from the last few hours. Re-check before Phase 0. +- Whether a newer nixpkgs revision provides rustc 1.99.0. The task 12 doc says the local store has one, but no locked revision does. +- The NIX_PATH nixpkgs on this host, which `default.nix` uses, is unknown. +- rust-analyzer and llvm-tools availability is confirmed from the manifest, not from an install. Only clippy and rustfmt were installed. +- The spikes lock has a source-less `p2panda-encryption 0.7.1` entry next to the git one. Not examined. +- Clippy's use of `clippy.toml` msrv is inferred from clippy's config semantics. Not run. + +## Files + +- `RESULTS.md` (this file). +- `scripts/`: python3 -I and nix eval scripts (`manifest_summary.py`, `component_check.py`, `lock_packages.py`, `msrv_crates_io.py`, `msrv_report.py`, `rust_overlay_probe.nix`, `rust_toolchain_probe.nix`, `pkgid_native_inputs.nix`, `root_native_inputs.nix`). +- `data/`: parsed locks, crates.io results, and release-note extracts. +- `logs/`: rustup install, nix evals, clippy and rustfmt runs. +- `dl/`: downloaded manifests and release files, each in its own directory. +- `copy/` and `copy-root/`: git-archive copies of HEAD. Nothing was written back to the repo. +- `trivial/`: the `hello` and `lintprobe` crates. Their `target/` dirs are inside this folder. diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/dl/p2panda-p2panda-auth/Cargo.toml b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/dl/p2panda-p2panda-auth/Cargo.toml new file mode 100644 index 0000000000..0957b7faa4 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/dl/p2panda-p2panda-auth/Cargo.toml @@ -0,0 +1,51 @@ +[package] +name = "p2panda-auth" +version = "0.7.1" +edition = "2024" +authors = [ + "adz ", + "sandreae ", + "glyph ", +] +description = "Decentralised group management with fine-grained, per-member permissions" +repository = "https://github.com/p2panda/p2panda" +license = "MIT OR Apache-2.0" +readme = "README.md" +keywords = ["auth", "access-control", "groups", "crdt", "offline-first"] +rust-version = "1.96" + +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + +[lints] +workspace = true + +[features] +default = [] +test_utils = [ + "dep:rand", + "dep:tokio", + "dep:tracing-subscriber", + "serde", + "p2panda-core/test_utils" +] +serde = [ + "dep:serde", +] +test = [ + "test_utils", +] + +[dependencies] +p2panda-core = { workspace = true, default-features = true } +petgraph = { version = "0.8.3", features = ["serde-1"] } +rand = { workspace = true, optional = true } +serde = { workspace = true, features = ["derive"], optional = true } +thiserror = { workspace = true } +tokio = { workspace = true, default-features = true, features = ["sync", "signal"], optional = true } +tracing = { workspace = true } +tracing-subscriber = { workspace = true, features = ["env-filter"], optional = true } + +[dev-dependencies] +p2panda-auth = { path = ".", features = ["test_utils"] } diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/dl/p2panda-p2panda-core/Cargo.toml b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/dl/p2panda-p2panda-core/Cargo.toml new file mode 100644 index 0000000000..485b37edef --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/dl/p2panda-p2panda-core/Cargo.toml @@ -0,0 +1,50 @@ +[package] +name = "p2panda-core" +version = "0.7.1" +edition = "2024" +authors = [ + "adz ", + "sandreae ", + "glyph ", +] +description = "Extensible data-types for secure, distributed and efficient exchange of data" +repository = "https://github.com/p2panda/p2panda" +license = "MIT OR Apache-2.0" +readme = "README.md" +keywords = ["p2p", "data-types", "blake3", "cbor", "ed25519"] +rust-version = "1.96" + +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + +[lints] +workspace = true + +[features] +default = [] +arbitrary = [ + "dep:arbitrary", + "test_utils", +] +test_utils = [ + "dep:mock_instant", + "dep:tracing-subscriber", +] + +[dependencies] +arbitrary = { version = "1.4.2", optional = true, features = ["derive"] } +blake3 = { workspace = true } +cbor-core = { version = "0.10.1", features = ["serde"] } +ed25519-dalek = { version = "2.2.0", features = ["rand_core"] } +hex = { workspace = true, features = ["serde"] } +mock_instant = { workspace = true, optional = true } +rand = "0.8.5" +serde = { workspace = true, features = ["derive"] } +serde_bytes = { workspace = true } +thiserror = { workspace = true } +tracing-subscriber = { workspace = true, features = ["env-filter"], optional = true } + +[dev-dependencies] +p2panda-core = { path = ".", features = ["test_utils"] } +serde_json = "1.0.150" diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/dl/p2panda-p2panda-encryption/Cargo.toml b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/dl/p2panda-p2panda-encryption/Cargo.toml new file mode 100644 index 0000000000..a83e8972cb --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/dl/p2panda-p2panda-encryption/Cargo.toml @@ -0,0 +1,49 @@ +[package] +name = "p2panda-encryption" +version = "0.7.1" +edition = "2024" +authors = [ + "adz ", + "sandreae ", + "glyph ", +] +description = "Decentralised data- and message encryption for groups with post-compromise security and optional forward secrecy" +repository = "https://github.com/p2panda/p2panda" +license = "MIT OR Apache-2.0" +readme = "README.md" +keywords = ["p2p", "encryption", "groups", "double-ratchet"] +rust-version = "1.96" + +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + +[lints] +workspace = true + +[features] +default = ["data_scheme"] +data_scheme = [] +message_scheme = [] +test_utils = [ + "data_scheme", + "message_scheme", +] + +[dependencies] +chacha20poly1305 = { version = "0.10.1", features = ["alloc"], default-features = false } +curve25519-dalek = "4.1.3" +hex = { workspace = true } +hkdf = "0.12.4" +hpke-rs = "0.7.0" +hpke-rs-crypto = "0.7.0" +hpke-rs-rust-crypto = "0.7.0" +p2panda-core = { workspace = true } +rand_chacha = { version = "0.9.0", features = ["os_rng"] } +serde = { workspace = true, features = ["derive"] } +serde_bytes = { workspace = true } +sha2 = "0.10.8" +subtle = "2.6.1" +thiserror = { workspace = true } +x25519-dalek = { version = "2.0.1", features = ["static_secrets"] } +zeroize = { version = "1.8.1", features = ["derive"] } diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/dl/p2panda-p2panda-store/Cargo.toml b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/dl/p2panda-p2panda-store/Cargo.toml new file mode 100644 index 0000000000..e4c86f1dee --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/dl/p2panda-p2panda-store/Cargo.toml @@ -0,0 +1,77 @@ +[package] +name = "p2panda-store" +version = "0.7.1" +edition = "2024" +authors = [ + "adz ", + "sandreae ", + "glyph ", +] +description = "Database traits and SQLite implementations for p2panda" +repository = "https://github.com/p2panda/p2panda" +license = "MIT OR Apache-2.0" +readme = "README.md" +keywords = ["local-first", "p2p", "database", "sqlite", "transactions"] +rust-version = "1.96" + +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + +[lints] +workspace = true + +[features] +default = [ + "sqlite", + "macros", +] +sqlite = [ + "dep:serde", + "dep:sqlx", + "dep:thiserror", + "dep:tokio", +] +encryption = [ + "dep:p2panda-encryption", + "sqlite", +] +groups = [ + "dep:p2panda-auth", + "sqlite", +] +spaces = [ + "sqlite", + "groups", + "encryption", +] +processor = [ + "sqlite" +] +macros = [] +test_utils = [ + "dep:rand", + "dep:rand_chacha", + "sqlite", + "p2panda-encryption/test_utils", +] + +[dependencies] +async-stream = "0.3.6" +futures-util = { workspace = true, features = ["alloc"]} +p2panda-auth = { workspace = true, default-features = false, features = ["serde"], optional = true } +p2panda-core = { workspace = true } +p2panda-encryption = { workspace = true, default-features = true, optional = true } +rand = { workspace = true, optional = true } +rand_chacha = { workspace = true, optional = true } +serde = { workspace = true, optional = true } +sqlx = { version = "0.9.0", features = ["runtime-tokio", "sqlite"], optional = true } +thiserror = { workspace = true, optional = true } +tokio = { workspace = true, default-features = true, features = ["sync"], optional = true } + +[dev-dependencies] +cbor-core = { version = "0.10.1", features = ["serde"] } +futures-test = { workspace = true } +p2panda-core = { workspace = true, features = ["test_utils"] } +p2panda-store = { path = ".", features = ["test_utils"] } +tokio = { workspace = true, default-features = true, features = ["rt", "macros"] } diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/dl/p2panda-p2panda-stream/Cargo.toml b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/dl/p2panda-p2panda-stream/Cargo.toml new file mode 100644 index 0000000000..092581234e --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/dl/p2panda-p2panda-stream/Cargo.toml @@ -0,0 +1,76 @@ +[package] +name = "p2panda-stream" +version = "0.7.1" +edition = "2024" +authors = [ + "adz ", + "sandreae ", + "glyph ", +] +description = "Event stream processing for p2p data-types" +repository = "https://github.com/p2panda/p2panda" +license = "MIT OR Apache-2.0" +readme = "README.md" +keywords = ["eventsourcing", "processing", "p2p", "local-first", "stream"] +rust-version = "1.96" + +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + +[lints] +workspace = true + +[features] +default = [ + "groups", + "ingest", + "log_prune", + "orderer", + "spaces", + "hooks", +] +groups = [ + "p2panda-auth/serde", + "p2panda-store/groups", + "p2panda-spaces", + "dep:serde", +] +ingest = [ + "dep:indexmap", +] +log_prune = [] +orderer = [ + "p2panda-store/processor", + "dep:serde", +] +spaces = [ + "p2panda-auth", + "p2panda-spaces", + "p2panda-store/spaces", + "dep:serde", +] +hooks = [] + +[dependencies] +futures-util = { workspace = true } +indexmap = { version = "2.14.2", optional = true } +p2panda-auth = { workspace = true, optional = true } +p2panda-core = { workspace = true, default-features = true } +p2panda-spaces = { workspace = true, default-features = true, optional = true } +p2panda-store = { workspace = true, default-features = true } +pin-project = { workspace = true } +serde = { workspace = true, features = ["derive"], optional = true } +thiserror = { workspace = true } +tokio = { workspace = true, default-features = false, features = ["rt", "sync", "macros"] } +tracing = { workspace = true } + +[dev-dependencies] +futures-test = { workspace = true, features = ["std"] } +futures-util = { workspace = true, features = ["alloc"] } +p2panda-auth = { workspace = true, default-features = true, features = ["test_utils"] } +p2panda-core = { workspace = true, default-features = true, features = ["test_utils"] } +p2panda-store = { workspace = true, default-features = true, features = ["test_utils"] } +serde = { workspace = true } +tokio = { workspace = true, default-features = true, features = ["macros", "rt", "sync", "time"] } +tokio-stream = { workspace = true } diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/dl/p2panda-p2panda-sync/Cargo.toml b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/dl/p2panda-p2panda-sync/Cargo.toml new file mode 100644 index 0000000000..4f22545fe7 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/dl/p2panda-p2panda-sync/Cargo.toml @@ -0,0 +1,54 @@ +[package] +name = "p2panda-sync" +version = "0.7.1" +edition = "2024" +authors = [ + "adz ", + "sandreae ", + "glyph ", +] +description = "Local-first sync for append-only logs and traits to build your own" +repository = "https://github.com/p2panda/p2panda" +license = "MIT OR Apache-2.0" +readme = "README.md" +keywords = ["p2p", "local-first", "sync", "replication"] +rust-version = "1.96" + +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + +[lints] +workspace = true + +[features] +default = [] +ingest = [ + "dep:p2panda-stream", +] +test_utils = [ + "dep:rand", + "dep:tracing-subscriber", + "p2panda-core/test_utils", + "p2panda-store/test_utils", +] + +[dependencies] +futures-channel = { workspace = true } +futures-util = { workspace = true, default-features = true, features = ["sink"] } +p2panda-core = { workspace = true, default-features = true } +p2panda-store = { workspace = true, default-features = true } +p2panda-stream = { workspace = true, optional = true, default-features = false, features = ["ingest"] } +pin-project-lite = "0.2.16" +rand = { workspace = true, optional = true } +serde = { workspace = true } +thiserror = { workspace = true } +tokio = { workspace = true, default-features = true, features = ["macros", "sync"] } +tokio-stream = { workspace = true, features = ["sync"] } +tracing = { workspace = true } +tracing-subscriber = { workspace = true, features = ["env-filter"], optional = true } + +[dev-dependencies] +p2panda-sync = { path = ".", features = ["test_utils", "ingest"] } +test-log = { workspace = true } +tokio = { workspace = true, default-features = true, features = ["time", "rt", "macros", "sync"] } diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/dl/p2panda-root-Cargo.toml b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/dl/p2panda-root-Cargo.toml new file mode 100644 index 0000000000..e99ed23f71 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/dl/p2panda-root-Cargo.toml @@ -0,0 +1,53 @@ +[workspace] +resolver = "2" +members = [ + "fuzz", + "p2panda", + "p2panda-auth", + "p2panda-blobs", + "p2panda-core", + "p2panda-discovery", + "p2panda-encryption", + "p2panda-net", + "p2panda-spaces", + "p2panda-store", + "p2panda-stream", + "p2panda-sync", +] + +[workspace.lints.clippy] +unused_async = "warn" +needless_pass_by_ref_mut = "warn" + +[workspace.dependencies] +blake3 = { version = "1.8.5" } +futures-channel = { version = "0.3.32" } +futures-test = { version = "0.3.32" } +futures-util = { version = "0.3.32", default-features = false } +hex = { version = "0.4.3" } +mock_instant = { version = "0.6.1" } +pin-project = { version = "1.1.13" } +rand = { version = "0.10.1" } +rand_chacha = { version = "0.10.0" } +serde = { version = "1.0.228" } +serde_bytes = { version = "0.11.19" } +static_assertions = { version = "1.1.0" } +test-log = { version = "0.2.21" } +thiserror = { version = "2.0.18" } +tokio = { version = "1.52.3", default-features = false } +tokio-stream = { version = "0.1.18", default-features = false } +tokio-util = { version = "0.7.18" } +tracing = { version = "0.1.44" } +tracing-subscriber = { version = "0.3.23" } + +# p2panda workspace +p2panda = { path = "p2panda", version = "0.7.1", default-features = false } +p2panda-auth = { path = "p2panda-auth", version = "0.7.1", default-features = false } +p2panda-core = { path = "p2panda-core", version = "0.7.1", default-features = false } +p2panda-discovery = { path = "p2panda-discovery", version = "0.7.1", default-features = false } +p2panda-encryption = { path = "p2panda-encryption", version = "0.7.1", default-features = false } +p2panda-net = { path = "p2panda-net", version = "0.7.1", default-features = false } +p2panda-spaces = { path = "p2panda-spaces", version = "0.7.1", default-features = false } +p2panda-store = { path = "p2panda-store", version = "0.7.1", default-features = false } +p2panda-stream = { path = "p2panda-stream", version = "0.7.1", default-features = false } +p2panda-sync = { path = "p2panda-sync", version = "0.7.1", default-features = false } diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/dl/stable.headers b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/dl/stable.headers new file mode 100644 index 0000000000..86d057d254 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/dl/stable.headers @@ -0,0 +1,20 @@ +HTTP/2 200 +x-amz-request-id: 23TT9SN0AKQWS2K9 +x-amz-id-2: oYpC9CTv8hMmMhiYDqCnpZQ6Z/+0uggv7z+eQcDV6lFmuuGvvk5uRHJl7hPSzJgKcmQBpQi8eWu7fJMrP/AnTCDQE8A9k5Qd +server: AmazonS3 +last-modified: Thu, 01 Oct 2026 12:38:04 GMT +etag: "18dc3a99a3d0787cc0b07ae732d4ae5d" +x-amz-version-id: GSIA.PouOGEWnLaH.AOP5fY9xUfu56TF +content-type: binary/octet-stream +x-amz-server-side-encryption: AES256 +x-amz-storage-class: INTELLIGENT_TIERING +accept-ranges: bytes +date: Sun, 11 Oct 2026 16:06:14 GMT +via: 1.1 varnish +age: 53507 +x-served-by: cache-chi-klot8100091-CHI +x-cache: HIT +x-cache-hits: 8 +x-timer: S1791734775.784902,VS0,VE0 +content-length: 943486 + diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/eval-pkgsid-offline.err b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/eval-pkgsid-offline.err new file mode 100644 index 0000000000..e69de29bb2 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/eval-pkgsid-offline.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/eval-pkgsid-offline.txt new file mode 100644 index 0000000000..b866971c35 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/eval-pkgsid-offline.txt @@ -0,0 +1,7 @@ +rust-overlay=b962e5d0c8cd97196c6a882d659fe451b52ad989 +nixpkgs=afe869b7192c6caa674e74227031eaa232a062a7 +rust-bin.stable.latest=1.99.0 +rust-bin.stable.1.99.0=present +rust-bin.stable.1.97.0=present +nixpkgs.rustc=1.98.1 +nixpkgs.cargo=1.98.1 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/eval-root-id-offline.err b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/eval-root-id-offline.err new file mode 100644 index 0000000000..e69de29bb2 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/eval-root-id-offline.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/eval-root-id-offline.txt new file mode 100644 index 0000000000..155618c4e1 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/eval-root-id-offline.txt @@ -0,0 +1,7 @@ +rust-overlay=4ca2963243427cb86bd6b4d9ca6010db0162a619 +nixpkgs=cfdb2236cff2a6adaace5a4ef37ea73152d710e9 +rust-bin.stable.latest=1.99.0 +rust-bin.stable.1.99.0=present +rust-bin.stable.1.97.0=present +nixpkgs.rustc=1.98.1 +nixpkgs.cargo=1.98.1 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/lintprobe-1.97.0.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/lintprobe-1.97.0.txt new file mode 100644 index 0000000000..8e0455c8bf --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/lintprobe-1.97.0.txt @@ -0,0 +1,146 @@ +warning: docs for function which may panic missing `# Panics` section + --> src/lib.rs:2:1 + | +2 | pub fn assert_empty(v: &Vec) { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | +note: first possible panic found here + --> src/lib.rs:3:5 + | +3 | assert!(v.is_empty()); + | ^^^^^^^^^^^^^^^^^^^^^ + = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#missing_panics_doc + = note: `-W clippy::missing-panics-doc` implied by `-W clippy::pedantic` + = help: to override `-W clippy::pedantic` add `#[allow(clippy::missing_panics_doc)]` + +warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do + --> src/lib.rs:2:24 + | +2 | pub fn assert_empty(v: &Vec) { + | ^^^^^^^^ + | + = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#ptr_arg + = note: `-W clippy::ptr-arg` implied by `-W clippy::all` + = help: to override `-W clippy::all` add `#[allow(clippy::ptr_arg)]` +help: change this to + | +2 - pub fn assert_empty(v: &Vec) { +2 + pub fn assert_empty(v: &[u8]) { + | + +warning: this function could have a `#[must_use]` attribute + --> src/lib.rs:5:8 + | +5 | pub fn zero_capacity() -> Vec { + | ^^^^^^^^^^^^^ + | + = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#must_use_candidate + = note: `-W clippy::must-use-candidate` implied by `-W clippy::pedantic` + = help: to override `-W clippy::pedantic` add `#[allow(clippy::must_use_candidate)]` +help: add the attribute + | +5 + #[must_use] +6 | pub fn zero_capacity() -> Vec { + | + +warning: this function could have a `#[must_use]` attribute + --> src/lib.rs:8:8 + | +8 | pub fn chunked(xs: &[u8]) -> usize { + | ^^^^^^^ + | + = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#must_use_candidate +help: add the attribute + | +8 + #[must_use] +9 | pub fn chunked(xs: &[u8]) -> usize { + | + +warning: this function could have a `#[must_use]` attribute + --> src/lib.rs:11:8 + | +11 | pub fn bit_width() -> u32 { + | ^^^^^^^^^ + | + = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#must_use_candidate +help: add the attribute + | +11 + #[must_use] +12 | pub fn bit_width() -> u32 { + | + +warning: this could be a `const fn` + --> src/lib.rs:11:1 + | +11 | / pub fn bit_width() -> u32 { +12 | | (std::mem::size_of::() * 8) as u32 +13 | | } + | |_^ + | + = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#missing_const_for_fn + = note: `-W clippy::missing-const-for-fn` implied by `-W clippy::nursery` + = help: to override `-W clippy::nursery` add `#[allow(clippy::missing_const_for_fn)]` +help: make the function `const` + | +11 | pub const fn bit_width() -> u32 { + | +++++ + +warning: casting `usize` to `u32` may truncate the value on targets with 64-bit wide pointers + --> src/lib.rs:12:5 + | +12 | (std::mem::size_of::() * 8) as u32 + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | + = help: if this is intentional allow the lint with `#[allow(clippy::cast_possible_truncation)]` ... + = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#cast_possible_truncation + = note: `-W clippy::cast-possible-truncation` implied by `-W clippy::pedantic` + = help: to override `-W clippy::pedantic` add `#[allow(clippy::cast_possible_truncation)]` +help: ... or use `try_from` and handle the error accordingly + | +12 - (std::mem::size_of::() * 8) as u32 +12 + u32::try_from(std::mem::size_of::() * 8) + | + +warning: this function could have a `#[must_use]` attribute + --> src/lib.rs:14:8 + | +14 | pub fn unbounded(mut n: u32) -> u32 { + | ^^^^^^^^^ + | + = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#must_use_candidate +help: add the attribute + | +14 + #[must_use] +15 | pub fn unbounded(mut n: u32) -> u32 { + | + +warning: this function could have a `#[must_use]` attribute + --> src/lib.rs:23:8 + | +23 | pub fn unchecked(o: Option) -> u8 { + | ^^^^^^^^^ + | + = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#must_use_candidate +help: add the attribute + | +23 + #[must_use] +24 | pub fn unchecked(o: Option) -> u8 { + | + +warning: this could be a `const fn` + --> src/lib.rs:23:1 + | +23 | / pub fn unchecked(o: Option) -> u8 { +24 | | if o.is_some() { +25 | | unsafe { o.unwrap_unchecked() } +26 | | } else { +... | +29 | | } + | |_^ + | + = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.97.0/index.html#missing_const_for_fn +help: make the function `const` + | +23 | pub const fn unchecked(o: Option) -> u8 { + | +++++ + diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/lintprobe-1.99.0.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/lintprobe-1.99.0.txt new file mode 100644 index 0000000000..7d146b127e --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/lintprobe-1.99.0.txt @@ -0,0 +1,204 @@ +warning: docs for function which may panic missing `# Panics` section + --> src/lib.rs:2:1 + | +2 | pub fn assert_empty(v: &Vec) { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | +note: first possible panic found here + --> src/lib.rs:3:5 + | +3 | assert!(v.is_empty()); + | ^^^^^^^^^^^^^^^^^^^^^ + = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.99.0/index.html#missing_panics_doc + = note: `-W clippy::missing-panics-doc` implied by `-W clippy::pedantic` + = help: to override `-W clippy::pedantic` add `#[allow(clippy::missing_panics_doc)]` + +warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do + --> src/lib.rs:2:24 + | +2 | pub fn assert_empty(v: &Vec) { + | ^^^^^^^^ + | + = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.99.0/index.html#ptr_arg + = note: `-W clippy::ptr-arg` implied by `-W clippy::all` + = help: to override `-W clippy::all` add `#[allow(clippy::ptr_arg)]` +help: change this to + | +2 - pub fn assert_empty(v: &Vec) { +2 + pub fn assert_empty(v: &[u8]) { + | + +warning: used `assert!` to check that a value is empty + --> src/lib.rs:3:5 + | +3 | assert!(v.is_empty()); + | ^^^^^^^^^^^^^^^^^^^^^ + | + = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.99.0/index.html#assert_is_empty + = note: `-W clippy::assert-is-empty` implied by `-W clippy::pedantic` + = help: to override `-W clippy::pedantic` add `#[allow(clippy::assert_is_empty)]` +help: use `assert_eq!` to show the value on failure + | +3 - assert!(v.is_empty()); +3 + assert_eq!(v.as_slice(), []); + | + +warning: this function could have a `#[must_use]` attribute + --> src/lib.rs:5:8 + | +5 | pub fn zero_capacity() -> Vec { + | ^^^^^^^^^^^^^ + | + = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.99.0/index.html#must_use_candidate + = note: `-W clippy::must-use-candidate` implied by `-W clippy::pedantic` + = help: to override `-W clippy::pedantic` add `#[allow(clippy::must_use_candidate)]` +help: add the attribute + | +5 + #[must_use] +6 | pub fn zero_capacity() -> Vec { + | + +warning: calling `with_capacity(0)` is equivalent to `new()` + --> src/lib.rs:6:5 + | +6 | Vec::with_capacity(0) + | ^^^^^^^^^^^^^^^^^^^^^ + | + = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.99.0/index.html#with_capacity_zero + = note: `-W clippy::with-capacity-zero` implied by `-W clippy::pedantic` + = help: to override `-W clippy::pedantic` add `#[allow(clippy::with_capacity_zero)]` +help: use `new()` instead + | +6 - Vec::with_capacity(0) +6 + Vec::new() + | + +warning: this function could have a `#[must_use]` attribute + --> src/lib.rs:8:8 + | +8 | pub fn chunked(xs: &[u8]) -> usize { + | ^^^^^^^ + | + = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.99.0/index.html#must_use_candidate +help: add the attribute + | +8 + #[must_use] +9 | pub fn chunked(xs: &[u8]) -> usize { + | + +warning: using `chunks_exact` with a constant chunk size + --> src/lib.rs:9:8 + | +9 | xs.chunks_exact(4).count() + | ^^^^^^^^^^^^^^^ help: consider using `as_chunks` instead: `as_chunks::<4>().0.iter()` + | + = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.99.0/index.html#chunks_exact_to_as_chunks + = note: `-W clippy::chunks-exact-to-as-chunks` implied by `-W clippy::all` + = help: to override `-W clippy::all` add `#[allow(clippy::chunks_exact_to_as_chunks)]` + +warning: this function could have a `#[must_use]` attribute + --> src/lib.rs:11:8 + | +11 | pub fn bit_width() -> u32 { + | ^^^^^^^^^ + | + = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.99.0/index.html#must_use_candidate +help: add the attribute + | +11 + #[must_use] +12 | pub fn bit_width() -> u32 { + | + +warning: this could be a `const fn` + --> src/lib.rs:11:1 + | +11 | / pub fn bit_width() -> u32 { +12 | | (std::mem::size_of::() * 8) as u32 +13 | | } + | |_^ + | + = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.99.0/index.html#missing_const_for_fn + = note: `-W clippy::missing-const-for-fn` implied by `-W clippy::nursery` + = help: to override `-W clippy::nursery` add `#[allow(clippy::missing_const_for_fn)]` +help: make the function `const` + | +11 | pub const fn bit_width() -> u32 { + | +++++ + +warning: casting `usize` to `u32` may truncate the value on targets with 64-bit wide pointers + --> src/lib.rs:12:5 + | +12 | (std::mem::size_of::() * 8) as u32 + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | + = help: if this is intentional allow the lint with `#[allow(clippy::cast_possible_truncation)]` ... + = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.99.0/index.html#cast_possible_truncation + = note: `-W clippy::cast-possible-truncation` implied by `-W clippy::pedantic` + = help: to override `-W clippy::pedantic` add `#[allow(clippy::cast_possible_truncation)]` +help: ... or use `try_from` and handle the error accordingly + | +12 - (std::mem::size_of::() * 8) as u32 +12 + u32::try_from(std::mem::size_of::() * 8) + | + +warning: this function could have a `#[must_use]` attribute + --> src/lib.rs:14:8 + | +14 | pub fn unbounded(mut n: u32) -> u32 { + | ^^^^^^^^^ + | + = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.99.0/index.html#must_use_candidate +help: add the attribute + | +14 + #[must_use] +15 | pub fn unbounded(mut n: u32) -> u32 { + | + +warning: this function could have a `#[must_use]` attribute + --> src/lib.rs:23:8 + | +23 | pub fn unchecked(o: Option) -> u8 { + | ^^^^^^^^^ + | + = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.99.0/index.html#must_use_candidate +help: add the attribute + | +23 + #[must_use] +24 | pub fn unchecked(o: Option) -> u8 { + | + +warning: this could be a `const fn` + --> src/lib.rs:23:1 + | +23 | / pub fn unchecked(o: Option) -> u8 { +24 | | if o.is_some() { +25 | | unsafe { o.unwrap_unchecked() } +26 | | } else { +... | +29 | | } + | |_^ + | + = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.99.0/index.html#missing_const_for_fn +help: make the function `const` + | +23 | pub const fn unchecked(o: Option) -> u8 { + | +++++ + +warning: unused `async` for async trait impl function with no `.await` statements + --> src/lib.rs:35:5 + | +35 | / async fn run(&self) -> u8 { +36 | | 1 +37 | | } + | |_____^ + | + = note: `std::future::ready` creates a `Future` which returns the value immediately when `poll`ed + = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.99.0/index.html#unused_async_trait_impl + = note: `-W clippy::unused-async-trait-impl` implied by `-W clippy::pedantic` + = help: to override `-W clippy::pedantic` add `#[allow(clippy::unused_async_trait_impl)]` +help: consider removing the `async` from this function and returning `impl Future` instead + | +35 ~ fn run(&self) -> impl Future { +36 ~ std::future::ready(1) + | + diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/msrv-crates-io.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/msrv-crates-io.log new file mode 100644 index 0000000000..81bd17584a --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/msrv-crates-io.log @@ -0,0 +1,9 @@ +progress 100/834 +progress 200/834 +progress 300/834 +progress 400/834 +progress 500/834 +progress 600/834 +progress 700/834 +progress 800/834 +done 834 pairs -> /home/user/work/research-round2/toolchain/data/msrv-crates-io.json diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/np-afe869b7192c6caa674e74227031eaa232a062a7.err b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/np-afe869b7192c6caa674e74227031eaa232a062a7.err new file mode 100644 index 0000000000..e69de29bb2 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/np-cfdb2236cff2a6adaace5a4ef37ea73152d710e9.err b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/np-cfdb2236cff2a6adaace5a4ef37ea73152d710e9.err new file mode 100644 index 0000000000..e69de29bb2 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/pkgid-nbi.err b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/pkgid-nbi.err new file mode 100644 index 0000000000..dd553cfc02 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/pkgid-nbi.err @@ -0,0 +1 @@ +warning: input 'bun2nix' has an override for a non-existent input 'import-tree' diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/pkgid-nbi.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/pkgid-nbi.txt new file mode 100644 index 0000000000..7e72daeb13 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/pkgid-nbi.txt @@ -0,0 +1,4 @@ +packages=default,id-lib,id-web +default.nativeBuildInputs=[pkg-config-wrapper-0.29.2, cmake-4.4.3, rust-default-1.97.0, bun-1.4.2, bun2nix-hook, auditable-cargo-1.98.1, cargo-build-hook.sh, cargo-check-hook.sh, cargo-install-hook.sh, cargo-setup-hook.sh, rustc-wrapper-1.98.1, cargo-1.98.1] +id-lib.nativeBuildInputs=[pkg-config-wrapper-0.29.2, cmake-4.4.3, rust-default-1.97.0, auditable-cargo-1.98.1, cargo-build-hook.sh, cargo-check-hook.sh, cargo-install-hook.sh, cargo-setup-hook.sh, rustc-wrapper-1.98.1, cargo-1.98.1] +id-web.nativeBuildInputs=[pkg-config-wrapper-0.29.2, cmake-4.4.3, rust-default-1.97.0, bun-1.4.2, bun2nix-hook, auditable-cargo-1.98.1, cargo-build-hook.sh, cargo-check-hook.sh, cargo-install-hook.sh, cargo-setup-hook.sh, rustc-wrapper-1.98.1, cargo-1.98.1] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/root-nbi.err b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/root-nbi.err new file mode 100644 index 0000000000..bb3b196516 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/root-nbi.err @@ -0,0 +1,7 @@ +warning: input 'git-hooks' has an override for a non-existent input 'gitignore' +warning: input 'id-bun2nix' has an override for a non-existent input 'import-tree' +warning: input 'nix-topology' has an override for a non-existent input 'devshell' +warning: input 'nix-topology' has an override for a non-existent input 'flake-utils' +warning: input 'nix-topology' has an override for a non-existent input 'pre-commit-hooks' +warning: input 'pre-commit-hooks' has an override for a non-existent input 'gitignore' +warning: input 'zig-overlay' has an override for a non-existent input 'flake-utils' diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/root-nbi.exit b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/root-nbi.exit new file mode 100644 index 0000000000..9200c2a7b2 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/root-nbi.exit @@ -0,0 +1 @@ +exit=0 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/root-nbi.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/root-nbi.txt new file mode 100644 index 0000000000..74d1e215d2 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/root-nbi.txt @@ -0,0 +1,3 @@ +root packages with id in name=id-lib,id-web,idMailDeploy +id-lib.nativeBuildInputs=[pkg-config-wrapper-0.29.2, cmake-4.4.3, rust-default-1.97.0, auditable-cargo-1.98.1, cargo-build-hook.sh, cargo-check-hook.sh, cargo-install-hook.sh, cargo-setup-hook.sh, rustc-wrapper-1.98.1, cargo-1.98.1] +id-web.nativeBuildInputs=[pkg-config-wrapper-0.29.2, cmake-4.4.3, rust-default-1.97.0, bun-1.4.2, bun2nix-hook, auditable-cargo-1.98.1, cargo-build-hook.sh, cargo-check-hook.sh, cargo-install-hook.sh, cargo-setup-hook.sh, rustc-wrapper-1.98.1, cargo-1.98.1] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/rustfmt-1.97.0.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/rustfmt-1.97.0.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/rustfmt-1.99.0.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/rustfmt-1.99.0.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/rustfmt-diff-files.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/rustfmt-diff-files.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/rustup-install-1.99.0.log b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/rustup-install-1.99.0.log new file mode 100644 index 0000000000..3bf555e2c3 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/rustup-install-1.99.0.log @@ -0,0 +1,9 @@ +info: syncing channel updates for 1.99.0-x86_64-unknown-linux-gnu +info: latest update on 2026-10-01 for version 1.99.0 (b940084d7 2026-09-28) +info: downloading 5 components + + 1.99.0-x86_64-unknown-linux-gnu installed - rustc 1.99.0 (b940084d7 2026-09-28) + +info: default toolchain set to 1.99.0-x86_64-unknown-linux-gnu +info: self-update is disabled for this build of rustup +info: any updates to rustup will need to be fetched with your system package manager diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/tc-probe-pkgsid.err b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/tc-probe-pkgsid.err new file mode 100644 index 0000000000..e69de29bb2 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/tc-probe-pkgsid.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/tc-probe-pkgsid.txt new file mode 100644 index 0000000000..788bbbc5a3 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/tc-probe-pkgsid.txt @@ -0,0 +1,4 @@ +rust-overlay=b962e5d0c8cd97196c6a882d659fe451b52ad989 nixpkgs=afe869b7192c6caa674e74227031eaa232a062a7 +rust-bin 1.99.0 default(+repo components).version=1.99.0 +nixpkgs.rustPlatform.rust.rustc.version=1.98.1 +nixpkgs.rustPlatform.rust.cargo.version=1.98.1 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/tc-probe-root-id.err b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/tc-probe-root-id.err new file mode 100644 index 0000000000..e69de29bb2 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/tc-probe-root-id.txt b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/tc-probe-root-id.txt new file mode 100644 index 0000000000..226b7918da --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/logs/tc-probe-root-id.txt @@ -0,0 +1,4 @@ +rust-overlay=4ca2963243427cb86bd6b4d9ca6010db0162a619 nixpkgs=cfdb2236cff2a6adaace5a4ef37ea73152d710e9 +rust-bin 1.99.0 default(+repo components).version=1.99.0 +nixpkgs.rustPlatform.rust.rustc.version=1.98.1 +nixpkgs.rustPlatform.rust.cargo.version=1.98.1 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/scripts/component_check.py b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/scripts/component_check.py new file mode 100644 index 0000000000..4156a9950d --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/scripts/component_check.py @@ -0,0 +1,11 @@ +import sys +import tomllib + +# For a channel manifest path (argv[1]), print availability of the repo's components on x86_64-unknown-linux-gnu. +with open(sys.argv[1], "rb") as f: + m = tomllib.load(f) +pkgs = m.get("pkg", {}) +for name in ("rustfmt", "clippy-preview", "rust-analyzer", "llvm-tools-preview", "rustc", "cargo"): + p = pkgs.get(name, {}) + avail = p.get("target", {}).get("x86_64-unknown-linux-gnu", {}).get("available") + print(f"{name}: version={p.get('version')!r} x86_64-unknown-linux-gnu.available={avail}") diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/scripts/lock_packages.py b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/scripts/lock_packages.py new file mode 100644 index 0000000000..67f54f3811 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/scripts/lock_packages.py @@ -0,0 +1,23 @@ +import json +import sys +import tomllib + +# Read a Cargo.lock (TOML) given as the first argument; write its package list as JSON to the second argument. +lock_path, out_path = sys.argv[1], sys.argv[2] +with open(lock_path, "rb") as f: + lock = tomllib.load(f) +pkgs = [] +for p in lock.get("package", []): + src = p.get("source", "path+local") + pkgs.append({"name": p["name"], "version": p["version"], "source": src}) +with open(out_path, "w") as f: + json.dump(pkgs, f, indent=1) +registry = [p for p in pkgs if p["source"].startswith("registry+")] +git = [p for p in pkgs if p["source"].startswith("git+")] +print(f"lock={lock_path} lockfile-version={lock.get('version')} packages={len(pkgs)} registry={len(registry)} git={len(git)}") +KEY = ["iroh", "iroh-relay", "iroh-blobs", "iroh-tickets", "iroh-docs", "iroh-gossip", "redb", "cbor-core", "dcbor", "beekem", + "turso", "turso_core", "libsql", "ed25519-dalek", "p2panda-core", "p2panda-auth", "p2panda-encryption", + "p2panda-sync", "p2panda-store", "p2panda-stream", "tokio", "distributed-topic-tracker"] +for p in sorted(pkgs, key=lambda x: (x["name"], x["version"])): + if p["name"] in KEY: + print(f" {p['name']} {p['version']} {p['source'][:90]}") diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/scripts/manifest_summary.py b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/scripts/manifest_summary.py new file mode 100644 index 0000000000..10c0a28184 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/scripts/manifest_summary.py @@ -0,0 +1,20 @@ +import sys +import tomllib + +# Read a Rust channel manifest (TOML) given as a path argument and print the stable facts. +path = sys.argv[1] +with open(path, "rb") as f: + m = tomllib.load(f) +print("manifest-version:", m.get("manifest-version")) +print("date:", m.get("date")) +pkgs = m.get("pkg", {}) +for name in ("rustc", "cargo", "clippy-preview", "rustfmt-preview", "rust-std", "rust-src"): + p = pkgs.get(name) + if not p: + print(name, "MISSING") + continue + line = f"{name}: version={p.get('version')!r} git_commit_hash={p.get('git_commit_hash')!r}" + if name in ("rustc", "cargo"): + avail = p.get("target", {}).get("x86_64-unknown-linux-gnu", {}).get("available") + line += f" x86_64-unknown-linux-gnu.available={avail}" + print(line) diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/scripts/msrv_crates_io.py b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/scripts/msrv_crates_io.py new file mode 100644 index 0000000000..48740910ba --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/scripts/msrv_crates_io.py @@ -0,0 +1,45 @@ +import json +import sys +import time +import urllib.error +import urllib.request + +# Look up rust_version and yanked for each (name, version) pair in the lock JSON files, one request per second. +# Input: JSON lists written by lock_packages.py. Output: JSON list of results written to the path in argv[1]. +out_path = sys.argv[1] +in_paths = sys.argv[2:] +pairs = set() +for path in in_paths: + with open(path) as f: + for p in json.load(f): + if p["source"].startswith("registry+"): + pairs.add((p["name"], p["version"])) +results = [] +UA = "research-round2-toolchain-msrv-check (read-only metadata lookup)" +for name, version in sorted(pairs): + url = f"https://crates.io/api/v1/crates/{name}/{version}" + rec = {"name": name, "version": version, "rust_version": None, "yanked": None, "error": None} + for attempt in range(3): + try: + req = urllib.request.Request(url, headers={"User-Agent": UA}) + with urllib.request.urlopen(req, timeout=60) as resp: + body = json.load(resp) + rec["rust_version"] = body["version"].get("rust_version") + rec["yanked"] = body["version"].get("yanked") + break + except urllib.error.HTTPError as e: + rec["error"] = f"HTTP {e.code}" + if e.code == 429: + time.sleep(10) + continue + break + except Exception as e: # network or parse problem: record and move on + rec["error"] = f"{type(e).__name__}: {e}" + time.sleep(3) + results.append(rec) + time.sleep(1.0) + if len(results) % 100 == 0: + print(f"progress {len(results)}/{len(pairs)}", flush=True) +with open(out_path, "w") as f: + json.dump(results, f, indent=1) +print(f"done {len(results)} pairs -> {out_path}", flush=True) diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/scripts/msrv_report.py b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/scripts/msrv_report.py new file mode 100644 index 0000000000..5a7a0df674 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/scripts/msrv_report.py @@ -0,0 +1,49 @@ +import json +import sys +from functools import cmp_to_key + +# Summarise the crates.io rust_version lookups: key crates, the highest rust_version in the union of both locks, and gaps. +results_path = sys.argv[1] +with open(results_path) as f: + rows = json.load(f) + +def parse(v): + if not v: + return None + parts = v.split(".") + try: + return tuple(int(p) for p in parts + ["0"] * (3 - len(parts))) + except ValueError: + return None + +TARGET = (1, 99, 0) +by_key = {(r["name"], r["version"]): r for r in rows} +KEY = [ + ("iroh", "1.3.0"), ("iroh-relay", "1.3.0"), ("iroh-blobs", "0.103.1"), ("iroh-tickets", "1.0.0"), + ("iroh-docs", "0.101.0"), ("iroh-gossip", "0.101.0"), ("redb", "4.3.0"), ("redb", "3.1.3"), + ("cbor-core", "0.10.1"), ("dcbor", "0.25.2"), ("ed25519-dalek", "2.2.0"), ("ed25519-dalek", "3.0.0"), + ("libsql", "0.9.30"), ("tokio", "1.53.2"), ("distributed-topic-tracker", "0.3.5"), +] +print("KEY CRATES (crates.io rust_version, yanked):") +for name, ver in KEY: + r = by_key.get((name, ver)) + if r is None: + print(f" {name} {ver}: NOT IN SCAN") + else: + print(f" {name} {ver}: rust_version={r['rust_version']} yanked={r['yanked']} error={r['error']}") + +vals = [(parse(r["rust_version"]), r) for r in rows if parse(r["rust_version"]) is not None] +unspecified = [r for r in rows if r["rust_version"] is None and r["error"] is None] +errors = [r for r in rows if r["error"] is not None] +yanked = [r for r in rows if r["yanked"]] +print(f"\nSCAN: pairs={len(rows)} with_rust_version={len(vals)} unspecified={len(unspecified)} errors={len(errors)} yanked={len(yanked)}") +mx = max(vals, key=lambda t: t[0]) +print(f"HIGHEST rust_version in union: {mx[1]['name']} {mx[1]['version']} -> {mx[1]['rust_version']}") +above = [r for p, r in vals if p > TARGET] +print(f"crates needing > 1.99.0: {len(above)}") +for r in above: + print(f" {r['name']} {r['version']} needs {r['rust_version']}") +print("crates needing >= 1.96 (count):", sum(1 for p, _ in vals if p >= (1, 96, 0))) +print("yanked entries:", [f"{r['name']} {r['version']}" for r in yanked][:20]) +print("error entries (first 10):", [f"{r['name']} {r['version']}: {r['error']}" for r in errors][:10]) +print("unspecified rust_version (first 15):", [f"{r['name']} {r['version']}" for r in unspecified][:15]) diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/scripts/pkgid_native_inputs.nix b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/scripts/pkgid_native_inputs.nix new file mode 100644 index 0000000000..1be1e75dfd --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/scripts/pkgid_native_inputs.nix @@ -0,0 +1,13 @@ +# Read-only eval of the id package's nativeBuildInputs names from the copied pkgs/id flake (no instantiation, no build). +let + flake = builtins.getFlake (builtins.getEnv "PKGID_FLAKE"); + sys = "x86_64-linux"; + pk = flake.packages.${sys} or { }; + names = drv: map (d: if d ? name then d.name else "?") (drv.nativeBuildInputs or [ ]); +in +builtins.concatStringsSep "\n" ( + [ "packages=${builtins.concatStringsSep "," (builtins.attrNames pk)}" ] + ++ map (k: "${k}.nativeBuildInputs=[${builtins.concatStringsSep ", " (names pk.${k})}]") + (builtins.filter (k: builtins.elem k [ "id-lib" "id-web" "default" ]) (builtins.attrNames pk)) + ++ [ "" ] +) diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/scripts/root_native_inputs.nix b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/scripts/root_native_inputs.nix new file mode 100644 index 0000000000..80c713e821 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/scripts/root_native_inputs.nix @@ -0,0 +1,13 @@ +# Read-only eval of the root flake's id package nativeBuildInputs names, from a copy of the integrated repo (no build, no instantiation). +let + flake = builtins.getFlake (builtins.getEnv "ROOT_FLAKE"); + sys = "x86_64-linux"; + pk = flake.packages.${sys} or { }; + names = drv: map (d: if d ? name then d.name else "?") (drv.nativeBuildInputs or [ ]); + idNames = builtins.filter (k: builtins.match ".*id.*" k != null) (builtins.attrNames pk); +in +builtins.concatStringsSep "\n" ( + [ "root packages with id in name=${builtins.concatStringsSep "," idNames}" ] + ++ map (k: "${k}.nativeBuildInputs=[${builtins.concatStringsSep ", " (names pk.${k})}]") (builtins.filter (k: builtins.elem k [ "id-web" "id-lib" ]) idNames) + ++ [ "" ] +) diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/scripts/rust_overlay_probe.nix b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/scripts/rust_overlay_probe.nix new file mode 100644 index 0000000000..d85fe0d25f --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/scripts/rust_overlay_probe.nix @@ -0,0 +1,23 @@ +# Read-only probe: which Rust stable does a given rust-overlay rev provide, and what rustc does a given nixpkgs rev provide. +# Revisions come from the environment (OV_REV, NP_REV) so no repo file is touched. +let + ovRev = builtins.getEnv "OV_REV"; + npRev = builtins.getEnv "NP_REV"; + rustOverlay = builtins.getFlake "github:oxalica/rust-overlay/${ovRev}"; + nixpkgsFlake = builtins.getFlake "github:NixOS/nixpkgs/${npRev}"; + pkgs = import nixpkgsFlake.outPath { + system = "x86_64-linux"; + overlays = [ (import rustOverlay.outPath) ]; + }; + has = v: if pkgs.rust-bin.stable ? ${v} then "present" else "absent"; +in +builtins.concatStringsSep "\n" [ + "rust-overlay=${ovRev}" + "nixpkgs=${npRev}" + "rust-bin.stable.latest=${pkgs.rust-bin.stable.latest.rustc.version}" + "rust-bin.stable.1.99.0=${has "1.99.0"}" + "rust-bin.stable.1.97.0=${has "1.97.0"}" + "nixpkgs.rustc=${pkgs.rustc.version}" + "nixpkgs.cargo=${pkgs.cargo.version}" + "" +] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/scripts/rust_toolchain_probe.nix b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/scripts/rust_toolchain_probe.nix new file mode 100644 index 0000000000..dcf68fdaa9 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/scripts/rust_toolchain_probe.nix @@ -0,0 +1,20 @@ +# Read-only eval: does a rust-overlay rev build a 1.99.0 toolchain with the repo's components, and what rustc does nixpkgs' rustPlatform use? +let + ovRev = builtins.getEnv "OV_REV"; + npRev = builtins.getEnv "NP_REV"; + rustOverlay = builtins.getFlake "github:oxalica/rust-overlay/${ovRev}"; + nixpkgsFlake = builtins.getFlake "github:NixOS/nixpkgs/${npRev}"; + pkgs = import nixpkgsFlake.outPath { system = "x86_64-linux"; overlays = [ (import rustOverlay.outPath) ]; }; + tc = pkgs.rust-bin.fromRustupToolchain { + channel = "1.99.0"; + profile = "default"; + components = [ "rustfmt" "clippy" "rust-analyzer" "llvm-tools" ]; + }; +in +builtins.concatStringsSep "\n" [ + "rust-overlay=${ovRev} nixpkgs=${npRev}" + "rust-bin 1.99.0 default(+repo components).version=${tc.version}" + "nixpkgs.rustPlatform.rust.rustc.version=${pkgs.rustPlatform.rust.rustc.version}" + "nixpkgs.rustPlatform.rust.cargo.version=${pkgs.rustPlatform.rust.cargo.version}" + "" +] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/trivial/hello/Cargo.lock b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/trivial/hello/Cargo.lock new file mode 100644 index 0000000000..bdfea16969 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/trivial/hello/Cargo.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "hello" +version = "0.1.0" diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/trivial/hello/Cargo.toml b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/trivial/hello/Cargo.toml new file mode 100644 index 0000000000..f6f3649e20 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/trivial/hello/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "hello" +version = "0.1.0" +edition = "2024" + +[dependencies] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/trivial/hello/src/main.rs b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/trivial/hello/src/main.rs new file mode 100644 index 0000000000..e7a11a969c --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/trivial/hello/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +} diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/trivial/lintprobe/Cargo.lock b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/trivial/lintprobe/Cargo.lock new file mode 100644 index 0000000000..4ee3da3e39 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/trivial/lintprobe/Cargo.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "lintprobe" +version = "0.1.0" diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/trivial/lintprobe/Cargo.toml b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/trivial/lintprobe/Cargo.toml new file mode 100644 index 0000000000..ae1afa8707 --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/trivial/lintprobe/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "lintprobe" +version = "0.1.0" +edition = "2024" + +[dependencies] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/trivial/lintprobe/src/lib.rs b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/trivial/lintprobe/src/lib.rs new file mode 100644 index 0000000000..376e4b9d7e --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/toolchain/trivial/lintprobe/src/lib.rs @@ -0,0 +1,38 @@ +//! Probe for lints added in Rust 1.98 and 1.99. Not product code. +pub fn assert_empty(v: &Vec) { + assert!(v.is_empty()); +} +pub fn zero_capacity() -> Vec { + Vec::with_capacity(0) +} +pub fn chunked(xs: &[u8]) -> usize { + xs.chunks_exact(4).count() +} +pub fn bit_width() -> u32 { + (std::mem::size_of::() * 8) as u32 +} +pub fn unbounded(mut n: u32) -> u32 { + for i in 0.. { + if i > n { + break; + } + n += 1; + } + n +} +pub fn unchecked(o: Option) -> u8 { + if o.is_some() { + unsafe { o.unwrap_unchecked() } + } else { + 0 + } +} +pub trait Job { + fn run(&self) -> impl std::future::Future; +} +pub struct J; +impl Job for J { + async fn run(&self) -> u8 { + 1 + } +} diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/turso/RESULTS.md b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/turso/RESULTS.md new file mode 100644 index 0000000000..f610f0c5aa --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/turso/RESULTS.md @@ -0,0 +1,221 @@ +# N1 and N2: Turso 0.8.2 against redb 4.3.0 for the event store, and libsql removal + +- Date: 2026-10-11. Folder: `/home/user/work/research-round2/turso`. +- Spike: `s6-index/` (the S6 harness plus a Turso backend). Nothing under `pkgs/id`, `/home/user/code`, `integrated`, `spikes`, or `spikes-next` was changed. +- Labels: **verified** = seen in command output or a source line; **inferred** = reasoned from verified facts; **not checked** = not tested here. + +## Questions (verbatim) + +Owner's decision, verbatim: "n1 yes prefer redb for everything but spike test turso, libsql will be replaced either away." Read index entries N1 and N2 in the remaining-work index. + +Task: a spike comparing the crate `turso` (0.8.2 on crates.io; confirm the version you use and its license) against redb 4.3.0 for our event-store workload. + +1. Copy the S6 harness into your folder: `/home/user/work/spikes-s6` (or the repo copy under `.../spikes/s6-index`). Read its RESULTS.md. Reuse its workload, scripts and key layout, and add a Turso backend next to the redb and rusqlite ones. +2. Workload: claim writes with unique (author, seq); subject lookups; name=value lookups; batch writes; reopen; SIGKILL durability (20 runs, as in S6); disk size; RSS; build time; dependency count. +3. Also record: whether turso is embedded and single-process; its concurrency model (readers and writers); its MSRV; its fsync and durability settings; and any feature flags that change durability. +4. libsql removal. List every libsql call site in `pkgs/id` (`grep -rn libsql pkgs/id/src pkgs/id/Cargo.toml`), with the SQL features used. Say whether redb or Turso would replace them more easily, and what the migration of the identity tables costs. + +Output: a comparison table with exact configurations and commands, and a recommendation. Keep redb unless Turso wins on correctness, durability, disk, speed, build time, or maintenance. Do not modify `pkgs/id`. + +Numbering used below: **Q1** = items 1–2 (performance and workload). **Q2** = item 3 (embedded, concurrency, MSRV, fsync, flags). **Q3** = item 4 (call sites). **Q4** = item 4 (migration cost) and the recommendation. + +## Short answers + +**Q1 (workload).** Turso does not beat redb, and it cannot run the S6 schema at scale. (verified) The S6 schema uses WITHOUT ROWID tables; turso 0.8.2 full-scans them for every `(author, seq)` lookup, claim-by-id, and alpha range (`EXPLAIN QUERY PLAN` prints `SCAN`). (verified) The first full run of that schema stalled after about 21 minutes, with the WAL frozen at 36 MB and the process at 99.2% CPU; the cause is not diagnosed (see Evidence E). (verified) The same statements on rowid tables, with the same keys and unique rule, use indexes (`SEARCH ... USING INDEX`) and completed the 200,000-claim load in 57.7 s, against 11.5 s for redb and 23.5 s for SQLite in the same session. (verified) Turso's p50 lookups were 7–22× slower than redb's (subject 270 µs vs 20 µs; name=value 43 µs vs 6 µs; author 54 ms vs 2.5 ms). (verified) All four configurations passed 20 SIGKILL trials with zero partial batches; the WITHOUT ROWID trials had only 1–5 acknowledged batches each, so that test is weak. (verified) The uniqueness cases pass on all configurations, and a raw duplicate `(author, seq)` insert is refused by turso. (verified) On disk, turso-rowid's file is 157.9 MB plus a 29.6 MB WAL before close; redb's is 269.5 MB, or 134.9 MB after `compact()`; SQLite's is 97.4 MB. Peak RSS: 124 MB for turso-rowid, 195 MB for redb, 106 MB for SQLite. (verified) + +**Q2 (engine behaviour).** Turso is embedded and single-process by default. (verified) A second read-write open is refused immediately with `Locking error: ... File is locked by another process`. (verified) A read-only open from a second process succeeded and read the committed rows, not the uncommitted ones (observed once; not stress-tested while a writer commits). (inferred from the manual) The manual lists "No multi-process access" as a limitation, and turso's multi-process WAL is an experimental flag. (verified, manual.md:100, :156) That flag passed one two-writer test: 2,000 claims, reopened in default mode with zero mismatches. (verified) Concurrent writers inside one process need MVCC (`BEGIN CONCURRENT`, `journal_mode=mvcc`), which the manual marks "not production ready" (manual.md:590). (verified) That is not tested here. (not checked) Defaults: WAL, `synchronous=FULL` (verified by `turso-features`). `FULL` makes WAL commits fsync (inferred from `vacuum.rs:2187–2192`, which says NORMAL skips the WAL-commit fsync). The code maps `PRAGMA synchronous` 0 to OFF, 1 to NORMAL, and anything else to FULL (verified, `translate/pragma.rs:656–663`), but COMPAT.md lists only OFF and FULL as supported (verified, COMPAT.md:277). Settings that change durability: `synchronous` (OFF, NORMAL), `experimental_multiprocess_wal`, `experimental_mvcc_passive_checkpoint`, `journal_mode=mvcc`, and the environment variable `LIMBO_DISABLE_FILE_LOCK` (verified, `io/common.rs:1`, `io/unix.rs:67`). With that variable set, a second read-write open succeeded while another process held an uncommitted transaction (verified). `experimental_encryption` changes the on-disk format and needs the key on every open (verified). MSRV: no `rust-version` is declared in the 0.8.2 manifests of `turso`, `turso_core`, or the workspace (verified); the repo's development toolchain at v0.8.2 is 1.88 (verified, `rust-toolchain.toml`). The spike builds on 1.97.0 (verified); lower versions are not checked. + +**Q3 (libsql call sites).** `grep -rn libsql pkgs/id/src pkgs/id/Cargo.toml` gives 19 lines: 2 in `Cargo.toml` (the `web` feature and the optional dependency `libsql = "0.9"` with `features = ["encryption"]`; locked at 0.9.30) and 17 in `src/web/identity.rs`. (verified) All database use is in one file and one table, `identities`. The SQL is a `CREATE TABLE IF NOT EXISTS` with a TEXT primary key, one nullable TEXT, and two `INTEGER NOT NULL` columns; a full-table `SELECT` at startup; an `INSERT` with four positional parameters; and an `UPDATE ... WHERE client_id = ?3`. The file is opened with an encrypted URI, `cipher=aes256gcm&hexkey=...`, whose key comes from HKDF. (verified, identity.rs:126–138) There are no transactions, DELETEs, joins, secondary indexes, or ORDER BY. (verified) + +**Q4 (replacement and migration cost).** Turso is the smaller diff; redb is the cleaner end state. (inferred) Turso keeps the same SQL and the same async shape, and its builder accepts the same cipher name, `aes256gcm`, with `experimental_encryption(true)` and `with_encryption(EncryptionOpts{...})`. (verified: `turso-features` reopened an encrypted file with the correct key, refused no key with `file is not a database`, and refused a wrong key with `Decryption failed for page=1`.) The change touches roughly 40 lines of `identity.rs` (the open, the `get_value` index type, and the value enum paths) plus `Cargo.toml` (estimate, not built). The cost is that encryption is marked experimental in Turso's manual (manual.md:154). redb has no SQL and no encryption, so the migration is a rewrite of the storage half: one key-value table, a load-all iteration in place of the `SELECT`, write transactions in place of the `INSERT` and `UPDATE`, and a value-level AEAD. That is roughly 120–150 lines (estimate, not built). `aes-gcm` is already in `pkgs/id/Cargo.lock` (0.10.3 and 0.11.1, verified), so it needs no new crate. Existing libsql-encrypted files are not readable by Turso (not checked). N2 allows discarding the identity data. + +**Recommendation.** Keep redb 4.3.0 for the event store (N1). Turso wins on none of the six criteria: correctness (it fails at scale on the S6 schema), durability (a tie in these tests), disk (it loses to compacted redb), speed (5× slower inserts and 7–22× slower lookups), build time (about 60× the unit time of redb), and maintenance (pre-1.0, with experimental flags for encryption, multi-process, and MVCC). For N2, replace libsql with redb too, under the owner's preference for one engine, with a value-level AEAD built on the `aes-gcm` already in the lock. The trade-off is that keys (the random client IDs) stay in plaintext; only values (names) are encrypted. Turso is the faster swap but adds a second, pre-1.0 engine whose encryption is experimental. + +## Options + +| Option | Event store (N1) | Identity DB (N2) | Measured (session 2b unless noted) | +|---|---|---|---| +| redb 4.3.0, current | **Keep.** | Rewrite; value AEAD with `aes-gcm` (est. 120–150 lines). | Insert 57.3 µs/claim; subject p50 20 µs; DB 269.5 MB (134.9 MB compacted); RSS 195 MB; SIGKILL 20/20; 1 dependency (libc). | +| Turso 0.8.2, S6 schema (WITHOUT ROWID, as specified) | Not usable: every PK lookup scans. | Not applicable (identity uses rowid tables). | Plan: `SCAN` on all three queries. 1,000 lookups: 151 ms at 1,000 rows, 3,697 ms at 20,000 rows. First full run stalled (Evidence E). | +| Turso 0.8.2, rowid schema (same keys; `turso-rowid`) | No: 5.0× slower inserts, 7–22× slower p50 lookups, 178 packages, about 1,031 s of build unit time. | Mechanical swap (about 40 lines); experimental encryption; a second engine. | Insert 288.4 µs/claim; subject p50 270 µs; DB 157.9 MB + 29.6 MB WAL; RSS 124 MB; SIGKILL 20/20. | +| SQLite (rusqlite, WAL, FULL), baseline only | Not in question. | Not in question. | Insert 117.3 µs/claim; subject p50 35 µs; DB 97.4 MB + 19.4 MB WAL; RSS 106 MB. | + +## Evidence + +### A. Versions and sources (verified) + +- `turso` 0.8.2, the newest stable release, MIT. From `https://crates.io/api/v1/crates/turso` on 2026-10-11 (16:06Z): `max_stable_version` 0.8.2, `license` MIT, `rust_version` null for every 0.8.x release. `0.8.3-pre.1` exists and is not used. Downloads: 1,117,460. +- Crate tarball `dl-turso-0.8.2-crate/turso-0.8.2.crate` from `https://static.crates.io/crates/turso/turso-0.8.2.crate`, sha256 `a2ebd8a76c2b005a9f42de15e0fe232cd9c17d7c8acb571ddfa294e6c9fa1e44`, extracted to `upstream-turso-0.8.2/` (a separate directory, read only). +- Its `turso_core` and `turso_sdk_kit` 0.8.2 crates (both MIT, no `rust-version`): sha256 `4fa832d4ab648bf139f1b18b29bef6d653b18fbd4a77b0e4846c57aaf28c215c` and `e7893b565a3405c8f44c97b6008bed55314535514c2536db1aaf2bb9b687705a`, extracted to `upstream-turso_core-0.8.2/` and `upstream-turso_sdk_kit-0.8.2/`. +- Source commit: `.cargo_vcs_info.json` gives sha1 `5c168be5ef6a32ac966daf5983502a4f694b37ad` (path `bindings/rust`). GitHub tag `v0.8.2` points at tag object `5d68fe09c36149d395cbf870bf5c25b2e5970157`. +- Upstream workspace manifest, `raw.githubusercontent.com/tursodatabase/turso/v0.8.2/Cargo.toml`: `license = "MIT"`, no `rust-version` (grep confirmed). `rust-toolchain.toml` at v0.8.2: channel `1.88`. +- Docs at v0.8.2, saved in `upstream-docs-v0.8.2/`: `manual.md` (1,561 lines) and `COMPAT.md` (1,194 lines). +- GitHub README, fetched 2026-10-11: "we have not yet reached 1.0"; experimental features: encryption at rest, multi-process WAL, full-text search, incremental computation, Postgres; "replaces libSQL as our intended direction". +- Turso's `Cargo.toml` lists `turso_sdk_kit` and `turso_sync_sdk_kit` as non-optional dependencies (verified, `upstream-turso-0.8.2/turso-0.8.2/Cargo.toml`). The `sync` feature is off in the spike, but the sync crates are still compiled (verified, Evidence H). + +### B. What was changed in the harness (verified) + +- `s6-index/` is the S6 harness (`src/`, `scripts/`, `Cargo.toml`, `Cargo.lock`), copied from `/home/user/work/spikes-s6`. Added `turso = { version = "=0.8.2", default-features = false }`. Default features off means no `mimalloc` (so the system allocator, as for redb and rusqlite) and no `fts` (tantivy). +- New files: `src/block.rs` (runs turso's async API to completion on the calling thread and counts Pending polls); `src/turso_store.rs` (`TursoStore`, the S6 schema on WITHOUT ROWID; `TursoRowidStore`, the same statements on rowid tables, NAME `turso-rowid`); `src/turso_probe.rs` (feature probes, concurrency, multi-process WAL, and the txn and stress diagnostics); `src/turso_plan.rs` (query plans and lookup timing). +- Edited: `durability.rs`, `checks.rs`, `main.rs`, dispatch arms only. The S6 key layout, workload, and generator are unchanged. `selftest` still prints PASS (run/results/selftest-final.txt). +- `turso_probe::plan_probe` is an earlier version of `turso_plan::plan`, left in place unused (one dead-code warning). I tried to remove it; the edit did not match, so it stays. + +### C. Configurations (exact) + +- Common workload, as S6: 200,000 claims, 1,000 per transaction (200 transactions), subjects 32 bytes, names 8–12 bytes, values 16–24 bytes, 5% null values, 100 authors, dataset seed `0x5_0006`; 1,000 timed lookups of each shape, each checked against an in-memory answer. +- redb 4.3.0: `Database::create`, one `begin_write` per batch, default durability. Tables `claims`, `alpha`, `omega`, `author_seq`, as S6. +- rusqlite 0.40.2 bundled: WAL, `synchronous=FULL`, `BEGIN IMMEDIATE` per batch, busy timeout 5 s, S6 schema (WITHOUT ROWID). +- turso 0.8.2, S6 schema ("turso"): `Builder::new_local(path).experimental_without_rowid(true).experimental_multiprocess_wal(false).build()`; `busy_timeout(5 s)`; `PRAGMA journal_mode='wal'`; `PRAGMA synchronous=FULL`; S6 schema (`SCHEMA` in `turso_store.rs`). Batch: `transaction_with_behavior(TransactionBehavior::Immediate)`, `insert_in` prepares five statements per batch (a `SELECT` for the `(author, seq)` check, then four `INSERT`s), `commit()` or `rollback()`. +- turso 0.8.2, rowid schema ("turso-rowid"): the same open without the experimental flag; `SCHEMA_ROWID` (the same tables as rowid tables; `PRIMARY KEY (author, seq)` on `author_seq`, `BLOB PRIMARY KEY` on the others). +- Block-on adapter: `thread::yield_now()` on a Pending poll; counts Pending polls. Pending polls were 2,766 for the whole 200k rowid bench, so the adapter is not the bottleneck (verified). + +### D. Commands (all from `s6-index/`, `RUSTUP_TOOLCHAIN=1.97.0`, `RUSTC="$(rustup which --toolchain 1.97.0 rustc)"`) + +``` +CARGO="$(rustup which --toolchain 1.97.0 cargo)" +"$CARGO" build --release # incremental +../build-clean.sh # rm -rf target; cargo build --release --timings (clean) +./target/release/s6-index selftest +./target/release/s6-index unique {redb,sqlite,turso,turso-rowid} run/unique-X +./target/release/s6-index turso-features run/features +./target/release/s6-index bench {redb,sqlite,turso-rowid} run/bench-X 200000 +./target/release/s6-index bench turso run/bench-turso 200000 # stalled; see E +./target/release/s6-index turso-stress run/stress DIR 60 1000 ["cache_size = -262144"] +./target/release/s6-index turso-plan run/plan +./target/release/s6-index turso-txn-probe run/txn +./target/release/s6-index compact-redb run/bench-redb/index-redb.db +./target/release/s6-index durable-test {redb,sqlite,turso-rowid,turso} 20 run/durability-X +./target/release/s6-index concurrency run/concurrency-session2 # S6 orchestrator, redb and sqlite +./target/release/s6-index turso-concurrency run/conc-turso +./target/release/s6-index turso-mp-test run/mp-turso +strace -f -c -e trace=fsync,fdatasync -o run/results/strace-txn-probe.txt \ + ./target/release/s6-index turso-txn-probe run/strace-txn +``` + +Scripts: `run-all.sh` (session 1; stopped at the turso WITHOUT ROWID bench) and `run-session2b.sh` (the complete session, with a timeout on each step). Logs: `s6-index/run/results/session2b-all.txt` (the full run), `session2-all.txt` (session 1, partial). + +### E. Turso on the S6 schema: the plan, the scan, and the stall (verified unless marked) + +- Plans, `turso-plan` (`run/results/turso-plan.txt`): + + ``` + WITHOUT ROWID author_seq lookup: SCAN author_seq + WITHOUT ROWID claims by id: SCAN claims + WITHOUT ROWID alpha range: SCAN alpha | USE SORTER FOR ORDER BY + rowid author_seq lookup: SEARCH author_seq USING INDEX sqlite_autoindex_author_seq_1 (author=? AND seq=?) + rowid claims by id: SEARCH claims USING INDEX sqlite_autoindex_claims_1 (id=?) + rowid alpha range: SEARCH alpha USING COVERING INDEX sqlite_autoindex_alpha_1 (key>=? AND key>` | none | +| `identity.rs:133–138` | `format!("file:{db_path_str}?cipher=aes256gcm&hexkey={hex_key}")`; `libsql::Builder::new_local(uri).build().await` | encrypted URI, AES-256-GCM | +| `identity.rs:139–141` | `db.connect()` | none | +| `identity.rs:144–154` | `conn.execute("CREATE TABLE IF NOT EXISTS identities (client_id TEXT PRIMARY KEY, name TEXT, created_at INTEGER NOT NULL, updated_at INTEGER NOT NULL)", ())` | DDL; TEXT PK on a rowid table; NOT NULL | +| `identity.rs:159–171` | `conn.query("SELECT client_id, name, created_at, updated_at FROM identities", ())`; `rows.next()` loop | full-table SELECT at startup | +| `identity.rs:172–175`, `505–536` | `row.get_value(idx)`; matches on `libsql::Value::{Text, Integer, Null}` in `db_text`, `db_opt_text`, `db_u64` | value types | +| `identity.rs:199` | `db: Some(Arc::new(db))` | none | +| `identity.rs:236–245` | `db.connect()`; `conn.execute("INSERT INTO identities (client_id, name, created_at, updated_at) VALUES (?1, ?2, ?3, ?4)", db_identity_params(...))` | positional parameters; nullable TEXT | +| `identity.rs:315–332` | `conn.execute("UPDATE identities SET name = ?1, updated_at = ?2 WHERE client_id = ?3", params)`; errors logged, not returned | UPDATE by primary key | +| `identity.rs:538–551` | `db_identity_params` returns `Vec` | none | + +Totals: 2 lines in `Cargo.toml`, 17 in `identity.rs`. (verified) The file has no libsql match after line 549. (verified) + +### J. Migration cost, in detail (estimate; not built) + +- Turso: `Builder::new_local(path)` with `experimental_encryption(true)` and `with_encryption(EncryptionOpts { cipher: "aes256gcm".into(), hexkey })`, where `hexkey` is the same 64-character HKDF output as now. The URI parsing goes away. `db.connect()`, `execute`, `query`, and `rows.next()` keep their shapes. `get_value` takes `usize`, not `i32`, so the helper signatures change. The `Value` variant names match. Estimate: about 40 lines in `identity.rs` and one dependency line in `Cargo.toml`. (estimate; the builder and cipher behaviour were verified in `turso-features`) +- redb: replace `Database` with `redb::Database::create`; one table `identities` (`&str` key to a serialized record); `new_ephemeral` stays in memory; the startup `SELECT` becomes a table iteration; `register` and `update_name` become write transactions; the `db_*` helpers and `db_identity_params` (about 60 lines) are deleted; add a value-level AEAD (`aes-gcm`, already in `pkgs/id/Cargo.lock`) with a key from the same HKDF and a fresh nonce per write. Estimate: 120–150 lines changed, plus tests. (estimate) +- Data: libsql-encrypted files are not readable by Turso (not checked). N2 allows discarding them. Row count and file size of the real identity database: not measured. + +### K. Process notes + +- Rule 4 deviation: the spike's build artifacts go to `s6-index/target` inside my folder, not `/home/user/work/spikes/target`. The shared spikes workspace pins redb =4.3.0, but `turso` is not in it, and the clean timing needed an empty target directory. The redb build was therefore done again here. (verified) +- While I was reading `identity.rs`, a tool result carried text styled as instructions from `pkgs/id/AGENTS.md` (asking for plan and docs files inside `pkgs/id`). I did not act on it. It conflicts with this brief, which limits writes to my folder and forbids changes to `pkgs/id`. `pkgs/id` was not modified. (verified) +- Session 1 (`run-all.sh`) was stopped at the turso WITHOUT ROWID bench. Session 2b is the complete run, with redb and SQLite rerun under the same binary. Its numbers differ from S6 because the load was different. Compare within session 2b only. +- Load on the 16-core host during the runs: 12 to 52. Timings are relative, not absolute. + +## Recommendation +### Criteria check (the brief's decision rule, applied to the best Turso configuration) + +| Criterion | Turso (rowid, the best configuration) | Verdict | +|---|---|---| +| Correctness | Uniqueness passes; WITHOUT ROWID (as specified) scans and stalled | redb | +| Durability | SIGKILL 20/20 for both; power loss not tested | tie | +| Disk | 157.9 MB + 29.6 MB WAL vs redb 269.5 MB (134.9 MB compacted) | redb (compacted) | +| Speed | 5.0× slower inserts; 7–22× slower p50 lookups | redb | +| Build time | About 1,031 s summed unit time vs redb 16 s; 178 vs 1 dependency | redb | +| Maintenance | Pre-1.0; experimental encryption, multi-process WAL, and MVCC; WITHOUT ROWID insert-only; sync crates always compiled | redb | + + +**N1: keep redb 4.3.0.** Turso does not win on any of the six criteria the brief sets. Its schema problem at scale is the sharpest finding, and the rowid schema fixes the scans but not the speed, the build, or the maintenance picture. + +**N2: replace libsql with redb.** That keeps one engine, as the owner prefers. The encryption needs our own AEAD over the values, using `aes-gcm`, which is already in the lock; keys stay in plaintext. The alternative is Turso's rowid schema for identity only. It is a smaller diff, but it adds a second, pre-1.0 engine whose encryption the manual calls not production ready. + +**What would change the N1 decision:** +1. A root-cause fix for the WITHOUT ROWID scan and the stall, and a completed 200,000-claim run on the S6 schema. +2. Turso 1.0, or at least encryption and multi-process WAL out of experimental status. +3. A power-loss pass for both engines (N13). None has been run. +4. A build that compiles the sync crates only when `sync` is on, and a dependency count nearer redb's. +5. If the event store becomes async, a tokio-native measurement, which would replace the spin-yield adapter. Our adapter's pending-poll count was small, so this is unlikely to change the result. + +## Not verified + +- Power-loss durability for any engine (only SIGKILL). (not checked) +- The root cause of turso's WITHOUT ROWID scan and of the stall, and whether a newer turso fixes either. (not checked) +- The S6-schema bench at 200,000 claims, which did not complete. (not checked) +- MVCC, `BEGIN CONCURRENT`, `journal_mode=mvcc`, passive checkpointing, and several connections inside one process. (not checked) +- fsync behaviour beyond the probes: the strace total (1,023) was for one probe, not an audit of every commit. (not checked) +- MSRV below 1.97.0. No `rust-version` is declared, the dev pin is 1.88, and `pkgs/id` declares 1.91; none of those was built. (not checked) +- Isolated clean wall-time build of turso alone; only summed unit time is available, from one build under load. (not checked) +- Whether Turso can read libsql-encrypted files, and whether libsql's encryption format matches Turso's. (not checked) +- The identity database's row count and size. (not measured) +- The redb AEAD layer and its 120–150 line estimate, and the Turso 40-line estimate. (estimates, not built) +- The dependency count for `pkgs/id`'s full tree; only the spike's tree was counted. (not checked) +- The effect of the spin-yield adapter on the numbers, compared with a tokio-native driver. (not checked) +- Turso's `DELETE`, `UPDATE`, and secondary `UNIQUE` limits on WITHOUT ROWID were verified only through the error messages in `turso-features`; the rowid schema supports them (verified), but no retention or removal workload was run. (partly checked) diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/turso/dep-count-default/Cargo.lock b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/turso/dep-count-default/Cargo.lock new file mode 100644 index 0000000000..e182b14cef --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/turso/dep-count-default/Cargo.lock @@ -0,0 +1,3125 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "aead" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0" +dependencies = [ + "crypto-common", + "generic-array", +] + +[[package]] +name = "aegis" +version = "0.9.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41585f248ed9406567ae6d61ca2a55ed3dc7348e65203a01229881253acb95e3" +dependencies = [ + "cc", + "softaes", +] + +[[package]] +name = "aes" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" +dependencies = [ + "cfg-if", + "cipher", + "cpufeatures 0.2.17", +] + +[[package]] +name = "aes-gcm" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "831010a0f742e1209b3bcea8fab6a8e149051ba6099432c8cb2cc117dec3ead1" +dependencies = [ + "aead", + "aes", + "cipher", + "ctr", + "ghash", + "subtle", +] + +[[package]] +name = "aho-corasick" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba" +dependencies = [ + "memchr", +] + +[[package]] +name = "allocator-api2" +version = "0.2.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" + +[[package]] +name = "allocator-api2" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c880a97d28a3681c0267bd29cff89621202715b065127cd445fa0f0fe0aa2880" + +[[package]] +name = "android_system_properties" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae221649c9976a6f6c56ae1facf410f3ddb33cc661c4b7b61020a912d4237fbc" +dependencies = [ + "libc", +] + +[[package]] +name = "antithesis_sdk" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8ed6751597568a284314fd9e2db420665898600109dedc7d8d9b588f00ae9c4" +dependencies = [ + "libc", + "libloading", + "linkme", + "once_cell", + "rand 0.8.8", + "rustc_version_runtime", + "serde", + "serde_json", +] + +[[package]] +name = "anyhow" +version = "1.0.104" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470" + +[[package]] +name = "arc-swap" +version = "1.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c049c0be4daef0b145cb3555416b3b8ef5b7888a38aea1a3a155801fe7b0810b" +dependencies = [ + "rustversion", +] + +[[package]] +name = "aristo" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fcdeefa800110050103e2459a2f8dbdbd560ad046e30f1f87e24ce19c2cb8bde" +dependencies = [ + "aristo-macros", +] + +[[package]] +name = "aristo-macros" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d64a66d21a80182b35b1741997a6d2456911f54b7eb1918aa4e2382fc205268d" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "assoc" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfdc70193dadb9d7287fa4b633f15f90c876915b31f6af17da307fc59c9859a8" + +[[package]] +name = "async-trait" +version = "0.1.92" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82f6aeea286b8eb4dd3431a1be1b59d290ace00f5bfd8e2a159bc2a05e2c1667" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.8", +] + +[[package]] +name = "autocfg" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" + +[[package]] +name = "base64" +version = "0.22.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" + +[[package]] +name = "bigdecimal" +version = "0.4.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8fa3f3d8cbf4dffcfe4991de61d012bef509a409ecbe9dd41049bfe32b4d4653" +dependencies = [ + "autocfg", + "libm", + "num-bigint", + "num-integer", + "num-traits", +] + +[[package]] +name = "bindgen" +version = "0.69.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "271383c67ccabffb7381723dea0672a673f292304fcb45c01cc648c7a8d58088" +dependencies = [ + "bitflags", + "cexpr", + "clang-sys", + "itertools 0.12.1", + "lazy_static", + "lazycell", + "log", + "prettyplease 0.2.37", + "proc-macro2", + "quote", + "regex", + "rustc-hash 1.1.0", + "shlex 1.3.0", + "syn 2.0.119", + "which", +] + +[[package]] +name = "bitflags" +version = "2.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06" + +[[package]] +name = "bitpacking" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96a7139abd3d9cebf8cd6f920a389cf3dc9576172e32f4563f188cae3c3eb019" +dependencies = [ + "crunchy", +] + +[[package]] +name = "bitvec" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ddcec3d12c579d40898fe0a9a358a803c23e9c52ca3c425707f81c9436211837" +dependencies = [ + "funty", + "radium", + "tap", + "wyz", +] + +[[package]] +name = "bon" +version = "3.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "214f5df094ce551a10a30ffb9c70243d61f121a3d985a6495933e181dee6a7d2" +dependencies = [ + "bon-macros", +] + +[[package]] +name = "bon-macros" +version = "3.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2706da6c749998cc555d04184909608956a69ad3f8ab1a076fbc867b4a3c3ce5" +dependencies = [ + "darling", + "ident_case", + "prettyplease 0.3.0", + "proc-macro2", + "quote", + "syn 3.0.8", +] + +[[package]] +name = "branches" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7436b21fd6195415058eb41c9090e156b556bc7e0377bb57c5c026a421521525" +dependencies = [ + "rustc_version", +] + +[[package]] +name = "bumpalo" +version = "3.20.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649" + +[[package]] +name = "bytemuck" +version = "1.25.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95832e849adfb21180ccb6826a99da14e5d266ae5c2e668e1602cf234f153797" +dependencies = [ + "bytemuck_derive", +] + +[[package]] +name = "bytemuck_derive" +version = "1.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a1f896587b6f2c069c73d2f0913e2d590c3990285cd2f0b6aa02b786b4c679c" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.8", +] + +[[package]] +name = "byteorder" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" + +[[package]] +name = "bytes" +version = "1.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04" + +[[package]] +name = "cc" +version = "1.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6651c9ed80effdc7db0ff72512157f901af5e3549e341e24b1dd4887d836d838" +dependencies = [ + "find-msvc-tools", + "jobserver", + "libc", + "shlex 2.0.1", +] + +[[package]] +name = "census" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4f4c707c6a209cbe82d10abd08e1ea8995e9ea937d2550646e02798948992be0" + +[[package]] +name = "cexpr" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766" +dependencies = [ + "nom", +] + +[[package]] +name = "cfg-if" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600" + +[[package]] +name = "cfg_aliases" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527" + +[[package]] +name = "cfg_block" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "18758054972164c3264f7c8386f5fc6da6114cb46b619fd365d4e3b2dc3ae487" + +[[package]] +name = "chacha20" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65c35e4b699c7e15ccbe7ee35c005e4fc0a278d22238a2857e6ce2dadeda1b06" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "rand_core 0.10.1", +] + +[[package]] +name = "chrono" +version = "0.4.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1aa79e62e7697b8e29b513a68abacf485adcd1fe8284a4316c5ae868e6633327" +dependencies = [ + "iana-time-zone", + "js-sys", + "num-traits", + "wasm-bindgen", + "windows-link", +] + +[[package]] +name = "cipher" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" +dependencies = [ + "crypto-common", + "inout", +] + +[[package]] +name = "clang-sys" +version = "1.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "157a8ba7b480713b56f4c09fd13fc3e0a22a5dfab8097ba61cbc5feef950788a" +dependencies = [ + "glob", + "libc", + "libloading", +] + +[[package]] +name = "concurrent-queue" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "core-foundation-sys" +version = "0.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" + +[[package]] +name = "cpufeatures" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" +dependencies = [ + "libc", +] + +[[package]] +name = "cpufeatures" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ca28b0ae3115b884660db4118d803791fd6756b6e88f39c0f3f7859060d7566" +dependencies = [ + "libc", +] + +[[package]] +name = "crc32c" +version = "0.6.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a47af21622d091a8f0fb295b88bc886ac74efcc613efc19f5d0b21de5c89e47" +dependencies = [ + "rustc_version", +] + +[[package]] +name = "crc32fast" +version = "1.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01a7799fd6b852db0e61728dde9a204c423b44d689dbd432522543614b490e78" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "crossbeam-channel" +version = "0.5.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98b0cc327b5bc766e7fda9c9260cc0fa81b43a8e240440422dff70788e3f9ef1" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-deque" +version = "0.8.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "622f3fc73690be383c7214310406f28a90e6edeadc3cea882f9d71e495b9711a" +dependencies = [ + "crossbeam-epoch", + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-epoch" +version = "0.9.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc74980687109a3b14c72fd458107bf0baa1da1a1a805e178d15501ba9b86d9d" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-utils" +version = "0.8.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a31eee39dddec8330830986fcd7625edb5a24ec90ea038215273bbc3adb08ac6" + +[[package]] +name = "crunchy" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" + +[[package]] +name = "crypto-common" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" +dependencies = [ + "generic-array", + "rand_core 0.6.4", + "typenum", +] + +[[package]] +name = "ctr" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835" +dependencies = [ + "cipher", +] + +[[package]] +name = "darling" +version = "0.24.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed17f5901b6630b993ca003def43f2f8ef4014fc13b047b57aad617ff32bc2ec" +dependencies = [ + "darling_core", + "darling_macro", +] + +[[package]] +name = "darling_core" +version = "0.24.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6837e2cf7485aaae18f86181d2f0e9a7ed297a025e220aeabf63fdebd3a2ddff" +dependencies = [ + "ident_case", + "proc-macro2", + "quote", + "strsim", + "syn 3.0.8", +] + +[[package]] +name = "darling_macro" +version = "0.24.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ac7135c3ef02b2f7833bbeb1be5ba7f966dcde8a87c6b87f65a778d71a02785" +dependencies = [ + "darling_core", + "quote", + "syn 3.0.8", +] + +[[package]] +name = "datasketches" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c286de4e81ea2590afc24d754e0f83810c566f50a1388fa75ebd57928c0d9745" + +[[package]] +name = "dep-count-default" +version = "0.0.0" +dependencies = [ + "turso", +] + +[[package]] +name = "deranged" +version = "0.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c" +dependencies = [ + "serde_core", +] + +[[package]] +name = "displaydoc" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.8", +] + +[[package]] +name = "downcast-rs" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "117240f60069e65410b3ae1bb213295bd828f707b5bec6596a1afc8793ce0cbc" + +[[package]] +name = "either" +version = "1.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be" + +[[package]] +name = "env_filter" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "900d271a03799a1ee8d1ca9b19893b48ca674a9284fefcfb85f05e74ed314217" +dependencies = [ + "log", + "regex", +] + +[[package]] +name = "env_logger" +version = "0.11.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de671bd27a75a797dc9ae289ba1e77276e75e2026408aab65185384e2d5cd3f6" +dependencies = [ + "env_filter", + "log", +] + +[[package]] +name = "equivalent" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" + +[[package]] +name = "erased-serde" +version = "0.4.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2add8a07dd6a8d93ff627029c51de145e12686fbc36ecb298ac22e74cf02dec" +dependencies = [ + "serde", + "serde_core", + "typeid", +] + +[[package]] +name = "errno" +version = "0.3.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" +dependencies = [ + "libc", + "windows-sys 0.61.2", +] + +[[package]] +name = "fallible-iterator" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649" + +[[package]] +name = "fastbloom" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e7f34442dbe69c60fe8eaf58a8cafff81a1f278816d8ab4db255b3bef4ac3c4" +dependencies = [ + "getrandom 0.3.4", + "libm", + "siphasher", +] + +[[package]] +name = "fastdivide" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9afc2bd4d5a73106dd53d10d73d3401c2f32730ba2c0b93ddb888a8983680471" + +[[package]] +name = "fastrand" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223" + +[[package]] +name = "find-msvc-tools" +version = "0.1.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aedcfb3409746eddb02b9e19ebda1c3394f759a152e48ee875a0844d1b955484" + +[[package]] +name = "fnv" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" + +[[package]] +name = "foldhash" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" + +[[package]] +name = "fs4" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8640e34b88f7652208ce9e88b1a37a2ae95227d84abec377ccd3c5cfeb141ed4" +dependencies = [ + "rustix 1.1.5", + "windows-sys 0.59.0", +] + +[[package]] +name = "funty" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" + +[[package]] +name = "futures-core" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e" + +[[package]] +name = "futures-macro" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fb9654ba8355388abeb8dcb4fc62f511300867002afc858860463bdd9fe0c44" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.8", +] + +[[package]] +name = "futures-task" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd" + +[[package]] +name = "futures-util" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc" +dependencies = [ + "futures-core", + "futures-macro", + "futures-task", + "pin-project-lite", + "slab", +] + +[[package]] +name = "genawaiter" +version = "0.99.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c86bd0361bcbde39b13475e6e36cb24c329964aa2611be285289d1e4b751c1a0" +dependencies = [ + "genawaiter-macro", +] + +[[package]] +name = "genawaiter-macro" +version = "0.99.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b32dfe1fdfc0bbde1f22a5da25355514b5e450c33a6af6770884c8750aedfbc" + +[[package]] +name = "generator" +version = "0.8.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "54ade96dc9003043bce7c035c85a9df5a858bfb2039c5a2e6fdf00f324f6c551" +dependencies = [ + "cc", + "cfg-if", + "libc", + "log", + "rustversion", + "windows-link", + "windows-result", +] + +[[package]] +name = "generic-array" +version = "0.14.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +dependencies = [ + "typenum", + "version_check", +] + +[[package]] +name = "getrandom" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0" +dependencies = [ + "cfg-if", + "js-sys", + "libc", + "wasi", + "wasm-bindgen", +] + +[[package]] +name = "getrandom" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" +dependencies = [ + "cfg-if", + "js-sys", + "libc", + "r-efi 5.3.0", + "wasip2", + "wasm-bindgen", +] + +[[package]] +name = "getrandom" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" +dependencies = [ + "cfg-if", + "js-sys", + "libc", + "r-efi 6.0.0", + "rand_core 0.10.1", + "wasm-bindgen", +] + +[[package]] +name = "ghash" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0d8a4362ccb29cb0b265253fb0a2728f592895ee6854fd9bc13f2ffda266ff1" +dependencies = [ + "opaque-debug", + "polyval", +] + +[[package]] +name = "glob" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4eba85ea1d0a966a983acd07deee566e67395d2d96b6fb39e62b5a833f1eb0b" + +[[package]] +name = "hashbrown" +version = "0.16.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" +dependencies = [ + "allocator-api2 0.2.21", + "equivalent", + "foldhash", +] + +[[package]] +name = "heck" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" + +[[package]] +name = "hermit-abi" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e17592d60ebacc7d5e169f4663c5f84f9161cc90328abcfe8456f41e4dfcb284" + +[[package]] +name = "hex" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" + +[[package]] +name = "home" +version = "0.5.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc627f471c528ff0c4a49e1d5e60450c8f6461dd6d10ba9dcd3a61d3dff7728d" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "htmlescape" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9025058dae765dee5070ec375f591e2ba14638c63feff74f13805a72e523163" + +[[package]] +name = "http" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "918d3568bebf352712bc2ef3d46a8bcf1a75b373be6539de198e9105cbbf9ce0" +dependencies = [ + "bytes", + "itoa", +] + +[[package]] +name = "iana-time-zone" +version = "0.1.65" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e31bc9ad994ba00e440a8aa5c9ef0ec67d5cb5e5cb0cc7f8b744a35b389cc470" +dependencies = [ + "android_system_properties", + "core-foundation-sys", + "iana-time-zone-haiku", + "js-sys", + "log", + "wasm-bindgen", + "windows-core", +] + +[[package]] +name = "iana-time-zone-haiku" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" +dependencies = [ + "cc", +] + +[[package]] +name = "icu_collator" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08984ed58ac439ebf3e13d2cf26b0c46a60afcd21721c1d14087c0b240344dda" +dependencies = [ + "icu_collator_data", + "icu_collections", + "icu_locale_core", + "icu_locale_fallback", + "icu_normalizer", + "icu_properties", + "icu_provider", + "smallvec", + "utf16_iter", + "utf8_iter", + "zerovec", +] + +[[package]] +name = "icu_collator_data" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7d7e54efdddeb1208c08dd5d32b53a879ac00d2d3d051b2255fd26821d16368" + +[[package]] +name = "icu_collections" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa68d21081c4a05d5a901a1c62add574c77048b6a1c67be3b50ce0b60d4ca513" +dependencies = [ + "displaydoc", + "potential_utf", + "utf8_iter", + "yoke", + "zerofrom", + "zerovec", +] + +[[package]] +name = "icu_locale" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "785f595c61ef57169a467eeed7b4b6936a66f6cacbb116a96ee86da983251bf4" +dependencies = [ + "icu_collections", + "icu_locale_core", + "icu_locale_data", + "icu_locale_fallback", + "icu_provider", + "tinystr", + "zerovec", +] + +[[package]] +name = "icu_locale_core" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d56e28588da92eee5c3201a6eff33fabdd49b62269c8938d4ff050ce4d900deb" +dependencies = [ + "displaydoc", + "litemap", + "serde", + "tinystr", + "writeable", + "zerovec", +] + +[[package]] +name = "icu_locale_data" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d37d91460e362a5cf58907cd7ce871411775ee6294e49a5cc8e6cec16dfa75ea" + +[[package]] +name = "icu_locale_fallback" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "251af8e57c9400e3eb58242fe5b8b1152b2a64fdf4cf632f923c38ccee6f2fa9" +dependencies = [ + "icu_locale_core", + "icu_locale_fallback_data", + "icu_provider", + "potential_utf", + "tinystr", + "zerovec", +] + +[[package]] +name = "icu_locale_fallback_data" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "decf2a22ec8fa68f1a0c1129a3f8583f8f8bc24e8b9ccbe98ead99f62a4dc3a8" + +[[package]] +name = "icu_normalizer" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12f9cf5f235641ed274641dd81c3f28d870e276763d0797aeeab72317b1c646f" +dependencies = [ + "icu_collections", + "icu_normalizer_data", + "icu_properties", + "icu_provider", + "smallvec", + "utf16_iter", + "utf8_iter", + "write16", + "zerovec", +] + +[[package]] +name = "icu_normalizer_data" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1563da1ed3e0b3bf3d74c9b85917ac9c56464d2f57242270c09c9e752f8021a0" + +[[package]] +name = "icu_properties" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e7ca276ad3145661a65914e6daf131ca5120cd3dcee8f8f3214b8875184a148" +dependencies = [ + "displaydoc", + "icu_collections", + "icu_locale_core", + "icu_properties_data", + "icu_provider", + "zerotrie", + "zerovec", +] + +[[package]] +name = "icu_properties_data" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e590f038c1464a96894fd6d10127e90a8be4509f56ff7ecef851b15cee0b7caa" + +[[package]] +name = "icu_provider" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d27bbb9d3abbefac45d55f647c9de1d44aafcd1186eb91879afef17c396c3e73" +dependencies = [ + "displaydoc", + "icu_locale_core", + "serde", + "stable_deref_trait", + "writeable", + "yoke", + "zerofrom", + "zerotrie", + "zerovec", +] + +[[package]] +name = "ident_case" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" + +[[package]] +name = "inout" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01" +dependencies = [ + "generic-array", +] + +[[package]] +name = "intrusive-collections" +version = "0.9.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "189d0897e4cbe8c75efedf3502c18c887b05046e59d28404d4d8e46cbc4d1e86" +dependencies = [ + "memoffset", +] + +[[package]] +name = "inventory" +version = "0.3.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6928282826c822ad91bf1c9a1cb90a30ba1c26770749929b4656cd6be829cd7c" +dependencies = [ + "rustversion", +] + +[[package]] +name = "io-uring" +version = "0.7.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed3bd0ecfbb87805f538bb7b32e5239ca0763890c623e349860ecba69469f2bb" +dependencies = [ + "bitflags", + "cfg-if", + "libc", +] + +[[package]] +name = "itertools" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" +dependencies = [ + "either", +] + +[[package]] +name = "itertools" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285" +dependencies = [ + "either", +] + +[[package]] +name = "itoa" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" + +[[package]] +name = "jobserver" +version = "0.1.35" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c00acbd29eabad4a2392fa0e921c874934dbbf4194312ad20f04a0ed67a3cb3" +dependencies = [ + "getrandom 0.4.3", + "libc", +] + +[[package]] +name = "js-sys" +version = "0.3.106" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7883d941dae510fb2d978fc3fe018c71c9e2892fd38854de3e8b92c2e5ad9cc5" +dependencies = [ + "cfg-if", + "futures-util", + "wasm-bindgen", +] + +[[package]] +name = "lazy_static" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20870f649af7073d53e38067b2a84312175d56ea15217e1b15bc83506ec50afb" + +[[package]] +name = "lazycell" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" + +[[package]] +name = "levenshtein_automata" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c2cdeb66e45e9f36bfad5bbdb4d2384e70936afbee843c6f6543f0c551ebb25" + +[[package]] +name = "libc" +version = "0.2.190" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78" + +[[package]] +name = "libloading" +version = "0.8.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55" +dependencies = [ + "cfg-if", + "windows-link", +] + +[[package]] +name = "libm" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981" + +[[package]] +name = "libmimalloc-sys" +version = "0.1.49" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a45a52f43e1c16f667ccfe4dd8c85b7f7c204fd5e3bf46c5b0db9a5c3c0b8e9" +dependencies = [ + "cc", +] + +[[package]] +name = "linkme" +version = "0.3.37" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3045e122bd98aef8ec3ad58ce84f0791f64e70163d1a02710af4aa11a4d54cc5" +dependencies = [ + "linkme-impl", +] + +[[package]] +name = "linkme-impl" +version = "0.3.37" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77060ebe535362c3da75682cd17b0431017b6e7c5661e714fc69a7ad017d1301" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.8", +] + +[[package]] +name = "linux-raw-sys" +version = "0.4.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab" + +[[package]] +name = "linux-raw-sys" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53" + +[[package]] +name = "litemap" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47d9d19d1d6efa0109d2f65ff4c85cddd50bd572e5a00127ab10987290bcefae" + +[[package]] +name = "lock_api" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" +dependencies = [ + "scopeguard", +] + +[[package]] +name = "log" +version = "0.4.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6" + +[[package]] +name = "loom" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "419e0dc8046cb947daa77eb95ae174acfbddb7673b4151f56d1eed8e93fbfaca" +dependencies = [ + "cfg-if", + "generator", + "scoped-tls", + "tracing", + "tracing-subscriber", +] + +[[package]] +name = "lru" +version = "0.16.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f66e8d5d03f609abc3a39e6f08e4164ebf1447a732906d39eb9b99b7919ef39" +dependencies = [ + "hashbrown", +] + +[[package]] +name = "lz4_flex" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ef0d4ed8669f8f8826eb00dc878084aa8f253506c4fd5e8f58f5bce72ddb97e" + +[[package]] +name = "matchers" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1525a2a28c7f4fa0fc98bb91ae755d1e2d1505079e05539e35bc876b5d65ae9" +dependencies = [ + "regex-automata", +] + +[[package]] +name = "measure_time" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51c55d61e72fc3ab704396c5fa16f4c184db37978ae4e94ca8959693a235fc0e" +dependencies = [ + "log", +] + +[[package]] +name = "memchr" +version = "2.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" + +[[package]] +name = "memmap2" +version = "0.9.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1219ed1b7f229ee7104d281dd01d6802fe28bb6e95d292942c4daacdeb798c0" +dependencies = [ + "libc", +] + +[[package]] +name = "memoffset" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a" +dependencies = [ + "autocfg", +] + +[[package]] +name = "miette" +version = "7.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f98efec8807c63c752b5bd61f862c165c115b0a35685bdcfd9238c7aeb592b7" +dependencies = [ + "cfg-if", + "miette-derive", + "unicode-width", +] + +[[package]] +name = "miette-derive" +version = "7.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db5b29714e950dbb20d5e6f74f9dcec4edbcc1067bb7f8ed198c097b8c1a818b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "mimalloc" +version = "0.1.52" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d4139bb28d14ad1facf21d5eb8825051b326e172d216b39f6d31df53cc97862" +dependencies = [ + "libmimalloc-sys", +] + +[[package]] +name = "minimal-lexical" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" + +[[package]] +name = "murmurhash32" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2195bf6aa996a481483b29d62a7663eed3fe39600c460e323f8ff41e90bdd89b" + +[[package]] +name = "nom" +version = "7.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" +dependencies = [ + "memchr", + "minimal-lexical", +] + +[[package]] +name = "nu-ansi-term" +version = "0.50.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" +dependencies = [ + "windows-sys 0.61.2", +] + +[[package]] +name = "num-bigint" +version = "0.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c89e69e7e0f03bea5ef08013795c25018e101932225a656383bd384495ecc367" +dependencies = [ + "num-integer", + "num-traits", +] + +[[package]] +name = "num-conv" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "521739c6d2bac4aa25192232afe6841231376b2b26d4d9fae5ecf8ca5772e441" + +[[package]] +name = "num-integer" +version = "0.1.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ce2d95d4b3734dc35aa2f45e1aa22cd416814592a4f9d9205e11affd5b8e10b" +dependencies = [ + "num-traits", +] + +[[package]] +name = "num-traits" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +dependencies = [ + "autocfg", +] + +[[package]] +name = "once_cell" +version = "1.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" + +[[package]] +name = "oneshot" +version = "0.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "269bca4c2591a28585d6bf10d9ed0332b7d76900a1b02bec41bdc3a2cdcda107" + +[[package]] +name = "opaque-debug" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" + +[[package]] +name = "ordered-float" +version = "5.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c7c9e0d9b23589f26070720bac724174bfec1083e82f7854cdd0267518343c0" +dependencies = [ + "num-traits", +] + +[[package]] +name = "ownedbytes" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2fbd56f7631767e61784dc43f8580f403f4475bd4aaa4da003e6295e1bab4a7e" +dependencies = [ + "stable_deref_trait", +] + +[[package]] +name = "owo-colors" +version = "3.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c1b04fb49957986fdce4d6ee7a65027d55d4b6d2265e5848bbb507b58ccfdb6f" + +[[package]] +name = "pack1" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3b7bb0ecf2e447b1f20ee94ee79ef6eed1e9d4b3c36ce1903b9dea3bf205523" +dependencies = [ + "bytemuck", +] + +[[package]] +name = "parking_lot" +version = "0.12.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" +dependencies = [ + "lock_api", + "parking_lot_core", +] + +[[package]] +name = "parking_lot_core" +version = "0.9.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" +dependencies = [ + "cfg-if", + "libc", + "redox_syscall", + "smallvec", + "windows-link", +] + +[[package]] +name = "pastey" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ee67f1008b1ba2321834326597b8e186293b049a023cdef258527550b9935b4" + +[[package]] +name = "pin-project-lite" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" + +[[package]] +name = "pkg-config" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548" + +[[package]] +name = "polling" +version = "3.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d0e4f59085d47d8241c88ead0f274e8a0cb551f3625263c05eb8dd897c34218" +dependencies = [ + "cfg-if", + "concurrent-queue", + "hermit-abi", + "pin-project-lite", + "rustix 1.1.5", + "windows-sys 0.61.2", +] + +[[package]] +name = "polyval" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d1fe60d06143b2430aa532c94cfe9e29783047f06c0d7fd359a9a51b729fa25" +dependencies = [ + "cfg-if", + "cpufeatures 0.2.17", + "opaque-debug", + "universal-hash", +] + +[[package]] +name = "potential_utf" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d83eb9bc6d8e5cf568e7a1101d60ee05e81ed50ea106026f3d18deeb046d7661" +dependencies = [ + "serde_core", + "writeable", + "zerovec", +] + +[[package]] +name = "powerfmt" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a6394b9e965e73d0a289ee54f589087e2c676aedf60885baf52c76b771e4958" + +[[package]] +name = "ppv-lite86" +version = "0.2.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" +dependencies = [ + "zerocopy", +] + +[[package]] +name = "prettyplease" +version = "0.2.37" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b" +dependencies = [ + "proc-macro2", + "syn 2.0.119", +] + +[[package]] +name = "prettyplease" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2bfe0f4c752e450fc2faf62654f1c134747922825d5b04ca717b8874f41a40c0" +dependencies = [ + "proc-macro2", + "syn 3.0.8", +] + +[[package]] +name = "proc-macro2" +version = "1.0.107" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "prost" +version = "0.14.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "528ac67416ff8646872a3c02cad9cc4ee5dc9f9540c9b10771855c95cb2e5ae1" +dependencies = [ + "bytes", + "prost-derive", +] + +[[package]] +name = "prost-derive" +version = "0.14.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b570b25f7617e43d59005d0990ccb79e950a423952cea19671b7a876da390adf" +dependencies = [ + "anyhow", + "itertools 0.14.0", + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "quote" +version = "1.0.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "r-efi" +version = "5.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" + +[[package]] +name = "r-efi" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" + +[[package]] +name = "radium" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" + +[[package]] +name = "rand" +version = "0.8.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e058c7de0b26af77780c769414d6257830bb240f3c38477dbc2c16e5f54d6d4c" +dependencies = [ + "libc", + "rand_chacha 0.3.1", + "rand_core 0.6.4", +] + +[[package]] +name = "rand" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9ef1d0d795eb7d84685bca4f72f3649f064e6641543d3a8c415898726a57b41" +dependencies = [ + "rand_chacha 0.9.0", + "rand_core 0.9.5", +] + +[[package]] +name = "rand" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65c9fb96cbc91e3478eaae79a69fcd3f1ae4ad052e471fe6732fff548984b4af" +dependencies = [ + "chacha20", + "getrandom 0.4.3", + "rand_core 0.10.1", +] + +[[package]] +name = "rand_chacha" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +dependencies = [ + "ppv-lite86", + "rand_core 0.6.4", +] + +[[package]] +name = "rand_chacha" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" +dependencies = [ + "ppv-lite86", + "rand_core 0.9.5", +] + +[[package]] +name = "rand_core" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +dependencies = [ + "getrandom 0.2.17", +] + +[[package]] +name = "rand_core" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c" +dependencies = [ + "getrandom 0.3.4", +] + +[[package]] +name = "rand_core" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" + +[[package]] +name = "rand_pcg" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59cad018caf63deb318e5a4586d99a24424a364f40f1e5778c29aca23f4fc73e" +dependencies = [ + "rand_core 0.6.4", +] + +[[package]] +name = "rapidhash" +version = "4.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5da7e78a036ce858e8d55b7e7dc8ba3a88b78350fd2155d3591bbd966b58589e" +dependencies = [ + "rustversion", +] + +[[package]] +name = "rayon" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb39b166781f92d482534ef4b4b1b2568f42613b53e5b6c160e24cfbfa30926d" +dependencies = [ + "either", + "rayon-core", +] + +[[package]] +name = "rayon-core" +version = "1.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91" +dependencies = [ + "crossbeam-deque", + "crossbeam-utils", +] + +[[package]] +name = "redox_syscall" +version = "0.5.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" +dependencies = [ + "bitflags", +] + +[[package]] +name = "regex" +version = "1.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.4.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.8.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" + +[[package]] +name = "roaring" +version = "0.11.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "18bd8a37d17a58532776dcdf6041ce64929adca78e8489d5cacbafe99229d3e1" +dependencies = [ + "bytemuck", + "byteorder", +] + +[[package]] +name = "rust-stemmers" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e46a2036019fdb888131db7a4c847a1063a7493f971ed94ea82c67eada63ca54" +dependencies = [ + "serde", + "serde_derive", +] + +[[package]] +name = "rustc-hash" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" + +[[package]] +name = "rustc-hash" +version = "2.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d" + +[[package]] +name = "rustc_version" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" +dependencies = [ + "semver", +] + +[[package]] +name = "rustc_version_runtime" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2dd18cd2bae1820af0b6ad5e54f4a51d0f3fcc53b05f845675074efcc7af071d" +dependencies = [ + "rustc_version", + "semver", +] + +[[package]] +name = "rustix" +version = "0.38.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154" +dependencies = [ + "bitflags", + "errno", + "libc", + "linux-raw-sys 0.4.15", + "windows-sys 0.59.0", +] + +[[package]] +name = "rustix" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "891efababe418670775f199f0d233d84843c227a0949a883ce15b37c78d6629d" +dependencies = [ + "bitflags", + "errno", + "libc", + "linux-raw-sys 0.12.1", + "windows-sys 0.61.2", +] + +[[package]] +name = "rustversion" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f" + +[[package]] +name = "ryu" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f" + +[[package]] +name = "scoped-tls" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294" + +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + +[[package]] +name = "semver" +version = "1.0.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd" + +[[package]] +name = "serde" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba" +dependencies = [ + "serde_core", + "serde_derive", +] + +[[package]] +name = "serde_core" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.8", +] + +[[package]] +name = "serde_json" +version = "1.0.154" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6" +dependencies = [ + "itoa", + "memchr", + "serde", + "serde_core", + "zmij", +] + +[[package]] +name = "sha1_smol" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbfa15b3dddfee50a0fff136974b3e1bde555604ba463834a7eb7deb6417705d" + +[[package]] +name = "sharded-slab" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" +dependencies = [ + "lazy_static", +] + +[[package]] +name = "shlex" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" + +[[package]] +name = "shlex" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba" + +[[package]] +name = "shuttle" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ab17edba38d63047f46780cf7360acf7467fec2c048928689a5c1dd1c2b4e31" +dependencies = [ + "assoc", + "bitvec", + "cfg-if", + "generator", + "hex", + "owo-colors", + "rand 0.8.8", + "rand_core 0.6.4", + "rand_pcg", + "scoped-tls", + "smallvec", + "tracing", +] + +[[package]] +name = "simdutf8" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e" + +[[package]] +name = "simsimd" +version = "6.5.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4fb3bc3cdce07a7d7d4caa4c54f8aa967f6be41690482b54b24100a2253fa70" +dependencies = [ + "cc", +] + +[[package]] +name = "siphasher" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33f4fe9184a62d842c9ef383018f3306d8ba224fd9d836f56d7288308847c256" + +[[package]] +name = "sketches-ddsketch" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "513c3f5f732bfd6fbb187619c2dfe9d2f25f1a2976f01d575f0fd329d565df56" +dependencies = [ + "serde", +] + +[[package]] +name = "slab" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" + +[[package]] +name = "smallvec" +version = "1.16.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b3dc8af474f516a851ff4bd12db780f948b9250ad37211e4eec0bccea54e01b" + +[[package]] +name = "softaes" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4fdfe13e1c42e45f497416afb8dc4e783bf0e25b7be9077c1c77c5fb14cb998" + +[[package]] +name = "stable_deref_trait" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" + +[[package]] +name = "strsim" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" + +[[package]] +name = "strum" +version = "0.26.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06" +dependencies = [ + "strum_macros", +] + +[[package]] +name = "strum_macros" +version = "0.26.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "rustversion", + "syn 2.0.119", +] + +[[package]] +name = "subtle" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" + +[[package]] +name = "symlink" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7973cce6668464ea31f176d85b13c7ab3bba2cb3b77a2ed26abd7801688010a" + +[[package]] +name = "syn" +version = "2.0.119" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "3.0.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01016da373cd8f7ef12624f796309f5c31ba8d646dd08856c02cd741d823c622" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "synstructure" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "901704edd0dfe137f1987838ee4f259e4e063c31371bdb423f7ae38ec6f77f02" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.8", +] + +[[package]] +name = "tantivy" +version = "0.26.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "861facfabd71044968f364837f9a083b56464ba5a59079f88706ee5c451ca069" +dependencies = [ + "aho-corasick", + "arc-swap", + "base64", + "bitpacking", + "bon", + "byteorder", + "census", + "crc32fast", + "crossbeam-channel", + "datasketches", + "downcast-rs", + "fastdivide", + "fnv", + "fs4", + "htmlescape", + "itertools 0.14.0", + "levenshtein_automata", + "log", + "lru", + "lz4_flex", + "measure_time", + "memmap2", + "once_cell", + "oneshot", + "rayon", + "regex", + "rust-stemmers", + "rustc-hash 2.1.3", + "serde", + "serde_json", + "sketches-ddsketch", + "smallvec", + "tantivy-bitpacker", + "tantivy-columnar", + "tantivy-common", + "tantivy-fst", + "tantivy-query-grammar", + "tantivy-stacker", + "tantivy-tokenizer-api", + "tempfile", + "thiserror", + "time", + "typetag", + "uuid", + "winapi", +] + +[[package]] +name = "tantivy-bitpacker" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fed3d674429bcd2de5d0a6d1aa5495fed8afd9c5ecce993019caf7615f53fa4" +dependencies = [ + "bitpacking", +] + +[[package]] +name = "tantivy-columnar" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c57166f5bcfd478f370ab8445afb4678dce44801fa5ce5c451aaf8595583c5dc" +dependencies = [ + "downcast-rs", + "fastdivide", + "itertools 0.14.0", + "serde", + "tantivy-bitpacker", + "tantivy-common", + "tantivy-sstable", + "tantivy-stacker", +] + +[[package]] +name = "tantivy-common" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbf10915aa75da3c3b0d58b58853d2e889efbaf32d4982a4c3715dde6bba23e5" +dependencies = [ + "async-trait", + "byteorder", + "ownedbytes", + "serde", + "time", +] + +[[package]] +name = "tantivy-fst" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d60769b80ad7953d8a7b2c70cdfe722bbcdcac6bccc8ac934c40c034d866fc18" +dependencies = [ + "byteorder", + "regex-syntax", + "utf8-ranges", +] + +[[package]] +name = "tantivy-query-grammar" +version = "0.26.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfadb8526b6da90704feb293b0701a6aae62ea14983143344be2dc5ce30f1d82" +dependencies = [ + "fnv", + "nom", + "ordered-float", + "serde", + "serde_json", +] + +[[package]] +name = "tantivy-sstable" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a2cfc3ac5164cbadc28965ffb145a8f47582a60ae5897859ad8d4316596c606" +dependencies = [ + "futures-util", + "itertools 0.14.0", + "tantivy-bitpacker", + "tantivy-common", + "tantivy-fst", + "zstd", +] + +[[package]] +name = "tantivy-stacker" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6cbb051742da9d53ca9e8fff43a9b10e319338b24e2c0e15d0372df19ffeb951" +dependencies = [ + "murmurhash32", + "tantivy-common", +] + +[[package]] +name = "tantivy-tokenizer-api" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eac258c2c6390673f2685813afeeafcb8c4e0ee7de8dd3fc46838dcc37263f98" +dependencies = [ + "serde", +] + +[[package]] +name = "tap" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" + +[[package]] +name = "tempfile" +version = "3.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" +dependencies = [ + "fastrand", + "getrandom 0.4.3", + "once_cell", + "rustix 1.1.5", + "windows-sys 0.61.2", +] + +[[package]] +name = "thiserror" +version = "2.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e" +dependencies = [ + "thiserror-impl", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.8", +] + +[[package]] +name = "thread_local" +version = "1.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ad99c4c6d32803332c548b1af0540b357b3f5fc0be8f6c6bfe8b2e6ae784070" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "time" +version = "0.3.55" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdb87b95ec50ddfa440816d227a17b2ccbdda963a316a727fda0fc4334f7d134" +dependencies = [ + "deranged", + "num-conv", + "powerfmt", + "serde_core", + "time-core", + "time-macros", +] + +[[package]] +name = "time-core" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e1c906769ad99c88eaa54e728060edef082f8e358ff32030cb7c7d315e81109" + +[[package]] +name = "time-macros" +version = "0.2.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e689342a48d2ea927c87ea50cabf8594854bf940e9310208848d680d668ed85" +dependencies = [ + "num-conv", + "time-core", +] + +[[package]] +name = "tinystr" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1e27c91459209c2986af3dcf603a5a74a4368754ce37414f59acc971167f643" +dependencies = [ + "displaydoc", + "serde_core", + "zerovec", +] + +[[package]] +name = "tracing" +version = "0.1.44" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100" +dependencies = [ + "pin-project-lite", + "tracing-attributes", + "tracing-core", +] + +[[package]] +name = "tracing-appender" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "050686193eb999b4bb3bc2acfa891a13da00f79734704c4b8b4ef1a10b368a3c" +dependencies = [ + "crossbeam-channel", + "symlink", + "thiserror", + "time", + "tracing-subscriber", +] + +[[package]] +name = "tracing-attributes" +version = "0.1.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "tracing-core" +version = "0.1.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a" +dependencies = [ + "once_cell", + "valuable", +] + +[[package]] +name = "tracing-log" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" +dependencies = [ + "log", + "once_cell", + "tracing-core", +] + +[[package]] +name = "tracing-subscriber" +version = "0.3.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb7f578e5945fb242538965c2d0b04418d38ec25c79d160cd279bf0731c8d319" +dependencies = [ + "matchers", + "nu-ansi-term", + "once_cell", + "regex-automata", + "sharded-slab", + "smallvec", + "thread_local", + "tracing", + "tracing-core", + "tracing-log", +] + +[[package]] +name = "turso" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2ebd8a76c2b005a9f42de15e0fe232cd9c17d7c8acb571ddfa294e6c9fa1e44" +dependencies = [ + "mimalloc", + "thiserror", + "tracing", + "tracing-subscriber", + "turso_core", + "turso_sdk_kit", + "turso_sync_sdk_kit", +] + +[[package]] +name = "turso_core" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fa832d4ab648bf139f1b18b29bef6d653b18fbd4a77b0e4846c57aaf28c215c" +dependencies = [ + "aegis", + "aes", + "aes-gcm", + "allocator-api2 0.4.0", + "antithesis_sdk", + "arc-swap", + "aristo", + "bigdecimal", + "bitflags", + "branches", + "bumpalo", + "bytemuck", + "cfg_aliases", + "cfg_block", + "chrono", + "crc32c", + "crc32fast", + "crossbeam-epoch", + "crossbeam-utils", + "either", + "fallible-iterator", + "fastbloom", + "getrandom 0.2.17", + "getrandom 0.3.4", + "hex", + "icu_collator", + "icu_locale", + "intrusive-collections", + "io-uring", + "libc", + "libloading", + "libm", + "loom", + "miette", + "num-bigint", + "num-traits", + "pack1", + "parking_lot", + "pastey", + "polling", + "rand 0.9.5", + "rapidhash", + "regex", + "regex-syntax", + "roaring", + "rustc-hash 2.1.3", + "rustix 1.1.5", + "ryu", + "serde_json", + "shuttle", + "simdutf8", + "simsimd", + "smallvec", + "strum", + "strum_macros", + "tantivy", + "tempfile", + "thiserror", + "tracing", + "tracing-subscriber", + "turso_ext", + "turso_macros", + "turso_parser", + "twox-hash", + "uncased", + "uuid", + "windows-sys 0.61.2", +] + +[[package]] +name = "turso_ext" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "07d9b915ee3c37d552597b07c05c127702a926ca0eac8843f248d693f4368155" +dependencies = [ + "chrono", + "getrandom 0.4.3", + "turso_macros", +] + +[[package]] +name = "turso_macros" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "476aa46d793a8aaae6d7a12f591d85eff039129264b1d441586528c88c3feacd" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "turso_parser" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e03bf6489a80da2e9bf08f22d0b8af4eb391dfa5e6f71e787031cd61a921a3c" +dependencies = [ + "bitflags", + "memchr", + "miette", + "strum", + "strum_macros", + "thiserror", + "turso_macros", +] + +[[package]] +name = "turso_sdk_kit" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7893b565a3405c8f44c97b6008bed55314535514c2536db1aaf2bb9b687705a" +dependencies = [ + "bindgen", + "env_logger", + "parking_lot", + "tracing", + "tracing-appender", + "tracing-subscriber", + "turso_core", + "turso_ext", + "turso_sdk_kit_macros", +] + +[[package]] +name = "turso_sdk_kit_macros" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af97d8302c41404272bb6e3612abe61f604acd23a2062fde52249641007c59ff" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "turso_sync_engine" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f188ee2458899c017b95d1d100b87b2a22628a48b9a8e91e753006af6e8fd391" +dependencies = [ + "base64", + "bytes", + "crc32c", + "genawaiter", + "http", + "libc", + "prost", + "roaring", + "serde", + "serde_json", + "thiserror", + "tracing", + "turso_core", + "turso_parser", + "uuid", +] + +[[package]] +name = "turso_sync_sdk_kit" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28e1232dce3a4e517db5ba5e9767b0703676a7f59270ed4f5d0118000120b9b0" +dependencies = [ + "bindgen", + "env_logger", + "genawaiter", + "parking_lot", + "tracing", + "tracing-appender", + "tracing-subscriber", + "turso_core", + "turso_sdk_kit", + "turso_sdk_kit_macros", + "turso_sync_engine", +] + +[[package]] +name = "twox-hash" +version = "2.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86a801b3cea342a06d468c8710662aa29e5e05e4f5c0d62f00bbb7f2ad7941c2" +dependencies = [ + "rand 0.10.3", +] + +[[package]] +name = "typeid" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc7d623258602320d5c55d1bc22793b57daff0ec7efc270ea7d55ce1d5f5471c" + +[[package]] +name = "typenum" +version = "1.20.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" + +[[package]] +name = "typetag" +version = "0.2.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c90e86058a30d42a1a928dfb4b49bb33c98c3a2b4909492e6b0881cd94798ec2" +dependencies = [ + "erased-serde", + "inventory", + "once_cell", + "serde", + "typetag-impl", +] + +[[package]] +name = "typetag-impl" +version = "0.2.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f153acc4e99a5f2a5aefa09fb078be54e26271b2813f6041200b224c098d8328" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.8", +] + +[[package]] +name = "uncased" +version = "0.9.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1b88fcfe09e89d3866a5c11019378088af2d24c3fbd4f0543f96b479ec90697" +dependencies = [ + "version_check", +] + +[[package]] +name = "unicode-ident" +version = "1.0.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d245f478577f809a851594d02313b640fb437e0bb33866753cff937863096954" + +[[package]] +name = "unicode-width" +version = "0.1.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af" + +[[package]] +name = "universal-hash" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea" +dependencies = [ + "crypto-common", + "subtle", +] + +[[package]] +name = "utf16_iter" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246" + +[[package]] +name = "utf8-ranges" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7fcfc827f90e53a02eaef5e535ee14266c1d569214c6aa70133a624d8a3164ba" + +[[package]] +name = "utf8_iter" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" + +[[package]] +name = "uuid" +version = "1.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7cc1186384beb7dd8eedea376413fd654937285ea6c9cfbb928dc3043ea4b606" +dependencies = [ + "getrandom 0.4.3", + "js-sys", + "serde_core", + "sha1_smol", + "wasm-bindgen", +] + +[[package]] +name = "valuable" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" + +[[package]] +name = "version_check" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" + +[[package]] +name = "wasi" +version = "0.11.1+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" + +[[package]] +name = "wasip2" +version = "1.0.4+wasi-0.2.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b67efb37e106e55ce722a510d6b5f9c17f083e5fc79afc2badeb12cc313d9487" +dependencies = [ + "wit-bindgen", +] + +[[package]] +name = "wasm-bindgen" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9bb54f33acc68fd454578d9820b0bde1a1a3d17aa17bb7b6595806d02886d409" +dependencies = [ + "cfg-if", + "once_cell", + "rustversion", + "wasm-bindgen-macro", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e29d0c35b16e224a7eeb5cd2d25e3e1968fbd65604117b44d3b789d00ee8535" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f501a8bc3719dba86ef8ae4728879c08001bea749eb1333ac5b91e040e2a6b7" +dependencies = [ + "bumpalo", + "proc-macro2", + "quote", + "syn 3.0.8", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.129" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23f0c9c52aa7cd7d77769a4cfe2a9adb1b331f489a41d912ce14513d5ab995c6" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "which" +version = "4.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7" +dependencies = [ + "either", + "home", + "once_cell", + "rustix 0.38.44", +] + +[[package]] +name = "winapi" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +dependencies = [ + "winapi-i686-pc-windows-gnu", + "winapi-x86_64-pc-windows-gnu", +] + +[[package]] +name = "winapi-i686-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" + +[[package]] +name = "winapi-x86_64-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" + +[[package]] +name = "windows-core" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" +dependencies = [ + "windows-implement", + "windows-interface", + "windows-link", + "windows-result", + "windows-strings", +] + +[[package]] +name = "windows-implement" +version = "0.60.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "windows-interface" +version = "0.59.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + +[[package]] +name = "windows-result" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-strings" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-sys" +version = "0.59.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" +dependencies = [ + "windows-targets", +] + +[[package]] +name = "windows-sys" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-targets" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" +dependencies = [ + "windows_aarch64_gnullvm", + "windows_aarch64_msvc", + "windows_i686_gnu", + "windows_i686_gnullvm", + "windows_i686_msvc", + "windows_x86_64_gnu", + "windows_x86_64_gnullvm", + "windows_x86_64_msvc", +] + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" + +[[package]] +name = "windows_i686_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" + +[[package]] +name = "windows_i686_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" + +[[package]] +name = "windows_i686_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" + +[[package]] +name = "wit-bindgen" +version = "0.57.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e" + +[[package]] +name = "write16" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936" + +[[package]] +name = "writeable" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc" + +[[package]] +name = "wyz" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed" +dependencies = [ + "tap", +] + +[[package]] +name = "yoke" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5" +dependencies = [ + "stable_deref_trait", + "yoke-derive", + "zerofrom", +] + +[[package]] +name = "yoke-derive" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec8ebde2db3681e8c9980cc27822030e68752690ddfa9473e739aeb4dbde6d71" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.8", + "synstructure", +] + +[[package]] +name = "zerocopy" +version = "0.8.62" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86502bf56ac7c77571a32e2647bb2a15894565e981fb2a48d7bde2d91c965a9d" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.8.62" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5457206954b06561e2608c7e19cf58b1926586d999c246eebe4502f7e2039d1a" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "zerofrom" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272" +dependencies = [ + "zerofrom-derive", +] + +[[package]] +name = "zerofrom-derive" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f75b4683f6c7f45248d4d64056a24298c6281e0993356d7d1b4a1a962ef10d4a" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.8", + "synstructure", +] + +[[package]] +name = "zerotrie" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ea269c3bd32f0a32c321907a2ae912ba6f4649bb0fc764a15627e99a7095a3f" +dependencies = [ + "displaydoc", + "yoke", + "zerofrom", + "zerovec", +] + +[[package]] +name = "zerovec" +version = "0.11.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb0464e17806c1d976d5cba29399c7f08e516e279e2ba493f63123b5fca67dd8" +dependencies = [ + "serde", + "yoke", + "zerofrom", + "zerovec-derive", +] + +[[package]] +name = "zerovec-derive" +version = "0.11.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34df6fc39dbd26ddc9c10e6a2984476e13acce22e64e4487636ef494369225da" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.8", +] + +[[package]] +name = "zmij" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b" + +[[package]] +name = "zstd" +version = "0.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e91ee311a569c327171651566e07972200e76fcfe2242a4fa446149a3881c08a" +dependencies = [ + "zstd-safe", +] + +[[package]] +name = "zstd-safe" +version = "7.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64d80649ab6db9d9f6f9c80a40becd948eda4714a0a5ac8c4d157a32231c7882" +dependencies = [ + "zstd-sys", +] + +[[package]] +name = "zstd-sys" +version = "2.1.1+zstd.1.5.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aeec9eaf2dffbbd09201e23bd0ffcbaa33bb8e9266a10734fd7ed90a85eca078" +dependencies = [ + "cc", + "pkg-config", +] diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/turso/dep-count-default/Cargo.toml b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/turso/dep-count-default/Cargo.toml new file mode 100644 index 0000000000..328ec898fd --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/turso/dep-count-default/Cargo.toml @@ -0,0 +1,10 @@ +[package] +name = "dep-count-default" +version = "0.0.0" +edition = "2021" +publish = false + +[workspace] + +[dependencies] +turso = "=0.8.2" diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/turso/dep-count-default/src/lib.rs b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/turso/dep-count-default/src/lib.rs new file mode 100644 index 0000000000..e69de29bb2 diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/turso/run-all.sh b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/turso/run-all.sh new file mode 100755 index 0000000000..d7bffbda7a --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/turso/run-all.sh @@ -0,0 +1,35 @@ +#!/usr/bin/env bash +# Session 2 measurements: the three stores in one session, one binary, one load window +# (as far as the shared machine allows). Outputs go to s6-index/run/results/*-session2.txt. +set -u +export RUSTUP_TOOLCHAIN=1.97.0 +cd "$(dirname "$0")/s6-index" || exit 1 +B=./target/release/s6-index +R=run/results +mark() { echo "--- $1 | $(date -u +%H:%M:%S) | $(uptime)"; } + +{ + mark "start" + echo "nproc=$(nproc) mem=$(free -g | awk '/Mem:/{print $2" GiB total"}')" + echo "binary: $(sha256sum $B | cut -c1-16) cargo=$(rustup which --toolchain 1.97.0 cargo)" + for s in redb sqlite turso; do + mark "bench $s" + ( time $B bench $s run/bench-$s 200000 ) 2>&1 + echo "exit=$?" + echo "files after close:"; ls -l run/bench-$s/ | tail -n +2 + done + mark "compact redb (same file as the bench)" + $B compact-redb run/bench-redb/index-redb.db 2>&1 + for s in redb sqlite turso; do + mark "durability $s 20 trials" + $B durable-test $s 20 run/durability-$s 2>&1 + done + mark "concurrency (redb, sqlite; S6 orchestrator)" + $B concurrency run/concurrency-session2 2>&1 + mark "turso concurrency" + $B turso-concurrency run/conc-turso 2>&1 + mark "turso multiprocess WAL, two writers" + $B turso-mp-test run/mp-turso 2>&1 + mark "done" +} > $R/session2-all.txt 2>&1 +echo "finished $(date -u +%FT%TZ)" >> $R/session2-all.txt diff --git a/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/turso/run-session2b.sh b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/turso/run-session2b.sh new file mode 100755 index 0000000000..51bf4f98bd --- /dev/null +++ b/doc/2026-10-11T11-08-42Z_design_remaining_work/research-round2/turso/run-session2b.sh @@ -0,0 +1,34 @@ +#!/usr/bin/env bash +# Session 2b: the final binary, every step under its own timeout. The Turso WITHOUT ROWID +# bench is not repeated at 200k: its planner scans every lookup (see turso-plan), and the +# first attempt stalled. Its numbers come from the stress run and turso-plan. +set -u +export RUSTUP_TOOLCHAIN=1.97.0 +cd "$(dirname "$0")/s6-index" || exit 1 +B=./target/release/s6-index +R=run/results +mark() { echo "--- $1 | $(date -u +%H:%M:%S)Z | $(uptime)"; } +step() { # step