- hostlistRules (zapret-discord-youtube): a group of sites with its own strategy, as upstream's patch-zapret-config.py makes them: the preset's profiles for the rule's family (or another preset's, with configName; Discord's voice profile with it), pointed at the rule's own list with the standard excludes, or the rule's nfqwsArgs; ahead of the preset's own. WinDivert's filter takes the ports they add. Rules with enableDirectSync join the direct list. Names of zapret's own lists, and the instagram/soundcloud/twitter families (not in Flowseal's Windows release), are refused. Every preset with sample rules checked by winws.exe --dry-run (tools/winws-dry-run.sh); one without the profile a rule copies is refused, as upstream refuses it. - The SSH tunnel (sshProxy): Windows' own OpenSSH (System32) as ssh -N -D, with upstream's options and only the configured key offered (IdentitiesOnly: an agent's keys used up the server's tries); the key copied below the protected state root, as Windows' OpenSSH wants it and sing-box's SSH outbound reads it; the server's keys from hostKey, hostKeyFile or knownHostsFile. End to end on Linux against an sshd of the test's own: a page through each, two logins with the copied key. - The dev shell has OpenSSH, for that test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
7 lines
395 B
JSON
7 lines
395 B
JSON
[
|
|
{ "name": "mine", "domains": ["example.com"], "preset": "general" },
|
|
{ "name": "yt", "defaultDomains": ["youtube"], "domains": ["extra.example"] },
|
|
{ "name": "voice", "defaultDomains": ["discord"], "configName": "general (ALT9)" },
|
|
{ "name": "own", "domains": ["own.example"], "ips": ["198.51.100.0/24"], "nfqwsArgs": ["--filter-tcp=8443 --dpi-desync=fake --dpi-desync-repeats=6"] }
|
|
]
|