rootless-containers / slirp4netns

User-mode networking for unprivileged network namespaces
GNU General Public License v2.0
737 stars 82 forks source link

Support new --netns-type=tapfd #340

Closed helmutg closed 6 months ago

helmutg commented 6 months ago

The new value tapfd enables removing slirp4netns features. Rather than having it figure out where to create a tap network, the opened tap file descriptor can now be inherited to slirp4netns and used as is. This removes the need for forking and attaching a namespace as well as readiness communication, but it also removes the ability to choose the name of the network interface or configuring it.