Hi Kristof,

On 24/02/2022 17:55, Kristof Provost via Openvpn-devel wrote:
From: Kristof Provost <k...@freebsd.org>

If control packets come in through the DCO interface (i.e. via
dco_do_read()) we must process them through process_incoming_link().
This doesn't currently manifest, because Linux passes control packets
through the regular socket, not via the DCO netlink interface, but other
platforms will not.

This is an interesting catch - actually also ovpn-dco on Linux is expected to send control packets over netlink.

However, due to a little glitch packets were still sent over the UDP socket (this is expected only for the initial handshake).

Once this bug has been fixed, I could see that indeed process_incoming_dco() wasn't operating as it should and this patch was required.

I have squashed a modified version of this patch directly in my dco branch as it is needed to make ovpn-dco work.

Thanks a lot!

Best Regards,


--
Antonio Quartulli


_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to