blockcheck: test syndata with wssize

This commit is contained in:
bol-van 2024-04-08 19:27:23 +03:00
parent 99c6014adb
commit c7ccce37fe

View File

@ -906,16 +906,17 @@ pktws_check_domain_http_bypass_()
[ "$SCANLEVEL" = quick ] && return [ "$SCANLEVEL" = quick ] && return
} }
done done
s="http_iana_org.bin"
[ "$sec" = 1 ] && s="tls_clienthello_iana_org.bin"
for desync in syndata syndata,split2 syndata,disorder2 syndata,split2 syndata,disorder2 ; do
pktws_curl_test_update_vary $1 $2 $3 $desync $e && [ "$SCANLEVEL" = quick ] && return
pktws_curl_test_update_vary $1 $2 $3 $desync --dpi-desync-fake-syndata="$ZAPRET_BASE/files/fake/$s" $e && [ "$SCANLEVEL" = quick ] && return
done
# do not do wssize test for http. it's useless # do not do wssize test for http. it's useless
[ "$sec" = 1 ] || break [ "$sec" = 1 ] || break
done done
s="http_iana_org.bin"
[ "$sec" = 1 ] && s="tls_clienthello_iana_org.bin"
for desync in syndata syndata,split2 syndata,disorder2 syndata,split2 syndata,disorder2 ; do
pktws_curl_test_update_vary $1 $2 $3 $desync && [ "$SCANLEVEL" = quick ] && return
pktws_curl_test_update_vary $1 $2 $3 $desync --dpi-desync-fake-syndata="$ZAPRET_BASE/files/fake/$s" && [ "$SCANLEVEL" = quick ] && return
done
} }
pktws_check_domain_http_bypass() pktws_check_domain_http_bypass()
{ {