Re: Payload length 0
Martin Thomson <martin.thomson@gmail.com> Sun, 20 May 2018 07:15 UTC
Return-Path: <martin.thomson@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 211BA126C2F for <quic@ietfa.amsl.com>; Sun, 20 May 2018 00:15:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-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 9hWXvGiJJZeB for <quic@ietfa.amsl.com>; Sun, 20 May 2018 00:15:12 -0700 (PDT)
Received: from mail-oi0-x229.google.com (mail-oi0-x229.google.com [IPv6:2607:f8b0:4003:c06::229]) (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 89DA0126B72 for <quic@ietf.org>; Sun, 20 May 2018 00:15:12 -0700 (PDT)
Received: by mail-oi0-x229.google.com with SMTP id w123-v6so10526019oia.4 for <quic@ietf.org>; Sun, 20 May 2018 00:15:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IP/YVUFFJlahkBMZ3CdbDYO91jlQ3/Vug/rYnBzmiEQ=; b=ENtvSZGhVjUWwb9XRFmGfguSfgHvcziroJtoYsCJS4PE0G0EsdLn2x7zkTewsDC3dC IejJgmeN9/yc8VPwwSq92CjxccQoPEgnaag9DD7IwGUWMuKEzgIXb591p3XNDAv+D1Tg Qzc8TeyOddk66X6ph/uBCWMaTyG+38haoq3xrlu6OkSJpGym4yyjR61anrjB4ZPcYNza MYpxAh/lYyDnhWNr/6ZL8/so4FeDgCQ3BnBtqQclgoHQesqwOk5GxZ+QLI/FBbwduemJ 79v9qodRa/qW3Q7ul9XXcMjLQsA1R4tsgZMbRIZ3fhId+kRalPKaRVqrpR1KvMSziGQA Oqjw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=IP/YVUFFJlahkBMZ3CdbDYO91jlQ3/Vug/rYnBzmiEQ=; b=VZm0GPtfHy8SPyGWAcWizKI4g2Jh8HBil8189mtQxoplYSfl3w0NQ7X27TpAWwEnul EQ/tYr/2rntLMJCoErSNcxabSEiArasABgTM7AiKJjqR/aCFHnK1ixYxeYFskPpt7eFY hFmrHkfB7XhkxD+uil7i+I+RERFMCckCih+qnMj6WcYz0ZCkwEHMfPkjEiTcboZYVKW8 8BtU4W+n/3tw3NkmZRm55Ir+LXo4ZnDKM6/CDDCURGTLYNIAxvdTzvMqbkU+KS4E9y1P XfQ4vIrlbzJubRvthTcVmqW4GPA/aij7vStWyjRJXVMxaf9MzrGx6Tm4yBUAEm7qcHJU o8Hg==
X-Gm-Message-State: ALKqPweZd9VpS5cxYwgPC4zfdKqigbl7Qt6ozsOF4xCWC/xydb2i/vIk lJu/WHwEy9L/ZEuLAzc4K7uBOOl2rfiaBchfXwQ=
X-Google-Smtp-Source: AB8JxZpZdCMfqWkuo8dOTHr5Ph20SAKHPMaqVY49oLS4q2qLZSm7i4Asg3IXPd3ZwbDccGpi/9YbmZeCcpMX/JWdrJ4=
X-Received: by 2002:aca:1218:: with SMTP id 24-v6mr6493298ois.144.1526800511735; Sun, 20 May 2018 00:15:11 -0700 (PDT)
MIME-Version: 1.0
References: <CAOYVs2q63DpkPZTbw9T24ZcFOxbvrWAGvOtUaHvCuSg_13pSkQ@mail.gmail.com> <CABkgnnWpgyN_OPac-uSKALEaVc8mO_LpT9gAOs-n1eKqso5QAQ@mail.gmail.com> <CAKcm_gMFumNgPq4FxwcgzgDUCvn_jUxb0qk7tAgYZ=LvKfxjfg@mail.gmail.com> <20180518134400.GA12617@ubuntu-dmitri> <1F436ED13A22A246A59CA374CBC543998B7C712F@ORSMSX111.amr.corp.intel.com> <CACpbDcdb6JK_-fmUcKMgbdm0iD2qFvQSVbM74uzo28aShb7H2w@mail.gmail.com> <6c99fb18-f511-7246-e248-466400675e62@huitema.net> <CACpbDcfjDfQP69ZvUNjcUnQBGYKJAEJuh2BMK5dQZ8eRwfzOGQ@mail.gmail.com> <90c7800b-2c91-762d-e822-883b45e2f814@huitema.net>
In-Reply-To: <90c7800b-2c91-762d-e822-883b45e2f814@huitema.net>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Sun, 20 May 2018 17:14:59 +1000
Message-ID: <CABkgnnXETJUkghZu=xxLNU7pBiEWmZ5O32bxDR7f_5Fo9SoK1Q@mail.gmail.com>
Subject: Re: Payload length 0
To: Christian Huitema <huitema@huitema.net>
Cc: Jana Iyengar <jri.ietf@gmail.com>, "Deval, Manasi" <manasi.deval@intel.com>, Marten Seemann <martenseemann@gmail.com>, Ian Swett <ianswett@google.com>, QUIC WG <quic@ietf.org>, Dmitri Tikhonov <dtikhonov@litespeedtech.com>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/KRSyGnCx-4Ssy2_bLW1B0JuNM8g>
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: Sun, 20 May 2018 07:15:14 -0000
It only works to ensure that the last packet remains the last packet. That doesn't seem like an actual defense against splitting. On Sun, May 20, 2018 at 11:37 AM Christian Huitema <huitema@huitema.net> wrote: > On 5/19/2018 6:16 PM, Jana Iyengar wrote: >> The only way to prevent middlebox from hacking some part of the protocol >> is to use encryption. Any clear text hack will only be a slight road >> bump for the middle-box hackers. > Agreed, though I'll note that authenticating may be enough in some cases, encrypting may not be necessary. >> For example, if we coalesce a CI and a 0-RTT packet, we could have the >> zero RTT encryption depend on the presence of the previous packet. > What I'm suggesting is that the length field, which is part of the authenticated header, include this signal as zero, or non-zero. I think this may be one interpretation of what you're saying: the header field, which is part of the AEAD hash, encodes the presence of another packet. > Yes, something like that would work. Maybe a flag in the first octet, "is coalesced". > Note that, in the plausible CI + 0RTT coalescing, splitting the CI won't work. It will be too short, and thus rejected by the server. > -- Christian Huitema
- Payload length 0 Marten Seemann
- Re: Payload length 0 Martin Thomson
- Re: Payload length 0 Ian Swett
- Re: Payload length 0 Dmitri Tikhonov
- RE: Payload length 0 Deval, Manasi
- Re: Payload length 0 Jana Iyengar
- Re: Payload length 0 Christian Huitema
- Re: Payload length 0 Jana Iyengar
- Re: Payload length 0 Christian Huitema
- Re: Payload length 0 Martin Thomson
- Re: Payload length 0 Jana Iyengar
- Re: Payload length 0 Christian Huitema
- Re: Payload length 0 Martin Thomson
- Re: Payload length 0 Jana Iyengar
- Re: Payload length 0 Marten Seemann
- Re: Payload length 0 Eggert, Lars