Document --daemon changes and consequences (--askpass, --auth-nocache).
PATCH 1/1 Document --daemon changes and consequences (--askpass, --auth-nocache).
Trac #574, #576
Signed-off-by Gert Doering <[email protected]...>
--- doc/openvpn.8 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
doc/openvpn.8 +16 -0
@@ -2208,6 +2208,22 @@ openvpn command for a fairly reliable indication of whether the command has correctly initialized and entered the packet forwarding event loop. In OpenVPN, the vast majority of errors which occur after initialization are non-fatal. + +Note: as soon as OpenVPN has daemonized, it can not ask for usernames, +passwords, or key pass phrases anymore. This has certain consequences, +namely that using a password-protected private key will fail unless the +.B \-\-askpass +option is used to tell OpenVPN to ask for the pass phrase (this +requirement is new in 2.3.7, and is a consequence of calling daemon() +before initializing the crypto layer). + +Further, using +.B \-\-daemon +together with +.B \-\-auth-user-pass +(entered on console) and +.B \-\-auth-nocache +will fail as soon as key renegotiation (and reauthentication) occurs. .\"********************************************************* .TP .B \-\-syslog [progname]
Signature · 1 line
2.3.6
Quoted 40 lines
From: Gert Doering [mailto:[email protected]...]
Sent: dinsdag 14 juli 2015 9:10Trac #574, #576
Signed-off-by Gert Doering <[email protected]...>--- doc/openvpn.8 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)doc/openvpn.8 +0
-0@@ -2208,6 +2208,22 @@ openvpn command for a fairly reliable indicationof whether the command
has correctly initialized and entered the packet forwarding event loop.In OpenVPN, the vast majority of errors which occur after
initialization are non-fatal.doc/openvpn.8 +16
-1+ +Note: as soon as OpenVPN has daemonized, it can not ask for usernames, +passwords, or key pass phrases anymore. This has certain consequences, +namely that using a password-protected private key will fail unless the +.B \-\-askpass +option is used to tell OpenVPN to ask for the pass phrase (this +requirement is new in 2.3.7, and is a consequence of calling daemon() +before initializing the crypto layer). + +Further, using +.B \-\-daemon +together with +.B \-\-auth-user-pass +(entered on console) and +.B \-\-auth-nocache +will fail as soon as key renegotiation (and reauthentication) occurs. .\"********************************************************* .TP .B \-\-syslog [progname] --
Quoted 1 line
2.3.6
ACK
-Steffan
Patch has been applied to the master and release/2.3 branch.
commit b6ec7fbe96f4e200b8962ef6bb572bbb2228133e (master) commit dda40aedfb87d77afcef52376cd3e4778ba0370b (release/2.3)
Author: Gert Doering Date: Tue Jul 14 09:09:54 2015 +0200
Document --daemon changes and consequences (--askpass, --auth-nocache).
Signed-off-by: Gert Doering <[email protected]...>
Acked-by: Steffan Karger <[email protected]...>
Message-Id: <[email protected]...>
URL: http://article.gmane.org/gmane.network.openvpn.devel/9923--
kind regards,
Gert Doering