All of lore.kernel.org
 help / color / mirror / Atom feed
* my thoughts on how Labeled NFSv4 draft should move forward
@ 2009-04-06 21:07 Jarrett Lu
  2009-04-06 22:08 ` [nfsv4] " Nicolas Williams
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Jarrett Lu @ 2009-04-06 21:07 UTC (permalink / raw)
  To: dpquigl; +Cc: labeled-nfs, selinux, nfs-discuss, nfsv4

David,

There were a lot of discussion on labeled NFSv4 recently. I like to make 
a suggestion in how your draft should go forward.  I believe you should 
continue proposing adding a DOI + an opaque label field. There are two 
slightly different usage models of DOI:
(1) the current proposal -- DOI is used to indicate the format of label 
in the opaque field. A new predefined DOI / label format pairing needs 
to exist in a registry. Being able to parse a label doesn't necessarily 
imply one can correctly interpret or translate a label. Label policy 
consistency is administered outside of the Labeled NFSv4 protocol 
extension. (2) Using same DOI implies that communicating peers can 
correctly parse the opaque label field AND label policy between 
communicating parties are consistent, i.e. they can correctly interpret 
labels using same DOI.  This DOI usage is consistent with CALIPSO DOI; 
hence the same DOI registry can be used by NFSv4. I like (2) better for 
following reasons:

- It removes the need for another DOI registry. I believe a new DOI 
registry will be under scrutiny and may cause uneasiness in IETF later on.

- It is consistent with how MAC systems use DOI today. Granted that the 
CALIPSO spec is MLS centric. But DOI need not favor MLS systems in any 
way. It could be effectively used on DTE systems as well. For example, 
DOI number 5 means a pair of DTE system sharing consistent label 
security policies.

- I believe it's easier to implement MAC policy consistency on a system 
where DOI conveys the same meaning in different layer of a system stack.

In any case, the "DOI  + opaque label" proposal relies on an OOB method 
to be useful. This is weak in terms of interoperability. But I believe 
that allowing systems to share file label attribute still adds value, 
even when an OOB method is required. I can help writing some usage 
scenarios about how such extensions may be used on MLS systems.

Now there is a separate discussion on saag list in how to do policy 
exchange among MAC systems. If this can be done, labeled NFS can 
definitely benefit from that effort and improve its interoperability 
story. It's probably wise to separate the two efforts so that each can 
proceed independently. I haven't studied the "labeled policy exchange 
framework" enough to know if it changes the current NFSv4 proposal.


Jarrett


--
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.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2009-04-14 17:26 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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.