mirror of
https://github.com/NVIDIA/OpenShell.git
synced 2026-10-30 07:33:59 +08:00
In proxy mode, processes could bypass HTTP_PROXY env vars and connect directly to any IP since seccomp cannot filter connect() by destination. This adds network namespace isolation: - Create isolated netns with veth pair (10.200.0.1 <-> 10.200.0.2) - Proxy binds to host side of veth - Sandboxed process enters netns via setns() in pre_exec - Only network path out is through the proxy Also adds CAP_SYS_ADMIN and CAP_NET_ADMIN to container configs and installs iproute2 for namespace management.