youtube image
From YouTube: Slirp is Dead, Long Live Slirp! A New Approach to User-mode Networking - Stefano Brivio & Alona Paz

Description

Slirp is Dead, Long Live Slirp! A New Approach to User-mode Networking - Stefano Brivio & Alona Paz, Red Hat

Originally written for completely different purposes, Slirp has conveniently provided user-mode networking to qemu for 18 years. Now consumable as libslirp, it can be set up quickly, almost independently of environment and topology, and is available without special security privileges. But it was never intended for this life.

Enter passt. passt(1) is an implementation of user-mode networking for qemu, focusing on security (no dynamic memory allocation, purpose-written codebase, strict seccomp policy), performance (packet and syscall batching, pre-cooked buffers, minimalistic TCP adaptation), network transparency: contrary to libslirp, NAT is not needed, as the guest inherits addressing and routing from the host via DHCP, NDP, DHCPv6.


The aim is to bring production readiness to user-mode networking with a simpler implementation, written with the specific goal in mind.

This talk presents motivation and history behind the passt project (with a focus on its proposed usage in KubeVirt), status, challenges, future perspectives (such as vhost-user support for further performance improvement, aiming at challenging throughput figures from multi-queue tap devices).