Template
1
0
mirror of https://github.com/bol-van/zapret2.git synced 2026-03-14 06:13:09 +00:00

blockcheck: NOTEST_SEQOVL fix

This commit is contained in:
bol-van
2026-01-15 15:04:01 +03:00
parent c3adb3f045
commit 3d9a36600b

View File

@@ -34,6 +34,7 @@ pktws_seqovl_tests_tls()
# $1 - test function # $1 - test function
# $2 - domain/uri # $2 - domain/uri
# $3 - PRE args for nfqws2 # $3 - PRE args for nfqws2
local ok ok_any local ok ok_any
local testf=$1 domain="$2" pre="$3" local testf=$1 domain="$2" pre="$3"
local pat rnd_mod padencap_mod split f f2 local pat rnd_mod padencap_mod split f f2
@@ -67,21 +68,13 @@ pktws_seqovl_tests_tls()
[ "$ok_any" = 1 ] [ "$ok_any" = 1 ]
} }
pktws_check_https_tls()
{
# $1 - test function
# $2 - domain
# $3 - PRE args for nfqws2
[ "$NOTEST_SEQOVL_HTTPS" = 1 ] && { echo "SKIPPED"; return; }
pktws_seqovl_tests_tls "$1" "$2" "$3"
}
pktws_check_https_tls12() pktws_check_https_tls12()
{ {
# $1 - test function # $1 - test function
# $2 - domain # $2 - domain
[ "$NOTEST_SEQOVL_HTTPS" = 1 ] && { echo "SKIPPED"; return; }
pktws_seqovl_tests_tls "$1" "$2" && [ "$SCANLEVEL" != force ] && return pktws_seqovl_tests_tls "$1" "$2" && [ "$SCANLEVEL" != force ] && return
pktws_seqovl_tests_tls "$1" "$2" --lua-desync=wssize:wsize=1:scale=6 pktws_seqovl_tests_tls "$1" "$2" --lua-desync=wssize:wsize=1:scale=6
} }
@@ -90,5 +83,8 @@ pktws_check_https_tls13()
{ {
# $1 - test function # $1 - test function
# $2 - domain # $2 - domain
[ "$NOTEST_SEQOVL_HTTPS" = 1 ] && { echo "SKIPPED"; return; }
pktws_seqovl_tests_tls "$1" "$2" pktws_seqovl_tests_tls "$1" "$2"
} }