Entry 03 of 17
Host candidates — what .local hides and what it does not
An mDNS ICE candidate is a host candidate whose private address has been replaced by a random `.local` name, so a page learns that a network interface exists without learning its address. That is a real improvement on the classic WebRTC leak and it is not the same as having no local address: the candidate count, the protocols and the gathering profile survive obfuscation intact.
How do .local ICE candidates work?
A host ICE candidate describes a network interface on your machine. Modern engines hide its address behind a random `.local` name — and then publish everything else about it.
When a page creates an RTCPeerConnection and gathers candidates, the engine enumerates local interfaces and offers one host candidate per usable address. Historically each of those carried an RFC 1918 address in clear text, which is how the classic WebRTC leak worked: any page could read your LAN address without asking for anything.
RFC 8828 changed the default. Engines now register a randomly generated .local name over multicast DNS for each host candidate and publish that name instead of the address. The name is per-origin and per-session, so it is not a stable identifier and it does not tell a page what subnet you are on.
What obfuscation does not do is remove the candidate. The count of host candidates is still visible, and it counts interfaces: a machine with Wi-Fi, Ethernet and an active tunnel adapter offers a different number than a machine with one interface. The candidate's transport protocol, its ordering and the time it took to gather are all still observable, and the presence of .local names is itself a statement that this engine is a recent one with obfuscation enabled.
The probe behind this site is deliberately narrower than what a page could take. It records candidate types, protocols, the total count, whether any host candidate used a .local name and the SDP fingerprint algorithm. It never reads or stores an address from any candidate.
What survives the obfuscation
- That at least one local network interface exists, and how many usable ones there are.
- Whether the engine applies mDNS obfuscation, which is a coarse version signal.
- The candidate gathering profile — types, protocols and timing — which differs measurably between engines and between a plain host and one behind a tunnel adapter.
- When obfuscation is not applied, the private address itself, in clear text, with no prompt.
Does a VPN stop a WebRTC local address leak?
A tunnel does not touch this row, because nothing here travels through it. Candidate gathering enumerates the interfaces on your machine and the answer is assembled locally; the addresses involved are private ones that were never routable anywhere in the first place.
In one respect a tunnel makes this row louder rather than quieter. A tunnel adapter is an interface, so a machine with Wi-Fi and an active tunnel offers a different host-candidate count from the same machine unconnected. The count does not name your provider, but the change in it is a statement that something was switched on.
What a tunnel does cover is the reflexive candidate, which is a different item on this schedule — that one is your address as a third party saw it, and whether the tunnel covers it depends entirely on whether it carries UDP.
Where each browser stands on host candidate obfuscation
| Engine | What it does today |
|---|---|
| Chromium | mDNS host candidate obfuscation has been on by default since the M74 era for pages without media permission. Granting camera or microphone access lifts obfuscation and returns real addresses. |
| Firefox | Obfuscation is controlled by media.peerconnection.ice.obfuscate_host_addresses and is enabled by default. media.peerconnection.ice.default_address_only restricts gathering to a single interface. |
| Safari | Obfuscates host candidates by default and is the most conservative of the four about gathering additional interfaces without a media grant. |
| Tor Browser | WebRTC is disabled outright at the preference level, so no candidates are gathered and this row reports as undeterminable rather than clear. |
How to reduce what ICE gathering discloses
Leave obfuscation at its default and do not grant camera or microphone access to sites that do not need it — a media grant is also a grant of your real local addresses.
In Firefox, `media.peerconnection.ice.default_address_only` reduces the candidate set to one interface, which removes the interface-count signal rather than only the addresses.
Disabling WebRTC entirely removes the vector and is what Tor Browser does. It is a real option and it has a real price.
What the mitigation costs
Disabling WebRTC breaks every browser-based call, screen share and peer-to-peer feature. Restricting candidate gathering to one interface degrades connection setup on multi-homed machines, and on a site that needs a call it is indistinguishable from a broken network.
How to look at your own ICE candidates
Nothing below depends on this site. These are the checks that produce the same answer in any browser, so the row above can be argued with rather than believed.
- Open a devtools console on a page you trust and construct an
RTCPeerConnectionwith a STUN server, create a data channel, and log every candidate theicecandidateevent delivers. Everything a website can learn from ICE arrives through that one callback, with no prompt. - Read the
candidatestring field by field. A host candidate whose address ends in.localis obfuscated; one carrying a192.168.or10.address is not, and if you are seeing the latter without having granted camera or microphone access, that is the finding. - Count the host candidates and compare with and without your tunnel connected. The delta is the interface your tunnel added, and it is the part of this row that obfuscation does not remove.
- In Chromium,
chrome://webrtc-internalsrecords the full gathering log for a live connection, including timing — which is the observable this schedule means when it says the gathering profile is disclosive.
WebRTC and mDNS candidate questions
Asked often enough about this vector to be worth answering on the entry itself.
- Does .local obfuscation fix the WebRTC leak?
- It fixes the part everyone means by the phrase: a page can no longer read your private LAN address without asking for anything. It does not remove the candidate, the count of interfaces, the protocols, or the timing of gathering, and it says nothing about server-reflexive candidates, which are a separate item on this schedule.
- Can a website still get my local IP address in 2026?
- On a default build, not without a media permission. Granting camera or microphone access to a site lifts obfuscation on Chromium and returns real host addresses — which is worth knowing before you grant it to a site that only needed one of the two.
- Should I disable WebRTC entirely?
- It removes the vector completely, which is why Tor Browser does it. It also breaks every browser-based call, screen share and peer-to-peer transfer, and on a site that needs one it is indistinguishable from a broken network. It is a real option with a real price rather than a free hardening step.
- Why does my host candidate count change when I connect to a VPN?
- Because the tunnel installs a virtual network adapter and ICE enumerates it like any other interface. The addresses stay obfuscated; the count does not, so the change itself is observable.
Entry 03 · schedule edition 1.1.0, effective 2026-10-13, supersedes none. Per-engine notes reviewed 2026-08-12 against documentation for Chromium 141, Firefox 145, Safari 19.2, Tor Browser 14.5; they are compiled from vendor documentation rather than produced by a test run here.