LPC2018 - WireGuard: Next-Generation Secure Kernel Network Tunnel

  Рет қаралды 16,123

Linux Plumbers Conference

Linux Plumbers Conference

Күн бұрын

url: linuxplumbersc...
speaker: Jason Donenfeld
WireGuard [1] [2] is a new network tunneling mechanism written for
Linux, which, after three years of development, is nearly ready for
upstream. It uses a formally proven cryptographic protocol, custom
tailored for the Linux kernel, and has already seen very widespread
deployment, in everything from smart phones to massive data center
clusters. WireGuard uses a novel timer mechanism to hide state from
userspace, and in general presents userspace with a "stateless" and
"declarative" system of establishing secure tunnels. The codebase is
also remarkably small and has been written with a number of defense in
depth techniques. Integration into the larger Linux ecosystem is
advancing at a health rate, with recent patches for systemd and
NetworkManager merged. There is also ongoing work into combining
WireGuard with automatic configuration and mesh routing daemons on
Linux. This talk will focus on a wide variety of WireGuard’s innards
and tentacles onto other projects. The presentation will walk through
WireGuard's integration into the netdev subsystem, its unique use of
network namespaces, why kernel space is necessary is necessary, the
various hurdles that have gone into designing a cryptographic protocol
specifically with kernel constraints in mind. It will also examine a
practical approach to formal verification, suitable for kernel
engineers and not just academics, and connect the ideas of that with
our extensive continuous integration testing framework across multiple
kernel architectures and versions. As if that was not already enough,
we will also take a close look at the interesting performance aspects
of doing high throughput CPU-bound computations in kernel space while
still keeping latency to a minimum. On the topic of smartphones, the
talk will examine power efficiency techniques of both the
implementation and of the protocol design, our experience in
integrating this into Android kernels, and the relationship between
cryptographic secrets and smartphones suspend cycles. Finally we will
look carefully at the WireGuard userspace API and its usage in various
daemons and managers. In short, this presentation will examine the
networking and cryptography design, the kernel engineering, and the
userspace integration considerations of WireGuard.
[1] www.wireguard.com
[2] www.wireguard....

Пікірлер: 8
@macemoneta
@macemoneta 5 жыл бұрын
Having used Mosh for several years, this is the single most exciting feature for me. I can easily see having Wireguard running 24x7 for connectivity ‒ particularly for mobile devices ‒ encrypting all traffic in motion, all the time.
@HiAdrian
@HiAdrian 5 жыл бұрын
Good talk! Too bad it closed with that salty audience member. Looking forward to *wg* becoming more mainstream.
@shrinidhirao8914
@shrinidhirao8914 9 ай бұрын
Alas! Now it has
@gnatinator
@gnatinator 3 жыл бұрын
Absolutely brilliant project and presentation. Wish more projects were like WireGuard. Jason Donenfeld is the man.
@karimmanaouil9354
@karimmanaouil9354 4 жыл бұрын
That's looks like some very nice and clean approach for VPN tunneling. Thanks for the great presentation Jason.
@FuchsHorst
@FuchsHorst 5 жыл бұрын
Does WireGuard work with MPTCP?
@tutorage
@tutorage 4 жыл бұрын
Did you get an answer? I was also curious about the compatability with multipath TCP and other bandwidth virtualization approaches
@wangox
@wangox 4 жыл бұрын
As far as i understand, Wireguard only work with UDP
LPC2018 - What could be done in the kernel to make strace happy
38:08
Linux Plumbers Conference
Рет қаралды 266
LPC2018 - A practical introduction to XDP
43:04
Linux Plumbers Conference
Рет қаралды 6 М.
Who’s the Real Dad Doll Squid? Can You Guess in 60 Seconds? | Roblox 3D
00:34
Watermelon magic box! #shorts by Leisi Crazy
00:20
Leisi Crazy
Рет қаралды 116 МЛН
Mom had to stand up for the whole family!❤️😍😁
00:39
小路飞嫁祸姐姐搞破坏 #路飞#海贼王
00:45
路飞与唐舞桐
Рет қаралды 29 МЛН
eBPF - Rethinking the Linux Kernel
51:48
InfoQ
Рет қаралды 29 М.
WireGuard and the Future of Cloud Networking - Alex Feiszli, Netmaker
36:36
Wireguard, Jason A. Donenfeld, SSTIC 2018
49:03
porjo38
Рет қаралды 3,7 М.
The Noise protocol framework| | Trevor Perrin | RWC 2018
24:08
Real World Crypto
Рет қаралды 8 М.
Kernel Recipes 2019 - Faster IO through io_uring
38:39
Kernel Recipes
Рет қаралды 18 М.
WireGuard: Next Generation Secure Network Tunnel
50:43
Black Hat
Рет қаралды 43 М.
Building HA Multi-Cloud Clusters Using WireGuard as a Network Overlay - Lucas Servén Marín, Red Hat
32:37
Kernel Recipes 2016 - The Linux Driver Model - Greg KH
43:21
Kernel Recipes
Рет қаралды 51 М.
The Tragedy of systemd
47:18
linux.conf.au
Рет қаралды 1,1 МЛН
Who’s the Real Dad Doll Squid? Can You Guess in 60 Seconds? | Roblox 3D
00:34