mirror of
https://github.com/bol-van/zapret.git
synced 2025-02-05 14:54:19 +05:00
nfqws: weaken wireguard initiation recognition
This commit is contained in:
parent
b897ec5d9a
commit
29ab747e5b
@ -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
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user