Commit c993f117 authored by bol-van's avatar bol-van
Browse files

blockcheck: test http3 google fake

parent b2f0c463
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -1438,14 +1438,16 @@ pktws_check_domain_http3_bypass_()
	# $1 - test function
	# $2 - domain

	local f desync frag tests rep
	local f desync frag tests rep fake

	for fake in '' "--dpi-desync-fake-quic=$ZAPRET_BASE/files/fake/quic_initial_www_google_com.bin"; do
		for rep in '' 2 5 10 20; do
		pktws_curl_test_update $1 $2 --dpi-desync=fake ${rep:+--dpi-desync-repeats=$rep} && [ "$SCANLEVEL" != force ] && {
			pktws_curl_test_update $1 $2 --dpi-desync=fake ${fake:+$fake }${rep:+--dpi-desync-repeats=$rep} && [ "$SCANLEVEL" != force ] && {
				[ "$SCANLEVEL" = quick ] && return
				break
			}
		done
	done

	[ "$IPV" = 6 ] && {
		f="hopbyhop destopt"