Re: [MMUSIC] Query: Usage of enrypted vs unencrypted RTP extensions

Roman Shpount <roman@telurix.com> Sat, 22 February 2020 00:04 UTC

Return-Path: <roman@telurix.com>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A71C512008A for <mmusic@ietfa.amsl.com>; Fri, 21 Feb 2020 16:04:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=telurix-com.20150623.gappssmtp.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 ZZBzV9JPU-Z9 for <mmusic@ietfa.amsl.com>; Fri, 21 Feb 2020 16:04:03 -0800 (PST)
Received: from mail-ot1-x334.google.com (mail-ot1-x334.google.com [IPv6:2607:f8b0:4864:20::334]) (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 7B61312006B for <mmusic@ietf.org>; Fri, 21 Feb 2020 16:04:03 -0800 (PST)
Received: by mail-ot1-x334.google.com with SMTP id j16so3687377otl.1 for <mmusic@ietf.org>; Fri, 21 Feb 2020 16:04:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telurix-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=YPyCtN91HWIc2Ibihp6JTBSCTb17Wa38nD4wj3S3npI=; b=tmhRY7I6RuyCU1FEjU0MSZAYMTeGsNe5DNqeUDgMihErXUa0dnbh+g2t+5ucgDmGur eg6DU6p7E9wz4MinHlyhKpRSMNXjaLW3f7ovaznkWZ/iIVZ5kqLIYNFYi6wU3CADzGXG EtHsP7Eqy92u7t5l2LGtI+QeG+e61MfSNE9/oY4uC452SkUbQGcrzZbJouZMWcBQvj/E umhKqiwVcBci2++8Tx8XyBpnvJ89bzMpvNq43nDGcAa0vpygcygNbsG4X5b7fc6+1qNl WB7wTT+d0YR+Xi84EcaXbmCIVM7B5GFvZnzLaddfqLmCVHTN3bNgoSPTYTyidaTdemi1 aCuQ==
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=YPyCtN91HWIc2Ibihp6JTBSCTb17Wa38nD4wj3S3npI=; b=sJyjlYc6QfUA1VZNOBjNowqHBFL56s/VSh4mLzqEqEMlmQseBYEdnK/s5TDI+GzpFW vwpeX2EbARrm3S6GVAH7QeS3PdQ0eysvp6cQMC+ZMbZKAcvG9FlnEmfUxPXQdNZHcuIs jmYH9swsev9Dy8Zdga3WjdkZ3dtDUPxDZiDGtUEUXmdLaPgAWk67iwjSGWA08oP6avTj h4hTIs6PpJaoRkHlNa5T6Zb8cvckNzken+Mrl5M3aaC8KxIwBrFdd7M2oJHc1owEZjk5 3Fqoe6WqNsj54L6oHeX1M7aJdBts5DcqvYHmA278CYGHBfaCNeVcVM6/bb71xG+R2a/Q Gg6Q==
X-Gm-Message-State: APjAAAWbZPqhm4oJ9louQgiqZtZImASG0Zrgz8p+Y/9KcE2taqKMGJH2 shBPkPkVo3Gd45yVaBepq7tYgIeUIgk=
X-Google-Smtp-Source: APXvYqzzlH9NwcUDpFlZCi8q9tu2uCFW0FBbG6V8PjHej/K3dRimv57SPwkInsi5DnWTHv0m8+Hk4w==
X-Received: by 2002:a05:6830:1049:: with SMTP id b9mr32064246otp.100.1582329842238; Fri, 21 Feb 2020 16:04:02 -0800 (PST)
Received: from mail-oi1-f169.google.com (mail-oi1-f169.google.com. [209.85.167.169]) by smtp.gmail.com with ESMTPSA id m15sm1582847otl.20.2020.02.21.16.04.01 for <mmusic@ietf.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 21 Feb 2020 16:04:01 -0800 (PST)
Received: by mail-oi1-f169.google.com with SMTP id r137so3379162oie.5 for <mmusic@ietf.org>; Fri, 21 Feb 2020 16:04:01 -0800 (PST)
X-Received: by 2002:a54:4091:: with SMTP id i17mr4308255oii.99.1582329840714; Fri, 21 Feb 2020 16:04:00 -0800 (PST)
MIME-Version: 1.0
References: <00b36a9a-a035-5dc5-a868-47cb8aced8be@alvestrand.no>
In-Reply-To: <00b36a9a-a035-5dc5-a868-47cb8aced8be@alvestrand.no>
From: Roman Shpount <roman@telurix.com>
Date: Fri, 21 Feb 2020 19:03:50 -0500
X-Gmail-Original-Message-ID: <CAD5OKxveUhWe5t6i=9VQLAhp6W+rC-UNvwwCe_7DD3msUjLLqg@mail.gmail.com>
Message-ID: <CAD5OKxveUhWe5t6i=9VQLAhp6W+rC-UNvwwCe_7DD3msUjLLqg@mail.gmail.com>
To: Harald Alvestrand <harald@alvestrand.no>
Cc: mmusic WG <mmusic@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000012c9ca059f1ee0bf"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/bJ-4bXuY0T2npextUsC3c5_RAuo>
Subject: Re: [MMUSIC] Query: Usage of enrypted vs unencrypted RTP extensions
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Multiparty Multimedia Session Control Working Group <mmusic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mmusic>, <mailto:mmusic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mmusic/>
List-Post: <mailto:mmusic@ietf.org>
List-Help: <mailto:mmusic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mmusic>, <mailto:mmusic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 22 Feb 2020 00:04:06 -0000

As far as I know this is for exclusively backwards compatibility with
endpoints that do not implement encrypted RTP extensions or cases of best
effort SRTP ( https://tools.ietf.org/html/rfc6904#section-4.1). The
specification already says that both encrypted and unencrypted RTP
extensions should only be offered if it is unclear if remote supports
encrypted extensions, and MUST not be offered otherwise. There are
definitely some valid use cases for offering both encrypted and
un-encrypted audio level extensions if mixer capabilities are not known in
advance.
_____________
Roman Shpount


On Fri, Feb 21, 2020 at 8:28 AM Harald Alvestrand <harald@alvestrand.no>
wrote:

> I recently encountered an interesting piece of code with regard to
> encrypted RTP header extensions.
>
> It seemed to say that "if you enable encryption, every header extension
> will be offered in an encrypted and unencrypted variant, and the
> answerer can choose which ones to use".
>
> 1) does anyone want that?
>
> 2) does anyone depend on that?
>
> It would seem more logical that the initiator of a call would have a
> strong opinion on whether encryption should be on or off, and only the
> version preferred should be offered.
>
> This also saves some numbers, in case one wants to use 1-byte header
> extension numbering.
>
> The context it came up in may end up in designing an API for controlling
> header extension encryption in WebRTC - so it's important to cover the
> use cases that are, in fact, in use.
>
> Inquiring minds want to know....
>
>
> Harald
>
>
> _______________________________________________
> mmusic mailing list
> mmusic@ietf.org
> https://www.ietf.org/mailman/listinfo/mmusic
>