Web lists-archives.com

Bug#917337: ITP: slirp4netns -- User-mode networking for unprivileged network namespaces




Package: wnpp
Severity: wishlist
Owner: Reinhard Tartler <siretart@xxxxxxxxxx>

  Package name    : slirp4netns
  Version         : git HEAD
  Upstream Author : Akihiro Suda <suda.akihiro@xxxxxxxxxxxxx>
  URL             : https://github.com/rootless-containers/slirp4netns
  License         : GPLv2+
  Programming Lang: C
  Description     : User-mode networking for unprivileged network namespaces

 slirp4netns provides user-mode networking for unprivileged network
 namespaces.
 .
 slirp4netns allows connecting a network namespace to the Internet in a
 completely unprivileged way, by connecting a TAP device in a network
 namespace to the usermode TCP/IP stack ("slirp").

This is a dependency of buildah and podman, which I am looking at for packaging
right now as well.

I'd appreciate suggestions for what team would be appropriate to maintain this
group of packages. Unless better suggestions come up, I intend to maintain it
on salsa.debian.org in the "Debian" group
(cf. https://wiki.debian.org/Salsa/Doc#Collaborative_Maintenance:_.22Debian.22_group).

More information as taken from
https://github.com/rootless-containers/slirp4netns/blob/master/README.md:

Motivation

Starting with Linux 3.8, unprivileged users can create network_namespaces(7)
along with user_namespaces(7). However, unprivileged network namespaces had not
been very useful, because creating veth(4) pairs across the host and network
namespaces still requires the root privileges. (i.e. No internet connection)

slirp4netns allows connecting a network namespace to the Internet in a
completely unprivileged way, by connecting a TAP device in a network namespace
to the usermode TCP/IP stack ("slirp").

Projects using slirp4netns:

 - Usernetes (via RootlessKit)
 - Podman
 - Buildah
 - ctnr (via slirp-cni-plugin)
 - RootlessKit
 - become-root
 - slirp-cni-plugin