HackerPapers

arXiv:2402.00365cs.NI

bypass4netns: Accelerating TCP/IP Communications in Rootless Containers

Naoki Matsumoto, Akihiro Suda

Early discovery. Linked by one identifiable commenter. This paper is outside the main ranking; a mention is not an endorsement.

Abstract

"Rootless containers" is a concept to run the entire container runtimes and containers without the root privileges. It protects the host environment from attackers exploiting container runtime vulnerabilities. However, when rootless containers communicate with external endpoints, the network performance is low compared to rootful containers because of the overhead of rootless networking components. In this paper, we propose bypass4netns that accelerates TCP/IP communications in rootless containers by bypassing slow networking components. bypass4netns uses sockets allocated on the host. It switches sockets in containers to the host's sockets by intercepting syscalls and injecting the file descriptors using Seccomp. Our method with Seccomp can handle statically linked applications that previous works could not handle. Also, we propose high-performance rootless multi-node communication. We confirmed that rootless containers with bypass4netns achieve more than 30x faster throughput than rootless containers without it. In addition, we evaluated performance with applications and it showed large improvements on some applications.

arXiv comments
11 pages, 12 figures
Journal reference
DOI
Subjects
cs.NINetworking and Internet Architecture cs.OSOperating Systems

On Hacker News

Linked by 1 identifiable commenter in 1 comment across 1 thread, from Dec 2024 to Dec 2024. Found in 2 HN submissions from Feb 2024 to Nov 2025. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments1 thread

    • The original Labrea Tarpit avoids DOS'ing it's own conntrack table somehow, too; LaBrea.py: https://github.com/dhoelzer/ShowMeThePackets/blob/master/Sca... La Brea Tar Pits and museum: https://en.wikipedia.org/wiki/La_Brea_Tar_Pits The NERDctl readme says…

      westurnerView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.