linux-hwg/linux-hwg3.patch
HeshamTB ad5967ddc5 wireguard: hwg patch to change wg packet types:
- This is done to bypass STC DPI

    - All sides must use this patched spec
    of wireguard

Signed-off-by: HeshamTB <hishaminv@gmail.com>

wireguard packet type patch

Signed-off-by: HeshamTB <hishaminv@gmail.com>

config: restore SPEC_MIT
2024-01-20 13:19:25 +03:00

25 lines
673 B
Diff

drivers/net/wireguard/messages.h | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/net/wireguard/messages.h b/drivers/net/wireguard/messages.h
index 208da7267..5a65554a6 100644
--- a/drivers/net/wireguard/messages.h
+++ b/drivers/net/wireguard/messages.h
@@ -54,11 +54,11 @@ enum limits {
};
enum message_type {
- MESSAGE_INVALID = 0,
- MESSAGE_HANDSHAKE_INITIATION = 1,
- MESSAGE_HANDSHAKE_RESPONSE = 2,
- MESSAGE_HANDSHAKE_COOKIE = 3,
- MESSAGE_DATA = 4
+ MESSAGE_INVALID = 5,
+ MESSAGE_HANDSHAKE_INITIATION = 6,
+ MESSAGE_HANDSHAKE_RESPONSE = 7,
+ MESSAGE_HANDSHAKE_COOKIE = 8,
+ MESSAGE_DATA = 9
};
struct message_header {