Re: [MMUSIC] Handling of unverified data and media

Cullen Jennings <fluffy@iii.ca> Fri, 31 March 2017 15:52 UTC

Return-Path: <fluffy@iii.ca>
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 E4FE71299BD for <mmusic@ietfa.amsl.com>; Fri, 31 Mar 2017 08:52:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.695
X-Spam-Level:
X-Spam-Status: No, score=-4.695 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.796, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 EVnA83mah7sJ for <mmusic@ietfa.amsl.com>; Fri, 31 Mar 2017 08:52:43 -0700 (PDT)
Received: from smtp90.iad3a.emailsrvr.com (smtp90.iad3a.emailsrvr.com [173.203.187.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D94211294C0 for <mmusic@ietf.org>; Fri, 31 Mar 2017 08:52:42 -0700 (PDT)
Received: from smtp4.relay.iad3a.emailsrvr.com (localhost [127.0.0.1]) by smtp4.relay.iad3a.emailsrvr.com (SMTP Server) with ESMTP id 3CDA657E7; Fri, 31 Mar 2017 11:52:39 -0400 (EDT)
X-Auth-ID: fluffy@iii.ca
Received: by smtp4.relay.iad3a.emailsrvr.com (Authenticated sender: fluffy-AT-iii.ca) with ESMTPSA id BFF2159A1; Fri, 31 Mar 2017 11:52:38 -0400 (EDT)
X-Sender-Id: fluffy@iii.ca
Received: from rtp-vpn3-184.cisco.com (nccm-cmcs-client.cisco.com [173.38.117.70]) (using TLSv1 with cipher DHE-RSA-AES256-SHA) by 0.0.0.0:587 (trex/5.7.12); Fri, 31 Mar 2017 11:52:39 -0400
Content-Type: multipart/alternative; boundary="Apple-Mail=_B8202525-3F1C-4305-BEEA-C08E79738311"
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Cullen Jennings <fluffy@iii.ca>
In-Reply-To: <CAJrXDUGy10nV3bWYsiLFc0czu5ydmwU-uf9AC=O+zfUxken+=w@mail.gmail.com>
Date: Fri, 31 Mar 2017 10:52:37 -0500
Cc: Christer Holmberg <christer.holmberg@ericsson.com>, mmusic <mmusic@ietf.org>
Message-Id: <04A030AC-0323-42D5-AE7D-33EAB8EC8A30@iii.ca>
References: <CAOW+2dseq8AmLKXFGUaiss8ahpkY1ZzYUD_KdirFE1rskfvqjw@mail.gmail.com> <CABkgnnUc-XsYivUzSs6W4it_Krykr-reJMDJXqKf5FvGw_NBPg@mail.gmail.com> <CAD5OKxvXTsTPaKFNdwS6tPBTAksD=jgiAFGuGMgbepOtBoFT+Q@mail.gmail.com> <CABcZeBO9MP0fqg=ubpgU8+3L9koB5grCyp-O8hS9Pis942-rhA@mail.gmail.com> <CAOW+2due+uNyWn-3GQnpXrR-L55XVZSXXRmC0E9-5BSGKynUYA@mail.gmail.com> <CABcZeBPr4OjUBSUdS3wWmUuRJh7XmgxfVaY1F15mjMAqjbTZRg@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B4CB06D6C@ESESSMB109.ericsson.se> <67E58DC2-89CB-45AB-9452-C6A7DFEA34A4@vidyo.com> <7594FB04B1934943A5C02806D1A2204B4CB0B034@ESESSMB109.ericsson.se> <CF91D618-CC36-4811-A1BE-CAC48EF66900@iii.ca> <CAJrXDUGy10nV3bWYsiLFc0czu5ydmwU-uf9AC=O+zfUxken+=w@mail.gmail.com>
To: Peter Thatcher <pthatcher@google.com>
X-Mailer: Apple Mail (2.3124)
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/PZ90UDbIntVQsLmt8vanYVlBvTA>
Subject: Re: [MMUSIC] Handling of unverified data and media
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.22
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: Fri, 31 Mar 2017 15:52:51 -0000

Imagine a WebRTC browser called A sends an offer to a SBC called S.  S sends PR offer accepting data channel but not others. ICE comes up between A and S. A TLS channel comes up between A and S. S forwards the offer to gateway called G over SIP with no ICE. G sends a TLS connection to A that is relayed via G. So this new connection is in the same ICE context. The ICE goes between A and S. But the 2nd TLS goes between A and G but gateway by S. 

I realize a more complete description would be useful but hopefully that is enough to think about a bit. 


> On Mar 30, 2017, at 2:14 PM, Peter Thatcher <pthatcher@google.com> wrote:
> 
> We have a mailing list discussion (here), a bug (https://github.com/w3c/webrtc-pc/issues/849 <https://github.com/w3c/webrtc-pc/issues/849>) and a PR (https://github.com/w3c/webrtc-pc/pull/1026#issuecomment-279238215 <https://github.com/w3c/webrtc-pc/pull/1026#issuecomment-279238215>) about this.  I've copied the following comments to the latter two, so I'm adding them here as well.
> 
> TL;DR: I don't think unverified media is compatible with ICE+DTLS.  Here is why (you can go see the bug, too):
> 
> You can receive DTLS from the remote side before receiving the remote description (and thus fingerprint). This happens if the remote side sends an ICE connectivity check and the local side sends a response and then the remote side sends a DTLS packet.
> 
> You cannot send DTLS from the local side before receiving the remote description (and thus fingerprint). This is because you can't send an ICE connectivity check until you have the remote ICE ufrag and pwd, and thus can't get an ICE connectivity check response, and thus can't send DTLS. This is because you can't send anything other than ICE until you get an ICE connectivity check response.
> 
> Since you can't send DTLS, you can't complete the handshake, and thus can't extract the SRTP key.
> 
> 
> Maybe I'm missing something, but I think this is impossible.
> 
> On Sat, Mar 25, 2017 at 1:12 PM Cullen Jennings <fluffy@iii.ca <mailto:fluffy@iii.ca>> wrote:
> 
>> On Mar 13, 2017, at 3:44 PM, Christer Holmberg <christer.holmberg@ericsson.com <mailto:christer.holmberg@ericsson.com>> wrote:
>> 
>> My question is: is this something that’s causing problems in real deployments, and requires a change in the standard? 
> 
> 1-800 go fedex. See webrtc requirements documents from many years ago. 
> _______________________________________________
> mmusic mailing list
> mmusic@ietf.org <mailto:mmusic@ietf.org>
> https://www.ietf.org/mailman/listinfo/mmusic <https://www.ietf.org/mailman/listinfo/mmusic>