[netconf] Re: Francesca Palombini's Discuss on draft-ietf-netconf-http-client-server-23: (with DISCUSS)
Mark Nottingham <mnot@mnot.net> Thu, 29 August 2024 01:23 UTC
Return-Path: <mnot@mnot.net>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A6308C14F6B8; Wed, 28 Aug 2024 18:23:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.107
X-Spam-Level:
X-Spam-Status: No, score=-2.107 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, RCVD_IN_ZEN_BLOCKED_OPENDNS=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=mnot.net header.b="BFQSLNSA"; dkim=pass (2048-bit key) header.d=messagingengine.com header.b="sHRtBzLi"
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 5UkbaAoPXRXG; Wed, 28 Aug 2024 18:22:56 -0700 (PDT)
Received: from fout3-smtp.messagingengine.com (fout3-smtp.messagingengine.com [103.168.172.146]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 248B6C14F69D; Wed, 28 Aug 2024 18:22:54 -0700 (PDT)
Received: from phl-compute-05.internal (phl-compute-05.nyi.internal [10.202.2.45]) by mailfout.nyi.internal (Postfix) with ESMTP id C33EC138FF34; Wed, 28 Aug 2024 21:22:53 -0400 (EDT)
Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-05.internal (MEProxy); Wed, 28 Aug 2024 21:22:53 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnot.net; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1724894573; x=1724980973; bh=fZFb2Y+Mj0kllWuq5asKUkD53Hl5DDSxuSC5EQHtsok=; b= BFQSLNSAynCImv4hKBQWuke4Uef04Lq6SAQcMp9nZziucQmX30AvuLFnkEE7+6Jb QrzMeg5n8SysDJTHLmaL95QDYGfTmLXIdEaRo0uMIjEaMLWrh6frZfjXXIfOHhPw tBbSrATXNmfq5h4qXUY2mSF2FuPcmUTmjY39AOIBhnzNnpeMHAD6mVtu9nZ6rbXL WfeRTfAbxPyj5yL1kAP4l+X8CiPvltaEi3a7myLCagMjN5tVMDhBDa7KVmXVimtb 5+LjD2J5NTjjePotrfhscnT3/z+x2r8IOFIbHstNeRZ7bh9hvgsPhLZnQcDK0+5Z ZoC5xLGaJL06GuekV3pIGQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1724894573; x= 1724980973; bh=fZFb2Y+Mj0kllWuq5asKUkD53Hl5DDSxuSC5EQHtsok=; b=s HRtBzLicTkwUk1PK+BhLkv8wCenwZRm0sBEBa809tXX+6vEfYYemvLtC8Qz1OEH3 rf1rZJsG9q7jLN9sFekavsaVCmHhyfhDP7rEzDrlZp2s8g1iv4F2Y99k5yT84t7E Z6PBfoDt1QAwSo/ZjHuUOIV34PaOjgkbWjAULa1Z1FCr85JkLLb+SGSDYMBdDYnm 2FtkmQ6O1P4Wai1pqb9TVN3dyu8X4EiexGdPLVE2EO7ENsTZL4q3uNTk3jntXbkN Ly+DvM+n4ZF8myib+Orz4vA9az2S+TVSJJXx86Jsz9riYPBeiSJdP9FLHufqXOrm DHNSRPv1nWjol225k09Ng==
X-ME-Sender: <xms:bc3PZn-cAaG4EBqnyFrq8xidmqxX8F3JYmxWk32lWxXJlVuJI6CDog> <xme:bc3PZjvYU6-c90_BwO4cKssGL2FGCMOuZXcJUrkNkBERsc9MVrAJcoXzUJlHPFpiD _hMb8gs4PU-k87Feg>
X-ME-Received: <xmr:bc3PZlBrvHIlUdXHYCCI-hDynfbgS9Je5iOUbM6suzfT9Vpxxp7CdupccNb8pPTQ4IrE0ss9-TOfrLlRvs8QbDaizjGyquOiSbmJxJchjLacRQ_hiH1FQh29>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudeffedggeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurheptggguffhjgffvefgkfhfvffosehtqhhmtdhhtdej necuhfhrohhmpeforghrkhcupfhothhtihhnghhhrghmuceomhhnohhtsehmnhhothdrnh gvtheqnecuggftrfgrthhtvghrnhepteefjeevudfgtdeuffeijeetheehiefhteekjeeh vddtheekgeegffejleevkeejnecuffhomhgrihhnpehsfigrghhgvghrrdhiohdphhhtth hpfihgrdhorhhgpdhmnhhothdrnhgvthenucevlhhushhtvghrufhiiigvpedtnecurfgr rhgrmhepmhgrihhlfhhrohhmpehmnhhothesmhhnohhtrdhnvghtpdhnsggprhgtphhtth hopeejpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehmjhgvthhhrghnrghnuggr nhhisehgmhgrihhlrdgtohhmpdhrtghpthhtohepfhhrrghntggvshgtrgdrphgrlhhomh gsihhnihesvghrihgtshhsohhnrdgtohhmpdhrtghpthhtohepihgvshhgsehivghtfhdr ohhrghdprhgtphhtthhopegurhgrfhhtqdhivghtfhdqnhgvthgtohhnfhdqhhhtthhpqd gtlhhivghnthdqshgvrhhvvghrsehivghtfhdrohhrghdprhgtphhtthhopehnvghttgho nhhfqdgthhgrihhrshesihgvthhfrdhorhhgpdhrtghpthhtohepnhgvthgtohhnfhesih gvthhfrdhorhhgpdhrtghpthhtohepkhgvnhhtodhivghtfhesfigrthhsvghnrdhnvght
X-ME-Proxy: <xmx:bc3PZjf9RrWnQUXF8JQflEjDzvD3ykmjB-GknK_j9rtGww6_Wq-J3A> <xmx:bc3PZsP-sFP6pKFm2WfZB7Lhs72LBcYvN7wK3zF2D8ZtrY4wVWFhgQ> <xmx:bc3PZllH6h1ekmInSOeJxCOyMJE-zJCclw120d0pGUeI8qfXJkBgww> <xmx:bc3PZmvog5-c2Z1I-XU3_3WB_zL_PUQqXhIJU8EOEYmBVqqr4SLXyg> <xmx:bc3PZrrZAQ_mV99V7uthrYSouIRpgcGPep9PGdRZr8ne0yWEwhRnPMIB>
Feedback-ID: ie6694242:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 28 Aug 2024 21:22:51 -0400 (EDT)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <BBA38183-A666-4CCF-BB89-D552B7BC6B44@gmail.com>
Date: Thu, 29 Aug 2024 11:22:48 +1000
Content-Transfer-Encoding: quoted-printable
Message-Id: <ABDB4C56-8A51-4FCC-B4B5-D6F80118D3E9@mnot.net>
References: <172416794310.2072814.8838102958915521258@dt-datatracker-6df4c9dcf5-t2x2k> <01000191716a91f5-134569c8-7097-4beb-a83c-1e533c72cb92-000000@email.amazonses.com> <B930CFB9-0827-4A04-B3DE-103253048DE1@mnot.net> <010001917276c9a9-61d073c7-2edc-4fb6-8397-6bf11b2cf243-000000@email.amazonses.com> <DC395793-7357-45E3-BF94-E99280A66C0C@mnot.net> <010001917365fcca-e582458e-7aa7-4c46-bf31-fbcbccefb210-000000@email.amazonses.com> <BBA38183-A666-4CCF-BB89-D552B7BC6B44@gmail.com>
To: Mahesh Jethanandani <mjethanandani@gmail.com>
X-Mailer: Apple Mail (2.3776.700.51)
Message-ID-Hash: KMFZEBN4FECXSGJ6RDSKSTSY7DCZXI3X
X-Message-ID-Hash: KMFZEBN4FECXSGJ6RDSKSTSY7DCZXI3X
X-MailFrom: mnot@mnot.net
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-netconf.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Francesca Palombini <francesca.palombini@ericsson.com>, The IESG <iesg@ietf.org>, draft-ietf-netconf-http-client-server@ietf.org, NETCONF WG Chairs <netconf-chairs@ietf.org>, NETCONF WG <netconf@ietf.org>, Kent Watsen <kent+ietf@watsen.net>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [netconf] Re: Francesca Palombini's Discuss on draft-ietf-netconf-http-client-server-23: (with DISCUSS)
List-Id: NETCONF WG list <netconf.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/N22kBFijo7Y1avXbNCONPSd-fdE>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Owner: <mailto:netconf-owner@ietf.org>
List-Post: <mailto:netconf@ietf.org>
List-Subscribe: <mailto:netconf-join@ietf.org>
List-Unsubscribe: <mailto:netconf-leave@ietf.org>
It doesn't. Concretely, I suggest - * In the Abstract, remove "Support is provided for HTTP/1.1, HTTP/2, and HTTP/3." * Remove protocol-versions from http-client-common-grouping Also, I noticed that the Abstract says: > It is intended that these groupings will be used to help define the configuration for simple HTTP-based protocols (not for complete web servers or browsers). If this is indeed intended to be a configuration mechanism for HTTP-based protocols, that would seem to be more in-scope with the HTTPAPI WG - has any coordination been done with them? In particular, the relationship to OpenAPI <https://swagger.io/specification/> should be considered, as it has considerable adoption and overlaps this use case. Cheers, > On 27 Aug 2024, at 10:54 AM, Mahesh Jethanandani <mjethanandani@gmail.com> wrote: > > Hi Mark, > > Francesca’s DISCUSS, which is a proxy for your HTTPDIR review was discussed in the telechat last Thursday. I am following up to find out if Kent’s reply below addresses your concerns or not. If my understanding is correct, the main sticking point is the client trying to specify a HTTP version it wants to use, and its possible impact on the HTTP ecosystem. > > Let us know. Thanks. > >> On Aug 20, 2024, at 10:25 PM, Kent Watsen <kent+ietf@watsen.net> wrote: >> >>>> Negotiating version at runtime (startup handshake) is common practice. The way it usually goes is that the client has a list of what it allows, and the server has a list of what it supports, and the latest/newest common version is selected. This is how it works in HTTP also, yes? >>> >>> No. See: >>> >>> https://httpwg.org/specs/rfc9112.html#http.version >>> https://httpwg.org/specs/rfc9113.html#starting >>> https://httpwg.org/specs/rfc9114.html#discovery >> >> Fine, but your point is only made because HTTP keeps changing its transport ;) >> >> Assuming HTTP/4 stays with QUIC, then RFC 7301, Section 1 says: >> >> With ALPN, the client sends the list of supported application >> protocols as part of the TLS ClientHello message. The server >> chooses a protocol and sends the selected protocol as part of >> the TLS ServerHello message. >> >> >> In such a case, the client’s ALPN list would be [h3, h4], and the server returns one or the other, depending on what it supports, which is effectively what I wrote. >> >> I also note that RFC 9114 Section 3.1 says: >> >> A client MAY attempt access to a resource with an "https" URI by >> resolving the host identifier to an IP address, establishing a >> QUIC connection to that address on the indicated port (including >> validation of the server certificate as described above), and >> sending an HTTP/3 request message targeting the URI to the server >> over that secured connection. >> >> This optimization is possible if the client knows it only wants QUIC-based HTTP. This is faster than first establishing an HTTP/2 connection and switching after receiving the "alt-svc” header. This is also faster than the client optimistically switching after receiving a "TCP RST”, assuming the server isn't listening on tcp/443. >> >> >>>> Let’s say there exists an HTTP-client that requires multiplexing, so it requires at least HTTP/2. But it connects to a server that only supports HTTP/1.1. IMO the negotiation should fail, letting the HTTP-client to try another server. Isn’t this proper? >>> >>> A "HTTP-client that requires multiplexing" (i.e., an application using HTTP that wants to multiplex) can use multiple HTTP/1 connections, or HTTP/2, or HTTP/3, or... >> >> It was just an example. The general point is that each HTTP version comes with a set of features (e.g., scalability, performance, security, etc.) and a client may require a specific feature-set. >> >> >>>> The configuration -23 regards setting the client’s "list of what it allows". It can be a list of versions, or the special wildcard value “any”. It is expected that this “list of versions" will feed into the negotiation. IDK, maybe you thought that the draft was always setting the client to a single version? >>> >>> No; I'm only attempting to make sure that your specification doesn't actively harm the HTTP ecosystem. >> >> >> Good - and thank you! >> >> >>> Constraining the available versions is one way that can happen. >> >> Can you provide a scenario where the client being configured to use specific versions harms the HTTP ecosystem? >> >> >>> I continue to be concerned that you're defining a configuration language for HTTP without a strong understanding of the protocol's core concepts or common implementation patterns. >> >> It could also be that you don’t appreciate that, by nature of this being “configuration”, it is not a "first contact” scenario. That is, this is much more like a script using `curl` than a user using a browser. >> >> >> Thanks again! >> Kent >> >> > > > Mahesh Jethanandani > mjethanandani@gmail.com > > > > > > -- Mark Nottingham https://www.mnot.net/
- [netconf] Francesca Palombini's Discuss on draft-… Francesca Palombini via Datatracker
- [netconf] Re: Francesca Palombini's Discuss on dr… Kent Watsen
- [netconf] Re: Francesca Palombini's Discuss on dr… Mark Nottingham
- [netconf] Re: Francesca Palombini's Discuss on dr… Kent Watsen
- [netconf] Re: Francesca Palombini's Discuss on dr… Mark Nottingham
- [netconf] Re: Francesca Palombini's Discuss on dr… Kent Watsen
- [netconf] Re: Francesca Palombini's Discuss on dr… Mahesh Jethanandani
- [netconf] Re: Francesca Palombini's Discuss on dr… Mark Nottingham
- [netconf] Re: Francesca Palombini's Discuss on dr… Mahesh Jethanandani
- [netconf] Re: Francesca Palombini's Discuss on dr… Francesca Palombini
- [netconf] Re: Francesca Palombini's Discuss on dr… Kent Watsen
- [netconf] Re: Francesca Palombini's Discuss on dr… Mark Nottingham