mirror of
https://github.com/OpenVPN/openvpn3.git
synced 2024-09-20 04:02:15 +02:00
e30146bfb6
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> |
||
---|---|---|
.. | ||
dcocli.hpp | ||
ipcollbase.hpp | ||
key.hpp | ||
kocrypto.hpp | ||
korekey.hpp | ||
ovpndcocli.hpp | ||
ovpndcokocrypto.hpp |