[Curdle] SSH/QUIC draft

denis bider <denisbider.ietf@gmail.com> Sat, 11 July 2020 17:50 UTC

Return-Path: <denisbider.ietf@gmail.com>
X-Original-To: curdle@ietfa.amsl.com
Delivered-To: curdle@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B9B993A07B7 for <curdle@ietfa.amsl.com>; Sat, 11 Jul 2020 10:50:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 UQ9_qrITJxNL for <curdle@ietfa.amsl.com>; Sat, 11 Jul 2020 10:50:21 -0700 (PDT)
Received: from mail-oo1-xc32.google.com (mail-oo1-xc32.google.com [IPv6:2607:f8b0:4864:20::c32]) (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 569EB3A079C for <curdle@ietf.org>; Sat, 11 Jul 2020 10:50:21 -0700 (PDT)
Received: by mail-oo1-xc32.google.com with SMTP id v26so29632ood.1 for <curdle@ietf.org>; Sat, 11 Jul 2020 10:50:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=E10b85APhD+G6+vg2eVA/MYH8hToCV6BFTkuSztLR4A=; b=gyBvPK2kEIfew82lbdzs4dbNqeyFdkyU1ei49lZ9EpisLdvKu2JUh2O3eN/VMSpnwj 43Zbdu3VkyZHOlX56TfdygSnrW/Rxygxb6JUmOmhmMpSjuiOygPqL7m4hSOIu2yjMUZg wB3dIy6i8w5xFlqzuv9pAc820xnzZ2qkQPFSGUqxhRbti0VtH2XDDkXs8pgQ5LdIcITE 9GY/NxDS+AUoq3whCD8Rm6j7LiMK8yis+0U1uSgSXDHEUR8rgkxNNGzRDy7vPPCIv76h bwEOefVwmxOYtrcW7T//MWkTWJ9nNZ8f/JDC3Xdl8Dmb0NpUcSz3K8wlE5dZipR45K/B kV/w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=E10b85APhD+G6+vg2eVA/MYH8hToCV6BFTkuSztLR4A=; b=iYeOdSmNAZOfeT8H/JiozOoj3kKixL7biZrcibSU9cBz0y+zPA7oCpjJ7RuIKXf2wi K0K2qrMrgGappU+eIXbEyIPGwSUZpqqJXHMn6FY3PC7VztL38nMUcGMas6X5s+NicSuq Pp9oJDEOWRxG3N2w1xUdwR5G2vD74NVkbFrhtPs6QqEwkZDvoO7lTkyIhMXxOvVOMta9 3JSkDV6YEhL8QhkU5te0jrfwDOz8HdZa/3vij6+D/q0lXr7mBzb/Xk1pdAro0o/akgWs yig8zZNn/KBoBtBPbW0ZR3QODzMcAYfMtrjkeFzOrNQCc2hzgdxz9H80yvS9vn6gB4uc i9MQ==
X-Gm-Message-State: AOAM533dlYh+JmidyvYiOxs9XwCYkISBq/E0IQjk5tZw48fSwJQwf6Ec KQ2sAY+9F3um6YHtOnIQzu9eFkz4XK5mUPzDyNNP7EtZiu0=
X-Google-Smtp-Source: ABdhPJwfqt8ZNIh2qFGq96nimk+XxlXj4/tVRNK1FbcyUU00x127SAZ5nyr+9l6/f5Ybs6tJWH3csHt/r4cb9g379+I=
X-Received: by 2002:a4a:dd85:: with SMTP id h5mr64481958oov.87.1594489820454; Sat, 11 Jul 2020 10:50:20 -0700 (PDT)
MIME-Version: 1.0
From: denis bider <denisbider.ietf@gmail.com>
Date: Sat, 11 Jul 2020 12:50:09 -0500
Message-ID: <CADPMZDDEYZ7aTv=NUY+4+BmMnN=JxFUHUwM7=SYq=EK5v_r1oA@mail.gmail.com>
To: curdle <curdle@ietf.org>, ietf-ssh@netbsd.org
Content-Type: multipart/alternative; boundary="00000000000058a20a05aa2e17ae"
Archived-At: <https://mailarchive.ietf.org/arch/msg/curdle/EbwLuApYwVs_XlRSKoeCoDxiK-c>
Subject: [Curdle] SSH/QUIC draft
X-BeenThere: curdle@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "List for discussion of potential new security area wg." <curdle.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/curdle>, <mailto:curdle-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/curdle/>
List-Post: <mailto:curdle@ietf.org>
List-Help: <mailto:curdle-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/curdle>, <mailto:curdle-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 11 Jul 2020 17:50:23 -0000

Hey everyone,

I noticed that QUIC - a secure, multi-stream replacement for TLS over TCP -
is close to standardization at the IETF.

For at least 7 years now, I've been pondering that TCP is a poor transport
for SSH and should be replaced by UDP. However, it has always looked like a
lot of work.

Now, most of the work seems to have been done by QUIC. There's also a nifty
implementation by Cloudflare which has a liberal BSD license and seems very
suitable to adaptation for SSH. It nicely separates the TLS handshake so it
can be pulled out while the TLS cipher suites are kept: this makes it easy
to replace the TLS handshake with an SSH-friendly key exchange.

With this inspiration, I wrote an SSH/QUIC spec which fixes all of the
architectural problems I can think of in SSH from experience over the years:

https://datatracker.ietf.org/doc/draft-bider-ssh-quic/

The HTML version of the draft has the most reader-friendly presentation - I
suggest using that one.

I wonder if anyone is interested in implementing this. I'm seriously
considering it, probably based on Quiche. I've forked it already, but I
haven't yet done real work:

https://github.com/denisbider/QuiSSH

denis