Re: [regext] Alexey Melnikov's Discuss on draft-ietf-regext-rdap-object-tag-04: (with DISCUSS)

Alexey Melnikov <aamelnikov@fastmail.fm> Tue, 31 July 2018 11:17 UTC

Return-Path: <aamelnikov@fastmail.fm>
X-Original-To: regext@ietfa.amsl.com
Delivered-To: regext@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A3446130E95; Tue, 31 Jul 2018 04:17:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fastmail.fm header.b=HpNaB4Ji; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=MOqr1Y6e
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 jNqMqDaMNDtv; Tue, 31 Jul 2018 04:17:38 -0700 (PDT)
Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C3FD1130E86; Tue, 31 Jul 2018 04:17:38 -0700 (PDT)
Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id C410A744; Tue, 31 Jul 2018 07:17:37 -0400 (EDT)
Received: from web5 ([10.202.2.215]) by compute7.internal (MEProxy); Tue, 31 Jul 2018 07:17:38 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=1AMtYO1Mh07gBMNm/Aj/ffLZqB5D/ IbX7qG+sVFYjQY=; b=HpNaB4JiDrP+H8AUq/4UVV5zctgG90V9uHknaRlugJgtK Wf2b1CdFf5EqcuOWniT75qAQWr2OXal8PHbLuGoWN4PF7LSGS70aqDRgJp9uI89D 0o+udX8tsls+pZeh88VEoBy4XABIjEKjloa0VbfgqDYCu3XDrFMUL837OKz3XrI0 eq7+Pt27tNA2yblSNayjcFJNJsM2KrdlA7sU+3bw1OPwelcjjHFC9A47VdneRhrW ZhgPundeztJhV7ui407P10B9Bp6ot2K+CpHON6eIXtqITtTLyP8Q0uxM8FqC73n1 34zlrf6QE1HlYkl0mX/QjQflLmDfCvnTw7VZC+srA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=1AMtYO 1Mh07gBMNm/Aj/ffLZqB5D/IbX7qG+sVFYjQY=; b=MOqr1Y6evT/rknpMk3yDry GK82QRf12eXpk6xY1VJJDqCrEZIAmSviOdlUpMr7V9Btz9guJZbCp8hvutRpX2O/ p89VzTEuosrfbXZZLwzzvEjmSAptUxI9bYbTF1uHTail2EP2b0nt12BExVbjWOzB k4aRk6vTaBfe9xoSXsQdOOKPb7kt7mSLs7jwJ1+pfPUF1udh8VC7FFcm54LEtgLy hb73dmfSHL/ZFS9nfsDREsiZVFCmvSGoXKb8lZGbWt4mn708gx3ZZ+/SIVQSyceu 5i3/jM7ObVjcTyWD/mbhh7zCPjiWe28BKfGs5dnpx+FWqJL845Z+DJCUdmjzgU5A ==
X-ME-Proxy: <xmx:UEVgW7JBpDUmUBVKchtfK2moO-MVUCcvrQ0TsdVeRuZv0z5Adqj2Jg> <xmx:UEVgW4E-CloZHTjp87KNSALMEVv8mwrvvDkIrlEH13Du0H_aoaXXEw> <xmx:UEVgW_TKqV0JK9pdVNADGCZZ5ckrsc5yf4X-omKg0Dv2fRi_pe-PeQ> <xmx:UEVgW0fjAxYwviZosQffUaZr0f3-xC718MWYC-KbGcqocUnTh9EJjw> <xmx:UEVgW-rpED5GyEDOLPEn1OA1K7JYupwHnx3glSPvgIblZJaP70ANJQ> <xmx:UUVgW0gNFii2o8jjzZ3OoJGJRCJ--AJ_cZZqyNOsjNILS7Ak-o5Eug>
X-ME-Sender: <xms:UEVgW-oEjmkw4fiCzPEE-kdDSOfB0-7yjLSdxv850FB14ea8zkDvvw>
Received: by mailuser.nyi.internal (Postfix, from userid 99) id A95A79E102; Tue, 31 Jul 2018 07:17:36 -0400 (EDT)
Message-Id: <1533035856.3104543.1458547104.49F4DED2@webmail.messagingengine.com>
From: Alexey Melnikov <aamelnikov@fastmail.fm>
To: Andy Newton <andy@arin.net>, iesg@ietf.org, shollenbeck@verisign.com
Cc: draft-ietf-regext-rdap-object-tag@ietf.org, jgould@verisign.com, regext-chairs@ietf.org, regext@ietf.org
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
X-Mailer: MessagingEngine.com Webmail Interface - ajax-0843ff3e
References: <153288452407.7075.12849560602649509950.idtracker@ietfa.amsl.com> <8c2fd1a32ec743e192e61bdef41340b2@verisign.com> <1532967686.2259589.1457591536.239A8D85@webmail.messagingengine.com> <d7077c1823d44b599406f69ffbeaa5ec@verisign.com> <1532968446.2262639.1457610728.4F53EF26@webmail.messagingengine.com> <1532988183.17626.3.camel@arin.net>
In-Reply-To: <1532988183.17626.3.camel@arin.net>
Date: Tue, 31 Jul 2018 12:17:36 +0100
Archived-At: <https://mailarchive.ietf.org/arch/msg/regext/4AVh_PsdJe5d-hnL7FsrJO0VyO0>
Subject: Re: [regext] Alexey Melnikov's Discuss on draft-ietf-regext-rdap-object-tag-04: (with DISCUSS)
X-BeenThere: regext@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Registration Protocols Extensions <regext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/regext>, <mailto:regext-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/regext/>
List-Post: <mailto:regext@ietf.org>
List-Help: <mailto:regext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/regext>, <mailto:regext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jul 2018 11:17:41 -0000

On Mon, Jul 30, 2018, at 11:03 PM, Andy Newton wrote:
> On Mon, 2018-07-30 at 17:34 +0100, Alexey Melnikov wrote:
> > On Mon, Jul 30, 2018, at 5:24 PM, Hollenbeck, Scott wrote:
> > > 
> > > > 
> > > > -----Original Message-----
> > > > From: Alexey Melnikov <aamelnikov@fastmail.fm>
> > > > Sent: Monday, July 30, 2018 12:21 PM
> > > > To: Hollenbeck, Scott <shollenbeck@verisign.com>; iesg@ietf.org
> > > > Cc: draft-ietf-regext-rdap-object-tag@ietf.org; Gould, James
> > > > <jgould@verisign.com>; regext-chairs@ietf.org; regext@ietf.org
> > > > Subject: [EXTERNAL] Re: Alexey Melnikov's Discuss on draft-ietf-
> > > > regext-
> > > > rdap-object-tag-04: (with DISCUSS)
> > > > 
> > > > Hi Scott,
> > > > 
> > > > On Mon, Jul 30, 2018, at 1:33 PM, Hollenbeck, Scott wrote:
> > > > > 
> > > > > > 
> > > > > > -----Original Message-----
> > > >  (snip)
> > > > > 
> > > > > > 
> > > > > > 
> > > > > > This is a fine document, but I have one possible issue that I
> > > > > > would
> > > > > > like to quickly discuss before recommending approval of this
> > > > > > document:
> > > > > > 
> > > > > > Looking at the example in Section 3:
> > > > > > 
> > > > > >    {
> > > > > >      "version": "1.0",
> > > > > >      "publication": "YYYY-MM-DDTHH:MM:SSZ",
> > > > > >      "description": "RDAP service provider bootstrap values",
> > > > > >      "services": [
> > > > > >        [
> > > > > >          ["YYYY"],
> > > > > > 
> > > > > > Values like YYYY are not distinguishable from TLD values
> > > > > > registered
> > > > > > in <https://www.iana.org/assignments/rdap-dns/rdap-dns.xhtml>
> > > > > > . All
> > > > > > numeric values (ASNs or ranges of ASNs), as well as IPv4/IPv6
> > > > > > addresses are syntactically distinguishable from TLDs, but
> > > > > > values
> > > > > > registered in this document are not. Is this a problem? My
> > > > > > concern
> > > > > > is about fetching JSON from
> > > > > > <https://www.iana.org/assignments/rdap-dns/rdap-dns.xhtml>
> > > > > > and
> > > > > > misinterpreting it as valid data from the registry
> > > > > > established in this
> > > > document or vice versa.
> > > > > 
> > > > > 
> > > > > Thanks for the review, Alexey. No, I don't think it's an issue.
> > > > > The
> > > > > registries are distinct because they're designed to be
> > > > > associated with
> > > > > different query types. A client should use the different RDAP
> > > > > bootstrap registries (there are currently 4; this one would
> > > > > make 5) in
> > > > > such a way that that they're directly mapped to specific types
> > > > > of
> > > > > queries. Domain name queries, for example, should be mapped to
> > > > > values
> > > > > in the Domain Name Space registry. Values in this registry
> > > > > should be
> > > > > mapped to other types of RDAP queries, like entity values. The
> > > > > processing flow would look something like this:
> > > > > 
> > > > > Receive query
> > > > > Determine query type
> > > > > if {query type == (domain|AS|IPv4 address|IPv6 address|entity)}
> > > > > then
> > > > > {extract registry key; map to appropriate bootstrap registry;
> > > > > retrieve
> > > > > bootstrap value} else {no bootstrap is possible}
> > > > Ok, so if you don't think that these JSON payloads are ever saved
> > > > to files
> > > > and sent around via other means, than I will clear.
> > > > I am just thinking it that it would be better to have something
> > > > in the
> > > > payload to allow them to be distinguishable. (E.g. an extra JSON
> > > > attribute.)
> > > We could do something like that, but for the sake of consistency
> > > it 
> > > would mean modifying the existing registries, too.
> > You can, but you don't have to, you can just describe what lack of
> > the new attribute mean for old registry.
> 
> Isn't this exactly what the description attribute is used for? At
> present the IANA has a different description for each registry. Perhaps
> we should just update the text to indicate that the IANA should
> describe the registry as being for object tags.
> 
> Current values in IANA:
> dns.json: "description": "RDAP bootstrap file for Domain Name System
> registrations"
> ipv4.json: "description": "RDAP bootstrap file for IPv4 address
> allocations"
> ipv6.json: "description": "RDAP bootstrap file for IPv6 address
> allocations"
> asn.json: "description": "RDAP bootstrap file for Autonomous System
> Number allocations"

Hmm, it looks like this field is human readable, so I didn't expect it to be matched by software. But this might work.