From d02aab7f8c0f12670b132b1e7641915bd59e2699 Mon Sep 17 00:00:00 2001 From: HeshamTB Date: Mon, 1 Jan 2024 02:49:19 +0300 Subject: [PATCH] noise: add fixed value in wg header, reserved_zero: the goal is to bypass DPI at STC Signed-off-by: HeshamTB --- device/noise-protocol.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/device/noise-protocol.go b/device/noise-protocol.go index e8f6145..06f7df6 100644 --- a/device/noise-protocol.go +++ b/device/noise-protocol.go @@ -53,10 +53,10 @@ const ( ) const ( - MessageInitiationType = 1 - MessageResponseType = 2 - MessageCookieReplyType = 3 - MessageTransportType = 4 + MessageInitiationType = 1 + 0x40000000 + MessageResponseType = 2 + 0x40000000 + MessageCookieReplyType = 3 + 0x40000000 + MessageTransportType = 4 + 0x40000000 ) const (