Repository navigation
fix(wininspect): bind read-only daemon explicitly to loopback in Wine - #138
mark-e-deyoung wants to merge 5 commits into
Conversation
…n at daemon start
Git/DLE hygiene: completed stacked source rung, retained in successor #141Loopback-only read-only WinInspect daemon launch with fail-closed missing-install/status safeguards is an exact source ancestor of active #141; subsequent #139 fixed the source-backed 0.3.0 RPC protocol. GitHub compare Disposition: CLOSE historical PR UNMERGED, preserve original branch/SHA until ownership/worktree reconciliation. Active product/security review remains #141, security #515, WinInspect-private #415/#461. The existing official WinInspect v0.4.4 response-ID defect still makes the actual Wine semantic RPC endpoint fail-closed; do not claim successful application observation or merge/release. No private CI minutes, public private-source projection or remote ref deletion. |
Independent second WinInspect startup correction — DRAFT STACKED ON #134
WineBot #136 first real-runtime test of exact #134 path resolver showed:
App/WinInspectexecutables exist and resolver reports installed.GET /windows200; 7 synthetic layout tests passed in normal CI preflight.127.0.0.1:1985;/wininspect/capabilitiesand/wininspect/windowsunavailable, fail-closed as designed.wine-10.0 (Debian 10.0~repack-6), Xvfb2:21.1.16-1.3+deb13u1, Openbox3.6.1-12+b2, Mesa DRI25.0.7-2.Upstream
SemperSupra/WinInspect@v0.4.4:source/daemon/src/network_config.cpphas automatic container-private IPv4 binding when no explicit--bind. WineBot's current daemon invocation gives no arguments while its client targets loopback. This is a source-backed cause candidate, not yet proven solely from TCP observation.Minimal patch
Force explicit
--bind 127.0.0.1 --ipv4 --port <validated WineBot port> --no-config --no-discovery --no-mdns --headless --read-onlywhen WineBot starts its own WinInspect daemon. No remote listener, discovery, VNC or raw mutators are enabled; read-only enforcement is deliberate until an independently admitted brokered mutating workflow exists. Incoming host overrides are still client-side only; automatic daemon listener is always local.Add 3 synthetic negative/positive spawn tests to normal unit lane: exact loopback/discovery/read-only flags, no execution when installation absent, and no spawn on read-only status probe.
Gates
Based on draft #134 branch, not default main. Neither stacked PR is merge authorized. Existing #124 pinned archive/build fix, #125/#127/#129 security controls, #123 conformance red gate remain independently controlled. Next: additive exact-head update of disposable #136 RDTE and repeat actual API+Notepad test. Inspect WinInspect TCP/protocol separately; do not fabricate success if the daemon remains unreachable or handshake fails. No private data/CI/actions/recording/raw artifact publication.