Re: [regext] WG LAST CALL: draft-ietf-regext-rdap-reverse-search

Mario Loffredo <mario.loffredo@iit.cnr.it> Thu, 21 April 2022 14:53 UTC

Return-Path: <mario.loffredo@iit.cnr.it>
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 7AF3F3A172F for <regext@ietfa.amsl.com>; Thu, 21 Apr 2022 07:53:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.907
X-Spam-Level:
X-Spam-Status: No, score=-1.907 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
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 eMCqeFE3MGrm for <regext@ietfa.amsl.com>; Thu, 21 Apr 2022 07:53:38 -0700 (PDT)
Received: from smtp.iit.cnr.it (mx4.iit.cnr.it [146.48.58.11]) by ietfa.amsl.com (Postfix) with ESMTP id CCEDA3A17C9 for <regext@ietf.org>; Thu, 21 Apr 2022 07:53:23 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by smtp.iit.cnr.it (Postfix) with ESMTP id 7A0F4B806E3 for <regext@ietf.org>; Thu, 21 Apr 2022 16:53:21 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at mx4.iit.cnr.it
Received: from smtp.iit.cnr.it ([127.0.0.1]) by localhost (mx4.iit.cnr.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0LBDIFehbhDR for <regext@ietf.org>; Thu, 21 Apr 2022 16:53:17 +0200 (CEST)
Received: from [192.12.193.108] (pc-loffredo.staff.nic.it [192.12.193.108]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by smtp.iit.cnr.it (Postfix) with ESMTPSA id BD493B803B3 for <regext@ietf.org>; Thu, 21 Apr 2022 16:53:17 +0200 (CEST)
Content-Type: multipart/alternative; boundary="------------jSaaauOzfmYvJO9few7w4X0S"
Message-ID: <a895c102-8780-7389-2b0f-0ed26d78ad04@iit.cnr.it>
Date: Thu, 21 Apr 2022 16:51:15 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0
To: regext@ietf.org
References: <1A8E0C83-5F28-4387-8D05-EAAB8935E811@antoin.nl> <Yl1HJp9U/6rZeOVs@TomH-802418>
From: Mario Loffredo <mario.loffredo@iit.cnr.it>
In-Reply-To: <Yl1HJp9U/6rZeOVs@TomH-802418>
Archived-At: <https://mailarchive.ietf.org/arch/msg/regext/Q104J7s7RH0QNhiB53qzCmnkda4>
Subject: Re: [regext] WG LAST CALL: draft-ietf-regext-rdap-reverse-search
X-BeenThere: regext@ietf.org
X-Mailman-Version: 2.1.29
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: Thu, 21 Apr 2022 14:53:44 -0000

Hi Tom,

thinking back to my last message, I need some clarifications before 
updating the document.

Please find my comments inline.

Il 18/04/2022 13:10, Tom Harrison ha scritto:
> On Mon, Apr 04, 2022 at 03:18:33PM +0200, Antoin Verschuren wrote:
>> Dear Working Group,
>>
>> The authors of the following working group document have indicated
>> that it is believed to be ready for submission to the IESG for
>> publication as a standards track document:
>>
>> https://datatracker.ietf.org/doc/draft-ietf-regext-rdap-reverse-search/
> I think this document is in good shape as it is.  Some minor
> points/suggestions:
>
>   - Section 2 has "All the predicates are joined by the AND logical
>     operator".  For the multivalued predicate properties ('role', 'fn',
>     and 'email'), the behaviour as required by the text here may be
>     slightly unintuitive.  For example, if two 'fn' predicates are
>     included, then an object will only be included in the results if
>     one of its related entities matches against both of those
>     predicates, which would be unusual given that most entities have a
>     single 'fn' property.  Making this requirement clearer may help to
>     avoid confusion:
>
>      All the predicates are joined by the AND logical operator.  This
>      includes predicates that are for the same property: it is
>      necessary in such a case for the related object to match against
>      each of those predicates.
>
>   - Section 2 has "Based on their policy, servers MAY restrict the
>     usage of predicates to make a valid search condition".  It may be
>     useful to clarify how this will happen.  For example:
>
>      Based on their policy, servers MAY restrict the usage of
>      predicates to make a valid search condition, by returning a 400
>      (Bad Request) response when a problematic request is received.
>
>     (Possibly there's a more appropriate response code than 400 that
>     can be used.)
>
>   - Section 2 has:
>
>      related-resource-type: it MUST be one of the resource types for
>      lookup defined in Section 3.1 of [RFC9082], i.e. "domain",
>      "nameserver", "entity", "ip" and "autnum";
>
>     But the document defines semantics only for "entity" in this
>     context.  Some additional text (after the bullet points) that makes
>     it clear that this is intentional may be useful:
>
>      While related-resource-type is defined as having one of a number
>      of different values, the only searches defined in this document
>      are for a related-resource-type of "entity".  Searches for the
>      other mentioned types may be defined by future documents.
>
>   - There is no text that specifies the response format for the
>     searches.  Although this is arguably implicit based on RFC 9082, it
>     may be useful to be explicit about it, by adding another section
>     between 2 and 2.1:
>
>      2.1 RDAP Response Specification
>
>      Reverse search responses use the formats defined in section 8 of
>      RFC 9082, which correspond to the searchable resource types
>      defined in section 2.
>
>   - I-D.ietf-calext-jscontact is listed as an informative reference,
>     but it appears to be a normative reference, given that the
>     JSONPaths for 'fn' and 'email' are taken from that document.
>     Assuming that it is a normative reference, then it may be that the
>     reverse search document will be approved notwithstanding the
>     downref.  However, there are a couple of options for avoiding that
>     in the first place:
>      - Define the document in terms of jCard only, and note that
>        documents defining successor formats to jCard will describe how
>        to handle the conversion from 'fn'/'email' to the corresponding
>        fields in the new format.

[ML] Note a different feeling about it between you and Scott. I mostly 
agree with you on this point but I'm open to any solution that is shared 
by the WG, especially if it comes from those having long experience in 
writing IETF documents.

According to what is stated in 
https://www.ietf.org/id/draft-kucherawy-bcp97bis-01.html:

*...., a normative reference specifies a document that must be read to 
fully understand or implement the subject matter in the RFC, or whose 
contents are effectively part of the RFC, as its omission would leave 
the RFC incompletely specified. **
*

*An informative reference is not normative; rather, it provides only 
additional background information.*

That being said, don't think JSContact related documents must be read to 
fully understand the reverse search document. For this reason, I put 
them among the informative references.

However, I would like to know Scott's and other members'opinions.

>      - Define inline metadata, so that the relevant JSONPaths are
>        available to the client, and can be changed to work for
>        JSContact when a server switches to use JSContact (similarly to
>        how things work with RFC 8977).

[ML] I have already proposed to extend the response with an inline 
metadata about the supported reverse search properties but I'm not sure 
when it should be returned.

The metadata described in both RFC8977 and RFC 8982 include information 
about server features that can be applied to every search response, 
including reverse search.

On the contrary, it wouldn't make sense to me to return the reverse 
search metadata in every search response.

>
>   - Section 2.1 has "Servers MAY implement other properties than those
>     defined in this section".  A server that supports other properties
>     for the purposes of reverse search has no way to indicate that
>     support except by way of a standards-track specification that
>     defines a new rdapConformance value, which would be the case
>     regardless of this additional text in the document, so it seems
>     like this text could be omitted.

[ML] Most probably I didn't make myself clear. I meant that servers may 
implement additional reverse search properties, including those mapped 
to RDAP response extensions.

Just to give you an example, some ccTLDs, including .it, have extended 
the registrant information with the tax code.

Being such a code a unique identifier, it could be eligible as reverse 
search property.

Don't think servers should specify a specific RDAP conformance tag in 
that case.  It would be enough for them to provide the reverse search 
properties they implement in the /help response.

Are you OK with changing the sentence as in the following?

Servers MAY implement other properties in addition to those defined in this section.


Totally agree on the other points without comment.

Best,

Mario

>
> -Tom
>
> _______________________________________________
> regext mailing list
> regext@ietf.org
> https://www.ietf.org/mailman/listinfo/regext

-- 
Dr. Mario Loffredo
Technological Unit “Digital Innovation”
Institute of Informatics and Telematics (IIT)
National Research Council (CNR)
via G. Moruzzi 1, I-56124 PISA, Italy
Phone: +39.0503153497
Web:http://www.iit.cnr.it/mario.loffredo