public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH 1/2] openvpn: Update to version 2.3.7, added --verify-x509-name directive.
@ 2015-07-07 11:13 Erik Kapfer
  2015-07-07 11:13 ` [PATCH 2/2] lzo: Update to version 2.09 Erik Kapfer
  0 siblings, 1 reply; 2+ messages in thread
From: Erik Kapfer @ 2015-07-07 11:13 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1978 bytes --]

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"; 
+    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  <info(a)ipfire.org>                     #
+# Copyright (C) 2015  IPFire Team  <info(a)ipfire.org>                          #
 #                                                                             #
 # 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 @@
 
 include Config
 
-VER        = 2.3.6
+VER        = 2.3.7
 
 THISAPP    = openvpn-$(VER)
 DL_FILE    = $(THISAPP).tar.xz
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = bcc30c296566df14feebdd8aa0e408ca
+$(DL_FILE)_MD5 = 5b819f7cd0b875f55f20a947224967aa
 
 install : $(TARGET)
 
-- 
2.4.4


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-07-07 11:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-07 11:13 [PATCH 1/2] openvpn: Update to version 2.3.7, added --verify-x509-name directive Erik Kapfer
2015-07-07 11:13 ` [PATCH 2/2] lzo: Update to version 2.09 Erik Kapfer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox