blockcheck: quic multiple repeats fake tests

This commit is contained in:
bol-van
2024-03-25 23:09:10 +03:00
parent 3b5edb5fc0
commit cb41002c1a
2 changed files with 8 additions and 3 deletions

View File

@@ -932,9 +932,14 @@ pktws_check_domain_http3_bypass_()
# $1 - test function
# $2 - domain
local f desync frag tests
local f desync frag tests rep
pktws_curl_test_update $1 $2 --dpi-desync=fake && [ "$SCANLEVEL" = quick ] && return
for rep in '' 2 5 10 20; do
pktws_curl_test_update $1 $2 --dpi-desync=fake ${rep:+--dpi-desync-repeats=$rep} && [ "$SCANLEVEL" != force ] && {
[ "$SCANLEVEL" = quick ] && return
break
}
done
[ "$IPV" = 6 ] && {
f="hopbyhop destopt"