Re: Handling of unverified data and media

Cullen Jennings <[email protected]>
Newsgroups gmane.ietf.mmusic
Message-ID <[email protected]>
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 <[email protected]> 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 <[email protected] <mailto:[email protected]>> wrote:
> 
>> On Mar 13, 2017, at 3:44 PM, Christer Holmberg <[email protected] <mailto:[email protected]>> 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
> [email protected] <mailto:[email protected]>
> https://www.ietf.org/mailman/listinfo/mmusic <https://www.ietf.org/mailman/listinfo/mmusic>

_______________________________________________
mmusic mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/mmusic
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.