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>
14 lines
436 B
Rust
14 lines
436 B
Rust
//! Proxy Suite for Windows: everything that is pure logic.
|
|
//!
|
|
//! The configuration model (upstream's `services.proxy-suite` options), share-link and
|
|
//! 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;
|
|
pub mod links;
|
|
pub mod render;
|
|
pub mod wg;
|