[Hipsec] rfc5201-bis-04 internationalized domain names

Samu Varjonen <samu.varjonen@hiit.fi> Mon, 14 March 2011 01:43 UTC

Return-Path: <samu.varjonen@hiit.fi>
X-Original-To: hipsec@core3.amsl.com
Delivered-To: hipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E7A813A6AB7 for <hipsec@core3.amsl.com>; Sun, 13 Mar 2011 18:43:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L8nHNrwlxXPH for <hipsec@core3.amsl.com>; Sun, 13 Mar 2011 18:43:43 -0700 (PDT)
Received: from argo.otaverkko.fi (argo.otaverkko.fi [212.68.0.2]) by core3.amsl.com (Postfix) with ESMTP id D55933A6AAC for <hipsec@ietf.org>; Sun, 13 Mar 2011 18:43:42 -0700 (PDT)
Received: from [192.168.0.10] (cs181123051.pp.htv.fi [82.181.123.51]) by argo.otaverkko.fi (Postfix) with ESMTP id 243DF25EDDC for <hipsec@ietf.org>; Mon, 14 Mar 2011 03:45:04 +0200 (EET)
Message-ID: <4D7D730F.5050800@hiit.fi>
Date: Mon, 14 Mar 2011 03:44:47 +0200
From: Samu Varjonen <samu.varjonen@hiit.fi>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; fi; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9
MIME-Version: 1.0
To: hipsec@ietf.org
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Subject: [Hipsec] rfc5201-bis-04 internationalized domain names
X-BeenThere: hipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "This is the official IETF Mailing List for the HIP Working Group." <hipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/hipsec>, <mailto:hipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hipsec>
List-Post: <mailto:hipsec@ietf.org>
List-Help: <mailto:hipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hipsec>, <mailto:hipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Mar 2011 01:43:44 -0000

Hi,

Draft-ietf-hip-rfc5201-bis includes the following text in section 5.2.8.

"The format for the FQDN is defined in RFC 1035 [RFC1035] Section 3.1.
The format for the NAI is defined in [RFC4282]"

 From these references the RFC4282 supports internationalized usernames
and internationalization of the realm portion. RFC1035 defines the
domain names as sequences of ASCII only labels.

I propose the addition of the support for internationalized domain names 
for HOST_ID. This would mean the following modification to the 
draft-ietf-hip-rfc5201-bis section 5.2.8.

"
The format for the FQDN is defined in [RFC1035] Section 3.1.
Internationalized Domain Names (IDNs) MAY be included in the Domain
Identifier (DI). Conforming implementations MUST convert IDNs to the
ASCII compatible Encoding (ACE) format as specified in Section 4 of
[RFC3490] before storage to the DI. When comparing the FQDNs for
equality, conforming implementations MUST perform a case-insensitive
exact match on the entire FQDN. Conforming implementations should
convert IDNs to Unicode before display by performing the conversion
operation specified in Section 4 of [RFC3490]. The non-conforming
implementations may identify IDNs by checking the inclusion of the IDN
ACE label additional characters "xn--" in any capitalization. All
implementations MUST allow for increased space requirements for IDNs in 
the DI.

The format and internationalization for NAI is defined in [RFC4282].
"

Comments and a sanity check would be appreciated.

BR,
Samu Varjonen