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 (
PeerDirectStartthroughPeerDirectClosed) and capability negotiation onRegister/RegisterAccepted. Channels remainrelayOnlyby default, whileauthorizedClientsOnly=trueraw TCP and unicast UDP channels may enablepreferDirect—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 enforcerelayOnly). - 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, liveDirect QUIC/Direct TCPbadges, andtransportPathaudit records. Fixed anObjectDisposedExceptionrace inPeerDirectAgentAttempt.CancelPreActivewhen 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 tohttps://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.17Agents remain compatible over relay; existing channels stayrelayOnlyunlesspreferDirectis explicitly enabled by an administrator. - Encrypted QUIC direct on Linux requires native
libmsquic(if absent, Agents setpeerDirectQuicReady=falseautomatically and fall back to relay or plaintext ICE-TCP when configured). Private-network direct probes require explicitpeerDirect.allowedCidrsallowlists. Windows installers and macOS archives remain unsigned/unnotarized; verifySHA256SUMSbefore applying upgrades.
Verification scope
- Local Release verification passed 404/404 unit tests (including
PeerDirectTestscovering STUN, probe budgets, suspend-aware leases, SQLite restart recovery, and concurrent cancel/dispose safety), 137/137 integration tests withEnablePeerTlsTests=true(covering the 8-combination QUIC/ICE-TCP x TCP/UDP x direct/fallback matrix, auth-failure zero-fallback,MaxConnections=1restart 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-Pacificdirect_quicTCP and unicast UDP (0/1/32769/65507B), plaintexttk-p-tcpfallback, 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)andReleaseworkflows 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.
SHA256SUMSlists the SHA-256 digests for all nine downloads.