| Message ID | 20250205103043.24202-1-gert@greenie.muc.de |
|---|---|
| State | Superseded |
| Headers | show
Return-Path: <openvpn-devel-bounces@lists.sourceforge.net>
Delivered-To: patchwork@openvpn.net
Received: by 2002:a05:7000:7882:b0:5e7:b9eb:58e8 with SMTP id d2csp743720max;
Wed, 5 Feb 2025 02:31:03 -0800 (PST)
X-Forwarded-Encrypted: i=2;
AJvYcCU5igfs/VIxL6XkcEbILmgwMk9cRsKtepdTCq2TrKK0flhDsfvqh5OSxqOP0+qxo1OxJ7o6h20oZ7s=@openvpn.net
X-Google-Smtp-Source:
AGHT+IFmbPxA31RSlASrSA7oBH+ph30gjV7SGlwT0rpw7yaqKBzqANTcg/fPDdsP7I20PxUKU6V+
X-Received: by 2002:a05:6870:6120:b0:296:df26:8a6e with SMTP id
586e51a60fabf-2b8051a3113mr1484708fac.35.1738751463423;
Wed, 05 Feb 2025 02:31:03 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1738751463; cv=none;
d=google.com; s=arc-20240605;
b=hMWnc2ULfb1LtoNWpbIGs2FW9XrukataJ7aP4KKwHqm2NUI3enaFeR1dun8gqNOTaW
cUwVwvPLptv2YGpy+u2B4POCj0h7k9mBuI9KnGNyFqKocbGvg09vOmGJGrTzKQrk8gpQ
5YEUq96g0CDmtztGaxFlCOzd9K1AWdSOTOQ6Esu//W/oiaCHz+USnysHuz9fosbTrzr2
esPot4IJinwRuXVscJLJay7AjnWI355avwqaUviqavwYlSlDRg29xeiD2BTsiMK541CC
cz0PXC1s3DEjcSiBHbnPGzGxQkJoETvfCODqjOMHqh6e8h0JV3x6UingmkXJ29g3JGLa
WVnA==
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;
bh=Ep9gHD9CW9ZM7mOyPtZDyD8MSoNxJ4ElCPy8k8abZUE=;
fh=4NbAC/LsuMLI0S0hprUlLSLCiHwg6SCAifhH718Jh0Q=;
b=P6JdjZnEjUjeY+lh8khzb9zcQ0xKlQJzZc9ulwIEPgDSF/OahWVGoUoWdBMOIcjBDJ
a4y6tmRFgujUGm6v77nOH9EhXGfOGYtjgUhwJAbGFcPO2k7MeiX74G0jCYkvT3+4eker
tjIbXLdn9fZHsJjsB69uCS+U0/jQm3i2F7j8e+GxhJjU9rQyT2b8H0czlYAYvsHejEGV
QHtUem0XC0xWDB1+RO0gsRc8AOHgvkuqZl50KuzWi/gj0lodLSGDnO16Zj5ynUj2Ws2w
r43NGyAT+aT6oVu1Ollye8E7bqzhPlPU83l/iXjcH9gkq0le0M0HFZbh234q55/HnCuZ
sGzw==;
dara=google.com
ARC-Authentication-Results: i=1; mx.google.com;
dkim=neutral (body hash did not verify) header.i=@sourceforge.net
header.s=x header.b=eynA5uBi;
dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x
header.b=S+cSGAbA;
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-2b43026f0b3si2589995fac.35.2025.02.05.02.31.02
(version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
Wed, 05 Feb 2025 02:31:03 -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=neutral (body hash did not verify) header.i=@sourceforge.net
header.s=x header.b=eynA5uBi;
dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x
header.b=S+cSGAbA;
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 [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 <openvpn-devel-bounces@lists.sourceforge.net>)
id 1tfcgO-00046q-3I;
Wed, 05 Feb 2025 10:31:00 +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 <gert@blue.greenie.muc.de>) id 1tfcgL-00046g-Om
for openvpn-devel@lists.sourceforge.net;
Wed, 05 Feb 2025 10:30:57 +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=Aqgs5Be+xPzfDpCaNVX81pkWaZ/tAKYhlHf4YdDf0fo=; b=eynA5uBiexF+Jv932Iv1S388pH
6b5JJtzjtvFA2xJuL/w4EA9HcFnBRtsRIOCMgvbJVU2cYfxgPEEGSW8TbKZerA+/2/UgQu3qK7Rzh
imVGTIbW6UuW+OTEl9pFE7ScHIFqXjuF2Lfjpi2O6ep2kIV1fIviFzdxL4UhEDDpn9Bo=;
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=Aqgs5Be+xPzfDpCaNVX81pkWaZ/tAKYhlHf4YdDf0fo=; b=S+cSGAbAN/uJV+z0BzzJFGGOpQ
+ZWSmnBMMNMntO+8+7zsL8Dtpiu7S3ZLGRu+kVyuyToRLr//z0owLSM1uN2HCa54Vud6o1LeJU+OM
vyPlmy49Ev7aNLtZB/FXnUeyxqmQpcq34JLxtKYTlKfds5jGAhfCB4ebc2xvCwMREODM=;
Received: from dhcp-174.greenie.muc.de ([193.149.48.174]
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 1tfcgJ-0004Vd-UX for openvpn-devel@lists.sourceforge.net;
Wed, 05 Feb 2025 10:30:57 +0000
Received: from blue.greenie.muc.de (localhost [127.0.0.1])
by blue.greenie.muc.de (8.17.1.9/8.17.1.9) with ESMTP id 515AUidp024260
for <openvpn-devel@lists.sourceforge.net>; Wed, 5 Feb 2025 11:30:44 +0100
Received: (from gert@localhost)
by blue.greenie.muc.de (8.17.1.9/8.17.1.9/Submit) id 515AUiHN024259
for openvpn-devel@lists.sourceforge.net; Wed, 5 Feb 2025 11:30:44 +0100
From: Gert Doering <gert@greenie.muc.de>
To: openvpn-devel@lists.sourceforge.net
Date: Wed, 5 Feb 2025 11:30:43 +0100
Message-ID: <20250205103043.24202-1-gert@greenie.muc.de>
X-Mailer: git-send-email 2.45.2
In-Reply-To:
<gerrit.1738750933000.I8724eda269b816dd2cfd0833d467e6d24054e96f@gerrit.openvpn.net>
References:
<gerrit.1738750933000.I8724eda269b816dd2cfd0833d467e6d24054e96f@gerrit.openvpn.net>
MIME-Version: 1.0
X-Spam-Score: 0.0 (/)
X-Spam-Report: Spam detection software,
running on the system "util-spamd-1.v13.lw.sourceforge.com",
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: Lev Stipakov <lev@openvpn.net> dco-win doesn't yet
support multisocket,
so for the time being we have to fallback to tap-windows6. Change-Id:
I8724eda269b816dd2cfd0833d467e6d24054e96f Signed-off-by: Lev Stipakov
<lev@openvpn.net>
Acked-by: Gert Doering <gert@greenie.muc.de> ---
Content analysis details: (0.0 points, 6.0 required)
pts rule name description
---- ----------------------
--------------------------------------------------
0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
The query to Validity was blocked. See
https://knowledge.validity.com/hc/en-us/articles/20961730681243
for more information.
[193.149.48.174 listed in sa-accredit.habeas.com]
0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
query to Validity was blocked. See
https://knowledge.validity.com/hc/en-us/articles/20961730681243
for more information.
[193.149.48.174 listed in bl.score.senderscore.com]
-0.0 SPF_HELO_PASS SPF: HELO matches SPF record
-0.0 SPF_PASS SPF: sender matches SPF record
X-Headers-End: 1tfcgJ-0004Vd-UX
Subject: [Openvpn-devel] [PATCH v1] dco-win: disable dco in server mode if
multiple --local options defined
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?1823213054176094408?=
X-GMAIL-MSGID: =?utf-8?q?1823213054176094408?=
|
| Series |
[Openvpn-devel,v1] dco-win: disable dco in server mode if multiple --local options defined
|
expand
|
diff --git a/src/openvpn/dco.c b/src/openvpn/dco.c index b5a2136..3f0b1cd 100644 --- a/src/openvpn/dco.c +++ b/src/openvpn/dco.c @@ -279,6 +279,12 @@ msg(msglevel, "NOTE: --remote is not defined. This DCO version doesn't support multipeer. Disabling Data Channel Offload"); return false; } + + if ((mode == MODE_SERVER) && (ce->local_list->len > 1)) + { + msg(msglevel, "multiple --local options defined, disabling data channel offload"); + return false; + } #endif return true; @@ -355,6 +361,12 @@ return false; } + if ((o->mode == MODE_SERVER) && o->ce.local_list->len > 1) + { + msg(msglevel, "multiple --local options defined, disabling data channel offload"); + return false; + } + #elif defined(TARGET_LINUX) /* if the device name is fixed, we need to check if an interface with this * name already exists. IF it does, it must be a DCO interface, otherwise