Re: [xmpp] PROTO review of draft-ietf-xmpp-posh

"Ben Campbell" <ben@nostrum.com> Mon, 23 February 2015 23:02 UTC

Return-Path: <ben@nostrum.com>
X-Original-To: xmpp@ietfa.amsl.com
Delivered-To: xmpp@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C547E1A03E3 for <xmpp@ietfa.amsl.com>; Mon, 23 Feb 2015 15:02:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E-c0kBw5-kSg for <xmpp@ietfa.amsl.com>; Mon, 23 Feb 2015 15:02:23 -0800 (PST)
Received: from nostrum.com (raven-v6.nostrum.com [IPv6:2001:470:d:1130::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A491B1A064C for <xmpp@ietf.org>; Mon, 23 Feb 2015 15:02:22 -0800 (PST)
Received: from [192.168.11.1] (cpe-173-172-146-58.tx.res.rr.com [173.172.146.58]) (authenticated bits=0) by nostrum.com (8.15.1/8.14.9) with ESMTPSA id t1NN29uG078029 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 23 Feb 2015 17:02:20 -0600 (CST) (envelope-from ben@nostrum.com)
X-Authentication-Warning: raven.nostrum.com: Host cpe-173-172-146-58.tx.res.rr.com [173.172.146.58] claimed to be [192.168.11.1]
From: Ben Campbell <ben@nostrum.com>
To: Peter Saint-Andre - &yet <peter@andyet.net>
Date: Mon, 23 Feb 2015 17:02:09 -0600
Message-ID: <1A0833CA-B0BB-4396-A98B-DBA4A479B23D@nostrum.com>
In-Reply-To: <54EBAF53.9020904@andyet.net>
References: <9A67CFDB-5504-43E0-A63C-82E996A70620@nostrum.com> <54EBA26D.4080000@andyet.net> <5CD6E0B8-CB86-472B-9A3B-9F89274DB2FF@nostrum.com> <54EBAA5C.508@andyet.net> <54EBAF53.9020904@andyet.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Mailer: MailMate Trial (1.9r5060)
Archived-At: <http://mailarchive.ietf.org/arch/msg/xmpp/EoUnGM8qVMa4S_xItQf8vD_KBEE>
Cc: draft-ietf-xmpp-posh.all@tools.ietf.org, XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] PROTO review of draft-ietf-xmpp-posh
X-BeenThere: xmpp@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: XMPP Working Group <xmpp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/xmpp>, <mailto:xmpp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/xmpp/>
List-Post: <mailto:xmpp@ietf.org>
List-Help: <mailto:xmpp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xmpp>, <mailto:xmpp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Feb 2015 23:02:24 -0000

On 23 Feb 2015, at 16:53, Peter Saint-Andre - &yet wrote:

> Here is proposed text:
>
> ###
>
> 8.  Guidelines for Protocols that Use POSH
>
>  Protocols that use POSH will need to register well-known URIs wth the
>  IANA in accordance with [RFC5785] (the IANA registration policy
>  [RFC5226] for well-known URIs is Specification Required).
>
>  For the sake of consistency, it would be best if the URIs registered
>  by such protocols match the URI template [RFC6570] path "/.well-known
>  /posh.{servicedesc}.json"; that is, begin with "posh." and end with
>  ".json" (indicating a media type of application/json [RFC7159]).
>
>  For POSH-using protocols that rely on DNS SRV records [RFC2782], it
>  would be best if the "{servicedesc}" part of the well-known URI is
>  "{service}.{proto}", where the "{service}" is the DNS SRV "Service"
>  prepended by the underscore character "_" and the "{proto}" is the
>  DNS SRV "Proto" also prepended by the underscore character "_".  As
>  an example, the well-known URI for XMPP server-to-server connections
>  would be "posh._xmpp-server._tcp.json" since XMPP [RFC6120] registers
>  a service name of "xmpp-server" and uses TCP as the underlying
>  transport protocol.
>
>  For other POSH-using protocols, the "{servicedesc}" part of the well-
>  known URI can be any unique string or identifier for the protocol,
>  which might be a service name registered with the IANA in accordance
>  with [RFC6335] or which might be an unregistered name.  As an
>  example, the well-known URI for a hypothetical "SPICE" application
>  could be "posh.spice.json".
>
> ###

That works for me. I would also not complain if the “it would be 
best” lines were replaced with SHOULDs [1], but I’m also okay like 
it is.

[1] based on the 2119 usage of normative text to avoid harm, even if 
it’s not needed for interoperability, said harm being the pollution of 
the well-known URI registry with “craziness.”