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

Chuck Lever <chuck.lever@oracle.com> Fri, 29 March 2019 14:18 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 1F576120276 for <nfsv4@ietfa.amsl.com>; Fri, 29 Mar 2019 07:18:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.3
X-Spam-Level:
X-Spam-Status: No, score=-4.3 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, URIBL_BLOCKED=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 8kLQsLFXp48C for <nfsv4@ietfa.amsl.com>; Fri, 29 Mar 2019 07:18:03 -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 5102F12023E for <nfsv4@ietf.org>; Fri, 29 Mar 2019 07:18:03 -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 x2TEEAmF008655; Fri, 29 Mar 2019 14:17:55 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=RpzTAZxpbMjq1wX0Nn4cKclKrpvHHN9vE9U66QhXZqA=; b=1As1nr9uZ5plPZGofXURK7FFvW90s3n7rEYMBIQagM0lRpJ7Els/pW+1pv4b0/NQnkE5 daUcecgzr58SdTNJXDgT3MuAGrZFgrFzPp7BRRmtzrPMZ5sZzb/WQeNFpl0AXh8LN16e boHLd7y6TW1VJoPtZdohk5gXNFOI7YVsfp2qAn7xx6T3nfnZo6e90sTSH7HN1lsD+9ez guZwfnqN12NlQrj5I+JlmQA0hPJ/jT9ogOfkP2pHdsFCZX/pELhF6NsTUUgq3ogZXnKN RT8QV4/DUiG40Zh5XWMhc6w0LYprPnzqu2R/vxm+nn/uogEZgK1RRu3ebnMtIQ6kQO7y qA==
Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp2120.oracle.com with ESMTP id 2re6djvqrm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 29 Mar 2019 14:17:55 +0000
Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id x2TEHs5P013616 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 29 Mar 2019 14:17:55 GMT
Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x2TEHrfJ009780; Fri, 29 Mar 2019 14:17:53 GMT
Received: from anon-dhcp-171.1015granger.net (/68.61.232.219) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 29 Mar 2019 07:17:53 -0700
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\))
From: Chuck Lever <chuck.lever@oracle.com>
In-Reply-To: <SN4PR2101MB073663820F28F2AAA8766E38A05A0@SN4PR2101MB0736.namprd21.prod.outlook.com>
Date: Fri, 29 Mar 2019 10:17:52 -0400
Cc: Lars Eggert <lars@eggert.org>, NFSv4 <nfsv4@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <D43B092E-03D1-470F-AF57-1E9416E8518E@oracle.com>
References: <154264272736.5235.8955444239583271708.idtracker@ietfa.amsl.com> <CO2PR0601MB7597A7490C43DAE5A3268E6B5D80@CO2PR0601MB759.namprd06.prod.outlook.com> <39802AA5-3F70-48C7-824B-CAC0FB871016@oracle.com> <CADaq8jc82bfxpjxz_f6Uy-4c0yazJujOrKo+TejPkx-q6qq_3Q@mail.gmail.com> <1480794517.422703.1553504031783.JavaMail.zimbra@desy.de> <4F7BC6A0-50F9-47BC-8465-28833835E7F6@oracle.com> <1119874674.601037.1553546666143.JavaMail.zimbra@desy.de> <946EFDD8-F04D-49CD-A1C8-D8E8A6D5EE35@oracle.com> <2020506870.740381.1553612716598.JavaMail.zimbra@desy.de> <CAN-5tyGggDUe2DNSjRc6vAyXgGo4LVwYVK5zmTOyr0soPFVKrQ@mail.gmail.com> <3705AA25-10DF-43BF-BE1D-B0BE27F705DE@eggert.org> <0E00BED9-74D4-4594-A7AC-FCD624461DD7@eggert.org> <880CC259-A82A-401F-A81D-5FCD6A9758B3@oracle.com> <SN4PR2101MB0736EF7A385F5D95107D4118A05F0@SN4PR2101MB0736.namprd21.prod.outlook.com> <3A634328-B190-473B-A6D7-C5878CC2654B@oracle.com> <SN4PR2101MB073663820F28F2AAA8766E38A05A0@SN4PR2101MB0736.namprd21.prod.outlook.com>
To: Tom Talpey <ttalpey@microsoft.com>
X-Mailer: Apple Mail (2.3445.102.3)
X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9210 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-1903290102
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/YoqPQt3BskrFbqzW7D-FTzzExHI>
Subject: Re: [nfsv4] New Version Notification for draft-cel-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: Fri, 29 Mar 2019 14:18:06 -0000


> On Mar 28, 2019, at 8:35 PM, Tom Talpey <ttalpey@microsoft.com> wrote:
> 
>> -----Original Message-----
>> From: Chuck Lever <chuck.lever@oracle.com>
>> Sent: Thursday, March 28, 2019 3:43 PM
>> To: Tom Talpey <ttalpey@microsoft.com>
>> Cc: Lars Eggert <lars@eggert.org>; NFSv4 <nfsv4@ietf.org>
>> Subject: Re: [nfsv4] New Version Notification for draft-cel-nfsv4-rpc-tls-01.txt
>> 
>> 
>>> On Mar 26, 2019, at 1:58 PM, Tom Talpey <ttalpey@microsoft.com> wrote:
>>> 
>>>> -----Original Message-----
>>>> From: nfsv4 <nfsv4-bounces@ietf.org> On Behalf Of Chuck Lever
>>>> Sent: Tuesday, March 26, 2019 1:52 PM
>>>> To: Lars Eggert <lars@eggert.org>
>>>> Cc: NFSv4 <nfsv4@ietf.org>
>>>> Subject: Re: [nfsv4] New Version Notification for draft-cel-nfsv4-rpc-tls-
>> 01.txt
>>>> 
>>>> 
>>>> 
>>>>> On Mar 26, 2019, at 12:35 PM, Lars Eggert <lars@eggert.org> wrote:
>>>>> 
>>>>> On 2019-3-26, at 17:33, Lars Eggert <lars@eggert.org> wrote:
>>>>>> Also note that STARTTLS is somewhat less secure than running TLS
>> directly.
>>>> See for example Section 6 of RFC3207:
>>>>>> 
>>>>>>  A man-in-the-middle attack can be launched by deleting the "250
>>>>>>  STARTTLS" response from the server.  This would cause the client not
>>>>>>  to try to start a TLS session.  Another man-in-the-middle attack is
>>>>>>  to allow the server to announce its STARTTLS capability, but to alter
>>>>>>  the client's request to start TLS and the server's response.
>>>>>> 
>>>>>>  ...
>>>>> 
>>>>> And RFC8314 recommends (for mail) that "implicit TLS" should be used
>>>> instead of STARTTLS.
>>>> 
>>>> Perhaps that is what we should require for RPC on TLS;
>>>> that is, "STARTTLS MUST NOT be used"?
>>> 
>>> It's a fine requirement, but there may need to be a justification for the MUST.
>>> 
>>> It's important to note that such a requirement means you'll need to allocate
>>> a new port number for such connections. This would apply to any upper
>>> layer using the new RPC flavor, which in turn might impact the portmapper.
>>> Note, it may also have implications on the proposed negotiation. If TLS is
>>> a "done deal", negotiating the auth flavor may be moot.
>> 
>> We could create a new netid for this purpose.
>> 
>> Advertise an RPC program with this new netid, and no STARTTLS would
>> be needed. The client simply connects and begins TLS negotiation.
> 
> But, the current draft proposes using a new AUTH_TLS exchange, which
> if successful allows the client to perform a STARTTLS. If you define a netid
> and/or port number, the client would simply start in TLS, prior to even
> sending its first RPC.
> 
> Would that not simply make the whole draft unnecessary?

No. The current revision places a number of restrictions on how TLS
is used, and that is needed in any case. But, the draft could define
new netids and reserve a new port number for making portmapper requests
using TLS.

Anyway, this is a strawman. I wanted to bring it up to ensure we are
happy with using STARTTLS.


--
Chuck Lever