Changes between Version 4 and Version 5 of DataChannelOffload/LinuxUAPI
- Timestamp:
- 05/03/23 14:57:59 (12 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DataChannelOffload/LinuxUAPI
v4 v5 21 21 == API 22 22 23 The ovpn-dco Netlink API is composed by a set of commands aimed at managing the main objects living in kernel space: peers and keys.\\ 24 Since the whole data channel processing happens in kernel space, ovpn-dco needs to be aware of all the needed details so that it can operate independently from userspace. 25 23 26 === Peer handling 27 28 The following commands are used to create, manage and destroy a peer in kernel space. Creating a peer is an essential step in order to enable sending and receiving data packets to/from it. 24 29 25 30 ==== OVPN_CMD_NEW_PEER … … 37 42 === Key handling 38 43 44 The following commands are used to create, swap and delete primary and secondary keys for a specific peer. This means that a peer must be created before adding a new key.\\ 45 A key comes with its own cipher, therefore, it is possible to use different ciphers for each peer and, possibly, switch cipher for a certain peer at runtime (not tested). 46 39 47 ==== OVPN_CMD_NEW_KEY 40 48 Add a new encryption/decryption key pair for a specific peer … … 47 55 48 56 49 === Events (from kernel spaceto userspace)57 === Events (from kernel to userspace) 50 58 51 59 ==== OVPN_CMD_DEL_PEER