aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorArne Schwabe2021-01-25 13:56:25 +0100
committerGert Doering2021-03-10 15:09:13 +0100
commitfdb4f27685f38621b72467e3038c2116f0e809c4 (patch)
treea07587d867c965f5c3ae861ee81b51fa17e6ed41 /include
parentd8ed59320e619eb5c9e5ba2acbac1a4fecae36b1 (diff)
downloadopenvpn-fdb4f27685f38621b72467e3038c2116f0e809c4.zip
openvpn-fdb4f27685f38621b72467e3038c2116f0e809c4.tar.gz
Allow pending auth to be send from a auth plugin
Patch v2: removed change that slipped into this patch and belongs into the next Signed-off-by: Arne Schwabe <arne@rfc2549.org> Acked-by: David Sommerseth <davids@openvpn.net> Message-Id: <20210125125628.30364-9-arne@rfc2549.org> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg21489.html Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'include')
-rw-r--r--include/openvpn-plugin.h.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/openvpn-plugin.h.in b/include/openvpn-plugin.h.in
index b73b745..1f60f88 100644
--- a/include/openvpn-plugin.h.in
+++ b/include/openvpn-plugin.h.in
@@ -567,6 +567,14 @@ OPENVPN_PLUGIN_DEF openvpn_plugin_handle_t OPENVPN_PLUGIN_FUNC(openvpn_plugin_op
* auth_control_file/client_connect_deferred_file
* in the environmental variable list (envp).
*
+ * Additionally the auth_pending_file can be written, which causes the openvpn
+ * server to send a pending auth request to the client. See doc/management.txt
+ * for more details on this authentication mechanism. The format of the
+ * auth_pending_file is
+ * line 1: timeout in seconds
+ * line 2: Pending auth method the client needs to support (e.g. openurl)
+ * line 3: EXTRA (e.g. OPEN_URL:http://www.example.com)
+ *
* In addition the OPENVPN_PLUGIN_CLIENT_CONNECT_DEFER and
* OPENVPN_PLUGIN_CLIENT_CONNECT_DEFER_V2 are called when OpenVPN tries to
* get the deferred result. For a V2 call implementing this function is