Files
ShadowsocksX-NG/docs/adr/0007-remove-manual-and-external-pac.md
Qiu Yuzhou a8cd6262c2 feat(proxy): remove PAC and accept ACL system proxy path
Remove the PAC product feature entirely: PAC HTTP service, port, health
probe, runtime extension, PAC URL system proxy projection, PAC rule
editing, and GFWList URL settings. The product now exposes rule / global /
direct modes only, all projected as a local SOCKS system-proxy target.

First-run defaults are rule + proxyWhenUnmatched, agent on, system proxy
off. Homepage and status menu share one ProxyControlSnapshot showing the
three modes and rule sub-options. Manual servers, subscriptions, Legacy
import, and independent SOCKS/HTTP inbounds are retained.

Fix: include verbose in SslocalListenFingerprint so a verbose-only
contract change restarts sslocal instead of leaving RUST_LOG stale.

Revise CONTEXT.md vocabulary, ADR-0007, and ADR-0009. Record GFWList
exception shadowing, IPv6 system-exception, DNS, and traffic-coverage
boundaries. Add host acceptance evidence document.

Closes #67
2026-09-26 21:58:12 +08:00

1.0 KiB

Remove manual proxy mode, external PAC, and local PAC

Status: accepted; mode-set scope superseded by ADR-0009

Remove ProxyMode.manual, ProxyMode.externalPAC, and ProxyMode.pac, including the external PAC URL setting, local PAC HTTP service and port, PAC user-rule editing, GFW List URL setting, PAC URL system-proxy projection, PAC health probing, and related UI, logs, diagnostics, and presentation surfaces. The product exposes rule / global / direct modes only, all projected as a local SOCKS system-proxy target.

Retained: manual catalog groups and servers, subscriptions, Legacy server-record import, independent local SOCKS and HTTP inbounds, and the built-in rule snapshots (geolocation-cn, china-ipv4, gfwlist). The affected NG2 version has not shipped, so no persisted-settings migration or upgrade transition is required.

ADR-0009 added direct ACL mode and ADR-0010 added global ACL mode while keeping these removals in force. This ADR's title and body now record the full PAC removal completed by issue #67.