WireGuard Driver ported to DragonFlyBSD, code can be ported to Haiku

“Aaron Li imported the WireGuard “WG” driver from the FreeBSD source tree. Over a few dozen commits was then adjusted to adapt better to the DragonFlyBSD kernel.”

https://gitweb.dragonflybsd.org/dragonfly.git/commit/a6bca3d21a8a67af1fb058dca17f4aadd9d2c5ba

“With all the commits today, the WireGuard driver now appears to be in a working state on DragonFlyBSD.”

https://gitweb.dragonflybsd.org/dragonfly.git?a=search&h=HEAD&st=commit&s=WG

1 Like

This likely interfaces with the BSD network stack at a level above where device drivers do; it’s probably not easily ported, I would guess. A glance through the source code seems to confirm that assumption.

Porting a userspace Wireguard implementation using the new TUN/TAP system is probably the easiest way to start with Wireguard on Haiku.

1 Like

I agree, source code has interesting things for Haiku!