Skip to content

IVNP v0.10.6

Choose a tag to compare

@github-actions github-actions released this 02 Dec 04:51
· 6 commits to main since this release
v0.10.6
bd5142c

IVNP v0.10.6

IVNP v0.10.6 aligns both VTLS (TCP) and VQUIC (UDP) wire fingerprints to live Google Chrome 158 (BoringSSL / QUICHE) captures locked by deterministic golden JA4 tests, introduces dedicated-network (netId != 2) high-throughput defaults across VQUIC, SSU2, VTLS, and Streaming without changing public I2P (netId == 2) defaults or wire compatibility, hardens dedicated reseed and small-mesh peer filtering, and fixes three high-load data-plane protocol bugs.

What changed

Chrome 158 Wire Fingerprint Alignment & Golden Verification (veil, vtls, vquic, SharedPortMux)

  • VTLS Chrome 158 TLS 1.3 ClientHello & server flight (dataplane/internal/transport/veil/tls13.go, dataplane/internal/transport/vtls/{handshake.go,record.go}): Emits exact canonical FoxIO JA4 t13d1517h2_8daaf6152771_cb7bf5808d99 across randomized per-connection GREASE and BoringSSL middle-extension permutations, including real FIPS 203 X25519MLKEM768 (0x11ec, 1184B ML-KEM-768 encapsulation key + 32B X25519 key share), application_settings ALPS (0x44cd), trust_anchors (0xca34), ECH GREASE (0xfe0d, 186/218/250B), and Chrome 158 signature_algorithms (omitting ed25519). Servers sign bound X.509 certificates with ECDSA P-256 (0x0403) by default while preserving automatic Ed25519 fallback for legacy v0.10.5 peers, coalesce ClientHello, ServerHello + CCS + EncryptedFlight, and CCS + ClientFinished into single TCP writes, and preserve 16,383-byte TLS 1.3 ApplicationData records.
  • VQUIC Chrome 158 QUIC v1 Initial flight & transport parameters (dataplane/internal/transport/vquic/{crypto.go,handshake.go,packet.go,initial_reassembly.go}): Emits exact canonical FoxIO JA4 q13d0312h3_55b375c5d22e_178839b6cec1 split across two 1250-byte Initial UDP datagrams (PN = 1, 2, DCID = 8B, SCID = 0B, empty legacy_session_id, no TLS GREASE, X25519MLKEM768, ALPS 0x44cd, 0xca34, 0xfe0d) carrying Chrome 158's 13 shuffled QUIC transport parameters (0x01, 0x03=1472, 0x04=15MiB, 0x05..0x07=6MiB, 0x08=100, 0x09=103, 0x0f, 0x11 RFC 9368 version info, 0x20=65536, 0x3128="ORIG", and RFC 9000 GREASE TP). Added bounded vquic.InitialAssembler (64 entries, 4096B cap, 5s TTL, out-of-order reassembly, verbatim multi-packet active-probe fallback), ECDSA P-256 bound certs with legacy single-packet SCID = 8B / Ed25519 interoperability, zero-allocation variable-length DCID Short Header helpers, and exclusive SharedPortMux 0-byte-DCID remote claiming (ClaimVQUICZeroCIDRemote) with automatic 8-byte-SCID fallback on overlapping multi-netId 4-tuples.
  • Golden JA4 & wire regression suite (veil/ja4.go, {veil,vtls,vquic}/chrome_golden_test.go): Added canonical FoxIO veil.ComputeJA4 and locked Chrome 158 TCP/QUIC JA4, ML-KEM-768 key validity, 13 QUIC transport parameters, 1250B x 2 Initial shape, SCID = 0, 16,383B VTLS record framing, and legacy v0.10.5 interop into PR CI golden tests.

Dedicated-Network High-Throughput Defaults & Protocol Fixes (netId != 2)

  • VQUIC WAN reliability & queueing (dataplane/internal/router/vquic_manager.go): Seeded session RTT from handshake RTT, aligned PTO calculation to RFC 9002 (333ms initial RTT, 8ms floor, 4ms max_ack_delay, single-packet first PTO probe before CWND reduction), added WAN micro-burst pacing (srtt >= 15ms), split non-bulk control/probe I2NP frames onto a priorityFrames lane ahead of BDP-bounded bulk pendingFrames, and sharded Short Header authLoop ingress deterministically by remote endpoint.
  • SSU2 dedicated profile & high-load bug fixes (dataplane/internal/transport/ssu2/ack.go, dataplane/internal/router/ssu2_manager.go): Fixed an off-by-one in MarshalACKRanges that emitted 65 ACK ranges (> MaxACKRanges = 64) after 16,321 packets and locked up long-lived sessions; eliminated a borrowDispatchBatch deadlock on saturated 64-batch pools by scaling to lazy 512-entry queues with non-blocking tail-drop while keeping BlockACK processing alive; sharded authQueues by DestinationID; and enabled a dedicated-network (netId != 2) fast reliability profile (16 x MTU initial window, 400ms initial RTO, 50ms RTO floor, 0.7 gentle backoff, wakeRetransmit()), leaving public I2P (netId == 2) defaults unchanged.
  • VTLS backpressure & Streaming fast profile (dataplane/internal/transport/vtls/session.go, dataplane/internal/streaming/{reliability.go,tunnel/tunnel.go}): Tightened VTLS userspace write buffering (64 frames / 512 KiB, maxBatchRecords = 1) to eliminate TCP bufferbloat; added DedicatedStreamingProfile() (InitialWindow = 32, WideRTOMargin, gentle first-retry FastRecovery), a dedicated ackDeliveryQueues lane, and a lastAckAdvanceNano guard preventing false ReportRouteSilent teardowns on live routes while preserving deterministic blackhole detection.
  • Dedicated peer hygiene, dial resilience & control-plane isolation (cmd/ivnp-reseed/dedicated.go, controlplane/internal/tunnel/{netdb_source.go,build_manager.go,paired_maintenance.go,pool.go}, controlplane/internal/router/{transport_mux.go,runtime.go}): Filtered unroutable/stale (> 24h) peers and added live TCP reachability probing in ivnp-reseed dedicated stores, fixed a selectDiverseHops livelock on small meshes, raised transportPeerSetupTimeout to 14s (making shared setup deadline expiry terminal instead of spinning) and raced fallback transport candidates in pairs, offloaded participating transit tunnel build forwarding/replies off the serial ControlQueue onto a bounded Router worker pool so dead next-hop peers cannot head-of-line block local control ingress, rotated outbound build reply routes across live inbound tunnels, and retired unresponsive relayed inbound reply tunnels after consecutive outbound build timeouts.

Downloads

Each binary archive contains the self-contained static ivnpd binary (including the embedded WebUI), LICENSE, and README.md.

Artifact Target platform Microarchitecture baseline
ivnpd-v0.10.6-linux-amd64.tar.gz Linux (x86_64) GOAMD64=v2
ivnpd-v0.10.6-linux-arm64.tar.gz Linux (arm64) GOARM64=v8.0
ivnpd-v0.10.6-darwin-amd64.tar.gz macOS Intel (x86_64) GOAMD64=v1
ivnpd-v0.10.6-darwin-arm64.tar.gz macOS Apple Silicon (arm64) GOARM64=v8.4
ivnpd-v0.10.6-windows-amd64.zip Windows (x86_64) GOAMD64=v2
ivnpd-v0.10.6-windows-arm64.zip Windows (arm64) GOARM64=v8.1
SHA256SUMS Checksum manifest SHA-256 digests for all release archives
ivnpd-v0.10.6.sigstore.json Offline Sigstore bundle SLSA v1.0 Build Level 2 provenance for all archives and SHA256SUMS

Reproducible build and checksum verification

Verify downloaded archives against SHA256SUMS:

sha256sum -c SHA256SUMS --ignore-missing
# On macOS:
grep ' ivnpd-v0.10.6-darwin-arm64.tar.gz$' SHA256SUMS | shasum -a 256 -c -

Reproduce any target binary locally from tag v0.10.6 using the pinned Go toolchain in go.mod:

git checkout v0.10.6
GOOS=linux GOARCH=amd64 ./scripts/repro-build.sh ./dist/ivnpd ./cmd/ivnpd

Full Changelog: v0.10.5...v0.10.6

Container images (GHCR, multi-arch linux/amd64 + linux/arm64)

Image Pinned digest SLSA v1.0 L2 attestation
ghcr.io/gosuda/ivnpd:v0.10.6 sha256:86acee44c59a1a538073274e77cca8655783b2d6b047bf33368df6aeb357bdd0 https://github.com/gosuda/IVNP/attestations/75017208
ghcr.io/gosuda/ivnp-reseed:v0.10.6 sha256:336bd8a4030fb329158ef4884d499a93309d244990a383c2eb29ab56ddba4896 https://github.com/gosuda/IVNP/attestations/75017233

Verify GHCR OCI image provenance before deploying:

gh attestation verify oci://ghcr.io/gosuda/ivnpd@sha256:86acee44c59a1a538073274e77cca8655783b2d6b047bf33368df6aeb357bdd0 \
  --repo gosuda/IVNP \
  --signer-workflow gosuda/IVNP/.github/workflows/release.yml \
  --source-ref refs/tags/v0.10.6 \
  --deny-self-hosted-runners

Build provenance attestation

GitHub Actions generated SLSA v1.0 Build Level 2 provenance for every release archive, SHA256SUMS, and GHCR OCI container image on GitHub-hosted runners.

Verify release archives online against GitHub attestations or offline with the attached Sigstore bundle:

gh attestation verify ivnpd-v0.10.6-linux-amd64.tar.gz \
  --bundle ivnpd-v0.10.6.sigstore.json \
  --repo gosuda/IVNP \
  --signer-workflow gosuda/IVNP/.github/workflows/release.yml \
  --source-ref refs/tags/v0.10.6 \
  --deny-self-hosted-runners