diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-10-03 00:51:09 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-10-03 00:51:09 +0000 |
commit | ffcc7fb71f9c6c1a003eadb219b3270cb827bc34 (patch) | |
tree | 4e3ef4d4a3817a2f7fa9b5f588a7e32d43ce4b0a /sbin/ping6 | |
parent | 11ab55de402fc0d6ed463efefe48c175b806d706 (diff) |
tcpdump is two-process privsep.
the packet processor pid is initialized on a socketpair, and then only
does byte analysis. it can be protected using a "stdio" tame request.
an successfull attack against it will find it cannot open files nor
sockets, and faces various other limitations described in the tame(2)
manual page.
the monitor process can be restricted to "malloc cmsg inet ioctl dns rpath".
that sounds like a large subset, but notice it cannot create or write files.
maybe this set can be wittled down by hoisting more initialization code
upwards?
with help from canacar a while back.
Diffstat (limited to 'sbin/ping6')
0 files changed, 0 insertions, 0 deletions