]> git.ipfire.org Git - thirdparty/openvpn.git/commit
auth-gen-token: Add --auth-gen-token option
authorDavid Sommerseth <davids@openvpn.net>
Fri, 28 Oct 2016 19:48:40 +0000 (21:48 +0200)
committerDavid Sommerseth <davids@openvpn.net>
Mon, 31 Oct 2016 11:05:05 +0000 (12:05 +0100)
commit58066d04036bf29107f67ca38c6e964ec11f9dfd
tree0b1f0a0a899c891f37e0d0375fd8b966172e8f8f
parentffe508e1082000531c9dc3a60abb9b6ba448f519
auth-gen-token: Add --auth-gen-token option

This sets the flag if the OpenVPN server should create authentication
tokens on-the-fly on successful --auth-user-pass-verify or --plugin with
OPENVPN_PLUGIN_AUTH_USER_PASS_VERIFY processing.

If an OpenVPN server is running without this option, it should behave
as before.  Next patches will implement the auth-token generation and
passing it on to the clients.

The --auth-gen-token can be given an optional integer argument which
defines the lifetime of generated tokens.  The lifetime argument
must be given in number of seconds.

  v2 - Update Changes.rst
     - Improve man page in regards to lifetime argument
     - Rename struct member auth_generate_token to auth_token_generate
       to have a consistent naming scheme

Signed-off-by: David Sommerseth <davids@openvpn.net>
Acked-by: Steffan Karger <steffan@karger.me>
Message-Id: <1477684124-26083-2-git-send-email-davids@openvpn.net>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg12825.html
Changes.rst
doc/openvpn.8
src/openvpn/init.c
src/openvpn/options.c
src/openvpn/options.h
src/openvpn/ssl_common.h