News for hackers. Stuff that matters.
Re:Exploiting the Linux kernel via packet sockets by dohqu8Zi on Wednesday May 10, 2017 @05:37PM (#14311957)
No, Docker usually drops CAP_NET_RAW within the container. But you can change that and other container technologies definitely keep CAP_NET_RAW within the container.
Re:Exploiting the Linux kernel via packet sockets by wrongmmmm on Wednesday May 10, 2017 @07:40PM (#14312739)
Not true. CAP_NET_RAW is on by default: https://github.com/moby/moby/blob/master/oci/defaults_linux....

Otherwise no one could ping from a container.

Re:Exploiting the Linux kernel via packet sockets by dohqu8Zi on Thursday May 11, 2017 @03:11AM (#14314319)
Thanks for the correction.
Re:Exploiting the Linux kernel via packet sockets by dohqu8Zi on Wednesday May 10, 2017 @05:40PM (#14311973)
BTW: Depending on the configuration you can create a new namespace within Docker to gain CAP_NET_RAW since namespaces can nest.