Commit Graph
1333 Commits
Author SHA1 Message Date
bol-van a1adf7b868 nfqws2: support rare partial root environment 2026-10-04 10:18:18 +03:00
bol-van ca950d838a zapret-lib: comments spelling 2026-09-29 08:18:27 +03:00
bol-van 873642573e update docs 2026-09-28 22:35:22 +03:00
bol-van 00f5aaa36d update docs 2026-09-18 11:30:00 +03:00
bol-van 1e329918dc update docs 2026-09-18 11:26:08 +03:00
bol-van 8a398236ac update docs 2026-09-18 11:25:13 +03:00
bol-van 074c981a37 update docs 2026-09-18 11:24:24 +03:00
bol-van 03c139f34a update docs 2026-09-18 11:21:19 +03:00
bol-van cdcb8d4711 update docs 2026-09-18 11:20:16 +03:00
bol-van 970adb5d55 update docs 2026-09-18 11:18:44 +03:00
bol-van 6535202a9a update docs 2026-09-18 11:15:43 +03:00
bol-van 9bff218b9a update docs 2026-09-18 11:14:28 +03:00
bol-van 3e3b902902 update docs 2026-09-18 11:12:24 +03:00
bol-van 0f65389571 blockcheck2: CURL_PAD_KB=>CURL_PAD. split padding into smaller headers 2026-09-18 10:54:36 +03:00
bol-van ec25da2277 blockcheck2: warn about eval failing strategies in custom list 2026-09-18 10:04:10 +03:00
bol-van 0d2227caf6 Merge pull request #313 from sasha-spb-ru/add-request-padding
[blockcheck2] Add a way to test the size-based block without a real download
2026-09-18 09:55:41 +03:00
bol-van eb42084b30 Merge pull request #311 from sasha-spb-ru/show-strategy-coverage
[blockcheck2] Add a coverage summary next to the results
2026-09-18 09:54:42 +03:00
bol-van 3b6f0cc345 Merge pull request #310 from sasha-spb-ru/fix-strategy-escaping
[blockcheck2] Stop requiring manual escaping in strategy lists
2026-09-18 09:51:38 +03:00
bol-van 28b6fb853e Merge pull request #297 from zaveshaa/fix-doubled-word
docs: fix doubled word in manual.en.md
2026-09-17 22:03:01 +03:00
bol-van bf3b30af9c Merge pull request #290 from 0-x-0-0/fix-static-analyzer-warnings
Fix -Wcast-qual and -Wlogical-op-parentheses warnings
2026-09-17 22:01:57 +03:00
Alexander Golovanov 34a95e8a41 [blockcheck2] Add a way to test the size-based block without a real download
The "16 KB" block triggers based on how much data passes through the
connection, not on what that data actually is. Testing for it usually
means pointing at a page you know is big enough to download - but that
only works if your target actually has one.

Adds CURL_PAD_KB: set it to a number and every request gets padded
with that many KB of junk data, so the block can be triggered against
any target, even a bare server with nothing to download. Off by
default, and doesn't change anything unless you turn it on.

The padding is written to a temp file and attached from there, not
built inline: a large inline value can hit low, easy-to-reach limits
on some platforms (Cygwin among them).
2026-09-17 12:57:31 +03:00
Alexander Golovanov bf64220ab8 [blockcheck2] Stop requiring manual escaping in strategy lists
Custom strategy lists are plain text, and each line gets run through
the shell - so a strategy containing certain characters (<, parentheses,
quotes) would fail unless you added quotes around it by hand. Some real,
valid strategies use exactly these characters.

Now, when a line fails for that reason, it's automatically retried in
a simpler way that doesn't care about those characters at all. You can
paste a strategy in exactly as blockcheck2 prints it and it'll just
work. Manual escaping still works too, and is tried first if you're
already doing it.
2026-09-17 11:31:30 +03:00
Alexander Golovanov adf7791367 [blockcheck2] Add a coverage summary next to the results
When testing several targets at once, the results only ever show
strategies that worked for every single one. If your targets are
a bunch of unrelated servers, that list can easily come up empty
even when several strategies each work for most of them.

Adds a second summary that lists every strategy that worked at all,
with how many targets it worked for, best first - so you can see
which one comes closest instead of getting an all-or-nothing answer.
2026-09-17 11:24:21 +03:00
bol-van 1ea7d10f6f update docs 2026-09-16 16:41:14 +03:00
bol-van 859c24d32b update docs 2026-09-16 16:22:20 +03:00
bol-van 5df635efdb nfqws2: HttpReplyLooksLikeDPIRedirect accept # and ? chars as domain end 2026-09-16 16:20:51 +03:00
bol-van 7119ffce54 zapret-lib: dissect_url accept # and ? chars as domain end 2026-09-16 16:14:48 +03:00
bol-van 2efdb70b1c nfqws2: make autolists nonempty even if loading failed 2026-09-15 21:51:18 +03:00
bol-van 692139aeea zapret-lib: dissect quic tvb values that can't fit into 52-bit mantissa into raw strings 2026-09-15 18:58:21 +03:00
bol-van 6b6c63e338 update docs v1.0.5.2 2026-09-15 15:21:18 +03:00
bol-van 5fab86344a nfqws2: do not make autohostlists nonempty if no lists were reloaded 2026-09-15 15:02:28 +03:00
bol-van c1e8e7c0d9 nfqws2: dp_match_data optimize struct members 2026-09-15 12:13:17 +03:00
bol-van d9fde580e6 nfqws2: dp_match_data optimize struct members 2026-09-15 12:12:34 +03:00
bol-van 5ebfa6c0dc nfqws2: move dp_match() args to struct 2026-09-15 12:09:54 +03:00
bol-van a1bca5a85e update docs v1.0.5.1 2026-09-07 21:18:32 +03:00
bol-van 3122b66190 nfqws2: optimize profile search. fast checks first 2026-09-07 21:03:48 +03:00
bol-van 0b8182d24a zapret-lib: fix length checking for keyshare extension in tls_dissect_ext v1.0.5 2026-09-02 10:49:58 +03:00
bol-van 8b50962e66 nfqws2: --filter-mark 2026-09-02 10:36:00 +03:00
bol-van a7ff6410d6 update docs 2026-09-02 09:35:10 +03:00
bol-van 6e186a3b38 nfqws2: pad tcp options with 0x00 in reconstruct. strip 0x00 ending options in dissect. 2026-09-02 09:18:27 +03:00
bol-van 36355d46e3 nfqws2: fix exit on HUP 2026-08-28 09:04:12 +03:00
bol-van 2f8948d0eb nfqws2:dont break on eol tcpopt in dissect 2026-08-25 08:07:53 +03:00
bol-van 68514ed871 blind patch fix 2026-08-24 21:43:31 +03:00
bol-van 204e95ad0e nfqws22: pad tcp opts with zero 2026-08-24 20:41:26 +03:00
zaveshaa 3c93f925be docs: fix doubled word in manual.en.md 2026-08-23 21:11:10 +03:00
bol-van 07c69bf132 blockcheck2: fix script crash on bad strategies from the file in custom/10-list.sh 2026-08-23 19:50:13 +03:00
bol-van 2080981cea zapret-lib: minor optimize 2026-08-23 15:58:54 +03:00
bol-van c4e4fff4a0 zapret-lib: minor optimize 2026-08-23 15:58:02 +03:00
bol-van 1c5d49699c AI and manual fixes 2026-08-23 12:07:59 +03:00
bol-van a0be7cbb40 update docs 2026-08-20 18:55:40 +03:00