From 68e0c367c996326a8d3982ecffb2d46fe633ef6e Mon Sep 17 00:00:00 2001 From: bol-van Date: Sun, 28 Dec 2025 10:27:21 +0300 Subject: [PATCH] blockcheck2: fix broken parts --- blockcheck2.d/standard/50-fake-multi.sh | 2 +- blockcheck2.d/standard/60-fake-hostfake.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/blockcheck2.d/standard/50-fake-multi.sh b/blockcheck2.d/standard/50-fake-multi.sh index 67f173e..8924241 100644 --- a/blockcheck2.d/standard/50-fake-multi.sh +++ b/blockcheck2.d/standard/50-fake-multi.sh @@ -71,7 +71,7 @@ pktws_fake_https_vary_() shift; shift; shift pktws_curl_test_update $testf $domain ${FAKE_HTTPS:+--blob=$fake:@"$FAKE_HTTPS" }$pre $PAYLOAD --lua-desync=fake:blob=$fake:$fooling:repeats=$FAKE_REPEATS --lua-desync=$splitf:pos=$split $post && ok_any=1 pktws_curl_test_update $testf $domain $pre $PAYLOAD --lua-desync=fake:blob=0x00000000:$fooling:repeats=$FAKE_REPEATS --lua-desync=$splitf:pos=$split $post && ok_any=1 - pktws_curl_test_update $testf $domain $pre $PAYLOAD --lua-desync=fake:blob=0x00000000:$fooling:repeats=$FAKE_REPEATS --lua-desync=fake:blob=$fake:$fooling:tls_mod=rnd,dupsid:repeats=$FAKE_REPEATS --lua-desync=$splitf:pos=$split $post && ok_any=1 + pktws_curl_test_update $testf $domain ${FAKE_HTTPS:+--blob=$fake:@"$FAKE_HTTPS" }$pre $PAYLOAD --lua-desync=fake:blob=0x00000000:$fooling:repeats=$FAKE_REPEATS --lua-desync=fake:blob=$fake:$fooling:tls_mod=rnd,dupsid:repeats=$FAKE_REPEATS --lua-desync=$splitf:pos=$split $post && ok_any=1 pktws_curl_test_update $testf $domain ${FAKE_HTTPS:+--blob=$fake:@"$FAKE_HTTPS" }$pre $PAYLOAD --lua-desync=multisplit:blob=$fake:$fooling:pos=2:nodrop:repeats=$FAKE_REPEATS --lua-desync=$splitf:pos=$split $post && ok_any=1 pktws_curl_test_update $testf $domain ${FAKE_HTTPS:+--blob=$fake:@"$FAKE_HTTPS" }$pre $PAYLOAD --lua-desync=fake:blob=$fake:$fooling:tls_mod=rnd,dupsid,padencap:repeats=$FAKE_REPEATS --lua-desync=$splitf:pos=$split $post && ok_any=1 [ "$ok_any" = 1 ] && ok=1 diff --git a/blockcheck2.d/standard/60-fake-hostfake.sh b/blockcheck2.d/standard/60-fake-hostfake.sh index c2b382b..220b70e 100644 --- a/blockcheck2.d/standard/60-fake-hostfake.sh +++ b/blockcheck2.d/standard/60-fake-hostfake.sh @@ -29,7 +29,7 @@ pktws_check_hostfake() # $2 - domain # $3 - PRE args for nfqws2 local testf=$1 domain="$2" pre="$3" - local ok ttls attls f fake fooling + local ok ttls attls f fooling [ "$need_hostfakesplit" = 0 ] && return 0