Re: [nfsv4] New section 12 for internationalization document

Chuck Lever III <chuck.lever@oracle.com> Fri, 23 September 2022 15:47 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 653C0C14CE2F for <nfsv4@ietfa.amsl.com>; Fri, 23 Sep 2022 08:47:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.105
X-Spam-Level:
X-Spam-Status: No, score=-2.105 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, 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=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=oracle.com header.b=zM5b9EOJ; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.b=bT/1UlaJ
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 rilVu1W7yhuk for <nfsv4@ietfa.amsl.com>; Fri, 23 Sep 2022 08:47:50 -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 252EFC14CE26 for <nfsv4@ietf.org>; Fri, 23 Sep 2022 08:47:48 -0700 (PDT)
Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 28NFg0ZR022484; Fri, 23 Sep 2022 15:47:46 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 : content-id : content-transfer-encoding : mime-version; s=corp-2022-7-12; bh=rO6A/9P1Eyqo6PPkKCijlgNybvOhpljxdFv17xsXeZ4=; b=zM5b9EOJWCrdaob9Ae+xAB1jenus3kVNFiU10MyOTnn9ZWf2Oh5A2f03AvJbxIlPkw71 PQoFtTbKhJaFnD19dfQcMt+nq0bm22HeTNaxzIINakIRt8lzawFNz4PrSXlLQSS4iaVL XmCaDbJc2YE2oXCWu0+84FzDZyLyOix9DnwphIRT23tcAYUUgdGAobSHOkrSycdwPVSC l9HmDNPhzzUQ+P7iQngvmXZTZCuUkqiq/ha5DyVBo3Pw/3444EF2AyJBRJ3D4aZ/PjXc zqoxq4Be2nUHGeymJoba/ruWV6MNUe8S6I1oa59I/VCI/7im1qqq/VfKdytNJenftRPU 2g==
Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3jn68rrvhn-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 23 Sep 2022 15:47:46 +0000
Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 28NDrq7b001857; Fri, 23 Sep 2022 15:33:16 GMT
Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2177.outbound.protection.outlook.com [104.47.59.177]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3jp39u0kvh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 23 Sep 2022 15:33:16 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BFde+3zKW+4AQ0uLWWxOiHlMd3WBeOJrp9dvqNTSElBtQRUcPtdTmEIF2FYB2csMSAj+T6Gs/ZQpB8sGn5QcSDyHuC7UKAyCNUFRTPhaRpbZBk3uTlNeCh0ClYTiW6eEXDbNUt6QN5tP/jPdKek/XBWrTlY4pWfyClOyZfp0M0qI3ATH79Mi9U5p6bY62xKgJs27ESk19zCdxlNZ3fhp/tFWuXG/mEL9FAx+U5ol1u1wLzd7RpircOEf3FLrLeZtFWEdUbKpHX+W0j/QxHVIFhZJb9l+6Y9pnMlpC5Oe4epFpig6oE6iYC41ZFQmlyVWOLgs7C3OMWeYLYPWH2eeJw==
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=rO6A/9P1Eyqo6PPkKCijlgNybvOhpljxdFv17xsXeZ4=; b=En7b6qeC4onaTPwWfAHDaWtB/kVDtzcDUG+DgsPEfUjuaASPIWja5z47jwLUGB5slvnWRA0cQNk30PzE2N+rw8W0z9k63D24gzFpWjKpXwsYpKkeazHqYLIi4+tXqOlpA6gPTePJuErYHUK6cfbfmkvhcOjqGeSZE3w8x/ciBA8hn5kf+4gFBWufwQ9NpDtCa5k5pDj88ROtjOzaPVF1lgHFI4b0q0imfBLWFg3hPwCKwCjHEGEgv0zVopuQQTIZWnF77J1xviurrragcA2lt05EtuyO51V/Ia3WEHoyWestnwXu47ph6XSgqo6vAzgCjsV0/B9ZPAq4JaHhEpJEWg==
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=rO6A/9P1Eyqo6PPkKCijlgNybvOhpljxdFv17xsXeZ4=; b=bT/1UlaJvmYBxL9pV9AHs9w4yW5uMw8hHwk5yhdAw3VpjhC4yVp7WYCG56YFFayyVamnP3Wx/DgiZvyR2d+czM4TFU2Qs8U5aknF57FknUS/z/S3V5IsqlrZHB+eQw2SZab+ZsRGIKepdaTJPPU1G6TDlkaDZPxKiKOm9Wupj+k=
Received: from BN0PR10MB5128.namprd10.prod.outlook.com (2603:10b6:408:117::24) by SN4PR10MB5624.namprd10.prod.outlook.com (2603:10b6:806:20b::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5632.21; Fri, 23 Sep 2022 15:33:14 +0000
Received: from BN0PR10MB5128.namprd10.prod.outlook.com ([fe80::25d6:da15:34d:92fa]) by BN0PR10MB5128.namprd10.prod.outlook.com ([fe80::25d6:da15:34d:92fa%5]) with mapi id 15.20.5654.020; Fri, 23 Sep 2022 15:33:14 +0000
From: Chuck Lever III <chuck.lever@oracle.com>
To: David Noveck <davenoveck@gmail.com>
CC: NFSv4 <nfsv4@ietf.org>
Thread-Topic: [nfsv4] New section 12 for internationalization document
Thread-Index: AdjCNanQdCBsiCA2TAevhElqSILhfQEtplqAABjRHQACBJDNgA==
Date: Fri, 23 Sep 2022 15:33:14 +0000
Message-ID: <E621D625-011D-41A9-A5E9-AED993FED1F7@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_|SN4PR10MB5624:EE_
x-ms-office365-filtering-correlation-id: 09334d4f-3cee-4b99-860e-08da9d78ee30
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: n7H4effl0c1ylvL36vEfEa2teVO6fIpsKbYkgAwUV3lLah9KnxMvFDQrZ5/t+XTW4wvO1V2bHb9FsfPmaHMDEGZKDXtalQ07LRVeBDRszivP8644gn6MpucO2qWocx2EaCKz/iU67rZhzQNRYVYEWONDF5ytSJI8tcdRDGttooLKgiPcnzAGVkj06Fva55RZwHf/qnU6R5p91R3ptpZkxaIcvXXNcZLLV5i8oZGl6NkbAKojpFwdf9XP+28If4VTDuRPvupeibLZaCpIxJdh7J/6OfBCArWfMad6mJGN+cBGi5C+YBPK+KamGLII71FDSkCcyHIrHgcGHPOkVBFs6MwNZWcLXEgMIZ73dzJdMOxIWB5HaSQkBMMC1flnCzMStQsZCG3tygsu6Rmv1ee1lD6vdy+hd1CDCgaLgDT7ry/qnZ9LBiM9jOpZeTjIwVtHgOtnnaVAi1wIrEj4RhKb9P0MX8R+CqraMQkzcWi8O7FvLBcAI+fyjad7R7j4iimRE/QC3CW8dOJ/lOQH25eZqjyY2EdSD6Ued9vohf268Kz5BZ+casrlfxkWxJiROJhmKtuthSkSUl8l4b7Kxij1RTF4kd58+fFQ2qg77ZifRRR/RqQ39RCoXodC5t2MkF+sH2lcJV5gr0dZ88FEZFfWT6NSzdTvjrU0ivel1751YEmrksDcFI724LBQa2P9/jTGXrb1lYij5YK0MsV87TLqHyXbrIuEtNNFCub8xFZwijDso+RIXyGPKcnD4SN57m6/lPRpS1RFgvkIlory2X5VFsVwnHU2t6NkMDKJFHyXUiA=
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)(39860400002)(396003)(346002)(136003)(366004)(376002)(451199015)(86362001)(38070700005)(76116006)(5660300002)(122000001)(4326008)(8676002)(66556008)(66476007)(66946007)(66446008)(6916009)(316002)(41300700001)(64756008)(478600001)(2906002)(71200400001)(6512007)(2616005)(38100700002)(6506007)(91956017)(6486002)(186003)(26005)(53546011)(33656002)(8936002)(36756003)(45980500001); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: 8nBems+6/zT/iHv8OkYumnT8LHic0iFvj+FKGD6IdrFvNEa2XFqAky7g73TMjmoXvCnScuS87SUlHGNMOeA2nBVuyHOUTKCDoptfxVT5FMPqCEAdNnVajWsle+/nidqUpQOXDzh5A43N7aKYVHJXVw4VK75nCy2HuLipGPKYNXP45q2iXzTMtEauVGzCczFlYMFeICcpjcmV/jANme7lqiYTBVA4ZxEDBfWZqHZwYkz+tmOOnV8X53fleZ8G9fbGpiklePn9X1Je2lVkj/Vq4zxaVxQky+/lVBb/2HupJRcdy5nCDCF3StdvOqZJZsy1cTEP0aekoOwGyUgXI0ITBBpFjVwMgbdjNrY3NnNGhPZ+MH/N+ed+EqlwHezwIbGQDEz2lXz/Vz/umDahLnx1ZJ0J0yuuAlo+n5sBDiOBTp5V7owIJXHiPvBjpADxM7FkJJxi+3x8PpXwcgqm9emO5YQk7vcsaH3yH42O6KeSG4njDX1vwK/lYYlwVR2DUL5vV7VmUPpZpfAjCF2RLRQD30BtyIYuC/VYnSJgP3RMojMT+j1OxDTLcuX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utf-8"
Content-ID: <7E6269DC66F1E348B00515505A7645E6@namprd10.prod.outlook.com>
Content-Transfer-Encoding: base64
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: 09334d4f-3cee-4b99-860e-08da9d78ee30
X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Sep 2022 15:33:14.3671 (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: YDOIkq1k4ek9fYYzsN4XD8Ij1yWHB0BfNj98W3u4AIh6gWOaI2uCllHvtKKfq+q+zvK/E5pnUjbBXN8h3RHv5Q==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN4PR10MB5624
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-23_04,2022-09-22_02,2022-06-22_01
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 adultscore=0 phishscore=0 bulkscore=0 malwarescore=0 spamscore=0 suspectscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2209230100
X-Proofpoint-GUID: MnlSBFAv_fgTiy1ZFtwj1aU-07Jlt1z0
X-Proofpoint-ORIG-GUID: MnlSBFAv_fgTiy1ZFtwj1aU-07Jlt1z0
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/DvDc9It3OgxRbDhynpoHPE-exhs>
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: Fri, 23 Sep 2022 15:47:54 -0000

> On Sep 13, 2022, at 5:02 AM, David Noveck <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?


Network capture details are available; email me privately. Summary below.


###
### Internationalized domain names and Oracle Linux NFS
###

Investigated on Oracle Linux 8.6 UEK6/UEK7 with nfs-utils-2.3.3-51.

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

1) idmapd.conf(5) and nfsidmap(5) accept and store both internationalized
domain names, IDN ( GermanäÄüÜöÖ߀.domain.de ) and Punycode transcripted domain
names ACE-strings ( xn--german-gta3ba4pa4ea5864i.domain.de ) for the 
systems NFSv4 domain.

2) nfsidmap(5)

Does accept both IDNs and Punycode ACE strings as domainnames.

3) NFS OTW

As can be observed with tcpdump(8) and tshark(1) both 
IDN or ACE string representation being used in the configuration,
are send IDNs OTW. Ie. the domainname including German Umlauts as IDN
is usable in the same way as its Punycode transcription in the
configuration.

4) noteworthy:

When performing the IDN testing I noted some odd behavior in
the network traces. In this case the servers READDIR reply for example
presented a mix of the IDN domain and the DNS domain as you can
see here for the Owner using the DNS domain and for the
Owner_Group using the IDN domain [1]:

<snip>
                      reco_attr: Owner (36)
                            fattr4_owner: fbatschu@fritz.box
                                length: 18
                                contents: fbatschu@fritz.box
                                fill bytes: opaque data
                        reco_attr: Owner_Group (37)
                            fattr4_owner_group: fbatschu@German���������
                                length: 42
                                contents: fbatschu@German���������
                                fill bytes: opaque data
<snip end>

in contrast, the servers READDIR reply when the ACE-string configuration
was tested, I've seen consistent results:

<snip>
                        reco_attr: Owner (36)
                            fattr4_owner: fbatschu@German���������
                                length: 42
                                contents: fbatschu@German���������
                                fill bytes: opaque data
                        reco_attr: Owner_Group (37)
                            fattr4_owner_group: fbatschu@German���������
                                length: 42
                                contents: fbatschu@German���������
                                fill bytes: opaque data
<snip end>

Or another test [2] with IDN domain that showed this READDIR reply
from the server, using the ACE-string instead, from where - I don't know?

<snip>
                        reco_attr: Owner (36)
                            fattr4_owner: fbatschu@xn--german-gta3ba4pa4ea5864i.domain.de
                                length: 47
                                contents: fbatschu@xn--german-gta3ba4pa4ea5864i.domain.de
                                fill bytes: opaque data
                        reco_attr: Owner_Group (37)
                            fattr4_owner_group: fbatschu@xn--german-gta3ba4pa4ea5864i.domain.de
                                length: 47
                                contents: fbatschu@xn--german-gta3ba4pa4ea5864i.domain.de
                                fill bytes: opaque data
<snip end>


--
Chuck Lever