From patchwork Tue Jun 7 06:30:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Ng X-Patchwork-Id: 2509 X-Patchwork-Delegate: davids@openvpn.net Return-Path: Delivered-To: patchwork@openvpn.net Delivered-To: patchwork@openvpn.net Received: from director7.mail.ord1d.rsapps.net ([172.27.255.9]) by backend41.mail.ord1d.rsapps.net with LMTP id 6JHtGjmKn2IqLgAAqwncew (envelope-from ) for ; Tue, 07 Jun 2022 13:26:17 -0400 Received: from proxy21.mail.iad3a.rsapps.net ([172.27.255.9]) by director7.mail.ord1d.rsapps.net with LMTP id ODxBOzmKn2JqQgAAovjBpQ (envelope-from ) for ; Tue, 07 Jun 2022 13:26:17 -0400 Received: from smtp4.gate.iad3a ([172.27.255.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by proxy21.mail.iad3a.rsapps.net with LMTPS id UE0jNTmKn2JESgAASBQwCQ (envelope-from ) for ; Tue, 07 Jun 2022 13:26:17 -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: smtp4.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: f00dd44a-e686-11ec-977a-5254003c557e-1-1 Received: from [216.105.38.7] ([216.105.38.7:55354] helo=lists.sourceforge.net) by smtp4.gate.iad3a.rsapps.net (envelope-from ) (ecelerity 4.2.38.62370 r(:)) with ESMTPS (cipher=DHE-RSA-AES256-GCM-SHA384) id 16/D0-14155-93A8F926; Tue, 07 Jun 2022 13:26:17 -0400 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.94.2) (envelope-from ) id 1nycx2-0000HH-15; Tue, 07 Jun 2022 17:25:08 +0000 Received: from [172.30.20.202] (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.94.2) (envelope-from ) id 1nycx0-0000H7-8r for openvpn-devel@lists.sourceforge.net; Tue, 07 Jun 2022 17:25:06 +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=ymj19dOMcs8aYDyUlB1oL/36xzBsPZkNmCNkNo3gQ5A=; b=N5CeDT5WD9Q9sFkJ4ROoWrKp8s juvPxN7+WQk4PAEh3RgxOXmQnKb6ronxfFFkm2qf59KkACDpWo2hdn9tFrJl+LH7zxq4T4vwm0qci S2fxvQM+D2RJ7ae27avOFOnCFHM0NdXakvMoxZyBu6xGIvq9GxjbbtjzhwkUhp4ziP4s=; 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=ymj19dOMcs8aYDyUlB1oL/36xzBsPZkNmCNkNo3gQ5A=; b=QjIt7GoRTD/BGaBPgGe7o8qtgj at5DGDL2j+uGWrQqWXqHCDbzkLY8X8GC7gkcpAkmYJQxiqmm5CumIYA4LVe6jj9of1Da7wM87Nihi BSO3FJAY9If3tmCCNkmU9g9CDTtKFy1lRWtBhTf7K+LGozoopPuOhmf+Bg64+O8XlaLc=; Received: from mail-ej1-f53.google.com ([209.85.218.53]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.94.2) id 1nycwv-0006aM-S2 for openvpn-devel@lists.sourceforge.net; Tue, 07 Jun 2022 17:25:06 +0000 Received: by mail-ej1-f53.google.com with SMTP id y19so36584972ejq.6 for ; Tue, 07 Jun 2022 10:25:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=ymj19dOMcs8aYDyUlB1oL/36xzBsPZkNmCNkNo3gQ5A=; b=V39jCRxvuSve9D/KEReXNPg8xITduSAdbNXD4hhq7tDtF7qTpGANEUY750rpn4IRd/ jLCu8lpoET5NjNZKSMjUIlmBH2ClpzMV3cWAx6kX203fcb9v1EpXA81CPbfrxDHE6arQ epJYcKETO+YMu2oHqkeSGkb2th2fsbPoiMAiuUmi6JeQ2uzrHPf+MoIPWtZndLK19EG2 njZD2BXF+xoP3G/dgsRF83TKgGdKxIEdnXWbEi54/ikIRN/+1BK+xqDfo+VKH/3+zEWb LQk2AoNQ4xd2IFR7/VFqZNx+VIKfzBvBlV25QYUHzoKnULlRy9gdZiktSIZ6a0x7eu+h IsXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ymj19dOMcs8aYDyUlB1oL/36xzBsPZkNmCNkNo3gQ5A=; b=MQCVCuTutY0lSQT/7qcxIvM7pWrNUdX2Fv5JK0vlVXPN53dd5xDbjrkNvS4fT5+X6r 29Njx3ukq8fyUqBMuJfYZfe6TGSFmRsW91TqX3ZXVbUiVnC7YOMeym405yf5CYJU7wkt VhbLeLVBXFZZwv3ap5K3FioK9tnK7yWKsMwkf+qYLaHTVPN99f7YEVzya0b3zkJ7ayiW JXh7L022Gfz1maGMyxskGtss3VCPAkfpbvkiLRs4vHIxgLv82rjtuWA/7yOmJkhlHUCo yGJekqdGJJ6J203czaWPOPLDGT3s3W3ZTQXE5eHyB+ceAaZLi8E50YBh0ClRc9KvfIGD +OoQ== X-Gm-Message-State: AOAM530pW35UupiyQ1oYeQwcTpeMjBnawG63tDYG43A7UrDKzh+L+LcX tzd26hfMs25WdYD9nhvVKSlirhL0LQZuaA== X-Google-Smtp-Source: ABdhPJysuk62QuYiuOvSQBweCWTfP4JLKakhjFwqWdNO7jMlVSEiaKK3exdcHB95qsHReINgZPb1GQ== X-Received: by 2002:a5d:64e8:0:b0:218:519e:7896 with SMTP id g8-20020a5d64e8000000b00218519e7896mr3843768wri.207.1654619468883; Tue, 07 Jun 2022 09:31:08 -0700 (PDT) Received: from localhost.localdomain (33bafc66.skybroadband.com. [51.186.252.102]) by smtp.gmail.com with ESMTPSA id u10-20020adfdd4a000000b002102cc4d63asm21633277wrm.81.2022.06.07.09.31.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 09:31:07 -0700 (PDT) From: Christopher Ng To: openvpn-devel@lists.sourceforge.net Date: Tue, 7 Jun 2022 17:30:49 +0100 Message-Id: <20220607163049.10056-2-facboy@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220607163049.10056-1-facboy@gmail.com> References: <20220607163049.10056-1-facboy@gmail.com> MIME-Version: 1.0 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: Signed-off-by: Christopher Ng --- openvpn/omi/CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/openvpn/omi/CMakeLists.txt b/openvpn/omi/CMakeLists.txt index d773da39..cd7cb8fd 100644 --- a/openvpn/omi/CMakeLists.txt +++ b/openvpn/omi/CMakeLists.txt @@ -1,3 +1,5 @@ +option(CLI_OVPND [...] 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.218.53 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [facboy[at]gmail.com] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.218.53 listed in wl.mailspike.net] -0.0 T_SCC_BODY_TEXT_LINE No description available. 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-Headers-End: 1nycwv-0006aM-S2 Subject: [Openvpn-devel] [PATCH OpenVPN3 2/2] omi: add support for ovpn-dco-win 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 Signed-off-by: Christopher Ng Acked-by: Lev Stipakov --- openvpn/omi/CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/openvpn/omi/CMakeLists.txt b/openvpn/omi/CMakeLists.txt index d773da39..cd7cb8fd 100644 --- a/openvpn/omi/CMakeLists.txt +++ b/openvpn/omi/CMakeLists.txt @@ -1,3 +1,5 @@ +option(CLI_OVPNDCOWIN "Build ovpncli with ovpn-dco-win driver support" OFF) + add_executable(omicliagent openvpn.cpp) add_core_dependencies(omicliagent) add_json_library(omicliagent) @@ -5,3 +7,10 @@ target_compile_definitions(omicliagent PRIVATE -DOPENVPN_COMMAND_AGENT -DOVPNAGE add_executable(omicli openvpn.cpp) add_core_dependencies(omicli) + +if (WIN32 AND ${CLI_OVPNDCOWIN}) + target_compile_definitions(omicliagent PRIVATE ENABLE_OVPNDCOWIN) + target_compile_definitions(omicli PRIVATE ENABLE_OVPNDCOWIN) + target_link_libraries(omicliagent "bcrypt.lib") + target_link_libraries(omicli "bcrypt.lib") +endif ()