From: luca.boccassi@...277... Date: Sun, 15 Mar 2026 23:05:29 +0000 Message-ID: <20260315230620.1594780-2-luca.boccassi@...277...> In-Reply-To: <20260315230620.1594780-1-luca.boccassi@...277...> References: <20260315184337.1541272-1-luca.boccassi@...277...> <20260315230620.1594780-1-luca.boccassi@...277...> MIME-Version: 1.0 Subject: [Openvpn-devel] [PATCH v2 1/3] Increase TLS_CHANNEL_BUF_SIZE from 2048 to 8192 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: openvpn-devel@lists.sourceforge.net Cc: Luca Boccassi From: Luca Boccassi When authenticating via a JWT token 2048 bytes are not enough, which breaks the auth process. In my local case the token is ~2100 bytes. Bump the maximum harcoded size from 2k to 8k to leave some headroom. Signed-off-by: Luca Boccassi --- src/openvpn/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openvpn/common.h b/src/openvpn/common.h index aa7b7217..fbe6239a 100644 --- a/src/openvpn/common.h +++ b/src/openvpn/common.h @@ -67,7 +67,7 @@ typedef unsigned long ptr_type; * maximum size of a single TLS message (cleartext). * This parameter must be >= PUSH_BUNDLE_SIZE */ -#define TLS_CHANNEL_BUF_SIZE 2048 +#define TLS_CHANNEL_BUF_SIZE 8192 /* TLS control buffer minimum size * -- 2.47.3