Re: [quicwg/base-drafts] Address change and consent to send (#161)
janaiyengar <notifications@github.com> Fri, 03 March 2017 07:09 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 B569B127077 for <quic-issues@ietfa.amsl.com>; Thu, 2 Mar 2017 23:09:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.02
X-Spam-Level:
X-Spam-Status: No, score=-2.02 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_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, 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 3mGtsrKRA47V for <quic-issues@ietfa.amsl.com>; Thu, 2 Mar 2017 23:09:00 -0800 (PST)
Received: from o11.sgmail.github.com (o11.sgmail.github.com [167.89.101.202]) (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 992CD120725 for <quic-issues@ietf.org>; Thu, 2 Mar 2017 23:08:59 -0800 (PST)
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=4UONe0R5XHuBQ3WM9KeYWhNVLkI=; b=UD7fj74D/C1QwstI NrsqFtp7v9yLQnpn+crC2UHCoqTJ4ZW1Ww1Vfbf3uWW+eqWcYokVyo7KR5cOo8Wq 49vqK09T/tbInOymFKsMvOSK3cu2i8LBwXerGfORHbbYdkhwgNfpu1olK4hL7mi2 tK6ukCL2R7ZHS1zLMukrsKXNjyU=
Received: by filter0094p1las1.sendgrid.net with SMTP id filter0094p1las1-6806-58B9167E-3F 2017-03-03 07:08:46.682659087 +0000 UTC
Received: from github-smtp2a-ext-cp1-prd.iad.github.net (github-smtp2a-ext-cp1-prd.iad.github.net [192.30.253.16]) by ismtpd0004p1iad1.sendgrid.net (SG) with ESMTP id mphHLe1uTtencg6RK9blsQ for <quic-issues@ietf.org>; Fri, 03 Mar 2017 07:08:46.599 +0000 (UTC)
Date: Thu, 02 Mar 2017 23:08:46 -0800
From: janaiyengar <notifications@github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/161/283882554@github.com>
In-Reply-To: <quicwg/base-drafts/issues/161@github.com>
References: <quicwg/base-drafts/issues/161@github.com>
Subject: Re: [quicwg/base-drafts] Address change and consent to send (#161)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_58b9167e6ac23_f233ff01a2b1c3c19894b"; 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-SG-EID: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak1bwxL6CaleB4enBxenKJBUUPaI8O5kcBxVNr 2iVGk5PfOh8FXsOHC7hqY7Dcsa7gZG47b/JZi8aVBNSHtnCd+xY40LezXlIZnTFlHcIWbsK9B8OfJI I+xv8ukXMZ98IpnNV8UKkFiOaM2GCtglWepnKMezPaiPsp2k2JPvwzwKNq1XCQzR4y5TSXcOzaQZBW w=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/ZKMiCRi8NNKZ2GlNnA3Gn9S20Zk>
Cc: Subscribed <subscribed@noreply.github.com>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.17
Reply-To: quic@ietf.org
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: Fri, 03 Mar 2017 07:09:01 -0000
There are a few issues here 1. Amplification attack, where an attacker grows server's cwnd to a large value and then sends a spoofed packet with the victim's IP, causing a large amount of data to be dumped on the victim. Solution: When a server observes a change in the client's IP address, it records the current cwnd, clamps the cwnd down to MIN_CWND, and sends a PING frame to the new IP. When a packet sent to the new IP address is acked, the cwnd is restored. 2. Optimistic ack attack, where the attacker optimistically acks the PING packet sent by the server to the victim's IP, causing the server to again unleash it's large cwnd on the victim. Solution: On a change in the client's IP address, the server introduces a randomly sized gap in the packet sequence space. Any new data will now still be sent to the new client IP, but the sequence numbers will be discontiguous from transmissions to the old IP. Any acks for packets in the gap will result in an immediate termination of the connection. A malicious client will now have to either correctly guess the exact size of this gap or read packets going to the victim. Alternatively, we can add an optional random number to the PING frame, which when present means that the receiver MUST respond immediately with a PING frame carrying the same random number. 3. There's a slightly tricky issue hidden in here. Say a server observes an address change from IP A to B. What should a server do if it observes another address change while it's in the middle of validating one? Solution: There are three possible scenarios. (i) If the new IP is different than A, then restart validation of the newest IP. (ii) If the new IP is the same as A and the packet is reordered, then accept the packet and continue with the current validation. (iii) If the new IP is the same as A and the packet is newer than the one that triggered the last validation, then close the connection, since this doesn't look like a NAT rebinding. (This could be a MITM, who changes the IP address of one client -> server packet, hoping that the server reduces its cwnd or latches on to this new IP, causing a DoS of sorts.) -- 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/issues/161#issuecomment-283882554
- [quicwg/base-drafts] Address change and consent t… Martin Thomson
- Re: [quicwg/base-drafts] Address change and conse… Marten Seemann
- Re: [quicwg/base-drafts] Address change and conse… Martin Thomson
- Re: [quicwg/base-drafts] Address change and conse… mirjak
- Re: [quicwg/base-drafts] Address change and conse… ianswett
- Re: [quicwg/base-drafts] Address change and conse… Martin Thomson
- Re: [quicwg/base-drafts] Address change and conse… mirjak
- Re: [quicwg/base-drafts] Address change and conse… ianswett
- Re: [quicwg/base-drafts] Address change and conse… Martin Thomson
- Re: [quicwg/base-drafts] Address change and conse… mbagnulo
- Re: [quicwg/base-drafts] Address change and conse… janaiyengar
- Re: [quicwg/base-drafts] Address change and conse… Martin Thomson
- Re: [quicwg/base-drafts] Address change and conse… mirjak
- Re: [quicwg/base-drafts] Address change and conse… mirjak
- Re: [quicwg/base-drafts] Address change and conse… Martin Thomson
- Re: [quicwg/base-drafts] Address change and conse… mbagnulo
- Re: [quicwg/base-drafts] Address change and conse… mirjak
- Re: [quicwg/base-drafts] Address change and conse… mbagnulo
- Re: [quicwg/base-drafts] Address change and conse… ekr
- Re: [quicwg/base-drafts] Address change and conse… janaiyengar
- Re: [quicwg/base-drafts] Address change and conse… Martin Thomson
- Re: [quicwg/base-drafts] Address change and conse… Igor Lubashev
- Re: [quicwg/base-drafts] Address change and conse… Martin Thomson
- Re: [quicwg/base-drafts] Address change and conse… janaiyengar
- Re: [quicwg/base-drafts] Address change and conse… Martin Thomson
- Re: [quicwg/base-drafts] Address change and conse… Marten Seemann
- Re: [quicwg/base-drafts] Address change and conse… Martin Thomson
- Re: [quicwg/base-drafts] Address change and conse… Marten Seemann
- Re: [quicwg/base-drafts] Address change and conse… Martin Thomson
- Re: [quicwg/base-drafts] Address change and conse… Marten Seemann
- Re: [quicwg/base-drafts] Address change and conse… Martin Thomson
- Re: [quicwg/base-drafts] Address change and conse… Igor Lubashev
- Re: [quicwg/base-drafts] Address change and conse… hardie
- Re: [quicwg/base-drafts] Address change and conse… janaiyengar
- Re: [quicwg/base-drafts] Address change and conse… janaiyengar
- Re: [quicwg/base-drafts] Address change and conse… janaiyengar
- Re: [quicwg/base-drafts] Address change and conse… Martin Thomson
- Re: [quicwg/base-drafts] Address change and conse… hardie
- Re: [quicwg/base-drafts] Address change and conse… Martin Thomson
- Re: [quicwg/base-drafts] Address change and conse… hardie
- Re: [quicwg/base-drafts] Address change and conse… Martin Thomson
- Re: [quicwg/base-drafts] Address change and conse… hardie
- Re: [quicwg/base-drafts] Address change and conse… Martin Thomson
- Re: [quicwg/base-drafts] Address change and conse… hardie
- Re: [quicwg/base-drafts] Address change and conse… Martin Thomson
- Re: [quicwg/base-drafts] Address change and conse… MikkelFJ
- Re: [quicwg/base-drafts] Address change and conse… mirjak
- Re: [quicwg/base-drafts] Address change and conse… Martin Thomson
- Re: [quicwg/base-drafts] Address change and conse… Martin Thomson