From 61f1ce2d74fe176fa0fa1231ceb37db0916d6b3a Mon Sep 17 00:00:00 2001 From: bol-van Date: Sat, 2 Mar 2024 22:28:49 +0300 Subject: [PATCH] blockcheck: add multiple autottl delta tests --- blockcheck.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/blockcheck.sh b/blockcheck.sh index 0934f12..f7b2e25 100755 --- a/blockcheck.sh +++ b/blockcheck.sh @@ -637,9 +637,11 @@ 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-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 - } + for delta in 1 2 3; do + pktws_curl_test_update $1 $3 $s --dpi-desync-ttl=1 --dpi-desync-autottl=$delta $e || { + test_has_split $desync && pktws_curl_test_update $1 $3 $s --dpi-desync-split-pos=1 --dpi-desync-ttl=1 --dpi-desync-autottl=$delta $e + } + done f="badsum badseq md5sig datanoack" [ "$IPV" = 6 ] && f="$f hopbyhop hopbyhop2" for fooling in $f; do