Repository navigation
IVNP v0.10.10
IVNP v0.10.10 fixes 29 production defects uncovered across 52-node real-socket ivnp_net (netId = 105) full-mesh chaos testing, 26-node race-detector runs, and 16-daemon multi-process ivnpd validation. The changes harden streaming half-close and RTO recovery, heterogeneous {NTCP2, SSU2, VTLS, VQUIC} routing and VQUIC queuing, participating transit forwarding, NetDB floodfill discovery, tunnel health probing, dedicated Garlic Ratchet tag windows, Veil observability, and graceful shutdown.
What changed
Streaming Reliability, Half-Close & Mid-Handshake Route Rotation (dataplane/internal/streaming, controlplane/internal/router)
- Fixed half-close reverse writes (
tunnel.go):Write()previously aborted withnet.ErrClosedoncec.peerClosedOKwas set. Checkingc.resetinstead preserves full-duplex half-close semantics (CloseWrite()followed by reverse response writes). - Fixed selective-ACK teardown race (
tunnel.go): Receiving an ACK coveringFlagClosewhile earlier data packets remained NACKed previously tore downc.pendingvia!c.hasPendingLocked(localCloseSequence). Checkingc.pendingCount == 0retains NACKed packets until every prior sequence is acknowledged. - Eliminated exponential RTO backoff stalls (
reliability.go,tunnel.go): AddedRTOEstimator.ResetBackoff()(RFC 6298 Section 5.3) to restore base Jacobson/Karels RTO whenever new data is acknowledged without feeding retransmitted RTT samples intoSRTT/RTTVAR, and addedRTOEstimator.BackoffCapped(6s)during active silent-route rotation. - Tuned
DedicatedStreamingProfile()(tunnel.go): Raised dedicatedMaxRetriesto10and loweredInitialRTOto1.5s(from the9spublic I2P default). - Added
FastHandshakeObserverandSilentRouteRotator(tunnel.go,route_control.go): InboundSYNbursts from peers with a confirmed usable route complete inline viaTryPreparedHandshakewithout hitting the 2-per-peer async preparation cap; unanswered outboundSYNs (syncRetries >= 3) and repeated duplicate inboundSYNs (syncRetries >= 2) rotate routes and refresh cached plaintext or blindedEncryptedLeaseSet2records within a single dial. - Sized dedicated Garlic Ratchet receive windows (
destination_runtime.go): Dedicated and direct throughput profiles configureInitialTagWindow = 256andTagLookahead = 1024(up from64/512) so burst loss and RTO retransmissions cannot overrun the initial tag window beforehighWatergrows.
Heterogeneous Transport Routing, VQUIC Queuing & Participating Transit (controlplane/internal/router, controlplane/internal/tunnel, dataplane/internal/router, dataplane/internal/tunnel)
- Added bounded async
TransitSessionConnector(transit_connector.go,dataplane/internal/tunnel/runtime.go): Participating transit hops (OBEP, participating IBGW, and intermediate relays) enqueueRouterErrSessionUnavailabledeliveries for bounded asynchronous dialing (8workers,64peers,256messages) strictly against peers already in local NetDB, without implicit DHT lookups or creator-path interference. - Enforced OBEP/IBGW transport compatibility (
netdb_source.go,route_control.go,direct_fallback.go):peerAllowedAtPositionenforcesendpointMaskeven for already-connected OBEP peers;selectOutboundFromCandidatespairs compatible(OBEP, IBGW)transports and never falls back to an incompatible pair once compatible routes are exhausted. - Added dead first-hop failover and immediate circuit eviction (
route_control.go,destination_runtime.go,client_destination.go):selectRoutePassprobesFirstHopinside the candidate loop, invokesOnOutboundUnreachableto penalize the dead peer, evict the broken outbound circuit, and wake tunnel maintenance immediately, fails over to surviving circuits in the same pass, and joinsTunnelErrCircuitNotFoundwith the dial error when all outbound circuits are dead soDialStreamwaits for replacement builds. - Hardened
VQUICManagerreassembly and dispatch (vquic_manager.go): Raised reassembly capacity (512messages /4 MiB,10sTTL) and per-worker queues (2048), classified bulkTunnelGateway(> 1024B) into the BDP-sized bulk queue instead of the bounded control queue, and prevented inline dispatch deadlocks inauthWorker. - Expanded retryable transport errors (
transport_mux.go):IsRetryableTransportErrornow classifiesnet.OpError{Op: "write"}withECONNREFUSED,ECONNRESET,EPIPE,EHOSTUNREACH, andENETUNREACHas retryable so unreachable UDP/TCP peers do not poisonController.err.
NetDB Discovery, Tunnel Health & Lifecycle Shutdown (controlplane/internal/netdb, controlplane/internal/tunnel, controlplane/internal/runtime)
- Fixed
RequestManagernon-floodfill DSR handling and fallback promotion (requests.go): Known non-floodfill referrals never receiveDatabaseLookup, fallback floodfills are promoted when primary candidates exhaust, and failedRouterInfoLookupcompletions clear stalerefreshingmarks on waiting lookups. - Added floodfill discovery to
Explorer(explorer.go,controller.go):ExploreralternatesRouterInfoLookupprobes withExplorationLookupwhile known floodfills stay belowMinFloodfillTarget, and dedicated profiles useIdleRouterTarget = max(MinRouters, 64)andIdleCheckInterval = 30s. - Fixed tunnel health retirement, pair coverage, and firewalled activity checks (
health.go,paired_maintenance.go,destination_runtime.go,controller.go):failExplicitno longer rolls back a dead tunnel whenstarted > 0orErrBuildPendingis returned; localSendBlockPreparedfailures penalize only outbound (inIncrement = 0).PairedPoolMaintainer.Pairstaggers inbound indices across outbound cycles so square pools probe every(outbound, inbound)combination.Health.pairActiveenables probing on unidirectional activity (outbound != 0 || inbound != 0), and dedicated firewalled destinations probe proactively (ProbeBeforeActivity = true,10scadence).
- Fixed shutdown stalls and lifecycle poisoning (
destination_publication.go,destination_runtime.go,controller.go,transport_mux.go,runtime.go): ScopeddestinationPublisherto its own cancelable context canceled beforeopGatedrain (cutting 52-node teardown from24sto< 30ms), canceledTransportMuxsetups duringRouter.stop(), skippedRefreshLocalLeaseSet()after close, and suppressed maintenance errors from destinations released mid-cycle.
Observability & Veil Telemetry (observability/internal/registry, dataplane/internal/router, dataplane/internal/tunnel, controlplane/internal/tunnel, controlplane/internal/runtime, cmd/ivnpd)
- Added VTLS and VQUIC session gauges (
registry.go,http.go,vtls_manager.go,vquic_manager.go,webui_api.go): Exposedivnp_transport_vtls_sessionsandivnp_transport_vquic_sessionsin Prometheus, included both inTransport.Sessions, reportedtransports.vtlsandtransports.vquicin WebUI/api/status, and stopped Veil-only nodes from reportingreachability = "disabled". - Fixed tunnel build and forwarding counters (
build_manager.go,dataplane/internal/tunnel/runtime.go,controller.go): WiredTunnelRuntimeConfig.MetricsinController, countedParticipatingForwardedacross IBGW, intermediate, and OBEP participating roles, and credited speculativeErrBuildPendingcompletions toBuildSuccesses.
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.10-linux-amd64.tar.gz |
Linux (x86_64) |
GOAMD64=v2 |
ivnpd-v0.10.10-linux-arm64.tar.gz |
Linux (arm64) |
GOARM64=v8.0 |
ivnpd-v0.10.10-darwin-amd64.tar.gz |
macOS Intel (x86_64) |
GOAMD64=v1 |
ivnpd-v0.10.10-darwin-arm64.tar.gz |
macOS Apple Silicon (arm64) |
GOARM64=v8.4 |
ivnpd-v0.10.10-windows-amd64.zip |
Windows (x86_64) |
GOAMD64=v2 |
ivnpd-v0.10.10-windows-arm64.zip |
Windows (arm64) |
GOARM64=v8.1 |
SHA256SUMS |
Checksum manifest | SHA-256 digests for all release archives |
ivnpd-v0.10.10.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.10-darwin-arm64.tar.gz$' SHA256SUMS | shasum -a 256 -c -Reproduce any target binary locally from tag v0.10.10 using the pinned Go toolchain in go.mod:
git checkout v0.10.10
GOOS=linux GOARCH=amd64 ./scripts/repro-build.sh ./dist/ivnpd ./cmd/ivnpdFull Changelog: v0.10.9...v0.10.10
Container images (GHCR, multi-arch linux/amd64 + linux/arm64)
| Image | Pinned digest | SLSA v1.0 L2 attestation |
|---|---|---|
ghcr.io/gosuda/ivnpd:v0.10.10 |
sha256:49df2ec22d8834efb25d2882b37df804b745287a0dd17e6b158068adbd602c2b |
https://github.com/gosuda/IVNP/attestations/75238060 |
ghcr.io/gosuda/ivnp-reseed:v0.10.10 |
sha256:8709dc90236a4956bcef6ba64b69658a5d5c1914c735130ee1de3a6a6a94b55d |
https://github.com/gosuda/IVNP/attestations/75238124 |
Verify GHCR OCI image provenance before deploying:
gh attestation verify oci://ghcr.io/gosuda/ivnpd@sha256:49df2ec22d8834efb25d2882b37df804b745287a0dd17e6b158068adbd602c2b \
--repo gosuda/IVNP \
--signer-workflow gosuda/IVNP/.github/workflows/release.yml \
--source-ref refs/tags/v0.10.10 \
--deny-self-hosted-runnersBuild 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.
- Release archive attestation record: https://github.com/gosuda/IVNP/attestations/75238410
- All repository attestations: https://github.com/gosuda/IVNP/attestations
- Offline Sigstore bundle:
ivnpd-v0.10.10.sigstore.json
Verify release archives online against GitHub attestations or offline with the attached Sigstore bundle:
gh attestation verify ivnpd-v0.10.10-linux-amd64.tar.gz \
--bundle ivnpd-v0.10.10.sigstore.json \
--repo gosuda/IVNP \
--signer-workflow gosuda/IVNP/.github/workflows/release.yml \
--source-ref refs/tags/v0.10.10 \
--deny-self-hosted-runners