Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753571Ab0ALH7b (ORCPT ); Tue, 12 Jan 2010 02:59:31 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752542Ab0ALH7a (ORCPT ); Tue, 12 Jan 2010 02:59:30 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:44561 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751500Ab0ALH73 (ORCPT ); Tue, 12 Jan 2010 02:59:29 -0500 Date: Tue, 12 Jan 2010 08:59:27 +0100 From: Pavel Machek To: Valdis.Kletnieks@vt.edu Cc: Michael Stone , James Morris , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-security-module@vger.kernel.org, Andi Kleen , David Lang , Oliver Hartkopp , Alan Cox , Herbert Xu , Bryan Donlan , Evgeniy Polyakov , "C. Scott Ananian" , "Eric W. Biederman" , Bernie Innocenti , Mark Seaborn , Randy Dunlap , Am?rico Wang , Tetsuo Handa , Samir Bellabes , Casey Schaufler , "Serge E. Hallyn" , Al Viro Subject: Re: [PATCH 2/3] Security: Implement disablenetwork semantics. (v4) Message-ID: <20100112075927.GA24256@atrey.karlin.mff.cuni.cz> References: <20100110215409.GA3705@heat> <20100110215848.GA26609@elf.ucw.cz> <5768.1263264853@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5768.1263264853@localhost> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 933 Lines: 24 > On Sun, 10 Jan 2010 22:58:48 +0100, Pavel Machek said: > > > Scenario 2: > > > > Mallory calls disablenetwork, calls sendmail as the first user after > > boot; sendmail can't deliver anything (its network is disabled), but > > starts forking and taking requests for other users, DoSing the mail > > delivery. > > You need to be root to start sendmail as a daemon. Well, maybe, but mailer system where first user starts is as a daemon makes sense... same for authentication system, etc. And it was okay before disablenetwork come. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/