Repository navigation
Conversation
6013180 to
846e314
Compare
846e314 to
5cc6ee2
Compare
796314b to
f5981f4
Compare
df598b0 to
d155c3e
Compare
d155c3e to
b561ef1
Compare
b561ef1 to
343640a
Compare
6c33380 to
422aafd
Compare
422aafd to
2e8e9a7
Compare
2e8e9a7 to
93ed2f2
Compare
|
Closing because the execution-host routing layer is already implemented on main ( I read the complete production patch and body/available discussion and compared the introduced regression intent. Main retains the exact native v1 descriptor and separately negotiated non-native capability; SSH authority still includes target ID, provider epoch and connection generation, with structural tuple keys. The runtime requires an exact grant scoped to the authenticated device's current lease generation, fences pending connector startup when that grant is revoked, and fences live tunnels on grant/lease/provider/connection loss. Current page ownership adds ref-counted grants. The ssh2 route still passes the original destination hostname and port to forwardOut, captures the exact client and connection authority, and destroys late channels after retirement. The system-OpenSSH route still owns one standalone non-interactive dynamic forward for the route, carries domain names in SOCKS requests, and releases sockets, probe timers, listeners and process on abort/close. Public errors retain the sanitized allowlist. Deferred-socket close-once and late-source destruction remain; current source settlement supports bounded upstream credit. Later main changes add WSL and native host proxy policy. OpenSSH argument assembly is shared with other forward processes; ExitOnForwardFailure=no deliberately tolerates already-held configured forwards while readiness probes the requested -D listener. The original inactive-registration assertions are superseded by production activation. This closure does not claim the documented local SOCKS trust/port-ownership or authentication limitations were eliminated. Validation: six focused current suites passed all 47 tests (deferred sockets, native route selection, SSH authority and lifecycle, SOCKS domain transport, dynamic-forward startup/abort and port-forward integration). The preceding runs covered unchanged lease/protocol/grant contracts, 13 tunnel RPC tests including startup revocation/sanitization, and 62 transport tests including real paired-runtime E2EE SOCKS-to-HTTP. Relevant contracts are unchanged in HEAD..origin/main. The Docker remote-only DNS journey and physical/Electron platform matrix were not rerun here. |
Summary
Adds the inert execution-host routing layer for STA-4150, stacked on #14507.
forwardOutor one owned standalone system-OpenSSH dynamic forward, keeping DNS on the execution hostProduction capability advertisement and RPC registration remain disabled. This PR does not activate client-hosted Electron browsing or change current server/offscreen placement.
Compatibility
network.browserTunnel.executionHosts.v1and a live exact grantEvidence
Activation blockers
BatchMode=yes -S nonedoes not preserve every ControlMaster-only, passphrase, PIN, or keyboard-interactive targetDo not merge this layer as feature activation; it is reviewable infrastructure for the staged STA-4150 stack.