Re: [dnsext] does making names the same NEED protocol changes at all?

Andrew Sullivan <ajs@shinkuro.com> Fri, 25 February 2011 19:20 UTC

Return-Path: <dnsext-bounces@ietf.org>
X-Original-To: namedroppers-archive-gleetwall6@lists.ietf.org
Delivered-To: ietfarch-namedroppers-archive-gleetwall6@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id AEE6A3A67E2; Fri, 25 Feb 2011 11:20:10 -0800 (PST)
X-Original-To: dnsext@core3.amsl.com
Delivered-To: dnsext@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3B8DF3A67E2 for <dnsext@core3.amsl.com>; Fri, 25 Feb 2011 11:20:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.585
X-Spam-Level:
X-Spam-Status: No, score=-103.585 tagged_above=-999 required=5 tests=[AWL=1.014, BAYES_00=-2.599, GB_I_LETTER=-2, USER_IN_WHITELIST=-100]
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 nDwsJ-5Rys+g for <dnsext@core3.amsl.com>; Fri, 25 Feb 2011 11:20:08 -0800 (PST)
Received: from mail.yitter.info (mail.yitter.info [208.86.224.201]) by core3.amsl.com (Postfix) with ESMTP id 42BAF3A6840 for <dnsext@ietf.org>; Fri, 25 Feb 2011 11:20:08 -0800 (PST)
Received: from crankycanuck.ca (69-196-144-230.dsl.teksavvy.com [69.196.144.230]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.yitter.info (Postfix) with ESMTPSA id CC0741ECB408 for <dnsext@ietf.org>; Fri, 25 Feb 2011 19:21:00 +0000 (UTC)
Date: Fri, 25 Feb 2011 14:20:59 -0500
From: Andrew Sullivan <ajs@shinkuro.com>
To: dnsext@ietf.org
Message-ID: <20110225192058.GU74938@shinkuro.com>
References: <5A100E65-FB09-4556-AA5A-BF9FE0468DDA@ICSI.Berkeley.EDU> <AANLkTikECGtJm5WyDnX=s8zTERu89qLbFDebf8R1y4Pa@mail.gmail.com> <6AD400292B2C771C7FE70E8F@Ximines.local> <20110225143043.GB74938@shinkuro.com> <AANLkTimfhfsj65Vec61-_Q18+RoC1144Zf1E2bQhvt18@mail.gmail.com> <alpine.LSU.2.00.1102251653290.5244@hermes-1.csi.cam.ac.uk> <AANLkTinvqqGTGPeMXUcAv5iY1KGn_=LwfGr3debWo_GE@mail.gmail.com> <F87B152F-4941-4B6D-8DC1-4F7D60198DA7@icsi.berkeley.edu> <20110225184838.GS74938@shinkuro.com> <A6CD428C-2D90-44DE-B623-26E80828677B@icsi.berkeley.edu>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <A6CD428C-2D90-44DE-B623-26E80828677B@icsi.berkeley.edu>
User-Agent: Mutt/1.5.18 (2008-05-17)
Subject: Re: [dnsext] does making names the same NEED protocol changes at all?
X-BeenThere: dnsext@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: DNS Extensions working group discussion list <dnsext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/dnsext>, <mailto:dnsext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dnsext>
List-Post: <mailto:dnsext@ietf.org>
List-Help: <mailto:dnsext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsext>, <mailto:dnsext-request@ietf.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: dnsext-bounces@ietf.org
Errors-To: dnsext-bounces@ietf.org

No hat.

On Fri, Feb 25, 2011 at 10:51:48AM -0800, Nicholas Weaver wrote:
> It is ONLY a point of failure for NeW MiXED CasINGs which appear.  Old ones remain cached.
> 

I'm not exactly sure how you decided that mixed case was a problem we
were going to solve anyway, but let me disabuse you of this.  In the
interests of allowing people to think about the issues, I haven't shut
down the case discussion, but maybe I should have.  It's not something
we actually need to solve.

First, remember that we're actually trying to solve problems in the
DNS generally, and not to solve particular linguistic issues, since we
don't have the expertise for that.  (Indeed, that we're wasting time
exploring this rathole is evidence of it, since a large number of the
"variant" cases for which we might need a solution don't have anything
to do with case.  Chinese, to pick the obvious example, isn't even
alphabetic.)

Now, there simply is no problem in English: mixed case already
matches.

The rest of the possible target cases occur under IDNA.  And in IDNA,
there is no problem of case.  IDNA2003 maps all upper case to lower
case, and does the lookup.  Under IDNA2008, upper case is simply
DISALLOWED, so it never gets looked up.  It is presumed (but not
actually part of the protocol) that applications will do
locale-appropriate case conversion prior to lookup.  (Note that there
are important subtleties involved here that I am quickly waving away
as detail, but which matter up in the application layer.  For
instance, downcasing, upcasing, and normalization for comparison might
yield different and, to anglophones, surprising results.)

There are problems which happen to have their expression in the
results of case conversion.  

In Greek, there is one GREEK CAPITAL LETTER SIGMA, but GREEK SMALL
LETTER FINAL SIGMA and GREEK SMALL LETTER SIGMA.  In upper case a
sigma in the final position will be the identical Unicode code point
to an upper case medial form sigma; but when they are downcased, one
of those should become one code point and the other should become
another code point.  This _is_ a problem.  People might try to look up
a label, [GREEKLETTERS][GREEK CAPITAL LETTER SIGMA].  Now you need to
have [greekletters][GREEK SMALL LETTER FINAL SIGMA] and
[greekletters][GREEK SMALL LETTER SIGMA] mapped to one another
transparently, because it is unpredictable what will actually be the
U-label that gets converted to the A-label before it gets looked up
when the application maps [GREEKLETTERS][GREEK CAPITAL LETTER SIGMA].
(Or rather, it might be.  The applications might actually all do this
correctly, for all anyone knows.)

But as you can see, we can discuss all of that without recourse to the
specifics of the language, since the actual issue is that a zone
administrator knows a label to label mapping of the items.

Clearer now?

A

-- 
Andrew Sullivan
ajs@shinkuro.com
Shinkuro, Inc.
_______________________________________________
dnsext mailing list
dnsext@ietf.org
https://www.ietf.org/mailman/listinfo/dnsext