TURN connection does not negotiate with TLS on Firefox 87+
Categories
(Core :: WebRTC: Networking, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox89 | --- | fixed |
People
(Reporter: tenge, Assigned: bwc)
References
Details
Attachments
(3 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36
Steps to reproduce:
When creating a new WebRTC peerconnection with TURN URL/credential configuration, browser will create TURN allocations based on the config.
We provide a TURN URL/creds with "turns:[server]?transport=tcp", Firefox 87 will start to create TURN connections with TLS(turns).
Actual results:
Firefox does not create TLS connection, instead, TURN server side recognizes as plain TCP connection
Expected results:
Firefox is supposed to start TLS negotiation with sending ClientHello to the server.
In short, Firefox 87+ seems ignored the TURN SRV name: "turns"
Comment 2•5 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Networking' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Updated•5 years ago
|
| Assignee | ||
Comment 3•5 years ago
|
||
Yeah, I can verify this.
| Assignee | ||
Updated•5 years ago
|
Thank you Byron. This is potentially a security risk for Firefox users when they use TLS for webrtc communications.
Is this have a clear path for fixing?
| Assignee | ||
Comment 5•5 years ago
|
||
This is an easy fix, yes.
| Assignee | ||
Comment 6•5 years ago
|
||
Not that it helps us on CI, because of bug 1323439, but we can at
least run it locally.
| Assignee | ||
Comment 7•5 years ago
|
||
Also, some logging that was useful.
Depends on D110634
| Assignee | ||
Comment 8•5 years ago
•
|
||
| Assignee | ||
Comment 9•5 years ago
|
||
Try looks about as good as we can expect right now.
Comment 10•5 years ago
|
||
| Reporter | ||
Comment 11•5 years ago
|
||
Thanks. I'm wondering when this patch will go to the release version?
Comment 12•5 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/d8d1c8964de0
https://hg.mozilla.org/mozilla-central/rev/27094688f995
Description
•