Re: [TLS] Working Group Last Call for draft-ietf-tls-downgrade-scsv-00
mrex@sap.com (Martin Rex) Wed, 29 October 2014 20:27 UTC
Return-Path: <mrex@sap.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1B6831A8914 for <tls@ietfa.amsl.com>; Wed, 29 Oct 2014 13:27:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.551
X-Spam-Level:
X-Spam-Status: No, score=-6.551 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001] autolearn=ham
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 PU3mtRLS82f3 for <tls@ietfa.amsl.com>; Wed, 29 Oct 2014 13:27:48 -0700 (PDT)
Received: from smtpde02.smtp.sap-ag.de (smtpde02.smtp.sap-ag.de [155.56.68.140]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DFF2F1A88F8 for <tls@ietf.org>; Wed, 29 Oct 2014 13:27:47 -0700 (PDT)
Received: from mail05.wdf.sap.corp (mail05.sap.corp [194.39.131.55]) by smtpde02.smtp.sap-ag.de (Postfix) with ESMTPS id B28A66B49E; Wed, 29 Oct 2014 21:27:45 +0100 (CET)
Received: from ld9781.wdf.sap.corp (ld9781.wdf.sap.corp [10.21.82.193]) by mail05.wdf.sap.corp (Postfix) with ESMTP id A764643F4A; Wed, 29 Oct 2014 21:27:45 +0100 (CET)
Received: by ld9781.wdf.sap.corp (Postfix, from userid 10159) id 9CB281AF69; Wed, 29 Oct 2014 21:27:45 +0100 (CET)
In-Reply-To: <CADMpkcLLOrUQMxbeCW7RB+Gf12Ux_wK_eotKdbH0RMpeuaptfQ@mail.gmail.com>
To: Bodo Moeller <bmoeller@acm.org>
Date: Wed, 29 Oct 2014 21:27:45 +0100
X-Mailer: ELM [version 2.4ME+ PL125 (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="US-ASCII"
Message-Id: <20141029202745.9CB281AF69@ld9781.wdf.sap.corp>
From: mrex@sap.com
Archived-At: http://mailarchive.ietf.org/arch/msg/tls/qyzueOzMznmwvqBqSmbXKBtWroo
Cc: "tls@ietf.org" <tls@ietf.org>
Subject: Re: [TLS] Working Group Last Call for draft-ietf-tls-downgrade-scsv-00
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: mrex@sap.com
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 Oct 2014 20:27:52 -0000
Bodo Moeller wrote:
>
> Continuing the handshake would not require any app-level changes to Servers
> > that have not been writing fatal SSL alerts to the network before
> > connection closure in the past, such as Microsoft IIS, so clients
> > with fallback heuristics will be in a *MUCH* better position to
> > recognize and distinguish accidental network glitches or connection
> > management bugs from attacks. I expect the false positives to
> > outnumber attacks by at least three orders of magnitudes.
>
> If there's an *actual* attack and the client doesn't continue with the
> connection, the attacker can suppress alert details anyway. The alert (if
> it gets through) is useful for heuristics; the only definitive protection
> is from making sure that the client and server won't exchange application
> data.
I believe we're still talking past each other.
It will be impossible to protect the handshakes between two TLS peers
where one of them does not know about the FALLBACK_SCSV.
We're discussing purely the situation where _both_ sides are patched.
With the current proposal, the server is supposed to abort the handshake,
but with pretty much no useful information to perform any kind of sensible
risk management, no means to cause the client to retry with "more features",
and not the slightest clue what "more features" really means.
If instead, the server includes a ServerHelloExtension when recognizing
the Fallback SCSV, then the client will have *MUCH* better information
available to make sensible risk management:
- only the client knows *which* features it actually omitted
- only the client knows how often it has tried to perform the handshake
(how long he has been doing the "downgrade dance") on the current
request.
- only the client can decide to perform another request with
more/better options than what the server picked and returned in
ServerHello
- only the client can tell the user/admin about what happend
(how often and how far it attempted to downgrade) and obtain
a confirmation whether to continue/retry or abort.
It's up to you / the WG to decide what the contents / semantics of
such a ServerHelloExtension should be, i.e. whether the presence
of the extension is a simple Boolean with a meaning closer to
the currently suggested fatal alert (i.e. an encouragement for the
client to abort and reconnect), or whether there should be a more
fine grained response, such as a structure that conveys the highest
protocol version of the server, whether the TLS server understands
and would appreciate TLS extensions or even a list of TLS extensions
that the server would _really_ like to see (such as ECC, SNI, ...)
or whether the server would really appreciate being offered
a larger variety of TLS cipher suites.
I've been doing customer support for almost 20 years, I'm not just
doing software development and maintenance, and the type of support
that I do includes analyzing and explaining to customers interop failures
when trying to access TLS-protected resources and suggesting them how
to change their configuration in order to obtain interop.
Interop failures that end with a fatal SSL alert or silent connection
closure are a royal pain to analyze, which is why I will never consider
a specification as the current one (neither on the client, nor on
the server side). Both, as IETF TLS WG and as software engineer(s),
we can do *MUCH* better easily.
-Martin
- [TLS] Working Group Last Call for draft-ietf-tls-… Joseph Salowey (jsalowey)
- Re: [TLS] Working Group Last Call for draft-ietf-… Martin Thomson
- Re: [TLS] Working Group Last Call for draft-ietf-… Martin Thomson
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] Working Group Last Call for draft-ietf-… Martin Thomson
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] Working Group Last Call for draft-ietf-… Andrei Popov
- Re: [TLS] Working Group Last Call for draft-ietf-… Adam Langley
- Re: [TLS] Working Group Last Call for draft-ietf-… Andrei Popov
- Re: [TLS] Working Group Last Call for draft-ietf-… Adam Langley
- Re: [TLS] Working Group Last Call for draft-ietf-… Andrei Popov
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] Working Group Last Call for draft-ietf-… Andrei Popov
- Re: [TLS] Working Group Last Call for draft-ietf-… Brian Smith
- Re: [TLS] Working Group Last Call for draft-ietf-… Brian Smith
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] Working Group Last Call for draft-ietf-… Brian Smith
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] Working Group Last Call for draft-ietf-… Brian Smith
- Re: [TLS] Working Group Last Call for draft-ietf-… Martin Rex
- Re: [TLS] Working Group Last Call for draft-ietf-… Martin Rex
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] Working Group Last Call for draft-ietf-… Martin Thomson
- Re: [TLS] Working Group Last Call for draft-ietf-… Brian Smith
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] Working Group Last Call for draft-ietf-… Martin Thomson
- Re: [TLS] Working Group Last Call for draft-ietf-… Brian Smith
- Re: [TLS] Working Group Last Call for draft-ietf-… Andrey Jivsov
- Re: [TLS] Working Group Last Call for draft-ietf-… Brian Smith
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] Working Group Last Call for draft-ietf-… Brian Smith
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] Working Group Last Call for draft-ietf-… Florian Weimer
- Re: [TLS] Working Group Last Call for draft-ietf-… Fabrice
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] Working Group Last Call for draft-ietf-… Salz, Rich
- Re: [TLS] Working Group Last Call for draft-ietf-… Nikos Mavrogiannopoulos
- Re: [TLS] Working Group Last Call for draft-ietf-… Hanno Böck
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] Working Group Last Call for draft-ietf-… Salz, Rich
- Re: [TLS] Working Group Last Call for draft-ietf-… CodesInChaos
- Re: [TLS] Working Group Last Call for draft-ietf-… Hanno Böck
- Re: [TLS] Working Group Last Call for draft-ietf-… Salz, Rich
- Re: [TLS] Working Group Last Call for draft-ietf-… Nikos Mavrogiannopoulos
- Re: [TLS] Working Group Last Call for draft-ietf-… Salz, Rich
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] Working Group Last Call for draft-ietf-… Tom Ritter
- Re: [TLS] Working Group Last Call for draft-ietf-… Florian Weimer
- Re: [TLS] Working Group Last Call for draft-ietf-… Florian Weimer
- Re: [TLS] Working Group Last Call for draft-ietf-… Florian Weimer
- Re: [TLS] Working Group Last Call for draft-ietf-… Florian Weimer
- Re: [TLS] Working Group Last Call for draft-ietf-… Florian Weimer
- Re: [TLS] Working Group Last Call for draft-ietf-… Salz, Rich
- Re: [TLS] Working Group Last Call for draft-ietf-… Florian Weimer
- Re: [TLS] Working Group Last Call for draft-ietf-… Salz, Rich
- Re: [TLS] Working Group Last Call for draft-ietf-… Salz, Rich
- Re: [TLS] Working Group Last Call for draft-ietf-… Florian Weimer
- Re: [TLS] Working Group Last Call for draft-ietf-… Salz, Rich
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] Working Group Last Call for draft-ietf-… Martin Thomson
- Re: [TLS] Working Group Last Call for draft-ietf-… Manuel Pégourié-Gonnard
- Re: [TLS] Working Group Last Call for draft-ietf-… Martin Rex
- Re: [TLS] Working Group Last Call for draft-ietf-… Watson Ladd
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] Working Group Last Call for draft-ietf-… Brian Smith
- Re: [TLS] Working Group Last Call for draft-ietf-… Brian Smith
- Re: [TLS] Working Group Last Call for draft-ietf-… Brian Smith
- Re: [TLS] Working Group Last Call for draft-ietf-… Fahima Ahmed Khan Etha
- Re: [TLS] Working Group Last Call for draft-ietf-… Florian Weimer
- Re: [TLS] Working Group Last Call for draft-ietf-… Florian Weimer
- Re: [TLS] Working Group Last Call for draft-ietf-… Hubert Kario
- Re: [TLS] Working Group Last Call for draft-ietf-… Hubert Kario
- Re: [TLS] Working Group Last Call for draft-ietf-… Manuel Pégourié-Gonnard
- Re: [TLS] Working Group Last Call for draft-ietf-… Florian Weimer
- Re: [TLS] Working Group Last Call for draft-ietf-… Salz, Rich
- Re: [TLS] Working Group Last Call for draft-ietf-… Manuel Pégourié-Gonnard
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] Working Group Last Call for draft-ietf-… Salz, Rich
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] Working Group Last Call for draft-ietf-… Nikos Mavrogiannopoulos
- Re: [TLS] Working Group Last Call for draft-ietf-… Salz, Rich
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] Working Group Last Call for draft-ietf-… Daniel Kahn Gillmor
- Re: [TLS] Working Group Last Call for draft-ietf-… Manuel Pégourié-Gonnard
- Re: [TLS] Working Group Last Call for draft-ietf-… Hubert Kario
- Re: [TLS] Working Group Last Call for draft-ietf-… Hubert Kario
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] Working Group Last Call for draft-ietf-… Florian Weimer
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] Working Group Last Call for draft-ietf-… Henrik Grubbström
- Re: [TLS] Working Group Last Call for draft-ietf-… Salz, Rich
- Re: [TLS] Working Group Last Call for draft-ietf-… Martin Thomson
- Re: [TLS] Working Group Last Call for draft-ietf-… Brian Smith
- Re: [TLS] Working Group Last Call for draft-ietf-… Peter Gutmann
- Re: [TLS] Working Group Last Call for draft-ietf-… Adam Langley
- Re: [TLS] Working Group Last Call for draft-ietf-… Martin Thomson
- Re: [TLS] Working Group Last Call for draft-ietf-… Andrey Jivsov
- [TLS] The TLS_FALLBACK_SCSV time bomb (was: Re: W… Florian Weimer
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] The TLS_FALLBACK_SCSV time bomb (was: R… Hubert Kario
- Re: [TLS] The TLS_FALLBACK_SCSV time bomb (was: R… Bodo Moeller
- Re: [TLS] The TLS_FALLBACK_SCSV time bomb (was: R… Hubert Kario
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] The TLS_FALLBACK_SCSV time bomb (was: R… Bodo Moeller
- Re: [TLS] Working Group Last Call for draft-ietf-… Andrey Jivsov
- Re: [TLS] The TLS_FALLBACK_SCSV time bomb (was: R… Martin Thomson
- Re: [TLS] The TLS_FALLBACK_SCSV time bomb (was: R… Andrei Popov
- Re: [TLS] The TLS_FALLBACK_SCSV time bomb (was: R… Martin Thomson
- Re: [TLS] The TLS_FALLBACK_SCSV time bomb (was: R… Jeffrey Walton
- Re: [TLS] The TLS_FALLBACK_SCSV time bomb (was: R… Andrei Popov
- Re: [TLS] The TLS_FALLBACK_SCSV time bomb (was: R… Marsh Ray
- Re: [TLS] The TLS_FALLBACK_SCSV time bomb (was: R… Andrei Popov
- Re: [TLS] The TLS_FALLBACK_SCSV time bomb (was: R… Martin Thomson
- Re: [TLS] The TLS_FALLBACK_SCSV time bomb (was: R… Andrei Popov
- Re: [TLS] The TLS_FALLBACK_SCSV time bomb (was: R… Bodo Moeller
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] The TLS_FALLBACK_SCSV time bomb (was: R… Yuhong Bao
- Re: [TLS] Working Group Last Call for draft-ietf-… Andrey Jivsov
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] The TLS_FALLBACK_SCSV time bomb (was: R… Hubert Kario
- Re: [TLS] Working Group Last Call for draft-ietf-… Nikos Mavrogiannopoulos
- Re: [TLS] Working Group Last Call for draft-ietf-… Martin Thomson
- Re: [TLS] Working Group Last Call for draft-ietf-… Martin Thomson
- Re: [TLS] Working Group Last Call for draft-ietf-… Nikos Mavrogiannopoulos
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] Working Group Last Call for draft-ietf-… Manuel Pégourié-Gonnard
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] Working Group Last Call for draft-ietf-… Manuel Pégourié-Gonnard
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] Working Group Last Call for draft-ietf-… Nikos Mavrogiannopoulos
- Re: [TLS] Working Group Last Call for draft-ietf-… Brian Smith
- Re: [TLS] Working Group Last Call for draft-ietf-… Watson Ladd
- Re: [TLS] Working Group Last Call for draft-ietf-… Brian Smith
- Re: [TLS] Working Group Last Call for draft-ietf-… Salz, Rich
- Re: [TLS] Working Group Last Call for draft-ietf-… Manuel Pégourié-Gonnard
- Re: [TLS] Working Group Last Call for draft-ietf-… Salz, Rich
- Re: [TLS] Working Group Last Call for draft-ietf-… Manuel Pégourié-Gonnard
- Re: [TLS] The TLS_FALLBACK_SCSV time bomb (was: R… Andrei Popov
- Re: [TLS] The TLS_FALLBACK_SCSV time bomb (was: R… Salz, Rich
- Re: [TLS] The TLS_FALLBACK_SCSV time bomb (was: R… Andrei Popov
- Re: [TLS] The TLS_FALLBACK_SCSV time bomb (was: R… Andrei Popov
- Re: [TLS] The TLS_FALLBACK_SCSV time bomb (was: R… Bodo Moeller
- Re: [TLS] The TLS_FALLBACK_SCSV time bomb (was: R… Marsh Ray
- Re: [TLS] The TLS_FALLBACK_SCSV time bomb (was: R… Bodo Moeller
- Re: [TLS] The TLS_FALLBACK_SCSV time bomb (was: R… Andrei Popov
- Re: [TLS] Working Group Last Call fordraft-ietf-t… Rob Stradling
- Re: [TLS] Working Group Last Call fordraft-ietf-t… Ilari Liusvaara
- Re: [TLS] Working Group Last Call for draft-ietf-… Bill Frantz
- Re: [TLS] Working Group Last Call for draft-ietf-… Brian Smith
- Re: [TLS] Working Group Last Call fordraft-ietf-t… Brian Smith
- Re: [TLS] Working Group Last Call for draft-ietf-… Andrey Jivsov
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] Working Group Last Call for draft-ietf-… Andrey Jivsov
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] Working Group Last Call for draft-ietf-… Andrey Jivsov
- Re: [TLS] Working Group Last Call for draft-ietf-… Martin Thomson
- Re: [TLS] Working Group Last Call for draft-ietf-… Andrey Jivsov
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] The TLS_FALLBACK_SCSV time bomb Florian Weimer
- Re: [TLS] Working Group Last Call for draft-ietf-… Andrey Jivsov
- Re: [TLS] Working Group Last Call for draft-ietf-… Brian Smith
- Re: [TLS] The TLS_FALLBACK_SCSV time bomb Andrei Popov
- Re: [TLS] Working Group Last Call for draft-ietf-… Andrey Jivsov
- Re: [TLS] The TLS_FALLBACK_SCSV time bomb Florian Weimer
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] Working Group Last Call for draft-ietf-… Daniel Kahn Gillmor
- Re: [TLS] Working Group Last Call for draft-ietf-… Andrey Jivsov
- Re: [TLS] Working Group Last Call for draft-ietf-… Daniel Kahn Gillmor
- Re: [TLS] Working Group Last Call for draft-ietf-… Martin Rex
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] Working Group Last Call for draft-ietf-… Florian Weimer
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller
- Re: [TLS] Working Group Last Call for draft-ietf-… Martin Rex
- Re: [TLS] Working Group Last Call for draft-ietf-… Bodo Moeller