Closed Bug 1825826 Opened 3 years ago Closed 2 years ago

Allow media.peerconnection.ice.proxy_only to affect only PBM

Categories

(Core :: WebRTC: Networking, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
114 Branch
Tracking Status
firefox114 --- fixed

People

(Reporter: tjr, Assigned: tjr)

References

Details

(Whiteboard: [fpp:m2])

Attachments

(1 file)

We want to test enabling media.peerconnection.ice.proxy_only, but we want to restrict the behavior to PBM only. To accomplish this, I am envisioning adding a media.peerconnection.ice.proxy_only.pbmode pref that, if true, enables the behavior in PBM. If media.peerconnection.ice.proxy_only is enabled, that behavior is used in Normal and PBM regardless of the pbmode pref.

I tested this with https://ritter.vg/misc/ff/webrtc-ip2.html

I confirmed that after granting capture permissions, I could leak my internal IP addresses - both in regular and PBM, (I couldn't leak my local IP without granting capture permissions.) Then I enabled the (new) pref, confirmed it still leaked in regular, and that in PBM it did not.

In PBM, with the pref enabled, I got the error ICE failed, add a TURN server and see about:webrtc for more details if I enumerated before getting capture permissions; and no error if I tried to enumerate after granting capture permissions. In neither case did it give either my local or remote IP address.

Whiteboard: [fpp:m2]
See Also: → 1827469
Pushed by tritter@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5f61f97616e1 Create a PBM-only pref for ice.proxy_only r=bwc
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: