From patchwork Sun Aug 30 04:07:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arne Schwabe X-Patchwork-Id: 1406 Return-Path: Delivered-To: patchwork@openvpn.net Delivered-To: patchwork@openvpn.net Received: from director11.mail.ord1d.rsapps.net ([172.30.191.6]) by backend41.mail.ord1d.rsapps.net with LMTP id SInYBSi4S18fHQAAqwncew for ; Sun, 30 Aug 2020 10:31:04 -0400 Received: from proxy9.mail.ord1d.rsapps.net ([172.30.191.6]) by director11.mail.ord1d.rsapps.net with LMTP id gOy/BSi4S18yfwAAvGGmqA (envelope-from ) for ; Sun, 30 Aug 2020 10:31:04 -0400 Received: from smtp12.gate.ord1d ([172.30.191.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by proxy9.mail.ord1d.rsapps.net with LMTPS id GOiLBSi4S1+MXwAA7h+8OQ (envelope-from ) for ; Sun, 30 Aug 2020 10:31:04 -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: smtp12.gate.ord1d.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; dmarc=none (p=nil; dis=none) header.from=rfc2549.org X-Suspicious-Flag: YES X-Classification-ID: 6e95b466-eacd-11ea-825f-52540070b731-1-1 Received: from [216.105.38.7] ([216.105.38.7:34092] helo=lists.sourceforge.net) by smtp12.gate.ord1d.rsapps.net (envelope-from ) (ecelerity 4.2.38.62370 r(:)) with ESMTPS (cipher=DHE-RSA-AES256-GCM-SHA384) id 63/BC-31807-728BB4F5; Sun, 30 Aug 2020 10:31:03 -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 1kCOLh-0007hc-NK; Sun, 30 Aug 2020 14:30:26 +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 1kCOLg-0007hU-81 for openvpn-devel@lists.sourceforge.net; Sun, 30 Aug 2020 14:30:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc: 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=YXL0jtNc8iTeDgXpyUhvkG8FV1JHDTTK5mzmeo8I8g0=; b=BgQb0KibP2qFCW4dASBoAV0Wi9 1LSNHkMUYf3mVCGnO/fqJ1omcRTFCqLu7KIK0FAIWy/VB6RWslSMzyBNWust2xdFoWKgUc26/6zi2 GoZWwEGJPiECwxKjGDMIsraJXOUyWI4iuV+e3o+06q706HFPgCslZMQiyaUZ4hMA18p8=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc: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=YXL0jtNc8iTeDgXpyUhvkG8FV1JHDTTK5mzmeo8I8g0=; b=nVUW4A7XkGqcMOJ2OAve2+iNp+ glCbvCZhPMH9oWg9zrK2XYQ9YiifAXIHVCU+JOz/dRLcoYgNH6D1VRl1A+8Uk+EW6bTETtHskU4Ob lu/pN/QiDSMTR6zrnepdITbN+nA7H3q3f4K/HiUg6GajlZyWUn59vVr4ojM7aSBlWDvQ=; Received: from [192.26.174.232] (helo=mail.blinkt.de) by sfi-mx-3.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.2) id 1kCOLe-007B7B-RB for openvpn-devel@lists.sourceforge.net; Sun, 30 Aug 2020 14:30:24 +0000 Received: from kamera.blinkt.de ([2001:638:502:390:20c:29ff:fec8:535c]) by mail.blinkt.de with smtp (Exim 4.94 (FreeBSD)) (envelope-from ) id 1kCNzc-000Jhs-So for openvpn-devel@lists.sourceforge.net; Sun, 30 Aug 2020 16:07:36 +0200 Received: (nullmailer pid 16616 invoked by uid 10006); Sun, 30 Aug 2020 14:07:36 -0000 From: Arne Schwabe To: openvpn-devel@lists.sourceforge.net Date: Sun, 30 Aug 2020 16:07:34 +0200 Message-Id: <20200830140736.16571-1-arne@rfc2549.org> 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 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 SPF_NONE SPF: sender does not publish an SPF Record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.0 RDNS_NONE Delivered to internal network by a host with no rDNS -0.2 AWL AWL: Adjusted score from AWL reputation of From: address X-Headers-End: 1kCOLe-007B7B-RB Subject: [Openvpn-devel] [PATCH 0/2] Backport/implement IV_CIPHERS support for OpenVPN 2.4 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: , MIME-Version: 1.0 Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox This is basically to improve 2.4 client to OpenVPN 2.5 server compatibility. The commit message of patch 2/2 explains the motivations and details more. Arne Schwabe (2): Normalise ncp-ciphers option and restrict it to 127 bytes Also announce IV_CIPHERS as client in OpenVPN 2.4 doc/openvpn.8 | 2 + src/openvpn/init.c | 1 + src/openvpn/options.c | 9 +++ src/openvpn/ssl.c | 74 +++++++++++++++++++++++++ src/openvpn/ssl.h | 23 ++++++++ src/openvpn/ssl_common.h | 1 + src/openvpn/ssl_ncp.h | 116 +++++++++++++++++++++++++++++++++++++++ 7 files changed, 226 insertions(+) create mode 100644 src/openvpn/ssl_ncp.h