Closed Bug 1581947 Opened 6 years ago Closed 1 month ago

Support mDNS hostname obfuscation on Android

Categories

(Core :: WebRTC: Networking, enhancement, P3)

71 Branch
enhancement

Tracking

()

RESOLVED FIXED
149 Branch
Tracking Status
firefox149 --- fixed

People

(Reporter: dminor, Assigned: dbaker)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

We need to determine if or when we would like to support mDNS hostname obfuscation on Android. From my initial research, using multicast on Android requires a specific permission (CHANGE_WIFI_MULTICAST_STATE) and according to the documentation can have an impact on battery life [1].

It it looks like mDNS hostname obfuscation is currently disabled for Chrome on Android [2]. I confirmed that with a fresh install of Chrome 77 on my phone. It also looks like Chrome uses the system DNS resolver and on Android it does not support mDNS [3].

[1] https://developer.android.com/reference/android/net/wifi/WifiManager.MulticastLock
[2] https://groups.google.com/forum/#!msg/discuss-webrtc/6stQXi72BEU/k3UCPGe1AQAJ
[3] https://bugs.chromium.org/p/chromium/issues/detail?id=405925#c69

Severity: normal → S3

It looks like mDNS lookups are available on Android 12+ [1] so might this be possible to implement more cleanly now?

[1] https://www.androidpolice.com/android-mdns-local-hostname/ is linked from the Chromium bug tracker link in the description.

Already have this in our 2026 planning doc. Need to determine the priority here.

No longer blocks: webrtc-triage
  • chrome doesn't support this on android from our understanding.
  • we want this, but it's not a slam dunk, in the past the API landscape did not allow us to support this.
  • Needs a couple weeks of research and a tech brief.
Depends on: 2011711

This was implemented but the pref was never flipped. We're going to flip the pref in Nightly and do some testing.

Assignee: nobody → dbaker
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: