mirror of
https://passt.top/passt
synced 2025-02-01 17:15:16 +00:00
Stefano Brivio
ef25cb39a9
passt: Set soft limit for number of open files to hard limit
Default value for /proc/sys/fs/nr_open is 2^20, which is more than enough: set this hard limit as current (soft) limit on start, and drop the 'ulimit -n' from the demo script. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Description
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.
Languages
C
80.3%
Shell
12.7%
Roff
5.3%
Makefile
1.7%