Re: [nfsv4] I-D Action: draft-ietf-nfsv4-rpc-tls-01.txt

Chuck Lever <chuck.lever@oracle.com> Mon, 22 April 2019 13:59 UTC

Return-Path: <chuck.lever@oracle.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 D443C1200FD for <nfsv4@ietfa.amsl.com>; Mon, 22 Apr 2019 06:59:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.301
X-Spam-Level:
X-Spam-Status: No, score=-4.301 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=oracle.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 uJ3cmQrbqHPq for <nfsv4@ietfa.amsl.com>; Mon, 22 Apr 2019 06:59:23 -0700 (PDT)
Received: from userp2120.oracle.com (userp2120.oracle.com [156.151.31.85]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 200D512001B for <nfsv4@ietf.org>; Mon, 22 Apr 2019 06:59:23 -0700 (PDT)
Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x3MDmeVY155392; Mon, 22 Apr 2019 13:59:21 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=content-type : mime-version : subject : from : in-reply-to : date : cc : content-transfer-encoding : message-id : references : to; s=corp-2018-07-02; bh=BgqE3nYmQ1oN8U8+3Q3iwUKCVTpb24ZIKwNX2D5d3w0=; b=N+ZT4ZYf0jFqxeH9QO3iWgEm7hCYaf5C/MdtTXN05uC4tsm+c8Kmh8VGxL2W9ep1rRBC Kvdwhq4f8aNkIuMYUkm6VKu7b1sq7LSGFlKGj6PJRlWwfU6xtjUcU2Blza+E4qpugt3O 9BRlGB/97LaPFuEEjeQ2EIFrlGrPz5g55GZ77gMoRZfbubO4weqNdYMX/qjrBw/VI9Jn yqW7dsL0v4kQ8R4w6VGlXuQKnuK16BIh1icIAN0loZccM32rONj75Cjcl12TklQHJxKU jUB4tREQaygmAKm4+CgpOI/yckSeFXBW9YM2Krd25mbYmmSR45ELSWGojUudjUo75m5w vg==
Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by userp2120.oracle.com with ESMTP id 2ryv2px9am-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 22 Apr 2019 13:59:21 +0000
Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x3MDxFQx105115; Mon, 22 Apr 2019 13:59:21 GMT
Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userp3030.oracle.com with ESMTP id 2ryrhrh16r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 22 Apr 2019 13:59:20 +0000
Received: from abhmp0022.oracle.com (abhmp0022.oracle.com [141.146.116.28]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x3MDxK62022418; Mon, 22 Apr 2019 13:59:20 GMT
Received: from anon-dhcp-171.1015granger.net (/68.61.232.219) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 22 Apr 2019 06:59:19 -0700
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\))
From: Chuck Lever <chuck.lever@oracle.com>
In-Reply-To: <CADaq8jeYDcS3pObtXHSw8WJX=h95dGt6bUAq2rKgCTDR963BfA@mail.gmail.com>
Date: Mon, 22 Apr 2019 09:59:18 -0400
Cc: NFSv4 <nfsv4@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <9858BEF8-3395-4793-9A45-DF921DC1A4BB@oracle.com>
References: <155535049832.10773.1565621811584007627@ietfa.amsl.com> <E72181B0-6F38-4A02-8C65-ECF30581CBD5@oracle.com> <CAABAsM4_812FbhLZHcT6YxuAczbumR6s+cZ+ZcV+-zR_o7FbyQ@mail.gmail.com> <CADaq8jfqPxkCBEEb2M3vxgqoVW5xyggArxUHxLVr2RDWQCMSuw@mail.gmail.com> <BD4D98F6-4491-4547-A05C-2EFF1F95C0A0@oracle.com> <CADaq8jeYDcS3pObtXHSw8WJX=h95dGt6bUAq2rKgCTDR963BfA@mail.gmail.com>
To: David Noveck <davenoveck@gmail.com>
X-Mailer: Apple Mail (2.3445.104.8)
X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9234 signatures=668685
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1904220106
X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9234 signatures=668685
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1904220105
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/4IsUFxmfyLSuGQwL15-2c7Hpdso>
Subject: Re: [nfsv4] I-D Action: draft-ietf-nfsv4-rpc-tls-01.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, 22 Apr 2019 13:59:25 -0000


> On Apr 21, 2019, at 7:47 AM, David Noveck <davenoveck@gmail.com> wrote:
> 
> > What I'm wondering is whether it needs to be made explicit that
> > this would include reverse direction operations. Unlike GSS,
> > which provides per-request encapsulation, meaning that each
> > request can use its own security flavor.
> 
> I think it would be helpful if it did make that explicit.  Given that
> this is a RPC-generic document, v4.1, the only current user of
> reverse direction RPC, would need to referenced, informatively, 
> as an example.
> 
> > TLS is transport-level. We might want to stipulate that operations
> > in both directions MUST be sent using the negotiated TLS session 
> 
> I don;t think you can do that.   In the case of trunking, there will be
> multiple connections and multiple sessions.   Anything related to 
> trunking would need to be in an v4-focused document.

I meant "operations in both directions on the same transport connection".


> Another thing that would need to be in a v4-focused document iS
> material related to v4.0 callbacks  in which there would potentially
> be multiple connections and thus multiple TLS sessions. 
> 
> On Thu, Apr 18, 2019 at 7:15 PM Chuck Lever <chuck.lever@oracle.com> wrote:
> 
> 
> > On Apr 16, 2019, at 9:39 AM, David Noveck <davenoveck@gmail.com> wrote:
> > 
> > > Does this document need to say anything specific about reverse-direction
> > > RPC operations? 
> > 
> > I don't think it needs to, but there are certainly los of reasons we would want it
> > to.   The issue that needs to be resolved is that this is a document that is not 
> > specfic to NFSv4, but is RPC-generic.   If we don't want to change that right now,
> > and it would be disruptive, we made need another document about NFv4-specific
> > considerations about use of rpc-tls.
> > 
> > > (i.e., 
> > 
> > In this document, it would have to be "e.g."
> > 
> > > NFSv4.1 callbacks on the same communication channel)  
> > 
> > In this document, I'm not sure it is worth bothering with.
> 
> Well, let's set aside the parenthetical for a moment.
> 
> At one point, Tigran said this:
> 
> > But what sould be part of your document is the handling of TLS session
> > termination. Something like (please make it rfc language compliant):
> > 
> > 
> >   Client can terminate the TLS session after sending a TLS closure alert.
> >   After TLS session termination any other RPC requests over the same connection
> >   will fail with AUTH_ERROR.
> 
> 
> I think what is intended is that all traffic on that connection,
> after the TLS session is established, should be encapsulated and
> protected, until the TLS session is terminated.
> 
> What I'm wondering is whether it needs to be made explicit that
> this would include reverse direction operations. Unlike GSS,
> which provides per-request encapsulation, meaning that each
> request can use its own security flavor.
> 
> TLS is transport-level. We might want to stipulate that operations
> in both directions MUST be sent using the negotiated TLS session.
> 
> 
> --
> Chuck Lever
> 
> 
> 

--
Chuck Lever