Re: [port-srv-reg] "assigned" ( vs. "registered"), and related issues

Alfred Hönes <ah@TR-Sys.de> Mon, 11 January 2010 15:09 UTC

Return-Path: <A.Hoenes@TR-Sys.de>
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 29E693A67E9; Mon, 11 Jan 2010 07:09:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.604
X-Spam-Level:
X-Spam-Status: No, score=0.604 tagged_above=-999 required=5 tests=[AWL=-0.647, BAYES_00=-2.599, CHARSET_FARAWAY_HEADER=3.2, HELO_EQ_DE=0.35, MIME_8BIT_HEADER=0.3]
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 UMWPv667ggSI; Mon, 11 Jan 2010 07:09:15 -0800 (PST)
Received: from TR-Sys.de (gateway.tr-sys.de [213.178.172.147]) by core3.amsl.com (Postfix) with ESMTP id 5281A3A67A7; Mon, 11 Jan 2010 07:09:13 -0800 (PST)
Received: from ZEUS.TR-Sys.de by w. with ESMTP ($Revision: 1.37.109.26 $/16.3.2) id AA165432522; Mon, 11 Jan 2010 16:08:42 +0100
Received: (from ah@localhost) by z.TR-Sys.de (8.9.3 (PHNE_25183)/8.7.3) id QAA08192; Mon, 11 Jan 2010 16:08:36 +0100 (MEZ)
From: Alfred =?hp-roman8?B?SM5uZXM=?= <ah@TR-Sys.de>
Message-Id: <201001111508.QAA08192@TR-Sys.de>
To: lars.eggert@nokia.com
Date: Mon, 11 Jan 2010 16:08:36 +0100 (MEZ)
In-Reply-To: <D0C0A51B-5A8A-414E-9E56-033EFA8ED71C@nokia.com> from Lars Eggert at Jan "11, " 2010 "02:46:22" pm
X-Mailer: ELM [$Revision: 1.17.214.3 $]
Mime-Version: 1.0
Content-Type: text/plain; charset=hp-roman8
Content-Transfer-Encoding: 8bit
Cc: port-srv-reg@ietf.org, apps-discuss@ietf.org, tsvwg@ietf.org
Subject: Re: [port-srv-reg] "assigned" ( vs. "registered"), and related issues
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: Mon, 11 Jan 2010 15:09:16 -0000

Lars,
please read on and do not respond again without taking into account
the whole explanations given.


At Mon, 11 Jan 2010 14:46:22 +0200, Lars Eggert wrote:

> On 2010-1-11, at 14:27, ah@tr-sys.de wrote:
>> ...
>> (2)
>> It also should be pointed out that in the most recent predraft
>> I've seen (December 2, 2009 version), there still is no possibility
>> in the proposed registration template to distinguish between
>> a request for a Well Known port number without a proposed value and
>> a request for a Registered Port without a proposed port number --
>> both have to supply "Port Number: ANY".
> 
> And that's on purpose: for both regions of the port number space,
> requesters may (but need not) suggest a number

Agreed so far. But that's not been the question here.
Please do not ignore the second part of the complete explanation
from my original message!

Here is the part you snipped off:
(cf. http://www.IETF.ORG/mail-archive/web/port-srv-reg/current/msg00386.html)

>> The distinction is clear whenever a value is proposed (requested?).
>> In the past, I already had proposed (at least twice) to introduce
>> something like "ANY-WELL-KNOWN" as an alternative meta-value for
>> the Port Number field to make it clear to IANA what is requested.
>> Alternatively, a distinct field "Port Range" could be added to
>> the Registration template for this purpose.

If no specific port number is specified in the request to IANA,
how can IANA determine which port *range* to use for the assignment ?

That's the question for which I see no answer in the text of
Section 8.1 (unless it has been changed since we have been
provided with a working copy dated Dec. 2).

The two alternate proposals I made for the registration template were:
a)  admit for "Port Number" the following three answers:
    - a specific port number
    - "ANY-WELL-KNOWN"    if the request is for a port in the 1-1023
                          range, without a specific preferred value
    - "ANY"               if the request is for a port in the 1k-48k
                          range without a specific preferred value
b)  leave the "Port Number" field 'as is', but add a
    "Port Range" field  ( or maybe  Well-Known Port: Yes/No )


>> (3)
>> Furthermore, to make sensible use of Service Names w/o assigned
>> port number, the Transport Protocol(s) field should not be made
>> optional (as in the predraft I got), but mandatory; otherwise
>> the clarified rules for SRV owner naming would lack a fundament.
>
> Why? A service name is a name for a service, and not for a
> service/transport combination.
>
> Lars

Simply because service discovery is (service+protocol)-specific.
That's why (RFC 2052 and then its successor) RFC 2782 makes use of
combined Service Prefixes in the owner names of DNS SRV records.

Again, you have snipped of the lines saying so:
>> (The need for having registered {Service Name, Protocol} pairs was
>> the main reason for the original Service Prefix registry proposal.)

That's been explained at length in our original draft, and it is
explained again in draft-gudmundsson-dnsext-srv-clarify-00 :
DNS admins need the list of "reasonable" Service Prefixes (built
from supported {Service Nmae, Protocol} pairs) they should allow
without additional clarification in the zones they provide.
Prospective clients need to know for which names they can reasonably
try to look up SRV records, without wasting resources and time
(note that each DNS query can only contain a single question,
for a single owner name).

tsvwg-iana-ports departs from the previous paradigm to register any
port number for *all* transport protocols at once, with good reasons.
The same reasons hold for services without assigned port numbers.
The Service Name alone does not lead to a reasonable Service Prefix,
just like the local-part of a mailbox does not suffice for a globally
useful email address -- the RHS (domain) part is needed as well.

I understood (also from what has been reported from Hiroshima) that you
did not like the standalone IANA registry of valid Service Prefixes
proposed in draft-gudmundsson-dns-srv-iana-registry, based on the
argument that the unified Service Names and Port Numbers registry
will provide that information anyway.  We have accepted this argument.
But if that precondition will not be satisfied, these arguments against
draft-gudmundsson-dns-srv-iana-registry would be moot and that draft
would perhaps need to be resurrected.

To restate, once more:  In order to avoid the need for a standalone
registry for DNS SRV Service Prefixes, Service Names in the unified
Service Names and Port Numbers registry *must* be linked to the
relevant Protocol information.


Kind regards,
  Alfred Hönes.

-- 

+------------------------+--------------------------------------------+
| TR-Sys Alfred Hoenes   |  Alfred Hoenes   Dipl.-Math., Dipl.-Phys.  |
| Gerlinger Strasse 12   |  Phone: (+49)7156/9635-0, Fax: -18         |
| D-71254  Ditzingen     |  E-Mail:  ah@TR-Sys.de                     |
+------------------------+--------------------------------------------+