Re: [nfsv4] My probable non-participation in IETF114 meeting -- missing agenda items

David Noveck <davenoveck@gmail.com> Thu, 28 July 2022 13:57 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 9A3DAC159490 for <nfsv4@ietfa.amsl.com>; Thu, 28 Jul 2022 06:57:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.104
X-Spam-Level:
X-Spam-Status: No, score=-2.104 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, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rjAn4etF2xaX for <nfsv4@ietfa.amsl.com>; Thu, 28 Jul 2022 06:57:16 -0700 (PDT)
Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id ADA56C14CF1C for <nfsv4@ietf.org>; Thu, 28 Jul 2022 06:57:16 -0700 (PDT)
Received: by mail-ed1-x534.google.com with SMTP id w5so2253686edd.13 for <nfsv4@ietf.org>; Thu, 28 Jul 2022 06:57:16 -0700 (PDT)
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=7Gi1TZI+GErau5Z87i2nCwjvFDPYsA5mJIzPejY00yc=; b=kExheeMEyCuGBcF/soLLDUEQfCJuTGJHCjPumSYunqbF1htRhXvuKyhV4cNNClVUG2 bktKMfxouu/CsCua6rsSyCu8AuYhUlG/4n6tTs5+haVTEyhU/KT/GxjR4YRwSgYLK8A+ IYoMLeRcg4hTJ+Zq8MOF6mzAWUl+mA/YwJynJY/DRlWXlGXpxhSawkg5qMFz4WOLaASw TphtSCDTRog2T2rnJCuShQBqCAxt+PPioNlbMM1CdDsggfGF7kY7Ex70wYx0NblBA2Td XEJSJ2PyHdOgTJZm0D43BV6ntkNAXDKexvztvaVV9vSYtnV3fBejyoKwS6kC5xb5XfB0 kyIg==
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=7Gi1TZI+GErau5Z87i2nCwjvFDPYsA5mJIzPejY00yc=; b=jxmixYlSC8UbHo6gmN5Iir9HhYjMqTXwK3DFePn77y1cUmie3HgNj4enQUEnaodIdR Lw7tnDo7MDhL/UKjQmnL3dHGxoev8+qgJCFB/odS505xoR9CWusabxS+0OLv2ugT2zj0 EwXm3v61d2y+dBnnXt3Vztr8qQAwVq1zQjJDl7xCPLiHxvOQ7bBoYoxEB4YpBTZYSwbh irRG0NCI1Dx3SVkj82Z47RvEHro+ya8dv6tA+FO1bncYVDJpMigFgTHGIJYw6E+TSG6a UgsR38WNSi4UhepAS3g0YZFugGI/vfO6LsyOK558XjPZ07bRLn8lSe+x5z0dpg6ehtYi IPcA==
X-Gm-Message-State: AJIora8w6reAweUB3NX9Gf4uqXHcdWJ+gbYPkS3bAakXtINFmQ2Jd+5g mqOkaMHGfNR1g4zGYYb0R7tgt4HwrDbiZe437FQ=
X-Google-Smtp-Source: AGRyM1uucf/wk6R/7xK2lqb9NsJM3hkSbrkCJQdKMTIpn19wj6WCqC+wdcr95YCV+tUbfZiS2PBN/puDgiL8CJZyPU8=
X-Received: by 2002:aa7:cf13:0:b0:43b:a842:e482 with SMTP id a19-20020aa7cf13000000b0043ba842e482mr28006551edy.192.1659016635109; Thu, 28 Jul 2022 06:57:15 -0700 (PDT)
MIME-Version: 1.0
References: <MN2PR06MB5597E737F236E8E35C02380FE18C9@MN2PR06MB5597.namprd06.prod.outlook.com> <20220726022100.GD30255@kduck.mit.edu>
In-Reply-To: <20220726022100.GD30255@kduck.mit.edu>
From: David Noveck <davenoveck@gmail.com>
Date: Thu, 28 Jul 2022 09:57:03 -0400
Message-ID: <CADaq8jfb0Ecbh-3AUW=wMJCT4yu1GwUX+y50cYNrZfRRHc8Dhg@mail.gmail.com>
To: Benjamin Kaduk <kaduk@mit.edu>
Cc: "Noveck, David" <David.Noveck@netapp.com>, NFSv4 <nfsv4@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000036537705e4dde983"
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/rc7UHDP3FR6fBWuTPpRmI9Tr2oQ>
Subject: Re: [nfsv4] My probable non-participation in IETF114 meeting -- missing agenda items
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.39
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: Thu, 28 Jul 2022 13:57:20 -0000

The core issue derives from the following text in RFC7530:

   string sent SHOULD be in the form of one or more U-labels as
   defined by [RFC5890
<https://datatracker.ietf.org/doc/html/rfc5890>].  If that is
impractical, it can instead be in
   the form of one or more LDH labels [RFC5890
<https://datatracker.ietf.org/doc/html/rfc5890>] or a UTF-8 domain
name
   that contains labels that are not properly formatted U-labels.  The
   receiver needs to be able to accept domain and server names in any of
   the formats allowed.  The server MUST reject, using the error
   NFS4ERR_INVAL, a string that is not valid UTF-8, or that contains an
   ASCII label that is not a valid LDH label, or that contains an
   XN-label (begins with "xn--") for which the characters after "xn--"
   are not valid output of the Punycode algorithm [RFC3492
<https://datatracker.ietf.org/doc/html/rfc3492>].

   When a domain string is part of id@domain or group@domain, there are
   two possible approaches:

   1.  The server treats the domain string as a series of U-labels.  In
       cases where the domain string is a series of A-labels or
       Non-Reserved LDH (NR-LDH) labels, it converts them to U-labels
       using the Punycode algorithm [RFC3492
<https://datatracker.ietf.org/doc/html/rfc3492>].  In cases where the
       domain string is a series of other sorts of LDH labels, the
       server can use the ToUnicode function defined in [RFC3490
<https://datatracker.ietf.org/doc/html/rfc3490>] to
       convert the string to a series of labels that generally conform
       to the U-label syntax.  In cases where the domain string is a
       UTF-8 string that contains non-U-labels, the server can attempt
       to use the ToASCII function defined in [RFC3490
<https://datatracker.ietf.org/doc/html/rfc3490>] and then the
       ToUnicode function on the string to convert it to a series of
       labels that generally conform to the U-label syntax.  As a
       result, the domain string returned within a user id on a GETATTR
       may not match that sent when the user id is set using SETATTR,
       although when this happens, the domain will be in the form that
       generally conforms to the U-label syntax.

   2.  The server does not attempt to treat the domain string as a
       series of U-labels; specifically, it does not map a domain string
       that is not a U-label into a U-label using the methods described
       above.  As a result, the domain string returned on a GETATTR of
       the user id MUST be the same as that used when setting the
       user id by the SETATTR.

   A server SHOULD use the first method.




The above text was suggested by David Black based on discussions with
internationalization experts, and had  no problems getting accepted by the
IESG.
.

The first method references RFC 3490, now obsolete, so cannot be
transferred to a new NFSv4 internationalization document

This reference should, almost certainly, not have appeared in RFC7530, but
I'm not sure how it was approved.

It seems very unlikely that the first method was ever implemented by any
NFSv4 server, despite the fact it is recommended above.

The basis of the recommendation is quite unclear and it is not easy to
determine a situation in which the use of the first method would be
needed/desirable.  Further, the use of "SHOULD" leaves unanswered the
question of what are valid reasons to bypass the recommendation.

The existing handling is not transferrable to other NFSv4.  We need to  do
one of the following:

   - eliminate the use of method one.

   - provide an alternative the process in method 1 that does not depend on
RFC3490.



On Mon, Jul 25, 2022, 10:21 PM Benjamin Kaduk <kaduk@mit.edu> wrote:

> Hi David,
>
> On Mon, Jul 18, 2022 at 01:05:25PM +0000, Noveck, David wrote:
> >
> >   *   draft-ietf-nfsv4-internationalization is now expired.  In order to
> get it anywhere wglc, I have to address the issues in section 12.
> >
> > I haven't been able to get idna information from the working group or
> the internationalization people. Please provide viable sources on email.
> Ifno willing experts are to be found, will need to do further research and
> may have to update 7530 to not support idna, if that is possible.
>
> While I don't consider myself an internationalization person, I do know a
> few who would probably qualify.  Please forgive my only sporadic
> attentiveness to this list -- is there a clean summary of the open issues
> that I could send to people and ask for help?
>
> Thanks,
>
> Ben
>
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4p
>