Hi,
On 08/04/2025 08:34, Jiri Slaby wrote:
Given: +#define OVPN_FAMILY_NAME "ovpn"
and
ctx->ovpn_dco_id = genl_ctrl_resolve(ctx->nl_sock, OVPN_FAMILY_NAME);
Is there also an openvpn branch understanding the new (in-kernel) naming? I.e. something like s/ovpn-dco-v2/ovpn/?
As with 2.6.10, I see: $ grep -iE 'offl|dco' log 2025-04-08 08:24:59 us=718854 Note: Kernel support for ovpn-dco missing, disabling data channel offload. 2025-04-08 08:24:59 us=719060 OpenVPN 2.6.10 x86_64-suse-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] [DCO] 2025-04-08 08:24:59 us=719110 DCO version: N/A
2.6.x and master do not "speak" the new "ovpn" family, because the new uAPI wasn't considered stable yet (due to ongoing reviews).
We have a WIP branch which you can use for test:
https://github.com/mandelbitdev/openvpn/tree/gianmarco/179-ovpn-support
Please do not try to measure performance at this time as we have various improvements that we are working on, but we wanted to wait for the first version of ovpn to be merged first.
Regards,