Document ID: TST-001
Status: Active
Version: v1.37.0
Updated: 2026-11-29
This document records reproducible verification evidence within the repository. It does not replace the acceptance criteria in the Requirements Index, nor does it mark items not run in target environments as passed.
2026-11-29 Cross-Region Public Internet Testing & Fallback Concurrency Fix
Following the LAN and automated acceptance tests below, cross-region public-internet tests were completed across a Tokyo cloud host (Ubuntu 24.04.4, libmsquic 2.6.4, running Server + tokyo-target), a Silicon Valley cloud host (Ubuntu 26.04, libmsquic 2.6.4, running the RFC 8489 STUN responder + sv-agent), and a local Windows host (running win-caller through a local proxy egress). The test firewall allowed only /32 source addresses for control/data and 13478/udp STUN, without opening ephemeral high UDP ports, to verify real stateful firewall and NAT hole punching:
- Silicon Valley cloud host <-> Tokyo cloud host trans-Pacific direct connections & revocation:
W1(tk-q-tcp, encrypted QUIC TCP): Real trans-Pacific hole-punched direct connection succeeded (transport_path = 'direct_quic',encrypted = 1). STUN recorded the Tokyo cloud host's public reflexive UDP ports44282/48212/52207; 64 KiB random payload round-trip and half-close took1292.5 ms, with Server:17444relay counterpeerCiphertext = 0.W2(tk-q-udp, encrypted QUIC unicast UDP):0 / 1 / 32769 / 65507-byte datagrams completed zero-duplicate round-trips (transport_path = 'direct_quic',encrypted = 1,peerDirectBytes = 98277 / 98277; post-hole-punch 1-byte RTT107.6 ms, Server relay bytes0).W3(tk-p-tcp, plaintext channel without public inbound allowlist): Automatically fell back to plaintext relay (transport_path = 'relay',encrypted = 0, relayed65600 / 65568bytes,peerDirectOpenedTotal = 0).W4(real-time revocation): AdminDELETE /api/v1/admin/clients/tokyo-target/channels/tk-q-tcp/connections/...returned204(audit recordedadmin_disconnected); the Silicon Valley side immediately received peer reset (ConnectionResetError/Errno 104).
- Fallback concurrency race fix & regression verification:
- The initial public-internet run caught
PeerDirectAgentAttempt.CancelPreActivethrowingObjectDisposedExceptionunder high RTT after attempt cleanup/disposal, causing control connection reconnects. Thread-safedisposedandSafeCancelguards were added in PeerDirectAgentAttempt.cs, along with concurrency regression testDirect_agent_attempt_cancel_and_revoke_after_dispose_are_noopsin PeerDirectTests.cs. - Post-fix re-run: unit tests 404/404 (Release) and integration tests with
EnablePeerTlsTests=true137/137 (Release) all passed. - After updating all three endpoints, re-tested from the local Windows host behind the local proxy egress / NAT:
W5(local Windows host -> Silicon Valley cloud host TCP 64 KiB,10135.5 ms),W6(local Windows host -> Silicon Valley cloud host UDP0/1/32769/65507B), andW7(local Windows host -> Tokyo cloud host TCP 64 KiB,9611.9 ms). After direct UDP failed to traverse the proxy egress within the 6-second window, all three fell back cleanly to inner-TLS relay (transport_path = 'relay',encrypted = 1) with zero exceptions, noObjectDisposedException, and no control session reconnect.
- The initial public-internet run caught
- Teardown verification: Temporary test directories, processes, and all temporary firewall rules on the Tokyo and Silicon Valley cloud hosts were removed and verified restored via
DescribeFirewallRules. Proxy paths unable to preserve UDP mappings or double-symmetric NATs automatically fall back to same-encryption-mode relay by design.
2026-11-29 Authorized Peer P2P Direct & Same-Mode Relay Fallback (DES-011 / ADR-0043)
Full DES-011 unit and integration verification completed on Windows x64 (.NET SDK 10.0.115, Release), alongside cross-host LAN testing with a LAN Linux host (Ubuntu 24.04, libmsquic 2.6.4):
- Unit tests:
dotnet test tests/RelayLink.UnitTests/RelayLink.UnitTests.csproj --configuration Release -p:SkipAdminWebBuild=truepassed 403/403 (including PeerDirectTests.cs covering IPv4-mapped restoration and default deny, cross-session IP/peer probe budgets, RFC 8489 STUN codec, HMAC binding proof, monotonic lease expiry after system suspend, v3/v4 protocol field stripping, and SQLitedirect_lease_occupancyrestart recovery). - Integration tests:
dotnet test tests/RelayLink.IntegrationTests/RelayLink.IntegrationTests.csproj --configuration Release -p:EnablePeerTlsTests=true -p:SkipAdminWebBuild=truepassed 137/137 (including PeerDirectIntegrationTests.cs covering the 8-combination QUIC/ICE-TCP x TCP/UDP x direct/fallback matrix, zero fallback on bad access proofs,MaxConnections=1Server restart occupancy retention andserver_restart_lease_expiredsettlement, and admin disconnect revocation). - Frontend build & unit tests: AdminWeb passed 20/20 (
typecheck && test && build && format:check); AgentWeb passed 9/9 (build && test && format:check), coveringpeerRoutingPolicyconfiguration,Prefer Directbadges, activeDirect QUIC/Direct TCPpaths, and audittransportPathdisplay. - Cross-host LAN hardware acceptance (local Windows host <-> LAN Linux host running Ubuntu 24.04):
direct_quic(TCP and0/1/32769/65507-byte unicast UDP):transport_path = 'direct_quic',encrypted = 1, Server data port relayed bytespeerCiphertextToTarget = 0,peerCiphertextToCaller = 0,peerDirectOpenedTotal = 1, deduplicated direct audit bytes65536 / 65536.direct_tcp(TCP and0/1/32769/65507-byte unicast UDP):transport_path = 'direct_tcp',encrypted = 0, Server data port relayed bytespeerCiphertextToTarget = 0,peerCiphertextToCaller = 0.- Real-time revocation:
DELETE /api/v1/admin/clients/.../connections/...on an active direct connection returned204, audit recordedadmin_disconnected, and the local Windows host connection closed immediately. - Forced fallback (
allowedCidrs = []): Neither encrypted nor plaintext entries opened direct paths (peerDirectOpenedTotal = 0), automatically falling back to same-moderelay(encrypted=1relayed66303/67074bytes;encrypted=0relayed65600/65568bytes, zero-duplicate UDP delivery).
- Explicit boundary: See the 2026-11-29 cross-region public-internet record above; the default routing policy remains
relayOnly, and candidate exhaustion, missing probe permission, or missing native MsQuic dependencies automatically fall back to same-mode relay.
2026-11-28 Authorized Peer Relay & UI Audit Fixes
On Windows x64 (.NET SDK 10.0.115, Release), blocking control writes to one target still allowed the same caller to obtain an establishment grant from another target. Canceling the caller released slow-request quota. When a legacy handshake encountered a target changing from TCP to UDP during admission, target opening was rejected and produced a single denial audit record with reason. Connections terminating during establishment due to revocation or disconnect recorded an aborted outcome. Unit tests used a controllable clock to verify business idle timers start upon release. Relay admission and audit tests · Idle timer tests
Across real Server and Agent loopback processes, v4 Agents acting as caller and target exchanged encrypted and plaintext unicast UDP in all four combinations. Using a legacy v5 Server from the rc.14 release package, two new Agents completed encrypted and plaintext UDP round-trips via legacy handshakes, while the status API returned unknown for modes not provided by the legacy Server. Bad UDP access proofs on the new path never reached the target service, and the initial packet from a failed target preparation was not replayed after configuration repair. v4 mixed versions · Legacy v5 Server, config updates, and UDP denial tests
To re-run all legacy-endpoint tests, configure rc.8 and rc.9 Agents per legacy test parameters, point RELAYLINK_LEGACY_V5_SERVER_ASSEMBLY to the SHA-256-verified rc.14 RelayLink.Server.dll, and pass -p:EnableLegacyV5ServerTests=true in the same command. The solution Release build succeeded with 0 warnings and 0 errors. Unit tests passed 314/314, and integration tests with peer TLS and all three legacy-endpoint suites passed 142/142 across two consecutive runs with zero skips.
An earlier run failed the HTTP intermediate certificate chain test, which subsequently passed standalone and across two full runs (diagnosis detailed below). Two unit tests (mapping disk snapshot and listener switch rollback) also failed once on an initial run, then passed on a serial full run and two subsequent standalone re-runs; the root cause of those two initial failures remains unconfirmed.
- Linux CI for the release candidate (source run 46101852917 / job 140845855370) surfaced a race where the relay exception cleanup test read a log list while background tasks were still appending to it. The test was updated to use a concurrent queue and wait for SQLite to persist the abnormal termination reason before asserting error logs and connection cleanup. It passed across eight independent Windows test processes, and the full unit suite passed 314/314.
- In Windows candidate verification (source run 46102235062 / job 140847029182), the v3 config update test returned HTTP 400 on its first run and passed on the second. The original test reused a port probed only for TCP as a UDP listener; locally binding that UDP port reproduced the HTTP 400 listener-bind failure. Reserving ports per actual protocol allowed the test to pass UDP filtering, legacy digest, and ack-frame assertions under the same port contention. Tests now surface the protocol and server-returned reason when updates fail.
- Another Windows CI run (source run 46103022907 / job 140849522005) caught an HTTPS test failing while building the client X.509 certificate chain. The fixture reused the same issuer name across different keys, and the current user's intermediate certificate cache held 66 older test certificates matching that name. Tests now generate a unique issuer name and key identifier per chain, trust only the current test root, and disable issuer certificate downloads. All 28 Windows HTTP host tests passed, and 12 separate processes verified handshake failure without upstream requests when an intermediate certificate is missing and success when the full PEM chain is provided.
- AdminWeb (15 tests), AgentWeb (5 tests), and website (6 tests) suites passed. Chromium verified plaintext connection badges, forced HTTP encryption, audit reasons, available entry counts, and long address display using build artifacts and mocked API responses at 1440 x 900 and 390 x 844 viewports. Real-process tests separately verified status API responses to configuration changes. Early P2P direct and automatic fallback design notes are documented in Initial P2P Design.
2026-11-27 Peer Relay Control Plane & QUIC Path
Windows x64, .NET SDK 10.0.115, Release. Across real Server and Agent processes, bidirectional raw TCP transfer and half-close (encrypted and plaintext) and source-isolated UDP replies traversed existing entries. Both encrypted and plaintext callers (with and without the new capability flag) submitted invalid proofs; target dial counts remained zero across all four combinations. State-machine tests covered mismatched handshake IDs, duplicate role acks, expired attempts, revocation, and stale ready bytes on data streams. Process tests · Control-plane regressions
The QUIC experiment used local MsQuic, pinned certificate fingerprints, and two loopback UDP endpoints. After exchanging probe packets, both sockets were retained to complete QUIC handshakes, bidirectional byte verification, empty and max-size UDP records, and half-close over the same address-port pair. That experiment did not traverse NAT (ICE candidate exchange, direct routing, leases, and automatic fallback were not yet exposed in production). QUIC experiment · Initial P2P Design
Astra conducted an independent code review of the implementation and verified the revisions. Establishment timeouts terminate the attempt immediately while the shared control connection finishes writing any frame already started. Targets must echo the current preparation grant, and the Server re-validates deadlines and authorization upon final release. Pending connections remain counted against the pending-establishment quota, and config digests are cached per published configuration and protocol version. Regression tests paused the final ready frame to verify that the attempt times out first while the same connection still reads a complete subsequent heartbeat. Quota tests set the global pending cap to 1 and verified a second request is rejected before the first target confirms. Slow-write and handshake tests · Quota and config version tests
The final solution Release build succeeded with 0 warnings and 0 errors. Unit tests passed 310/310, and integration tests with peer TLS and both legacy-endpoint suites passed 133/133 with zero skips. Legacy v3 and v4 used rc.8 and rc.9 Windows release packages with verified ZIP SHA-256 checksums and extracted DLL parity. An earlier full-run failure in the HTTP intermediate certificate test passed in the final full run and three subsequent standalone runs. Legacy endpoint parameters
2026-10-24 Windows Port State File Replacement
In Verify windows-latest 40118110170 (source run), Disabling_referenced_client_preserves_configuration_and_revokes_peer_connections failed: after the caller Agent bound to-visited, File.Move in AgentPortAllocator.Persist threw UnauthorizedAccessException when writing the second mapping, leaving to-visited-b unbound and mappingsReady false. Ubuntu, macOS, and website checks in the same run passed. Caller and target write port state to state/<profileId>/ports.json inside their respective config directories; the failure occurred during the second atomic replacement of a freshly created state file in the same process, where Windows MoveFileEx(MOVEFILE_REPLACE_EXISTING) returns access denied or sharing violation if a scanner or reader without delete sharing holds the file.
The fix added bounded retries inside the per-process port lock and allowed FILE_SHARE_DELETE when integration fixtures read port files. On Linux (.NET SDK 10.0.402, Release, SkipAdminWebBuild=true), unit tests passed 217/217 and EnablePeerTlsTests=true integration tests passed 85/85 (including the previously failing case); integration tests were not re-run on Windows in that turn.
In Verify windows-latest 40120383806 (source run) on the same PR, 2 unit tests failed (215/217 passed) and integration tests did not run. Agent_port_allocator_persists_second_mapping_while_port_state_is_open got true for Assert.False(bound.IsCompleted) because Task.IsCompleted is also true when a task faults: the fixed 29100–29200 port range could overlap Windows reserved TCP ranges (SocketException / WSAEACCES on the second bind), and a reader without FILE_SHARE_DELETE could keep MoveFileEx failing past the ~560 ms retry budget when the 5 s await Task.Delay observation ran on a busy thread pool. The test was updated to probe an actually bindable loopback range, synchronously release the reader as soon as the temp file is observed on the test thread, and assert the second mapping write succeeds. Failed_udp_bind_keeps_existing_binding_and_tcp_can_share_its_port hit WSAEACCES in TcpListener.Start unrelated to file replacement because UDP bind(0) can return a TCP-excluded port; the test now verifies TCP bindability before handing the port to the listener. Follow-up Linux unit tests passed 217/217, and Verify 40122720846 (source run) on 8f35a7f passed across Windows (unit 217/217, EnablePeerTlsTests=true integration 85/85), Ubuntu, macOS arm64, macOS x86_64, and website checks. No tag or release package was created.
2026-10-23 Low-Priority Code Review Fixes
Addressed CR-07, CR-08, CR-10, CR-11, CR-12, CR-13, CR-14, CR-16, CR-17, and CR-18 from Codex's review of main. CR-09 (partial-frame total deadline) and CR-15 (anonymous read-only) retained existing behavior. Unit tests cover channel availability, frame length limits, config access errors, heartbeat snapshots, snapshot clientId, listener exit, UDP handler isolation, mapping disk snapshots, UDP drop counts, and peer RequestId.
On Linux (.NET SDK 10.0.402, Release, SkipAdminWebBuild=true), dotnet test tests/RelayLink.UnitTests/RelayLink.UnitTests.csproj passed 213/213. Unreadable configuration was additionally checked with a real Server process using --check-config, asserting exit code 2. Integration tests, frontends, website, Docker, and installers were not run in that turn.
2026-10-12 HTTP/HTTPS Reverse Proxy
Core runtime integration implemented: protocol v5, target Agent YARP 2.3.0 / Kestrel virtual transport, public HTTP/HTTPS, inner-TLS peer HTTP/HTTPS, Host/Origin validation and rewrite, source context, restart activation, and read-only status. Full HTTP evidence, real Server/Agent process runs across all four entries, and uncovered target environment gaps are documented in HTTP Verification Record. Windows Release passed unit 125/125, full integration with real v3/v4 release packages 87/87, and HTTP-specific tests 23/23 with zero skips; frontend and website checks passed. Five cross-platform CI jobs on de76df7 passed; subsequent entry intermediate-chain supplements and final SHA checks are in the HTTP verification record. Older "not implemented / docs-only" notes are superseded by this implementation evidence; REQ-001N is Accepted (not auto-marked Done from local baselines), and no release was published.
2026-10-05 Website Multi-Page Refactor & Client Compatibility
2026-10-05 Website Multi-Page Refactor (REQ-001M / A80–A84)
Static build, site-wide link checks, and browser evidence for the website multi-page refactor are recorded separately in Website Refactor Verification, corresponding to A80–A84; proxy backend tests and live deployment were not part of that run.
2026-10-05 v3 Client Compatibility Fix
Per explicit user decision and ADR-0025, Server preserves v3 TCP compatibility: pins version from the first frame and replies with matching version, initial/update snapshots, and legacy digests; omits UDP channels and mappings for v3 clients and rejects public/peer UDP involving legacy endpoints. Data binding pins to the control session version, and mismatched versions do not consume one-time tokens. Auth, TLS, audit, and quotas follow existing paths. The initial rc.9 release lacked this fix; per user request, the fix was merged into the same tag and republished. Rebuilt artifacts are governed by the latest GitHub Actions run and SHA256SUMS for that tag; running instances were not upgraded in that turn. Rebuild verification caught a race on Linux where consecutive config pushes overwrote the pending ack version, fixed with a bounded pending-ack queue confirmed item by item; v3/v4 consecutive acks, out-of-order/duplicate rejections, and queue-overflow closes are covered by unit tests.
On local Windows (.NET SDK 10.0.200-preview.0.26103.119, Debug), using the unmodified framework-dependent ZIP of the rc.8 Agent from the private repository (verified against SHA256SUMS), unit tests passed 101/101 and full integration tests passed 59/59 (EnablePeerTlsTests=true, EnableLegacyAgentTests=true, zero skips); 9 tests used the real rc.8 Agent covering standard TCP, legacy public/peer UDP rejection, and legacy->legacy, legacy->new, and new->legacy TLS/plaintext TCP peering with 100 KB echo and half-close. Standard tests also covered online v3 TCP->UDP->TCP updates, legacy digest structure, heartbeats, version pinning, non-consumption of tokens on wrong data version, and existing UDP/TCP regressions. Website build, 5 checks, and git diff --check passed. Initial fixture issues (not awaiting port report, re-fetching GetStream after half-close, wrong Ping direction) were fixed before the full pass. Reproduction commands are in CI Documentation. Cross-platform and cross-host deployment compatibility still require subsequent pipeline and target-environment verification.
2026-10-05 UDP Forwarding (REQ-001L)
Added UDP Requirements, UDP Design, and ADR-0024. Implemented unicast UDP on both public and authorized peer entries: per-source independent tunnels and target sockets, preserving zero-length and max-size datagram boundaries, bounded queues, idle reclamation, and protocol display in AdminWeb and both read-only APIs. The initial implementation bumped protocol version to v4 and rejected versions 1–3; that restriction was adjusted per the v3 compatibility fix above, and legacy channel configs default to TCP. Detailed trade-offs remain Draft / Proposed pending separate review and are not auto-marked Done from implementation.
On local Windows (.NET SDK 10.0.200-preview.0.26103.119, Debug): unit tests 94/94, AdminWeb component tests 9/9, AdminWeb/AgentWeb TypeScript/Vite builds and Prettier checks passed; changed docs passed UTF-8/LF, relative link, code fence, and JSON example checks. Full real-process integration tests with EnablePeerTlsTests=true passed 48/48 (zero skips), covering public UDP, encrypted/plaintext peer UDP, online protocol switching, and existing TCP regressions. Solution Debug build and git diff --check passed.
First-round private CI (017e7c3) passed website, Linux, and Windows checks; macOS x86_64/arm64 failed 4 UDP integration tests due to insufficient default UDP send buffer for max-size datagrams and tests binding unconfigured loopback 127.0.0.2. RelayLink UDP sockets and test clients were updated to set at least a 128 KiB send buffer, and ACL tests switched to standard loopback with admin API rule updates verifying deny and allow. After the fix, local Windows unit tests passed 95/95 and UDP integration tests passed 4/4 (including encrypted/plaintext peering) without skipping large datagrams. Post-fix cross-platform CI results depend on GitHub Actions for the corresponding commit and do not represent service deployment or long-term capacity acceptance.
| Acceptance | Local Evidence | Remaining Verification |
|---|---|---|
| A75 | Udp_proxy_preserves_datagrams_isolates_sources_and_reclaims_idle_sessions and Udp_peer_preserves_empty_large_and_isolated_datagrams: public, encrypted peer, and plaintext peer covered 0/1/32769/65507 bytes and two sources (5 UDP tests passed) |
Cross-host, real workloads, and target platforms |
| A76 | Config/snapshot defaults and invalid fields, same-protocol wildcard overlap, TCP/UDP port sharing, retaining old listener on UDP bind failure, protocol-aware port suggestions; frontend tests cover add/save/readback of UDP protocol and idle settings | Browser visual check and cross-platform port behavior |
| A77 | Fragmented codec reads, out-of-range/truncated length rejection, queue-full drops, per-entry source cap, stop cancellation, and session recreation from same source after idle reclamation | Long-term observation of global/client quotas, handles, and memory under high load |
| A78 | UDP source security-group denial; real dual-Agent online UDP->TCP->UDP switch pushing mappings and rebuilding entries; v1/v2 and unknown version rejection, v3 TCP compatibility; shared auth/audit/revocation paths retain TCP negative regressions | UDP-specific network drops, disable/delete, rule changes, bad proofs, audit write failures, and log redaction combinations |
| A79 | Existing TCP, peer TLS, half-close, and multi-server regressions in the same run | Stable .NET, Linux/macOS service environments, cross-NAT public internet, real UDP apps, and 24h capacity acceptance |
No running instances were deployed and no new release packages were built/installed; SQL Browser dynamic discovery, RDP UDP workload compatibility, and real-time UDP latency remain unverified and cannot be substituted by local echo or protocol-switch results.
2026-10-01 Release Check Fix
During pre-rc.8 CI on macOS Intel, the high-traffic peer test crossed a UTC minute boundary and the history API returned two samples per channel instead of one; the original assertion expected two total samples. Updated the test to sum minute samples per channel while still asserting expected ciphertext totals and per-channel isolation. Initial Linux, Windows, and macOS ARM checks passed; post-fix cross-platform checks are governed by GitHub Actions.
2026-09-30 Logging & Diagnostics (REQ-001K / A72–A74)
Control Registration Rejection Reasons & Server File Logging (A73 / A74)
Both components share Serilog policies via RelayLink.Logging, and protocol v3 Error frames added an optional numeric reason while preserving existing numeric error codes and unextended frame shapes. Under Windows .NET 10 preview SDK, solution Debug build passed and unit tests passed 82/82, covering all 8 fixed Agent reason descriptions, safe fallback for legacy/unknown/malformed reasons, level splitting across both components, 14-day info log cleanup, retention of older error files, and >31 size-rolled files. Seven new integration tests covered rejection for missing/disabled/wrong-key/invalid-identity/pinned-identity mismatch, duplicate sessions, invalid config acks, and real Server-to-Agent persistence of error code, reason, and profile attribution; log scans found no test secrets. Default integration tests passed 30 items (1 full dual-Agent peer test skipped by existing flag). Initial fixture issues (serializing null for unpinned fingerprint and overly broad Server log file globbing) were fixed and re-run cleanly. Real Server process smoke tests verified custom log directory, config error logging, and --check-config not creating directories; Compose config check and git diff --check passed. SkipAdminWebBuild=true was used; no frontend rebuild, Docker build/run, production deployment, installer upgrade, or Linux/macOS service permission checks were performed. Config-change races during registration and cross-version legacy binaries still require target-environment verification.
Agent Serilog File Logging (A72)
Under Windows .NET 10 preview SDK, Agent Debug build passed and unit tests passed 66/66 (including 3 logging tests for Info/Warning vs. Error/Critical splitting, ILogger server scopes and exceptions, old info cleanup vs. old error retention, >31 rolled files, and restart durability). Multi-server integration tests passed 6/6; a new HTTP save failure integration test passed 1/1 (injecting UnauthorizedAccessException returned generic 500 to UI while persisting underlying exception and profileId to the error log without modifying config/disabled state or leaking registration keys). Initial test read-sharing failure was fixed. Invalid-config smoke test on a real Agent process verified exit code 2, error logging without config body leaks, and --check-config not creating log directories. SkipAdminWebBuild=true was used; running Windows Services and Linux/macOS service environments remain to be verified.
2026-09-23 Docker Compose & Windows Installer Dependency Fixes
Windows Docker Desktop Compose Validation (A58 / A59)
Validated Compose using the Windows Docker Desktop Linux engine in an isolated .local/compose-validation-desktop directory: docker compose config --quiet passed, resolving to host networking, read-only root filesystem, and separate bind mounts for config and database. First run of start-server-compose.ps1 -NoBuild generated a config containing only PBKDF2-SHA256 hashes (no template placeholders), passed preflight, and started; /health/ready returned 200 inside the container network and the SQLite database was created. Re-running the script did not overwrite config, readiness remained 200 after restart, and stop-server-compose.ps1 removed the container while retaining config and database, passing local A58/A59 checks. Docker Desktop's host network does not map admin ports to Windows 127.0.0.1, so this environment does not satisfy Linux Docker Engine A60 acceptance and dynamic public channel forwarding was not tested. Fixed an invalid .NET 10 bookworm-slim image tag in the Dockerfile to the official 10.0 tag; docker compose build produced relaylink-server:local, and preflight, startup, and in-container readiness checks passed with that image. A separate Multipass Ubuntu 24.04 VM stalled in Starting without Hyper-V/service restart privileges, leaving A60 pending on a Linux Docker host.
Linux Server Docker Compose Delivery
Added Linux Server Docker Compose delivery: multi-stage image building Server and React AdminWeb, Compose host networking for dynamic runtime business ports, bind mounts under .local/docker-server, read-only root filesystem, and Docker JSON log size/count rotation. First-start script interactively hashes admin password, preserves existing config, and runs config preflight before start; stop script retains data by default. PowerShell syntax, Docker JSON example, docker compose config --quiet, git diff --check, and Server Release build (.NET 10 preview SDK) passed. Docker Engine was not running on that build host, so image build, Linux container startup, restart persistence, and dynamic channel forwarding remained pending for a Linux Docker host (A60 not yet passed).
Windows Agent Installer Runtime Detection & Cancel Dialog Fixes
- 32-bit registry view fix: Fixed the Windows Agent installer reporting .NET 10 ASP.NET Core Runtime x64 as missing when installed. The official x64 .NET installer writes
InstalledVersions\x64\sharedfxto the 32-bit registry view (WOW6432Node), whereas the original check queriedHKLM64. The installer now checksHKLM32first with fallback toHKLM64; local registry anddotnet --list-runtimesconfirmedMicrosoft.NETCore.AppandMicrosoft.AspNetCore.App10.x. Server 2012 R2 target verification with the updated installer remained pending. - Wizard cancel Type Mismatch fix: Fixed
Runtime error ... Type Mismatchwhen clicking Cancel on the dependency check page, caused inDeinitializeSetuplog persistence. Added an explicit separator toGetDateTimeStringand verified{log}is non-empty and exists before copying. Built a non-elevated minimal installer using identicalDeinitializeSetupcode (exited 0 with log copy generated) and recompiled the full installer; interactive cancellation still requires target-machine verification.
2026-09-22 Windows Installer & Optional Peer Encryption
Windows Agent Installation & Dependency Requirements (REQ-001H)
Added REQ-001H and completed initial implementation, then switched to framework-dependent publishing per user decision: installer checks OS, x64, VC++, and .NET 10 ASP.NET Core Runtime x64 on a dependency page with red cross markers and official download links, gating both interactive and silent installs. Install, preflight, and uninstall scripts use Windows PowerShell 4.0-compatible syntax and Win32_Service.Create to avoid sc.exe create space-quoting issues on Server 2012 R2, returning underlying errors to the wizard via an error report file. Inno Setup logs verbosely by default and persists logs to ProgramData. PowerShell syntax checks and Inno Setup 6.7.3 test installer build passed, and publish output confirmed presence of runtimeconfig and absence of coreclr.dll, hostfxr.dll, hostpolicy.dll, and System.Private.CoreLib.dll; clean target-machine verification for UI display, failure injection, silent exit codes, log persistence, and full install/uninstall left A54–A57 open.
Optional Per-Channel Peer Traffic Encryption (REQ-001G / A51–A53)
Implemented optional encryption per authorized peer channel. endToEndEncryptionEnabled defaults to true when omitted or newly created; AdminWeb displays the toggle only for authorized-peer channels and clearly labels encrypted vs. plaintext paths. Protocol bumped to v3 so Server notifies both endpoints of the channel mode; encrypted paths preserve inner TLS while plaintext paths still enforce mode-bound HMAC access proofs before directly copying Data/Fin/Reset. Real dual-Agent process tests verified 4096-byte random streams, target marker echoes, and half-close; Server plaintext relay counts matched business payload plus 32-byte proof (and 32-byte challenge + 1-byte status in reverse), excluding TLS handshake records. Invalid proofs in both modes were rejected before target TCP Connect; online mode changes revoked only the affected channel's connections. Release unit tests passed 40/40, full peer integration tests 29/29, frontend component tests 8/8, plus TypeScript/Vite build, Prettier, and git diff --check (.NET SDK 10.0.200 preview; cross-host and stable runtime verification pending).
2026-09-21 Client Management & Agent Local Read-Only HTTP API
Client Deletion, Multi-Tagging & Filtering (REQ-001E / A46–A48)
Added client deletion and multi-tag configuration, display, and filtering for clients and channels. Unit tests verified tag count, length, case-insensitive deduplication, and invariance of Agent config digests and runtime channel settings; real Server process integration tests verified CSRF-protected admin tag saves, anonymous snapshot tag visibility, and removal of unreferenced deleted clients from config and runtime; frontend component tests covered single/multi-tag AND filtering, tag deduplication on submit, and two-step delete confirmation. Windows .NET 10 preview Debug solution build passed, unit tests 38/38, default integration 16/16 (1 skipped by config), frontend tests 8/8, TypeScript/Vite build, Prettier, and git diff --check passed; live deployment and browser visual acceptance remained pending.
Agent Local Read-Only HTTP API (REQ-001F / A49–A50)
Completed the Agent local read-only HTTP API: added /api/v1/status, /api/v1/channels, and /api/v1/mappings on the existing Kestrel loopback listener while keeping /api/status compatible. New tests against real 127.0.0.1 HTTP listeners verified channels, entries, aggregate JSON, actual bound entry addresses, Cache-Control: no-store, zero sensitive field leaks, and HTTP 405 on POST. Release unit tests passed 39/39, default integration 16/16 (1 skipped by config), full peer-TLS integration 27/27, plus dotnet build RelayLink.slnx -c Release --no-restore and git diff --check (.NET SDK 10.0.200 preview; stable-SDK re-run pending for release environments).
2026-09-20 Cross-Platform Agents & Admin Dashboard Performance
macOS Agent Dual-Architecture Delivery (REQ-001D / A44–A45)
Added dual-architecture macOS Agent delivery (osx-x64 Intel and osx-arm64 Apple Silicon self-contained builds), expanded tag release asset verification from four to six archives, and added low-privilege launchd templates, deployment docs, and ADR-0015. GitHub Actions run 35501952662 (source run) completed native acceptance on hosted macos-15-intel and Apple Silicon macos-15 VMs: peer-TLS integration tests passed 26/26 on both, alongside Mach-O architecture checks, config checks, dedicated service account, binary/state/config/plist permissions, launchd startup, crash recovery, read-only local status page, and E2E identity reuse. Fixed macOS EphemeralKeySet PKCS#12 loading failure, backslash path nesting in the PowerShell publish script, and client re-enable readiness polling; Ubuntu, Windows, and frontend checks also passed. GitHub-hosted VMs do not cover reboot autostart, real sleep/wake, browser download quarantine, Developer ID signing, or Apple notarization, which remain open in A44–A45.
Admin Dashboard Paginated Snapshot Fix for N+1 Polling
Eliminated the N+1 polling storm (every 5 s per-client channels/mappings requests) by adding paginated GET /api/v1/dashboard/snapshot returning summary, clients, channel metrics, and runtime entry addresses together while keeping fine-grained endpoints compatible. Frontend pages sequentially with single-flight protection to prevent slow requests from overlapping the next poll. Real Server process tests verified snapshot structure, page caps, and omission of client secrets/access keys; frontend tests asserted single aggregate polling without per-client sub-requests. Windows .NET 10 preview Release build, unit 36/36, peer-TLS integration 26/26, frontend 6/6, TypeScript/Vite build, and Prettier passed. Deployed to test server 198.51.100.10: preflight, systemd restart, and /health/ready passed, 4/4 Agents auto-reconnected, and reading the snapshot via a local peer entry returned 4 clients and entries in ~14 ms with poll logs showing only session and aggregate snapshot endpoints. Previous Server directory was kept for rollback and temp artifacts cleaned; 100-client / 500-channel P95 testing remains pending.
Linux Agent Formal Delivery & Deployment Verification (A42–A43)
Added Linux Agent systemd lifecycle integration, linux-x64 self-contained archives in publish/release pipelines, and restricted service account systemd templates. Windows .NET 10 preview Release build, unit 36/36, and peer-TLS integration 25/25 passed (including targeting Server's 127.0.0.1 admin port via a standard peer channel and calling admin APIs from the caller's loopback). linux-x64 self-contained build succeeded and passed redacted config validation in WSL Ubuntu.
Installed the linux-x64 Agent on test server 198.51.100.10 under root-owned binaries, nologin service account relaylink-agent, 0700 state dir /var/lib/relaylink-agent, and 0600 config, with systemd enabled and active/running. Configured server-local and peer channel server-dashboard targeting Server loopback 127.0.0.1:18080, mapped to local client-a (127.0.0.1:32330); /health/ready, admin home, and overview APIs succeeded, showing 4/4 clients online and entry listening. Restarting systemd preserved E2E fingerprint and restored the same entry. Kept /var/lib/relaylink (0750) isolated from /var/lib/relaylink-agent and cleaned staging files. Disconnect resource cleanup, negative unauthorized-client checks, and long-duration stress remained open, leaving A42–A43 partially passed.
Test Server Deployment & glibc SQLite Compatibility Fix
Deployed latest Server to test server 198.51.100.10. Initial cutover revealed Ubuntu 20.04 glibc 2.31 could not load bundled SQLite, so Linux builds switched to system libsqlite3.so.0 via SQLitePCLRaw.provider.sqlite3 and dropped libe_sqlite3.so from linux-x64 output. Three legacy client configs migrated with per-file backups to client-level fingerprints, with Server preflight and auto-rollback verified. After temporarily restoring the removed channel-level certificate field for legacy digests, Server removed the legacy field per upgrade policy: updated client-a and client-b reconnected online while un-upgraded client-c stayed offline as expected. Ports 7443/7444 and local 18080 listened cleanly, /health/ready returned ready, port suggestion returned 401 anonymously, and logs showed zero warnings/errors. Unit tests 36/36 passed; live channel byte streams and database business regressions were not executed on that host.
Windows Agent Installer InitializeWizard Fix
Fixed premature {app} expansion in InitializeWizard on fresh machines before install directory initialization by using {autopf} at that stage while continuing to check the RelayLinkAgent service first. Built win-x64 self-contained test installer 0.0.0-regression with Inno Setup 6.7.3 and .NET 10 preview SDK; git diff --check passed. Clean VM first-install wizard verification remained pending.
2026-09-19 Production Stability Observations
User reported two production deployments: cross-public-internet RDP ran continuously for one day on 198.51.100.10 with a public caller logging into an internal Windows desktop under real usage, and a SQL Server data channel entered production in a separate environment. This confirms public-proxy NAT traversal works under real workloads, with two explicit boundaries: one day of real-world stability is not a controlled capacity acceptance test (A16 24-hour full-load stress remains unexecuted and 100 clients / 500 channels / 1000 connections / 100 Mbps remain design targets), and the "tens of seconds before RDP graphics appear after login" phenomenon lacked an A/B re-test with client-side UDP disabled, so its root cause remained unconfirmed.
2026-09-18 Transport Separation, Audit, Security Groups & Database Verification
Local Multi-Scenario Isolated Acceptance
Added isolated scripts per Local Multi-Scenario Acceptance Plan launching 1 local Server, 2 Agents, and 3 simulated targets: 3 channels each passed 1x 64 KiB and 8x 1 MiB concurrent random streams with exact echo, marker isolation, and half-close; invalid control/data first frames were rejected, and all three client/channel pairs recorded SQLite minute samples. Real-process integration tests passed 24/24, unit 36/36, frontend 6/6, and anonymous audit queries returned 401. Docker SQL, cross-host, installer upgrade, and long-duration capacity tests were excluded from that run.
Control/Data Separation, Raw TCP Streams & Public RDP Diagnostics
- Control/Data Separation (ADR-0008): Separated control and data entries and switched public proxy to raw bidirectional TCP copy; moved
TargetReady/Startto control connections and bumped frame version to 2 to reject older peers.dotnet build RelayLink.slnx --no-restorepassed, unit tests passed 26/26 (version rejection, control-session cancellation of data lifetime, data port conflict), andServerTunnelTestspassed 2/2 (raw bytes after valid bind, bidirectional half-close, unauthenticated bind and cross-entry invalid first-frame rejection). On a local Windows environment permitting current-user certificate container access, full-p:EnablePeerTlsTests=trueintegration tests passed 9/9 (two peer channels x 16 concurrent 1 MiB random streams, 128 KiB half-close, invalid access-proof rejection, dynamic config push); sandbox PFX import lacked key permissions, so the result applies to that local environment. - Control/Data smoke script: Using
scripts/start-local-control-data-smoke.ps1bound only to127.0.0.1, unauthenticated binds and invalid first frames were rejected, and 32 concurrent 1 MiB random streams with send half-close and reply EOF passed. This does not establish cross-internet RDP display recovery or link confidentiality for plaintext public TCP data channels; legacy Server/Agents are incompatible with dual-port deployment. - Public RDP diagnostics: Deployed the separated control/data build to
198.51.100.10and local Windows Service (7443/7444/19000 listening, clients online); credential-less RDP initial handshake returned the same 19-byte response via proxy and direct loopback, while user login remained black-screen, leaving cross-internet RDP acceptance unpassed. Added per-connection-ID phase, 10-second bidirectional byte/idle, one-way EOF/error, and outcome logging (Agent logs rotated at 4 MiB in protected config dir); unit tests passed 27/27 and default integration 3/3 (1 peer test skipped by config). - Diagnostic log evidence: On
203.0.113.20(09:04–09:05), Server and Agent logs for connection ID00000000-0000-4000-8000-000000000001matched: ~19 MiB caller->target vs. ~33 KiB target->caller at ~40 s, increasing in reverse to ~382 KiB at ~50 s and ~568 KiB at ~80 s. Target Windows RDP events logged session reconnect at 09:04:13 and UDP-to-TCP multitransport fallback at 09:04:56 (~43 s later); a second reconnect at 09:05:38 showed the same ~43 s fallback at 09:06:21, whereas an earlier 08:37 LAN connection went straight to TCP. Combined with user observation that display recovered after a black-screen delay, the timing supports caller-UDP-timeout fallback as the primary wait (pending A/B confirmation with client UDP disabled); Server receive queues also buffered ~2.8 MiB during fallback. Full graphical interactivity and latency acceptance remained unpassed.
Audit, Connection Control, Security Groups & Client Management
- Audit logging: Server SQLite persists login success/failure/logout, Agent sessions, public proxy, and peer connection lifecycle metadata; successful logins and business connections proceed only after start-audit persistence confirms. Admin query endpoint supports range, type, client, and pagination (anonymous denied). Tests verified redacted login events, correlated start/end queries, denial on DB lock contention for login and public
Start, restart closure of unclosed connections, and AdminWeb modal viewing. Isolated-output tests passed unit 36/36, peer-TLS integration 24/24, frontend 6/6; disk-full, read-only dir, high-concurrency backpressure, and live deployment remained pending. - Active connection inspection & targeted disconnect: Real Server integration tests verified public connection listing, correlation between connection ID and control
Open, anonymous/missing-CSRF denial, 404 on wrong channel, caller EOF and list clearing after admin disconnect, plus listing and disconnect of established encrypted peer connections. Isolated tests passed unit 34/34,EnablePeerTlsTests=trueintegration 21/21, frontend 5/5, and build. - Application security groups: Unit tests verified IPv4/IPv6 single-IP and CIDR matching, default allow, invalid subnets, and referenced-delete denial; real-process integration tests verified anonymous/missing-CSRF rejection, creation/persistence, public channel binding, referenced-delete rejection, allowed
Open, revoking pending connections when tightening rules, and post-unbind deletion. Isolated tests passed unit 34/34,EnablePeerTlsTests=trueintegration 19/19, frontend 4/4, build, and format checks; real NAT/IPv6 deployment remained pending. - Client disable & safe revocation: Unit tests verified configured entries from other clients still pass schema/auth checks when a target client is disabled while mismatched secrets still fail; real-process integration verified saving full client/entry JSON when disabling a referenced client, immediate disconnect of active peer connections, rejection of new requests, recovery on re-enable, and public proxy disconnect/unlisten/auth denial. Isolated tests passed unit 33/33,
EnablePeerTlsTests=trueintegration 18/18. - Anonymous access-entry table: Real Server integration verified unauthenticated
GET /api/v1/clients/{id}/mappingsexposes entry/target metadata without access keys or target certificate fingerprints (404 on unknown client), while write endpoints retain admin auth.EnablePeerTlsTests=trueintegration passed 16/16; frontendpnpm test3/3, build, andformat:checkpassed. - Client-level E2E certificate fingerprint: Unit tests verified authorized channels omit fingerprints, client fingerprint validation, and strict rejection of legacy channel-level fingerprint fields without migration; real-process integration verified fingerprint persistence on registration/ack, unchanged rejection on mismatch, and full peer-TLS connectivity. Isolated tests passed unit 32/32,
EnablePeerTlsTests=trueintegration 16/16, frontend 3/3, build,format:check, andgit diff --check. - New channel port suggestion: Unit tests verified starting at 19000 and skipping Server ports, allocated public ports, and unbindable ports (peer channels consume no cloud port); real-process integration verified admin-only access, updates after OS port binding, and 400 rejection when saving a stale port. Frontend tests verified populating 19001 then 19002. Release unit tests passed 31/31, integration 15/15, frontend 3/3, build,
format:check, andgit diff --check. - SQLite minute traffic: Unit tests verified UTC-minute aggregation for public and peer ciphertext bytes, duplicate-sample deduplication, collecting existing counters after channel deletion, 90-day retention cleanup, and one-time legacy JSONL import preserving originals. Real-process dual-Agent tests across 16 concurrent encrypted streams on multiple peer channels returned nonzero peer ciphertext bytes and zero public bytes per channel.
dotnet test RelayLink.slnx -c Release --no-restore -p:EnablePeerTlsTests=true -p:SkipAdminWebBuild=truepassed unit 29/29 and integration 14/14; frontend 3/3, build, andformat:checkpassed. (Audit logging was only designed/researched at that point; earlier JSONL cumulative table entries are retained solely as historical records.) - E2E access-entry adjustments: Frontend tests verified read-only auto-generated entry IDs after target selection, sending only two target IDs on create, and no edit button; real-process integration verified pushing new IDs with bidirectional traffic, 400 on duplicate creation, 405 on PUT, and disconnecting only the affected entry when deleting an old ID. Release unit tests passed 27/27, integration 14/14, frontend 3/3, build, and
format:checkpassed. - Connection revocation on channel config changes: Real-process integration verified no disconnect on identical re-saves for public channels, disconnect on display-name/disable/delete changes, and per-mapping/per-target-channel isolation on peer edits/deletes. Deletion of target peer channels under multi-caller races was not separately tested in that turn.
SQL Server / PostgreSQL Local & Peer Database Acceptance
- Public proxy database acceptance: Using
scripts/run-local-database-acceptance.ps1with SQL Server 2022 and PostgreSQL 17 containers on Windows Docker Desktop mapped to loopback, a local Server/Agent pair exposed separate MSSQL and PostgreSQL TCP channels. Usingsqlcmdand containerpsql, both databases passed schema creation, 3-row seed insert,SELECT COUNT(*)=3, customer/order join (Ana=30, Bo=7),UPDATEtotal39,ROLLBACKpreserving39, tempINSERTtotal50, andDELETEback to3. Dashboard showed 1 online client, 2 available channels, and nonzero bidirectional bytes. Scoped to local plaintext TCP (no SQL TLS, cross-internet, pooling, abort, or large result sets); isolated state and credentials were written under gitignored.local/database-acceptance/<run-id>/. - Peer database acceptance: Reusing the containers via
scripts/run-local-database-peer-acceptance.ps1, a local Server, target Agent, and caller Agent used one-time control TLS CA/server certs, target identity cert, and independent 32-byte access secrets per channel (pinned SHA-256 fingerprint). Through two caller-selected127.0.0.1entries,sqlcmdandpsqlpassed counts/totals (3/39), join (Ana=30, Bo=9), and transactional insert/rollback (4->3). Target channels had zero anonymous cloud listeners; public business bytes stayed0while peer ciphertext counters recorded10,411/14,770bytes.PeerConnectionTestswith-p:EnablePeerTlsTests=truepassed 7/7 (inner TLS, half-close, dual-channel concurrency, unauthorized/bad-proof denial, live push, port rotation). Built on .NET SDK 10.0.200 preview; stable runtime verification remained pending.
2026-09-17 Peer Integration, Embedded CA & Latency Investigation
- Dual-Agent peer integration & half-close fixes: On WSL Linux
dev_a(.NET 10.0.100 stable SDK) with-p:EnablePeerTlsTests=true -p:SkipAdminWebBuild=true, peer integration tests passed 6/6 (1 legacy TLS test skipped by config) and unit tests passed 15/15. On Windows, after resolving Schannel's lack of ephemeral private-key support from PEM/PFX and TLSclose_notifyhalf-close differences via file-backed private keys and inner-TLS EOF handling, Windows .NET 10 preview SDK re-runs passed 6/6 peer integration (1 skipped) and 15/15 unit tests. Coverage included outer-TLS registration, pinned peer certs and HMAC challenges, 128 KiB random echo with half-close, 16 concurrent 1 MiB streams across two channels with target marker validation, rejection of unmapped clients and bad proofs with zero target connections, closed cloud listeners with zero key leaks, online mapping pushes, zero public byte leakage, and nonzero ciphertext overhead. Frontend TS build, 3 component tests, and Prettier passed. - Agent self-selected port regression: After adding Agent-owned entry ports, both Windows preview and Linux 10.0.100 stable runs passed unit 17/17 and peer integration 7/7 (1 legacy TLS test skipped), covering real Agent process restarts, port conflict rotation, new-port connectivity, Server status reporting, and read-only loopback UI; frontend build, 3 tests, and formatting passed. Windows Server Service lifecycle, port binding, and private-key ACLs remained unverified on target hosts.
- Embedded CA in Agent config: Unit tests passed 20/20, AdminWeb 3/3, TypeScript/Vite build, and Prettier passed, covering Base64 CA loading without sidecar files, invalid Base64 rejection, legacy PEM path compatibility, and dual-trust rejection.
win-x64self-contained Agent and Inno Setup 6.7.3 installer1.0.1compiled; Linux Server deployed and restarted cleanly via SSH-forwarded readiness200without CA path inputs. Windows preview full integration hit test PFX import failure inTunnelAcceptorService.LoadServerCertificate(1 failed, 2 skipped), so full integration was not marked passed there. - Client ID uppercase hint fix: Normalized uppercase client ID input to lowercase on the form and returned specific format rules from Server. Unit tests passed 21/21, frontend 3/3, build and format checks passed; Linux Server redeployed with
200readiness. - Desktop monitor shortcut checks: Windows PowerShell 5.1 locally verified default port 18081, custom ports,
dashboardPort=0, uninstall removal, and duplicate-shortcut conflict protection; Inno Setup 6.7.3 compiledwin-x64installer1.0.3with zero config/cert/key files in publish output, and unit tests passed 21/21. Full admin-session install, double-click launch, and uninstall remained pending for A27. - Cloud public-channel RDP small-packet latency check: Credential-less RDP negotiation from Windows Agent host to local
127.0.0.1:3389took ~6–20 ms across 5 runs; through198.51.100.10:19000, latency dropped from ~295–317 ms (before fix) to ~131–160 ms (Server-sideTCP_NODELAY) and ~74–88 ms (Server + Agent updated), receiving the 19-byte negotiation reply every time. Unit tests passed 23/23 on Windows preview SDK (full TLS integration still blocked by test PFX import).
2026-09-16 Initial Baseline Checks (scripts/test.ps1)
Running scripts/test.ps1 executes dependency restore, Release .NET tests, frontend Vitest/format checks, and git diff --check. Initial baseline results:
| Item | Result | Scope |
|---|---|---|
| Unit tests | Passed | NTP1 framing, invalid DATA, frame round-trip, partial-frame deadlines, abnormal direction abort, config digest, duplicate JSON, cert paths, one-time tokens, Agent local channel rejection |
| Local TLS/TCP integration tests | Skipped | Covers Server process, registration, config ack, Bind, Start, and byte echo; Windows sandbox Schannel could not create client credentials |
| Format check | Passed | git diff --check |
| Local raw TCP multi-channel isolation | Passed | 3 channels echoing distinct markers; 3 concurrent 1 MiB streams per channel verifying markers and random payloads with zero cross-talk |
| Local raw TCP throughput & quota | Passed | Single channel 5 concurrent x 2 MiB; 3 channels x 3 concurrent x 4 MiB; exceeding per-channel cap allowed 5 and cleanly rejected 1 of 6 |
| Traffic history persistence & query | Passed | 2 s sampling to local JSONL; after 2 concurrent 64 KiB echoes, history API reported 131,072 uplink bytes, 131,092 downlink bytes, and 2 connections |
| Local raw TCP multi-client concurrency | Passed | 2 independent-key clients and 5 unique-marker channels carrying 7 x 1 MiB streams simultaneously with per-client history attribution |
| Standalone AdminWeb build & hosting | Passed | React/TS typecheck and Prettier passed; consecutive Server Release publishes produced wwwroot/index.html, assets/app.js, and assets/index.css served on 127.0.0.1:18080 |
| AdminWeb anonymous browsing | Passed | Browser verified 2 clients, 5 channels, login entry, search filter, per-channel traffic modal; unauthenticated client create returned 401 |
| Admin API & config push | Passed | On isolated instance: login, client CRUD/disable/enable, Agent config download, channel CRUD/disable/delete; logged-in write without CSRF returned 401; online Agent target update succeeded for 3 x 4 KiB tagged calls; disabled listener closed with history showing 12,288 / 12,294 bytes |
| AdminWeb component regression | Passed | 2 Vitest + Testing Library tests covering anonymous read-only/charts, login transition, client/channel CRUD, CSRF headers, TypeScript, and Prettier |
Requirement Acceptance Status
| Acceptance Item | Current Status | Remaining Evidence Needed |
|---|---|---|
| A01–A06 (Auth, session, config) | Partially covered by unit tests | Positive/negative config and same-ID session tests in real TLS environments |
| A07–A09 (Byte streams, half-close, target faults) | Local raw TCP streams and 3-channel isolation verified | Real TLS integration tests with Linux/Windows Server + Agents covering half-close and target faults |
| A10–A14 (Recovery, token race, quotas, slow readers) | Not verified | Fault injection, concurrency/slow-reader tests, and resource counter checks |
| A15 (Dashboard/API) | Local standalone frontend, anonymous read-only, component regressions, Admin API, live push, and history charts verified; polling switched to paginated snapshot with N+1 regression test | HTTPS/intranet protection, session expiry, 100-client/500-channel P95, and live-browser authenticated form submission in deployed environments |
| A16 (Capacity & 24h stress) | Not executed | Controlled report specifying hardware, NIC, runtime patches, RTT, loss, and load per requirements |
| A17 (Security groups) | Not executed | Real-machine validation with cloud security groups and intranet/internet ports |
| A18–A22 (Agent authorized peering) | Dual-Agent local Linux and Windows integration passed; cross-host partially pending | Windows stable runtime/service identity, two real LAN hosts relayed via Server, bad-fingerprint/slow-reader/disconnect cleanup, long-duration stress, and capacity baseline |
| A23–A24 (Agent self-selected ports & local web) | Windows and Linux unit and dual-Agent local integration passed: initial bind, restart reuse, collision rotation, secret-free UI, Server reporting, and real Agent restarts | Windows Service real permissions, cross-host, and reboot checks |
| A25–A26 (Windows Agent installer) | win-x64 framework-dependent publish and Inno Setup 6.7.3 installer compiled cleanly; artifacts verified free of coreclr.dll/hostfxr.dll/hostpolicy.dll/System.Private.CoreLib.dll with runtimeconfig present; PowerShell script syntax and git diff --check passed |
Elevated-session tests for missing dependencies, missing/invalid config rejection, Online state post-install, reboot autostart, state-preserving uninstall, stable .NET 10 SDK rebuild, and code signing |
| A27 (Desktop monitor shortcut) | Windows PowerShell 5.1 locally verified default/custom ports, disabled dashboard, uninstall removal, and conflict protection; 1.0.3 installer compiled |
Full elevated install, double-click launch in default browser, and uninstall verification |
| A28–A29 (Separated control/data & raw streams) | Local invalid-entry/unauthenticated rejection, valid raw bytes, and 32 x 1 MiB half-close passed; peer E2E 9/9 passed; cloud/local Agents deployed; cross-internet RDP ran 1 day continuously in production (root cause of multi-second post-login screen delay unconfirmed) | A/B latency and graphics re-test with client UDP disabled; SQL TLS, trusted/network-layer encryption, sustained high-throughput and resource stress tests |
| A42–A43 (Linux Agent & AdminWeb peering) | linux-x64 self-contained publish, WSL config check, and real-process integration passed; test server systemd service installed with least-privilege permissions, surviving restarts; authorized Windows client accessed Server loopback AdminWeb via peer entry |
Unauthorized client negative access, network-drop/stop cleanup, long-duration stress, and stable runtime re-verification |
| A44–A45 (macOS Agent dual-arch) | GitHub-hosted Intel and Apple Silicon macOS with stable .NET 10: 26/26 integration on both, dual-RID Mach-O builds, config check, low-privilege launchd startup/recovery, permissions, status page, and identity reuse passed |
Reboot autostart, real sleep/wake, browser quarantine, physical Mac endurance runs, Developer ID signing, notarization, and stapling |
| A49–A50 (Agent local read-only HTTP API) | Done: real loopback HTTP tests cover all three v1 GET endpoints, channels/entries, no-store, secret filtering, and 405 on writes on IPAddress.Loopback |
None |
| A51–A53 (Optional peer encryption) | Done: default-encrypted for legacy and new configs, frontend toggle/plaintext badge, dual-Agent encrypted/plaintext random bytes and half-close, bad proofs in both modes, plaintext non-TLS byte count, and live mode-switch revocation passed | Cross-host trusted network and stable-runtime checks are non-blocking deployment supplements |
| SQL Server / PostgreSQL proxy acceptance | Local public proxy and dual-Agent encrypted peer SQL/rollback passed; separate user production SQL Server channel active | Fixed ports with SQL protocol TLS, cross-internet, aborted transactions, large result sets, and connection pooling |
Execution Preconditions
- Linux or Windows target hosts meet native .NET 10 runtime dependencies, have valid Server certificates, and run under least-privilege service accounts; self-contained builds do not eliminate target-distro OpenSSL/system library verification.
- Windows Agent target hosts can validate Server certificate chains and names via Schannel.
- Cloud internal network, target SQL Server, fixed TCP ports, and security group rules are configured per requirements.
- Load/capacity test environments must record CPU, memory, NIC, runtime patch level, RTT, packet loss, SQL, and driver versions; numbers without these conditions cannot serve as capacity conclusions.