The zapret2-extras component (tools/build-zapret2-extras.sh): z2k at
upstream's pinned commit, its strategies made by its own generator as
upstream's z2k-profiles.template.sh runs it, with tokens where upstream
fills in the configuration at build time; its Lua, lists and fakes; and
upstream's own Lua: the extended detector (detect.lua), the per-site key
by public suffix, the fail stamp, every-change persistence and the
strategy log.
winws2 now runs, as upstream's nfqws2 does, with z2k's Lua for its
strategies, then the layers: each site's working strategy kept across
restarts (z2k's state layer), strategies keyed by site, and with
autoHostlist.extendedDetection the detector learning in place of
nfqws2's own (its last TLS profile, the stall watch where the learned
sites are). Lua arguments name paths as Cygwin does (no colon); what
winws2 writes stays under the Low-integrity folder. The server's TLS
handshake and alert records reach the detectors through a WinDivert
filter part: WinDivert has no per-flow packet window to hand them over
by. Options go to winws2 in a file (@file): z2k's alone are 55 KB, past
a Windows command line.
Both sources, with every layer, verified by winws2's --dry-run under
Wine (tools/winws-dry-run.sh). The DPI page picks the strategies and
switches the detection. proxyFallback and the cutoff probe are said to
be not on Windows yet.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each profile without asOutbound is a tunnel service of its own,
AmneziaWGTunnel$<interface>, as amneziawg-windows's client installs one:
amneziawg-go on Wintun, its routes and DNS, and for one peer that takes
everything its firewall blocking what would leave outside the tunnel.
It runs awg-tunnel.exe, amneziawg-windows built from its pinned commit
with a main of ours (its Run(), its log in a file) instead of its
tunnel.dll, beside Wintun's signed DLL (tools/build-amneziawg.sh).
The service writes each profile's .conf below its state root, registers
the tunnel (unrestricted service SID, which its firewall exempts it by),
starts the autostart ones with itself, and removes the tunnels of
profiles gone, and all of them on uninstall. proxy-ctl awg
list|on|off|log, and the app's AmneziaWG page: profiles (a system-wide
one switched on and off, its log), one added from a vpn:// link or a
.conf, or removed.
tools/lib.sh: clone_commit, and fetch_pinned, which fetches in pieces a
download that stalls (some networks cut TLS after about 16 KB, as
wintun.net's here).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
As upstream's sampler and slow judge: every minute, eleven Clash API
snapshots a second apart; a site whose best direct transfer never beat
slowBelowKiBps three times is owed an exit, and gets the first, in probe
order, that answers it as well as direct does (probe --via); routed
slow, it moves on after crawling twice there, and with no exit left it
stays direct for a TTL. Here the Clash API is always on, so it works
whatever the selection.
The app's autoProxy page: on or off, a site probed or learned, the sites
routed (forget one or all), the exits (bad ones marked), the exclusions
and the slowness threshold. tools/screenshots.sh takes every page.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ProxySuite-<version>-windows-x64-setup.exe (NSIS, English and Russian):
it unpacks the release into its temporary folder and runs the release's
own proxy-suite-service.exe install from there, as install.cmd does from
the zip (unpacked straight into Program Files, an upgrade would find its
files in use). It refuses 32-bit Windows and anything before 10 1903, and
offers Windows' OpenSSH Client, unchecked, for the SSH tunnel.
install now writes the entry in Settings > Apps (uninstall.cmd; quietly,
the service's uninstall), and uninstall removes it, with WinDivert's
driver service when it is the suite's own.
The release workflow publishes the setup beside the zip. The app's
icon and GPUI's manifest share one resource (llvm-rc for both); the
build scripts' clones retry, and are kept for the next build.
Tested under Wine: tools/wine-setup-test.sh.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A page for whitelist-bypass: on or off; joiners with their state and the
call link to join; creators with theirs, their call link to copy, a new
call, and their login (a cookies export picked from disk, or DION's and
Bitrix's email and password); adding and removing either.
The app carries an icon now (tools/make-icon.py draws it; llvm-rc makes
it the exe's resource 1, where GPUI, Explorer and the Start Menu take it).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The check for a system proxy a killed app left on the local proxy ran
on every refresh while the option was off, so a proxy the user pointed
at the listener by hand was switched off within two seconds. It now
runs once, at the start. The registry sits behind a small trait, and
the state machine has tests.
- The tray's tooltip and menu are only touched when what they say
changes (a menu rebuilt while open would close).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- install copies proxy-suite.exe with the rest, closes running copies
before replacing files, makes an all-users Start Menu shortcut, starts
the app at every sign-in in the tray (HKLM Run, --hidden), and starts it
now as the signed-in user (through Explorer, not elevated).
- uninstall closes it, removes the shortcut and the sign-in start, and
turns off the user's system proxy if the app left it on the local
proxy (another proxy of theirs is left alone).
- The app does not take its own left-over system proxy for the user's.
- Lints: the last of clippy's, in the app, the service and a test.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The app points the signed-in user's system proxy (WinINet: browsers
and most programs follow it) at the local proxy while it runs and
proxy.systemProxy.enable asks; the user's own settings are kept and put
back when the proxy stops, the service goes, the option is turned off
or the app quits; one left behind by a killed app is cleared. A switch
for it on the overview. Elsewhere than Windows it does nothing.
- ps-core: clippy's collapsible ifs, comparisons without owned values, a
range loop without indexing.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Tray (gpui-tray): a shield coloured by how things are (working, one
failed, all off, no service), its tooltip saying which; the menu opens
the window and switches the local proxy, the DPI bypass and the Telegram
proxy, with their states checked; Quit. Closing the window leaves the
app in the tray (no tray: it quits); --hidden starts it there.
- The app builds for Windows from Linux: GPUI compiles its HLSL shaders
with fxc.exe only when the building machine is Windows, so its Windows
backend is vendored with that one check made on the target instead
(vendor/gpui-pre-windows/PATCHED.md, tools/vendor-gpui-windows.py), and
tools/fxc-wine.sh runs Microsoft's fxc.exe under Wine: the compiler from
the Windows SDK 10.0.26100 installer, pinned by hash, kept on the build
machine; only the compiled shaders go into the app.
- gui-shot.sh keeps the app off the desktop's session bus.
Under Wine the app starts but cannot draw text (Wine's DirectWrite does
not implement font-set matching), so its Windows rendering is untested.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Components: each program's pinned version, the one installed (or
missing), its license and source; fetching them all again, which the
service allows administrators only, with each failure named.
- The sidebar's foot says whether the service is reachable, and
"Applying…" while a change is under way; when it is not running, the
overview says how to start it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Upstream's option tree as JSON in a code editor (highlighted, folding),
loaded with its revision; Check asks the service to validate without
taking it; Save sends it against the revision loaded, so a change made
elsewhere meanwhile is refused, not overwritten, and the page says so.
The validator's notes and an apply failure are shown under the editor;
redacted secrets are explained (left as they are, they keep their
values). Every option the other pages do not show is editable here.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Logs: every unit's as they come (the last 500 first, 5000 kept), one
unit's on its own, following or held; terminal colours stripped; a
virtual list, so thousands of lines cost nothing. The follow starts
when the page is first opened and reconnects by itself.
- Linux (development, tests): the service's children get SIGKILL when it
dies (PR_SET_PDEATHSIG), as the Job Object does on Windows; a killed
service no longer leaves sing-box running (the e2e test leaked one per
run).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adding an outbound from a share link or a backend's JSON (checked here
first, by the same parser as proxy-ctl; tagged from the link unless
named); the list with each one's source, backend and detour, pinned or
left out, its delay on request, and remove for the user's own; the
routing mode; subscriptions added, updated and removed.
dev-service.sh: the demo server resolves names over HTTPS (sing-box needs
a resolver for its direct outbound, and plain DNS may be blocked).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tg-ws-proxy on or off and its state; its tg:// links, to copy or open in
Telegram (none without the secrets scope, and the page says so); whether
other devices may connect; its port and fake-TLS domain (which adds the
ee link). Long links are cut short rather than widening the page.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
zapret on or off and its engine; for Flowseal's presets, the preset (the
release's own list, matched as the service matches names) and game
traffic; for zapret2, learning, IPv6 and the strategy log; the sites to
handle besides the engine's lists and the sites to leave alone; TCP
timestamps. News from the service replaces what the user has not
changed, never what they are typing; a save shows the list as saved.
ps-client: set_path for any one option, set_zapret_sites (tidied,
deduplicated). gui-shot.sh takes ordered steps: click, type, key, wait.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- bridge: ps-client on a tokio runtime of its own, awaited from GPUI's
executor; log following as a channel that reconnects.
- model: status polled every 2 s (outbounds every fifth round and on a
reconnect), the zapret presets and tg links on connecting, and changes
sent through ps-client's edits; what came of each is a notification,
the service's own words when it refuses or cannot apply.
- The window: a sidebar of pages; the overview shows the local proxy, the
DPI bypass and the Telegram proxy with their states and switches, and
what the service warns of. The other pages come next.
- Icons: the components' own and the few the app adds, not all of Lucide.
- zapret's engines by upstream's names (zapret-discord-youtube, zapret2).
- gui-shot.sh can click before the shot.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- ps-client: the service's client side, moved out of proxy-ctl: calls,
configuration edits against the revision read (retried on a concurrent
change), log following, and the edits themselves as functions on the
configuration (outbounds, subscriptions, rules, zapret, tg-ws-proxy),
now unit-tested. proxy-ctl does what it did, through it; a refused log
follow is now an error instead of nothing.
- ps-gui: proxy-suite, the desktop app on GPUI (gpui-kit 0.8.1); only a
first window yet. Not in default-members: plain cargo build/test and the
release workflow's tests leave GPUI out.
- tools/gui-shot.sh: runs the app on Xvfb with Mesa's software Vulkan and
screenshots it, to check the GUI on Linux without a display.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>