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

Tom Harrison <tomh@apnic.net> Mon, 18 April 2022 11:10 UTC

Return-Path: <tomh@apnic.net>
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 433493A11BE for <regext@ietfa.amsl.com>; Mon, 18 Apr 2022 04:10:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.11
X-Spam-Level:
X-Spam-Status: No, score=-2.11 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=apnic.net
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 sTPfIE7E4eQU for <regext@ietfa.amsl.com>; Mon, 18 Apr 2022 04:10:39 -0700 (PDT)
Received: from AUS01-SY4-obe.outbound.protection.outlook.com (mail-sy4aus01on20620.outbound.protection.outlook.com [IPv6:2a01:111:f403:7005::620]) (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 28A673A11BC for <regext@ietf.org>; Mon, 18 Apr 2022 04:10:38 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZY2g/dh5TEbe5sNZ9Wu/sgYRcv2fQ1ybIBFdVRmX9Wo7jBXit9oIvku+83xB2B+n/FM9UAv8wC/Ze7a7jqeuJ6aoXBpcJWGKrB+kXzAxG2B9B8P/bxlbfEVYOarGdSqVxXaN1A4pVsSET89WDFW9uSH/Wt+v7dBI9laexoIwjGKFslKmTYMRseqzz9jqzfKLxt8RHmEHG2byGpPFx8btsb3f8EivKkOIPBRCYHATYb+mGPXeDtvnToqsCQEV3QzTppbqagJ6wb0CMVCgDAJne3TmnnZKyt85OguJw6HOC+OSsdJ6U4iWpt2i1Mj/CeN2M6gxH2dchEjkcY27vik7tQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=PiC+RFMbHdev9EUdU7zcCgySq+3RwIOBtYgZ11BvX7A=; b=DWPdP7syui0rM8mPkVbE2oU1q/GrLgDUTySIYdOd5se7hGzvir0hblJYNoDsFK4A85LChqvEHWWanj+04gM+n+bwOIaMDP0ya+rSTyiH6IO8klWyXzt4WRDW2yRNnxLJ+lf4mQVeZKTSquO0aUb/SyM78rWcJSn4EXmfTYYwIE2Bl4VYGNltMWmVxYujBUBp1NZr0Wf9i1jgpjca4b5Y0pAs2ZTZwWcPGCePZugTIhEg4PKz8wKhrmNiC0sdmOHC+lCLjV4+tX3mIMfJHWdbcJ0IFgPK5nyb/OZzKBYmthNRyOyaUcKTpWRCJycEHXmxQJA5BMQ3jm4LKyOqZPGepQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=apnic.net; dmarc=pass action=none header.from=apnic.net; dkim=pass header.d=apnic.net; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apnic.net; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PiC+RFMbHdev9EUdU7zcCgySq+3RwIOBtYgZ11BvX7A=; b=HKBW0D8LnBBB+uRhMpE7rfl8E5S2TooKYbRUjfistuv6dZ05SJVi/bSREXlNPkUW3993+I3NRmQ9ieh0w8I76etGLxrcLpqYCUCQTEsiluDP936/+7JY7TfXhyh/4xd6UbTIEwEJTMPxjuzupTKcTU29/H8pEjEOsbXgUy9UCvU=
Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=apnic.net;
Received: from SYBP282MB0553.AUSP282.PROD.OUTLOOK.COM (2603:10c6:10:68::12) by SYYP282MB0958.AUSP282.PROD.OUTLOOK.COM (2603:10c6:10:bd::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5164.18; Mon, 18 Apr 2022 11:10:32 +0000
Received: from SYBP282MB0553.AUSP282.PROD.OUTLOOK.COM ([fe80::7dc8:857d:4206:5ec1]) by SYBP282MB0553.AUSP282.PROD.OUTLOOK.COM ([fe80::7dc8:857d:4206:5ec1%5]) with mapi id 15.20.5164.025; Mon, 18 Apr 2022 11:10:32 +0000
Date: Mon, 18 Apr 2022 21:10:30 +1000
From: Tom Harrison <tomh@apnic.net>
To: regext@ietf.org
Message-ID: <Yl1HJp9U/6rZeOVs@TomH-802418>
Mail-Followup-To: regext@ietf.org
References: <1A8E0C83-5F28-4387-8D05-EAAB8935E811@antoin.nl>
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <1A8E0C83-5F28-4387-8D05-EAAB8935E811@antoin.nl>
X-ClientProxiedBy: SYCPR01CA0009.ausprd01.prod.outlook.com (2603:10c6:10:31::21) To SYBP282MB0553.AUSP282.PROD.OUTLOOK.COM (2603:10c6:10:68::12)
MIME-Version: 1.0
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 7cf75f9e-74bc-4448-e2c0-08da212c0db3
X-MS-TrafficTypeDiagnostic: SYYP282MB0958:EE_
X-Microsoft-Antispam-PRVS: <SYYP282MB0958EBF692A845A49FFAFE74C0F39@SYYP282MB0958.AUSP282.PROD.OUTLOOK.COM>
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: PzCX2G1tYuG6JKdCRK5tRgKTlXdiWiMk1r+xcwPd8KHOoCfgs+2wW3b9+gcsiG5Iw9T++YlcZLErbHPbLIcLESSJm3lK9ei2wNHEf2DsKYJbq119pOuWVSiLbe4aOBJ52Tgn7weOvZ7UX89scKZW3mBPDZSn3QEd9nyzzUXQS6iLHnIHdejQNGdTK1V5fDQQy2kDkeMVhhbmI9/2HQq1+Pf3PUjZIBXKrW068gTIx0VA6lH5KQYO3mydPZ9QOrDuohyCkxYeQ859wAsYrwwOk6RMXGLM3PMVO7abzaYI0WEu3eEiyno2lX9dd6h3dn5LUXeYw4vAL1hysJTRKqBdoHizqYQvE7dBnNFiTyPX9FNAYoT0dgQnQL4ICAAmILnn7Ax9w0exytb3Zu7LyLHYa9HpM0T3skxGDxOjFBOHJNnAY3KJ7V6Lchak52R2LEYM5ZakAY8ewWVymlGI+oPPDj6ego7HzDBLC/QBz45XNBY9kx1DHaL9P/BK02y/zFEF39JKI3r5w3OzGsnlibMafgxYG0Q2JfNnr7M1BpMqeAtRbFBy0oRPhkdGb3z8o4V4hG5pRX7LsEfmpBSy3SLgDiOlwz19sMeYzLeVGLsn+z309LXeyiWCJT2z33u939JrlslzJTXtlv+0li2npKev0sjyVMZLXNHPBDo4VYdUESwQR1BQdjMTBiNS3TShJCmfOkDpZzpJoTGsj0kF7wRffJRTaCYwKD6oDXPmN+i0WGZ+AUAa1ar/u1ZUsPvqfTuWZiLb7uTnJOoYGaa9iAfZvLAs6dnN4xqR7jq59ky9dkA=
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SYBP282MB0553.AUSP282.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230001)(7916004)(4636009)(376002)(396003)(136003)(366004)(346002)(39830400003)(52116002)(38100700002)(38350700002)(83380400001)(6486002)(8676002)(6512007)(9686003)(6506007)(66946007)(66556008)(66476007)(186003)(26005)(86362001)(966005)(33716001)(5660300002)(2906002)(6916009)(508600001)(316002)(8936002); DIR:OUT; SFP:1101;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: p7m7HAEXmQG6q7ThVE2zLrEcPQmWALXWVcrcPYQTnPsAUU18K0KUfb9wlmRsAMcye+UTmnUB/Tcp4LTVyJsRf6SlmUSpywfpOg+mIaelsafbNFqgciupCJWhXfP2PR0AyMGow2epfhHDFc02QVYhPO2bATAoDB3hr8mwIX0MSaji60gowS2MwbUGlVPTV7ZMtisDdwz3ETfXggKFRbcQKSt1ym2zLo3Pl7kgj/lyVaoP8GC8kzh9YHpNBIcp/JXFOf5ptjJbG97meITPmdoWIbAZimRF55Xm0+Vn8m/r9molnb9x8BDaS/ZBwfKBkMB09GEdssA04+Bfjy6qVnQCIVnillwHtaN4eLiAWcKIqARp5LXI6O0XNejKSxQ3jOwGJcFz6nwejHG80qM1BU2oMvAkeaRyQPleXPK9TXTLYA2nExJYqJk/ZnGoWUF9SDHCpohtEXNSZx82Rq5cZCgeDKyu2oEDijYvdBAWMGQAVDi8WTK82r8UYDJrr1T5RiDkOaAtil9mbbvrnKHsGIgl8yCxKCi5N0Rp64RGnirsbwC80UuxvPArXcruo3d8TPfOT0qWKquumWTu+NM7ZQM3B9XQ7lRfc5sbcUJGXo46Dv9Q9MpPnCyPMiJ3str27ApRLI4kS0vRwwWRrDH1ynjlt3Y+tSQ7jqe/r0Zg051c9s4VUyEJWGOvUIkRWo0ho/CdEDWVxrVNO8be636c4pwrqGw6XGaw7dmdLYZ/vEoWXD8JXLg/yKb7g52VkxXK2jaos6Nctvfwdh/37dO7jJCbJoCgvW2s8pGD7rHt3bwB8+5cejrQoCGG3pyuckMAP740nybsGjWYeswRlmJrbdqLyUVhqSWk9L7fORlojuPK7IyTao/Lgxv2JFfM+dadfMsGt4uy/xLnTe48jGeN0cdxkjZhRfpJog6C3onwUctkAn/PsE7CCdto6wtwm/m4ZATYPw97+tuepzBbu4pTA6t84YY+eP+HEQZwEcfDR9Ztn+BnJzs+vVn891yOHhXkMsd+OTqh7AEs10e2tQiHZGiijN4TWhIMh1UEmHHeC/6nHagV66+iJ/CTNS8c/y/EMk9NkDh1XDbOybkZNJwhtUBjCtftF++ql7d3UpHkplP3iFlyH7I+yGsX/Yhggmk+7nFYxM0tQrQYenUrbV6RefnAVrxO25GOvh8MdwPJ9/8YAsLH03G2OxRXjvk3TlKiEa6L5f9JBvEPaHdE1jMN7MO8Tlj6/SDvBnYuCNiVqxgC8x7nn1mRxSwQS+Oo5Ak/p5ImBjNJ43hpEkXHicNjPxsfPjXTqv+OJcRELa6//96iyLOiZRbLVitibbtlcCXJCVaV4qcFMaYhjDE6GQzq8+0aRezW5GlkW9s+8gHY5WAxn7hEinTw+4/maNJ+87PYV5m/l3rdKBsNCdbWa3DDvZdcYOPoC/0Wu/9BZ/6JRAaueVSel+t9X7jxkWy8xKg2Lj64XWiCNr+nnzhWCmNz5ARa/Yv1EcfBTr0YvXIYdLy5nO04ssq28BF6iz+PR7N+ZLeibyMUrlYGtRvj6u/wqz9lvwxcAUn6ORt9G8cdBlbN6RP8TobSwli4iPvkaS8QUXp9NUVsgQI3eO1Z+jmj8jtRnZ1gAFX+Ko6jKMJipRZH9H4BNxcZTesfeRo6QML4p+oYJJjn78jh3mZX8GPmg7CTFHCzUp9/ucy/dadAvP4pmbpsKX+VuQ9zY8GEVbIWx+CC8rS7xrA+rzASMPL1tiyt5g==
X-OriginatorOrg: apnic.net
X-MS-Exchange-CrossTenant-Network-Message-Id: 7cf75f9e-74bc-4448-e2c0-08da212c0db3
X-MS-Exchange-CrossTenant-AuthSource: SYBP282MB0553.AUSP282.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Apr 2022 11:10:31.9610 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 127d8d0d-7ccf-473d-ab09-6e44ad752ded
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: /1KTvv19nFcqkR6AgusfOk+ohIWecFB/Ca2yMJwFwImF1GGzuXV+GdEc4QdW3laW
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SYYP282MB0958
Archived-At: <https://mailarchive.ietf.org/arch/msg/regext/10ZVbK3hCpBVrXj6TlOJlOMl0ec>
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: Mon, 18 Apr 2022 11:10:45 -0000

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

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

-Tom