Re: [netmod] rfc6991bis: inet:host
Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Thu, 30 July 2020 13:44 UTC
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4D33C3A1160 for <netmod@ietfa.amsl.com>; Thu, 30 Jul 2020 06:44:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 gOK2moKjWmgK for <netmod@ietfa.amsl.com>; Thu, 30 Jul 2020 06:44:07 -0700 (PDT)
Received: from atlas5.jacobs-university.de (atlas5.jacobs-university.de [212.201.44.20]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 218DD3A1143 for <netmod@ietf.org>; Thu, 30 Jul 2020 06:44:06 -0700 (PDT)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas5.jacobs-university.de (Postfix) with ESMTP id 3F6E282F for <netmod@ietf.org>; Thu, 30 Jul 2020 15:44:05 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas5.jacobs-university.de ([10.70.0.198]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10032) with ESMTP id e_af_UeeqcFS for <netmod@ietf.org>; Thu, 30 Jul 2020 15:44:04 +0200 (CEST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hermes.jacobs-university.de", Issuer "DFN-Verein Global Issuing CA" (verified OK)) by atlas5.jacobs-university.de (Postfix) with ESMTPS for <netmod@ietf.org>; Thu, 30 Jul 2020 15:44:04 +0200 (CEST)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by hermes.jacobs-university.de (Postfix) with ESMTP id D6B0920154 for <netmod@ietf.org>; Thu, 30 Jul 2020 15:44:04 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10028) with ESMTP id eS1TPig2Q0u0; Thu, 30 Jul 2020 15:44:04 +0200 (CEST)
Received: from localhost (anna.jacobs.jacobs-university.de [10.50.218.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by hermes.jacobs-university.de (Postfix) with ESMTPS id 7C843200E4; Thu, 30 Jul 2020 15:44:04 +0200 (CEST)
Date: Thu, 30 Jul 2020 15:44:04 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: netmod@ietf.org
Message-ID: <20200730134404.5w7lubdccjmkjcfe@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: netmod@ietf.org
References: <20200722110030.6c7r6utxgjbsilkq@anna.jacobs.jacobs-university.de> <ff42e4cb-957c-a4f0-a88b-333a6565ed8e@nic.cz> <20200724083617.u3wkr34ehjezmusq@anna.jacobs.jacobs-university.de> <87a6zmifpo.fsf@nic.cz> <20200726202427.oqythl6sggm4uzxe@anna.jacobs.jacobs-university.de> <87wo2p8hnw.fsf@nic.cz> <20200727104412.jxgocoaxi2u6pula@anna.jacobs.jacobs-university.de> <2521f17d-c105-503a-1fc6-4f3ecaf6e58b@nic.cz> <20200728151033.wdjojzrlffh6sebu@anna.jacobs.jacobs-university.de> <87o8nyh6x1.fsf@nic.cz>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <87o8nyh6x1.fsf@nic.cz>
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/u1-_LVB4AhtehaOu3901Oh_-G0k>
Subject: Re: [netmod] rfc6991bis: inet:host
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 30 Jul 2020 13:44:09 -0000
On Wed, Jul 29, 2020 at 01:55:38PM +0200, Ladislav Lhotka wrote: > Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> writes: > > >> If we want to allow non-ASCII names, then it would IMO be safer to use a > >> type that expects straight Unicode for lexical representation and leave > >> it to the implementations to convert to Punycode where necessary, e.g. > >> when querying DNS. > > > > Perhaps. But I am not sure this is the time to fix this or how this > > can be done in a backwards compatible way. At least this likely can't > > be done by disallowing ACE. It may be possible to add an additional > > member to the inet:host union that catches internationalized names. > > I think it would be better to have an extra set of parallel definitions such as idn-domain-name, or perhaps u-domain-name. > So if we define idn-domain-name, what do we do with your hostname? Have hostname derived from domain-name (as discussed before) with typedef host { type union { type inet:ip-address; type inet:host-name; } and we add typedef idn-host { type union { type inet:ip-address; type inet:idn-hostname; } and then YANG module writers can opt-in to use the new definition if they want idn host names without requiring ACE encoding? > Lada > > > Since this would be enlarging the value space, I believe this is > > inline with the spirit of section 11 of RFC 7950. Removing the ACE > > names, however, restricts the value space and hence seem to contradict > > section 11 of RFC 7950. (The explicit removal of underscore and single > > letter hostnames may be considered a clarification since we have other > > RFCs stating these constraints.) > > > > /js > > > > -- > > Juergen Schoenwaelder Jacobs University Bremen gGmbH > > Phone: +49 421 200 3587 Campus Ring 1 | 28759 Bremen | Germany > > Fax: +49 421 200 3103 <https://www.jacobs-university.de/> > > -- > Ladislav Lhotka > Head, CZ.NIC Labs > PGP Key ID: 0xB8F92B08A9F76C67 -- Juergen Schoenwaelder Jacobs University Bremen gGmbH Phone: +49 421 200 3587 Campus Ring 1 | 28759 Bremen | Germany Fax: +49 421 200 3103 <https://www.jacobs-university.de/>
- [netmod] rfc6991bis: inet:host Juergen Schoenwaelder
- Re: [netmod] rfc6991bis: inet:host tom petch
- Re: [netmod] rfc6991bis: inet:host Ladislav Lhotka
- Re: [netmod] rfc6991bis: inet:host Juergen Schoenwaelder
- Re: [netmod] rfc6991bis: inet:host Ladislav Lhotka
- Re: [netmod] rfc6991bis: inet:host tom petch
- Re: [netmod] rfc6991bis: inet:host Juergen Schoenwaelder
- Re: [netmod] rfc6991bis: inet:host Ladislav Lhotka
- Re: [netmod] rfc6991bis: inet:host Juergen Schoenwaelder
- Re: [netmod] rfc6991bis: inet:host Juergen Schoenwaelder
- Re: [netmod] rfc6991bis: inet:host Erik Auerswald
- Re: [netmod] rfc6991bis: inet:host Juergen Schoenwaelder
- Re: [netmod] rfc6991bis: inet:host Ladislav Lhotka
- Re: [netmod] rfc6991bis: inet:host Juergen Schoenwaelder
- Re: [netmod] rfc6991bis: inet:host Ladislav Lhotka
- Re: [netmod] rfc6991bis: inet:host Juergen Schoenwaelder
- Re: [netmod] rfc6991bis: inet:host Ladislav Lhotka
- Re: [netmod] rfc6991bis: inet:host Juergen Schoenwaelder
- Re: [netmod] rfc6991bis: inet:host Ladislav Lhotka
- Re: [netmod] rfc6991bis: inet:host Juergen Schoenwaelder
- Re: [netmod] rfc6991bis: inet:host Ladislav Lhotka