From: Casey Schaufler <casey@schaufler-ca.com>
To: Gerhard Mack <gmack@innerfire.net>, Roberto De Ioris <roberto@unbit.it>
Cc: linux-security-module@vger.kernel.org,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [ANNOUNCE] UidBind LSM 0.2
Date: Tue, 24 Apr 2007 13:40:05 -0700 (PDT) [thread overview]
Message-ID: <36153.9499.qm@web36603.mail.mud.yahoo.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0704241610120.21879@mtl.rackplans.net>
--- Gerhard Mack <gmack@innerfire.net> wrote:
> On Tue, 24 Apr 2007, Roberto De Ioris wrote:
>
> > Hi all,
> >
> > this is the second release for UidBind LSM:
> >
> > http://projects.unbit.it/uidbind/
> >
> > UidBind allows call to bind() function only to the uid defined in a
> > configfs tree.
> >
> > It is now possible to specify different uid (for the same port) on
> > different ipv4 addresses:
> >
> > mkdir uidbind/8081
> > mkdir uidbind/8081/192.168.1.17
> > mkdir uidbind/8081/192.168.1.26
> > echo 1017 > uidbind/8081/192.168.1.17/uid
> > echo 1026 > uidbind/8081/192.168.1.26/uid
> >
> > This version even fix some leek in version 0.1
> >
> > Patch attached is still for vanilla 2.6.20.7
>
> Is it possible to specify ranges as allowing everyone? Is it possible to
> allow multiple users acess to the same port? Can ports be allowed by
> group?
If you're going to go beyond the simple owner access model it
probably makes sense to go all out, swipe the file system ACL
code and provide the whole nine yards of users, groups, and modes.
The only system that I know of that had socket ACLs was the 4.X
version of Trusted Irix, and socket ACLs were dropped in 5.0 because
they were unpopular.
If you're daring you could propose that low number ports be treated
the same way as other ports, with the default ownership being root and
the default ACL allowing only root.
> I really like the idea of this patch. It has the potential to solve a lot
> of my current administrative headachs.
Putting access control on ports rather than sockets is a novel
approach. It is a lot simpler underneath and more consistant with
the way other object name spaces are treated.
Casey Schaufler
casey@schaufler-ca.com
next prev parent reply other threads:[~2007-04-24 20:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-24 14:34 [ANNOUNCE] UidBind LSM 0.2 Roberto De Ioris
2007-04-24 20:13 ` Gerhard Mack
2007-04-24 20:40 ` Casey Schaufler [this message]
2007-04-24 22:11 ` Gerhard Mack
2007-04-25 7:28 ` Roberto De Ioris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=36153.9499.qm@web36603.mail.mud.yahoo.com \
--to=casey@schaufler-ca.com \
--cc=gmack@innerfire.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=roberto@unbit.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox