From: Peter Braam <Peter.Braam@Sun.COM>
To: lustre-devel@lists.lustre.org
Subject: [Lustre-devel] security: rpc message vs bulk data
Date: Wed, 06 Aug 2008 16:48:39 -0600 [thread overview]
Message-ID: <C4BF8667.5519%peter.braam@sun.com> (raw)
In-Reply-To: <4899D78E.4000404@sun.com>
...snip
>> We should not use KRB/GSS for bulk data encryption, see below.
>>
>>> Now we're thinking about using gssapi for both RPC and bulk data. But
>>> this way we won't be able to configure them separately. What we're not
>>> sure is: is it necessary to be able to set different security level for
>>> RPC message and bulk data?
>>
>> Yes two policies are good to have. Eventually file systems will store data
>> encrypted. It would not be a good idea to have encrypt twice - we want to
>> ask the client to encrypt the data, send it over the wire and store on disk
>> without decrypting.
>
> I see.
>
> Suppose even if we use gss/krb5 for bulk i/o, we can still turn it off
> independently. That is to say: suppose we're using gssapi for RPC
> message, for bulk data we can choose either use same gssapi to do
> protection, or don't do protection at all. Is this approach sounds good
> compare to current using completely different policy?
It doesn't sound so good. What you want is authorization (which is included
in the capabilities), integrity (which should be the integrity of the
encrypted data stored on disk for the data, to avoid re-computing it) and
encryption (which should be the same encryption as what is used on the disk
to avoid re-encrypting). GSS doesn't have the right keys and signatures.
>
> I'm asking this because Darren and Jim pointed out the current bulk i/o
> policy is ad-hoc. There's 2 choices: 1) simply using standard mechanism
> (e.g. hmac+cipher, CCM/GCM, etc.), still keep it independent of RPC
> message policy; 2) suggested by Eric Barton, using the same gssapi for
> bulk data as well.
GSS is a protocol to set up communications with a certain level of security
based on authentication. It is explicitly not an authorization protocol.
I think this means that you can use it if you can authenticate the client to
the OSS server. That however is hairy, as the identity you could use is the
identity of the "page cache" in the client, not really of any particular
user.
Combined with the above mismatch of the crypto and integrity, I don't
believe this is right.
Of course the CMU research about NASD concluded the same 10-15 years ago -
you need a different protocol here, calling it ad-hoc is not so positive,
calling it the NASD protocol sounds rather nice.
Peter
>
> Thanks
next prev parent reply other threads:[~2008-08-06 22:48 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-05 18:12 [Lustre-devel] security: rpc message vs bulk data Eric Mei
2008-08-06 2:32 ` Peter Braam
2008-08-06 16:55 ` Eric Mei
2008-08-06 22:48 ` Peter Braam [this message]
2008-08-08 14:25 ` James Hughes
2008-08-08 14:45 ` Peter Braam
2008-08-08 17:03 ` [Lustre-devel] Security issues Eric Barton
2008-08-08 17:12 ` Peter Braam
2008-08-08 17:44 ` Eric Mei
2008-08-09 3:47 ` Peter Braam
2008-08-11 17:14 ` Eric Mei
2008-08-11 19:33 ` Peter Braam
2008-08-11 19:51 ` Eric Mei
2008-08-13 18:40 ` James Hughes
2008-08-13 22:26 ` Peter Braam
2008-08-11 12:56 ` Vitaly Fertman
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=C4BF8667.5519%peter.braam@sun.com \
--to=peter.braam@sun.com \
--cc=lustre-devel@lists.lustre.org \
/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.