Re: [Curdle] SSH/QUIC draft

denis bider <denisbider.ietf@gmail.com> Sun, 12 July 2020 03:44 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 A6D283A09DB for <curdle@ietfa.amsl.com>; Sat, 11 Jul 2020 20:44:03 -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 E2p1rJxWs11v for <curdle@ietfa.amsl.com>; Sat, 11 Jul 2020 20:44:02 -0700 (PDT)
Received: from mail-oi1-x22e.google.com (mail-oi1-x22e.google.com [IPv6:2607:f8b0:4864:20::22e]) (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 D0D403A0BF3 for <curdle@ietf.org>; Sat, 11 Jul 2020 20:44:01 -0700 (PDT)
Received: by mail-oi1-x22e.google.com with SMTP id x83so8171270oif.10 for <curdle@ietf.org>; Sat, 11 Jul 2020 20:44:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2x/Uf22yL4NVob0gJ/QmdgEDkqgQEkFSpvuJnGJNy+c=; b=KMP3CtTXl+6aNTHdililHHylgwOrd0jTZxtimcRBRH+pc/hgNFNSakCRrAGzgPAsVG IG3bMkbKJKbZuwWvwT+5UaAKIUgNJw174bd2UGfj6ocIG1TzpsYjLtePa6i9FjcjwgRT ItxBWGyJA7+yB9BaGExUIvFhnLnnOESXf6ffr9PzQuacmweyy0gQJVSp1X+9gH/MDuEA vf9EnI3k5oqhYZ+t6D0VNkoPnUSRLstXvw1mATf2LJyegouD6j4YHmWYtlmXhloQXIde 0ZpaJj0h1q/aS4uau6qUnwvZU3nP4s4Ojo3SNP9+z9/cIBv/8IXTzjj3wyQ3pxcURv6Z FT+A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2x/Uf22yL4NVob0gJ/QmdgEDkqgQEkFSpvuJnGJNy+c=; b=e/4NsL3ZFFHk3914SP67pOHmxZ9ZOQjbMAMx9OG63HpPEPvc8Cs8wMWgFAQM4dT0a4 14QkzXr2dV06uZ9EophG+Kp1ufKtHLPZ85pRndBp4zL0JnY4fX0Wb8ryxG8Rw+OTaD64 +BY10Xfc47HpRmcmo4MV18J+lNDi3mtpvg+sp5S4EW+wiU+AQnj05JaY3LDViLSP4kYy sNzNLLSfzEGOU1sF6u+CiRcnZJz8kWmC/DzXE/TFnBd58PJRrqmKue6bMkOSUwrZNQCT OMMl1IUf2RhWFREa2BnHTnUneTtRCZw0LTgQklPoom7pIIeDecf8FuAseBRHQ5WnbFdn 6Hyw==
X-Gm-Message-State: AOAM531n11fx6O+Awl0XhfXtshNy5Kb4DU7PElhk1AMMI6AJVDjYPVU6 zqDi4R6PzBcQ7Sy395iJ/cz7TAqurXtCAMmw5jw=
X-Google-Smtp-Source: ABdhPJxFI+g1abwHgtceJwlU0nl9AwEwiziYk+YJg6ttvzymWGH/FXXgypi0DaKcx02a26fRXff+xdQVIJJnxF/4N4s=
X-Received: by 2002:aca:b743:: with SMTP id h64mr9892726oif.88.1594525441102; Sat, 11 Jul 2020 20:44:01 -0700 (PDT)
MIME-Version: 1.0
References: <CADPMZDDEYZ7aTv=NUY+4+BmMnN=JxFUHUwM7=SYq=EK5v_r1oA@mail.gmail.com> <1594524215072.21352@cs.auckland.ac.nz>
In-Reply-To: <1594524215072.21352@cs.auckland.ac.nz>
From: denis bider <denisbider.ietf@gmail.com>
Date: Sat, 11 Jul 2020 22:43:49 -0500
Message-ID: <CADPMZDDf5C1P-X879m7emT=6RdtcirgtXzOdQ1REMpW1agaDnQ@mail.gmail.com>
To: Peter Gutmann <pgut001@cs.auckland.ac.nz>
Cc: curdle <curdle@ietf.org>, "ietf-ssh@netbsd.org" <ietf-ssh@netbsd.org>
Content-Type: multipart/alternative; boundary="00000000000080959605aa36620d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/curdle/pBXHb-1I7PTPVhBqZ7WtTdYyX8s>
Subject: Re: [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: Sun, 12 Jul 2020 03:44:10 -0000

That's one of the problems and it's solved in SSH/TCP for single-channel
connections by implementing "no-flow-control", as you note. It's not solved
for multi-channel connections, and it leaves several other problems of
SSH/TCP unsolved.

The SSH/QUIC draft solves the flow control problem in the general case, for
multi-channel connections, and solves the other several problems of
SSH/TCP. :)

I have just uploaded a new version (-04) with improvements inspired by
feedback from Ilari.

denis


On Sat, Jul 11, 2020 at 10:23 PM Peter Gutmann <pgut001@cs.auckland.ac.nz>
wrote:

> denis bider <denisbider.ietf@gmail.com> writes:
>
> >For at least 7 years now, I've been pondering that TCP is a poor transport
> >for SSH and should be replaced by UDP.
>
> The problem isn't TCP, it's SSH, specifically SSH's terrible flow control
> a.k.a. the SSH performance handbrake, which (for SFTP) layers TCP over TCP
> over TCP.  The solution isn't to run it over a protocol that hides one
> layer
> of the handbrake but to fix SSH's flow control problems.
>
> And yes, I know that in theory a fix is possible if every implementation
> everywhere is very carefully implemented and tuned to perform exactly the
> same
> precise dance to avoid the handbrake, but better would be to fix the
> underlying problem.
>
> In my case for example I just ignore the flow control/handbrake, a.k.a.
> "no-
> flow-control" if you can find anything that supports that, and get pretty
> much
> line speed on data transfers.  OK, this is a bit antisocial, but it avoids
> having to answer "why do I get an order-of-magnitude performance drop with
> SSH
> vs.TLS when the same algorithms are used" questions.
>
> Peter.
>