diff --git a/docs/changes.txt b/docs/changes.txt index e35efe1..e325a71 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -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 diff --git a/nfq/protocol.c b/nfq/protocol.c index 1817aa0..3be2ad8 100644 --- a/nfq/protocol.c +++ b/nfq/protocol.c @@ -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) {