From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Jarrett Lu <Jarrett.Lu@sun.com>
Cc: selinux@tycho.nsa.gov, labeled-nfs@linux-nfs.org,
nfs-discuss@opensolaris.org, nfsv4@ietf.org
Subject: Re: [nfsv4] my thoughts on how Labeled NFSv4 draft should move forward
Date: Fri, 10 Apr 2009 15:38:39 -0500 [thread overview]
Message-ID: <20090410203839.GC1500@Sun.COM> (raw)
In-Reply-To: <20090410201718.GB1500@Sun.COM>
On Fri, Apr 10, 2009 at 03:17:18PM -0500, Nicolas Williams wrote:
> After that long thread on SAAG and a subsequent off-list discussion with
> Casey (plus my reading Smack documentation) I'm almost ready to reach
> the following conclusions:
I should expand on this. See below.
> - We don't need policy agreement for MLS. Servers have all the
> necessary information when comparing labels without reference to a
> policy. However, clients have to be sharing a common MLS policy.
Which means DOI + label in CALIPSO-like label representation is
sufficient. DOI + opaque label is also good enough for MLS if the DOI
can be used to find the label representation.
> - For "smart" MLS and Smack servers we need a method by which servers
> can determine the label range/set of client and user principals, but
> this need not be specified in a standard way except where label
> range/set is borne by authentication credentials (Kerberos V ticket
> authorization-data, PKIX cert extensions).
>
> This is already described in my RPCSEC_GSSv3 document.
Which means we can proceed with this RPCSEC_GSSv3 aspect of labeled NFS.
Of course, it's not clear yet that it will be of much practical value to
have such smart servers (e.g., if all the clients would be fully trusted
anyways). It may be possible that "dumb" servers are good enough, in
which case we don't need to complicate RPCSEC_GSSv3 with process label
assertions (though it's not much of a complication, but the client does
need to know, via an NFS operation, whether the server is smart or
dumb).
> - For Smack we don't need policy agreement either, but it will be
> useful to distribute common subsets of Smack policy to clients, and
> to prefix labels from local-only sub-policies with a client ID (or
> client DOI, if you wish).
Which means we may want to have DOI + opaque label, and, perhaps, DOI +
client ID + opaque label (but a client ID can be in the opaque label).
It should be noted that Smack does have a way to encode Smack labels as
CIPSO MLS labels, though it is a hack. We could similarly represent
Smack labels via whatever MLS label representation we use -- but it'd be
better (i.e., not hacky) to just have opaque labels for Smack.
> - For DTE I've no idea what to do. Policy agreement seems like a
> flight of fancy for DTE. But *much* more importantly, because the
> process label transitions can span so many labels we simply cannot
> have too smart a server: the server can't meaningfully constrain the
> labels that a user@client can assert, therefore the server must trust
> all client assertions of process DTE labels or none at all.
>
> I.e., for DTE we can only have "dumb" servers.
Which means that for DTE we should have DOI + opaque label and all the
server does is store them. The server would not enfore DTE policies:
only clients would. Of course, the server can have share-level ACLs to
decide which clients are trusted, but the server remains dumb.
Nico
--
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
next prev parent reply other threads:[~2009-04-10 21:18 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-06 21:07 my thoughts on how Labeled NFSv4 draft should move forward Jarrett Lu
2009-04-06 22:08 ` [nfsv4] " Nicolas Williams
2009-04-10 19:43 ` David P. Quigley
2009-04-10 19:43 ` David P. Quigley
2009-04-10 20:17 ` [nfsv4] " Nicolas Williams
2009-04-10 20:38 ` Nicolas Williams [this message]
2009-04-14 15:59 ` David P. Quigley
2009-04-14 17:10 ` Nicolas Williams
2009-04-13 13:19 ` Stephen Smalley
2009-04-13 15:31 ` Nicolas Williams
2009-04-14 4:02 ` Casey Schaufler
2009-04-14 17:26 ` Nicolas Williams
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=20090410203839.GC1500@Sun.COM \
--to=nicolas.williams@sun.com \
--cc=Jarrett.Lu@sun.com \
--cc=labeled-nfs@linux-nfs.org \
--cc=nfs-discuss@opensolaris.org \
--cc=nfsv4@ietf.org \
--cc=selinux@tycho.nsa.gov \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.