From patchwork Fri Jun 5 18:10:46 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gert Doering X-Patchwork-Id: 4998 Return-Path: Delivered-To: patchwork@openvpn.net Received: by 2002:a05:7000:bc1d:b0:861:c897:cb9d with SMTP id jc29csp433944mab; Fri, 5 Jun 2026 11:11:06 -0700 (PDT) X-Forwarded-Encrypted: i=2; AFNElJ+5DFVp11Kq5Flm4w7peoqcohtsHtG6haohrwRICQJW4V4a/YguQdnVL2Dr4zrpAwYXx6TUNQa3G8I=@openvpn.net X-Received: by 2002:a05:6808:2388:b0:485:a9c1:db8 with SMTP id 5614622812f47-4868defc36bmr2834578b6e.42.1780683066124; Fri, 05 Jun 2026 11:11:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1780683066; cv=none; d=google.com; s=arc-20240605; b=fRDaxaUeksncsNhfa1n39td9/zy8Af/gcP5adGyN3zAEL9EJAENE7MjsepgB6o8OEI Hj8MI+qXvyaB+z/B8iL4B39Lyc2GtpCEWBxBIjb/RMEj+mNCBlmzaR95gl+hn16LNqTz Y0xjzyBiZc0SDeisDMQzzKyul2pB/yv3TajUjC2qCJm/wDRCNF/SmotiE9+hAXnGvmbn QX6hwEC8CADrTwMz6wQCHXrGNbOKkMtCHFezBk7RBk+kPNBo1UVb0gNAHcGgB0rIoaqN EHzqc9IDsDqUbvJ3Q74ptjbXuhK7YX67tY2xwAdMQ4U+IuwAHHcmCF6kNOPqc14yKrj0 TKoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:dkim-signature:dkim-signature; bh=bfY5nPUyyg646QHAr9MbT6jmUDdgvU0MHVyGgMp+lB4=; fh=4NbAC/LsuMLI0S0hprUlLSLCiHwg6SCAifhH718Jh0Q=; b=jqvJVtR8QiiM1De9WxYuQmgRKXxSAV3jVk6wKDjwXS0xRIsSoJEF9Wc8DbS/HVwDFZ bjT8Y+mLsodSeTYkBHRGlGbJXSgRTWHLBHdeWfOG6wTSqvGgbeUiMkLOPsXTra37ODZg 8exE/IJ+pcw58peMR9wKKpXudaD4fo7QKfN7Wtvs6Mh4dvP2Ow4S6LqrXXcOZQ49manb RAjIclcmM9IgB1rlZLsvshEC/OWyZwjVMYfB4cahp7xVlNWbSYyx2LSZUq5gdFvVRG1t DGBcy/8RMCZgj4npzXP5qhmXQLDAIZvtQ8D/GFC1QVhQTqyidkJ8JyTdWJZcl6lu7UcJ 4Aag==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.sourceforge.net header.s=beta header.b=Dxx8PBob; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=T5ulTHVC; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=Gv0gz4mv; spf=pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) smtp.mailfrom=openvpn-devel-bounces@lists.sourceforge.net; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=muc.de Received: from lists.sourceforge.net (lists.sourceforge.net. [216.105.38.7]) by mx.google.com with ESMTPS id 586e51a60fabf-440d7b87546si7658972fac.69.2026.06.05.11.11.05 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Jun 2026 11:11:06 -0700 (PDT) Received-SPF: pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) client-ip=216.105.38.7; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.sourceforge.net header.s=beta header.b=Dxx8PBob; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=T5ulTHVC; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=Gv0gz4mv; spf=pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) smtp.mailfrom=openvpn-devel-bounces@lists.sourceforge.net; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=muc.de DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.sourceforge.net; s=beta; h=Content-Transfer-Encoding:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: Subject:MIME-Version:References:In-Reply-To:Message-ID:Date:To:From:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=bfY5nPUyyg646QHAr9MbT6jmUDdgvU0MHVyGgMp+lB4=; b=Dxx8PBobx4Glhs/pv1XU/Jh2s3 gYx5n7VfrxAT2FKSvQ7nWJeHe/2KqnwJ1Hy9jtDznJuFLUVxXpw3F2Q4zPTn0HdBWKIA0GkIjc96F alSLf4MBpUX8BeH62Wj4+wRUn0NK3jY2OkkRn1Vd9K0VOAObuZK7pc1dvmnhfYzTv6GA=; Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1wVZ0Z-0001XT-KJ; Fri, 05 Jun 2026 18:11:03 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1wVZ0Y-0001XM-0Y for openvpn-devel@lists.sourceforge.net; Fri, 05 Jun 2026 18:11:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=6Mm/2HnpmTe7Z6wTub6r20O8ge+OD8RHXVbl1CpO0ZU=; b=T5ulTHVC26+HPj2saHVbDIKizZ 7rI9itmztzqEVc1XoOviyPYl/b/TkZzRnirYFN3h45ttLzIf9A+Ax3By11GYXe3OtuD0/xwgXmbMo IuQTkUZOCgH0Ve2FuyXaDPm89b6ZkVkhL8aIf6yhmpXiPaEa1WzO3FPGxlDuoJ1iJGuA=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID: Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=6Mm/2HnpmTe7Z6wTub6r20O8ge+OD8RHXVbl1CpO0ZU=; b=Gv0gz4mvLH+iFTO0hfH5VA5MJo N5EFihIwqHrtnnVgdmst+tebnVJdD7MXyONwoBDAtvo70HcAc6ulUxiP4Z+mscn5TyVtLFVJwIzK/ aY0IixtwSL5zGJUaWCp08p1J+Zln1m0t5huxvH28NJCRD1q65Pui+4CjrDeAYqvM23m8=; Received: from [193.149.48.129] (helo=blue.greenie.muc.de) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1wVZ0V-0002cW-L9 for openvpn-devel@lists.sourceforge.net; Fri, 05 Jun 2026 18:11:01 +0000 Received: from blue.greenie.muc.de (localhost [127.0.0.1]) by blue.greenie.muc.de (8.18.1/8.18.1) with ESMTP id 655IArOb003793 for ; Fri, 5 Jun 2026 20:10:53 +0200 Received: (from gert@localhost) by blue.greenie.muc.de (8.18.2/8.18.1/Submit) id 655IArcr003792 for openvpn-devel@lists.sourceforge.net; Fri, 5 Jun 2026 20:10:53 +0200 From: Gert Doering To: openvpn-devel@lists.sourceforge.net Date: Fri, 5 Jun 2026 20:10:46 +0200 Message-ID: <20260605181053.3774-1-gert@greenie.muc.de> X-Mailer: git-send-email 2.53.0 In-Reply-To: References: MIME-Version: 1.0 X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "sfi-spamd-2.hosts.colo.sdot.me", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: Marco Baffo Depends on: https://github.com/OpenVPN/ovpn-net-next/commit/67f453e3146a646ef5f811e5a85c610537d80521 Closes: https://github.com/OpenVPN/openvpn/issues/911 Content analysis details: (1.3 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Headers-End: 1wVZ0V-0002cW-L9 Subject: [Openvpn-devel] [PATCH v1] dco_linux: allow passing KEEPALIVE_TIMEOUT without KEEPALIVE_INTERVAL X-BeenThere: openvpn-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox X-GMAIL-THRID: 1867181526516824194 X-GMAIL-MSGID: 1867181526516824194 From: Marco Baffo Depends on: https://github.com/OpenVPN/ovpn-net-next/commit/67f453e3146a646ef5f811e5a85c610537d80521 Closes: https://github.com/OpenVPN/openvpn/issues/911 Change-Id: Ib56fb53ec1c0c30c9aecbd0ca440de2affad04b5 Signed-off-by: Marco Baffo Acked-by: Gert Doering Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1705 --- This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master. Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1705 This mail reflects revision 1 of this Change. Acked-by according to Gerrit (reflected above): Gert Doering diff --git a/src/openvpn/ssl.c b/src/openvpn/ssl.c index d332359c..0998bd6 100644 --- a/src/openvpn/ssl.c +++ b/src/openvpn/ssl.c @@ -1623,9 +1623,9 @@ if (dco_enabled(options)) { - /* dco_set_peer() must be called if either keepalive or - * mssfix are set to update in-kernel config */ - if (options->ping_send_timeout || frame->mss_fix) + /* dco_set_peer() must be called if either keepalive, ping, ping-restart, + * ping-exit or mssfix are set to update in-kernel config */ + if (options->ping_send_timeout || options->ping_rec_timeout || frame->mss_fix) { int ret = dco_set_peer(dco, multi->dco_peer_id, options->ping_send_timeout, options->ping_rec_timeout, frame->mss_fix);