Re: Exercising Version Negotiation
Eric Rescorla <ekr@rtfm.com> Thu, 22 March 2018 14:26 UTC
Return-Path: <ekr@rtfm.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 767C1126DFB for <quic@ietfa.amsl.com>; Thu, 22 Mar 2018 07:26:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=rtfm-com.20150623.gappssmtp.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 ciEdoacoIHew for <quic@ietfa.amsl.com>; Thu, 22 Mar 2018 07:26:35 -0700 (PDT)
Received: from mail-oi0-x22b.google.com (mail-oi0-x22b.google.com [IPv6:2607:f8b0:4003:c06::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 ECD091200C5 for <quic@ietf.org>; Thu, 22 Mar 2018 07:26:34 -0700 (PDT)
Received: by mail-oi0-x22b.google.com with SMTP id y27-v6so7484935oix.10 for <quic@ietf.org>; Thu, 22 Mar 2018 07:26:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=oe49qJ1WR9VhiLq1wAEOnmsQDynNcD9Vydv3wlyW9Yk=; b=IeHZjnITI+x2z+7alEHbHXBV0FvACdDBN0lloQ82Q59djvcomwTiryd43oyCulMzvh 8pQSLk3rhwV2vu4or2h73WK52NftCQidmYXxqY4DIwdtGwRef6sHunA2swt3XJR3Ov6A soCKkUmIO4yvF07oXKFJe6fNNVMROUWQ8lk1x6dNpYtVp8XOgr3zhAdY4C1TL/k6iDlP 9jhc4cBPqZVq2AJJQsKoLeakHJu+kShM9s4IuIQdCiaCsYO5PtqbLFY03UqZsFMOC5nw xtrNSDu/0W5tURm6AT9P83yz4uDIWvxt4ImfR3alv56Q5f2vpdrZOBcuJsgeooErKP3E 6hAg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=oe49qJ1WR9VhiLq1wAEOnmsQDynNcD9Vydv3wlyW9Yk=; b=pmR3t6NnPznS+Wbn9GE+pe2Zitf+HHsBU9sjYQo7GK0qqZ59CQQ6yUHYdxxzsoWM+v 0kANeTdq6YjvM08AZ7mu86H5jfYJFp4ouRhxvnjSyHAjRY9Ff3eLJ5UWJ5t2NNPh2beS xv3+LMPAjiu9j/9HpFQLDBlT4rC/zAxVf/Ht/BdSWVQm8ZBCjGmZY7Fb2YJFkBdx5gMU sjGRKv+vib6zDU8T6hnxAIc/SwXuoY7GMoK1uP67yoXBxiyzEMgZu4NF3KDTfzREZh0k hfVR69V95Fs/te27QlAXP5wq8bn9Ua2iMMz4pp3RtpzBQj7nd5Djqtiz3P2WqXxR7ivU nV7A==
X-Gm-Message-State: AElRT7GRg79dqlVHkdbIHRKSjp78YjWV9IgblXrYSHYZR9nkGRsvmMo2 EhF4NWwDa8gfFjI5Oby5u4jVPiPcWMlMUr8BTCOpEQ==
X-Google-Smtp-Source: AG47ELsHdMJEbyOpAJdoIxxzPIpIlGXIIyeGdiGLUzJAVxUV86aSAmB8EK6UGtuoJS2kZLzvKtXeOTOde5t4YDAx1BQ=
X-Received: by 10.202.204.83 with SMTP id c80mr1384192oig.174.1521728794135; Thu, 22 Mar 2018 07:26:34 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.201.23.21 with HTTP; Thu, 22 Mar 2018 07:25:53 -0700 (PDT)
In-Reply-To: <CAJ_4DfQ6zqVeUUF7XcoT110kVcP1BJFEtqVR-+FN5XD2UuRMMA@mail.gmail.com>
References: <CABcZeBMv5BqZOtgVA2wfqaaGCd94gcNPB9bTXkrvNXXRveU8wA@mail.gmail.com> <CAJ_4DfQ6zqVeUUF7XcoT110kVcP1BJFEtqVR-+FN5XD2UuRMMA@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Thu, 22 Mar 2018 14:25:53 +0000
Message-ID: <CABcZeBMVNy151rFntLutSPtctPsd2Ei3Qy-ChuEXVMVpz4pgdQ@mail.gmail.com>
Subject: Re: Exercising Version Negotiation
To: Ryan Hamilton <rch@google.com>
Cc: IETF QUIC WG <quic@ietf.org>
Content-Type: multipart/alternative; boundary="001a113532ac3826a80568011871"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/fvomQc3hhfoMgjCkuSQaYFdDCTQ>
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: Thu, 22 Mar 2018 14:26:36 -0000
It would exercise the former. -Ekr On Thu, Mar 22, 2018 at 2:10 PM, Ryan Hamilton <rch@google.com> wrote: > When you say Version Negotiation, do you mean the process of sending an > receiving a version negotiation packet, or simply the act of speaking two > different versions? Your proposal seems to be the latter but I don't think > I follow how it would exercise the former, though maybe that's intentional? > > On Thu, Mar 22, 2018 at 5:03 AM, Eric Rescorla <ekr@rtfm.com> wrote: > >> Following up on the discussion at the mic, I do think it is useful to >> exercise the VN function, but I don't think it's useful to have those >> versions be different, because that creates perverse incentives. >> >> Here's what I suggest instead: create two versions (we can call them QUIC >> v1+i and QUIC v1-i), each with its own code point [0]. They should be >> essentially identical except for two trivial differences, intended to >> ensure that if you screw up version negotiation, you get failed interop. >> >> - The constant in the handshake salt (5.2.2) >> - The HKDF expansion constants >> >> I suggest we handle each of these by just inverting the bits. >> >> We would then suggest to people that they somewhat randomize their >> preferences (e.g., 99% of the time prefer v1+i, 1% of the time prefer >> v1-i). This will almost always result in matching versions, but will >> occasionally result in a mismatch, thus forcing us to test VN. >> >> -Ekr >> >> [0] Obviously we can do this for draft versions. We just say that the two >> versions are >> ff0000XX and ffffffXX. >> >> >> >> >> >> >> >
- Exercising Version Negotiation Eric Rescorla
- Re: Exercising Version Negotiation Ryan Hamilton
- Re: Exercising Version Negotiation Eric Rescorla
- RE: Exercising Version Negotiation Mike Bishop
- Re: Exercising Version Negotiation Spencer Dawkins at IETF
- Re: Exercising Version Negotiation Roberto Peon
- Re: Exercising Version Negotiation Eric Rescorla
- Re: Exercising Version Negotiation Subodh Iyengar
- Re: Exercising Version Negotiation Subodh Iyengar
- Re: Exercising Version Negotiation Subodh Iyengar
- Re: Exercising Version Negotiation Ian Swett
- Re: Exercising Version Negotiation Subodh Iyengar
- RE: Exercising Version Negotiation Lubashev, Igor
- Re: Exercising Version Negotiation Ryan Hamilton
- Re: Exercising Version Negotiation Ryan Hamilton
- RE: Exercising Version Negotiation Lubashev, Igor
- Re: Exercising Version Negotiation Eric Rescorla
- Re: Exercising Version Negotiation Ryan Hamilton
- Re: Exercising Version Negotiation Roberto Peon
- Re: Exercising Version Negotiation Ryan Hamilton
- Re: Exercising Version Negotiation Roberto Peon
- Re: Exercising Version Negotiation Christian Huitema
- RE: Exercising Version Negotiation Mike Bishop
- Re: Exercising Version Negotiation Ryan Hamilton
- Re: Exercising Version Negotiation Roberto Peon
- Re: Exercising Version Negotiation Roberto Peon
- Re: Exercising Version Negotiation Ryan Hamilton
- Re: Exercising Version Negotiation Ted Hardie
- Re: Exercising Version Negotiation Roberto Peon
- Re: Exercising Version Negotiation Ryan Hamilton
- Re: Exercising Version Negotiation Roberto Peon
- Re: Exercising Version Negotiation Philipp S. Tiesel
- Re: Exercising Version Negotiation Christian Huitema