[lkml]   [2009]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] Security: Implement and document RLIMIT_NETWORK.
[added lsm list to the cc]

> Daniel Bernstein has observed [1] that security-conscious userland
> processes may benefit from the ability to irrevocably remove their
> ability to create, bind, connect to, or send messages except in the
> case of previously connected sockets or AF_UNIX filesystem sockets. We
> provide this facility by implementing support for a new rlimit called
> This facility is particularly attractive to security platforms like OLPC
> Bitfrost [2] and to isolation programs like Rainbow [3] and Plash [4].
> [1]:
> [2]:
> [3]:
> [4]:

Have you considered utilizing network namespaces [1] ? A process created
with a private network namespace has no network interfaces configured,
except loopback, which is down. Does this do what you want? The launcher
could optionally allow local IP by bringing up the loopback interface.


- James
James Morris

 \ /
  Last update: 2009-01-08 02:25    [W:0.138 / U:27.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site