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>
21 lines
466 B
TOML
21 lines
466 B
TOML
[package]
|
|
name = "ps-core"
|
|
description = "Proxy Suite for Windows: config model, link parsing and backend config rendering"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
base64.workspace = true
|
|
flate2 = "1"
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
regex.workspace = true
|
|
thiserror.workspace = true
|
|
percent-encoding.workspace = true
|
|
ipnet.workspace = true
|
|
indexmap.workspace = true
|
|
psl = "2"
|
|
|
|
[dev-dependencies]
|