Skip to content

Implement additional two step authentication methods

Arne Schwabe openvpn-devel 3 versions – In review

Get series with b4
b4 am [email protected]...

Versions newest first · linked by author and title

  1. v3 Latest5 patches 10 repliesIn review
  2. v25 patches 12 repliesSuperseded
  3. v15 patches 9 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Implement parsing and sending INFO and INFO_PRE control messagessrc/openvpn/forward.c src/openvpn/push.c src/openvpn/push.h+43 -02 replies
2/5Implement support for signalling IV_SSO to serversrc/openvpn/ssl.c+3 -12 replies
3/5Implement sending response to challenge via CR_RESPONSEdoc/management-notes.txt src/openvpn/init.c src/openvpn/manage.c +1 more+92 -12 replies
4/5Implement sending AUTH_PENDING challenges to clientsdoc/management-notes.txt src/openvpn/manage.c src/openvpn/manage.h +3 more+185 -02 replies
5/5Implement forwarding client CR_RESPONSE messages to managementdoc/management-notes.txt src/openvpn/forward.c src/openvpn/manage.c +3 more+89 -22 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchDavid Sommerseth
1/5A-b
2/5A-b
3/5A-b
4/5A-b
5/5A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [Openvpn-devel] [PATCH v3 0/5] Implement additional two step authentication methods

This patchset implements the basic blocks for a more flexible authentication protocol in OpenVPN. The basic idea is to instead of giving a immediate deny/accept the client gets a additional challgen via the info message to a 2FA method or external authentication with URL (e.g. via SAML).

The patch already sends the AUTH_PENDING control message. An OpenVPN3 cliets needs this to scale back pull request frequency, OpenVPN2 currently logs a warning about an unknown. This will be fixed in a follw up patch

Currently both client and server side need a management interface make the support work. For a server script follow up patch, I am currently waiting for the client-connect patch set to be merge and for the client side, David offered to help with helping with the getting an async password input working.

Arne Schwabe (5):
Implement parsing and sending INFO and INFO_PRE control messages Implement support for signalling IV_SSO to server Implement sending response to challenge via CR_RESPONSE Implement sending AUTH_PENDING challenges to clients Implement forwarding client CR_RESPONSE messages to management

 doc/management-notes.txt | 130 ++++++++++++++++++++++++++++++++++++++-
 src/openvpn/forward.c    |  12 ++++
 src/openvpn/init.c       |  39 ++++++++++++
 src/openvpn/manage.c     | 113 +++++++++++++++++++++++++++++++++-
 src/openvpn/manage.h     |   9 +++
 src/openvpn/multi.c      |  19 ++++++
 src/openvpn/push.c       |  78 +++++++++++++++++++++++
 src/openvpn/push.h       |  12 ++++
 src/openvpn/ssl.c        |   4 +-
 9 files changed, 412 insertions(+), 4 deletions(-)
Signature · 1 line
2.26.0