Closed Bug 1215616 Opened 9 years ago Closed 9 years ago

wrong raddr and rport in srflx ice candidates

Categories

(Core :: WebRTC: Networking, defect, P1)

42 Branch
defect

Tracking

()

RESOLVED FIXED
mozilla44
Tracking Status
firefox41 --- unaffected
firefox42 --- fixed
firefox43 --- fixed
firefox44 --- fixed

People

(Reporter: bemasc, Assigned: drno)

References

()

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.8 Safari/537.36

Steps to reproduce:

Started a peerconnection with a STUN server


Actual results:

Got this candidate out:
candidate:8 1 UDP 1694179327 216.239.33.166 56450 typ srflx raddr 216.239.33.166 rport 56450


Expected results:

The raddr should have been the address of one of the actual local interfaces

This appears to be a regression between Firefox 41 and Firefox 42.  The problem may have been introduced as a side effect of IP privacy changes.  The problem is very similar to #931700, but that bug only affected relay candidates, and was already present in Firefox 41
See Also: → 931700
Version: Trunk → 42 Branch
Easily reproducible by opening http://mozilla.github.io/webrtc-landing/stun_test.html with Fx 41 and 42.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Bug 1215616: use base address for server rflx candidates. r?bwc
Attachment #8675230 - Flags: review?(docfaraday)
Assignee: nobody → drno
Rank: 18
Priority: -- → P1
Comment on attachment 8675230 [details]
MozReview Request: Bug 1215616: use base address for server rflx candidates. r?bwc

https://reviewboard.mozilla.org/r/22353/#review19957

Ha! Awesome.
Attachment #8675230 - Flags: review?(docfaraday) → review+
Ouch... and we need to get this in ASAP and nominate it for uplifts.
Component: Untriaged → WebRTC: Networking
Product: Firefox → Core
I preemptively landed this so it could bake (and get into m-c this weekend, maybe).
https://hg.mozilla.org/mozilla-central/rev/17dae8ef3e63
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
backlog: --- → webrtc/webaudio+
OS: Unspecified → All
Hardware: Unspecified → All
Comment on attachment 8675230 [details]
MozReview Request: Bug 1215616: use base address for server rflx candidates. r?bwc

Just requesting early, so we have the approvals in time.

Approval Request Comment
[Feature/regressing bug #]: The bug got introduce via bug 1189041, which landed in 43 and got uplifted to 42.
[User impact if declined]: The ICE candidates handed out by the WebRTC APIs are presenting wrong IP addresses. It should not affect the ability to establish WebRTC connection, but there might be WebRTC implementations which cause trouble with these wrong ICE candidates.
[Describe test coverage new/current, TreeHerder]: Manually tested.
[Risks and why]: The risk is extremly low as it is only a one line change which restores the behavior from before bug 1189041 landed.
[String/UUID change made/needed]: n/a
Attachment #8675230 - Flags: approval-mozilla-beta?
Attachment #8675230 - Flags: approval-mozilla-aurora?
Comment on attachment 8675230 [details]
MozReview Request: Bug 1215616: use base address for server rflx candidates. r?bwc

Should be in 42 beta 8.
Attachment #8675230 - Flags: approval-mozilla-beta?
Attachment #8675230 - Flags: approval-mozilla-beta+
Attachment #8675230 - Flags: approval-mozilla-aurora?
Attachment #8675230 - Flags: approval-mozilla-aurora+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: