Re: [quicwg/base-drafts] Server's preferred address (#1251)
janaiyengar <notifications@github.com> Wed, 18 April 2018 02:31 UTC
Return-Path: <bounces+848413-a050-quic-issues=ietf.org@sgmail.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 9A715128961 for <quic-issues@ietfa.amsl.com>; Tue, 17 Apr 2018 19:31:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.01
X-Spam-Level:
X-Spam-Status: No, score=-3.01 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, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01] 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 UqcFRSIPBxHj for <quic-issues@ietfa.amsl.com>; Tue, 17 Apr 2018 19:31:55 -0700 (PDT)
Received: from o8.sgmail.github.com (o8.sgmail.github.com [167.89.101.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6251B1200E5 for <quic-issues@ietf.org>; Tue, 17 Apr 2018 19:31:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com; h=from:reply-to:to:cc:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=W4Jc9uGgWxxApcVFC3xe+2AmMNU=; b=rK7jZM1hXSQBAhaa SthzKnVQK7UkdOPjqBrCq1btCVStCqmtysr63xD/zMjuPKKNT9hhgmTJfZ32vZ9p QvEp49S4Ity8YUDVdhSLeB6TecETy5qrGwCFmwlYSgZaZab4lpZIigO+uKijxnfe QNX4e5vP6SujmR3NNTACHg5G7x0=
Received: by filter0512p1las1.sendgrid.net with SMTP id filter0512p1las1-13615-5AD6AE19-9 2018-04-18 02:31:53.264827833 +0000 UTC
Received: from smtp.github.com (out-3.smtp.github.com [192.30.252.194]) by ismtpd0024p1iad2.sendgrid.net (SG) with ESMTP id Q2mJ4fMLQGWDYBqkSvrmuA for <quic-issues@ietf.org>; Wed, 18 Apr 2018 02:31:53.494 +0000 (UTC)
Date: Wed, 18 Apr 2018 02:31:53 +0000
From: janaiyengar <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab070db1e15e3bda49743425693cc9601a322a7d2e92cf0000000116ee701992a169ce126c34a9@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/1251/review/113055203@github.com>
In-Reply-To: <quicwg/base-drafts/pull/1251@github.com>
References: <quicwg/base-drafts/pull/1251@github.com>
Subject: Re: [quicwg/base-drafts] Server's preferred address (#1251)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5ad6ae1979fe2_69102b2323718f60281235"; 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
X-CSA-Complaints: whitelist-complaints@eco.de
X-SG-EID: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak3OGMIvqGcTMAUEHrUk2SdC2odRkw0RZDwm3x ApPUUGVv5FCmL4hRx5W2ylsyjVaV5lSRNKLDjebG3AV9MYUSMgf6e1WdDEx3YStpM06NqpTZIpeOX9 4wJmROr1EWxd0MA8LPcrFufPo9M7yuKwk4MXGcBwnxMcHjaQ0WV1GMfj9ZqGjcQ5c8Dm4SiQqesm8y I=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/3lYq7gdqi48ozsS6RtBM2KSTxV8>
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: Wed, 18 Apr 2018 02:31:58 -0000
janaiyengar commented on this pull request. Thanks, Mike, just a few comments, mostly minor. > @@ -1150,6 +1151,14 @@ language from Section 3 of {{!I-D.ietf-tls-tls13}}. }; TransportParameter parameters<22..2^16-1>; } TransportParameters; + + struct { + enum { IPv4(4), IPv6(6), (15)} ipVersion; + opaque ipAddress<4..2^8-1>; Why does this need to be as long as 255 bytes? Or am I misreading again? > @@ -1249,9 +1258,14 @@ stateless_reset_token (0x0006): : The Stateless Reset Token is used in verifying a stateless reset, see {{stateless-reset}}. This parameter is a sequence of 16 octets. -A client MUST NOT include a stateless reset token. A server MUST treat receipt -of a stateless_reset_token transport parameter as a connection error of type -TRANSPORT_PARAMETER_ERROR. +preferred_address (0x0004): + +: The server's Preferred Address is used to effect a server address migration at s/a server address migration/change of a server address/ > +MUST continue sending all future packets to the server's original IP address. + + +### Responding to Connection Migration + +A server might receive a packet addressed to its preferred IP address at any +time after the handshake is completed. If this packet contains a PATH_CHALLENGE +frame, the server sends a PATH_RESPONSE frame as per {{migrate-validate}}, but +the server MUST continue sending all other packets from its original IP address. + +The server SHOULD also initiate path validation of the client using its +preferred address and the address from which it received the client probe. This +helps to guard against spurious migration initiated by an attacker. + +Once the server has completed its path validation and has received a non-probing +packet on its preferred address which is the largest packet number seen so far, How about: s/has received a non-probing packet on its preferred address which is the largest packet number seen so far/has received a non-probing packet with a new largest packet number on its preferred address/ > +A client might need to perform a connection migration before the server's +connection migration has completed. In this case, the client SHOULD perform +path validation to both the original and preferred server address from the +client's new address concurrently. + +If path validation of the server's preferred address succeeds, the client MUST +abandon validation of the original address and migrate to using the server's +preferred address. If path validation of the server's preferred address fails, +but validation of the server's original address succeeds, the client MAY migrate +to using the original address from the client's new address. + +If the connection to the server's preferred address is not from the same client +address, the server MUST protect against potential attacks as described in +{{address-spoofing}} and {{on-path-spoofing}}. In addition to intentional +simultaneous migration, this might also occur because the client's access +network used a different NAT binding for the server's preferred address. Agree with Martin -- I think this needs more text. -- 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/1251#pullrequestreview-113055203
- [quicwg/base-drafts] Server's preferred address (… Mike Bishop
- Re: [quicwg/base-drafts] Server's preferred addre… ianswett
- Re: [quicwg/base-drafts] Server's preferred addre… Mike Bishop
- Re: [quicwg/base-drafts] Server's preferred addre… ianswett
- Re: [quicwg/base-drafts] Server's preferred addre… ianswett
- Re: [quicwg/base-drafts] Server's preferred addre… janaiyengar
- Re: [quicwg/base-drafts] Server's preferred addre… Martin Thomson
- Re: [quicwg/base-drafts] Server's preferred addre… MikkelFJ
- Re: [quicwg/base-drafts] Server's preferred addre… Christian Huitema
- Re: [quicwg/base-drafts] Server's preferred addre… Christian Huitema
- Re: [quicwg/base-drafts] Server's preferred addre… Mike Bishop
- Re: [quicwg/base-drafts] Server's preferred addre… Mike Bishop
- Re: [quicwg/base-drafts] Server's preferred addre… Mike Bishop
- Re: [quicwg/base-drafts] Server's preferred addre… Mike Bishop
- Re: [quicwg/base-drafts] Server's preferred addre… Mike Bishop
- Re: [quicwg/base-drafts] Server's preferred addre… Martin Thomson
- Re: [quicwg/base-drafts] Server's preferred addre… Mike Bishop
- Re: [quicwg/base-drafts] Server's preferred addre… Mike Bishop
- Re: [quicwg/base-drafts] Server's preferred addre… Martin Thomson
- Re: [quicwg/base-drafts] Server's preferred addre… Mike Bishop
- Re: [quicwg/base-drafts] Server's preferred addre… Mike Bishop
- Re: [quicwg/base-drafts] Server's preferred addre… Mike Bishop
- Re: [quicwg/base-drafts] Server's preferred addre… janaiyengar
- Re: [quicwg/base-drafts] Server's preferred addre… Mike Bishop
- Re: [quicwg/base-drafts] Server's preferred addre… Mike Bishop
- Re: [quicwg/base-drafts] Server's preferred addre… Mike Bishop
- Re: [quicwg/base-drafts] Server's preferred addre… Mike Bishop
- Re: [quicwg/base-drafts] Server's preferred addre… Mike Bishop
- Re: [quicwg/base-drafts] Server's preferred addre… Rui Paulo
- Re: [quicwg/base-drafts] Server's preferred addre… janaiyengar
- Re: [quicwg/base-drafts] Server's preferred addre… Martin Thomson
- Re: [quicwg/base-drafts] Server's preferred addre… janaiyengar
- Re: [quicwg/base-drafts] Server's preferred addre… GuShuhengSimon
- Re: [quicwg/base-drafts] Server's preferred addre… David Schinazi