blockcheck: test http3 google fake

This commit is contained in:
bol-van 2025-05-20 12:05:43 +03:00
parent b2f0c46388
commit c993f117a2

View File

@ -1438,13 +1438,15 @@ pktws_check_domain_http3_bypass_()
# $1 - test function # $1 - test function
# $2 - domain # $2 - domain
local f desync frag tests rep local f desync frag tests rep fake
for rep in '' 2 5 10 20; do for fake in '' "--dpi-desync-fake-quic=$ZAPRET_BASE/files/fake/quic_initial_www_google_com.bin"; do
pktws_curl_test_update $1 $2 --dpi-desync=fake ${rep:+--dpi-desync-repeats=$rep} && [ "$SCANLEVEL" != force ] && { for rep in '' 2 5 10 20; do
[ "$SCANLEVEL" = quick ] && return pktws_curl_test_update $1 $2 --dpi-desync=fake ${fake:+$fake }${rep:+--dpi-desync-repeats=$rep} && [ "$SCANLEVEL" != force ] && {
break [ "$SCANLEVEL" = quick ] && return
} break
}
done
done done
[ "$IPV" = 6 ] && { [ "$IPV" = 6 ] && {