Hasty Briefsbeta

Passt – Plug a Simple Socket Transport

12 hours ago
  • #virtualization
  • #containers
  • #networking
  • passt and pasta are tools for network translation between Layer-2 and Layer-4, designed for container and VM environments.
  • passt is a simple replacement for Slirp, requiring no special privileges, while pasta offers similar functionality for network namespaces.
  • Both tools support TCP, UDP, and ICMP/ICMPv6 echo, with features like window scaling and selective acknowledgment for TCP.
  • Security features include dropping capabilities, using seccomp profiles, and avoiding dynamic memory allocation.
  • Performance optimizations include zero-copy for local connections and generalized coalescing and batching.
  • Supported services include ARP proxy, DHCP server, NDP proxy, and DHCPv6 server.
  • Available for various Linux distributions and supports integration with tools like QEMU, libvirt, and Podman.
  • Contributions are welcome via mailing lists, bug reports, and IRC channels.