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

Bobby Krupczak <rdk@krupczak.org> Wed, 24 August 2011 12:14 UTC

Return-Path: <rdk@krupczak.org>
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 8733721F8AFA for <port-srv-reg@ietfa.amsl.com>; Wed, 24 Aug 2011 05:14:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level:
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[AWL=1.000, BAYES_00=-2.599, GB_I_LETTER=-2]
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 flYjh+3TkpmN for <port-srv-reg@ietfa.amsl.com>; Wed, 24 Aug 2011 05:14:15 -0700 (PDT)
Received: from uncasville.krupczak.org (uncasville.krupczak.org [192.24.251.116]) by ietfa.amsl.com (Postfix) with ESMTP id 25AC621F8B02 for <port-srv-reg@ietf.org>; Wed, 24 Aug 2011 05:14:01 -0700 (PDT)
Received: from localhost (unknown [127.0.0.1]) by uncasville.krupczak.org (Postfix) with ESMTP id 334F02404C4; Wed, 24 Aug 2011 12:15:04 +0000 (UTC)
X-Virus-Scanned: amavisd-new at krupczak.org
Received: from uncasville.krupczak.org ([127.0.0.1]) by localhost (uncasville.krupczak.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UzAWcl6Z636v; Wed, 24 Aug 2011 08:15:01 -0400 (EDT)
Received: from peachtree.krupczak.org (unknown [172.30.0.10]) by uncasville.krupczak.org (Postfix) with ESMTPSA id 7FEF92404B9; Wed, 24 Aug 2011 08:15:01 -0400 (EDT)
Message-ID: <4E54EB41.9090905@krupczak.org>
Date: Wed, 24 Aug 2011 08:14:57 -0400
From: Bobby Krupczak <rdk@krupczak.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc13 Thunderbird/3.1.7
MIME-Version: 1.0
To: Stuart Cheshire <cheshire@apple.com>
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>
In-Reply-To: <6128495A-A51C-4259-A3B6-C8933B4BE564@apple.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: Bobby K <rdk@krupczak.org>, 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 12:14:15 -0000

Hi!

>> From: Henric Bergh<henric@bergh.nu>
>> Date: Wed, 24 Jan 2007 14:14:52 -0700

He has me beat by roughly 1.5 years :(

> A Google search for "srv type xmp" finds the DNS SRV Service Types list as the first hit:

Back in 2008, it did not return this when one searched for XMP or xmp.
>
> The additional factor here is that because Xperientia registered *only* a service name, they don't have an assigned port to go with it. Therefore, by definition they must be using the name, because that's all they have. Their servers bind to a dynamically-allocated port and their clients discover the dynamically-allocated port via DNS-SD queries, thereby conserving the limited remaining assigned port space, which is beneficial for the future of the Internet, and is virtuous behavior we'd like to encourage.

Good point.

> 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)".

Thanks for the networking API tutorial.

I appreciate the additional info.  I think it would have been helpful 
had you given this info in your original request; it might have come off 
less of an imposition.

I'm happy to change my service name as my software only needs the 
assigned port.

Let me think of something cute and we can switch to that.  Give me a 
couple of days to try to be creative with some sort of name.  What is 
the service name criteria?  How many letters/digits?

As a former participant in the IETF, I really do appreciate the work you 
guys do.

Thanks,

Bobby