New feature: --auth-gen-token
Get series with b4
b4 am [email protected]...Versions newest first · linked by author and title
- v2 Latest4 patches 8 repliesIn review
- v11 patch 0 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | auth-gen-token: Add --auth-gen-token optionChanges.rst doc/ src/ +3 more | +60 | 2 replies | |
| 1/4 | auth-gen-token: Add --auth-gen-token optionChanges.rst doc/ src/ +3 more | +60 | 0 replies | |
| 2/4 | auth-gen-token: Generate an auth-token per clientsrc/ src/ src/ | +53 | 2 replies | |
| 3/4 | auth-gen-token: Push generated auth-tokens to the clientsrc/ src/ src/ | +22 | 2 replies | |
| 4/4 | auth-gen-token: Authenticate generated auth-tokens when client re-authenticatessrc/ | +58 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [Openvpn-devel] [PATCH v2 0/4] New feature: --auth-gen-token
This is an updated patch-set of the --auth-gen-token feature. A couple of patches have already been sent to the previous mail thread [1], but I thought it would be easier to do the final ACK round when everything was collected into the same thread.
As the previous PATCH 1/5 got ACKed and is already applied to the master branch, this patch is excluded from this updated thread.
[1] <https://www.mail-archive.com/[email protected]/msg12701.html>
Quick recap
===========
This patch-set adds a new --auth-gen-token option with an optional lifetime argument. This allows existing authentication modules to let clients store a temporary authentication token for the session instead of caching passwords locally. This also have the benefit of allowing Two Factor Authentication (2FA) implementations to work properly with the --reneg-* options enabled without any further modifications. This feature can be used against any OpenVPN v2.3.0 client and newer.
What has changed since the first patche-set
===========================================
- Changes.rst have been updated
- man page have been improved
- Ensuring the feature has a consistent naming scheme in the code
- Ensuring the code don't exceed 80 chars line length
- Various improvements to comments
David Sommerseth (4):
auth-gen-token: Add --auth-gen-token option
auth-gen-token: Generate an auth-token per client
auth-gen-token: Push generated auth-tokens to the client
auth-gen-token: Authenticate generated auth-tokens when client
re-authenticates
Changes.rst | 15 ++++++++ doc/openvpn.8 | 22 +++++++++++ src/openvpn/init.c | 2 + src/openvpn/misc.c | 9 +++++ src/openvpn/options.c | 16 ++++++++ src/openvpn/options.h | 2 + src/openvpn/push.c | 12 +++++- src/openvpn/ssl.c | 6 +++ src/openvpn/ssl_common.h | 13 +++++++ src/openvpn/ssl_verify.c | 97 ++++++++++++++++++++++++++++++++++++++++++++++++ 10 files changed, 193 insertions(+), 1 deletion(-)
Signature · 1 line
1.8.3.1