Re: [AVTCORE] Last question about AVP profiles for RTP over QUIC (was: Re: Registering AVP Profiles for RTP over QUIC)

Roman Shpount <roman@telurix.com> Mon, 23 May 2022 04:49 UTC

Return-Path: <roman@telurix.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 C0E9DC3A5A3F for <avt@ietfa.amsl.com>; Sun, 22 May 2022 21:49:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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, 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 (1024-bit key) header.d=telurix.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lCsYpYGYm6zg for <avt@ietfa.amsl.com>; Sun, 22 May 2022 21:49:46 -0700 (PDT)
Received: from mail-qt1-x829.google.com (mail-qt1-x829.google.com [IPv6:2607:f8b0:4864:20::829]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AA001C3A4B73 for <avt@ietf.org>; Sun, 22 May 2022 21:49:46 -0700 (PDT)
Received: by mail-qt1-x829.google.com with SMTP id v6so8817805qtx.12 for <avt@ietf.org>; Sun, 22 May 2022 21:49:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telurix.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=u8H0zJYMiEEbIjZPh7F2RSK87+iesnL4YisZEjPaOI4=; b=shMkZXlLdeqyUAgL3t3dvJNxPxfHjEhdGP5JqvwnMNxHJ6H/3dh723//X+Z/4SgR00 YApaA7gKdHFNdiEkVIPgHWyYdFgGYopJw0HX3M8vFByacHs/S6g9feb3V5vMwOsadHuV EZoSHdomQqHfCIKc8rnCnJzawRV1OlI1/DwKA=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=u8H0zJYMiEEbIjZPh7F2RSK87+iesnL4YisZEjPaOI4=; b=OsKnLkEUQskzTDLUNFTekKm8ChnFYzcdqkFT64+QRiCLnSw9mOf/invV1yLHGmIp3e IRAjmM5NVLs5btfYfSJJv99Otj1wgJTRhvyaV7ldUlPehO6YFJesY3Juy8Q2KGNpEcIA YhOFT1MmvdUG2e/7fN1QR4JUi/IF0wTRg5cR42juPtE3lRaIL76pcl5C/VYnf96ZVSII yVl+z2pMUgfKNDzjcXwEo3Sx3Io80u4SmHu19eCPhOYQ8ffLrLoJXSCSr9Cj1zVlIzYD GqJAAS86rINybYV7pEPHVt8//uKBbF1Mjt3Brx/c2JxNlAwfMA6xhg9AZtNC6EKL52Nq anEw==
X-Gm-Message-State: AOAM532BLOaLpNfJw5ka5M+yNOm1VRHOxKKfQgDyn3gTrwOJA1yCJALn TR2gCgORBMjVLgn03y+EHLWaN2yQknugIA==
X-Google-Smtp-Source: ABdhPJxdAOiAIrhB3DtyTisuliCCdKQyE2gUlpn9EoqlGBfxIWgNVf1++oZ0ogB5rlkraIxvV4UpKQ==
X-Received: by 2002:a05:622a:1990:b0:2f9:3308:d4f3 with SMTP id u16-20020a05622a199000b002f93308d4f3mr3652512qtc.472.1653281385045; Sun, 22 May 2022 21:49:45 -0700 (PDT)
Received: from mail-yw1-f169.google.com (mail-yw1-f169.google.com. [209.85.128.169]) by smtp.gmail.com with ESMTPSA id p200-20020a3742d1000000b006a32c991501sm3938102qka.12.2022.05.22.21.49.44 for <avt@ietf.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 22 May 2022 21:49:44 -0700 (PDT)
Received: by mail-yw1-f169.google.com with SMTP id 00721157ae682-2ff7b90e635so69119527b3.5 for <avt@ietf.org>; Sun, 22 May 2022 21:49:44 -0700 (PDT)
X-Received: by 2002:a81:a9c4:0:b0:2ff:f012:33a6 with SMTP id g187-20020a81a9c4000000b002fff01233a6mr3525644ywh.415.1653281383940; Sun, 22 May 2022 21:49:43 -0700 (PDT)
MIME-Version: 1.0
References: <CAKKJt-dvotzuaK66T8WQd7YgNLNr_6vqa4W8-z=5FvujpGWA=A@mail.gmail.com> <CAKKJt-c+PrYeackVCyGOpoiPGw6f90D7fZYw+D9MGPNKdEC8cA@mail.gmail.com>
In-Reply-To: <CAKKJt-c+PrYeackVCyGOpoiPGw6f90D7fZYw+D9MGPNKdEC8cA@mail.gmail.com>
From: Roman Shpount <roman@telurix.com>
Date: Mon, 23 May 2022 00:49:31 -0400
X-Gmail-Original-Message-ID: <CAD5OKxvVK5WRRY_UQsbnHA2TF9Qd0sNfKcdmuQhCFsFMOr83zA@mail.gmail.com>
Message-ID: <CAD5OKxvVK5WRRY_UQsbnHA2TF9Qd0sNfKcdmuQhCFsFMOr83zA@mail.gmail.com>
To: Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com>
Cc: IETF AVTCore WG <avt@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000009a890005dfa69195"
Archived-At: <https://mailarchive.ietf.org/arch/msg/avt/fN-LgYh5OMLOfwmMMHXNNyg13f4>
Subject: Re: [AVTCORE] Last question about AVP profiles for RTP over QUIC (was: Re: Registering AVP Profiles for RTP over QUIC)
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.34
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: Mon, 23 May 2022 04:49:50 -0000

As the person who proposed this, I am for this.

You would probably need to register TCP/QUIC/RTP/AVPF as well, which would
be RTP over QUICK over TCP with RFC4571 framing. See
https://datatracker.ietf.org/doc/html/rfc8841#section-8 for a similar
definition for SCTP. The main reason for this definition is ice-tcp
support. If you do a session update once the ice-tcp candidate is
nominated, the protocol in the m= line should match the protocol for the
only remaining candidate, so TCP/QUIC/RTP/AVPF would be used.

Best,
_____________
Roman Shpount


On Sun, May 22, 2022 at 7:41 PM Spencer Dawkins at IETF <
spencerdawkins.ietf@gmail.com> wrote:

> So, we had a spirited discussion about a few things in this thread, but
> I'd like to reset back to my original question.
>
> On Wed, May 11, 2022 at 3:46 PM Spencer Dawkins at IETF <
> spencerdawkins.ietf@gmail.com> wrote:
>
>> Dear AVTCORE,
>>
>> I've had an open PR in
>> https://github.com/SpencerDawkins/sdp-rtp-quic/pull/9 for a while,so I
>> could get a sense of how AVT profiles are supposed to work, and I'd like to
>> push on that now (with a virtual interim meeting coming up next week)..
>>
>> The high-level summary of discussion in
>> https://github.com/SpencerDawkins/sdp-rtp-quic-issues/issues/5 (note
>> that this discussion is in a different repo, because reasons) has been
>> roughly,"what's the difference between QUIC/RTP/AVPF and QUIC/RTP/SAVPF"?
>>
>> The arguments about not registering secure AVP profiles involve
>>
>>    -  the computational overhead of double encryption for all packets,
>>    plus
>>    - the payload overhead of 10 bytes per packet since you have 2 HMACs.
>>
>> The arguments about registering secure AVP profiles seem to revolve
>> around
>>
>>    - Minimizing the impact of added QUIC support in existing
>>    implementations that are using /RTP/SAVPF now.
>>    - QUIC encryption protects payloads between QUIC endpoints, but there
>>    are many multi-endpoint RTP topologies (
>>    https://www.rfc-editor.org/rfc/rfc7667 has about 50 pages of them),
>>    and when a middlebox receives  QUIC/RTP/AVPF, it's not obvious whether the
>>    middlebox should
>>       - forward the RTP payload using  RTP/AVPF (where the outgoing AVPF
>>       matches the incoming AVPF), or
>>       - forward the RTP payload using RTP/SAVPF, where the outgoing SRTP
>>       encryption matches the incoming QUIC
>>
>> It seems to me that there are three choices:
>>
>>    - Use only QUIC/RTP/AVPF, and and require middleboxes receiving
>>    QUIC/RTP/AVPF traffic to always forward that traffic over RTP/SAVPF
>>    - Use only QUIC/RTP/AVPF, and and require senders to signal
>>    middleboxes whether they should forward that traffic over RTP/AVPF or
>>    RTP/SAVPF
>>    - Register both QUIC/RTP/AVPF and QUIC/RTP/SAVPF, and if you have to
>>    do double encryption on the QUIC/RTP paths to get RTP/SAVPF on the other
>>    side of a middlebox, too bad
>>
>> So, my questions are,
>>
>>    - What am I missing here?
>>    - Are any of the choices I'm listing obviously the *BEST* choice?
>>
>> My recommendation for what I was registering now, in sdp-rtp-quic, in my
> way-too-quick talk at the interim meeting last week, was that I was only
> registering QUIC/RTP/AVPF (if we ever figure out what SAVP and SAVPF mean
> when RTP is carried over QUIC, we can register them later).
>
> We didn't have time for Q&A after my talk, but in Jabber, this happened:
>
> 11:50:08 Roman Shpount It should be UDP/QUIC/RTP/AVPF
> 11:50:26 Sergio Garcia Murillo +1 to UDP/QUIC/RTP/AVPF
>
>
> So, we haven't talked about this, and if I'm making commits
> to sdp-rtp-quic, I should ask about it now.
>
> After a quick spin through
> https://www.iana.org/assignments/sdp-parameters/sdp-parameters.xhtml#sdp-parameters-2,
> I think this is reasonable and correct.
>
> So, that would give me one proto registration for UDP/QUIC/RTP/AVPF.
>
> I'll make this change before IETF 114.
>
> Any obvious objections? Please reply here, if so.
>
> Best,
>
> Spencer
>
>
>> Best,
>>
>> Spencer
>>
> _______________________________________________
> Audio/Video Transport Core Maintenance
> avt@ietf.org
> https://www.ietf.org/mailman/listinfo/avt
>