From e41e4f18c730abdba8e095419d186dba4b6ed817 Mon Sep 17 00:00:00 2001 From: Alexander Golovanov Date: Fri, 18 Sep 2026 15:58:06 +0300 Subject: [PATCH] [blockcheck2] Add a separate very quick scan level quick is meant to be the fast option, but it only changes how repeated attempts are handled - it still works through every variation of a strategy regardless. For strategies built around a fake TLS handshake, that means testing dozens of small tweaks (different TTLs, different TCP tricks, extra padding, split positions) well past the point where an early exit would have been possible. The new veryquick level stops as soon as a strategy succeeds, instead of continuing through the rest just to be thorough. It's a separate option rather than a change to quick, so quick, standard, and force behave exactly as they did. --- blockcheck2.d/standard/25-fake.sh | 9 +++++++++ blockcheck2.d/standard/30-faked.sh | 6 ++++++ blockcheck2.d/standard/35-hostfake.sh | 8 ++++++++ blockcheck2.d/standard/50-fake-multi.sh | 10 ++++++++++ blockcheck2.d/standard/55-fake-faked.sh | 16 ++++++++++++++++ blockcheck2.d/standard/60-fake-hostfake.sh | 8 ++++++++ blockcheck2.sh | 11 ++++++----- docs/manual.en.md | 1 + docs/manual.md | 1 + 9 files changed, 65 insertions(+), 5 deletions(-) diff --git a/blockcheck2.d/standard/25-fake.sh b/blockcheck2.d/standard/25-fake.sh index 121c115..cd12e0f 100644 --- a/blockcheck2.d/standard/25-fake.sh +++ b/blockcheck2.d/standard/25-fake.sh @@ -41,7 +41,9 @@ pktws_check_http() pktws_curl_test_update $testf $domain ${FAKE_HTTP:+--blob=fake_http:@"$FAKE_HTTP" }$PAYLOAD --lua-desync=fake:blob=$ff:$fooling:repeats=$FAKE_REPEATS && ok=1 # duplicate SYN with MD5 contains "$fooling" tcp_md5 && pktws_curl_test_update $testf $domain ${FAKE_HTTP:+--blob=$fake:@"$FAKE_HTTP" }$PAYLOAD --lua-desync=fake:blob=$ff:$fooling:repeats=$FAKE_REPEATS --payload=empty "--out-range=