News for hackers. Stuff that matters.
Re:Server-side sandboxing: Containers and seccomp by bdahz on Tuesday October 24, 2023 @04:55PM (#38005435)
So what's the difference between nsjail[1] and bubblewrap[2]?

[1] https://github.com/google/nsjail [2] https://github.com/containers/bubblewrap

Re:Server-side sandboxing: Containers and seccomp by xyzzy_plugh on Tuesday October 24, 2023 @09:28PM (#38008043)
bubblewrap aims to be reasonably secure by default but leaves sleeping soundly at night as an exercise to the reader. It's not exhaustive. It's more of a blast radius/convenience tool. Conversely nsjail aspires to facilitate sleeping soundly out of the box, with security as the primary motivating factor.
Re:Server-side sandboxing: Containers and seccomp by ximm on Wednesday October 25, 2023 @01:29AM (#38009463)
I don't have extensive experience with nsjail, but from reading the docs it seems to me like nsjail covers namespaces, cgroups and virtual networking, while bwrap only covers namespaces. On the other hand, bwrap is deliberately kept simple because it is SUID.