Re: [quicwg/base-drafts] A more complete connection migration (#1012)
janaiyengar <notifications@github.com> Thu, 14 December 2017 07:36 UTC
Return-Path: <noreply@github.com>
X-Original-To: quic-issues@ietfa.amsl.com
Delivered-To: quic-issues@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BAA88124D85 for <quic-issues@ietfa.amsl.com>; Wed, 13 Dec 2017 23:36:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.999
X-Spam-Level:
X-Spam-Status: No, score=-6.999 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_HI=-5, 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=github.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 bXZ3NtAKww9T for <quic-issues@ietfa.amsl.com>; Wed, 13 Dec 2017 23:36:11 -0800 (PST)
Received: from github-smtp2b-ext-cp1-prd.iad.github.net (github-smtp2-ext3.iad.github.net [192.30.252.194]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7A0D01200CF for <quic-issues@ietf.org>; Wed, 13 Dec 2017 23:36:11 -0800 (PST)
Date: Wed, 13 Dec 2017 23:36:10 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1513236970; bh=j5z6DDsQNXQKCvsKl2HqVkK17/orqD4L9IzoJgAQNcc=; h=From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=UKOQJih0F0S45BvuXLghQDuLAwtX422iKemMtTDohZwGxQUfoxFgHEW3NocT0MOfT tPQbUYX5UiC/5GeKnTIDRm4OqWvdBIbdsbuDO1N7hLtemR21FQi1m7mnQhYMPQVnp4 6k5dYqNHdnPKiXODoSBPtFChfejxqpJaVXJ8klm0=
From: janaiyengar <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab81135f52bf9805cce44018337f81be2960e8707d92cf000000011649ebea92a169ce10c89c07@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/1012/review/83074498@github.com>
In-Reply-To: <quicwg/base-drafts/pull/1012@github.com>
References: <quicwg/base-drafts/pull/1012@github.com>
Subject: Re: [quicwg/base-drafts] A more complete connection migration (#1012)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5a3229ea95eae_3ba63f8df8e5af2c1999fa"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: janaiyengar
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/PDfq7QKEHdzGJq1dbEI4ziJOxbQ>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.22
List-Id: Notification list for GitHub issues related to the QUIC WG <quic-issues.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic-issues/>
List-Post: <mailto:quic-issues@ietf.org>
List-Help: <mailto:quic-issues-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Dec 2017 07:36:14 -0000
janaiyengar commented on this pull request. @martinthomson : I'm going to try to unify the mechanisms and make this client/server agnostic, which might resolve some issues. We did that because it was easier to reason about in the earlier designs, but the current version actually lends itself nicely to symmetry, I think. At any rate, let me try that first. > + +A server validates a client's address by sending a PATH_CHALLENGE frame +containing a payload that is hard to guess to that address. The server +considers the address to be valid when a PATH_RESPONSE frame containing the same +payload is received from the client. + +Similarly, a client verifies the PMTU of a network path from a new client +address to the server by sending a PMTU-sized packet carrying a PATH_CHALLENGE +frame. The client considers the PMTU verified when a PATH_RESPONSE frame +containing the same payload sent by the server to the new client address is +received. + + +### Client Behavior {#migration-client} + +A client triggers connection migration to a new address by sending a Oops -- yes it doesn't. Will fix. > +frame. The client considers the PMTU verified when a PATH_RESPONSE frame +containing the same payload sent by the server to the new client address is +received. + + +### Client Behavior {#migration-client} + +A client triggers connection migration to a new address by sending a +PATH_CHALLENGE as a probe or by switching to sending all packets to the new +address. The client SHOULD do PMTU verification before considering migration +complete. The client also participates in an address validation that the server +may initiate to confirm the client's ownership of its address (see +{{migration-server}}). + +A client migrating to a new network might use a new connection ID for packets +sent from the new address, see {{migration-linkability}} for further discussion. Probes are just packets, and are not treated any differently, so they follow the same rules for connection ID and packet numbers as specified in the linkability section. > +can perform more accurate measurements by associating the server's response with +the causative PATH_CHALLENGE. + +When the client receives a PATH_RESPONSE from the server and verifies that the +included data matches the data it sent in a previous PATH_CHALLENGE, the server +is considered reachable from the new address and the PMTU of the new network +path is considered verified. + +A client SHOULD abandon the new address if it does not receive a PATH_RESPONSE +after sending some number of PATH_CHALLENGE frames and/or after some time has +passed. Note that the client may be receiving data from the server during this +period, but not receiving a PATH_RESPONSE may be indicative of a PMTU detection +failure. + + +#### Responding to a Server's Validation So I chose to structure it like this because it's easier to see how to implement such a thing. If it's useful to contextualize, I can add more text in the common text up at the top of this section. Validation can be described separately, but in this description, it's only used for the server to validate a client's new address. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/quicwg/base-drafts/pull/1012#pullrequestreview-83074498
- [quicwg/base-drafts] A more complete connection m… janaiyengar
- Re: [quicwg/base-drafts] A more complete connecti… Martin Thomson
- Re: [quicwg/base-drafts] A more complete connecti… erickinnear
- Re: [quicwg/base-drafts] A more complete connecti… janaiyengar
- Re: [quicwg/base-drafts] A more complete connecti… Martin Thomson
- Re: [quicwg/base-drafts] A more complete connecti… Mike Bishop
- Re: [quicwg/base-drafts] A more complete connecti… MikkelFJ
- Re: [quicwg/base-drafts] A more complete connecti… janaiyengar
- Re: [quicwg/base-drafts] A more complete connecti… Christian Huitema
- Re: [quicwg/base-drafts] A more complete connecti… Christian Huitema
- Re: [quicwg/base-drafts] A more complete connecti… Christian Huitema
- Re: [quicwg/base-drafts] A more complete connecti… Christian Huitema
- Re: [quicwg/base-drafts] A more complete connecti… Martin Thomson
- Re: [quicwg/base-drafts] A more complete connecti… ihlar
- Re: [quicwg/base-drafts] A more complete connecti… Martin Thomson
- Re: [quicwg/base-drafts] A more complete connecti… erickinnear
- Re: [quicwg/base-drafts] A more complete connecti… janaiyengar
- Re: [quicwg/base-drafts] A more complete connecti… janaiyengar
- Re: [quicwg/base-drafts] A more complete connecti… janaiyengar
- Re: [quicwg/base-drafts] A more complete connecti… janaiyengar
- Re: [quicwg/base-drafts] A more complete connecti… janaiyengar
- Re: [quicwg/base-drafts] A more complete connecti… ihlar
- Re: [quicwg/base-drafts] A more complete connecti… MikkelFJ
- Re: [quicwg/base-drafts] A more complete connecti… ianswett
- Re: [quicwg/base-drafts] A more complete connecti… janaiyengar
- Re: [quicwg/base-drafts] A more complete connecti… janaiyengar
- Re: [quicwg/base-drafts] A more complete connecti… janaiyengar
- Re: [quicwg/base-drafts] A more complete connecti… ianswett
- Re: [quicwg/base-drafts] A more complete connecti… Martin Thomson
- Re: [quicwg/base-drafts] A more complete connecti… Mike Bishop
- Re: [quicwg/base-drafts] A more complete connecti… Mike Bishop
- Re: [quicwg/base-drafts] A more complete connecti… Martin Thomson
- Re: [quicwg/base-drafts] A more complete connecti… janaiyengar
- Re: [quicwg/base-drafts] A more complete connecti… janaiyengar
- Re: [quicwg/base-drafts] A more complete connecti… janaiyengar
- Re: [quicwg/base-drafts] A more complete connecti… janaiyengar
- Re: [quicwg/base-drafts] A more complete connecti… Mike Bishop
- Re: [quicwg/base-drafts] A more complete connecti… Mike Bishop
- Re: [quicwg/base-drafts] A more complete connecti… janaiyengar
- Re: [quicwg/base-drafts] A more complete connecti… janaiyengar
- Re: [quicwg/base-drafts] A more complete connecti… janaiyengar
- Re: [quicwg/base-drafts] A more complete connecti… erickinnear
- Re: [quicwg/base-drafts] A more complete connecti… janaiyengar
- Re: [quicwg/base-drafts] A more complete connecti… janaiyengar
- Re: [quicwg/base-drafts] A more complete connecti… janaiyengar
- Re: [quicwg/base-drafts] A more complete connecti… ianswett
- Re: [quicwg/base-drafts] A more complete connecti… Mike Bishop
- Re: [quicwg/base-drafts] A more complete connecti… janaiyengar
- Re: [quicwg/base-drafts] A more complete connecti… Christian Huitema
- Re: [quicwg/base-drafts] A more complete connecti… janaiyengar
- Re: [quicwg/base-drafts] A more complete connecti… janaiyengar
- Re: [quicwg/base-drafts] A more complete connecti… janaiyengar
- Re: [quicwg/base-drafts] A more complete connecti… Martin Thomson
- Re: [quicwg/base-drafts] A more complete connecti… janaiyengar
- Re: [quicwg/base-drafts] A more complete connecti… janaiyengar
- Re: [quicwg/base-drafts] A more complete connecti… janaiyengar