windows: the component manager, verified programs, a Wine test
components.json pins sing-box, XRay, Flowseal's zapret, bol-van's winws2 bundle with nfqws2-keenetic's strategies, and tg-ws-proxy (built with the release): release assets by archive hash, commit snapshots by the hash of every file taken. The service installs them (admin only), staged and swapped in, refusing archive paths that leave the directory, and checks each program against the hashes recorded at install before running it. stage-components does the same for building a release. The state root is created with its protected descriptor in one call, or, existing, checked through a handle that does not follow links. tools/wine-e2e.sh runs the Windows build under Wine: the service, the named pipe, impersonation, the component check, rendering and the supervisor all work; Wine lacks an iphlpapi call sing-box needs, so proxying itself needs real Windows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b878dd93db
commit
68b496cafa
10 files changed
+709
-81
No files matched your search
@@ -4,6 +4,7 @@
|
||||
//! subscription parsing, and the sing-box and XRay configs the service runs. Nothing here
|
||||
//! touches the network, the file system or processes; the service does that.
|
||||
|
||||
pub mod components;
|
||||
pub mod config;
|
||||
pub mod derived;
|
||||
pub mod duration;
|
||||
|
||||
Reference in new issue
Block a user