Re: [port-srv-reg] "xmp" service type and the unified IANA Service Name and Port Number Registry

Joe Touch <touch@isi.edu> Wed, 24 August 2011 18:52 UTC

Return-Path: <touch@isi.edu>
X-Original-To: port-srv-reg@ietfa.amsl.com
Delivered-To: port-srv-reg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BE95C21F859F for <port-srv-reg@ietfa.amsl.com>; Wed, 24 Aug 2011 11:52:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level:
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23Ghtss2Ds-z for <port-srv-reg@ietfa.amsl.com>; Wed, 24 Aug 2011 11:52:45 -0700 (PDT)
Received: from darkstar.isi.edu (darkstar.isi.edu [128.9.128.127]) by ietfa.amsl.com (Postfix) with ESMTP id 1F89521F85EC for <port-srv-reg@ietf.org>; Wed, 24 Aug 2011 11:52:45 -0700 (PDT)
Received: from [207.151.143.121] ([207.151.143.121]) (authenticated bits=0) by darkstar.isi.edu (8.13.8/8.13.8) with ESMTP id p7OIrYVo008978 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 24 Aug 2011 11:53:36 -0700 (PDT)
Message-ID: <4E5548AD.9010002@isi.edu>
Date: Wed, 24 Aug 2011 11:53:33 -0700
From: Joe Touch <touch@isi.edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20110812 Thunderbird/6.0
MIME-Version: 1.0
To: David Harrington <ietfdbh@comcast.net>
References: <6BA107CB-7E6F-4720-ABDF-7B0D0733D607@apple.com><4E53BF1F.5040708@krupczak.org><9A7A3E75-3F30-4A39-8D35-94D3C2C9381B@apple.com><20110824024614.GF29306@uncasville.krupczak.org><6128495A-A51C-4259-A3B6-C8933B4BE564@apple.com> <4E5527CD.6050509@isi.edu> <766E3E9B52F74CC9A4DEDE974CE613F6@davidPC>
In-Reply-To: <766E3E9B52F74CC9A4DEDE974CE613F6@davidPC>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-ISI-4-43-8-MailScanner: Found to be clean
X-MailScanner-From: touch@isi.edu
Cc: port-srv-reg@ietf.org
Subject: Re: [port-srv-reg] "xmp" service type and the unified IANA Service Name and Port Number Registry
X-BeenThere: port-srv-reg@ietf.org
X-Mailman-Version: 2.1.12
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/options/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: Wed, 24 Aug 2011 18:52:45 -0000

Hi, David,

On 8/24/2011 11:20 AM, David Harrington wrote:
> Hi all,
>
> I think it would be good not to give Bobby potentially conflicting
> advice.
> So is the agreed-upon advice for him to change his current
> direct-to-port mappings to indirection-by-service-name?

I don't think there ought to be a recommendation on this point from the 
IETF per se. I do think that getservbyname() is ubiquitous and its use 
is good - if not preferred - practice.

> (and to use his new name rather than his old name to resolve this
> naming conflict)

Yes - and he's agreed tot that.

> Can we get that advice documented on the TSV wiki (or in the IANA
> registry)? or is this advice in the iana-ports document already?

Neither of those seem necessary - it's out of scope for both the wiki 
and the registry. It would (and IMO should) be in the user-ports doc 
I've been working on, though.

Joe

>
> dbh
>
>> -----Original Message-----
>> From: port-srv-reg-bounces@ietf.org
>> [mailto:port-srv-reg-bounces@ietf.org] On Behalf Of Joe Touch
>> Sent: Wednesday, August 24, 2011 12:33 PM
>> To: Stuart Cheshire
>> Cc: Bobby Krupczak; port-srv-reg@ietf.org
>> Subject: Re: [port-srv-reg] "xmp" service type and the
>> unified IANA Service Name and Port Number Registry
>>
>>
>>
>> On 8/23/2011 10:41 PM, Stuart Cheshire wrote:
>>> On 23 Aug 2011, at 19:46, Bobby Krupczak wrote:
>> ...
>>>> I use the name in getservbyname()
>>>
>>> My personal view is that getservbyname() is a flawed API with very
>>> limited usefulness. It simply consults the local
>> /etc/services table on
>>> Unix, and, in your case, should always return the fixed
>> constant 5270.
>>> So calling getservbyname("xmp", "tcp") is just a
>> less-efficient way of
>>> writing "htons(5270)".
>>
>> Hi, Bobby,
>>
>> This view is not held by all parties involved in this issue.
>>
>> My view is that getservbyname provides the same level of indirection
>
>> inside a host that SRV records provide between hosts. In specific,
>> modifications of the /etc/services tables does occur and is
>> valid. As a
>> result, I would not suggest that you change to using the port number
>
>> directly.
>>
>> My position, FWIW, is that IANA assignments were the only
>> official ones,
>> and that they will take precedent - that is what I have already
>> recommended to IANA. Whether the SRV name or port name is
>> changed, there
>> are changes to code required.
>>
>> The goal of this exchange is to minimize the impact of resolving the
>
>> unification of IANA port names and SRV names. My
>> recommendation to IANA
>> is that IANA assignments should take precedence if a true
>> conflict remains.
>>
>> On one final point:
>>
>>> And, getting back to your "xmp" example, "xmp" isn't even
>> in the /etc/services table on OS X
>> ...
>>
>> Stuart - perhaps you can encourage Apple to update their
>> /etc/services
>> to track the IANA list more closely. Regardless of similar flaws in
>> other OSes, this list should be updated regularly.
>>
>> Joe Touch
>> IANA Port Review Team Lead
>>
>> _______________________________________________
>> Port-srv-reg mailing list
>> Port-srv-reg@ietf.org
>> https://www.ietf.org/mailman/listinfo/port-srv-reg
>>
>
> _______________________________________________
> Port-srv-reg mailing list
> Port-srv-reg@ietf.org
> https://www.ietf.org/mailman/listinfo/port-srv-reg