Re: [hybi] Why not just use ssh?

Gabriel Montenegro <gmonte@microsoft.com> Wed, 01 September 2010 23:55 UTC

Return-Path: <gmonte@microsoft.com>
X-Original-To: hybi@core3.amsl.com
Delivered-To: hybi@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BAA113A6852 for <hybi@core3.amsl.com>; Wed, 1 Sep 2010 16:55:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.299
X-Spam-Level:
X-Spam-Status: No, score=-10.299 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, J_CHICKENPOX_33=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SmBCZF507+kM for <hybi@core3.amsl.com>; Wed, 1 Sep 2010 16:55:35 -0700 (PDT)
Received: from smtp.microsoft.com (smtp.microsoft.com [131.107.115.212]) by core3.amsl.com (Postfix) with ESMTP id C8BB63A67DB for <hybi@ietf.org>; Wed, 1 Sep 2010 16:55:35 -0700 (PDT)
Received: from TK5EX14MLTC101.redmond.corp.microsoft.com (157.54.79.178) by TK5-EXGWY-E801.partners.extranet.microsoft.com (10.251.56.50) with Microsoft SMTP Server (TLS) id 8.2.176.0; Wed, 1 Sep 2010 16:56:05 -0700
Received: from TK5EX14MLTW652.wingroup.windeploy.ntdev.microsoft.com (157.54.71.68) by TK5EX14MLTC101.redmond.corp.microsoft.com (157.54.79.178) with Microsoft SMTP Server (TLS) id 14.1.218.10; Wed, 1 Sep 2010 16:56:05 -0700
Received: from TK5EX14MBXW605.wingroup.windeploy.ntdev.microsoft.com ([169.254.5.40]) by TK5EX14MLTW652.wingroup.windeploy.ntdev.microsoft.com ([157.54.71.68]) with mapi; Wed, 1 Sep 2010 16:56:06 -0700
From: Gabriel Montenegro <gmonte@microsoft.com>
To: Adam Barth <ietf@adambarth.com>
Thread-Topic: [hybi] Why not just use ssh?
Thread-Index: AQHLSUzSR2eDhQU26kquYicz/SaRxpL8gHaAgAAGiAD//7V2oIAAfuqA///RyLCAAYPLAP//uXfg
Date: Wed, 01 Sep 2010 23:56:27 +0000
Message-ID: <CA566BAEAD6B3F4E8B5C5C4F61710C110FAFDBFD@TK5EX14MBXW605.wingroup.windeploy.ntdev.microsoft.com>
References: <d48398080b610405d982ffd924f58e27.squirrel@sm.webmail.pair.com> <AANLkTin8CiHFoOSFdcRPern5YY-FdODC4GST+BrP3t_j@mail.gmail.com> <AANLkTi=fn2JE7a0b_0KFFLwq3eG_-xnaRazXAMPGi0N3@mail.gmail.com> <CA566BAEAD6B3F4E8B5C5C4F61710C110FAFBCBD@TK5EX14MBXW605.wingroup.windeploy.ntdev.microsoft.com> <AANLkTinE1MB10nUhpnU-SC+aLjPmFyu3NhjLC1-wMmW7@mail.gmail.com> <CA566BAEAD6B3F4E8B5C5C4F61710C110FAFBEF4@TK5EX14MBXW605.wingroup.windeploy.ntdev.microsoft.com> <AANLkTim5Wsfohbn2S0jpm6CDkq+xFcpzDTRWJ0YXWbcg@mail.gmail.com>
In-Reply-To: <AANLkTim5Wsfohbn2S0jpm6CDkq+xFcpzDTRWJ0YXWbcg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] Why not just use ssh?
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hybi>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Sep 2010 23:55:36 -0000

> I claim that the TLS+NPN protocol that I sent to the list earlier resists cross-
> protocol attacks, which are a clear and plausible threat model.  The security
> argument is fairly straightforward.

My question was whether there was anything to substantiate such a claim. The proposal you sent did not have an analysis, from what I recall. However, I'm actually much more interested in your analysis of the HTTP Upgrade handshake (not the TLS-NPN version).  In particular, I'd be interested in your analysis of much simpler variants of the handshake (than the one in version -76) that would provide similar protection against cross-protocol attacks.

It would be good to hear your answer to Greg's last question here:
http://www.ietf.org/mail-archive/web/hybi/current/msg01269.html

I know this is not your main focus, but I'm hoping you recognize that the "HTTP Upgrade variant" is much closer to the WG position than a "TLS-NPN only" position, and that this will convince you to contribute there as well. [Of course, having an HTTP upgrade variant does not preclude a TLS-NPN variant from being pursued as well. ]

> As for complexity, the TLS-only model is less complex than the existing
> handshake, as evidenced by the fact that I would describe it completely simply
> by deleting text from the current draft.

Deletion of text upstairs only? Presumably, you're assuming some other text (and complexity) gets added elsewhere (TLS-NPN spec), implying changes to massively deployed software, acceptance in the TLS WG based on perceived tradeoff, etc.