So,curious here: I'v been reading about how the focus these days is to move networking code to userspace because you can squeeze out more PPS performance,does the fact that WC makes use of kernel code heavily give it a performance disadvantage?
WireGuard is now in Linus' tree
51–60 of 293 posts
Re: WireGuard is now in Linus' tree
#52Re: WireGuard is now in Linus' tree
#53Earlier quoted context omitted.
A major difference, besides WireGuard's simplicity, is that IPSec is a layer 4 protocol (ESP packets instead of TCP/UDP packets) whereas WireGuard is a layer 5 protocol (runs over UDP), so switches don't choke on it, and so a WireGuard peer doesn't need a public-routable IP address, but can be behind NAT.
IPSec works fine with UDP and NAT.
Re: WireGuard is now in Linus' tree
#54So,curious here: I'v been reading about how the focus these days is to move networking code to userspace because you can squeeze out more PPS performance,does the fact that WC makes use of kernel code heavily give it a performance disadvantage?
Meanwhile, if you're not doing that: Wireguard can avoid lots of syscall and copying overhead plus some magic CPU register overhead by being in the kernel. Hence this almost certainly makes wg faster on the net because it can't pick and choose what environments it runs in.
Re: WireGuard is now in Linus' tree
#55Pedantic: Linus’s
Re: WireGuard is now in Linus' tree
#56I’m using WireGuard daily on Linux and iPhone. It’s hard to describe how much better of an experience this is than OpenVPN. Connections are reliable and durable, latency is pretty low, and you can actually understand the software.
Re: WireGuard is now in Linus' tree
#57Re: WireGuard is now in Linus' tree
#58I’m using WireGuard daily on Linux and iPhone. It’s hard to describe how much better of an experience this is than OpenVPN. Connections are reliable and durable, latency is pretty low, and you can actually understand the software.
It's fast. It's easy. You never have to think about it. It just works.
Re: WireGuard is now in Linus' tree
#59Now that it’s merged into Linus’s tree, any word on it getting an official release and the “this isn’t production ready, so no CVEs” disclaimer going away?
EDIT:
Further back in the thread, Donenfeld says “Please note that until Linux 5.6 is released, this snapshot is a snapshot rather than a secure final release.”, so perhaps real soon now?
https://lists.zx2c4.com/pipermail/wireguard/2020-January/004...
This is definitely big news!
Re: WireGuard is now in Linus' tree
#60If you're wondering what it is: WireGuard® is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography. It aims to be faster, simpler, leaner, and more useful than IPsec, while avoiding the massive headache. It intends to be considerably more performant than OpenVPN. WireGuard is designed as a general purpose VPN for running on embedded interfaces and super computers alike, fit for many…
What does it mean to be "in Linus' tree" if it's already on Linux and everywhere else? Like it will be built in somehow?