From patchwork Tue Apr 20 22:00:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lev Stipakov X-Patchwork-Id: 1749 Return-Path: Delivered-To: patchwork@openvpn.net Delivered-To: patchwork@openvpn.net Received: from director9.mail.ord1d.rsapps.net ([172.27.255.1]) by backend30.mail.ord1d.rsapps.net with LMTP id mAbvJgXcf2BUIAAAIUCqbw (envelope-from ) for ; Wed, 21 Apr 2021 04:02:13 -0400 Received: from proxy8.mail.iad3a.rsapps.net ([172.27.255.1]) by director9.mail.ord1d.rsapps.net with LMTP id KNnIJgXcf2AtLgAAalYnBA (envelope-from ) for ; Wed, 21 Apr 2021 04:02:13 -0400 Received: from smtp11.gate.iad3a ([172.27.255.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by proxy8.mail.iad3a.rsapps.net with LMTPS id cOItIAXcf2AAJQAAsBr/qg (envelope-from ) for ; Wed, 21 Apr 2021 04:02:13 -0400 X-Spam-Threshold: 95 X-Spam-Score: 0 X-Spam-Flag: NO X-Virus-Scanned: OK X-Orig-To: openvpnslackdevel@openvpn.net X-Originating-Ip: [216.105.38.7] Authentication-Results: smtp11.gate.iad3a.rsapps.net; iprev=pass policy.iprev="216.105.38.7"; spf=pass smtp.mailfrom="openvpn-devel-bounces@lists.sourceforge.net" smtp.helo="lists.sourceforge.net"; dkim=fail (signature verification failed) header.d=sourceforge.net; dkim=fail (signature verification failed) header.d=sf.net; dkim=fail (signature verification failed) header.d=gmail.com; dmarc=fail (p=none; dis=none) header.from=gmail.com X-Suspicious-Flag: YES X-Classification-ID: e10043e2-a277-11eb-91f0-5254005eb44a-1-1 Received: from [216.105.38.7] ([216.105.38.7:35468] helo=lists.sourceforge.net) by smtp11.gate.iad3a.rsapps.net (envelope-from ) (ecelerity 4.2.38.62370 r(:)) with ESMTPS (cipher=DHE-RSA-AES256-GCM-SHA384) id 4D/98-28176-50CDF706; Wed, 21 Apr 2021 04:02:13 -0400 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.90_1) (envelope-from ) id 1lZ7nB-0007SB-WC; Wed, 21 Apr 2021 08:01:02 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZ7nA-0007Rm-1B for openvpn-devel@lists.sourceforge.net; Wed, 21 Apr 2021 08:01:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=sppQdmc/nXKVNsXo/wFje5XVaWC1rLx2ioK5MA0fFwo=; b=Wqqu1qE8oeJPRGbWi9e2xXhqjq ymr4/2ei6hwIAByUrP3GT/lux8cdSfixwhg8xs/fZdwavGMrlCIsfcUDBC/WNCQxA63AZ2Nr/8PGx kcEOiwfrx6jGZ/GNGuloRRhcU1JFc85XG3/cKnLHwZBiycXtP+p6o+BqL/AzPRGg1SrQ=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:MIME-Version: Content-Type:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=sppQdmc/nXKVNsXo/wFje5XVaWC1rLx2ioK5MA0fFwo=; b=R95X2sPI1nbyB8WhYDsHEmfsga 6aLqcDBK1B1QSJBbbCHWg9E8QSA9gX1UIHbWIZMtACkU5NrOeUdR+Ics8Fdi5TJ9NCl8ajI9zmvJJ R2cCOLFDF2t2J1dyOdsjgZmbVdNR8EJCIi7L6zz1+LyeV5O8Q3WTbpbrjiq7SRril9Xk=; Received: from mail-wr1-f50.google.com ([209.85.221.50]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92.3) id 1lZ7n1-0005qj-UH for openvpn-devel@lists.sourceforge.net; Wed, 21 Apr 2021 08:01:00 +0000 Received: by mail-wr1-f50.google.com with SMTP id w4so36587655wrt.5 for ; Wed, 21 Apr 2021 01:00:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=sppQdmc/nXKVNsXo/wFje5XVaWC1rLx2ioK5MA0fFwo=; b=cnLEJf58D7U7IIIQDJhE4Q6ivTQDkZD2zkWXPttO50sezCSPY3aDDIXpwfbclforhY K9syYiJVzdH8wkIA5gD75cNMSJfkKij/GYn4rRpSbUawC1WJp005ADvsXqDxAp1T4n2m OIHCtPYFjzrGCz+DueyRhVvtzjt7j0mvdo25jyAc4NcjfA1nWCvL3SYGqWAUZL6upKFv eKpCVQ1gp7alcPlslh0cIR+DVtxivsib6mhV+JjANU5r9gpKSlun2P0AiwZR3y8eomBi ry7bf2PD+PuToIOEH5w1J0Ba41j3EfBEU47KGdGmGefWX5RG57CFsq4mc62QUEv+wSDk Sccg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=sppQdmc/nXKVNsXo/wFje5XVaWC1rLx2ioK5MA0fFwo=; b=AgZVacL51hSEljXRwLezqjCwffyP8YdFoEB84qPu4gGwndTAPsPIMycUJntLNI5d9X ugVxux2P/iboogitGtCjBU29l22nTOi9P4WGwOc4gg2TTIeNbNnirWX4S0Oks/SeDFfJ IFSoBnd87SHzGh68B+9qNMu39X9fjrqx9pCriVLmWwwTtx0z1aP/ZMJko3ydWAWKdhRc MNBJyRzMrVNZLM+TE2nphN+jHaTcNGNDzDMw9oUOstEsZgPLW+eWixHngah15o2kjklU Bd+xgj+o/vlYr+pWbqrE2G86N4Dpv3tyQkXBwKa9mV/yaYS8VSd+3zQvk/CmtIp/r+hY VPNA== X-Gm-Message-State: AOAM533ICI6X1uW8pIrGzpJWwVJlzqlPfOiP1AG005UQvYE/TouJJ95r A2zoC+3h3wQXiMkoCmsakEHIDnOe8BSY0g== X-Google-Smtp-Source: ABdhPJxWO7tORtgs7fNfiDbsRLrBDsMzfLThwV/t6jyOG1KCRdP7INZIUAWtaO+zGPU95hgy8BNBuA== X-Received: by 2002:a05:6000:154e:: with SMTP id 14mr25951610wry.24.1618992045412; Wed, 21 Apr 2021 01:00:45 -0700 (PDT) Received: from LAPTOP-4L3N7KFS.localdomain (nat2.panoulu.net. [185.38.2.2]) by smtp.gmail.com with ESMTPSA id g1sm2018657wrd.69.2021.04.21.01.00.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Apr 2021 01:00:44 -0700 (PDT) From: Lev Stipakov To: openvpn-devel@lists.sourceforge.net Date: Wed, 21 Apr 2021 11:00:16 +0300 Message-Id: <20210421080016.110-1-lstipakov@gmail.com> X-Mailer: git-send-email 2.17.1 X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.221.50 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (lstipakov[at]gmail.com) 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: openvpn.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.221.50 listed in wl.mailspike.net] X-Headers-End: 1lZ7n1-0005qj-UH Subject: [Openvpn-devel] [PATCH] tapctl: support for ovpn-dco Windows driver 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: , Cc: Lev Stipakov MIME-Version: 1.0 Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox From: Lev Stipakov Make tapctl aware of ovpn-dco. Signed-off-by: Lev Stipakov Acked-by: selva.nair@gmail.com Signed-off-by: Lev Stipakov <lev@openvpn.net>
Acked-by: selva.nair@gmail.com --- src/tapctl/main.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/tapctl/main.c b/src/tapctl/main.c index d5bc7290..3350bf1f 100644 --- a/src/tapctl/main.c +++ b/src/tapctl/main.c @@ -81,9 +81,9 @@ static const TCHAR usage_message_create[] = TEXT(" specified, a default adapter name is chosen by Windows. \n") TEXT(" Note: This name can also be specified as OpenVPN's --dev-node \n") TEXT(" option. \n") - TEXT("--hwid Adapter hardware ID. Default value is root\\tap0901, which \n") - TEXT(" describes tap-windows6 driver. To work with wintun driver, \n") - TEXT(" specify 'wintun'. \n") + TEXT("--hwid Adapter hardware ID. Default value is root\\tap0901, which \n") + TEXT(" describes tap-windows6 driver. To work with wintun or ovpn-dco \n") + TEXT(" driver, specify 'wintun' or 'ovpn-dco'. \n") TEXT("\n") TEXT("Output:\n") TEXT("\n") @@ -101,8 +101,8 @@ static const TCHAR usage_message_list[] = TEXT("\n") TEXT("Options:\n") TEXT("\n") - TEXT("--hwid Adapter hardware ID. By default, root\\tap0901, tap0901 and \n") - TEXT(" wintun adapters are listed. Use this switch to limit the list. \n") + TEXT("--hwid Adapter hardware ID. By default, root\\tap0901, tap0901, wintun and \n") + TEXT(" ovpn-dco adapters are listed. Use this switch to limit the list.\n") TEXT("\n") TEXT("Output:\n") TEXT("\n") @@ -275,7 +275,8 @@ create_delete_adapter: TCHAR szzHwId[0x100] = TEXT("root\\") TEXT(TAP_WIN_COMPONENT_ID) TEXT("\0") TEXT(TAP_WIN_COMPONENT_ID) TEXT("\0") - TEXT("Wintun\0"); + TEXT("Wintun\0") + TEXT("ovpn-dco\0"); /* Parse options. */ for (int i = 2; i < argc; i++)