Re: RFC: Network privilege separation.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andi Kleen
Date: Wednesday, January 7, 2009 - 8:10 pm

On Wed, Jan 07, 2009 at 09:31:11PM -0500, Michael Stone wrote:

You always create  joe-nonet one when you create joe

Now writing to joe's files: you can either use ACLs or do everything
through group accesses (it's very common to have a "joe" group for this
purpose for each user) 

But perhaps it's a good idea to not allow writing to all of Joe's
files by those "no network" processes too. It at least sounds like 
that might be useful to combine.


No you can't. But is that really your requirement? Why limiting Unix
sockets and not e.g. named pipes? Unix sockets do not talk to the network.

I suppose I don't understand your requirements very well.


You always define static ones at system boot. 

It would probably not scale to a lot of users, but I understand you're
talking about the OLPC which probably only has a limited set of users?

Even on a true multiuser system it could be done in a PAM module.


Your arguments don't seem very convincing to me, but 
the big problem is more the control of incoming packets. I think
it would be possible to fix OWNER match to support the INPUT chain
though.

-Andi
-- 
ak@linux.intel.com
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
RFC: Network privilege separation., Michael Stone, (Tue Jan 6, 10:48 pm)
[PATCH] Security: Implement and document RLIMIT_NETWORK., Michael Stone, (Tue Jan 6, 10:48 pm)
Re: [PATCH] Security: Implement and document RLIMIT_NETWORK., Evgeniy Polyakov, (Wed Jan 7, 4:47 am)
Re: [PATCH] Security: Implement and document RLIMIT_NETWORK., Rémi Denis-Courmont, (Wed Jan 7, 9:52 am)
Re: [PATCH] Security: Implement and document RLIMIT_NETWORK., Evgeniy Polyakov, (Wed Jan 7, 10:48 am)
Re: [PATCH] Security: Implement and document RLIMIT_NETWORK., C. Scott Ananian, (Wed Jan 7, 11:35 am)
Re: [PATCH] Security: Implement and document RLIMIT_NETWORK., Evgeniy Polyakov, (Wed Jan 7, 12:02 pm)
Re: [PATCH] Security: Implement and document RLIMIT_NETWORK., Evgeniy Polyakov, (Wed Jan 7, 12:39 pm)
Re: [PATCH] Security: Implement and document RLIMIT_NETWORK., Rémi Denis-Courmont, (Wed Jan 7, 1:54 pm)
Re: RFC: Network privilege separation., Andi Kleen, (Wed Jan 7, 2:10 pm)
Re: [PATCH] Security: Implement and document RLIMIT_NETWORK., Evgeniy Polyakov, (Wed Jan 7, 2:42 pm)
Re: [PATCH] Security: Implement and document RLIMIT_NETWORK., Evgeniy Polyakov, (Wed Jan 7, 2:59 pm)
Re: RFC: Network privilege separation., Michael Stone, (Wed Jan 7, 7:31 pm)
Re: RFC: Network privilege separation., Andi Kleen, (Wed Jan 7, 8:10 pm)
Re: [PATCH] Security: Implement and document RLIMIT_NETWORK., Evgeniy Polyakov, (Wed Jan 7, 9:27 pm)
Re: RFC: Network privilege separation., Michael Stone, (Wed Jan 7, 9:51 pm)
Re: RFC: Network privilege separation., Andi Kleen, (Wed Jan 7, 10:41 pm)
Re: RFC: Network privilege separation., Oliver Hartkopp, (Thu Jan 8, 12:05 am)
Re: RFC: Network privilege separation., david, (Thu Jan 8, 12:52 am)
Re: RFC: Network privilege separation., Alan Cox, (Thu Jan 8, 3:43 am)
Re: RFC: Network privilege separation., Valdis.Kletnieks, (Mon Jan 12, 11:44 am)
Re: RFC: Network privilege separation., Bryan Donlan, (Mon Jan 12, 12:09 pm)
Re: RFC: Network privilege separation., Andi Kleen, (Mon Jan 12, 12:43 pm)
Re: RFC: Network privilege separation., Rémi Denis-Courmont, (Mon Jan 12, 12:47 pm)
Re: RFC: Network privilege separation., Andi Kleen, (Mon Jan 12, 1:14 pm)
Re: RFC: Network privilege separation., Rémi Denis-Courmont, (Mon Jan 12, 1:15 pm)
Re: RFC: Network privilege separation., Evgeniy Polyakov, (Mon Jan 12, 1:27 pm)
Re: RFC: Network privilege separation., Rémi Denis-Courmont, (Mon Jan 12, 1:30 pm)
Re: RFC: Network privilege separation., Andi Kleen, (Mon Jan 12, 1:39 pm)
Re: RFC: Network privilege separation., Rémi Denis-Courmont, (Mon Jan 12, 1:47 pm)
Re: RFC: Network privilege separation., Andi Kleen, (Mon Jan 12, 1:55 pm)
Re: RFC: Network privilege separation., Andi Kleen, (Mon Jan 12, 2:50 pm)