sandlock icon indicating copy to clipboard operation
sandlock copied to clipboard

Support userspace network stack

Open congwang-mk opened this issue 8 months ago • 1 comments

sandlock's network enforcement validates IPs/ports at the seccomp notif layer, but the actual TCP/IP processing still runs in the host kernel. gVisor's netstack means a bug in TCP parsing can't reach the host. A Rust userspace stack (e.g. smoltcp) behind the supervisor would close this gap.

congwang-mk avatar Mar 30 '26 16:03 congwang-mk

But all user-space stack implementations require privilege

congwang-mk avatar Mar 30 '26 17:03 congwang-mk