Re: Deadlocking in the transport

Jana Iyengar <jri@google.com> Wed, 17 January 2018 21:44 UTC

Return-Path: <jri@google.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 C105C12D77B for <quic@ietfa.amsl.com>; Wed, 17 Jan 2018 13:44:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.01
X-Spam-Level:
X-Spam-Status: No, score=-2.01 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 6rLNITm0EmhI for <quic@ietfa.amsl.com>; Wed, 17 Jan 2018 13:43:59 -0800 (PST)
Received: from mail-yw0-x22f.google.com (mail-yw0-x22f.google.com [IPv6:2607:f8b0:4002:c05::22f]) (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 1672512D778 for <quic@ietf.org>; Wed, 17 Jan 2018 13:43:59 -0800 (PST)
Received: by mail-yw0-x22f.google.com with SMTP id u21so9552636ywc.2 for <quic@ietf.org>; Wed, 17 Jan 2018 13:43:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=AW+u+ujdgKCYix0gUdQLGU9T435L78gAwtKu/m+T0oM=; b=UbahTxqQKYggLv3LWzP7XX8sqR50eRHqyx/bA0uGAOgxEyMLFAZ19JXwCdXIS23XXE hnK64V5bxgiJ0cc5cKGtqv3+U+ypY1RhA3JNy0rVBuKpgEetKhlWP+EPiu6SkCp7jhNT egnJ70cw+6Ht/AUAxGhF3Emb9RBvi/Wk1yQ6Sq6kjItBDT+lXehmamafDxkaF3VxDEOe QMv6p3HELonZ0HWbVYfzcYkBa8pA1bv0nYkkJ3z9rg1T5emBa0zRyosLJhwDjdtyOkYk b281cE9Sh8owraELcNzj4mHJcr7FAb6e9jDzQzrZ1khv+YJ9Cwz1DBLPuE1OEsx7G2Fk duXg==
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=AW+u+ujdgKCYix0gUdQLGU9T435L78gAwtKu/m+T0oM=; b=IRv97jukh+jZ6FsxMC7QJrUxD2p1waXHfifdOFAJCi04NZl2obPYTQ0L/7LiIY/Gw0 eRJY34nrU9hb6WsFz2mMdCRkS5hHVGRIKfpDImOtbsttYc2psiI+4XAWuciQTjvsXC8z oO0z+FF1/epV1uNckPdj1z+AyQnFsgXDAZoVBIWzSbFbA/M5KqV1LqmnOsjDSYhUe5qS +Y7UCIHNhEfyPZp/cOsazaKFjMvp4tUiIqspQFi73WUfH7DW/4Zp3tAhdKGTG0HlUIfd XPG4q9eYqhqQ5c1Zl3/JNSkqyDFFdZZ7aJf8Q07xW6IVudEjake7Zgr9gRDO+hjTxzQB 2ntw==
X-Gm-Message-State: AKwxytdIyou3baA31Lv0Pnm76qAPU4IaCk1zQjWnfSLoReBXsbuiakvj 2u6aaLxCsJrmq2h3EDI+fDrlJPzIqrEe6BbpJNjoFw==
X-Google-Smtp-Source: ACJfBosm688Sbo1hmf+xWWnLGT1n9BWAwaf7I+9yy34aYMdjz+LM4Ath9LZk9Fq5yrWNZj7j6FScyEsBpbaB4QGCZxw=
X-Received: by 10.129.60.9 with SMTP id j9mr3900391ywa.315.1516225437787; Wed, 17 Jan 2018 13:43:57 -0800 (PST)
MIME-Version: 1.0
Received: by 10.37.58.1 with HTTP; Wed, 17 Jan 2018 13:43:57 -0800 (PST)
In-Reply-To: <CABkgnnU+9u3pqzN7QbowAktxwFwj2XqJDhVyB5h5XOszF1CuXg@mail.gmail.com>
References: <CABkgnnUSMYRvYNUwzuJk4TQ28qb-sEHmgXhxpjKOBON43_rWCg@mail.gmail.com> <CAGD1bZYV7iHg_YarUMqUSnpbAB2q8dwEWO=dHE2wbw8Oea_zfA@mail.gmail.com> <CAD-iZUY-Y-MO_T74JmP6B9XVj=91eVovfcWnE=9s9kd0Ji+CnA@mail.gmail.com> <CAGD1bZa7ugOTT11qOKfCm4NFdi+t-pdrXnscWHgg0bO5tgUqmg@mail.gmail.com> <20180110194716.GA30573@ubuntu-dmitri> <CAGD1bZYiDOakLYNppMBr=99JreX3Xr2zkS7O2DRNfvr_o0NUbg@mail.gmail.com> <20180110200646.GB30573@ubuntu-dmitri> <CAGD1bZa-ZOw5J6oSWBYdk3uYHOpGvak+vwGp0XsZB44zbLvRrw@mail.gmail.com> <20180110202357.GC30573@ubuntu-dmitri> <CAGD1bZbPM3wnatLLN5938wGPo3e1qmxnGzobSTym6XX3W8FNJQ@mail.gmail.com> <CABkgnnU3CQkvd7m+G80sCOPJfzb_=HonbRDSQJC8wqD_uWoj0w@mail.gmail.com> <CAGD1bZbrtMEJE-OOXqG02yWmHy_2baEvaZu=rFCBTtcq94JrOg@mail.gmail.com> <CABkgnnWtmprf291pBgTOrfi6yU9tXSfKi5J5uQpm7Z4JHuiGWg@mail.gmail.com> <EDF23BB9-DA04-44A5-8682-3D22C1DD7380@tik.ee.ethz.ch> <51C80222-9513-4CF6-82FD-5692C1DAB058@fb.com> <CABkgnnU+9u3pqzN7QbowAktxwFwj2XqJDhVyB5h5XOszF1CuXg@mail.gmail.com>
From: Jana Iyengar <jri@google.com>
Date: Wed, 17 Jan 2018 13:43:57 -0800
Message-ID: <CAGD1bZa7L2OzDjf_FUTsQuxpfkRTjs97tCjZkBg9xVcAKqNfhw@mail.gmail.com>
Subject: Re: Deadlocking in the transport
To: Martin Thomson <martin.thomson@gmail.com>
Cc: Roberto Peon <fenix@fb.com>, QUIC WG <quic@ietf.org>
Content-Type: multipart/alternative; boundary="001a1142e95c9f41ea0562ffbef9"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/n21eO0cPmZftaW5pFFFYLlu_LtI>
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: Wed, 17 Jan 2018 21:44:01 -0000

We will discuss this at the interim, but one comment, inline.


> In part, it's the ignorance of the intermediary that causes this
> particular problem.  If the intermediary was aware of the protocol
> details then it might be able to recognize and avoid these situations,
> but that seems a little too much to expect of intermediaries. Ruling
> out the entire class of intermediary that operates purely at the
> transport layer is extremely harsh.
>
> What is more likely here is that we describe this situation, explain
> that it is impossible to prevent in the presence of intermediation,
> and explain how to kill the right streams in order to ensure forward
> progress doesn't stall indefinitely.
>

Exactly because intermediaries make things difficult, it's important to be
certain that the intermediary behavior we are discussing is one that
there's a strong argument for supporting. We have spent countless cycles on
designing around uncertain and unknown intermediary behaviors in various
parts of the IETF, and I don't want us to recreate these boogeymen. I think
it's reasonable to rule out classes of middleboxes if we don't have strong
arguments for supporting them.