Re: [AVTCORE] Comments on draft-aboba-avtcore-quic-multiplexing

Martin Thomson <martin.thomson@gmail.com> Wed, 08 November 2017 20:49 UTC

Return-Path: <martin.thomson@gmail.com>
X-Original-To: avt@ietfa.amsl.com
Delivered-To: avt@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 623CA129BE6 for <avt@ietfa.amsl.com>; Wed, 8 Nov 2017 12:49:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-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 u3YdZETIwYJ3 for <avt@ietfa.amsl.com>; Wed, 8 Nov 2017 12:49:57 -0800 (PST)
Received: from mail-ot0-x235.google.com (mail-ot0-x235.google.com [IPv6:2607:f8b0:4003:c0f::235]) (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 CA612126579 for <avt@ietf.org>; Wed, 8 Nov 2017 12:49:57 -0800 (PST)
Received: by mail-ot0-x235.google.com with SMTP id o9so3488424ota.3 for <avt@ietf.org>; Wed, 08 Nov 2017 12:49:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Ii4hg7CjCTwZYiatPbCPzHB77dLz/J+2riDKh26nEJA=; b=b0RsLc5GEw0NbwZN1TO/StWj/i07ruQ1CN2SFCL0A6bK8hqIqoiKOatME1Ey1EYwwj SxlgQe5ITwi9V1fM42bkV9NNF5kQvaggU5kDoHxt74ycnpsnRBYi7cedBSUoDf3aY1Mz M9xiUhyeFtvuz1RLRFppXf2uYbQjymqI5iV6CZYAULHkMgpqCDT499NNeD+H/9cccGfA Teq+H+hXLnSUbIgSrHWDWgq9+e2JldGubb2Wa8/m6uxCEUQKXf4sZEP6OlNn1+/HtCRM EM/Gehpk8IlsRmAQ9UglG6JRd3aEpPMUH8201C8zzQiTpLfnYjSAg2BIAyuZMX56lHho II7w==
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=Ii4hg7CjCTwZYiatPbCPzHB77dLz/J+2riDKh26nEJA=; b=rLTeH5hHzuT0PxHXSvbqrZDdo7ztlH4JUi9sm/xKLmI0lzu1P6uD4inkwv3fics7ce VoKDJ9jMtCvgMmqMnKqg0ElCa53IjmTnOuAGUDbfR2XIapBilGYg4wg5UO5eRqM6m34b Fcez5itK1KNby0AmxIFbfrgSLFYfPRnHIKqs+nwEkoxpyKn2Z5AVCxefCjZdY/oOJShA 6MkTHmV+HgDJuCo2KPruAdGM0pRrUJOqIEnQdA+87pT1U8d08FOnuS79NjBffClwVRT+ 5kgkRdCtmMT9+k81nA+PLMK5c9E8K8gGq7oqMDHBC9sz2ZgHWdkBTIPlnx3xgBgMts0e V0dg==
X-Gm-Message-State: AJaThX6++XHHdoDscxm/350ZdYZEXMi2BopUDSmNcT4k7tqfAuZrtUoU 0tl3LN54tJxBNsGAFZcAlKg29s/7d13D2mRhmTI=
X-Google-Smtp-Source: AGs4zMYTPiiAYZzaC1PrNm1NCcIjh0yshkcf21Cu/dunhqTvSgEtL4rB8pmyH8jSRGJ/dgYU8UJH9AJ+Mp4AiF9sCjk=
X-Received: by 10.157.41.7 with SMTP id d7mr1166028otb.44.1510174197102; Wed, 08 Nov 2017 12:49:57 -0800 (PST)
MIME-Version: 1.0
Received: by 10.157.8.23 with HTTP; Wed, 8 Nov 2017 12:49:56 -0800 (PST)
In-Reply-To: <CAOW+2dvXAUFS39vk0yXR7yixZ9EifUQr8OZNcFRpqV4Ze+=w1Q@mail.gmail.com>
References: <CABkgnnU4C5bPje1nFGm5Z7YD5H5OrfcXJtiu_SyOouJaKCTd0w@mail.gmail.com> <CAOW+2dvXAUFS39vk0yXR7yixZ9EifUQr8OZNcFRpqV4Ze+=w1Q@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Thu, 09 Nov 2017 07:49:56 +1100
Message-ID: <CABkgnnUBNqiku5Gcna6Enxvy28OgS5aw7UQHB1YRLgV_19MrTg@mail.gmail.com>
To: Bernard Aboba <bernard.aboba@gmail.com>
Cc: "avt@ietf.org" <avt@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/avt/MOzYbIQUHgZ5ABX7YzHDI2xrVB4>
Subject: Re: [AVTCORE] Comments on draft-aboba-avtcore-quic-multiplexing
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Audio/Video Transport Core Maintenance <avt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/avt>, <mailto:avt-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/avt/>
List-Post: <mailto:avt@ietf.org>
List-Help: <mailto:avt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/avt>, <mailto:avt-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Nov 2017 20:49:59 -0000

On Thu, Nov 9, 2017 at 5:49 AM, Bernard Aboba <bernard.aboba@gmail.com> wrote:
> Martin said:
>
> "- I don't see any case for needing to demux DTLS and QUIC."
>
> [BA] Demuplexing of QUIC and DTLS is a requirement for initial deployments
> of
> peer-to-peer QUIC data exchange, since in those initial deployments
> DTLS-SRTP,
> SRTP/SRTCP and even the SCTP/DTLS/UDP data channel will continue to be used.

You need to be really crisp about your assumed deployment model here.

Let's say that you want to do data channels over QUIC.  That seems the
most plausible model, mainly to drive down the number of round trips
between session signaling and session use.  I can imagine a very
simple mapping of the data channel protocol would work nicely.

In that case, as I suggested, keying SRTP using QUIC is feasible, even
trivial.  No DTLS.

Or, as you explore in the rtpfolks draft, you want to do RTP over
QUIC.  That seems far less of a short term goal, but I'll humor you.
In that case, you have no SRTP in the mix.  Then I'll concede that you
might have an issue... But only if you can't finish the data channel
work first.  That seems like an unlikely scenario given the
complexities involved.

If that does happen, then yes, things get unpleasant.  But I'd be
inclined to argue for modifications to QUIC (in the sense of a new
QUIC version more than a change in the fundamental protocol
invariants) or a shim in that case.

> At the moment, it is not even clear that peer-to-peer QUIC data exchange
> based on the QUIC transport document can completely substitute for all of
> the potential uses of the SCTP data channel (such as unreliable, low-latency
> data exchange in games), so that applications could conceivably wish to use
> both the SCTP data channel and QUIC data exchange in their applications.

There's a draft about that:
https://datatracker.ietf.org/doc/draft-tiesel-quic-unreliable-streams/.
It turns out to be possible, even if we might quibble about some of
the details in that draft.  A mapping should be straightforward.

I'd prefer to work on QUIC-SRTP and datachannels-over-quic than worry
about these contingencies.  That way you have a much smaller pool of
protocols to mash together.