Template
1
0
mirror of https://github.com/bol-van/zapret2.git synced 2026-03-20 00:05:48 +00:00

nfqws2: removed hard check for host: presence in http_req

This commit is contained in:
bol-van
2026-01-18 11:47:06 +03:00
parent 14bd4832a4
commit 378b1c727d
2 changed files with 4 additions and 5 deletions

View File

@@ -195,3 +195,7 @@ v0.8.1
* winws2, blockcheck2: allow multiple instances in windows, linux, freebsd (not openbsd)
* nfqws2: fix critical bug - wrong ipv6 dissection
* zapret-auto: fix standard_failure_detector http redirect regression
0.8.7
* nfqws2: removed hard check for host: presence in http_req

View File

@@ -1298,11 +1298,6 @@ static uint8_t dpi_desync_tcp_packet_play(
if (l7payload==L7P_HTTP_REQ)
{
bHaveHost = HttpExtractHost(rdata_payload, rlen_payload, host, sizeof(host));
if (!bHaveHost)
{
DLOG("not applying tampering to HTTP without Host:\n");
goto pass;
}
}
else if (l7payload==L7P_TLS_CLIENT_HELLO || l7proto==L7_TLS && l7payload==L7P_UNKNOWN && ctrack_replay && !ReasmIsEmpty(&ctrack_replay->reasm_client))
{