Re: [nfsv4] 4.0 trunking

"J. Bruce Fields" <bfields@fieldses.org> Wed, 21 September 2016 19:53 UTC

Return-Path: <bfields@fieldses.org>
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 9C08612B470 for <nfsv4@ietfa.amsl.com>; Wed, 21 Sep 2016 12:53:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.218
X-Spam-Level:
X-Spam-Status: No, score=-4.218 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-2.316, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 KFPq0NIVQHyX for <nfsv4@ietfa.amsl.com>; Wed, 21 Sep 2016 12:53:40 -0700 (PDT)
Received: from fieldses.org (fieldses.org [IPv6:2600:3c00::f03c:91ff:fe50:41d6]) by ietfa.amsl.com (Postfix) with ESMTP id E38D112B46F for <nfsv4@ietf.org>; Wed, 21 Sep 2016 12:53:39 -0700 (PDT)
Received: by fieldses.org (Postfix, from userid 2815) id 6C28920B1; Wed, 21 Sep 2016 15:53:39 -0400 (EDT)
Date: Wed, 21 Sep 2016 15:53:39 -0400
From: "J. Bruce Fields" <bfields@fieldses.org>
To: David Noveck <davenoveck@gmail.com>
Message-ID: <20160921195339.GC24084@fieldses.org>
References: <CADaq8jfiRU7DTRYXGHZvMALAZWeRjhqcpo8Si3_diMt_5dNSMw@mail.gmail.com> <20160908010532.GA10658@fieldses.org> <CADaq8jcnananUPDHH4Vzhv93JTxZegsZLMCtZWFD-keHheKvHA@mail.gmail.com> <20160910200355.GA30688@fieldses.org> <BBB2EBDC-6F05-44C1-B45A-C84C24A9AD7F@netapp.com> <20160920213931.GC12789@fieldses.org> <CADaq8jeqr9WPeBeV0ruxwy+5omfgHhJFjAR=tCGL3N-Yjt0PuQ@mail.gmail.com> <20160921024531.GA17232@fieldses.org> <CADaq8jdUJG7zBwn7f2xtLO3gf4nvwjM2H00E6N2oTGP2b9Nzww@mail.gmail.com> <20160921141409.GA20963@fieldses.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <20160921141409.GA20963@fieldses.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/ZP77F9VJK-z5ARC5w0a9C7nrbaQ>
Cc: "Adamson, Andy" <William.Adamson@netapp.com>, "nfsv4@ietf.org" <nfsv4@ietf.org>
Subject: Re: [nfsv4] 4.0 trunking
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.17
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: Wed, 21 Sep 2016 19:53:41 -0000

On Wed, Sep 21, 2016 at 10:14:09AM -0400, J. Bruce Fields wrote:
> On Wed, Sep 21, 2016 at 05:09:59AM -0400, David Noveck wrote:
> > I think that works.  I'm going to look at how to update section 5.8 of
> > RFC7931.
> 
> Great, let me know when there's something to review.
> 
> The Linux client looks like it's actually doing something even simpler,
> basically:
> 
> 	1. a SETCLIENTID to IP address X1 returns a clientid.  You
> 	confirm it and carry on.
> 
> 	2.  Some time later a SETCLIENTID to IP address X2 returns the
> 	same clientid, and verifier V2.  To check whether X1 and X2
> 	actually point to the same server:
> 
> 	3. Confirm that SETCLIENTID with SETCLIENTID_CONFIRM(client, V2)
> 	sent to X1.
> 
> And I don't see how to shoehorn this extra check in there, so I think it
> needs to add in the extra callback-changing SETCLIENTID to X1.

Oh, now that I look at it I think it's really easy.  All we have to do
is check that the verifier has changed since step 1.  If it has,
continue to step 3, if it hasn't, they're different servers.

--b.