Re: [port-srv-reg] we need to make progress

Stuart Cheshire <cheshire@apple.com> Fri, 03 September 2010 06:49 UTC

Return-Path: <cheshire@apple.com>
X-Original-To: port-srv-reg@core3.amsl.com
Delivered-To: port-srv-reg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 298363A67F6 for <port-srv-reg@core3.amsl.com>; Thu, 2 Sep 2010 23:49:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.11
X-Spam-Level:
X-Spam-Status: No, score=-105.11 tagged_above=-999 required=5 tests=[BAYES_05=-1.11, RCVD_IN_DNSWL_MED=-4, 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 27+Y87Wx3a8S for <port-srv-reg@core3.amsl.com>; Thu, 2 Sep 2010 23:49:18 -0700 (PDT)
Received: from mail-out3.apple.com (mail-out3.apple.com [17.254.13.22]) by core3.amsl.com (Postfix) with ESMTP id 008353A67E3 for <port-srv-reg@ietf.org>; Thu, 2 Sep 2010 23:49:17 -0700 (PDT)
Received: from relay11.apple.com (relay11.apple.com [17.128.113.48]) by mail-out3.apple.com (Postfix) with ESMTP id C49F5A5F82F8 for <port-srv-reg@ietf.org>; Thu, 2 Sep 2010 23:49:47 -0700 (PDT)
X-AuditID: 11807130-b7cf8ae0000058d2-38-4c809a8b7a49
Received: from elliott.apple.com (elliott.apple.com [17.151.62.13]) by relay11.apple.com (Apple SCV relay) with SMTP id 57.5C.22738.B8A908C4; Thu, 2 Sep 2010 23:49:47 -0700 (PDT)
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: text/plain; charset=us-ascii
Received: from [192.168.99.3] (208-106-97-96.dsl.static.sonic.net [208.106.97.96]) by elliott.apple.com (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPSA id <0L8500FF2SAZLZ80@elliott.apple.com> for port-srv-reg@ietf.org; Thu, 02 Sep 2010 23:49:47 -0700 (PDT)
From: Stuart Cheshire <cheshire@apple.com>
In-reply-to: <6EC7B8A7-C3B3-4E63-85A9-0DC31F4D45B4@nokia.com>
Date: Thu, 02 Sep 2010 23:49:47 -0700
Message-id: <58FA4E25-57CE-4D07-BFBA-A708F3616128@apple.com>
References: <6EC7B8A7-C3B3-4E63-85A9-0DC31F4D45B4@nokia.com>
To: port-srv-reg@ietf.org
X-Mailer: Apple Mail (2.1081)
X-Brightmail-Tracker: AAAAAA==
Subject: Re: [port-srv-reg] we need to make progress
X-BeenThere: port-srv-reg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of updates to service name and transport protocol port registry <port-srv-reg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/port-srv-reg>, <mailto:port-srv-reg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/port-srv-reg>
List-Post: <mailto:port-srv-reg@ietf.org>
List-Help: <mailto:port-srv-reg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/port-srv-reg>, <mailto:port-srv-reg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Sep 2010 06:49:20 -0000

On 26 Aug 2010, at 2:53, Lars Eggert wrote:

> Hi,
> 
> in Maastricht, both Stuart and Michelle/Pearl said they had pending changes against -5 (or even -04).
> 
> Can you all please edit them into the XML on our subversion server ASAP, so we know what they are?
> 
> This document needs to get published.

I just checked in a bunch of minor grammatical fixes and wordsmithing, which is great.

Unfortunately, what concerns me is that since the last time I looked at this document a while ago, a bunch of new text has been added, much of which makes no sense to me. Just when I thought we were close to being finished we seem to be going backwards. If we keep adding bad text we're never going to finish.

I'll include the text blocks in question below. What I request is that, unless someone can explain clearly what they mean and why they have to be there, they should be deleted, and then we can be finished.

      <t>For each service name, there may exist zero or more associated port
      number assignments. A port number assignment associated with a service
      name contains the transport protocol, port number and possibly additional
      data, such as a DCCP Service Code.</t>

This implies that a given service name can have *different* port numbers assigned for different transport protocols. If we really want that then a lot of the rest of the document will have to change too. I propose we just delete it.

      For aliases that do not indicate a primary alias, a server is expected
      to register itself under all aliased service names.

This is a terrible idea. Why do we want to advocate that? For aliases that do not indicate a primary alias they just can't do service discovery until the developers make up their minds and pick a primary. (And in any case, I think it's a moot point. How many aliases do we actually have in reality?)

        <t>If the registration request is for a service name alias (see <xref
        target="srvname"/>), IANA needs to confirm with the administrative
        contact for the existing service name whether the registration of the
        alias is appropriate.</t>

This is a worse idea. We should not be allowing registration of new alias names at all.

      <t>The service name syntax MAY be used to validate a service name 
      string, but MUST NOT be used for any other purpose (e.g., 
      delineation). Any system that includes a service name inside a 
      longer string is itself responsible for delineating the service 
      name.  Such systems MUST NOT rely on the syntax of a service name 
      alone for such delineation. </t>

I have no idea what that is talking about. It gives the sense of referring to something in particular, but doesn't actually say what. Regardless, I did my PhD in message framing and the syntax of marking boundaries, and I know of no basis for the claim that paragraph is making.

   SRVNAME = (ALPHA / *([HYPHEN] ALNUM)) /
             (1*DIGIT ((HYPHEN ALNUM) / ALPHA) *([HYPHEN] ALNUM))
   ALNUM   = ALPHA / DIGIT   ; A-Z, a-z, 0-9
   HYPHEN  = %x2d            ; "-" 
   ALPHA   = <See [RFC5234]>
   DIGIT   = <See [RFC5234]>

Why do we have BNF in this document? It's certainly a lot less clear than the plain-English explanation. It's also wrong. I found at least one class of strings that it allows that the plain-English rules do not, and it prohibits at least one class of strings that the plain-English rules allow. The fact that no one else noticed this just proves my point that BNF is impenetrable to normal human beings and almost no one can read that BNF description and understand it. We should delete it.

      <t>The details of how applications make use of DNS SRV should be 
      specified in the documentation set of the application/service.  In 
      the absence of such specification, prospective clients of a given 
      service should not assume the existence of SRV RRs for this 
      service or, if they have indications that this will be the case 
      (e.g., by configuration), must assume the unextended naming scheme 
      from <xref target="RFC2782"/> for service discovery with DNS SRV, 
      i.e., the Service Label is constructed from the Service Name 
      registered in <xref target="PORTREG"/> by prepending a single 
      underscore character ("_").</t>

This is nonsense and must go. What is "the unextended naming scheme"? There's no mention in RFC 2782 of "extended" or "unextended" naming.

Stuart Cheshire <cheshire@apple.com>
* Wizard Without Portfolio, Apple Inc.
* www.stuartcheshire.org