mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-30 05:50:53 +03:00
blockcheck: add multiple autottl delta tests
This commit is contained in:
parent
7ba1c28f94
commit
61f1ce2d74
@ -637,9 +637,11 @@ pktws_check_domain_bypass()
|
|||||||
pktws_curl_test_update $1 $3 $s --dpi-desync-ttl=$ttl $e && break
|
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
|
test_has_split $desync && pktws_curl_test_update $1 $3 $s --dpi-desync-split-pos=1 --dpi-desync-ttl=$ttl $e && break
|
||||||
done
|
done
|
||||||
pktws_curl_test_update $1 $3 $s --dpi-desync-ttl=1 --dpi-desync-autottl $e || {
|
for delta in 1 2 3; do
|
||||||
test_has_split $desync && pktws_curl_test_update $1 $3 $s --dpi-desync-split-pos=1 --dpi-desync-ttl=1 --dpi-desync-autottl $e
|
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"
|
f="badsum badseq md5sig datanoack"
|
||||||
[ "$IPV" = 6 ] && f="$f hopbyhop hopbyhop2"
|
[ "$IPV" = 6 ] && f="$f hopbyhop hopbyhop2"
|
||||||
for fooling in $f; do
|
for fooling in $f; do
|
||||||
|
Loading…
Reference in New Issue
Block a user