Re: Packet number encryption

Mikkel Fahnøe Jørgensen <mikkelfj@gmail.com> Fri, 02 February 2018 10:54 UTC

Return-Path: <mikkelfj@gmail.com>
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 3BAF712EB38 for <quic@ietfa.amsl.com>; Fri, 2 Feb 2018 02:54:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 xHi8tsbY4gVA for <quic@ietfa.amsl.com>; Fri, 2 Feb 2018 02:54:02 -0800 (PST)
Received: from mail-it0-x22b.google.com (mail-it0-x22b.google.com [IPv6:2607:f8b0:4001:c0b::22b]) (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 009D812EAC0 for <quic@ietf.org>; Fri, 2 Feb 2018 02:54:01 -0800 (PST)
Received: by mail-it0-x22b.google.com with SMTP id n206so7464635itg.1 for <quic@ietf.org>; Fri, 02 Feb 2018 02:54:01 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:in-reply-to:references:mime-version:date:message-id:subject:to :cc; bh=3xUF4fnex4WsOSYcTVVA0gJH/yVPBjGBtll0DVo0hC8=; b=loSB2rWfzVx8+bTrVayeb4BxnmMKNYHn+AhfSaIFI4hZjWel3uafWSPtADTudrmXfC VDmNT+HNdQybytYByqeTX3tP7maSVMiQtzeWCo4Hiq1N/nWM6wwLojUQCzrPcrm1eAS2 9RpCMwAIzLhqd/NYkpWSQjgviU3dcIsmx6VrIWoMniE5Ur0GFNV3JsHIPyxRMcPqxBao ezKJ96w5I6sIqOak0SWS7OX4L2c4dElQclR62tIJPUOrPVf3sEDBCUngOX+DPm2Zec7y wjdCQyMcipAGURuHfpRvfpdVmCXqbYnevWBPagLBkyYrV91kRXA4hBOD4l51aYiwQTzQ cxeA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=3xUF4fnex4WsOSYcTVVA0gJH/yVPBjGBtll0DVo0hC8=; b=KDMxE2q/Su2vFgvD3PtGLu6E3woeB2q9lXqD4yz5CixV3ETjksj6uZlNU9Bu38xhue rWLwJJOaNeMBijC4BLFd55xX8/68UfogU52wvOIS45zDnisveWHkrSRuAbjVIjxTJYxU A+GX1s+6CCTjXKlvfRLqs0JRrA4xBuNcK33istQhv/edLY3AOYmv9dmBCGMCETPCrnxR T9B0YLfLhEi4scxdKT/JoR6lCV6/BrBfUvMvxs9cj4mdj8RBPU7tcPz6CbC/nRRiRzOY po9HjpF8w69iwk7ffCMS9L4CVtfEeX1httNJ/7o9UJWmPA9W/QsbAbxL71PqJ5RRoPXR U/+A==
X-Gm-Message-State: AKwxytcrvLgkZCtdR3cN2a6dFPxX0bYV4W+TcrzXqVyyYtj2RoI0CuEK PZzR3GjEHwDlWhVsUtIbZPL4VSOweWH9vzcv43o=
X-Google-Smtp-Source: AH8x2252kmgMdfRbAj/3d6v7lPs/NXQN0gVO3XSdw+YH+GI+BvRDJTh9U7m9FP933dhx8K2vKwmjdQzpngKHC+DqWFs=
X-Received: by 10.36.178.26 with SMTP id u26mr25379465ite.4.1517568841384; Fri, 02 Feb 2018 02:54:01 -0800 (PST)
Received: from 1058052472880 named unknown by gmailapi.google.com with HTTPREST; Fri, 2 Feb 2018 02:54:00 -0800
From: Mikkel Fahnøe Jørgensen <mikkelfj@gmail.com>
In-Reply-To: <26AC90FF-EDC0-431A-86D7-8F78555B5DB9@trammell.ch>
References: <CABkgnnVyo3MmWtVULiV=FJTnR528qfY8-OmKGWAs0bCvri-a_g@mail.gmail.com> <1F7FB3B8-A94C-4354-9944-FB09FB8DB68B@trammell.ch> <CABcZeBMbwdwyC9TxxHBLYaZKfNB-FG2wCGjqUZ_mNR-A1R47FA@mail.gmail.com> <9096e5ec-581e-875a-b1dd-bff0b05206fd@huitema.net> <CABkgnnWRQSAufwPss+qf=xAzCwRYeNNH8XLPm3yFaHxOb+ba4g@mail.gmail.com> <BF80500A-6277-45DC-8525-9C3FE138B76D@tik.ee.ethz.ch> <827BA6F8-5CA8-420A-B18B-60D8BC134A46@fb.com> <CA+9kkMDvp64NspznEuVy2tu8Eh1xmFkXu5S0AtDwbZKQ9Kq2fA@mail.gmail.com> <7F0C8A1D-1CE8-44E1-B3A4-ACFCB19D1F12@fb.com> <CABkgnnVsx9ohKO95bsDbYpM+bgWb-HQiVW2Yn=XWG458uzNgtg@mail.gmail.com> <CAGD1bZbH2qz2WL0YsOJJ=j7V-Lkt_V6K1RQ+5ZhMAzOWEAvdGQ@mail.gmail.com> <A236CE0B-24C1-41F0-A80D-7DD966D291B7@trammell.ch> <CAM4esxTj6Jv4nv975SDzczx9QEG-18WNm7UC7WxDcjyN+PeVgA@mail.gmail.com> <CAM4esxR_L9OvkEQ3G8z=yK1VgPQDJTMWeB2ts7CSgtV_de9MiQ@mail.gmail.com> <CAM4esxRVecQUJZwSv-+fV43CyTER-OY7H7WZGAKU0yT84qn6aA@mail.gmail.com> <26AC90FF-EDC0-431A-86D7-8F78555B5DB9@trammell.ch>
X-Mailer: Airmail (420)
MIME-Version: 1.0
Date: Fri, 02 Feb 2018 02:54:00 -0800
Message-ID: <CAN1APdexRCkBSJH4rokfjPmwT-ao_F=ue3FOLENj30vXo=6HqQ@mail.gmail.com>
Subject: Re: Packet number encryption
To: "Brian Trammell (IETF)" <ietf@trammell.ch>, Martin Duke <martin.h.duke@gmail.com>
Cc: QUIC WG <quic@ietf.org>, Jana Iyengar <jri@google.com>, Ted Hardie <ted.ietf@gmail.com>, Martin Thomson <martin.thomson@gmail.com>, Mirja Kühlewind <mirja.kuehlewind@tik.ee.ethz.ch>, Christian Huitema <huitema@huitema.net>, Eric Rescorla <ekr@rtfm.com>, Roberto Peon <fenix@fb.com>
Content-Type: multipart/alternative; boundary="f403045d914cb6890b05643887ef"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/0_47YSLisxF6hhhu5ygq3FZ72Vw>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.22
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: Fri, 02 Feb 2018 10:54:04 -0000

 and (2) it lets us dispense with all the messiness of PN jumps on
intentional migration. The first of these seems meh, the second is a little
more convincing: packet number jumping is not pretty.


I have proposed a defence against optimistic ACK attack the avoids the use
of packet number gaps and which makes it mandatory for implementations to
support:
https://github.com/quicwg/base-drafts/issues/1092