As upstream's prober: the sites apps reach directly (the Clash API's direct connections here; upstream's inbound access log) are probed through each exit, direct first, every interval and at once for proxy-ctl proxy auto learn. One blocked directly but reached through an exit is routed through it: its exit's local rule-set, which sing-box reloads. Upstream's judgement, ported and tested: block pages, the walk over paths and exits, one exit per network first, strikes against exits that refuse, a new egress discarding what was learned, rechecks once per TTL. Blocks zapret can fix stay direct. The config gains a loopback probe listener per exit (with the hop login, pinned behind the loopback guard) and the learned rules after the user's. proxy-ctl proxy auto list|probe|learn|forget|clear over new API requests (autoProxy scope). Slow sites (slowBelowKiBps) are not routed yet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
19 lines
515 B
Rust
19 lines
515 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 autoproxy;
|
|
pub mod awg;
|
|
pub mod components;
|
|
pub mod config;
|
|
pub mod derived;
|
|
pub mod duration;
|
|
pub mod links;
|
|
pub mod render;
|
|
pub mod warp;
|
|
pub mod wg;
|
|
pub mod zapret;
|
|
pub mod zapret2;
|