Hi,

Here's the current version of the patch to add FreeBSD DCO support.

The first patch isn't strictly related to FreeBSD, but fixes what I
think is a generic issue. It doesn't manifest with Linux because the
Linux DCO driver allows control packets to continue through normal UDP
processing. We don't do that in FreeBSD, so it manifests there.

I've had to add a lot of '|| defined(TARGET_FREEBSD)', and I think the
code could be a bit cleaner if we'd make these calls conditional only on
defined(ENABLE_DCO), and instead expect every DCO implementation to
provide them, if only as stubs. I've not done that here.

For those interested in testing, the kernel side of things is under
review here: https://reviews.freebsd.org/D34340

Best,
Kristof




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

Reply via email to