Voodoo coding
Voodoo coding
Posted Jul 14, 2014 7:28 UTC (Mon) by Cyberax (✭ supporter ✭, #52523)In reply to: Voodoo coding by wahern
Parent article: First Release of LibreSSL Portable Available
Posted Jul 14, 2014 14:18 UTC (Mon)
by rsidd (subscriber, #2582)
[Link]
Posted Jul 14, 2014 18:53 UTC (Mon)
by wahern (subscriber, #37304)
[Link] (6 responses)
Posted Jul 14, 2014 18:54 UTC (Mon)
by Cyberax (✭ supporter ✭, #52523)
[Link] (5 responses)
Posted Jul 14, 2014 19:16 UTC (Mon)
by wahern (subscriber, #37304)
[Link] (4 responses)
Linux absolutely does support chroot jails. And plenty of software does this, and it's 100% portable to almost all POSIX-compliant or POSIX-aspiring systems. (Notwithstanding the fact that chroot was removed from POSIX.)
Actually, Linux supports chroot jails more than most, as PaX has patches which can prevent even root from breaking out using the normal methods, and there are patches floating around which allow you to keep descriptors to directories outside the chroot jail open by preventing use of fchdir or openat which would allow you to break out.
Posted Jul 14, 2014 20:21 UTC (Mon)
by PaXTeam (guest, #24616)
[Link]
Posted Jul 15, 2014 18:28 UTC (Tue)
by drag (guest, #31333)
[Link] (2 responses)
If chroot made sense from a security perspective we wouldn't have any need for things like 'LXC containers'.
Posted Jul 15, 2014 20:34 UTC (Tue)
by wahern (subscriber, #37304)
[Link]
There are issues with signal and ptrace, but those are easily fixed by using a specialized UID and GID per service.
Arguing that root can break out of a chroot jail is a strawman. Nobody runs as root inside a chroot jail.
And if you're really paranoid, neither LXC nor even full-blown virtualization is sufficient, because the Linux kernel (like all software) is riddled with bugs, and last time I checked sophisticated hackers didn't find themselves defeated by the presence of VMWare or KVM.
Posted Jul 15, 2014 23:39 UTC (Tue)
by dlang (guest, #313)
[Link]
Voodoo coding
Voodoo coding
Voodoo coding
Voodoo coding
Voodoo coding
Voodoo coding
Voodoo coding
Voodoo coding
