FreeBSD kernel-mode WireGuard moves forward out-of-tree

-


Enlarge /Pop goes the tunnel! ♫

Aurich Lawson

Earlier this week, we covered progress integrating an implementation of the WireGuard VPN protocol into the FreeBSD kernel. Two days later, there’s an update—kernel-mode WireGuard has been moved out of FreeBSD 13 development entirely for the time being.

The change only affects kernel-mode WireGuard. User-mode WireGuard has been available in FreeBSD since 2019 and remains, unaffected. If you pkg install freebsd, you get user-mode WireGuard, better known as wireguard-go. Wireguard-go is potentially less performant than kernel-mode, but it’s stable and more than fast enough to keep up with most use cases.

The removal is actually good news for FreeBSD users and WireGuard users. Although the new kernel work done by WireGuard founder Jason Donenfeld and FreeBSD developers Kyle Evans and Matt Dunwoodie represented a clear step forward, it was deemed too rushed to go out in a production kernel. This is a decision heartily endorsed by Donenfeld himself, who prefers a steadier development process with more code reviews and consensus.

Donenfeld announced the migration of development from FreeBSD 13-CURRENT to his own git repository earlier today. The new snapshot no longer relies on ifconfig extensions to build tunnels; it uses wg and wg-quick commands similarly to Linux, Windows, and Android builds instead. Although the code works, Donenfeld warns that it shouldn’t be considered production-ready yet:

At this time this code is new, unvetted, possibly buggy, and should be considered “experimental”. It might contain security issues. We gladly welcome your testing and bug reports, but do keep in mind that this code is new, so some caution should be exercised at the moment for using it in mission critical environments.

In my small testing so far, however, it seems to “basically work”. And at the very least, those relying on the code that was prior in the FreeBSD tree now have some immediate continuity.

Over the next days and weeks, it can be expected that this repository will improve and grow.

Enjoy!

Eventually, this kernel-mode FreeBSD WireGuard should be available from FreeBSD’s ports tree. For the moment, those interested in testing it will need to git clone it from the WireGuard repos themselves, followed by the BSD-style make load ; make install commands to build from source.

This is an ongoing story, and we will continue to follow events as they develop.



Source link

Ariel Shapiro
Ariel Shapiro
Uncovering the latest of tech and business.

Latest news

Serena-backed health tech lands first FDA approval for home cervical cancer test

For the first time, the FDA has just approved a device that lets people screen for cervical cancer...

US Customs and Border Protection Plans to Photograph Everyone Exiting the US by Car

United States Customs and Border Protection plans to log every person leaving the country by vehicle by taking...

Startups Weekly: Different paths on the road to liquidity

Welcome to Startups Weekly — your weekly recap of everything you can’t miss from the world of startups....

The Best Food Gifts You Can Buy Online

From tinned fish to baked goodies, you can deliver the best-tasting treats to their door—even if you don’t...

A comprehensive list of 2025 tech layoffs

The tech layoff wave is still kicking in 2025. Last year saw more than 150,000 job cuts across...

Meta’s speeding up the ‘Mad Men to Math Men’ pipeline

At Stripe’s Sessions conference this week, Mark Zuckerberg pitched what he calls the “ultimate business machine”: a fully...

Must read

You might also likeRELATED
Recommended to you