Re:Understanding the key differences between LXC and Docker
by schmichael on Friday September 12, 2014 @02:15PM
(#8309497)
Ping is actually an excellent candidate for virtualization/containers/SELinux since it has to run as root. A bug in ping could mean a carefully crafted response could lead to a remote exploit. There are obviously also a number of local exploits that take advantage of setuid binaries like ping: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-2851
[ Parent
| on HN ]
Re:Understanding the key differences between LXC and Docker
by stock_toaster on Friday September 12, 2014 @05:18PM
(#8310519)
I think sandboxing (with something like capsicum[1], or maybe seccomp?) would be more appropriate for ping than "containerization".
[1]: https://www.freebsd.org/cgi/man.cgi?query=capsicum&sektion=4
Re:Understanding the key differences between LXC and Docker
by justincormack on Friday September 12, 2014 @04:17PM
(#8310200)
It doesnt have to any more - Linux supports special icmp sockets see https://lwn.net/Articles/420799/