RELAYLINK

RelayLink v0.1.0-rc.18

This release ships opt-in P2P prefer-direct routing with automatic same-mode relay fallback (DES-011 / ADR-0043), fixes a WAN fallback cancellation race caught during cross-Pacific testing, and refreshes the bilingual product website and documentation on the custom domain https://relaylink.lazyworkshop.site/.

Changes

  • Added opt-in P2P prefer-direct transport with automatic same-mode relay fallback (DES-011 / ADR-0043): control protocol v5 introduces frames 42–52 (PeerDirectStart through PeerDirectClosed) and capability negotiation on Register / RegisterAccepted. Channels remain relayOnly by default, while authorizedClientsOnly=true raw TCP and unicast UDP channels may enable preferDirect—using socket-reusing QUIC 1.3 with pinned certificate fingerprints for encrypted paths or mutually authenticated ICE-TCP when encryption is explicitly off—backed by optional Server-hosted UDP STUN, strict IP-literal / private-CIDR / cross-session probe budgets, and zero-replay cancellation fallback to same-mode relay (HTTP(S) and automation loopback targets enforce relayOnly).
  • Added suspend-aware monotonic leases, SQLite quota recovery (direct_lease_occupancy), UI visibility, and WAN concurrency hardening: deduplicated direct traffic counters (reportSeq), conservative Server-restart quota recovery, AdminWeb/AgentWeb routing selectors, live Direct QUIC / Direct TCP badges, and transportPath audit records. Fixed an ObjectDisposedException race in PeerDirectAgentAttempt.CancelPreActive when remote cancel frames arrive over high-RTT WAN links during fallback.
  • Refreshed the bilingual product website and full documentation suite: redesigned homepage hero, interactive topology tabs, AI-guided Quick Start (install.md / install.zh-CN.md), and Open Graph assets; rewrote all 7 Guides and 16 Docs in both Chinese and native English with automated zero-CJK verification on all /en/ routes; and bound the public GitHub Pages site to https://relaylink.lazyworkshop.site/ (CNAME).

Upgrade and compatibility

  • Upgrade the Server before updating Agents. Control protocol v5 strips new direct-routing fields for legacy v3/v4 Agents so rc.1–rc.17 Agents remain compatible over relay; existing channels stay relayOnly unless preferDirect is explicitly enabled by an administrator.
  • Encrypted QUIC direct on Linux requires native libmsquic (if absent, Agents set peerDirectQuicReady=false automatically and fall back to relay or plaintext ICE-TCP when configured). Private-network direct probes require explicit peerDirect.allowedCidrs allowlists. Windows installers and macOS archives remain unsigned/unnotarized; verify SHA256SUMS before applying upgrades.

Verification scope

  • Local Release verification passed 404/404 unit tests (including PeerDirectTests covering STUN, probe budgets, suspend-aware leases, SQLite restart recovery, and concurrent cancel/dispose safety), 137/137 integration tests with EnablePeerTlsTests=true (covering the 8-combination QUIC/ICE-TCP x TCP/UDP x direct/fallback matrix, auth-failure zero-fallback, MaxConnections=1 restart quota retention, and live admin revocation), AdminWeb 20/20, AgentWeb 9/9, and full bilingual website generation/link checks.
  • Real cross-host validation passed on LAN (Windows <-> Ubuntu 24.04 with libmsquic 2.6.4) and public cloud WAN between Tokyo (Ubuntu 24.04) and Silicon Valley (Ubuntu 26.04, libmsquic 2.6.4) with no ephemeral high UDP ports opened—verifying cross-Pacific direct_quic TCP and unicast UDP (0/1/32769/65507 B), plaintext tk-p-tcp fallback, live admin revocation, and zero-crash encrypted-relay fallback from restricted/proxied NAT egress.
  • CI verification and final release binaries are produced by the CI (self-hosted) and Release workflows on the release commit; dual symmetric carrier NAT paths without cone UDP mapping automatically fall back to same-mode Server relay within the probe budget.

Release assets

  • Self-contained Server archives for Linux x64 and Windows x64.
  • Self-contained Agent archives for Linux x64, Intel macOS, and Apple Silicon macOS.
  • Windows x64 Agent program archives and unsigned installers for both self-contained and framework-dependent builds.
  • SHA256SUMS lists the SHA-256 digests for all nine downloads.

Repository source