Hacker News new | ask | show | jobs
by JdeBP 56 days ago
I think that you missed a very important word in the title and URL. Expand your question with context, and it becomes its own answer:

> When would you use a standalone program for NetBSD that is written in C, over a Linux kernel module with a GPL licence, or a standalone program written in one of two languages neither of which comes in NetBSD base, or a perpetually unfinished kernel module that isn't being worked on that is for the wrong BSD anyway?

2 comments

No, I didn't. NetBSD, FreeBSD, and OpenBSD all have wireguard support in-tree. That there is a Linux implementation and several portable userspace versions running around is beside the point.

(Edit: And to your other comment downthread - Even if NetBSD's in-tree implementation isn't official Wireguard(TM), it's wire-compatible and functionally identical, which is all that matters for this argument.)

TBF, there is an experimental wireguard implementation in NetBSD as well.
Be careful not to say that in front of WireGuard people. There was a whole discussion of how it explicitly was not WireGuard when wg(4) was merged from Ryota Ozaki's personal fork in 2020.

* https://mail-index.netbsd.org/tech-net/2020/08/25/msg007861....

Reading the thread, I'd say that's a mischaracterization of what happened: it appears that it was primarily a misunderstanding of the netbsd's development and the terminology used therein.
You have not read the thread, then. Because people made the point that wg(4) was not WireGuard, but an effectively clean-room implementation done by a NetBSD contributor based upon public doco. The WireGuard person made the point that wg(4) was not WireGuard, had had no involvement from WireGuard, and was incomplete or even faulty in some way. (I've had a look around, and I cannot find Jason A. Donenfeld coming back later in the intervening years to explain what the vague "halfbaked code"'s problems were. Of course, it's a lot more difficult to search mailing list archives than it used to be. But xe definitely did not come back the next week as promised, at least publically.) There was even a side-discussion about removing mention of the name to make it clear that it wasn't WireGuard.