distribution icon indicating copy to clipboard operation
distribution copied to clipboard

Package request: passt / pasta

Open Pamalosebi opened this issue 2 months ago • 0 comments

Official package name: passt / pasta

License (must be an OSI approved Open Source license): BSD-3 / GPL-2.0-or-later

Download URL of latest release: https://passt.top/builds/latest/x86_64/

Latest release date (must be recent): 2024-May-02

Description: passt: Plug A Simple Socket Transport passt implements a translation layer between a Layer-2 network interface and native Layer-4 sockets (TCP, UDP, ICMP/ICMPv6 echo) on a host. It doesn't require any capabilities or privileges, and it can be used as a simple replacement for Slirp.

pasta: Pack A Subtle Tap Abstraction pasta (same binary as passt, different command) offers equivalent functionality, for network namespaces: traffic is forwarded using a tap interface inside the namespace, without the need to create further interfaces on the host, hence not requiring any capabilities or privileges.

It also implements a tap bypass path for local connections: packets with a local destination address are moved directly between Layer-4 sockets, avoiding Layer-2 translations, using the splice(2) and recvmmsg(2)/sendmmsg(2) system calls for TCP and UDP, respectively.


It's already available for many other distributions: https://passt.top/passt/about/#availability

To build it there is a section "try-it" where the process is shown (I guess): https://passt.top/passt/about/#try-it


Those two networking tools are being used more in the future in projects like podman. It would be very useful to have them natively in clearlinux (as bundle) available.

The main advantage for me is the ability to get the source information of inbound traffic in rootless containers. This is a use case slirp4netns is not capable of.

Pamalosebi avatar May 05 '24 09:05 Pamalosebi