From patchwork Sat Oct 16 03:15:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilya Shipitsin X-Patchwork-Id: 1987 Return-Path: Delivered-To: patchwork@openvpn.net Delivered-To: patchwork@openvpn.net Received: from director7.mail.ord1d.rsapps.net ([172.30.191.6]) by backend30.mail.ord1d.rsapps.net with LMTP id yHO6Ns7eamEDUwAAIUCqbw (envelope-from ) for ; Sat, 16 Oct 2021 10:16:46 -0400 Received: from proxy7.mail.ord1d.rsapps.net ([172.30.191.6]) by director7.mail.ord1d.rsapps.net with LMTP id SMaNNs7eamF/FwAAovjBpQ (envelope-from ) for ; Sat, 16 Oct 2021 10:16:46 -0400 Received: from smtp28.gate.ord1c ([172.30.191.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by proxy7.mail.ord1d.rsapps.net with LMTPS id +Og9Ns7eamGBfAAAMe1Fpw (envelope-from ) for ; Sat, 16 Oct 2021 10:16:46 -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: smtp28.gate.ord1c.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: b1d068ea-2e8b-11ec-a9dd-a0369f1890f1-1-1 Received: from [216.105.38.7] ([216.105.38.7:34872] helo=lists.sourceforge.net) by smtp28.gate.ord1c.rsapps.net (envelope-from ) (ecelerity 4.2.38.62370 r(:)) with ESMTPS (cipher=DHE-RSA-AES256-GCM-SHA384) id 6B/56-31896-ECEDA616; Sat, 16 Oct 2021 10:16:46 -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.90_1) (envelope-from ) id 1mbkTS-0004yR-5t; Sat, 16 Oct 2021 14:15:46 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mbkTQ-0004y5-Hl for openvpn-devel@lists.sourceforge.net; Sat, 16 Oct 2021 14:15:44 +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:Message-Id: Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: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=UHVt6KuaGZRVkwWGQgfK0JU4RAnDAH3toiLk83Ld5oE=; b=RNGXnfVgmzrRWQyNe80Hb16KJb ZBnjI/oqqsaSKt7N8KxaQ4d4/hhXg+Czfp9m2ffKd0WkdVFfvoRXSDMPJtFWcIyBYigGW5cYNHTxX yTvGipVf7d+XfdHaq1SngbPwEVzBzR+oK8vui7AeoX/NQ/1+gFmBXr2sNLl6aNlza66o=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject:Cc:To:From :Sender:Reply-To:Content-Type: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=UHVt6KuaGZRVkwWGQgfK0JU4RAnDAH3toiLk83Ld5oE=; b=J auPfQzI1bCNc7B9cKs3XC4iwzaVcrDEdWCwSu48w1ZdI3VyCHg8EBkz0yqXwgAWxKBJlei3YQC1t+ 6kc2Ve2k47ul9X1/eRSnjNWV6Q4X4lPFRsFNiN6yvx94y40jZOSnh6MNkOvX2yhdMbonxzev39HsB 23S6/v7pf1V1POYA=; Received: from mail-wm1-f41.google.com ([209.85.128.41]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92.3) id 1mbkTP-00HSug-Np for openvpn-devel@lists.sourceforge.net; Sat, 16 Oct 2021 14:15:44 +0000 Received: by mail-wm1-f41.google.com with SMTP id o24-20020a05600c511800b0030d9da600aeso4409568wms.4 for ; Sat, 16 Oct 2021 07:15:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=UHVt6KuaGZRVkwWGQgfK0JU4RAnDAH3toiLk83Ld5oE=; b=DEdGVVQtFKShuHbhdTJuRggCB6EPIrWBX501ibgtZB0MR6zgjCv6L6KLPLQLwxrTk4 YBcXXkzHeXUyz/aE7bBSx4Hey8ZsNgGshM3/0pd84ORWJAEii0Em7QoF/lmmHbF82W0p kI06yxHnkBXIzgvoQk8sh1vDGNAc0FX3QToKERM1xfbuGlsIWOrl3r3tP8JSBfFRY8jR Ir3B6bzaHh+sFn5WH1Zd5Yqvot/xJ0tL+OBhizfidLq5vndGiJoCGlnVWB8Mmv8USYWC NEKVMc2e6sR6TkyxeMd5qdPeeZB5cvtllRuJGCmEXavGPEs6mMoiDDRh/NBYQIbj15ya XxKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=UHVt6KuaGZRVkwWGQgfK0JU4RAnDAH3toiLk83Ld5oE=; b=pI9D/VTDUdRxzO2VlDTtna8K9lN4YhSfLiYbT9loz+Q5GjHy7m264CylCItOmCv8fd /QzEOtf8/zzCz63eG9X950VEPm7Y/UaLVjmfGdvho9ONHx9Mhq6Y2yYf53o6MqA6SWMw 6iTPpNHlokmCFBbri+UMG3ViVvpULhzOTy1zZEpL6cb4KKNmgAGlw4XRvQPpnTeintTZ bF2BlvNdY588h5zBSsAkcHndcb4LL3EZpi+YY0YFJsDkSbHD6qx4gsqzP6h0dOL/ZHBN wzV/af/+2xiqfT3aKUJ8gyffjlpLpG9XWKpZZ1twwVOplJsJPteueu8rqbusmjbXRcQp Ze2A== X-Gm-Message-State: AOAM532JuEjxfU6p13xbc4Iz8xWaNNxB4ixhA6UKbLq6z9gjuFHi4qQh tRQK7cRzWepI19LY3OCY12jqWEqvsNKn8eBB X-Google-Smtp-Source: ABdhPJzs7p/+HTVQ/9WqyzaUYOoww2hhbDi57on0alphKsD73P+QO1zQzs6FStU6nVMGGoHLISUJNw== X-Received: by 2002:a05:600c:4999:: with SMTP id h25mr19842221wmp.140.1634393737014; Sat, 16 Oct 2021 07:15:37 -0700 (PDT) Received: from localhost.localdomain ([212.174.198.35]) by smtp.gmail.com with ESMTPSA id n7sm7372953wra.37.2021.10.16.07.15.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Oct 2021 07:15:36 -0700 (PDT) From: Ilya Shipitsin To: openvpn-devel@lists.sourceforge.net Date: Sat, 16 Oct 2021 19:15:19 +0500 Message-Id: <20211016141519.1928-1-chipitsine@gmail.com> X-Mailer: git-send-email 2.29.2.windows.2 MIME-Version: 1.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: found by BinSkim, more details: https://docs.microsoft.com/en-us/cpp/build/reference/cetcompat?view=msvc-160 Signed-off-by: Ilya Shipitsin --- src/compat/Debug.props | 10 ++++++++++ src/compat/Release.props | 10 ++++++++++ src/openvpn/openvpn.vcxproj | 4 ++++ src/openvpnmsica/openvpnmsica-Debug.props | 10 [...] 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.128.41 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [chipitsine[at]gmail.com] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.128.41 listed in wl.mailspike.net] -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.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-Headers-End: 1mbkTP-00HSug-Np Subject: [Openvpn-devel] [PATCH] BUILD: MSVC: enable the Control-flow Enforcement Technology (CET) Shadow Stack mitigation 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 found by BinSkim, more details: https://docs.microsoft.com/en-us/cpp/build/reference/cetcompat?view=msvc-160 Signed-off-by: Ilya Shipitsin Signed-off-by: Ilya Shipitsin <chipitsine@gmail.com>
--- src/compat/Debug.props | 10 ++++++++++ src/compat/Release.props | 10 ++++++++++ src/openvpn/openvpn.vcxproj | 4 ++++ src/openvpnmsica/openvpnmsica-Debug.props | 10 ++++++++++ src/openvpnmsica/openvpnmsica-Release.props | 10 ++++++++++ src/openvpnserv/openvpnserv.vcxproj | 4 ++++ 6 files changed, 48 insertions(+) diff --git a/src/compat/Debug.props b/src/compat/Debug.props index 31bb9d91..14d7a1f7 100644 --- a/src/compat/Debug.props +++ b/src/compat/Debug.props @@ -17,5 +17,15 @@ EditAndContinue + + + true + + + + + true + + \ No newline at end of file diff --git a/src/compat/Release.props b/src/compat/Release.props index 50eaa8de..df04ddf2 100644 --- a/src/compat/Release.props +++ b/src/compat/Release.props @@ -22,5 +22,15 @@ true + + + true + + + + + true + + \ No newline at end of file diff --git a/src/openvpn/openvpn.vcxproj b/src/openvpn/openvpn.vcxproj index 65ee6839..38dd22de 100644 --- a/src/openvpn/openvpn.vcxproj +++ b/src/openvpn/openvpn.vcxproj @@ -158,6 +158,7 @@ Ncrypt.lib;gdi32.lib;ws2_32.lib;wininet.lib;crypt32.lib;iphlpapi.lib;winmm.lib;Fwpuclnt.lib;Rpcrt4.lib;setupapi.lib;Advapi32.lib $(OPENSSL_HOME)/lib;$(LZO_HOME)/lib;$(PKCS11H_HOME)/lib;%(AdditionalLibraryDirectories) Console + true @@ -173,6 +174,7 @@ Ncrypt.lib;gdi32.lib;ws2_32.lib;wininet.lib;crypt32.lib;iphlpapi.lib;winmm.lib;Fwpuclnt.lib;Rpcrt4.lib;setupapi.lib;Advapi32.lib $(OPENSSL_HOME)/lib;$(LZO_HOME)/lib;$(PKCS11H_HOME)/lib;%(AdditionalLibraryDirectories) Console + true @@ -204,6 +206,7 @@ Ncrypt.lib;gdi32.lib;ws2_32.lib;wininet.lib;crypt32.lib;iphlpapi.lib;winmm.lib;Fwpuclnt.lib;Rpcrt4.lib;setupapi.lib;Advapi32.lib $(OPENSSL_HOME)/lib;$(LZO_HOME)/lib;$(PKCS11H_HOME)/lib;%(AdditionalLibraryDirectories) Console + true @@ -220,6 +223,7 @@ Ncrypt.lib;gdi32.lib;ws2_32.lib;wininet.lib;crypt32.lib;iphlpapi.lib;winmm.lib;Fwpuclnt.lib;Rpcrt4.lib;setupapi.lib;Advapi32.lib $(OPENSSL_HOME)/lib;$(LZO_HOME)/lib;$(PKCS11H_HOME)/lib;%(AdditionalLibraryDirectories) Console + true diff --git a/src/openvpnmsica/openvpnmsica-Debug.props b/src/openvpnmsica/openvpnmsica-Debug.props index 43532cfe..c99346af 100644 --- a/src/openvpnmsica/openvpnmsica-Debug.props +++ b/src/openvpnmsica/openvpnmsica-Debug.props @@ -10,5 +10,15 @@ MultiThreadedDebug + + + true + + + + + true + + \ No newline at end of file diff --git a/src/openvpnmsica/openvpnmsica-Release.props b/src/openvpnmsica/openvpnmsica-Release.props index 47727b35..70f82713 100644 --- a/src/openvpnmsica/openvpnmsica-Release.props +++ b/src/openvpnmsica/openvpnmsica-Release.props @@ -11,5 +11,15 @@ Guard + + + true + + + + + true + + \ No newline at end of file diff --git a/src/openvpnserv/openvpnserv.vcxproj b/src/openvpnserv/openvpnserv.vcxproj index 5fd7d60b..65d03e3b 100644 --- a/src/openvpnserv/openvpnserv.vcxproj +++ b/src/openvpnserv/openvpnserv.vcxproj @@ -130,6 +130,7 @@ Userenv.lib;Iphlpapi.lib;ntdll.lib;Fwpuclnt.lib;Netapi32.lib;Shlwapi.lib;%(AdditionalDependencies) Console + true @@ -141,6 +142,7 @@ legacy_stdio_definitions.lib;Userenv.lib;Iphlpapi.lib;ntdll.lib;Fwpuclnt.lib;Netapi32.lib;Shlwapi.lib;%(AdditionalDependencies) Console + true @@ -163,6 +165,7 @@ Userenv.lib;Iphlpapi.lib;ntdll.lib;Fwpuclnt.lib;Netapi32.lib;Shlwapi.lib;%(AdditionalDependencies) Console + true @@ -174,6 +177,7 @@ legacy_stdio_definitions.lib;Userenv.lib;Iphlpapi.lib;ntdll.lib;Fwpuclnt.lib;Netapi32.lib;Shlwapi.lib;%(AdditionalDependencies) Console + true