]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Implement exit notification via control channel
authorArne Schwabe <arne@rfc2549.org>
Wed, 14 Sep 2022 16:50:41 +0000 (18:50 +0200)
committerGert Doering <gert@greenie.muc.de>
Sun, 18 Sep 2022 14:30:32 +0000 (16:30 +0200)
commit179b3728b71013413885e453e477997f5a396f78
tree1200443c055887f569a9956bf1908decba20e44f
parent5ac33a88b10584c3e52dc0c01dad2571b75be239
Implement exit notification via control channel

Current exit notification relies on data channel messages with specific
prefix. Adding these to new data channel modules (DCO) adds unncessary
complexity for the data for messages that from their idea belong to the
control channel anyway.

This patch adds announcing support for control channel and sending/receving
it. We use the simple EXIT message for this.

Patch v2: add comment about protocol-flags to be not a user visible option,
          fix various grammar mistakes, remove unused argument to
          receive_exit_message

Patch v3: rename data_channel_crypto_flags to imported_protocol_flags
          add tls-ekm to protocol-flags.

Patch v4: rebase, use a buffer for the code that prepares the push reply

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Heiko Hund <heiko@ist.eigentlich.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20220914165041.2658423-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg25209.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
12 files changed:
doc/man-sections/client-options.rst
src/openvpn/crypto.h
src/openvpn/forward.c
src/openvpn/multi.c
src/openvpn/options.c
src/openvpn/options.h
src/openvpn/push.c
src/openvpn/push.h
src/openvpn/sig.c
src/openvpn/ssl.c
src/openvpn/ssl.h
src/openvpn/ssl_ncp.c