All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Barton <eeb@sun.com>
To: lustre-devel@lists.lustre.org
Subject: [Lustre-devel] security: MGS connection
Date: Wed, 04 Jun 2008 20:24:12 +0100	[thread overview]
Message-ID: <028801c8c678$922e1d50$0281a8c0@ebpc> (raw)
In-Reply-To: <4846E11A.7010604@sun.com>

Comments inline

> -----Original Message-----
> From: Eric.Mei at Sun.COM [mailto:Eric.Mei at Sun.COM] 
> Sent: 04 June 2008 7:38 PM
> To: Eric Barton
> Cc: 'Lustre Development Mailing List'; 'Peter Braam'
> Subject: Re: [Lustre-devel] security: MGS connection
> 
> Eric Barton wrote:
> >> Here is the user interface change according to previous discussion, 
> >> please review:
> >>
> >> - The security flavor of MGS connection is determined by each node, not 
> >>   controllable by MGS.
> > 
> > Is this an unavoidable fact of life or a design decision?
> 
> I think it's not completely unavoidable. For example, MGC can do initial 
> connect without protect, and tell MGS what kind of security mode it 
> support, and MGS replay with its decision, and MGC reconnect with 
> choosed flavor.
> 
> This way will be much more complicated. And more importantly, what if 
> someone hijack the initial non-protected connection? Things seem not 
> getting any better...

I meant some way to ensure the MGS only allows connections with
a certain level of security which might depend on who was connecting
(of course "who" would have to be authenticated).  I would hope this
could be configured outside of lustre?

> > I don't think it's acceptable to allow a previous mount to compromise
> > the security of a later mount.
> 
> Indeed it looks not so good. But the fact of per-node shared MGS 
> connection means only one flavor could be used. To avoid the confusion, 
> to me the only way is don't allow the choice via mount option, instead 
> to choose a "proper" one automatically somehow.

It's OK if the MGS will reject any connection attempt with insufficient
security.  In that case, you could put the security in the mount option
and it should probably be an error to specify different levels of security
when talking to the same MGS.

> > XXX
> > 
> > This raises the interesting question of whether servers (MGS included) can
> > demand a minimim level of security from clients connecting to them.  Is this
> > normally part of configuring security on a given node (e.g. to set the
> > machine credentials you mentioned above)?
> 
> This is the root problem I guess: we can't assume there's security 
> environment ready on each nodes.

If the site needs security, it must be set up correctly.  Whether this is
done within lustre config or outside of it, or both is not the main point -
it _has_ to be set up correctly.

> The procedure of setup gss/kerberos is not extremely easy: configure 
> KDC, installing keytabs, configure gssapi, keyring, etc. And for most 
> Luster clusters, strong security are not needed at all, so people most 
> likely choose to skip that.

1. Making lustre easy to deploy with a null security flavor is a requirement
for sites that have no need for security.

2. Making it hard to deploy lustre with non-obvious "holes" in its security is
a requirement for sites that need security.

3. Making it easy to test lustre with security enabled anywhere is a "nice to have"
but not a requirement and it must certainly not be prioritised over (1) and (2).

    Cheers,
              Eric

  parent reply	other threads:[~2008-06-04 19:24 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <C46C26CE.574E%peter.braam@sun.com>
     [not found] ` <4846C394.1020801@sun.com>
2008-06-04 17:47   ` [Lustre-devel] security: MGS connection Eric Barton
2008-06-04 18:07     ` Spencer Shepler
2008-06-04 19:07       ` Eric Mei
2008-06-04 18:38     ` Eric Mei
2008-06-04 18:49       ` Peter Braam
2008-06-04 19:24       ` Eric Barton [this message]
2008-06-05 16:19         ` Eric Mei
2008-06-06  0:20           ` Eric Barton
2008-06-05 16:54         ` Eric Mei
2008-06-06  0:36           ` Eric Barton
2008-06-06  1:39             ` Eric Mei
2008-06-06  3:16               ` Peter Braam
2008-06-06 15:16                 ` Eric Mei
2008-06-06  3:30           ` Peter Braam

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='028801c8c678$922e1d50$0281a8c0@ebpc' \
    --to=eeb@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.