mirror of
https://github.com/bol-van/zapret.git
synced 2025-05-25 03:30:48 +05:00
blockcheck: test http3 google fake
This commit is contained in:
parent
b2f0c46388
commit
c993f117a2
@ -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 ] && {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user