lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 11 Jan 2010 13:01:31 +0100
From:	Pavel Machek <>
To:	Michael Stone <>
	Andi Kleen <>, David Lang <>,
	Oliver Hartkopp <>,
	Alan Cox <>,
	Herbert Xu <>,
	Valdis Kletnieks <>,
	Bryan Donlan <>,
	Evgeniy Polyakov <>,
	"C. Scott Ananian" <>,
	James Morris <>,
	"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)


> >You can trivialy make disablenetwork disable setuid exec, too. That
> >will introduce better isolation facilities, but not introduce any new
> >security problems.
> >
> >For some reason, you don't want to do the obviously right thing.
> I don't want to do it because it's not "obviously right" to me: I *have* 
> setuid
> programs that I want to be able to raise privileges when network-disabled.
> I *don't have* any setuid programs that will be harmed by disablenetwork.

Well, I do not have any desire to use disablenetwork, but I do not
want my users to use it and DoS sendmail.

> Examples of software that I want to be able to gain privileges normally 
> include:

You'll have to make sure those are not accessed from the
disablenetworked parts, I'd say. Pre-existing unix domain socket
should be the way to go.

>   rainbow, which requires privilege in order to add new accounts to the 
>   system
>   and in order to call setuid() but which does not require networking
>   privileges.
>   qmail-queue, which uses setuid to deliver mail that it reads from fd 0 to
>   local users
>   and other old favorites like mount, fusermount, X, and, presumably, any 
>   audio
>   software that wants to go realtime.

mount certainly wants network access for NFS.
(cesky, pictures)
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to
More majordomo info at

Powered by blists - more mailing lists