mirror of
https://github.com/bol-van/zapret.git
synced 2026-01-27 04:40:32 +03:00
blockcheck: fix missing quic fake escape
This commit is contained in:
@@ -1573,7 +1573,7 @@ pktws_check_domain_http3_bypass_()
|
|||||||
|
|
||||||
for fake in '' "--dpi-desync-fake-quic=$ZAPRET_BASE/files/fake/quic_initial_www_google_com.bin"; do
|
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
|
for rep in '' 2 5 10 20; do
|
||||||
pktws_curl_test_update $1 $2 --dpi-desync=fake ${fake:+$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
|
[ "$SCANLEVEL" = quick ] && return
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -595,3 +595,8 @@ mdig: --eagain, --eagain-delay
|
|||||||
73.8
|
73.8
|
||||||
|
|
||||||
nfqws: fix breaking tcp if ts fooling is enabled but no timestamps present
|
nfqws: fix breaking tcp if ts fooling is enabled but no timestamps present
|
||||||
|
|
||||||
|
73.9
|
||||||
|
|
||||||
|
blockcheck: fix detection of http redirection if domain/URI specified
|
||||||
|
install_easy: fix writing of ask_list variables
|
||||||
|
|||||||
@@ -928,6 +928,7 @@ void proto_skip_ipv6(uint8_t **data, size_t *len, uint8_t *proto_type, uint8_t *
|
|||||||
if (proto_type) *proto_type = 0; // put error in advance
|
if (proto_type) *proto_type = 0; // put error in advance
|
||||||
|
|
||||||
HeaderType = (*data)[6]; // NextHeader field
|
HeaderType = (*data)[6]; // NextHeader field
|
||||||
|
if (proto_type) *proto_type = HeaderType;
|
||||||
if (last_header_type) *last_header_type = (*data)+6;
|
if (last_header_type) *last_header_type = (*data)+6;
|
||||||
*data += 40; *len -= 40; // skip ipv6 base header
|
*data += 40; *len -= 40; // skip ipv6 base header
|
||||||
while (*len > 0) // need at least one byte for NextHeader field
|
while (*len > 0) // need at least one byte for NextHeader field
|
||||||
|
|||||||
Reference in New Issue
Block a user