Re: [regext] [Ext] Re: RDAP and link context

Jasdip Singh <jasdips@arin.net> Sun, 03 March 2024 19:12 UTC

Return-Path: <jasdips@arin.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 0365DC14F5EC for <regext@ietfa.amsl.com>; Sun, 3 Mar 2024 11:12:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.905
X-Spam-Level:
X-Spam-Status: No, score=-6.905 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=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
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=arin365.onmicrosoft.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ny89Mp1QTTka for <regext@ietfa.amsl.com>; Sun, 3 Mar 2024 11:12:16 -0800 (PST)
Received: from smtp4.arin.net (smtp4.arin.net [199.43.0.54]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 02500C14F5F8 for <regext@ietf.org>; Sun, 3 Mar 2024 11:12:15 -0800 (PST)
Received: from CAS01ASH.corp.arin.net (cas01ash.corp.arin.net [10.4.30.62]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by smtp4.arin.net (Postfix) with ESMTPS id 1B2CF10757B4; Sun, 3 Mar 2024 14:12:15 -0500 (EST)
Received: from EOR2201ASH.corp.arin.net (10.4.30.49) by CAS01ASH.corp.arin.net (10.4.30.62) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sun, 3 Mar 2024 14:12:14 -0500
Received: from NAM04-MW2-obe.outbound.protection.outlook.com (199.43.0.37) by EOR2201ASH.corp.arin.net (10.4.30.49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.12 via Frontend Transport; Sun, 3 Mar 2024 11:12:14 -0800
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MbleU86D2n6h2/G3kDwiKtPZp94TqF3madPjsnCMDfUd52Hu3PitF3qkzniopGRdLP+6ow4UaHyROQ78YFSGnRhdiUnvW54S2i0ETROcdoTBlAFQCAgUSHITfultu3WYPdlKs8DANzlj0lITo3SmwM2Ic+4aI7mM1f5DhkbhDtTAPi3Q6+pP7092+i/UOn1UZQlMolD+OxcdMy8R6aYUgtDzK8Xn+JZBvRxz2LXvrNQwNZ41FwR1gaymH7XYB4bPUxloPuKfSFN584oo7dGM3u2vD7R4Vrb8fDeKXYuWzKpoCfft1ONGj+ZBRng7cKqwj/3gO28HlUO5aQsl02y/jg==
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=p0uN+61WkE6e0giXfd9hzkolFR/zLOV4pELAA4ZhTgY=; b=Gi8jiF5+0AwOrs7iKjDPo9L8r2rAd3i6n13DxIlk4EvD2NGQ0SNXw9lkHKi02FRr8iTi8tnWjNpv7EpG3wlp0LOw8lwZl/XM0c+n4b7WaB72mij0Lii6D6Ae+Zrjo3NgnsqskQMTmHE1lYUA9YD7qgWGrPK+Hp/tK0oLgwlclOTIkd62yK8H970xVoxCkBKdCINJQfidaQe5YLXdeaH51TuU8QK4cEkRnBAJkonCgECyRTRZM2VujdLBr4mlvwXhcTmATZvH3xsAEytR1GF1p2++2KZHDn+qNTBmGoi0ockjnm8YG1Pur7moTRC0pVBqawxEKbBf+02eHDBCUWOKzA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arin.net; dmarc=pass action=none header.from=arin.net; dkim=pass header.d=arin.net; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arin365.onmicrosoft.com; s=selector1-arin365-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=p0uN+61WkE6e0giXfd9hzkolFR/zLOV4pELAA4ZhTgY=; b=Rj/DhEz25960ZNz8h5iWJqtRz34QuRey3iOHhfnC+k/yBLMQVPXO5vRzgCwXWf1xQviFR4piaMs5IrzvGmZE4TWPj9j9oFCICixG7HfO0S4QIzC0QQT0i0GaVS+hxvC2J/AcDiEwwo2qGQ8It6FnnUlFFMhfEQdKIyUfWpjN4AIEo/XtOeqf2OSikOwZONStkzcK9raqJ3DRo0uzZl35GE6zynF2b4ykMeiEe6bHs0bVciIcLWBkWPwklFRWW8iaLkbyvzB62GY7Z8GyPDy0NRCbadgf3Dv8a4VCx9Idk1EErHg4s7pVhcenhRisPVBJZJqwSUZL2kes1umtJjcO/w==
Received: from LV3PR15MB6453.namprd15.prod.outlook.com (2603:10b6:408:1a9::15) by PH0PR15MB5024.namprd15.prod.outlook.com (2603:10b6:510:cf::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.38; Sun, 3 Mar 2024 19:12:10 +0000
Received: from LV3PR15MB6453.namprd15.prod.outlook.com ([fe80::9d15:39af:cc69:bf3d]) by LV3PR15MB6453.namprd15.prod.outlook.com ([fe80::9d15:39af:cc69:bf3d%4]) with mapi id 15.20.7339.035; Sun, 3 Mar 2024 19:12:09 +0000
From: Jasdip Singh <jasdips@arin.net>
To: James Mitchell <james.mitchell@iana.org>, "Andrew Newton (andy)" <andy@hxr.us>
CC: "regext@ietf.org" <regext@ietf.org>
Thread-Topic: [regext] [Ext] Re: RDAP and link context
Thread-Index: AQHabDQ/Qblqz+Eid06awIWr10CVz7EmXVZE
Date: Sun, 03 Mar 2024 19:12:09 +0000
Message-ID: <LV3PR15MB6453ADFFF1B4935F50F26444C95C2@LV3PR15MB6453.namprd15.prod.outlook.com>
References: <E057A842-3FF6-4A0A-BD95-9CB8C047BBE9@iana.org> <CAAQiQRco_P-U2EzwXPOudpohUvO0kNhbBkkFBGKbrCG+ANUogA@mail.gmail.com> <A56D1534-E81E-4783-A731-B2ADC1D0E5EA@iana.org>
In-Reply-To: <A56D1534-E81E-4783-A731-B2ADC1D0E5EA@iana.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arin.net;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: LV3PR15MB6453:EE_|PH0PR15MB5024:EE_
x-ms-office365-filtering-correlation-id: 460ef29a-80ba-4d4d-8da6-08dc3bb5d31c
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: yvy0A5wx+nKv0rsMXQJiM/UaiodJRSVrG0RI1yxiQXHZXvlXP6byebXp6UYyg1d7Qf8HNNGwLrRuhxv6UEuygxNbRrtysDXSe3ZNz5Hfe8cu+4oykAu/xspooPFv5q9hRtDy+npBpQufMNzTQUepzYz/qx1muu//ATPDg64D591Eu5z5hyfWOrY42Ot+tQqDxHw4ytcu7bHDipIiHufPm8Qj9YcvJP8EfPE/DYxJhj5hsX3N9GO0bcwdAnNt0NgpScCeK+hV6J+dzbqSbuyvoy/8L6j3fdEkrqWd3CdG6IeQhivKJObItnkg8HP4pv4Th7GamgbAMlLK/kAbgyz7mUcXyh7OEToE9jj4zwOZjYDipfRcZ3+i9LEvlj059aOaSOgM23eS3jHEqkJfCok5Vv2wn53oe9bRgrXPJZtERzo/uk8tQYDLW9CN8XvpTyJreYHIKRczkZvzcfvuoUFbnQsHKIxUAEU5ATBItK5pFwUMt4AweGMKpbYnVbUmOou7o+JfdKdfDKCczZ1uSqE5lxS7Z/jZ375JPdF0sj7HQGHz+hjEHu4MkhWG2ZlHXX+dFneyrzakGBzBrNY8YzGHFsRrxa7KJDmjOzYRyfvFbmMhPqvNmB6j7SOUcjv2M1LNO/XOmyXPrje90TORbHxAbfeocRpwU+mWZFkIQoyaxRw=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:LV3PR15MB6453.namprd15.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376005)(38070700009); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: t4QURhFG1gtmD9FJkiZetf5PFLWozSTlaRbuZi4YPDMZuqCr4v9tLawbMwihpzaWczh1DB2CWnZi+xmwBKZtodDoymFfAgI4PWJMEXELpFMWBnhi8epjVe2ssEwsK84UAqy3F9fF3Os6afest6LZpJ4dqQfh3sDjs4wbn22pd8wQOP1GGvAh0We5rcqrqI/Bsvn+8Zasr50ZS2w/UntchDKcF30oYWh5u5zfrdL55p41PeVIln3nJ0kel8d5joo+6uXwjw97knJ3hYUhAGDqzkOuO7E5ML9LQQcVeIKiaJPzfEnoOMRr7pX1ZEo0EKz1Rm2Lfgv289i1QezVUXtroBsSW0R2VbPp4V0/3WSAvCGJysEkUHRgvO4cpv+uh+cP8mIiCcYOsV7uFbcz8k0ZJuWF1vdNbYCIEAJlwa2/VrN3AsimsQkBrmnGXlm09yTPjJCrxNLjXItDd/n0Y+URAfeDpugPa95fD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flYYiEPcZqatu9hVntJNwKP0Kim8/zex2IvxMliU8au
Content-Type: multipart/alternative; boundary="_000_LV3PR15MB6453ADFFF1B4935F50F26444C95C2LV3PR15MB6453namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: LV3PR15MB6453.namprd15.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 460ef29a-80ba-4d4d-8da6-08dc3bb5d31c
X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Mar 2024 19:12:09.6499 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: cad70df5-eb75-43b7-adb3-12798d38d9b7
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: XzSbEv6yNQazSQgJpxxtUo/Hr8XeKRzxzvA5lYxw1ubGS2A2GjsMZipvl5K5fvvJujesg7f1BXbk7CkEs6iCsA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR15MB5024
X-OriginatorOrg: arin.net
Archived-At: <https://mailarchive.ietf.org/arch/msg/regext/KuazwuV9v8OC5bmLNGV6ZepTnIc>
Subject: Re: [regext] [Ext] Re: RDAP and link context
X-BeenThere: regext@ietf.org
X-Mailman-Version: 2.1.39
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: Sun, 03 Mar 2024 19:12:20 -0000

Hi.

Did some digging on this.

Right, RFC 7483 had only “href” as a MUST. RFC 7483bis (eventually RFC 9083) additionally made “rel” and “value” as MUST’s. Looks like the “rel” MUST came about because of RFC 8288 mandating so [1], and the RDAP Deployment Findings and Update draft highlighting so [2]. As for making “value” a MUST, the rationale is not very clear from [2]. It even passed the IESG review [3]. (Scott might be able to shed more light on this. :))

Agree that based on the link context (“value”) inconsistencies James highlighted, it’d be good to clarify the “value” MUST now that we are stuck with it.

Jasdip

[1] https://datatracker.ietf.org/doc/html/rfc8288#section-3.3
[2] https://mailarchive.ietf.org/arch/msg/regext/Hcq5l4FiDYhBeUjOpJ0O1qNnSOE/
[3] https://mailarchive.ietf.org/arch/msg/regext/IZdoJ_qbSvkrbYFOHWnxmcSOmMw/


From: regext <regext-bounces@ietf.org> on behalf of James Mitchell <james.mitchell@iana.org>
Date: Friday, March 1, 2024 at 6:57 PM
To: Andrew Newton (andy) <andy@hxr.us>
Cc: regext@ietf.org <regext@ietf.org>
Subject: Re: [regext] [Ext] Re: RDAP and link context
Andy,

The new gTLD Response profile (https://www.icann.org/en/system/files/files/rdap-response-profile-21feb24-en.pdf) says … “a value with the RDAP lookup path that generated the RDAP response.”, requirements 2.6.3 and 2.10. Unless you are referring to another document, this is quite different from the RDAP base URL. I would interpret requests under this profile for /domains/EXAMPLE.COM and /domains/example.com to set the link context to /domains/EXAMPLE.COM and /domains/example.com respectively (or less contrived, lookups for /domain/xn--bcher-kva and /domain/b%C3%BCcher to have different link contexts)

It seems a shame that the spec did not allow the undefined link context to be interpreted as the request URI. However we are where we are and the link context is now mandatory. If someone can shed some light on the utility of the link context then I can look to support that with our server. Otherwise I’ll likely hold onto on the RFC 7483 requirements for links.

James

From: regext <regext-bounces@ietf.org> on behalf of "Andrew Newton (andy)" <andy@hxr.us>
Date: Wednesday, February 28, 2024 at 4:03 AM
To: James Mitchell <james.mitchell@iana.org>
Cc: "regext@ietf.org" <regext@ietf.org>
Subject: [Ext] Re: [regext] RDAP and link context

Hi James,

RFC 7483 did not require the 'value' attribute, however when the
standard was revised in RFC 9083 this attribute became required.

I believe you are correct that a link context is not well defined. It
is supposed to be the scope in which a link is to be understood. In a
JSON response full of all sorts of other things (such as an RDAP
response), that scope could be seen as the request URI that got that
JSON response. However, that is just one interpretation. The new gTLD
Response profile makes use of the 'value' attribute as the RDAP base
URL for registrars, which I think is also a fair interpretation of the
context of a link since the href is a specific URL that is a subset of
a large group of URLs in which the base URL is the parent.

If we want to start more strictly defining what that value should be,
I think the rdap-extensions document is a better place than the rdap-x
document. I don't know about making it optional again. Hopefully
others who have a clearer recollection of the 7483 -> 9083 transition
can provide better context - pun intended. :)

-andy

On Tue, Feb 27, 2024 at 6:56 PM James Mitchell <james.mitchell@iana.org<mailto:james.mitchell@iana.org>> wrote:

Hi all,



What is the purpose of the context URI in the links structure? From 9083:

The "value" JSON value is the context URI as described by [RFC8288]. The "value", "rel", and "href" JSON values MUST be specified.



My understanding is that the context URI is the request URI that generated the JSON response. Implementing this correctly presents problems for a valid server implementations given caching is non-trivial because one object can be located from more than one URI. For example, /domain/EXAMPLE.COM, /domain/example.com, /domain/eXaMpLe.cOm are all different context URIs even though we understand they will return the same object. For a less trivial example, consider a domain object matched by A-labels, U-labels, and any other labels that identify an object via UTS46 or variant processing.



I’ve surveyed a few registries and noted inconsistent implementations of the spec:

.org – link context is identical to the target for all links
.com – link context is present for a singular self link and the context and relation type are absent for links in notices
.xyz – link context is absent from all links



I am not aware of any specifications where the link context is explicitly defined with the creation/definition of a link (e.g. HTTP link header, w3c HTML5 spec, Atom).



Is the link object’s context/value used at all? Is it possible for a future update the RDAP spec to remove the link context, perhaps in RDAP-X?



Thanks,

James

_______________________________________________
regext mailing list
regext@ietf.org<mailto:regext@ietf.org>
https://urldefense.com/v3/__https://www.ietf.org/mailman/listinfo/regext__;!!PtGJab4!6wtxV-3nYPBVhxPBkz6KCDxx_XA68cXcyj3vYvYB4A_vP10wDBCGSofrmfkjkyJpRUrwWmQU6RvkkMXUjQekng$<https://urldefense.com/v3/__https:/www.ietf.org/mailman/listinfo/regext__;!!PtGJab4!6wtxV-3nYPBVhxPBkz6KCDxx_XA68cXcyj3vYvYB4A_vP10wDBCGSofrmfkjkyJpRUrwWmQU6RvkkMXUjQekng$> [ietf[.]org]

_______________________________________________
regext mailing list
regext@ietf.org<mailto:regext@ietf.org>
https://urldefense.com/v3/__https://www.ietf.org/mailman/listinfo/regext__;!!PtGJab4!6wtxV-3nYPBVhxPBkz6KCDxx_XA68cXcyj3vYvYB4A_vP10wDBCGSofrmfkjkyJpRUrwWmQU6RvkkMXUjQekng$<https://urldefense.com/v3/__https:/www.ietf.org/mailman/listinfo/regext__;!!PtGJab4!6wtxV-3nYPBVhxPBkz6KCDxx_XA68cXcyj3vYvYB4A_vP10wDBCGSofrmfkjkyJpRUrwWmQU6RvkkMXUjQekng$> [ietf[.]org]