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

Ben Schwartz <bemasc@meta.com> Thu, 15 February 2024 21:01 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 E89ACC17C8B3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 15 Feb 2024 13:01:45 -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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, 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="na7tX0Jz"; dkim=pass (2048-bit key) header.d=w3.org header.b="T9bt9kuy"; dkim=pass (2048-bit key) header.d=meta.com header.b="j6UGqZEz"
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 Tt6SYqSZyerd for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 15 Feb 2024 13:01:41 -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 485C9C14CE42 for <httpbisa-archive-bis2Juki@ietf.org>; Thu, 15 Feb 2024 13:01:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=w3.org; s=s1; h=Subject:MIME-Version:Content-Type:In-Reply-To:References:Message-ID: Date:CC:To:From:Reply-To; bh=sirChYxft/cFwx4qTE7bDBpdSbCM+iga/sVM1c2ReXc=; b= na7tX0JzRKjLjKWAO/QKpj1f9WpE3gQEH7/iTAIFlJaMk2TYJdAwW87VGC7d6kINgoz7yynpKuLYF 75OMmuHNnZ7++U+z61FeUumXaksiNCfelhYNnGx97HUcGb4JuAfOBSA9/ZH+s6Q/lPWsrbUSXJiFK rsR2fk6KMQN31j0E7YB8up7Cbk4ZeJH+z1/gn6fPOrqszvil/HUJB+Oq/6UbOUiMlHXgjkKAOkmng zNkVQItUI6xNoWvf7LCnRkozrx904TO6VLb49A3kyKRpQjgVTxRY02yBq3FAmhIVn6hzxw5adUjg3 IWFLNvlU5qBab7BaHYVrLQJxWcE30prR2g==;
Received: from lists by lyra.w3.org with local (Exim 4.94.2) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1rairH-008Pbx-TN for ietf-http-wg-dist@listhub.w3.org; Thu, 15 Feb 2024 21:01:27 +0000
Resent-Date: Thu, 15 Feb 2024 21:01:27 +0000
Resent-Message-Id: <E1rairH-008Pbx-TN@lyra.w3.org>
Received: from pan.w3.org ([3.222.182.102]) by lyra.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <prvs=77759a433d=bemasc@meta.com>) id 1rairF-008Paw-B7 for ietf-http-wg@listhub.w3.org; Thu, 15 Feb 2024 21:01:25 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=w3.org; s=s1; h=MIME-Version:Content-Type:In-Reply-To:References:Message-ID:Date: Subject:CC:To:From:Reply-To; bh=sirChYxft/cFwx4qTE7bDBpdSbCM+iga/sVM1c2ReXc=; t=1708030885; x=1708894885; b=T9bt9kuyCkGbQLsOz1HRaE2YfVH7qRM3kp9cPAggErXyzT4 9MdsYedDtwl8cP3x/AXbiBJnmyWBmc2dsVn9e/5DhgQ4cy5ARQEfIjlGvTRemGY34CYr+cqCMLuiA ALwcyUm2cjgVjrdRmlONjrSH4bvW+vJGzIfc1RAOXKb3WKbOs0awAkHccxMyu/KzmNGNuLaMAVarw OlVMKjdeD3s30JTuD0HTRHrYdUzeaNdKj/ROmI09Tzr/2ifchehVyVtPb+CvSII9d6e0v0PxpGdOF aJZ5ypgvJa0i4dMykxTgd85QM2AscZ2XHiuRBO82GFdnlGZqztuqK7g00KAMkpWw==;
Received-SPF: pass (pan.w3.org: domain of meta.com designates 67.231.153.30 as permitted sender) client-ip=67.231.153.30; envelope-from=prvs=77759a433d=bemasc@meta.com; helo=mx0a-00082601.pphosted.com;
Received: from mx0b-00082601.pphosted.com ([67.231.153.30] helo=mx0a-00082601.pphosted.com) by pan.w3.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from <prvs=77759a433d=bemasc@meta.com>) id 1rairE-000CMK-0n for ietf-http-wg@w3.org; Thu, 15 Feb 2024 21:01:24 +0000
Received: from pps.filterd (m0089730.ppops.net [127.0.0.1]) by m0089730.ppops.net (8.17.1.19/8.17.1.19) with ESMTP id 41FJqsFQ017091; Thu, 15 Feb 2024 13:01:15 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=meta.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=s2048-2021-q4; bh=sirChYxft/cFwx4qTE7bDBpdSbCM+iga/sVM1c2ReXc=; b=j6UGqZEz2F/NS5pJTCOsvS7G7QJicLG/cay2ppAhZK6xzA6UdQE12Vk04t9arJ8N+knw S+1rKX0E0e7FwOobBWxJlaeAEoiWGbSpb/YWT3B4vPNG5ansrJny4kQgdf734ZYQ48A+ VtsKO5h5onAGP+mdX0MtlDQU8gIzXIUKdKv/ez50S8w0Fp9jYYTZhZg+X9Vn2WaQ/bYK 4zzhYa95KJzFcRkMCZn+xCptbwOJAHtnhVuCzf0kTnC1NMqjEhqotcOO4lMn4M7loTUG /1AAKm6HUEPeyuG/8oSgFzUfodWftN3zClcv1tn9p5YYRQvruyrIO7ygtrL4INrVwY7x FQ==
Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2168.outbound.protection.outlook.com [104.47.55.168]) by m0089730.ppops.net (PPS) with ESMTPS id 3w8vdwu6pq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 15 Feb 2024 13:01:15 -0800
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VjjKY+1Epx9R6WxOnrhb5yL83RQ7PlVD74X7HKp/X/DVyMT1QS8mLSfgrx5mFd/Yuo/2noQ8cj3IZO4sGixwC/VEVgjmKAFkr4kaaq3JMTYVUkt1k9Bq9zfkT83Ka4fFkxZWDxOiuB0jBWS6/1xA1wk/7AzqkvXP5FOr4fJVEeOK+YQf7BL3rSdBu6sXpDtN0dI8QPCDCU8hFbtHhLMWkozHNV8h8CaTF0Dw9bYuPY5vgrhOmXL/M9tp33TbPFdGSyMz/VMtWgj/aVYU7MxlldSznFah1nsnQQL3W8TNh9YdfSuZyBQ3mG+d7WZ9XfG4nJBSGZJOwQUQ2+V+oT71Jg==
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=sirChYxft/cFwx4qTE7bDBpdSbCM+iga/sVM1c2ReXc=; b=OwW4TxWF1W01gf89Aa2UITu25Z62tso0Jz0l3LpZWLoHdq0qIjST3/stsZI6QWDi52cXDrP25zlQWolM5QLdVJfx7VB9MnDp891fjurKYivDcH9nQ9Yhj1tdf9aY3PCKgWL4WC6Cyl8H1gAdydiLLooFKcOByqQeQ7AItksTSJ8kCk2Mx+Z1IIa212ZcOoHxHF9Rwk3qE0X721bvhcr9grHds8IPOYlj3SKGF4I9OBVUEIunJmBNV8ePHogUaTrrOwJQlTirpGAm058o0aU8VI/x9XERHMGAP/9uU1k4fI8uyo6LHbkk1qrEu4dU7CZeCSffQ57nQs9XSrQkzuQM9A==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=meta.com; dmarc=pass action=none header.from=meta.com; dkim=pass header.d=meta.com; arc=none
Received: from SA1PR15MB4370.namprd15.prod.outlook.com (2603:10b6:806:191::8) by SJ0PR15MB4565.namprd15.prod.outlook.com (2603:10b6:a03:376::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.25; Thu, 15 Feb 2024 21:01:13 +0000
Received: from SA1PR15MB4370.namprd15.prod.outlook.com ([fe80::ffaa:9636:489:7b1]) by SA1PR15MB4370.namprd15.prod.outlook.com ([fe80::ffaa:9636:489:7b1%6]) with mapi id 15.20.7292.026; Thu, 15 Feb 2024 21:01:13 +0000
From: Ben Schwartz <bemasc@meta.com>
To: David Schinazi <dschinazi.ietf@gmail.com>
CC: Tommy Pauly <tpauly@apple.com>, HTTP Working Group <ietf-http-wg@w3.org>
Thread-Topic: WGLC for draft-ietf-httpbis-connect-tcp
Thread-Index: AQHaTiM8omUiwtrk902I3gTfL2p827DpvD8AgAK5ACaAHN/lgIABML4AgAFpswCAABhOAA==
Date: Thu, 15 Feb 2024 21:01:13 +0000
Message-ID: <8A616C9D-496D-4730-938D-A9BDB1CEBC48@meta.com>
References: <7228A073-F867-4007-BB44-0AA547455539@apple.com> <CAPDSy+5ETu3BeA-0defYYKhLhMZ9f6UE=boxAp7aFwh-RTi9xw@mail.gmail.com> <SA1PR15MB437034E91B1959A206D82482B3792@SA1PR15MB4370.namprd15.prod.outlook.com> <0489428B-16E4-42AF-8224-9054122DD41A@apple.com> <662ECDC0-3B90-443F-BD0F-AF340FD7FEED@meta.com> <CAPDSy+7TEseyJv5TO0BLrdRBpGvjGLOeEqSbZW4JN8xir5c1tg@mail.gmail.com>
In-Reply-To: <CAPDSy+7TEseyJv5TO0BLrdRBpGvjGLOeEqSbZW4JN8xir5c1tg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: SA1PR15MB4370:EE_|SJ0PR15MB4565:EE_
x-ms-office365-filtering-correlation-id: b2e732ad-62fe-4b55-7f3b-08dc2e693e56
x-fb-source: Internal
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: Er2f3LBHjQBv8yTDWWgpvkDvKk+2D0jpuwE2YWJMVBZPrB3yffT1FiHsaM5nrdT9NzhXy+8VxO0Q9YeLTJ9msR1g8+u3GUhdzF2V1b3W3GXLomqwdeuPWMleNkA59wcMzgCzCIl0E2A8PUDLS4InDxObM5TpwezB1D7xiCw0Z6aVeUzA1+gMJ/xeJI7ZsNjQbtzUyhJCwJsVflXXkkw9dJp4p5i7JyfMYNbMDB5PcxmhNw8PJ1DS3FdlTihAG9UPqWwWrRBev76WvjURy6jTuZai5lRC7W8P50BSRnr/CNXtL8QoT6uAoTSiKK/VTitJOp3YffcSoV5yQvKuB9n66Gl6X4JK3+PlyU/Bz0L/UpzvgstpYHnU+7ACuqzAK0cRRFNAjdEEYQKHQFL+Ds9lc++QgaDNRHTm06UQ3n+PN4jsMUQ0Y9avPdPjSOMupxYvXFeyxfnNjZfq4P/rEtFwkXF01vlJ9fAmXlSY9+veiOnR5qE/JTzexHFFPz+YgkzFpecDspiXGDLbi4S8CDZ5JA+iS5RolqN90nfqkjWXi9LHDm4ZKH0emcGBf234LgfdoN6rmM5sWeYzSALgg6DXR8gZg1hzQ0Rj42bh5uZIqQk=
x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SA1PR15MB4370.namprd15.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366004)(396003)(39850400004)(136003)(346002)(376002)(230922051799003)(64100799003)(451199024)(1800799012)(186009)(2906002)(478600001)(8936002)(41300700001)(66946007)(53546011)(38070700009)(2616005)(64756008)(33656002)(4326008)(66476007)(66446008)(6916009)(8676002)(76116006)(5660300002)(36756003)(66556008)(966005)(122000001)(83380400001)(6486002)(6512007)(54906003)(71200400001)(316002)(38100700002)(86362001)(6506007);DIR:OUT;SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: CR7V7iGGV+hWSQjQ1tZIUZKmrBzcbu1NxFIRQjeGAVhMJzak3w+dfNh7tDXYbgT88Zkf17ziTwbtaft33E9uM3XQPwurHfGpP8UdrPKpoXQuTUqlsVgORACls+fA/xJe4KU+ODxaBTgStkM+fhPpTgmlHWLhjDVi6Tk5V8JcOQYwVqCI/at03RbX43SzU4nb8U+Se6DOK1HF3WAWH2CoK5ZPTEZsND3NOVL9I0ltKHZc1na1h7MOeG7gr0/B+BxmU+478/18Bgd4AQUwWNP5leyEusZ9RiZCRIEfLBa3NR09aav+YcLsF/ToMcsLaM8/FAmFwyWax6xgdEq3bmkLLnrCdR9KxWdxOmgPMqefqGTjnfGwA4UATsigUSEc+PdnvgZEu1a6czuC9uyVNChkotoTCGITgW9Dv7P1KWPrBwAkkEdE7tk4tWPp2QPJYg13OZCg214ca4ERCTcdbEJWJcDJsbcFx8772zq1TE3oejkbyeJahjYaPGGM0exTQgb4TEsBTg2MUoq3sOjQQkivLjA8W/JMpaJDewShZBPyxW0yPuYzwwvhRYVnU1QNypkhO/EDSpNQ2cYug4komwdNp1QXwJUceLfC/M3scQkTMtXbbx8wrv4plaf4t+tYMH8XC6+LCIruWW3i20LT2GPqMSYkJijoiSZ01UMKJRSC2+ChT0iwJuxBWQHDBXaxFjmAZ6rGpcKSicRfl+LOKEClEOAZaehTArfAyTHNkYVE2dI4tCbaJmpMVI4gveszj01pZ1wosW1dpa6b1SGgqKjUoNEQr20pRIfEDdGTDkxoXKRsnCVc45Dsq7dwpqkZRCQnLYPKlK2HiYLGP9yy9YzPL4RiVqJJq0gjQvSWQN7z5jpqS5grznSwKs3Qwa1ueyfKxHmLM4VYvm37SjQa0QHw8m5iZAizZfMFy1HOz/w6fr7jL/WrJrVL0LPJBb2eLBGH3b3KgJcCFklbSWE/6Ju2WP7bsDBYK5clSsSHHt+qk5Oxy3u6pl4h/h0zQKWR97hOsG/+kTWMNhe6VS7popgL0JM4wEtQDfLwxLPyJV9gOxG2n2JfgOKQTU/Ut1V5F9/NyhfHkgke5GKtZs/m2myk7IncJzcHyBlSu7KkV9SANoF18xRBmEBkhp1aVPb+mEXJMeDG0KIhwL9hy/MWhVI9DSOxcmspdEO5RfSV/KYnvxOhEScpXHLyF4PAWEWnuZc9cijbtv9Uenyu5OLqV4tnP0nrfHzxT9NL+Yf/85M7DlXaoBHTez1jfZFqO3f0K1QFIEep9Y/KGa8KFIfs7QBWbUX4bFCUJgpH2Xrm07KZcjtfQoiVl85MqDjIFEh7TlzEevGqcIjwdPpEO+jVrrkYlXaLZkQCEBGj5vdBUIlE1RM2LYltT7pU9VIhAxVUBLLrJUV8p7G5jmtYek1jGAzE2XyfQYon2d1MyCDO5qke8NSqofEDR+Ho0+927VtpBQ/ugLCZH1whY0HJuR23FnGHBaWZ9nOtbWq04hT7Lp6QBbFyuiPoJJ17W5vljN167BrWs+CeozHg1ereyGUcGc2UcGd1pD6fiPQ0yG7EbLTVFo/xKv7BQN+j9bFW4GWI1e/OjEIfrBxsVU5rnv5hlAkrLg==
Content-Type: text/plain; charset="utf-8"
Content-ID: <2F58C4457914E6479F22D0C9D30E0422@namprd15.prod.outlook.com>
X-OriginatorOrg: meta.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: SA1PR15MB4370.namprd15.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: b2e732ad-62fe-4b55-7f3b-08dc2e693e56
X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Feb 2024 21:01:13.1758 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: whBvJM7PN/zVp26ZyDZDUdapNpys64yNQLxg1Qb/bgV7wOasjrFYgS83xLdCq/sB
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR15MB4565
X-Proofpoint-GUID: EyQlI6liiLa95iGji_oJVzqp_dVGWuyx
X-Proofpoint-ORIG-GUID: EyQlI6liiLa95iGji_oJVzqp_dVGWuyx
Content-Transfer-Encoding: base64
X-Proofpoint-UnRewURL: 0 URL was un-rewritten
MIME-Version: 1.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-15_19,2024-02-14_01,2023-05-22_02
X-W3C-Hub-DKIM-Status: validation passed: (address=prvs=77759a433d=bemasc@meta.com domain=meta.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-4.1
X-W3C-Hub-Spam-Report: ARC_SIGNED=0.001, ARC_VALID=0.001, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, DMARC_PASS=-0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: pan.w3.org 1rairE-000CMK-0n 1ae84e40fbae3beb6e7e26836b11466b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC for draft-ietf-httpbis-connect-tcp
Archived-At: <https://www.w3.org/mid/8A616C9D-496D-4730-938D-A9BDB1CEBC48@meta.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/51778
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 Feb 15, 2024, at 2:34 PM, David Schinazi <dschinazi.ietf@gmail.com> wrote:
> 
> Hi Ben, thanks for the PR - it looks good to me.
> 
> Regarding your point about client implementers, can you share more about them? Who's implemented this so far? Who's depending on the address list feature?

I’m referring to prior conversations where some people seemed to prefer leaving DNS resolution entirely in the client’s hands, e.g. [1].

In most cases, I think target_host should simply be a hostname.  However, I do think there are some cases where passing an IP address is appropriate, and in those cases passing a list of N IPs is much more efficient than sending N requests with one IP each:

* When the client feels that it is necessary to enforce DNSSEC validation of the A/AAAA responses.  (This is an unusual threat model, but it is supported by platforms like iOS [2]).
* When the client attempts to reduce connection setup latency by using an HTTPS record’s ipv4hint and ipv6hint SvcParams.
* When the IP addresses were not delivered through DNS at all (e.g., ICE TCP in SDP [3])

—Ben

[1] https://datatracker.ietf.org/doc/chatlog-115-masque-202211090930/#:~:text=In%20general%2C%20it%27s%20better%20for%20the%20proxy%20to%20do%20the%20final%20name%2D%3EIP%20resolution%2C%20whereas%20it%27s%20better%20for%20the%20client%20to%20do%20the%20HTTPS/SVCB%20lookup.

[2] https://developer.apple.com/documentation/network/nwparameters/3952717-requiresdnssecvalidation

[3] https://datatracker.ietf.org/doc/html/rfc6544#appendix-C

> 
> Thanks,
> David
> 
> On Wed, Feb 14, 2024 at 1:59 PM Ben Schwartz <bemasc@meta.com> wrote:
> 
>> On Feb 13, 2024, at 10:48 PM, Tommy Pauly <tpauly@apple.com> wrote:
>> 
>>> On Jan 26, 2024, at 11:19 AM, Ben Schwartz <bemasc@meta.com> wrote:
> ...
>>>     • "target_port" or "tcp_port": https://github.com/httpwg/http-extensions/pull/2720
> 
> 
> …
> 
>> 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.
> 
> 
> OK it sounds like the consensus favors this change, so I’ve opened https://github.com/httpwg/http-extensions/pull/2736.
> 
>>> 
>>>     • 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.
> 
> I agree that this is best practice.  (It’s even documented at https://datatracker.ietf.org/doc/html/rfc9460#section-3.2-2.)  However, I’ve heard a number of arguments from client implementors who felt that the client should be able to use its own DNS resolver, independent of the proxy, in which case this functionality seems valuable for Happy Eyeballs to work as intended.
> 
> In the above pull request, I’ve simplified the syntax for this (reducing the URI Template requirement to Level 3) to minimize the burden on clients that don’t use the feature.
> 
> —Ben