| Message ID | 20260114160238.31321-1-gert@greenie.muc.de |
|---|---|
| State | New |
| Headers |
Return-Path: <openvpn-devel-bounces@lists.sourceforge.net>
Delivered-To: patchwork@openvpn.net
Received: by 2002:a05:7000:9186:b0:80a:3855:ce6a with SMTP id j6csp339286maf;
Wed, 14 Jan 2026 08:03:03 -0800 (PST)
X-Forwarded-Encrypted: i=2;
AJvYcCWZAY9cgKaGGvKtrcluNgWf/NexTHDZW6Mr0zL/EZxTP6pxMmFJhdF1tEM/WQ8YLlHlYc+wBfUMM5M=@openvpn.net
X-Received: by 2002:a05:6820:408e:b0:65b:2546:8428 with SMTP id
006d021491bc7-661006958demr2004902eaf.26.1768406582590;
Wed, 14 Jan 2026 08:03:02 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1768406582; cv=none;
d=google.com; s=arc-20240605;
b=GKsRyHi2IOZrS10EIKupbxdbomY7s3JxT0fq/ARNUKQcSskRyDqEowVidxETi2pYyC
J6RB5tYz0y5zCawm9oLFrt35192KXAeD/+kusBgY94tuKsM8MS06Kwfhu8dQiDxlYlEN
FgoIBQSzX+MHDA+A1hgU98c97RMDNlj45yL9jCCLOl9etBcomSeedjU5cT+3VmBw4LMJ
As0I9uC/V8MsbwC/H8yuvPDEQI+P3ARuQsxFX5JtjF1IjSVn27FdFzzgVcl8Jrs6TEQN
Vm2a7a1svDGQtmZkEI+TC6K33p11lDPcbTK9kto6t4kSfNj4Zw5152uNHuL7R0JRK+57
T0/g==
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=2xM/8hOee3784a0tsGzlSaVzi+7MJFWHlj3rqgCCmN8=;
fh=4NbAC/LsuMLI0S0hprUlLSLCiHwg6SCAifhH718Jh0Q=;
b=Eba3JiKTmibH89yIyTYLGiMDJrwyEozT5g8MC8HAysAf7vQGAdxAavrYQo590iNC0B
qr2mB3PCWIJNi/CZ9MOvwcm9wQFG8GKx0mKpE3yhKgQi/GW6fWOkJVSDM7UmKKiNYBrp
yM//g6IDbbjFjd50q+LCNzysk47U8IfUR0A3rVg64aVXCO2V8xhWns+aEreQ30/U01iE
MoM7TyijvQfbsg1/uSqvwFgDZY3fzJtKxK5vSOeFQQmkIp6pTFs+wOOZHCqOb7NsE4wh
v+VmpX8yPyCV3nzubsS7/XkpEi99pBcn8s1TNhVJTlRwLFe+zEO0cGXjmyLC+58x1ha/
a5ng==;
dara=google.com
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass header.i=@lists.sourceforge.net header.s=beta
header.b=kCgJxz65;
dkim=neutral (body hash did not verify) header.i=@sourceforge.net
header.s=x header.b=Kddrs0CN;
dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x
header.b=EalLxfUe;
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-3ffa50044fdsi20156435fac.206.2026.01.14.08.03.01
(version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
Wed, 14 Jan 2026 08:03:02 -0800 (PST)
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=kCgJxz65;
dkim=neutral (body hash did not verify) header.i=@sourceforge.net
header.s=x header.b=Kddrs0CN;
dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x
header.b=EalLxfUe;
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=2xM/8hOee3784a0tsGzlSaVzi+7MJFWHlj3rqgCCmN8=; b=kCgJxz65eDkOCYmXJ7sQC7b7gY
P9xlngB+/tQn1Er4U6mAXZ6tHFGVauiFvKPGXcXmmRXBamC+cTCz1vWb1ModFG9Y2KqhZUQ3Orga7
6A057KyXOAluPXShMQVMxHRYN9bJ5OOWc+s6zwFnEOY2ZclGLnxqLENQ0zWDgxluhxiI=;
Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com)
by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.95)
(envelope-from <openvpn-devel-bounces@lists.sourceforge.net>)
id 1vg3Ki-0004r2-0M;
Wed, 14 Jan 2026 16:02:56 +0000
Received: from [172.30.29.66] (helo=mx.sourceforge.net)
by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLS1.2) tls
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95)
(envelope-from <gert@blue4.greenie.muc.de>) id 1vg3Kg-0004qs-O3
for openvpn-devel@lists.sourceforge.net;
Wed, 14 Jan 2026 16:02:54 +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=+NvUKr/I+OsaE5Ce6AtMurVkpzhmxbYhhAY2dvzoqaQ=; b=Kddrs0CNJkOb+gKuOuNTcMcfql
bNnWXrGBk9qj8u8dPXlh2emJo1J/HXtopEedgqM8CKZVvrB/eHoOdJZh/VAkjZEcJQIsnotGFhivZ
XTQVHRWz4C6JaX2n+0V3omHJ5qsZ1wwpOlMBfvNTTudJYQywyP1Gw88Gk454b7zwvuq8=;
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=+NvUKr/I+OsaE5Ce6AtMurVkpzhmxbYhhAY2dvzoqaQ=; b=EalLxfUecyVusnx3XrosR1B4ei
/cbYIRjgdDh23UdANeJ5I1+02lFazPjrcp3E8+M4b0nZOu890xJXWN2JQ/al6nTDy/w0vqxJzAr8z
qGI4fTFfuSQpRiDeyIlQ4uRJKe99qiyQm60oTKRDdugHU0H60aOZeJGnQlSuR0gFosrk=;
Received: from [193.149.48.134] (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 1vg3Kc-0005Pj-Nr for openvpn-devel@lists.sourceforge.net;
Wed, 14 Jan 2026 16:02:51 +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 60EG2cWU031340
for <openvpn-devel@lists.sourceforge.net>; Wed, 14 Jan 2026 17:02:38 +0100
Received: (from gert@localhost)
by blue.greenie.muc.de (8.18.1/8.18.1/Submit) id 60EG2ckN031339
for openvpn-devel@lists.sourceforge.net; Wed, 14 Jan 2026 17:02:38 +0100
From: Gert Doering <gert@greenie.muc.de>
To: openvpn-devel@lists.sourceforge.net
Date: Wed, 14 Jan 2026 17:02:32 +0100
Message-ID: <20260114160238.31321-1-gert@greenie.muc.de>
X-Mailer: git-send-email 2.51.2
In-Reply-To:
<gerrit.1765959951000.I5d5fca3f5f7a724b4f9ec98832d3a785459f36a5@gerrit.openvpn.net>
References:
<gerrit.1765959951000.I5d5fca3f5f7a724b4f9ec98832d3a785459f36a5@gerrit.openvpn.net>
MIME-Version: 1.0
X-Spam-Score: 1.3 (+)
X-Spam-Report: Spam detection software,
running on the system "sfi-spamd-1.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: Brandon Currell <brandon+git@currell.pw> Github:
OpenVPN/openvpn#683
Change-Id: I5d5fca3f5f7a724b4f9ec98832d3a785459f36a5 Signed-off-by: Gert
Doering <gert@greenie.muc.de> Acked-by: Antonio Quartulli
<antonio@mandelbit.com>
Gerrit URL: https://gerrit.openvpn.net/c/open [...]
Content analysis details: (1.3 points, 5.0 required)
pts rule name description
---- ----------------------
--------------------------------------------------
0.0 RCVD_IN_DNSWL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to DNSWL
was blocked. See
http://wiki.apache.org/spamassassin/DnsBlocklists#DnsBlocklists-dnsbl-block
for more information. [193.149.48.134 listed in list.dnswl.org]
1.3 RDNS_NONE Delivered to internal network by a host with no rDNS
X-Headers-End: 1vg3Kc-0005Pj-Nr
Subject: [Openvpn-devel] [PATCH v2] Add check for bind-dev in DCO options
X-BeenThere: openvpn-devel@lists.sourceforge.net
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <openvpn-devel.lists.sourceforge.net>
List-Unsubscribe: <https://lists.sourceforge.net/lists/options/openvpn-devel>,
<mailto:openvpn-devel-request@lists.sourceforge.net?subject=unsubscribe>
List-Archive:
<http://sourceforge.net/mailarchive/forum.php?forum_name=openvpn-devel>
List-Post: <mailto:openvpn-devel@lists.sourceforge.net>
List-Help: <mailto:openvpn-devel-request@lists.sourceforge.net?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/openvpn-devel>,
<mailto:openvpn-devel-request@lists.sourceforge.net?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: openvpn-devel-bounces@lists.sourceforge.net
X-getmail-retrieved-from-mailbox: Inbox
X-GMAIL-THRID: =?utf-8?q?1854308700420692296?=
X-GMAIL-MSGID: =?utf-8?q?1854308700420692296?=
|
| Series |
[Openvpn-devel,v2] Add check for bind-dev in DCO options
|
|
Commit Message
Gert Doering
Jan. 14, 2026, 4:02 p.m. UTC
From: Brandon Currell <brandon+git@currell.pw> Github: OpenVPN/openvpn#683 Change-Id: I5d5fca3f5f7a724b4f9ec98832d3a785459f36a5 Signed-off-by: Gert Doering <gert@greenie.muc.de> Acked-by: Antonio Quartulli <antonio@mandelbit.com> Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1447 --- This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to release/2.6. Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1447 This mail reflects revision 2 of this Change. Signed-off-by line for the author was added as per our policy. Acked-by according to Gerrit (reflected above): Antonio Quartulli <antonio@mandelbit.com>
Comments
As discussed in the GH issue, we do not expect to see support for
--bind-dev in 2.6.x with the old linux "out of kernel" support - so turn off
DCO if --bind-dev is requested.
This patch is only appled to release/2.6, as we *do* expect to have working
--bind-dev support with the "new linux in-kernel DCO" in 2.7.0 and up, so
turning it off there would be the wrong thing (even if the support has not
actually merged to a release kernel yet).
I have not tested this (beyond a quick compile test), but it's straight-
forward enough, and Antonio as primary DCO developer has ACKed it.
I have added your signed-off-by: line to the commit, as per our coding
conventions.
Your patch has been applied to the release/2.6 branch.
commit 30041d6c40c9c0b6aa5581d4570110cde61cad0e (release/2.6)
Author: Brandon Currell
Date: Wed Jan 14 17:02:32 2026 +0100
Add check for bind-dev in DCO options
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Acked-by: Antonio Quartulli <antonio@mandelbit.com>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1447
Message-Id: <20260114160238.31321-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg35260.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
--
kind regards,
Gert Doering
diff --git a/src/openvpn/dco.c b/src/openvpn/dco.c index e41d59f..06d5920 100644 --- a/src/openvpn/dco.c +++ b/src/openvpn/dco.c @@ -317,6 +317,12 @@ } } + if (o->bind_dev) + { + msg(msglevel, "Note: bind-dev not supported with DCO, disabling data channel offload"); + return false; + } + #if defined(_WIN32) if (o->mode == MODE_SERVER) {