nfqws: weaken wireguard initiation recognition

This commit is contained in:
bol-van 2025-01-13 18:25:15 +03:00
parent b897ec5d9a
commit 29ab747e5b
2 changed files with 2 additions and 1 deletions

View File

@ -446,3 +446,4 @@ v70
blockcheck: override all dialog questions and enable batch mode
blockcheck: parallel attempts
nfqws: weaken wireguard initiation recognition. use len=148 and data[0]=1 signature

View File

@ -938,7 +938,7 @@ bool IsQUICInitial(const uint8_t *data, size_t len)
bool IsWireguardHandshakeInitiation(const uint8_t *data, size_t len)
{
return len==148 && data[0]==1 && data[1]==0 && data[2]==0 && data[3]==0;
return len==148 && data[0]==1;
}
bool IsDhtD1(const uint8_t *data, size_t len)
{