From: Casey Schaufler <casey@schaufler-ca.com>
To: Joy Latten <latten@austin.ibm.com>
Cc: Paul Moore <paul.moore@hp.com>,
"David P. Quigley" <dpquigl@tycho.nsa.gov>,
gcwilson@us.ibm.com, selinux@tycho.nsa.gov, serue@us.ibm.com,
tjaeger@cse.psu.edu
Subject: Re: [RFC 1/2] labeled ipsec internet drafts
Date: Wed, 27 Aug 2008 18:30:59 -0700 [thread overview]
Message-ID: <48B5FFD3.4050901@schaufler-ca.com> (raw)
In-Reply-To: <1219882937.2883.256.camel@faith.austin.ibm.com>
Joy Latten wrote:
> On Wed, 2008-08-27 at 17:56 -0400, Paul Moore wrote:
>
>> On Wednesday 27 August 2008 5:21:17 pm David P. Quigley wrote:
>>
>>> I would like Paul to give his opinion on this as well but I think the
>>> best thing at the moment would be go submit your draft where the DOI
>>> is a tuple of (mechanism,doi). I personally like the idea of
>>> representing the 32 bit value as a series of four octets for human
>>> readable purposes but your idea does have some merit with regards to
>>> what information should be stored with these numbers by IANA. By
>>> having your draft out there recommending your method of handling DOIs
>>> it gives people one more thing to consider for discussion during the
>>> BOF.
>>>
>> Our emails may have crossed in flight, but just in case it isn't clear
>> from the response I sent earlier this afternoon I think we are best
>> served with the DOI as a unified 32 bit value (the dotted notation is
>> just for display/readability purposes).
>>
>
> Ok, just for my clarification, the consensus is that I change this to a
> 32 bit value field and keep it generic for now as in labeled nfs doc?
>
>
>> I would encourage us to stop thinking about specific DOI values
>> as "SELinux", "Smack", or whatever. There is no reason we can't get
>> the different labeled security implementation to work together but if
>> we continue to propagate the notion of implementation specific DOIs
>> then it becomes that much harder. I think we need to think of DOIs as
>> defining a mapping between an on-the-wire label format to a semantic
>> meaning; the actual format of the wire label isn't important, the
>> meaning of the label is what really counts. Once we understand what a
>> wire formatted label means we can internalize it however we need to so
>> that the implementation can do the necessary access control.
>>
>>
> Ok, yep. The label should be an "opaque" (I might be over-using that
> word by now) blob to the IPsec protocol. I guess in my thinking, it just
> acts as label storage for the packet and the security mechanism.
>
> I guess my concern is this, and it may be because I am not understanding
> something. My concern is defining DOI as a mapping between an
> on-the-wire label format to a semantic meaning. Could the mapping be
> NULL or bypassed sometimes? What I mean is that IPsec could sometimes
> store things just as they are represented by the security mechanism
> since it doesn't put anything on the wire. So if both endpoints are
> using SELinux, it would not need a mapping.
Well ...
> It would need a mapping when
> the endpoints' security mechanisms are different.
Which it may be if the policies on the two systems don't mesh.
For example, if one system has no apache it needs no apache_t,
hence a mapping is required to deal with that. In fact, two
SELinux systems will obviously require mapping if you're sending
sids in your opaque label and most likely require mapping even
if the label is the context unless the machines have identical
installations and policies.
> Thus why labeled ipsec
> was bent on a (securitymechanism,doi) tuple. Would it be possible for
> the new DOI scheme to also take this into consideration?
>
For the cases where securitymechanism is sufficient to describe
the structure to which a DOI is applied its specification is
useful. A securitymechanism of SELinux would need to discriminate
between MLS, MCS, and none of the above. This is a problem with
any flexible scheme, Smack has it worse than SELinux because there
is no way to even hint at a structure to the label.
Does even a DOI make sense in a case where the two ends have
irreconcilable policies? Can you get away with anything less
than label mappings maintained on each host?
--
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:[~2008-08-28 1:31 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-25 20:46 [RFC 1/2] labeled ipsec internet drafts Joy Latten
2008-08-25 21:42 ` David P. Quigley
2008-08-26 17:17 ` Joy Latten
2008-08-26 20:24 ` David P. Quigley
2008-08-27 16:17 ` Joy Latten
2008-08-27 16:49 ` David P. Quigley
2008-08-27 18:41 ` Joy Latten
2008-08-27 20:50 ` Paul Moore
2008-08-27 21:33 ` David P. Quigley
2008-08-27 22:56 ` Joy Latten
2008-08-28 16:08 ` Paul Moore
2008-08-27 23:27 ` Joy Latten
2008-08-28 15:44 ` Paul Moore
2008-08-27 21:21 ` David P. Quigley
2008-08-27 21:56 ` Paul Moore
2008-08-27 22:00 ` David P. Quigley
2008-08-28 15:49 ` Paul Moore
2008-08-28 0:22 ` Joy Latten
2008-08-28 1:30 ` Casey Schaufler [this message]
2008-08-28 15:58 ` Paul Moore
-- strict thread matches above, loose matches on Subject: below --
2008-07-25 17:51 Joy Latten
2008-07-26 16:34 ` Paul Moore
2008-07-26 16:34 ` Paul Moore
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=48B5FFD3.4050901@schaufler-ca.com \
--to=casey@schaufler-ca.com \
--cc=dpquigl@tycho.nsa.gov \
--cc=gcwilson@us.ibm.com \
--cc=latten@austin.ibm.com \
--cc=paul.moore@hp.com \
--cc=selinux@tycho.nsa.gov \
--cc=serue@us.ibm.com \
--cc=tjaeger@cse.psu.edu \
/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.