From 9849bfc1ed51c71c3633dc063bbd7215c835fe01 Mon Sep 17 00:00:00 2001 From: bol-van Date: Tue, 5 Mar 2024 17:31:43 +0300 Subject: [PATCH] blockcheck: increase autottl delta range to 1-5 --- blockcheck.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blockcheck.sh b/blockcheck.sh index 3269a8d..bf02bd3 100755 --- a/blockcheck.sh +++ b/blockcheck.sh @@ -579,7 +579,7 @@ warn_fool() { case "$1" in md5sig) echo 'WARNING ! although md5sig fooling worked it will not work on all sites. it typically works only on linux servers.' ;; - datanoack) echo 'WARNING ! although datanoack fooling worked it breaks NAT and can only work with external IP. Additionally it may require nftables to work correctly.' ;; + datanoack) echo 'WARNING ! although datanoack fooling worked it may break NAT and may only work with external IP. Additionally it may require nftables to work correctly.' ;; esac } pktws_check_domain_bypass() @@ -637,7 +637,7 @@ 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 - for delta in 1 2 3; do + for delta in 1 2 3 4 5; 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 }