Message ID | 81c32319238aa478129db7cd3d88f7293e6ff81f-HTML@gerrit.openvpn.net |
---|---|
State | New |
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 d2csp740562max; Wed, 5 Feb 2025 02:22:42 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWU2X6F5H6Amg2gwir914bTSo8RlaBhU9VP3bW908wJLMpoRVmPNFyJvF7qenMO9k7Q8fM6OQta3wA=@openvpn.net X-Google-Smtp-Source: AGHT+IHQ7lavpSnFKch4N+IjvuDR8Q/8fCizjGiygfkAvsuUzJXjFEcf3oZeNdYAq5tRqrocuxIF X-Received: by 2002:a05:6e02:16c8:b0:3d0:2ea8:87c0 with SMTP id e9e14a558f8ab-3d04f425341mr20602095ab.8.1738750962715; Wed, 05 Feb 2025 02:22:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1738750962; cv=none; d=google.com; s=arc-20240605; b=WNv2+EnnXzmx94EQbKnHpqKLXKOvxkPmTe56TpS9prA8jZzk5aXmtVzw1VQzXJB+6G CU6Fgo2gPGhEkwnm4J2D6XYsF4PXgarCuDKzWSe3jwAZIQRODtG99FvUt1A/tSbeem/3 YID8appGtN9Hk6f4kOx/bziFUj2KYGdNZ5/eQkc44F0yLeWllBXTwZ8CnO0yJly/2hX1 dbym47291sLltJrs2xk2k+hbKub2swwjpXdc+7pDH75XYK9vF8PRCaaOXNXRjHsCRroV OC+dcMpMq6PvHmhGh81qZCWPDoEebzelbby6BrSFPURY0x4Wr3BedJR9Sbc+weKbpONH cuEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=errors-to:cc:reply-to:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence:subject:user-agent :mime-version:message-id:references:auto-submitted:to:date:from :dkim-signature:dkim-signature:dkim-signature; bh=Rp+53N/LjzbcJQr5edh6dnnaT62jjrvmd6qHMjjwSFY=; fh=U7wEyxtwz2o5+UdevFSA47vNeG9knhWH0KV//QhD5a0=; b=OMtvidTDA+/862X12YaDtbTZrYTaAy7M9N/vAO7XK05CUCj+gXapzZ9x8An/jn3fym 096LenQ39J1QBVSJAmM3XDDOuEFIHd3Q0jWcuoiVIiyexG8MJH0i02eBidrSmIKoWyTH ldMlvrA5bCUTUHGzVsY0um7fWiyf+DNFb6AX/yos28wNwdnz+ZLBEFvsv+tibK5mIrKw VjTdsZ+gv9b3ld3PhFLM/YM791+El5z+A3mQCcPvQvjS3IF1j+egki0IN9dhb4UBtVqt b68AOmRlCpZQJqCly1MRDfdaP3mysGqJqjWtcDcpyNG5VTErCwMqWb81otXiFdM9y3Sg UswQ==; 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=a9b3uTWy; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=WS+YksEU; dkim=neutral (body hash did not verify) header.i=@openvpn.net header.s=google header.b=GgvvlMuz; 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=openvpn.net; dara=fail header.i=@openvpn.net Received: from lists.sourceforge.net (lists.sourceforge.net. [216.105.38.7]) by mx.google.com with ESMTPS id e9e14a558f8ab-3d04be6ec2esi13657305ab.127.2025.02.05.02.22.42 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Feb 2025 02:22:42 -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=a9b3uTWy; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=WS+YksEU; dkim=neutral (body hash did not verify) header.i=@openvpn.net header.s=google header.b=GgvvlMuz; 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=openvpn.net; dara=fail header.i=@openvpn.net Received: from [127.0.0.1] (helo=sfs-ml-3.v29.lw.sourceforge.com) by sfs-ml-3.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from <openvpn-devel-bounces@lists.sourceforge.net>) id 1tfcYG-0005HK-Iu; Wed, 05 Feb 2025 10:22:35 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-3.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from <gerrit@openvpn.net>) id 1tfcYF-0005HE-67 for openvpn-devel@lists.sourceforge.net; Wed, 05 Feb 2025 10:22:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Type:Content-Transfer-Encoding:MIME-Version :Message-ID:Reply-To:References:Subject:List-Unsubscribe:List-Id:Cc:To:Date: From:Sender:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:List-Help: List-Subscribe:List-Post:List-Owner:List-Archive; bh=o4BBUIli4YoQsrttIywqiHC4uwpTpvN/qmidH2pAaOM=; b=a9b3uTWymXxxu11Vho8iMUtzh2 Nqq2wQ5fezusCfhYQU7T7Iipje5H5ddhKdFZUQzY3wfbII1VkGwycq/OqDualFmIVh9qCIFYuvBCz VpyvAvM9mqsJwdHFqkQldAXivYcyrOKlEVaZVrNj8MyjDCVgyRToD+lbud+LNarT60ng=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Type:Content-Transfer-Encoding:MIME-Version:Message-ID:Reply-To: References:Subject:List-Unsubscribe:List-Id:Cc:To:Date:From:Sender:Content-ID :Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To: Resent-Cc:Resent-Message-ID:In-Reply-To:List-Help:List-Subscribe:List-Post: List-Owner:List-Archive; bh=o4BBUIli4YoQsrttIywqiHC4uwpTpvN/qmidH2pAaOM=; b=W S+YksEUBBTOMy3tuy6VBigyKCWdTbQEJfArXHu2rpdjVrdC7F4Uy7fEZVlOll6TjX/LVOd1cxgp0t In+PSnt0icFeyCGn6K64Oq7Lz1YSp7YHyS6PpBJJC4BOiVJgtHYF8QDgyURSB9LWwEM/lRUO78qBM EsBBmhudNUcqOWig=; Received: from mail-wr1-f46.google.com ([209.85.221.46]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.95) id 1tfcYD-0003Eu-FG for openvpn-devel@lists.sourceforge.net; Wed, 05 Feb 2025 10:22:34 +0000 Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-38da6dde4c0so835897f8f.1 for <openvpn-devel@lists.sourceforge.net>; Wed, 05 Feb 2025 02:22:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=openvpn.net; s=google; t=1738750942; x=1739355742; darn=lists.sourceforge.net; h=user-agent:content-disposition:content-transfer-encoding :mime-version:message-id:reply-to:references:subject :list-unsubscribe:list-id:auto-submitted:cc:to:date:from:from:to:cc :subject:date:message-id:reply-to; bh=o4BBUIli4YoQsrttIywqiHC4uwpTpvN/qmidH2pAaOM=; b=GgvvlMuzI3EYotFmYokDyQnDtiBHdXyqvwfKJ8/g3YyHYl13g4ccdEkK02wQFJiWY1 cPU/dGyvFAY5UrJUXMAQnbcslDXowN3Aof5PoaJa9bymfDi0m7argI6Nm82xARp7sgbe UbubDNz7KHa7yome3pr8bDBJ+IqwgdfSCcnkVKsmNVAC7P2etdzpL4Yvi68669xnPB2Z CWBpT9zk3mjSn4wgNGXmC/Ddwr35TfgmWKofbqq9eSr9UmvGr/TPRKr4fQ6lBxolxaoa 4QWT3qQiQDmu47SpXoTKa6w9eVgFWMyB65haNTF/xI2pyIVAbQU9kfHYQl8QziKMBfN8 kygw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738750942; x=1739355742; h=user-agent:content-disposition:content-transfer-encoding :mime-version:message-id:reply-to:references:subject :list-unsubscribe:list-id:auto-submitted:cc:to:date:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=o4BBUIli4YoQsrttIywqiHC4uwpTpvN/qmidH2pAaOM=; b=So1ZwtKobkdPSxvym249bdR0WzmwTtk62kIIXmeuKXLuKdHRE0Y/s/wBEHq9JmnJ4u KlBqzQOb3TM+I7KmevTokxURCxO8zWA2iHpxXFOWe0NmajwuCqPn2VzQ3hpS7X4TRf/3 GeplH9UJGhhlpr5uw1MJ9LUzpi5dqIEDef0N1jR3X35Hl1Buk7dAqiwQo11AtmMA+vNX RqvJbDvKzziIH8kRxUIOLEMVT2HNHH4+CxTvYB39Wnvs1XGPZfni/53fkjnb8iRLefIX r+RjEifOZDBR2RplJyTgLRWAdnUApLd33LGYGnmCHwmH72jDUKd4QqoCYNht/PkXY+kv tOpw== X-Gm-Message-State: AOJu0Yy+yFZkI7f3yNTHWdMSP6UY3KGi8EeBWqoM4iAv8K68w5btrebL THD5NytxfP+Nth+pQF9M+LmEeIu3I4Rb6nPttLEYK5sK3JrW9yKhXmXoH310CRxYZaH9lrPGNPD C X-Gm-Gg: ASbGncsdjbUF2gK7bQ74zXjrlaI8sfa9buPSNtfZs76YH80R/qhNHtGhn0DxXsDivJa lD29vlmRmW8QgRe/uoSyiQRddpRWkGdCITEXW7jVjfyzq1o4e4QqukxDARHEfbABznsWZwVAx50 mGRAEqo3E1rokpEyNvomIcTnVa93OMXUUpPrEfSE6OxMMTINqBJVPKlR+iUcidYY4vcd9wAo/ln AWkuuAZaGn9qQqy/UBV6aM/S9UIedIPAU2vXVwuckXp5ytwVjM2+jsW9u+dQk26syST5iqry17t 7BNxqjChTp782hkoKUuWwYKRJkBqpHJcuZCB2WaUnEyTcF9J4ejZitSpPQqnmvNYiC99Sz6T4z7 2HH2ASjk= X-Received: by 2002:a5d:6d09:0:b0:38c:5b52:3a47 with SMTP id ffacd0b85a97d-38db48a9ba9mr1314024f8f.4.1738750941903; Wed, 05 Feb 2025 02:22:21 -0800 (PST) Received: from gerrit.openvpn.in (ec2-18-159-0-78.eu-central-1.compute.amazonaws.com. [18.159.0.78]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38db1bb7003sm2652781f8f.16.2025.02.05.02.22.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Feb 2025 02:22:21 -0800 (PST) From: "stipa (Code Review)" <gerrit@openvpn.net> X-Google-Original-From: "stipa (Code Review)" <gerrit@gerrit.openvpn.in> X-Gerrit-PatchSet: 1 Date: Wed, 5 Feb 2025 10:22:20 +0000 To: plaisthos <arne-openvpn@rfc2549.org>, flichtenheld <frank@lichtenheld.com> Auto-Submitted: auto-generated X-Gerrit-MessageType: newchange X-Gerrit-Change-Id: I8724eda269b816dd2cfd0833d467e6d24054e96f X-Gerrit-Change-Number: 885 X-Gerrit-Project: openvpn X-Gerrit-ChangeURL: <http://gerrit.openvpn.net/c/openvpn/+/885?usp=email> X-Gerrit-Commit: 0ff839ad512f547fee339a344cf2752aabbefc60 References: <gerrit.1738750933000.I8724eda269b816dd2cfd0833d467e6d24054e96f@gerrit.openvpn.net> Message-ID: <81c32319238aa478129db7cd3d88f7293e6ff81f-HTML@gerrit.openvpn.net> MIME-Version: 1.0 User-Agent: Gerrit/3.8.2 X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "util-spamd-2.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: Attention is currently required from: flichtenheld, plaisthos. Hello plaisthos, flichtenheld, I'd like you to do a code review. Please visit Content analysis details: (-0.2 points, 6.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.221.46 listed in list.dnswl.org] 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. [209.85.221.46 listed in bl.score.senderscore.com] 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. [209.85.221.46 listed in sa-trusted.bondedsender.org] 0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.221.46 listed in wl.mailspike.net] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 WEIRD_PORT URI: Uses non-standard port number for HTTP 0.0 HTML_MESSAGE BODY: HTML included in message 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 T_KAM_HTML_FONT_INVALID Test for Invalidly Named or Formatted Colors in HTML X-Headers-End: 1tfcYD-0003Eu-FG Subject: [Openvpn-devel] [S] Change in openvpn[master]: 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> Reply-To: lstipakov@gmail.com, arne-openvpn@rfc2549.org, openvpn-devel@lists.sourceforge.net, frank@lichtenheld.com Cc: openvpn-devel <openvpn-devel@lists.sourceforge.net> Content-Type: multipart/mixed; boundary="===============5100480571200212992==" Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox X-GMAIL-THRID: =?utf-8?q?1823212529285384175?= X-GMAIL-MSGID: =?utf-8?q?1823212529285384175?= X-getmail-filter-classifier: gerrit message type newchange |
Series |
[Openvpn-devel,S] Change in openvpn[master]: 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
Attention is currently required from: flichtenheld, plaisthos. Hello plaisthos, flichtenheld, I'd like you to do a code review. Please visit http://gerrit.openvpn.net/c/openvpn/+/885?usp=email to review the following change. Change subject: dco-win: disable dco in server mode if multiple --local options defined ...................................................................... dco-win: disable dco in server mode if multiple --local options defined 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> --- M src/openvpn/dco.c 1 file changed, 12 insertions(+), 0 deletions(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/85/885/1