From 1222eb96f5865f3d7148841acdce59d830fec55b Mon Sep 17 00:00:00 2001 From: bol-van Date: Sat, 2 Mar 2024 20:52:15 +0300 Subject: [PATCH] blockcheck: add fallback ttl=1 to autottl test --- blockcheck.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blockcheck.sh b/blockcheck.sh index 2e28917..0934f12 100755 --- a/blockcheck.sh +++ b/blockcheck.sh @@ -637,8 +637,8 @@ pktws_check_domain_bypass() pktws_curl_test_update $1 $3 $s --dpi-desync-ttl=$ttl $e && break test_has_split $desync && pktws_curl_test_update $1 $3 $s --dpi-desync-split-pos=1 --dpi-desync-ttl=$ttl $e && break done - pktws_curl_test_update $1 $3 $s --dpi-desync-autottl $e || { - test_has_split $desync && pktws_curl_test_update $1 $3 $s --dpi-desync-split-pos=1 --dpi-desync-autottl $e + pktws_curl_test_update $1 $3 $s --dpi-desync-ttl=1 --dpi-desync-autottl $e || { + test_has_split $desync && pktws_curl_test_update $1 $3 $s --dpi-desync-split-pos=1 --dpi-desync-ttl=1 --dpi-desync-autottl $e } f="badsum badseq md5sig datanoack" [ "$IPV" = 6 ] && f="$f hopbyhop hopbyhop2"