]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Added "setenv opt" directive prefix. If present, and if the
authorJames Yonan <james@openvpn.net>
Tue, 11 Jun 2013 06:25:05 +0000 (00:25 -0600)
committerDavid Sommerseth <davids@redhat.com>
Mon, 15 Jul 2013 13:59:05 +0000 (15:59 +0200)
commit2a92fba756d4c1e73300a12ff9e80028a6ab7c09
treebd1a017d67319982fd8666eb3fb69ba072383a6d
parent4b67f9849ab3efe89268e01afddc7795f38d0f64
Added "setenv opt" directive prefix.  If present, and if the
directive that follows is recognized, it will be processed
as if the "setenv opt" prefix was absent.  If present and if
the directive that follows is not recognized, the directive
will be ignored rather than cause a fatal error.

For example, suppose you are distributing a client
configuration file and want to set the minimum TLS version
that the client requires from the server to 1.2.

By using the following directive,

  setenv opt tls-version-min 1.2 or-highest

only newer clients that understand the tls-version-min directive
would process it, while older clients would ignore it.

(cherry picked from commit 27713761e4110bb92f1c6dfe85db291e8c6e0f56)

Signed-off-by: James Yonan <james@openvpn.net>
URL: http://thread.gmane.org/gmane.network.openvpn.devel/7771
URL: http://thread.gmane.org/gmane.network.openvpn.devel/7744
URL: https://github.com/jamesyonan/openvpn/commit/27713761e4110bb92f1c6dfe85db291e8c6e0f56
Acked-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Signed-off-by: David Sommerseth <davids@redhat.com>
doc/openvpn.8
src/openvpn/options.c