0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-20 04:02:15 +02:00
openvpn3/openvpn/dco
Antonio Quartulli e30146bfb6
dco: implement new ovpn-dco logic
With the recent changes in ovpn-dco, aimed at accommodating the new
multi-peer logic, userspace has to adapt as well in order to follow the
expected flow. In particular we require userspace to act as following:
1) create TCP/UDP transport socket towards peer/server;
2) perform initial handshare over TCP/UDP socket
3) when handshake is complete, add peer/server to ovpn-dco kernel module
   via CMD_NEW_PEER by passing peer address, port and socket fd;
4) handle further control channel communication over netlink.

To implement the logic above, the OvpnDcoClient has lost its
"Protowrapper" template and now it basically implemente the
TransportClient and TransportParent at the same time.
This way, it can instantiate a TCP/UDP TransportClient internally and
use it for point 1 and 2. This change greatly simplify the OvpnDcoClient
itself as several operations are directly handled by the TCP/UDP
TransportClient.

Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
2021-02-23 01:37:21 +01:00
..
dcocli.hpp dco: implement new ovpn-dco logic 2021-02-23 01:37:21 +01:00
ipcollbase.hpp Update copyrights 2020-03-18 19:37:32 +01:00
key.hpp ovpn-dco: remove cbc-hmac crypto 2020-11-16 01:24:02 +01:00
kocrypto.hpp ovpn-dco: add support for configuring ChaCha20Poly1305 as data channel cipher 2020-11-17 15:49:36 +01:00
korekey.hpp kovpn: move away kovpn code 2020-10-14 14:16:19 +03:00
ovpndcocli.hpp dco: implement new ovpn-dco logic 2021-02-23 01:37:21 +01:00
ovpndcokocrypto.hpp ovpn-dco: add support for configuring ChaCha20Poly1305 as data channel cipher 2020-11-17 15:49:36 +01:00