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

Olga Kornievskaia <aglo@umich.edu> Mon, 01 April 2019 16:07 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 A4D4E1202C0 for <nfsv4@ietfa.amsl.com>; Mon, 1 Apr 2019 09:07:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.748
X-Spam-Level:
X-Spam-Status: No, score=-1.748 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=umich.edu
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 PSU9wjv3Irzy for <nfsv4@ietfa.amsl.com>; Mon, 1 Apr 2019 09:07:37 -0700 (PDT)
Received: from mail-ua1-x936.google.com (mail-ua1-x936.google.com [IPv6:2607:f8b0:4864:20::936]) (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 328D4120342 for <nfsv4@ietf.org>; Mon, 1 Apr 2019 09:06:24 -0700 (PDT)
Received: by mail-ua1-x936.google.com with SMTP id e15so3272931uam.3 for <nfsv4@ietf.org>; Mon, 01 Apr 2019 09:06:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=google-2016-06-03; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HOjLfB3cU9sPfMuuON9sXCYbnDMpNvYMnlLl+HWDMsI=; b=djeOitq7ySnBymchNQVhp3/XtNpfM8ZpYRn6I9Xr9gmkHLrxbm1l7mWPauYeric+Vp JGWh8M9/BOmLIyCsU8yfEO69wB2Ae3zZ3Bb/k3n+dlJg5iwSg63jk5T6bMXJ+l6kSnuu imf5sqbIuI3YUmsm4CxUh8Jl6l9H9f77QxvAPNFx7jcHVHLfnW7J8ewi2Z87HGJF5wCT rdLJIIQlw/xAtDgl9buknzxCjKlnkOTVTbAofspZ1cIZgim/2rwwxzfo7V2//O/8fMI9 WkMUcvMNQVHmVUa1BceuIL0cydU3f3Y0IzIaE1zHAyOrreA7kQhrSn5VpeylBLEF2ZVi YgIQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HOjLfB3cU9sPfMuuON9sXCYbnDMpNvYMnlLl+HWDMsI=; b=s8k/gwiEwTk8DEaH+TDWz++I9aA7MVZYafiguODVBjYEUWufJmt5XMftCIMr+YWOBF 2GiVjM2D8W4OMqEJ2KrWFpSzGkTbUSPPd6pxkbCge6ZkRyVh5e8MgpbehQLo0s33udfu 2/LyD5IsQ+lOIWdtWV7Q8RyXc8Wam0XYURlxlWpepsPK91ma+eTqVBdU/J0nlmY8dG/j edB/l43sj1ACEoj/uMQgm6hHOKstWk1Z+L996W69v2n4H89n6G+tvigcvLJ0W/6s14M6 iXktmD8fiNaz3uWedAtjJ7soEvNi3ERfAx6vW/geG5kSxGQSDi1P3b6t7hLUPk+FBPiq L7iA==
X-Gm-Message-State: APjAAAWlUkT3tAN3fqdltzjNEFHSMSYcE04IqSJNlw7Qf2AeM8stDe0V IBLGVAN2ehrzkwu0CrPxYGWjD9XVuQvLpm2K7wc=
X-Google-Smtp-Source: APXvYqzu+UMWXQiMVQuqtTgmaOPCulTEQpqBqeFL2ueXaDxCDJoe0dsAjrDCKz716pkK69y3cCTk02toN8Y4dxczvoo=
X-Received: by 2002:ab0:2a5a:: with SMTP id p26mr37871681uar.105.1554134782848; Mon, 01 Apr 2019 09:06:22 -0700 (PDT)
MIME-Version: 1.0
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> <D43B092E-03D1-470F-AF57-1E9416E8518E@oracle.com>
In-Reply-To: <D43B092E-03D1-470F-AF57-1E9416E8518E@oracle.com>
From: Olga Kornievskaia <aglo@umich.edu>
Date: Mon, 01 Apr 2019 12:06:10 -0400
Message-ID: <CAN-5tyFU_9v=OQcvEfkC-YLJZTEenRyNa67YPJBBnNG8g0EsTQ@mail.gmail.com>
To: Chuck Lever <chuck.lever@oracle.com>
Cc: Tom Talpey <ttalpey@microsoft.com>, NFSv4 <nfsv4@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/XFd9PlPIfNA70su6n2ZxrPqFsW8>
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: Mon, 01 Apr 2019 16:07:40 -0000

Comments about the draft-1 and section 4.3 Authentication.

1. Why is there no option of no client authentication and simply using
server-side authentication and using AUTH_SYS on top of it (and
perhaps this is addressed by the 2nd editorial comment in the [] but
the lack including this as an option bothered me). I think this is the
most useful option to be considered. I don't see how adding
self-signed client certificates adds to the security of the system but
instead this adds a costly PKI operation that would impact the time it
takes to establish a secure connection.

2. If there is an addition of certificated-based authentication (and
specifically for option #4 of PKI-based crews + AUTH_NONE) shouldn't
there be wording on what it means to do PKI-based authentication (the
whole fun of interpreting X.509-based certification etc).

3. This is about the wording of option #3 and specifically ".. doesn't
need to enable costly GSS integrity or privacy services". This to me
reads that GSS integrity/privacy services is more costly that doing
the same with TLS which I don't believe is a true statement. Shouldn't
it be something like "it can forego using GSS integrity/privacy
services because the transport layer already provides an encrypted
connection" or something of the sorts that say we don't need to do
integrity/privacy twice?

4. This is somewhat implementation specific question. If the draft is
introducing an AUTH_TLS RPC security mechanism, I assume in linux we'd
translate it to "sec=tls" option to be like other RPC AUTH mechanisms.
But "sec=tls" doesn't quite work, it better fits with the "proto=tls"
option group because "tls" by itself isn't enough. It'll always be
combined with a traditional "sec=sys" or "sec=krb5". Then we are
really introducing an option like "sec=tls+sys" or "sec=tls+krb5".
Then shouldn't we be introducing something like AUTH_TLS_SYS and
AUTH_TLS_GSS? Or if we are really talking about "proto=tls" (or
proto=dtls) do we even need AUTH_TLS and couldn't it be port-based
decision to support it or not (but yes I read the RFC 2595 that
discourages the use of "secure" ports as they could lead to user and
administrator misconceptions). To reiterate, I feel that if AUTH_TLS
is added but "sec=tls isn't used it would be confusing to users.

On Fri, Mar 29, 2019 at 10:18 AM Chuck Lever <chuck.lever@oracle.com> wrote:
>
>
>
> > 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
>
>
>
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4