Re: Malicious Version Negotiation Handling (Was: Questions about Version Negotiation Concerning Possible Handshake Interruption)

Eric Rescorla <ekr@rtfm.com> Mon, 19 February 2018 04:55 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 673D312711A for <quic@ietfa.amsl.com>; Sun, 18 Feb 2018 20:55:02 -0800 (PST)
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 mEu9sG9qKbuw for <quic@ietfa.amsl.com>; Sun, 18 Feb 2018 20:54:59 -0800 (PST)
Received: from mail-qk0-x236.google.com (mail-qk0-x236.google.com [IPv6:2607:f8b0:400d:c09::236]) (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 AB0771201FA for <quic@ietf.org>; Sun, 18 Feb 2018 20:54:59 -0800 (PST)
Received: by mail-qk0-x236.google.com with SMTP id h129so10812846qke.8 for <quic@ietf.org>; Sun, 18 Feb 2018 20:54:59 -0800 (PST)
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=McQcMQXdGLLwVM7/hIcuf+cFn9iTJf/fVdqGXCkJVZU=; b=aeH1jGpodqqoirQ+lVJ+oWKANxPk3vMVO/fhENOBcZAXuAcGH5hBsQLSH8b0KxkNAZ 4gXvYrdS+TdqKvfDgAdURKh3fiGtW3LXiUkOKTFfCzvfACQL1ih/a4YqxVYV5lV/iYS/ 9yc8f1eDE45vlBq1a4g6JeYDm3wdh2FKulIoHtmldeuhliLK3/sXFMiYt7d7QidCQdKY tuW49hswR8CmrfINcQddNOIrx0dPpcDYkSnXQoNvFQR1chNiAIyg9bMCLaUF8/XFO7VT e9zvTpM0GBZYdy0bCVmFR4jrSzuat/lwIqCNjA6Gx2JqNSEOOUQFPe1pQ1WSvBKXeBmX FzJw==
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=McQcMQXdGLLwVM7/hIcuf+cFn9iTJf/fVdqGXCkJVZU=; b=espMzd8mQV/Kg/gOmrfE9uLyCg3VUjZrFYZfc6qEqUz/q7YBsqsd2Uxob2IHRtK5ab aa+U7bdjMi5vuXi8Z4DYqzB3Q88WySL9VXgYH26J3+dMREOJGQ9E/rZnBiDIY8RdXs5u 2fBPZ/qJH1il7cAfZEI7yvzDhcKX0n+sCGfLOl8oicUKnB3+BmAcCRDZMaDl5Ue8iNQ1 IKCPR1TTdbdWP8vq1nC3Z9tD9gHj874zcBRByHXpKmL4Zliewcbezr7cnpaaEdB2xLEL cKHX7G0hNBujH4j2q1EwvDx3PhgpRpFipW4A5o2EMUZ78sdZLSQOthlu3dHorP2/s5oM PikQ==
X-Gm-Message-State: APf1xPC+OLnUGAWppiTDWVzVDPQFvGSHBFqZv/qyi+KEAvKBNg6qd3zS GGWMuKDvs3RJub9rYC32UyXgZXXDkjjcgi7Vj1ZMQx5Q
X-Google-Smtp-Source: AH8x224bZggSG7dUuS0YAgVIH54cCFA+GpHttNFxiyPrP8sxtWoeWaaj2WtK4Mntjq4qRipx+X9HdfNdFJsh6rUch+k=
X-Received: by 10.55.118.6 with SMTP id r6mr10427042qkc.211.1519016098714; Sun, 18 Feb 2018 20:54:58 -0800 (PST)
MIME-Version: 1.0
Received: by 10.200.37.176 with HTTP; Sun, 18 Feb 2018 20:54:18 -0800 (PST)
In-Reply-To: <7317339e-3b4a-bf03-5624-e0d81f5c8a2c@huitema.net>
References: <1d386744-c46a-842a-b172-24e290e03668@gmail.com> <3d558827-f2a7-877c-e00a-d6a22ef241c5@gmail.com> <CANatvzzZEuJ3TY=+0BMLqbBE5mScG_Jnrypg3xkciykOX78G8A@mail.gmail.com> <CAN1APdfov8Q3E+5NkT5pmMeU=eB=fsnDFe_=BK7TDE0TpXD3yA@mail.gmail.com> <142211e0-c7c9-642f-69ef-5f0d722b77cc@gmail.com> <529ac475-5291-2b2e-acf9-05efe720d584@huitema.net> <6937_1518251684_5A7EAEA4_6937_191_1_5A7EAEA5.2000605@orange.com> <CANatvzz_2BeRns5E-OO=CKKwK66LgMd=3vVCM84_+OAxj8CutQ@mail.gmail.com> <d3c8688a-3f01-30b1-a3de-1300a43c1d99@gmail.com> <835e5014-3306-e7ac-fed0-3c90320551a9@gmail.com> <CABcZeBOHgM1xnvmx=CWEEeLnU9bO3DuFCYzbk6m2Kg=sxbYZYA@mail.gmail.com> <efc46f51-41ff-f69c-d627-f6d585013b1e@gmail.com> <CABcZeBO4OHJDtFkjcCwRFNL_mU5QzOGBcC-zMJPHStJq090gzw@mail.gmail.com> <MWHPR15MB182101493383DBBDD889B6C7B6C80@MWHPR15MB1821.namprd15.prod.outlook.com> <ae2d881a-1966-dc9a-f69a-44d13ad3d2e8@gmail.com> <CABcZeBPBZBaYigxNdbBq3=JtKuz8wN-WhNBwsxTdAtS=uJv2Rw@mail.gmail.com> <7317339e-3b4a-bf03-5624-e0d81f5c8a2c@huitema.net>
From: Eric Rescorla <ekr@rtfm.com>
Date: Sun, 18 Feb 2018 20:54:18 -0800
Message-ID: <CABcZeBN1hYug-0_VEVyGPRgG0=zHzJazcSo9=WdR09yk9WDO4Q@mail.gmail.com>
Subject: Re: Malicious Version Negotiation Handling (Was: Questions about Version Negotiation Concerning Possible Handshake Interruption)
To: Christian Huitema <huitema@huitema.net>
Cc: IETF QUIC WG <quic@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c062738f8ece70565897ebb"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/4WPSsDX7GpNbrtrOa8c8aGbm4zs>
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: Mon, 19 Feb 2018 04:55:02 -0000

On Sun, Feb 18, 2018 at 8:49 PM, Christian Huitema <huitema@huitema.net>
wrote:

> On 2/18/2018 8:41 PM, Eric Rescorla wrote:
>
> > I don't think increasing the on-path attacker's marginal difficulty
> > from not requiring any crypto to requiring simple crypto in order to
> > mount a DoS attack is worth changing the protocol for.
>
> Changing the protocol, probably not. But Lingmo's suggestion is one of
> the several steps that we could take against hardening against a man on
> the side attack. And it is a very simple one: if you receive a VN that
> does not contain any acceptable option, just ignore it. If this was
> legit, the connection will actually break after a short timer. If it was
> not, the next received message will be a Server Hello, and the
> connection will progress. Sounds like a reasonable trade-off.
>

I think it's fine if people do this. I don't think it's worth requiring in
the spec given the existence of other trivial man-on-the-side attacks.

-Ekr


> -- Christian Huitema
>
>
>