Re: [nfsv4] Fwd: New Version Notification for draft-haynes-nfsv4-flex-filesv2-00.txt

Olga Kornievskaia <olga.kornievskaia@gmail.com> Tue, 08 August 2017 22:04 UTC

Return-Path: <olga.kornievskaia@gmail.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 10A041270AC for <nfsv4@ietfa.amsl.com>; Tue, 8 Aug 2017 15:04:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.698
X-Spam-Level:
X-Spam-Status: No, score=-2.698 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pTil7tMNclnx for <nfsv4@ietfa.amsl.com>; Tue, 8 Aug 2017 15:04:16 -0700 (PDT)
Received: from mail-io0-x236.google.com (mail-io0-x236.google.com [IPv6:2607:f8b0:4001:c06::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C81C21321BD for <nfsv4@ietf.org>; Tue, 8 Aug 2017 15:01:51 -0700 (PDT)
Received: by mail-io0-x236.google.com with SMTP id j32so18809892iod.0 for <nfsv4@ietf.org>; Tue, 08 Aug 2017 15:01:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=2596HY4U8yH2ciALE4mZ+JqPvWioMEEQEa8COoAAGvA=; b=tQ7OIkSxIz2OogsEzp74YHvSqz0Eqp/yCYRMwsqd/wxb6yDuiJei9+QGzkVkDruuA9 ApJf+P5jYjum3snvSAVJUVvCb+1RoanmxUbOTaBSf3Pwmsbgm6ZZhL4JXAIvyzuYlcSM tCi7+kmSOD2xmkqLpTgYo1OsdLTYm7jFwk4POIq7C1xEh+LlRnwLzoHtMkvAE5AKk2+k Ux06Psm3w4vr6LjAWpKs5ZlH2LaOuYUT+j07syFrc512HN6bzAOrG8BXpQie34uZF6Te m8x3NGvUst7tJyCouyL/MKlDpbTB9UrgCx0kRfAO9LVSwXwdN2up3BXltKNbjgMyQl7M 5+wA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=2596HY4U8yH2ciALE4mZ+JqPvWioMEEQEa8COoAAGvA=; b=axfDWJD7tbfNHKiDes2sYsuOPoMn417ci6XzRsfrHJjSYPb9JMGz/4/bE3tUvLm9pD 1prnmNmf2uxHc9uqTWok8dDcDfntBjwN9KuvemqPHFMPHK+a0pmjRIiqNanEojcXIY54 lYXb5Lz7gXxZm7g4e6MXONGcHzTW6Xo6JGmPrTP/WhjMtUa3IJieTT1KRK8U8GhwOtXd ZJ+BP7F/ytssO/YgAEgn6o2PM6Fol8paXSJILUoPZc6DOziLtAQWRN18B+kvbYLSH4Vu Kl7k5ya9eJpXDPVbL6dhTm6csIx1djL63zl4+O2Ekl6Na4M++M3LX7caXuSuQuAwbM7x MMCA==
X-Gm-Message-State: AHYfb5i6iDWDx4VCh5KTIRN6TUWQX6dDb9WdFcHru6HCO+OOo8e36zcs qRwK6hDBKntydw==
X-Received: by 10.107.24.65 with SMTP id 62mr5079023ioy.127.1502229710965; Tue, 08 Aug 2017 15:01:50 -0700 (PDT)
Received: from ?IPv6:2600:1:914a:af33:7532:a765:bc64:88a2? ([2600:1:914a:af33:7532:a765:bc64:88a2]) by smtp.gmail.com with ESMTPSA id z140sm1303650itb.30.2017.08.08.15.01.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Aug 2017 15:01:50 -0700 (PDT)
Content-Type: multipart/alternative; boundary="Apple-Mail-BA4F94DC-DF73-4555-9D29-C9D5DA371BBB"
Mime-Version: 1.0 (1.0)
From: Olga Kornievskaia <olga.kornievskaia@gmail.com>
X-Mailer: iPhone Mail (14G60)
In-Reply-To: <CAABAsM7iB_KRNFVmd8p4UTmEZSBj01uZoDhHt+827DzpmveuHQ@mail.gmail.com>
Date: Tue, 08 Aug 2017 18:01:48 -0400
Cc: Olga Kornievskaia <aglo@citi.umich.edu>, Benjamin Kaduk <kaduk@mit.edu>, "nfsv4@ietf.org" <nfsv4@ietf.org>, Thomas Haynes <loghyr@primarydata.com>
Content-Transfer-Encoding: 7bit
Message-Id: <CC8CD648-2657-4CC1-ACDD-C7FF8B3BEADB@gmail.com>
References: <150215110527.12392.18161698955589691126.idtracker@ietfa.amsl.com> <2CA259E3-BD3A-482B-BFBF-3B90425AD3EA@primarydata.com> <CAN-5tyETNMCPVC5wJ-_77vM5+hVB+-uasd37kn+M=hoCeK6P7w@mail.gmail.com> <CAABAsM6rmrDU4BR6Ho7YFjjYA2amEkwuRGtzN537VXUZ-Eh-hg@mail.gmail.com> <20170808185803.GQ70977@kduck.kaduk.org> <CAABAsM7xOpbopPa3v1YMtfcFZbNZ=Jygap37Bg6qGfDDAvRHhQ@mail.gmail.com> <20170808194916.GR70977@kduck.kaduk.org> <CAABAsM5dAUxbrNA754nxN0iJpkJ-Zep37xnbycRsZXbPQi+hwQ@mail.gmail.com> <CAN-5tyGTZUgCDtVGhCbiXt4Hs6iGNKrhaKcQp8Vo8AveEX04hw@mail.gmail.com> <CAABAsM7iB_KRNFVmd8p4UTmEZSBj01uZoDhHt+827DzpmveuHQ@mail.gmail.com>
To: Trond Myklebust <trondmy@gmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/54hS4et_47vku6pQwB4Ip00O5hQ>
X-Mailman-Approved-At: Tue, 08 Aug 2017 15:23:21 -0700
Subject: Re: [nfsv4] Fwd: New Version Notification for draft-haynes-nfsv4-flex-filesv2-00.txt
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/nfsv4/>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Aug 2017 22:04:19 -0000



> On Aug 8, 2017, at 5:44 PM, Trond Myklebust <trondmy@gmail.com> wrote:
> 
> 
> 
>> On 8 August 2017 at 17:27, Olga Kornievskaia <aglo@citi.umich.edu> wrote:
>> On Tue, Aug 8, 2017 at 5:12 PM, Trond Myklebust <trondmy@gmail.com> wrote:
>> >
>> >
>> > On 8 August 2017 at 15:49, Benjamin Kaduk <kaduk@mit.edu> wrote:
>> >>
>> >> On Tue, Aug 08, 2017 at 03:37:41PM -0400, Trond Myklebust wrote:
>> >> > On 8 August 2017 at 14:58, Benjamin Kaduk <kaduk@mit.edu> wrote:
>> >> >
>> >> > > On Tue, Aug 08, 2017 at 02:54:58PM -0400, Trond Myklebust wrote:
>> >> > > > Why pass Kerberos tickets around? Is there any reason not to just
>> >> > > > pass an
>> >> > > > initialised RPCSEC_GSS session handle?
>> >> > >
>> >> > > There's not a standard serialization of the GSS security context
>> >> > > object
>> >> > > that it contains, for transfer across the network.
>> >> > >
>> >> >
>> >> > I thought rfc1964 provides one, which is pretty much the basis for the
>> >> > user
>> >> > library gss_krb5_lucid_context_v1_t typedef. Am I mistaken?
>> >>
>> >> I only see formats for security context establishment (negotiation)
>> >> tokens,
>> >> which are exchanged so that the peers can establish a complete security
>> >> context -- I think you're mistaken.
>> >>
>> >> AIUI the gss_krb5 lucid contexts came about due to the need to establish
>> >> a GSS security context in userspace and then export the keying material
>> >> into the kernel for per-message processing (for NFS).  I'm only about 95%
>> >> sure, but the information from a lucid context ought to be enough to
>> >> send from MDS to client and let the client use RPCSEC_GSSv3.  The
>> >> lucid context is a per-implementation extension, though, and we can't
>> >> use it in our standard without standardizing the lucid context first.
>> >
>> >
>> > Right, but there are some issues with just passing back a KRB5 service
>> > ticket too.
>> >
>> > For one thing, how does the MDS choose which encryption scheme to use? It
>> > knows what encryption the client is using for the RPCSEC_GSS session, but
>> > presumably it has no idea what kind of ticket was used to negotiate that
>> > session.
>> >
>> 
>> Since MDS = KDC then it would know which encryption scheme to use.
> 
> The client will usually authenticate to the MDS using the corporate KDC. The KDC on the MDS itself is not required to be the same.


But mds has access/copy of the principal database so it knows encryption types for the client server keys