windows: zapret2 with z2k's strategies and upstream's Lua layers
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>
This commit is contained in:
1 parent
0a7d8d99c0
commit
9eed225ccc
10 files changed
+471
-40
No files matched your search
@@ -20,6 +20,7 @@ The desktop app: Proxy Suite now has a window and a tray icon, besides `proxy-ct
|
||||
`install.cmd` puts it in the Start Menu and starts it at every sign-in, in the tray.
|
||||
|
||||
### Also
|
||||
- zapret2: z2k's strategies (`strategySource = "z2k"`), made by z2k's own generator; upstream's Lua around either source: each site's working strategy kept across restarts, strategies keyed by site, and the extended detector (`autoHostlist.extendedDetection`), which also learns sites blocked only some of the time and requests that never get an answer. On the DPI bypass page too.
|
||||
- zapret's `hostlistRules`: a group of sites with its own strategy, copied from a preset (or another one, `configName`) or given as `nfqwsArgs`, ahead of the preset's own; every preset with them checked by Flowseal's `winws.exe`.
|
||||
- The SSH tunnel (`sshProxy`): Windows' own OpenSSH as a SOCKS listener for other programs, and, with `asOutbound`, an outbound of the proxy. Needs Windows' "OpenSSH Client" (there by default since Windows 10 1809).
|
||||
- Tor (`tor`): the Tor Project's own Windows build, with bridges (obfs4, webtunnel, snowflake, meek, conjure) and, with `asOutbound`, an outbound of the proxy.
|
||||
@@ -40,7 +41,7 @@ Download `ProxySuite-0.2.0-pre.1-windows-x64-setup.exe` and run it (its SHA-256
|
||||
The zip is still there, the same files with `install.cmd`.
|
||||
|
||||
### Not yet
|
||||
Tor's onion service, the kill switch, server inbounds, the XRay-only backend, zapret2's extended detection and the z2k strategies.
|
||||
Tor's onion service, the kill switch, server inbounds, the XRay-only backend, zapret2's proxyFallback and its 16 KB cutoff probe.
|
||||
|
||||
### Note
|
||||
Unlike upstream, the signed-in user may change every setting by default (`userControl`), except the ones that could run programs or read files as SYSTEM: those always need an administrator. On a shared computer, restrict `userControl.scopes`.
|
||||
Reference in new issue
Block a user