Re: [port-srv-reg] Four final points for discussion

Stuart Cheshire <cheshire@apple.com> Tue, 07 September 2010 23:16 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 533F73A6AA3 for <port-srv-reg@core3.amsl.com>; Tue, 7 Sep 2010 16:16:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.996
X-Spam-Level:
X-Spam-Status: No, score=-106.996 tagged_above=-999 required=5 tests=[AWL=1.603, BAYES_00=-2.599, GB_I_LETTER=-2, 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 EGjjIL-MwJ87 for <port-srv-reg@core3.amsl.com>; Tue, 7 Sep 2010 16:16:03 -0700 (PDT)
Received: from mail-out4.apple.com (mail-out4.apple.com [17.254.13.23]) by core3.amsl.com (Postfix) with ESMTP id 9E0023A6AC0 for <port-srv-reg@ietf.org>; Tue, 7 Sep 2010 16:16:01 -0700 (PDT)
Received: from relay16.apple.com (relay16.apple.com [17.128.113.55]) by mail-out4.apple.com (Postfix) with ESMTP id 249C8ADC1E59; Tue, 7 Sep 2010 16:16:30 -0700 (PDT)
X-AuditID: 11807137-b7b43ae00000547d-ef-4c86c7cea9c8
Received: from [17.202.46.71] (chesh1.apple.com [17.202.46.71]) by relay16.apple.com (Apple SCV relay) with SMTP id FD.3A.21629.EC7C68C4; Tue, 7 Sep 2010 16:16:30 -0700 (PDT)
In-Reply-To: <4C80B256.3090007@isode.com>
References: <6EC7B8A7-C3B3-4E63-85A9-0DC31F4D45B4@nokia.com> <5D2DD7D7-A429-4CFC-BD27-EF09CEF5AE1B@apple.com> <29A788ED-1768-4BD8-B0BA-0D79C7B9843B@nokia.com> <4C80B256.3090007@isode.com>
Mime-Version: 1.0 (Apple Message framework v753.1)
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id: <820B0E63-61CA-490F-9D3B-91E0D7830BA2@apple.com>
Content-Transfer-Encoding: 7bit
From: Stuart Cheshire <cheshire@apple.com>
Date: Tue, 7 Sep 2010 16:16:28 -0700
To: Alexey Melnikov <alexey.melnikov@isode.com>
X-Mailer: Apple Mail (2.753.1)
X-Brightmail-Tracker: AAAAAA==
Cc: "port-srv-reg@ietf.org" <port-srv-reg@ietf.org>
Subject: Re: [port-srv-reg] Four final points for discussion
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: Tue, 07 Sep 2010 23:16:04 -0000

On 3 Sep, 2010, at 01:31, Alexey Melnikov wrote:

>>> 2. Service Name Rules
>>>
>>> I liked Joe's earlier suggestion to disallow all-numeric service  
>>> names, to avoid service names that look like a numeric port  
>>> number. However, even with that rule, we still allow service  
>>> names like this: "6000-6063" (looks like the X Window System port  
>>> range). Do we care? We could prevent that by requiring that all  
>>> service names contain at least one alphabetic character.
>>>
>> I like that proposal.
>>
> Fine with me.


I've made this change. The text now says:

    Valid service names:

    o  MUST be at least 1 character and no more than 15 characters long

    o  MUST contain only US-ASCII [ANSI.X3-4.1986] letters 'A' - 'Z' and
       'a' - 'z', digits '0' - '9', and hyphens ('-', ASCII 0x2D or
       decimal 45)

    o  MUST contain at least one letter ('A' - 'Z' or 'a' - 'z')

    o  MUST NOT begin or end with a hyphen

    The reason for requiring at least one letter is to avoid service
    names like "23" (could be confused with a numeric port number) or
    "6000-6063" (could be confused with a numeric port number range).
    Although service names may contain both upper-case and lower-case
    letters, case is ignored for comparison purposes, so both "http" and
    "HTTP" denote the same service.

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