Re: [nfsv4] New Version Notification for draft-cel-nfsv4-rpc-tls-pseudoflavors-00.txt

David Noveck <davenoveck@gmail.com> Mon, 06 December 2021 10:30 UTC

Return-Path: <davenoveck@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 B7A683A09C8 for <nfsv4@ietfa.amsl.com>; Mon, 6 Dec 2021 02:30:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, 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 O8MPmY32t6Ul for <nfsv4@ietfa.amsl.com>; Mon, 6 Dec 2021 02:30:06 -0800 (PST)
Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) (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 61EE93A09D4 for <nfsv4@ietf.org>; Mon, 6 Dec 2021 02:30:06 -0800 (PST)
Received: by mail-ed1-x52c.google.com with SMTP id x15so41094213edv.1 for <nfsv4@ietf.org>; Mon, 06 Dec 2021 02:30:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=KqK6+w0WoccL9Z51ds2gBMNei7Iuge0ueLkkhIR4NJE=; b=bFBFnEhohxoGpOd4+3EFrzs+ofBcRFywjov5VOEZ9i+tcPvRvxI85H1xNYNbRlRtua Gc8dLpXHdyruuTIXT54rjGJe6rO7S+6LEayHdxmPqSYHIQcytZSK2YPfmWHis6TYUgFj 65ObrVAqfQVPJM7MgrQFNkwhLHGgXwprhBIKCpJs84d1G6FtdGOML7RS4pEVPu6PT2/v uzhSa0JqhVp9qI5JO4UK0rRjGIy6saL23QjNKf2I8aUZ5aKspQ/O0J32qLjYFoMrr0gn RKHm9xv6iaf8OQVEbJpcZlQ3E3J9xDrJgHImmEvZbzFm9v8nhFOncKmsVB7EVfAZ23Ug VxCQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KqK6+w0WoccL9Z51ds2gBMNei7Iuge0ueLkkhIR4NJE=; b=Kyz3o7ROXMb/kQPB9jP9D8opDoolYYCgEp8GtGqJwi/CwO5h/OyyHBFFk152Xn0wzc cfF4AlEEOGBobMrIU+zinbMzp7k3qgBDfjjfPw7QwbZ3YMTdY8yspzVlI5oMcFd77XsS tO46lYIMp+387b8a5PbX7y/dWQF1MnqGP8h3iPok7e2+htgLqTA/cpsOiwVJ1OfNiwXr K8CpFZuHNQMurXx6mSf4b/pvDzfqWqNnOZTJ+0mtxeavl6XeEHMABT4T2mIzagbcZLh4 wMoIjpA3nz14KMV00ZvxbT3YWeHW4i3m2vx+g5a1e+HOz82dZEdvfk3XJ/IPxT5nmPs3 5cpw==
X-Gm-Message-State: AOAM5302woAwhPnOv6qBOtCOwKpbHCGQeaQY8ipLvFROMbNa/5EA/v2j vhZ2W5T2QDexxSzFXf9qiY4u5LIuzwKWAC/vdZurkXN/
X-Google-Smtp-Source: ABdhPJyXRB/lEixYXUcmYjeyIrVMsyyrYSnkwcshiHEc5E7/xr7Y5JzFllrWHinK+i2pL0y9uoNrA1Iyw45N5C90iwM=
X-Received: by 2002:a17:906:9b92:: with SMTP id dd18mr45087241ejc.290.1638786599020; Mon, 06 Dec 2021 02:29:59 -0800 (PST)
MIME-Version: 1.0
References: <163873328734.5490.15468230922208392053@ietfa.amsl.com> <856F08E9-CDFD-43B5-B8B1-278BE0DA7339@oracle.com> <YQXPR0101MB0968E2DC868A17423FF8D8B7DD6D9@YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM>
In-Reply-To: <YQXPR0101MB0968E2DC868A17423FF8D8B7DD6D9@YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM>
From: David Noveck <davenoveck@gmail.com>
Date: Mon, 06 Dec 2021 05:29:48 -0500
Message-ID: <CADaq8je8Fmut=t2tkfvWaKJwmG-k_ruWDGN=vjxAz7nt8sHr9Q@mail.gmail.com>
To: Rick Macklem <rmacklem@uoguelph.ca>
Cc: Chuck Lever III <chuck.lever@oracle.com>, NFSv4 <nfsv4@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000018ebc905d277bd22"
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/qgPEwdSHPiyGj_FhWfAmYjLaIko>
Subject: Re: [nfsv4] New Version Notification for draft-cel-nfsv4-rpc-tls-pseudoflavors-00.txt
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.29
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: Mon, 06 Dec 2021 10:30:11 -0000

On Sun, Dec 5, 2021, 9:07 PM Rick Macklem <rmacklem@uoguelph.ca> wrote:

> In section 3.2:
> If an RPC client sends an RPC Call using one of these pseudo-flavors
>    and the underlying transport does not provide the required additional
>    security services as indicated above, the RPC server MUST reject the
>    RPC Call and respond with a reply_stat of MSG_DENIED, a reject_stat
>    of AUTH_ERR, and an auth_stat of AUTH_TOOWEAK.
>
> For NFSv4, wouldn't NFS4ERR_WRONGSEC be a more natural fit than
> AUTH_ERR with auth_stat AUTH_TOOWEAK?
> --> I understand you wanted to cover NFSv3 as well, but since NFSv4
>       clients will need to do a SecInfo/SecInfo_Noname, then it seems weird
>       that it will be triggered by a RPC level error and not
> NFS4ERR_WRONGSEC.
>

That's true but given that this is an RPC document, Chuck really can't
refer to NFSv4 errors.


> Is it possible to allow either AUTH_ERR/AUTH_TOOWEAK or NFS4ERR_WRONGSEC
> as a server reply?
>

I think we have to distinguish using AUTH_SYS_MPA handled as above and
using AUTH_SYS on a connection on which MPA is not in effect.  The RPC
document could make clear that this latter is a security issue with the
specific response left up to ULP.


Chuck and I have to work together to make sure that these documents fit
together appropriately.   I expect that security-04 will be able to
reference this document.

>
> rick
>
>
> ________________________________________
> From: nfsv4 <nfsv4-bounces@ietf.org> on behalf of Chuck Lever III <
> chuck.lever@oracle.com>
> Sent: Sunday, December 5, 2021 3:07 PM
> To: NFSv4
> Subject: [nfsv4] Fwd: New Version Notification for
> draft-cel-nfsv4-rpc-tls-pseudoflavors-00.txt
>
> CAUTION: This email originated from outside of the University of Guelph.
> Do not click links or open attachments unless you recognize the sender and
> know the content is safe. If in doubt, forward suspicious emails to
> IThelp@uoguelph.ca
>
>
> > Begin forwarded message:
> >
> > From: internet-drafts@ietf.org
> > Subject: New Version Notification for
> draft-cel-nfsv4-rpc-tls-pseudoflavors-00.txt
> > Date: December 5, 2021 at 2:41:27 PM EST
> > To: "Charles Lever" <chuck.lever@oracle.com>, "Chuck Lever" <
> chuck.lever@oracle.com>
> >
> >
> > A new version of I-D, draft-cel-nfsv4-rpc-tls-pseudoflavors-00.txt
> > has been successfully submitted by Chuck Lever and posted to the
> > IETF repository.
> >
> > Name:         draft-cel-nfsv4-rpc-tls-pseudoflavors
> > Revision:     00
> > Title:                Pseudo-flavors for Remote Procedure Calls with
> Transport Layer Security
> > Document date:        2021-12-05
> > Group:                Individual Submission
> > Pages:                14
> > URL:
> https://www.ietf.org/archive/id/draft-cel-nfsv4-rpc-tls-pseudoflavors-00.txt
> > Status:
> https://datatracker.ietf.org/doc/draft-cel-nfsv4-rpc-tls-pseudoflavors/
> > Html:
> https://www.ietf.org/archive/id/draft-cel-nfsv4-rpc-tls-pseudoflavors-00.html
> > Htmlized:
> https://datatracker.ietf.org/doc/html/draft-cel-nfsv4-rpc-tls-pseudoflavors
> >
> >
> > Abstract:
> >   Recent innovations in Remote Procedure Call (RPC) transport layer
> >   security enable broad deployment of encryption and mutual peer
> >   authentication when exchanging RPC messages.  These security
> >   mechanisms can protect peers who continue to use the AUTH_SYS RPC
> >   auth flavor, which is not cryptographically secure, on open networks.
> >   This document introduces several RPC auth pseudo-flavors and other
> >   mechanisms that an RPC service can use to indicate transport layer
> >   security requirements for accessing that service.
> >
> >
> >
> >
> > The IETF Secretariat
>
> I've submitted this personal draft to provide a fleshed-out version of
> a proposal I have outlined in the recent past:
>
> https://mailarchive.ietf.org/arch/msg/nfsv4/tU1WfkYQUm2AbiZUA3L2uX56uR4/
> https://mailarchive.ietf.org/arch/msg/nfsv4/7psVqBBY8uhP9L9bMfF7hUbVXK0/
>
> among other places.
>
> This document provides a similar but contrasting approach to the one
> described in Sections 13 through 15 of draft-dnoveck-nfsv4-security-03.
> In addition to covering NFSv4, my document also addresses NFSv2/3 and
> other RPC services that might wish to employ transport layer security.
> I'm hoping that comparing and contrasting these two approaches will
> sharpen our vision and thinking as the WG comes to a rough consensus.
>
> Another important reason for a separate document is there seems to be
> palpable demand for a standards-based NFS in-transit encryption solution.
> The RPC protocol changes put forth in draft-ietf-nfsv4-rpc-tls are
> necessary but not sufficient to accomplish this goal. I would like to
> see a vehicle for moving the remaining components through WG consensus
> and into the publication queue as quickly as possible. This document
> might serve as that vehicle.
>
> An -00 is, as always, a rough cut. There are likely to be significant
> gaps in this proposal, which at this point is still quite malleable.
> Thanks in advance for your time and attention to this work.
>
>
> --
> Chuck Lever
>
>
>
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>
>
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>