Re: [nfsv4] New section 12 for internationalization document

Chuck Lever III <chuck.lever@oracle.com> Tue, 13 September 2022 14:46 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 0C44CC157B3B for <nfsv4@ietfa.amsl.com>; Tue, 13 Sep 2022 07:46:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.104
X-Spam-Level:
X-Spam-Status: No, score=-7.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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=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=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=oracle.com header.b=UsLTUmiJ; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.b=IvP6MzPH
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 20nYiAnj9IC7 for <nfsv4@ietfa.amsl.com>; Tue, 13 Sep 2022 07:46:16 -0700 (PDT)
Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) (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 2B86AC159484 for <nfsv4@ietf.org>; Tue, 13 Sep 2022 07:44:52 -0700 (PDT)
Received: from pps.filterd (m0246617.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 28DCm7uf032638; Tue, 13 Sep 2022 14:44:48 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=corp-2022-7-12; bh=ZVJcCHFj0NmBblmvFMMxB+f/qnh3suZOUGyiNtjQ+0M=; b=UsLTUmiJ9IvDizTGD+zpN6R0aX+QPHv2h0EsUubtjRcRGCLX8F74dPFn/e4iWuDa3ayC X7vV+Quym/zZixNvRiTn1AoIGqWeHu8sPiA/pdnf8GWCOux9C1YNwngoaAXQhnnEyygC yt9F6s2JObtzNbcIBu8HxHr42pDX+yAjIUpV31gy9P6KeIzLnvPeQWsFSruorGGUNbL8 4tKotr7sMcZaEnrgLH+YMVlXqoq0jnimId3yCbbEsYsYCArM03N8ngqPCjwrYtGJr3U/ 0K3nS4dpeaTAJkA1a/Yd+lMVXFLZwSFUSh2qnrdHWy8ZmB3BYAAThFcw2H2cKrkbRM3k TA==
Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3jgk4tf2q3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 13 Sep 2022 14:44:47 +0000
Received: from pps.filterd (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 28DEV9fg003479; Tue, 13 Sep 2022 14:44:46 GMT
Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2171.outbound.protection.outlook.com [104.47.57.171]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3jgh1a22dj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 13 Sep 2022 14:44:45 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EY5byJyFM7Howv7+X0odMdXsHEfI9ABjKIqExtggubywR6+rnyB9YZnpHe3OEJxs4CCgcOTZsvbT5ygt+AzpNL9w+M/xugUUAFsHApQ1dZoxgpR6DGKX4A3ZTRLFL35Jmj47Bvq+uZItcpZq0BTD6pfoDFqPayc6AJZ5VWSCPiN+2LP6Pqxy1W7dYvXW7eK5XytUaSE1IWlxouhPQ+X8GchgR79Wf1rnVALctaI9huel1trEkuDc7SS9V8BUmopJwO+Kp+GYgapMHtyGWeypTuU/1L6RDbnFJJrMEcnz1OVFpguHpDfyTvS9U2Ovw9PCvnSabHkVIpvvdtrcsd0Oew==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ZVJcCHFj0NmBblmvFMMxB+f/qnh3suZOUGyiNtjQ+0M=; b=HbND9Axi2iXhuVEvDa2/0TXKg/8BsPrMzrjGWCRTh9ZBxchesRRIGUQxGKcczCQ+6ZXaSNZsRklxF2YyWIY9pU3QAzn+7tYqQVjT1LHQJNGLQDx8matuQZ+EQpFTIQYNigNavTywa8xrF8j9D1Pye+2tDapPfoTg5JiYDmslWwjN+0IjfMPf786LrlO3nvgM7pRa62TXmYcKaHAoI5k3F+F89dqwIDCd2BN2RyBWIEe86GzD8D7xG/z1EiYlzpgwkXjXcqhF0ZUixLn8GWCpeDX8UfH+XzilkV+xLE2aYLgaZxczOKwtBje11vJ4CZfwIyaIh/yaswrxIv9ZykTPQQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZVJcCHFj0NmBblmvFMMxB+f/qnh3suZOUGyiNtjQ+0M=; b=IvP6MzPHGnd62CkAZZ+yA/m7jxZ8o6H+8lTt0Az1E+aS2Xr1sMNSfyWvMW7RrYw9zAOMbqkzqMpyGiftGlyceUZvNUy6WQQzCHx+Yeysy/0xB9/XUTKMujlu5Ijn0E4E7DlVY+iLbNbcwtJFfsxv3zSMae+PAGdWVwkLnfduxUY=
Received: from BN0PR10MB5128.namprd10.prod.outlook.com (2603:10b6:408:117::24) by IA1PR10MB5898.namprd10.prod.outlook.com (2603:10b6:208:3d6::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5612.22; Tue, 13 Sep 2022 14:44:43 +0000
Received: from BN0PR10MB5128.namprd10.prod.outlook.com ([fe80::25d6:da15:34d:92fa]) by BN0PR10MB5128.namprd10.prod.outlook.com ([fe80::25d6:da15:34d:92fa%4]) with mapi id 15.20.5612.022; Tue, 13 Sep 2022 14:44:43 +0000
From: Chuck Lever III <chuck.lever@oracle.com>
To: David Noveck <davenoveck@gmail.com>
CC: "Noveck, David" <David.Noveck=40netapp.com@dmarc.ietf.org>, NFSv4 <nfsv4@ietf.org>
Thread-Topic: [nfsv4] New section 12 for internationalization document
Thread-Index: AdjCNanQdCBsiCA2TAevhElqSILhfQEtplqAABjRHQAAC/UlgA==
Date: Tue, 13 Sep 2022 14:44:43 +0000
Message-ID: <5840BCB0-24C8-4B75-A154-937C75A18D9A@oracle.com>
References: <MN2PR06MB5597CEAA47B4C87F7402B7F9E17E9@MN2PR06MB5597.namprd06.prod.outlook.com> <49434285-C3D1-4D5C-8B0A-138805C8FF03@oracle.com> <CADaq8jcB0a6mPya5ZXAUqySFj+9ta8x7-BKWFW2m2VhAKLryHg@mail.gmail.com>
In-Reply-To: <CADaq8jcB0a6mPya5ZXAUqySFj+9ta8x7-BKWFW2m2VhAKLryHg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-mailer: Apple Mail (2.3696.120.41.1.1)
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: BN0PR10MB5128:EE_|IA1PR10MB5898:EE_
x-ms-office365-filtering-correlation-id: 7a780f20-d2e2-4974-06eb-08da95967f2e
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: q0A8xZ1IYLXwOubl/aJZ6c7JBFWRzkBzJPFDa4KRKUc9f8J7YCpv7Gk7I62a/m+aCo53He8pLoDl4kEmEulDJJhP+sUHfhCzxqxf9nfXdcvlcVSWgCxU0FRj0vhucDoAMs9aH/rPw+4S8H/sCgBbQc9DlBbN6gguicWpZR0OMjpyYv4cgYWhVKfRR8trT9GdmqL+lT9NElNLq+u9yXlDE8xIecNAPb9q5GZn9rOTGD8vtmONVePaoSAk2hmYdiHmrPrsV2Soa9raRSR6LbxHvj7HCOnaTEsRYcO6y/3hCw7JXR2J1c3n1CLr/61CM+yguTBjQZQPdLla5AENm42bB2fOr11aBx7hgJ46Twlb7UlCxetGcZ7DKz0Ys0wpXIkAAwJybycXrdhl9C6VCTNQmyESuOy8GRn60WI6nO6IAV0PFQNiuAaE5YdslwIE/F1ZOphNAgqsAyfVIC90/CgdR9odiNtiPjC2IGy+0dFmKPAj5W2GdItcoPoDcb+mj+nYUlHpnOuI/2jGXVTIDI18zDa+QbqPPyxuICPt7VrVu0bEdyU4rsAAjmni5l8DxYiihEN2905rpzRrizXjP+LFtxwcUQDmsK04SG3HUa44HLSxEz43JIFHs6UjHDtr2n25GQfEtsLoV0bwH9oUjiq9M+kV8kVFJaEYMfVeOp/ZKlOQ+xyvXS0ezLRh7jZmg0ACkPgcz3WDkt5cwk5sDcRYfknDa/RPo7y1FGSgiVIpK/BNx2FE3nyLMShZ6N0UHZkmScGiD4H4/oRCvckwZbRpCBGGC0wr4HjWP7jO0hlxUSn29Lq8E5JNzy3pJyyLlbKQOvqUtMJunLJPlvPQdKqXEYMqUk3i4O+GMt1GQMBTeIQ=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN0PR10MB5128.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(396003)(376002)(366004)(346002)(136003)(39860400002)(451199015)(91956017)(71200400001)(76116006)(4326008)(54906003)(2616005)(2906002)(66556008)(66476007)(316002)(33656002)(64756008)(66446008)(8676002)(166002)(6506007)(122000001)(38100700002)(38070700005)(5660300002)(41300700001)(478600001)(6916009)(66946007)(53546011)(8936002)(86362001)(966005)(6486002)(83380400001)(21615005)(36756003)(6512007)(26005)(186003)(45980500001); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: ONVLJo/bN8zWbFvah6LsCjGOMm7hcBMp8kgCdckddWIxXqgIpb4gf9v5bzhKF1JK5UeNo/kgvZj7dq5VZX+1yu7H3y5hU4QAeY2S2jC5mabhLlOqpRcIytpRavMZ7kFf9qHWmwG8y1iRgjBaoS9YAX/mN9ZKNbJBp1zgg7CF7WdSdaf1dXmb2skwB4UWpYG/UEhnvrZHd6vBwV3tg7tcUxeHGLV2JUB/X+8SmkK/CP7TF9XsgXcgvQEBF+Po2VQpFCw50JmRWip6jbsp+JnM/ON9PQVFkeSgkOspb6mVfjcVtBG5jH9wiqf55jKFLPVvFqHqgT5lMhXuwaSNZAfL2qPtV2FBXQZVVNbchapQ1hSLdpRm+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LpsdG3KFqnOdZ9P47OE2ByrSqR8NcCkHVp98D90c4Ku2rmdiy/8qBP10uTOItI87NdOAtH4NjkKZHYiQbsJIH4pShqxpchzTJ9quCZJ34/FHuXQfSQ5j2Wk8DhCcvyzatyutgazxrz/L29I+07dK2xYMI0yNKJTeTkl92w==
Content-Type: multipart/alternative; boundary="_000_5840BCB024C84B75A154937C75A18D9Aoraclecom_"
MIME-Version: 1.0
X-OriginatorOrg: oracle.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BN0PR10MB5128.namprd10.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 7a780f20-d2e2-4974-06eb-08da95967f2e
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Sep 2022 14:44:43.7233 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: PQdnTAE01PrTA4/1ZaELSK7iRjSr5Y92srfdIThTeoYxs8m2rCi4sil2vLIKmvUPGUtDwv6Gpl+AeubmX3ax5w==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR10MB5898
X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-13_07,2022-09-13_01,2022-06-22_01
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 adultscore=0 phishscore=0 suspectscore=0 malwarescore=0 spamscore=0 mlxlogscore=999 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2209130067
X-Proofpoint-ORIG-GUID: e_OCqypADYPbbNr3GhD-OG70iFLTnQWG
X-Proofpoint-GUID: e_OCqypADYPbbNr3GhD-OG70iFLTnQWG
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/qjTWcg7pYxUphFlGumhQIc2PwdE>
Subject: Re: [nfsv4] New section 12 for internationalization document
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: Tue, 13 Sep 2022 14:46:22 -0000

On Sep 13, 2022, at 2:02 AM, David Noveck <davenoveck@gmail.com<mailto:davenoveck@gmail.com>> wrote:

It appears that Solaris will not accept a U-label containing an umlaut and requires that the client send the corresponding xn-label.

That's incompatible with internationalization-02 😞

To come up with an appropriate adjustment, I need the corresponding information for Linux:

Will the server accept a U-label containing an umlaut?

Will it accept the corresponding xn-label?

What does the Linux client do with domains containing umlauts?

Unfortunately I don't have any idea how to answer any of these questions. Since NetApp has a Linux team that you have some influence over, can you ask them to test it for you?


On Mon, Sep 12, 2022, 5:12 PM Chuck Lever III <chuck.lever@oracle.com<mailto:chuck.lever@oracle.com>> wrote:


> On Sep 6, 2022, at 2:16 PM, Noveck, David <David.Noveck=40netapp.com@dmarc.ietf.org<mailto:40netapp.com@dmarc.ietf.org>> wrote:
>
>
>
> The attached is prompted by the advice about the subject that I received from David Black and the implementation information that Chuck Lever and Rick Macklem provided.
>
> Thanks for all the help.
>
> The goal of the revised section 12 is to not make existing server implementations non-compliant while also not making a server implementation that conforms to rfc7530 non-compliant.  There is a possibility that clients that conform to rfc7530 and use strings beginning with "xn--" will become non-compliant but since these would not work with many existing servers, I'm not particularly worried about that happening.
>
> Please look at the attached and comment.  I intend to submit internationalization-02 in about a week.

The Solaris team has reported test-based answers to earlier questions
about their implementation of i18n support for NFSv4.


The current state of the Solaris NFS framework handling
internationalized domain names is the following:

1) SMF

sharectl(8) and SMF accept and store both internationalized domain names,
IDN ( GermanäÄüÜöÖ߀.domain.de<http://xn--lzg.domain.de/> ) [1] and Punycode transcripted domain,
names ACE-strings [2] ( xn--german-gta3ba4pa4ea5864i.domain.de<http://xn--german-gta3ba4pa4ea5864i.domain.de/> ) for the
corresponding SMF property value.

2) NFSMAPID

nfsmapid(8) verifies and tests the domainname portion based on
the rules and recommendations from RFC1033 and RFC1035

RFC 1033  DOMAIN ADMINISTRATORS OPERATIONS GUIDE
https://www.rfc-editor.org/rfc/rfc1033.html

RFC 1035 DOMAIN NAMES - IMPLEMENTATION AND SPECIFICATION
https://www.rfc-editor.org/rfc/rfc1035.html
https://www.rfc-editor.org/rfc/rfc1035.html#section-2.3.1

which where valid at the time of our NFSv4 implementation back
in Solaris 10, (GA 3/2005).

Currently nfsmapid(8) rejects IDNs outside the
range of documented values of isalpha() and isdigit()
per ctype(3C). Ie. the German IDNs with German Umlauts [3]
are rejected by nfsmapid(8) as invalid domainnames
and the fallback DNS domainname on the system is used instead.

However, nfsmapid(8) does accept Punycode ACE strings
as domainnames and passes those up for usage.

3) NFS OTW

As 2) implies, IDNs outside the usual ASCII sets/locale settings
are rejected as NFSv4 domainnames and are thus not usable [5].
Ie. the domainname including German Umlauts is not usable.

However, Punycode ACE strings as domainnames do work and
are send OTW and are properly used on both the server
and the client side [6]. Solaris does not apply any translation
of Punycode ACE strings representing domains, they are just
passed around like any other regular domainname.


--
Chuck Lever



_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org<mailto:nfsv4@ietf.org>
https://www.ietf.org/mailman/listinfo/nfsv4

--
Chuck Lever