Browse Source

blockcheck: add fallback ttl=1 to autottl test

pull/176/head
bol-van 1 year ago
parent
commit
1222eb96f5
  1. 4
      blockcheck.sh

4
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"

Loading…
Cancel
Save