RE: Fast Address Validation - about

Mike Bishop <mbishop@evequefou.be> Thu, 31 October 2019 16:05 UTC

Return-Path: <mbishop@evequefou.be>
X-Original-To: quic@ietfa.amsl.com
Delivered-To: quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 65CD312097D for <quic@ietfa.amsl.com>; Thu, 31 Oct 2019 09:05:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 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_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=evequefou.onmicrosoft.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3ojHtpwhMl46 for <quic@ietfa.amsl.com>; Thu, 31 Oct 2019 09:05:25 -0700 (PDT)
Received: from NAM04-SN1-obe.outbound.protection.outlook.com (mail-eopbgr700098.outbound.protection.outlook.com [40.107.70.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 46F12120A27 for <quic@ietf.org>; Thu, 31 Oct 2019 09:05:20 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j49G4hV2BsX78PC5xsD3ERogt38YhHVHNZTH+TNaO8cswufBFTmnieFvXNYo2naodRvc/vqwqz9kdEi7oiEQDugUC55uVbuMJtcQgHozWzOQGrI1vxqe4kKLSP1nlkMt1VwSJnYeQ1TDdtjy80nBuNb1AQe5jv6uxsWSX15H8Z6ZCeDCHouwWHkQOvTBzekhY5W/AAV28YGDHOWxk7OdNbn8utGZ9xLDPC3a3WSqheIE84sBmBSAGC/LSPrnArIBtw0+ioy7HRsFJ7CtLLqqW6lZwN1Ocwlmng1wzLNiGg0l9u9vtQm0UbzXvjoHNQzFpgGLgzqgoM23xNvVyNbr9Q==
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-SenderADCheck; bh=buxKVCE2kuTY0Q3aLihdyeCWVheiRPobPZIaHC9TLsA=; b=C5KN6prRkWeGxVKF9Nldg7lrRsoooJg49EGNdFqhkIKYet4bFNMFYq4XC+rIlmYKBIoisGTHDjAs2UrT/JQdhEeqsB++FKkcTJ99Hn9QrjT3zMYdzJFeieh5q/3nar6AaB0LkjyIA9nMOCXNyPNDQsKrXEYTL1ULbIUbGgqh2EHSc1KHkObg86T9v6mPIcEeyuZ4UjjebiYEVKIisyv6SczXDrCFTULuInAwIwaWGUnoveoLiq+xEkhL3h7+HgFCJ9Bjin/ZSTO5GtqsDuJPSeU4PvwOhng+01BhvsHWKRThP1R1FYp+CAkdrcYow7sB63JPVfkTAc9CTBAvXLvFzQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=evequefou.be; dmarc=pass action=none header.from=evequefou.be; dkim=pass header.d=evequefou.be; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=evequefou.onmicrosoft.com; s=selector2-evequefou-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=buxKVCE2kuTY0Q3aLihdyeCWVheiRPobPZIaHC9TLsA=; b=DpWqnmsAn3txfUzb94vcyqNUTlDahgcSC37gniKF8baRXWh7EEfpSBISFbZhnQ6pEy2Gepq3MGDQ/v+xTVZ0JR5NnelGsL9HpFsgj6DtaizYXKIiPWkkZsn6BB/aAXP7VOzbkxIu6YUaLMrKRAJ6ltzJ8PmBygRqlmEUF2VXF6Y=
Received: from BN6PR2201MB1700.namprd22.prod.outlook.com (10.161.152.144) by BN6PR2201MB1459.namprd22.prod.outlook.com (10.174.88.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2387.24; Thu, 31 Oct 2019 16:05:17 +0000
Received: from BN6PR2201MB1700.namprd22.prod.outlook.com ([fe80::7cb4:5e4e:334c:a737]) by BN6PR2201MB1700.namprd22.prod.outlook.com ([fe80::7cb4:5e4e:334c:a737%7]) with mapi id 15.20.2387.028; Thu, 31 Oct 2019 16:05:17 +0000
From: Mike Bishop <mbishop@evequefou.be>
To: Qing An <anqing.aq@alibaba-inc.com>, quic <quic@ietf.org>, "jri.ietf" <jri.ietf@gmail.com>, mt <mt@lowentropy.net>, mikkelfj <mikkelfj@gmail.com>
Subject: RE: Fast Address Validation - about
Thread-Topic: Fast Address Validation - about
Thread-Index: AQHVjye9CowM5E5v+kqJ9Ajt0q5CdadzX6PAgABe2ICAAPhHAIAANIug
Date: Thu, 31 Oct 2019 16:05:16 +0000
Message-ID: <BN6PR2201MB17005571E88F1C68769091A3DA630@BN6PR2201MB1700.namprd22.prod.outlook.com>
References: <4974ed86-0fa9-435d-880f-80af637ef180.anqing.aq@alibaba-inc.com> <BN6PR2201MB1700F72F3DC8F6C3CF79902CDA600@BN6PR2201MB1700.namprd22.prod.outlook.com>, <bd15f357-8e7a-42af-bf28-79f7177da385@www.fastmail.com> <f55efb80-1a95-4190-84e5-b81948a7f081.anqing.aq@alibaba-inc.com>
In-Reply-To: <f55efb80-1a95-4190-84e5-b81948a7f081.anqing.aq@alibaba-inc.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=mbishop@evequefou.be;
x-originating-ip: [2600:2b00:931f:a301:d09f:75d0:3565:b179]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 4ba7fbd3-d8be-42bf-3f1b-08d75e1c1f2c
x-ms-traffictypediagnostic: BN6PR2201MB1459:
x-ms-exchange-purlcount: 1
x-microsoft-antispam-prvs: <BN6PR2201MB1459261F9F0B509FF32787F1DA630@BN6PR2201MB1459.namprd22.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8882;
x-forefront-prvs: 02070414A1
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39830400003)(376002)(346002)(396003)(366004)(136003)(199004)(189003)(966005)(66946007)(76116006)(99286004)(64756008)(66446008)(14454004)(66476007)(66556008)(8936002)(14444005)(25786009)(256004)(7736002)(74316002)(508600001)(8676002)(606006)(81156014)(81166006)(2906002)(790700001)(6116002)(71190400001)(71200400001)(561944003)(6436002)(229853002)(33656002)(6246003)(6306002)(54896002)(9686003)(236005)(55016002)(6506007)(53546011)(46003)(186003)(102836004)(11346002)(446003)(476003)(110136005)(7696005)(52536014)(76176011)(86362001)(486006)(316002)(5660300002); DIR:OUT; SFP:1102; SCL:1; SRVR:BN6PR2201MB1459; H:BN6PR2201MB1700.namprd22.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: evequefou.be does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: PXf1qcwoSOsoBbuhSIk9KmqI0xuVm1CSqS93e96XSSK5Sg6dYAhahO3cqcu7xE2lUPbQyfnrEttrT471OISwm/epuVjGydGqexpsLT2gLQ5yqKUotECYPBCZK8+/DFQgInT65jQL3m6Z/MSdgsD9vfPTam+mWsyEvFsTaF8i9C/PvjtJ1SB9cpV3RzdhgeYd2/8moXEQ9NfbXMdoLE4n1hQTX6QbAdx2fhPk8M47LMj/aXmrN2i9mR2+DBQ54WX1f+waMvCa/cooh4g0VEsAKPhP2B3/Su/YB302Hjowa5y7fJ38mohuNgx2XyVelO8qjop5Y2ghIrgm2lRJJB8wDH78lKiemRXBh12+zfgWEsi3DZ4+JUUoMcRDmw1a7NG0az+2EhhSstde38tnwTHx+SwhF7IHBF7AnP3fKzIUMR48RovyG62ZAUnPr3vb+UHNaoyPO0GbDFpp9sReFSt4jvNcDm/fgNFc91aan0w14AI=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_BN6PR2201MB17005571E88F1C68769091A3DA630BN6PR2201MB1700_"
MIME-Version: 1.0
X-OriginatorOrg: evequefou.be
X-MS-Exchange-CrossTenant-Network-Message-Id: 4ba7fbd3-d8be-42bf-3f1b-08d75e1c1f2c
X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Oct 2019 16:05:16.8944 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 41eaf50b-882d-47eb-8c4c-0b5b76a9da8f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 5QyMk1yZcV/aKpsjz6liwYIBhSOzBLFXgH+u7VMqxt+JM96B+OUFoPAybzoI0fkLcBY/dAzE+ZY2qsl/uQl3HA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR2201MB1459
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/IwujpmYt9S9C-aNmh5TMbLnK6v4>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic>, <mailto:quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic/>
List-Post: <mailto:quic@ietf.org>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic>, <mailto:quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 31 Oct 2019 16:05:32 -0000

As Martin pointed out in the e-mail you replied to, if the server is willing to maintain state, any packet at the Handshake encryption layer proves return routability.  There seems to be no need for a separate address validation mechanism if the server is willing to proceed with the handshake.

From: QUIC <quic-bounces@ietf.org> On Behalf Of Qing An
Sent: Thursday, October 31, 2019 8:56 AM
To: quic <quic@ietf.org>; jri.ietf <jri.ietf@gmail.com>; mt <mt@lowentropy.net>; mikkelfj <mikkelfj@gmail.com>
Subject: Re: Fast Address Validation - about



To clarify, the proposal is not to replace the existing Retry-based validation, but to provide another option for server to do the client validation.

I understand that in server side, exchanging the token at the Handshake encryption level will make the server start to maintain handshake states. But in client side, it can accelerate the connection establishment from client to server.

And it is the server's decision whether to exchange token in Retry or in Handshake. If server chooses to accept the cost brought by token exchanging in Handshake, it will bring more enhanced experience in client side.


BR,
Qing


------------------------------------------------------------------
From:Martin Thomson <mt@lowentropy.net<mailto:mt@lowentropy.net>>
Send Time:2019年10月31日(星期四) 06:07
To:quic <quic@ietf.org<mailto:quic@ietf.org>>
Subject:Re: Fast Address Validation - about

Also note that exchange of Handshake packets provides proof of return routeability via the use of the encryption keys, so there is no need to exchange tokens at that level.

On Thu, Oct 31, 2019, at 03:29, Mike Bishop wrote:
>
> The advantage of using Retry, however, is that the server is able to
> keep minimal (if any) state about the client. Exchanging the token at
> the Handshake encryption level means the server is already doing work
> and maintaining state in order to process the handshake, which is
> exactly what the server is trying to avoid.
>
>
> *From:* QUIC <quic-bounces@ietf.org<mailto:quic-bounces@ietf.org>> *On Behalf Of * Qing An
> *Sent:* Wednesday, October 30, 2019 9:41 AM
> *To:* quic <quic@ietf.org<mailto:quic@ietf.org>>; jri.ietf <jri.ietf@gmail.com<mailto:jri.ietf@gmail.com>>; mt
> <mt@lowentropy.net<mailto:mt@lowentropy.net>>
> *Cc:* 刘大鹏(鹏成) <max.ldp@alibaba-inc.com<mailto:max.ldp@alibaba-inc.com>>
> *Subject:* Fast Address Validation - about
>
>
>
>
> Hi Martin, Jana,
>
> I read through https://www.ietf.org/id/draft-ietf-quic-transport-23.txt
> and have a few comments and ideas to discuss.
>
>
> [QUIC-Trans] defines a token based scheme to facilitate address
> validation of a client. The token MUST be covered by integrity
> protection against modification or falsification by clients. The server
> remembers the value it sends to clients and validates the token sent
> back from a client. In its design, Retry packet is used to deliver the
> token to a client which address has not yet been validated. It voids
> the first transmission of the Initial packet sent by the client, and
> triggers a second Initial packet to be sent with the token. The
> exchange of token will cause longer connection establishment delay for
> a client.
>
>
> To improve the efficiency of address validation during handshake, one
> idea is that the same token can be exchanged via a different container
> i.e. the Handshake packet, that eliminates the use of Retry packet for
> token delivery.
>
>
> I am working on the complete draft and will submit it by Friday. Before
> that, hope this can be discussed in email first.
>
>
> BR,
>
> Qing An
>