News for hackers. Stuff that matters.
Re:FreeBSD on Firecracker by Rapzid on Thursday August 24, 2023 @06:18PM (#37255290)
Really? Has gvisor ever been popped? Has there ever even been a single high-profile compromise caused by a container escape? Shared hosting was a thing and considered "safe enough" for decades and that's all process isolation.

Can't help but feel the security concerns are overblown. To support my claim; Well, Google IS using gvisor as part of their GKE sandboxing security..

Re:FreeBSD on Firecracker by tptacek on Thursday August 24, 2023 @06:27PM (#37255368)
I don't know what "popped" means here, but so far as I know there's never been a major incident caused by a flaw in gvisor. But gvisor is a much more intricate and carefully controlled system than standard Linux containers. Obviously, there have been tons of container escape compromises.
Re:FreeBSD on Firecracker by eddythompson80 on Thursday August 24, 2023 @07:29PM (#37255893)
shared this link on another reply, but google moved away from gvisor to hypervisor for cloud run. It won't be long before they do for GKE as well

https://cloud.google.com/blog/products/serverless/cloud-run-...

Re:FreeBSD on Firecracker by mikehotel on Friday August 25, 2023 @09:01AM (#37261206)
It doesn’t look like the moved away from gVisor due to security reasons. “We were able to achieve these improvements because the second generation execution environment is based on a micro VM. This means that unlike the first generation execution environment, which uses gVisor, a container running in the second generation execution environment has access to a full Linux kernel.”
Re:FreeBSD on Firecracker by eddythompson80 on Friday August 25, 2023 @02:07PM (#37265078)
The reason you go with process isolation over VM isolation is performance. If you share a kernel, you share memory managers and pages, scheduler, limits, groups, etc. If you get better performance running VMs vs running processes, then what was even your isolation layer for?

But at the end of the day, there is a line in the sand around hypervisors vs proc/kernel isolation models. I challenge you to go to a financial or medical institute and tell their CTO "yeah, we have this super bullet proof shared-kernel-inproc isolation model"

The first question you'd get is "Why is this not just part of upstream linux?" Answer that question and realize why you should just use a hypervisor.

Re:FreeBSD on Firecracker by jsolson on Thursday August 24, 2023 @08:41PM (#37256413)
Note that GKE Sandbox allows GKE users to sandbox the workloads running on GKE nodes. The GKE nodes themselves are still GCE VMs.