OpenBSD collaboration/peer-review request
Zack Newman
zack at philomathiclife.com
Tue Sep 15 20:23:43 UTC 2026
Unlike the fiasco that occurred with FreeBSD when WireGuard was attempted
to be implemented in the kernel, Matt Dunwoodie collaborated with Jason
A. Donenfeld with the OpenBSD-kernel implementation. Code is of course
rarely static but more of a "living thing". Over the past five years,
wireguard-openbsd[^1] has substantially deviated from the actual
OpenBSD code[^2]. This suggests that repository may actually be
"Abandoned" and should not be classified as "Active".
Without continued collaboration or at least periodic passive review, this
means the actual code in the kernel may no longer conform to the
WireGuard protocol. In the best case, reliability or compatibility issues
exist; in the worst case, a reduction in the cryptographic security
potentially to the point of exploitation exists.
Over the past five years, issues allegedly from the WireGuard
implementation have required changes to the code. One the more "recent"
commits[^3] has introduced mishandling of the MTU[^4] at least when vio(4)
is used for the underlying connection and IPv6 is used to establish the
VPN tunnel.
Would Jason or anyone from the WireGuard team be willing to collaborate
again with the OpenBSD developers even if that means a passive audit? I
realize Jason and probably most of the team are far more familiar with
Linux, so it will likely require communication with at least one active
OpenBSD kernel developer.
To be clear, I'm not pointing fingers at the WireGuard team nor OpenBSD
developers. I'm merely an "innocent" bystander that is mildly concerned
about the WireGuard implementation in OpenBSD. Note I'm _not_ an OpenBSD
developer myself; otherwise I'd offer my own services. Because I'm not a
developer, I decided to not CC an OpenBSD developer.
Thanks for your time,
Zack
[^1]: https://git.zx2c4.com/wireguard-openbsd/
[^2]: https://cvsweb.openbsd.org/log/src/sys/net/if_wg.c
[^3]: https://github.com/openbsd/src/commit/c06199859734d958552a581d72b4c0f910e68d7c
[^4]: https://marc.info/?l=openbsd-bugs&m=178935440057111&w=2
More information about the WireGuard
mailing list