From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erik Kapfer To: development@lists.ipfire.org Subject: [PATCH 1/2] openvpn: Update to version 2.3.7, added --verify-x509-name directive. Date: Tue, 07 Jul 2015 13:13:35 +0200 Message-ID: <1436267616-13856-1-git-send-email-erik.kapfer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6678097029410884343==" List-Id: --===============6678097029410884343== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The tls-remote directive is deprecated and will be removed with OpenVPN version 2.4 . Added instead --verify-x509-name HOST name into ovpnmain.cgi. --- html/cgi-bin/ovpnmain.cgi | 2 +- lfs/openvpn | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/html/cgi-bin/ovpnmain.cgi b/html/cgi-bin/ovpnmain.cgi index fb52e68..8c724ef 100644 --- a/html/cgi-bin/ovpnmain.cgi +++ b/html/cgi-bin/ovpnmain.cgi @@ -2290,7 +2290,7 @@ else } print CLIENTCONF "verb 3\r\n"; print CLIENTCONF "ns-cert-type server\r\n"; - print CLIENTCONF "tls-remote $vpnsettings{ROOTCERT_HOSTNAME}\r\n";=20 + print CLIENTCONF "verify-x509-name $vpnsettings{ROOTCERT_HOSTNAME} name\= r\n"; if ($vpnsettings{MSSFIX} eq 'on') { print CLIENTCONF "mssfix\r\n"; } diff --git a/lfs/openvpn b/lfs/openvpn index a19ac1f..96e37f7 100644 --- a/lfs/openvpn +++ b/lfs/openvpn @@ -1,7 +1,7 @@ ############################################################################= ### # = # # IPFire.org - A linux based firewall = # -# Copyright (C) 2007-2014 IPFire Team = # +# Copyright (C) 2015 IPFire Team = # # = # # This program is free software: you can redistribute it and/or modify = # # it under the terms of the GNU General Public License as published by = # @@ -24,7 +24,7 @@ =20 include Config =20 -VER =3D 2.3.6 +VER =3D 2.3.7 =20 THISAPP =3D openvpn-$(VER) DL_FILE =3D $(THISAPP).tar.xz @@ -40,7 +40,7 @@ objects =3D $(DL_FILE) =20 $(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) =20 -$(DL_FILE)_MD5 =3D bcc30c296566df14feebdd8aa0e408ca +$(DL_FILE)_MD5 =3D 5b819f7cd0b875f55f20a947224967aa =20 install : $(TARGET) =20 --=20 2.4.4 --===============6678097029410884343==--