Re: WGLC for draft-ietf-httpbis-connect-tcp

Tommy Pauly <tpauly@apple.com> Wed, 14 February 2024 03:49 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=ietf.org@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EB5D1C151980 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 13 Feb 2024 19:49:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.856
X-Spam-Level:
X-Spam-Status: No, score=-7.856 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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=w3.org header.b="iq4slJO5"; dkim=pass (2048-bit key) header.d=w3.org header.b="fH4CxbZ1"; dkim=pass (2048-bit key) header.d=apple.com header.b="HTInyLKN"
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 E-evWj4hOR49 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 13 Feb 2024 19:49:30 -0800 (PST)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EBA3DC151707 for <httpbisa-archive-bis2Juki@ietf.org>; Tue, 13 Feb 2024 19:49:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=w3.org; s=s1; h=Subject:References:To:Cc:In-reply-to:Date:MIME-version:Content-type: Message-id:From:Reply-To; bh=IudhPsl6DLDUbPtQ4V64WD1W8T/9tUj01DXUL3f/UIE=; b= iq4slJO5sfMFpeSVHJdtBeq+gOrtAAxRiwMOQcWlfqCh9cdbCK+dRZAK87vwOPoNP0FlcTus6hyKV Xi4ZB/kAKpllTt9+86H6z1GcHBd7qM8Mxs/AL4CR0Ry70kI8pifxPhfX+HrkfpcCRktwam4zE5umz 9uJReA4le984TevS6WIwiDhDj4d57LCsOGaW9BKeSk4cE5pqC0X+oQ3aOcdVvibqZZOhTffeL1tDu lpSaR96+yYOI9godhahWlk5R74/c6MgJLqPrlYPwkzkNnOvK049UktTA7ZdG6QP0aP9b2kaozm62I JjZn0KFac8miEW+QBNba4dEdgpOBzb/AKg==;
Received: from lists by lyra.w3.org with local (Exim 4.94.2) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ra6Gr-003mCa-FR for ietf-http-wg-dist@listhub.w3.org; Wed, 14 Feb 2024 03:49:17 +0000
Resent-Date: Wed, 14 Feb 2024 03:49:17 +0000
Resent-Message-Id: <E1ra6Gr-003mCa-FR@lyra.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by lyra.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <tpauly@apple.com>) id 1ra6Gl-003mBZ-Oz for ietf-http-wg@listhub.w3.org; Wed, 14 Feb 2024 03:49:11 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=w3.org; s=s1; h=References:To:Cc:In-reply-to:Date:Subject:MIME-version:Content-type: Message-id:From:Reply-To; bh=IudhPsl6DLDUbPtQ4V64WD1W8T/9tUj01DXUL3f/UIE=; t=1707882551; x=1708746551; b=fH4CxbZ1k66kk/vrWijzM0y/ZRjur8HQ7Hgzu0N7L226xe/ AXeZoRQu6+jczc1PIGk4Ajq3HH6CQJ1p9AGEyDQoe1o9yOdNP36heCm4jQVaaNHLYo1bsMvt+ErKY djPow71uVtQ9y71oDa8BQilHKYl0VfKPVnL0J8O6BO1zzz25FnqsWIt2SONVpPCApkrAN4JzILeuV SN5RCqQBbI8P87fA5QADTOiKyeJLFuZ5MD40jDHkioNjmShy5iY2aDse0bdp/022JavZQhMCZ2K/w wa3ig56qy4KaN5WJiuw9XkN+OlnKWI881U5jBQGGoOJXAqxJZrk3wmq9UevKt+xg==;
Received: from ma-mailsvcp-mx-lapp02.apple.com ([17.32.222.23]) by mimas.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from <tpauly@apple.com>) id 1ra6Gj-00Cahl-BK for ietf-http-wg@w3.org; Wed, 14 Feb 2024 03:49:11 +0000
Received: from rn-mailsvcp-mta-lapp01.rno.apple.com (rn-mailsvcp-mta-lapp01.rno.apple.com [10.225.203.149]) by ma-mailsvcp-mx-lapp02.apple.com (Oracle Communications Messaging Server 8.1.0.23.20230328 64bit (built Mar 28 2023)) with ESMTPS id <0S8T00LI6ULP1Y00@ma-mailsvcp-mx-lapp02.apple.com> for ietf-http-wg@w3.org; Tue, 13 Feb 2024 19:49:02 -0800 (PST)
X-Proofpoint-ORIG-GUID: Jv0m4gC1Vocg448w8FyWb6FGujPGF4Mf
X-Proofpoint-GUID: Jv0m4gC1Vocg448w8FyWb6FGujPGF4Mf
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.619,18.0.1011 definitions=2024-02-13_16:2024-02-12,2024-02-13 signatures=0
X-Proofpoint-Spam-Details: rule=interactive_user_notspam policy=interactive_user score=0 adultscore=0 suspectscore=0 mlxscore=0 bulkscore=0 mlxlogscore=999 spamscore=0 malwarescore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2402140028
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apple.com; h=from : message-id : content-type : mime-version : subject : date : in-reply-to : cc : to : references; s=20180706; bh=IudhPsl6DLDUbPtQ4V64WD1W8T/9tUj01DXUL3f/UIE=; b=HTInyLKNKII5oX7I+uJ3sNbNWWIbMvGyFMn8kODcSqIS8w5FaBPxEsAXuEdf23jk+ba3 BGuyV6i+4o1xpWMkArxSE/vLHVgCfTF6sSQon6GKLCQyvizcqUdYsH08S/tZWGhsUamz Dbo6oyajWlqg9gWjDoydIIclGj54VzFOMJg1sJ15ZLRO3s/f8X50Bzb1axpfH0BmNLO6 QBd03R6CjJ4URYIQr12Hr3wfP+zj5s11Keb6nQzIM0qsNgo3hs9eE8Ehg5ctelvaXhuf 6bTJtPgPxy+u7XqTMrxYBDpj8xbFZ6qMWQeger50WWajMsyFhBcvnkV5WDbKeYTFfegH OA==
Received: from rn-mailsvcp-mmp-lapp02.rno.apple.com (rn-mailsvcp-mmp-lapp02.rno.apple.com [17.179.253.15]) by rn-mailsvcp-mta-lapp01.rno.apple.com (Oracle Communications Messaging Server 8.1.0.23.20230328 64bit (built Mar 28 2023)) with ESMTPS id <0S8T00VC9ULPKC40@rn-mailsvcp-mta-lapp01.rno.apple.com>; Tue, 13 Feb 2024 19:49:01 -0800 (PST)
Received: from process_milters-daemon.rn-mailsvcp-mmp-lapp02.rno.apple.com by rn-mailsvcp-mmp-lapp02.rno.apple.com (Oracle Communications Messaging Server 8.1.0.23.20230328 64bit (built Mar 28 2023)) id <0S8T00800UJ57Q00@rn-mailsvcp-mmp-lapp02.rno.apple.com>; Tue, 13 Feb 2024 19:49:01 -0800 (PST)
X-Va-A:
X-Va-T-CD: 09168840e92c5b4052f7698cb3185d2b
X-Va-E-CD: c9bd4101e6b9c7970cf18ac1d952aca8
X-Va-R-CD: 07c6ebd6c62e25bf0ecdfba5c6b0180d
X-Va-ID: 20c42ae8-1300-4486-b0d2-b61cbdfb50de
X-Va-CD: 0
X-V-A:
X-V-T-CD: 09168840e92c5b4052f7698cb3185d2b
X-V-E-CD: c9bd4101e6b9c7970cf18ac1d952aca8
X-V-R-CD: 07c6ebd6c62e25bf0ecdfba5c6b0180d
X-V-ID: b0c548ca-d507-4dc8-9c4b-8e9a121a00f6
X-V-CD: 0
X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-13_16,2024-02-12_03,2023-05-22_02
Received: from smtpclient.apple ([17.11.161.67]) by rn-mailsvcp-mmp-lapp02.rno.apple.com (Oracle Communications Messaging Server 8.1.0.23.20230328 64bit (built Mar 28 2023)) with ESMTPSA id <0S8T00U95ULK0V00@rn-mailsvcp-mmp-lapp02.rno.apple.com>; Tue, 13 Feb 2024 19:48:59 -0800 (PST)
From: Tommy Pauly <tpauly@apple.com>
Message-id: <0489428B-16E4-42AF-8224-9054122DD41A@apple.com>
Content-type: multipart/alternative; boundary="Apple-Mail=_78D1D7B6-D62A-44E6-B55A-C9FA429E275E"
MIME-version: 1.0 (Mac OS X Mail 16.0 \(3774.300.61.1.2\))
Date: Tue, 13 Feb 2024 19:48:45 -0800
In-reply-to: <SA1PR15MB437034E91B1959A206D82482B3792@SA1PR15MB4370.namprd15.prod.outlook.com>
Cc: David Schinazi <dschinazi.ietf@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
To: Ben Schwartz <bemasc@meta.com>
References: <7228A073-F867-4007-BB44-0AA547455539@apple.com> <CAPDSy+5ETu3BeA-0defYYKhLhMZ9f6UE=boxAp7aFwh-RTi9xw@mail.gmail.com> <SA1PR15MB437034E91B1959A206D82482B3792@SA1PR15MB4370.namprd15.prod.outlook.com>
X-Mailer: Apple Mail (2.3774.300.61.1.2)
Received-SPF: pass client-ip=17.32.222.23; envelope-from=tpauly@apple.com; helo=ma-mailsvcp-mx-lapp02.apple.com
X-W3C-Hub-DKIM-Status: validation passed: (address=tpauly@apple.com domain=apple.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-11.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.504, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1ra6Gj-00Cahl-BK 6b23182b4ef023f0048ad049fbed5517
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC for draft-ietf-httpbis-connect-tcp
Archived-At: <https://www.w3.org/mid/0489428B-16E4-42AF-8224-9054122DD41A@apple.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/51773
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <https://www.w3.org/email/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>


> On Jan 26, 2024, at 11:19 AM, Ben Schwartz <bemasc@meta.com> wrote:
> 
> David and I talked through those issues.  I believe we have resolved most of them, but there are two that could use some more input.  They are both related to details of the URI Template configuration string, not the protocol itself.
> 
> "target_port" or "tcp_port": https://github.com/httpwg/http-extensions/pull/2720
> 
> "connect-udp" uses the URI Template variable "target_port" to specify the destination's UDP port number.  In the current draft, "connect_tcp" uses the name "tcp_port" instead.  This makes UDP, TCP, and UDP+TCP templates distinguishable by inspection (assuming that servers don't include extraneous variables for protocols they don't actually support).  Is this useful?  Or should we just use "target_port" in both cases, to reduce divergence?

(No hats)

As I’ve mentioned just now on the issue, the direction for configuration might be to be more explicit on the supported protocol, so that we don’t try to infer the protocol from the template. Based on that, I’d lean right now towards just having a target_port, instead of tcp_port.

> 
> Support for "target_host=192.0.2.1&target_host=2001:db8::1": https://github.com/httpwg/http-extensions/pull/2719
> 
> To improve Happy Eyeballs and related behaviors, "connect-tcp" allows the client to provide a list of IP addresses.  URI Templates have a built-in notion of lists.  In URI Template Level 3 and below, list elements are always joined by commas ("192.0.2.1,2001:db8::1").  However, in Level 4, templates can use the "explode modifier" to generate repeated key=value assignments (as above), which are more idiomatic in some web frameworks.  Should we require clients to support Level 4 templates, or restrict proxies to publishing Level 3 templates?

In what I’ve seen, it’s usually best to have happy eyeballs be done by the proxy based on the DNS resolution the proxy itself has performed, not necessarily the addresses provided by the client. Before we make this too complex, I'd like to hear about who would exercise this capability.

Thanks,
Tommy

> 
> Thanks,
> Ben Schwartz
> From: David Schinazi <dschinazi.ietf@gmail.com <mailto:dschinazi.ietf@gmail.com>>
> Sent: Wednesday, January 24, 2024 8:17 PM
> To: Tommy Pauly <tpauly@apple.com <mailto:tpauly@apple.com>>
> Cc: HTTP Working Group <ietf-http-wg@w3.org <mailto:ietf-http-wg@w3.org>>
> Subject: Re: WGLC for draft-ietf-httpbis-connect-tcp
>  
> This Message Is From an External Sender 
> Hi,
> 
> I just read through the draft. From my perspective, this document is not yet ready to proceed. I've opened 5 GitHub issues with specific concerns.
> 
> Additionally, what is the implementation status of this draft? I haven't seen anyone mention on the list that they'd implemented this or achieved interop.
> 
> David
> 
> On Tue, Jan 23, 2024 at 9:40 AM Tommy Pauly <tpauly@apple.com <mailto:tpauly@apple.com>> wrote:
> Hello HTTP!
> 
> This email starts a working group last call for "Template-Driven HTTP CONNECT Proxying for TCP”, draft-ietf-httpbis-connect-tcp.
> 
> The document can be found here:
> https://www.ietf.org/archive/id/draft-ietf-httpbis-connect-tcp-02.html
> https://datatracker.ietf.org/doc/draft-ietf-httpbis-connect-tcp/
> 
> This last call will last for 3 weeks, and end on Tuesday, February 13. Please respond to this email with your reviews and comments, and indicate if you think this document is ready to move along towards publication.
> 
> Please file any issues you find here: https://github.com/httpwg/http-extensions/issues?q=label%3Aconnect-tcp
> 
> Thanks,
> Tommy