mirror of
https://github.com/bol-van/zapret.git
synced 2025-05-24 22:32:58 +03:00
Compare commits
2 Commits
a3c996e80c
...
2f830831bb
Author | SHA1 | Date | |
---|---|---|---|
|
2f830831bb | ||
|
29ab747e5b |
@ -446,3 +446,4 @@ v70
|
|||||||
|
|
||||||
blockcheck: override all dialog questions and enable batch mode
|
blockcheck: override all dialog questions and enable batch mode
|
||||||
blockcheck: parallel attempts
|
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)
|
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)
|
bool IsDhtD1(const uint8_t *data, size_t len)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user