Bug 1588817 - Enable mDNS hostname obfuscation on desktop platforms; r=drno
authorDan Minor <dminor@mozilla.com>
Wed, 06 Nov 2019 18:04:04 +0000
changeset 500908 eeb7467c300fdb3bb7bd8b670f3980309e937527
parent 500907 96048cce4b80dd1b1385d67858cc01808746c75d
child 500909 6a7b78f2d462fa22c29b97b10f08fe4bd25cb465
push id114166
push userapavel@mozilla.com
push dateThu, 07 Nov 2019 10:04:01 +0000
treeherdermozilla-inbound@d271c572a9bc [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdrno
bugs1588817
milestone72.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1588817 - Enable mDNS hostname obfuscation on desktop platforms; r=drno Differential Revision: https://phabricator.services.mozilla.com/D49956
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -479,17 +479,22 @@ pref("media.videocontrols.picture-in-pic
   pref("media.peerconnection.ice.relay_only", false); // Limit candidates to TURN
   pref("media.peerconnection.use_document_iceservers", true);
 
   pref("media.peerconnection.identity.timeout", 10000);
   pref("media.peerconnection.ice.stun_client_maximum_transmits", 7);
   pref("media.peerconnection.ice.trickle_grace_period", 5000);
   pref("media.peerconnection.ice.no_host", false);
   pref("media.peerconnection.ice.default_address_only", false);
-  pref("media.peerconnection.ice.obfuscate_host_addresses", false);
+  // See Bug 1581947 for Android hostname obfuscation
+  #if defined(MOZ_WIDGET_ANDROID)
+    pref("media.peerconnection.ice.obfuscate_host_addresses", false);
+  #else
+    pref("media.peerconnection.ice.obfuscate_host_addresses", true);
+  #endif
   pref("media.peerconnection.ice.proxy_only_if_behind_proxy", false);
   pref("media.peerconnection.ice.proxy_only", false);
   pref("media.peerconnection.turn.disable", false);
 
   // 770 = DTLS 1.0, 771 = DTLS 1.2
   pref("media.peerconnection.dtls.version.min", 770);
   pref("media.peerconnection.dtls.version.max", 771);