[regext] Re: RDAP versioning - on client-server interactions and 2-RTT flow
Mario Loffredo <mario.loffredo@iit.cnr.it> Fri, 22 November 2024 10:00 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 B5416C16942D for <regext@ietfa.amsl.com>; Fri, 22 Nov 2024 02:00:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.002
X-Spam-Level:
X-Spam-Status: No, score=-2.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, 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=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=iit.cnr.it
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 o5Ec_jiMNQXa for <regext@ietfa.amsl.com>; Fri, 22 Nov 2024 02:00:08 -0800 (PST)
Received: from mx5.iit.cnr.it (mx5.iit.cnr.it [146.48.58.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5A9E8C1D61F7 for <regext@ietf.org>; Fri, 22 Nov 2024 02:00:07 -0800 (PST)
DKIM-Filter: OpenDKIM Filter v2.11.0 mx5.iit.cnr.it 994C0C04B0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iit.cnr.it; s=mx520231221; t=1732269604; bh=sMfQU08AXnGS2KQOyJ+ATCsAzDFauoTohJpPCetxqCQ=; h=Date:Subject:To:References:From:In-Reply-To:From; b=OFORGzPvQuctwCqM5FLFNmZ5IEWZy3ftA+/by2EGFuowyTYQkhVYM6aFtmkUUompM 9+QDmFpg4WVYYVSqnyunmAOtjw4TyBgfxuc3Rj+3Cg8R0j8IJ4Ih/T+8ozzoIZxaIo VXb9zeBieS0gZ8PmzFlTO/VXct3gWc5nPpVOF8Sci1M3uul3YX6lPxHj1TH7nDMDRH PSAZ8XqZaKlAzPjkMMxRR+5y7rycoBH/fHZoVOR4m20aLdIAWj0aNUFE2pqC4PJnO+ D31160puzUQ6nhRDfnEDvnsZhT5Spv19fGcDF4kBpa0csu63RjXx/MSmS/MAd4TPkX 22tdCBrADB5/g==
Received: from localhost (localhost [127.0.0.1]) by mx5.iit.cnr.it (Postfix) with ESMTP id 994C0C04B0; Fri, 22 Nov 2024 11:00:04 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at mx5.iit.cnr.it
Received: from mx5.iit.cnr.it ([127.0.0.1]) by localhost (mx5.iit.cnr.it [127.0.0.1]) (amavisd-new, port 10028) with ESMTP id vIWagx826eeD; Fri, 22 Nov 2024 11:00:03 +0100 (CET)
X-Relay-Autenticated: yes
Content-Type: multipart/alternative; boundary="------------uX0oZsRYFTMhf6Pp7Ty9tR20"
Message-ID: <ba62eea0-6861-4b7b-9d5b-75ae4fae571c@iit.cnr.it>
Date: Fri, 22 Nov 2024 10:54:20 +0100
Mime-Version: 1.0
Content-Language: it
To: "Gould, James" <jgould=40verisign.com@dmarc.ietf.org>, "kowalik@denic.de" <kowalik@denic.de>, "regext@ietf.org" <regext@ietf.org>
References: <10ba3faa-8bf7-4202-81bf-e2c99473c3db@denic.de> <10BE3B85-4538-49C5-AB98-4EDDCDCF2B5F@verisign.com> <a872a3d3-ca80-4fbc-b747-b3738e857dae@denic.de> <F6BD2F41-C0E6-4892-B9DA-920A62A46CC5@verisign.com> <7fc24d8e-f845-4e62-b164-cf6dcaa39915@denic.de> <02044771-6C63-466D-88F4-FD08B270F4F3@verisign.com> <beb2763a-97ea-4e71-b144-45c5a3501042@denic.de> <EFD94C63-7AA1-400A-9A38-F7696409686A@verisign.com>
From: Mario Loffredo <mario.loffredo@iit.cnr.it>
In-Reply-To: <EFD94C63-7AA1-400A-9A38-F7696409686A@verisign.com>
Message-ID-Hash: OCKEG6O3X7WFT7VWRRUAQEXR637S256M
X-Message-ID-Hash: OCKEG6O3X7WFT7VWRRUAQEXR637S256M
X-MailFrom: mario.loffredo@iit.cnr.it
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-regext.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [regext] Re: RDAP versioning - on client-server interactions and 2-RTT flow
List-Id: Registration Protocols Extensions Working Group <regext.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/regext/0JL05Ll56BnuD5TSfXLzb7u3r8M>
List-Archive: <https://mailarchive.ietf.org/arch/browse/regext>
List-Help: <mailto:regext-request@ietf.org?subject=help>
List-Owner: <mailto:regext-owner@ietf.org>
List-Post: <mailto:regext@ietf.org>
List-Subscribe: <mailto:regext-join@ietf.org>
List-Unsubscribe: <mailto:regext-leave@ietf.org>
Hi Pawel, Il 21/11/2024 21:46, Gould, James ha scritto: > > Pawel, > > The client doesn’t pass a range of versions but passes the extension > versions that they want to override from the default set of versions > supported by the server. The version provided by the client is a hint > and not a directive that would result in a failure in processing the > request. The client may be concerned about the version of an > individual RDAP extension, so they would specify which version that > they prefer to be returned. The server returns in the “versioning” > member of the response, which extension version was used. “Best > fitting” sounds interesting, but I’m not sure how that will work in > practice. The client can determine on a per server basis what > extension versions are supported and provide the hint to the server > what extension versions it wants included in the response and it’s up > to the server to determine how to apply the hint. If the hint > provided by the client doesn’t match one supported by the server, I > would simply return the default version, since determining the “best > fit” is not very deterministic and won’t be clear to the client why > their extension version hint wasn’t honored. > > Do others feel that providing version ranges and the server applying a > best fit is preferable over having a default set of extensions > versions in the server that the client can override by provided a > match with one of the supported extension versions in the query? > Can you please elaborate on which use case corresponds to support a default version that is six versions back to the next version and no version in between ? Honestly, can't imagine any practical case like the one you described. One coming in my mind is that all the versions between 0.4 to 0.9 could be related to additive changes and the server is able to support all of them. Instead, it seems more likely to me the scenario where the client requests for an extension version not yet supported by the server but supported elsewhere (e.g the client requests for version 0.9, but the higher version supported is 0.8). In that case, the server could return version 0.8 as the best fitting compatible but that would be based on an assumption made by the server that the client couldn't always share and I agree with James that the server operation wouldn't be deterministic. Therefore, IMO it's better for the server to have a default version as a fallback. Likewise the client would have to manage only two options: the server returns the requested version or the server returns the default version. Please note also that as a general rule the default version corresponds to the last one stable hence it wouldn't be received by the client as something unexpected. Further versions are normally provided for testing. Finally, it seems to me that the implementation of the "best fitting" strategy can be tricky when dealing with opaque extension identifiers as the versioning information is embedded or even missing in that case. Best, Mario > -- > > JG > > > cid87442*image001.png@01D960C5.C631DA40 > > *James Gould > *Fellow Engineer > jgould@Verisign.com > <applewebdata://13890C55-AAE8-4BF3-A6CE-B4BA42740803/jgould@Verisign.com> > > 703-948-3271 > 12061 Bluemont Way > Reston, VA 20190 > > Verisign.com <http://verisigninc.com/> > > *From: *"kowalik@denic.de" <kowalik@denic.de> > *Date: *Thursday, November 21, 2024 at 2:06 PM > *To: *James Gould <jgould@verisign.com>, "regext@ietf.org" > <regext@ietf.org> > *Subject: *[EXTERNAL] Re: [regext] RDAP versioning - on client-server > interactions and 2-RTT flow > > Hi Jim, > > Again, the proposal for 1-RTT model is that the client would put a > range of versions it supports into a request and the server would put > best efforts to fulfil it. Like > ?versioning=versioning-0.3-versioning-0.9,versioning-1.0+. Current > draft allows listing all supported versions one by one, but this list > may grow big in this case. The draft is not clear about what to do if > server does not support the requested version. Say server supports 0.3 > (default) and 0.9 and client requests 0.6. It would be better for the > client that the server responds with 0.9 (best fitting compatible > version with 0.6) rather than with default 0.3. > > Also a redirect target server can deliver the best fitting response > rather than falling back to default. > > Kind Regards, > > Pawel > > On 21.11.24 19:26, Gould, James wrote: > > Pawel, > > The server has a default set of extensions with or without the > versioning extension and will return the defaults. I don’t see > your concern with exposing the supported extension versions in the > help response, since it really doesn’t require a 2-RTT flow. The > lazily option includes the sub-option of manually using the > meta-data to address an error. If there was no versioning > extension, there would be no meta-data within RDAP to use to > determine the root cause of the extension issue when the server > supports more than one version of an extension at a time. > > The versioning extension is optional for the RDAP client to > implement, as should be the case for other RDAP extensions, > provides help information in the help response per RFC 9082, and > the help information can be used at any time automatically or > manually when needed. Introducing an optional RDAP extension that > provides extra meta-data in the help response in no way implies > the need for a 2-RTT flow. > > Thanks, > > -- > > JG > > > > > *James Gould > *Fellow Engineer > jgould@Verisign.com > <applewebdata://13890C55-AAE8-4BF3-A6CE-B4BA42740803/jgould@Verisign.com> > > 703-948-3271 > 12061 Bluemont Way > Reston, VA 20190 > > Verisign.com > <http://secure-web.cisco.com/1Wv2EPn7C7-lq0WVPWcTsrUPEGLQP0VH_PZJ6W3FGEMShJ6WQrFGrV00PI1XZH6wmHJxSHxXEviOqbCXI7AKeQw0R9_BY6fjiPgX6X3B-ugjuTyXJ8a_xSOzZCVVjf4g154WAMHR288btNwdVKRalmjuYjLY_EE5IHPFIadaRsKUyPjNAdhjJiVDWPeyGtqcPwXPBuqSP-3FjmzjaAKydvLNPrRuhllWtvIQB9S1-eblJKIHkIDy5fcgre6NiJNVuIbBba_rUchnLxVuGaGHkNiWpU01GHMDj7gClM71wgpk/http%3A%2F%2Fverisigninc.com%2F> > > *From: *"kowalik@denic.de" <mailto:kowalik@denic.de> > <kowalik@denic.de> <mailto:kowalik@denic.de> > *Date: *Thursday, November 21, 2024 at 1:16 PM > *To: *James Gould <jgould@verisign.com> > <mailto:jgould@verisign.com>, "regext@ietf.org" > <mailto:regext@ietf.org> <regext@ietf.org> <mailto:regext@ietf.org> > *Subject: *[EXTERNAL] Re: [regext] RDAP versioning - on > client-server interactions and 2-RTT flow > > Hi Jim, > > Got it. These are all optimisations of 2-RTT model. > I am missing your feedback to my 1-RTT proposal and risks related > to redirects in 2-RTT scenario. > > Kind Regards, > > Pawel > > On 21.11.24 19:00, Gould, James wrote: > > Pawel, > > The client has multiple options: > > 1. Proactively leverage the versioning help with every query > (2-RTT) or a pre-defined intervals to keep the > configuration accurate. > > 1. I don’t see the extension versions changing frequently > and the versioning extension does support > pre-publishing support for an extension version to the > client, so my recommendation would be to check it > daily or even less frequently in a single client. > > 2. Lazily leverage the versioning help when there is an > identified extension version issue > > 1. This could be automated with the first error and then > stored with the correct extension versioning > information for subsequent queries. > 2. This could be manual when an error is reported, and > operations uses the versioning help to diagnose the > issue for a fix. > > There are probably many additional options, where having the > meta-data along in the versioning help (e.g., > “versioning_help” member) with the extension versioning detail > with each response (e.g., “versioning” member) should provide > value with any RDAP client to address extension compatibility > issues automatically or manually. > > Thanks, > > -- > > JG > > > cid87442*image001.png@01D960C5.C631DA40 > > *James Gould > *Fellow Engineer > jgould@Verisign.com > <applewebdata://13890C55-AAE8-4BF3-A6CE-B4BA42740803/jgould@Verisign.com> > > 703-948-3271 > 12061 Bluemont Way > Reston, VA 20190 > > Verisign.com > <http://secure-web.cisco.com/11KWO61ONP3_D4UFnzav5ddD672ljzIQFbvruzfwmY-UufG83Q9qeOASRq90wZO8rDn82Gl4ezO8LFsywN9iX3eaC5gYTNS0Ozvj6CU2GBLBBSRCuB6e9EGJKiN-NcQtPiB-HOey2X25gQ3_nyB0nxGbKVW4I55_OmmuVgZhhNnOt8694hHAgDJ3cpDNm5pqCcCUsdenKtJtfBm-zU1I_FIaakyB7wjBqGUrVlscG4wTNhTveqTvx8r4FVlGeYNJygo_yFL8fQACGVkqOV9ksrUYTvvW5KIx1v_eOO6w4acI/http%3A%2F%2Fverisigninc.com%2F> > > *From: *"kowalik@denic.de" <mailto:kowalik@denic.de> > <kowalik@denic.de> <mailto:kowalik@denic.de> > *Date: *Thursday, November 21, 2024 at 12:36 PM > *To: *James Gould <jgould@verisign.com> > <mailto:jgould@verisign.com>, "regext@ietf.org" > <mailto:regext@ietf.org> <regext@ietf.org> > <mailto:regext@ietf.org> > *Subject: *[EXTERNAL] Re: [regext] RDAP versioning - on > client-server interactions and 2-RTT flow > > Hi Jim, > > If the client would like to benefit from machine readable > version information from versioning extension, there is no way > around 2-RTT. > > If not, then this extension is basically of no practical > meaning to such client, so not really worth considering. > > Kind Regards, > > Pawel > > On 21.11.24 18:29, Gould, James wrote: > > Pawel, > > > > RFC 9082 states the following for the Help Path Segment: > > > > The help path segment can be used to request helpful information (command syntax, terms of service, privacy policy, rate-limiting policy, supported authentication methods, supported extensions, technical support contact, etc.) from an RDAP server. The response to "help" should provide basic information that a client needs to successfully use the service. > > > > This is exactly what the versioning extension is doing in the "versioning_help" member, by providing help information on supported extensions. A client is not required to use the versioning extension to perform queries, since the server does have a default extension version that is specified in the "versioning_help" member. If a client does run into an extension compatibility issue, it could use the help command to programmically (lazily) or manually determine the root cause of the issue for resolution. > > > > There is no requirement or expectation that an RDAP client implement 2-RTT. > > > > Thanks, > > > > -- > > > > JG > > > > > > > > James Gould > > Fellow Engineer > > jgould@Verisign.com <applewebdata://13890C55-AAE8-4BF3-A6CE-B4BA42740803/jgould@Verisign.com> <mailto:applewebdata://13890C55-AAE8-4BF3-A6CE-B4BA42740803/jgould@Verisign.com> > > > > 703-948-3271 > > 12061 Bluemont Way > > Reston, VA 20190 > > > > Verisign.com<http://verisigninc.com/> <http://secure-web.cisco.com/1i4F4XceuHxhs-b9i0KfN2SASQv-TqK69F2z5EdAqIhCxvhNvC3WwTfK6ANtRgjWLd-R8d-Cqyv-UD-CDH530aIlcZGBWm2yG1KKtbY1TC3EuirdyZQMdD6m8QZxEis3VeDni07o4rQRu8oP6EsH75zHCBqovfVVxdTQR2RG4TWq-JSOiQGFBxZo-rT98XqthLeXHhlNAGdU4WeXMwzWqT6EUQND3wycz-A1IZhl6TZs0OrUj1i16L6RWb2XC51tpxYvBo1-crVyGevQ5AGLM6MWtAFYuGnkJXhUPgBL98fI/http%3A%2F%2Fverisigninc.com%2F> > > > > > > > > > > On 11/21/24, 12:19 PM, "Pawel Kowalik" <kowalik@denic.de <mailto:kowalik@denic.de> <mailto:kowalik@denic.de>> wrote: > > > > > > Hi, > > > > > > Thinking of interactions between the client and server that versioning > > draft assumes I think we are heading towards 2-RTT model for every request. > > > > > > Step 1: The client makes an HTTP GET request to the /help endpoint of > > the RDAP server. > > Step 2: The response is processed to extract rdapConformance and versioning. > > Step 3: Compare the server's supported extensions and versions with > > those supported by the client. > > Step 4: If compatible configurations are found, the client makes target > > request to a resource endpoint (e.g., domain/foo.com) using headers or > > query parameters to specify the desired configuration. > > > > > > So we have 2 full RTTs. Of course a client can cache it for some time > > but not forever, as the server may change at any time its configuration. > > In a cold state or a client without capability to cache this will be > > always 2-RTT if the client would like to be aware of the versions. > > > > > > I don't think this is in line with rfc7480, which assumes "a client > > implementation should be possible using common operating system > > scripting tools (e.g., bash and wget)". Also not with the usage pattern > > defined in Section 1. None of it is normative, however I would not just > > ignore it without discussing consequences of going this way. > > > > > > I would like to see more that versioning draft would assume 1-RTT model > > as a primary use-case, so that the client would put a range of versions > > it supports into a request and the server would put best efforts to > > fulfil it. This would be also more "redirect friendly", so that a > > redirected request to another server (no matter if with query parameters > > or headers) would have the same information about client capabilities > > and able to serve the response as opposed to getting a request for > > configuration crafted for the origin server of a redirect. > > > > > > Kind Regards, > > > > > > Pawel > > > > > > > > > > > > > _______________________________________________ > regext mailing list --regext@ietf.org > To unsubscribe send an email toregext-leave@ietf.org -- Dott. Mario Loffredo Senior Technologist Technological Unit “Digital Innovation” Institute of Informatics and Telematics (IIT) National Research Council (CNR) Address: Via G. Moruzzi 1, I-56124 PISA, Italy Phone: +39.0503153497 Web:http://www.iit.cnr.it/mario.loffredo
- [regext] Re: RDAP versioning - on client-server i… Gould, James
- [regext] RDAP versioning - on client-server inter… Pawel Kowalik
- [regext] Re: RDAP versioning - on client-server i… kowalik@denic.de
- [regext] Re: RDAP versioning - on client-server i… Gould, James
- [regext] Re: RDAP versioning - on client-server i… kowalik@denic.de
- [regext] Re: RDAP versioning - on client-server i… Gould, James
- [regext] Re: RDAP versioning - on client-server i… kowalik@denic.de
- [regext] Re: RDAP versioning - on client-server i… Gould, James
- [regext] Re: RDAP versioning - on client-server i… Mario Loffredo
- [regext] Re: RDAP versioning - on client-server i… Andrew Newton (andy)
- [regext] Re: RDAP versioning - on client-server i… Mario Loffredo
- [regext] Re: RDAP versioning - on client-server i… kowalik@denic.de
- [regext] Re: RDAP versioning - on client-server i… Mario Loffredo
- [regext] Re: RDAP versioning - on client-server i… kowalik@denic.de