# ipleak WebRTC shows no IP detected: what it means

> On ipleak.net, an empty WebRTC section behind a proxy means no candidate went around it. Our own script once called that a leak, reading the wrong line.

Source: https://mosaicbrowser.com/blog/ipleak-webrtc-no-ip

## An empty WebRTC section is the right answer

On ipleak.net, an empty WebRTC section behind a proxy means no candidate went around it. Our own script once called that a leak, reading the wrong line.

![Nothing under the heading is a pass, beside a screenshot: a Mosaic leak test: every surface a site reads, checked from inside the profile page](https://mosaicbrowser.com/covers/ipleak-webrtc-no-ip.webp)

When ipleak.net shows no IP in its WebRTC section, the browser gathered no WebRTC candidate with a public address. On a profile behind a proxy that is the correct result. With Chrome's `disable_non_proxied_udp` policy, WebRTC cannot send UDP around the proxy, so the STUN request that would reveal your real address never goes out, and the page prints the heading with nothing under it. Our own script that reads ipleak once looked at that empty section and reported a leak.

## What ipleak's WebRTC section is showing

ipleak.net prints several sections on one page: your IP address as the server saw it, then WebRTC detection, then DNS addresses, torrent detection and a block of browser details including the User-Agent.

The WebRTC part starts the gathering that a video call would start. The browser lists candidate addresses it could be reached at, and the page prints them. There are three kinds. A host candidate is a network interface on the machine, which modern Chrome hides behind a random `.local` name. A server-reflexive candidate is the address a STUN server on the internet saw the browser's UDP packet arrive from. A TURN candidate comes from a TURN server the page configured.

The server-reflexive one is the leak people test for. If the browser can send UDP straight to the internet while its web traffic goes through a proxy, the STUN server sees the real connection, and the page prints an address that is not the proxy's IP.

So there are three honest outcomes:

1. An address that is not your IP: a leak.
2. Your proxy's IP, or only a `.local` name: no leak.
3. Nothing at all: no candidate was gathered, which behind a proxy is the policy working.

The third is the one that looks broken and is not. The API is still there and still runs; it simply has no way out except through the proxy. That is very different from a browser with WebRTC removed, which [stands out on its own](https://mosaicbrowser.com/blog/disabling-webrtc-is-a-tell).

Mosaic is a desktop app

Email yourself the link and open it on your computer.

[How it works: Checked before every launch](https://mosaicbrowser.com/features/proxy-check-before-launch)

## How our checker turned an empty section into a leak

Mosaic carries a [catalogue of public detectors](https://mosaicbrowser.com/blog/forty-nine-detectors), most of them read by a script, ipleak among them. Each page has an extractor that finds the part that matters and turns it into pass, fail or unread.

On a proxied profile whose WebRTC section was empty, the ipleak row came back as `FAIL - WebRTC surfaced` followed by an address. The address was the Chrome version.

The extractor sliced a section of the page from one heading to the next, and ran an IPv4 pattern over the slice. When the closing heading was not found, it fell back to taking the next 900 characters. For the WebRTC section, the closing heading was `DNS Address`, and ipleak renders the DNS block late, after a dozen probes against two resolvers. On a page read before those probes finished there was no terminator, so the "section" ran 900 characters on into the rest of the page. Somewhere in those 900 characters was `Your User Agent: ... Chrome/<major>.0.0.0 Safari/537.36`.

Chrome reports its version as the major followed by `.0.0.0` (the [reduced User-Agent](https://mosaicbrowser.com/blog/chrome-user-agent-0-0-0) zeroes everything after it). Four dot-separated numbers under 256 are a perfectly well-formed IPv4 address. The pattern matched, and the checker announced that WebRTC had exposed it.

The DNS section had the same bug in a worse form. Its closing heading was `Your IP addresses - WebRTC detection`, which sits above the DNS block on the page. Searching forward from the DNS heading never found it, so that section was always 900 characters of whatever came next, on every run.

## Why a false fail is worse than none

A wrong pass flatters you. A wrong fail on a leak test sends somebody hunting for a real address escaping through a proxy that is not escaping. That costs a day, and on this row specifically it means the one result that says "this profile is exposing where you are". An extractor that guesses is worse than no extractor, and this one guessed in the alarming direction.

The fix was to stop guessing. A missing closing heading now returns nothing, and the row reports `unread` against a page it could not read. Unread is neither empty nor a leak. It says the instrument did not get an answer.

The ready check had the same fault one level up. It waited for the headings `Torrent Address detection` and `DNS Address`, which are static and render with the document, so it fired at three seconds and the result read `flaky: pass, unread, unread` across three rounds. What ipleak writes when the probes really finish is a line like `DNS Addresses - 2 servers detected, 12 tests`, and the count is the part that cannot be there early. Waiting for that, three rounds agreed on `pass`.

## Checking your own profile on ipleak

Load ipleak.net inside the profile with its real proxy attached, and wait until the DNS line shows a server count before reading anything. Then compare the WebRTC section with the address at the top of the page. An empty section or one that shows only your IP is fine. A different public address is the leak.

In Mosaic, a profile with a proxy runs with `--webrtc-ip-handling-policy=disable_non_proxied_udp` by default, and mDNS stays on as in stock Chrome, so the expected ipleak result is the empty heading. The [mDNS post](https://mosaicbrowser.com/blog/webrtc-local-address-mdns) covers why we keep the `.local` name rather than turning it off.

## Questions

### What does it mean when ipleak shows no WebRTC IP?

The browser gathered no WebRTC candidate that carries a public address. Behind a proxy with Chrome's disable_non_proxied_udp policy, that is the expected result: WebRTC cannot send UDP around the proxy, so it has nothing to report.

### Is an empty WebRTC section a sign that WebRTC is broken?

Not if RTCPeerConnection still exists. The API is there and works; it just has no route that avoids the proxy, so it gathers nothing to print. A browser with the API removed is the unusual one.

### What does a real WebRTC leak look like on ipleak?

A public address in the WebRTC section that is not your proxy's IP. That is a server-reflexive candidate, the address a STUN server saw your UDP packet come from, and it bypassed the proxy.

### Is a .local address in the WebRTC section a leak?

No. It is a random name Chrome registers with multicast DNS so it can offer a local candidate without printing your private IP. No website can resolve it.

## Related

[A browser with no RTCPeerConnection doesn't exist](https://mosaicbrowser.com/blog/disabling-webrtc-is-a-tell): Deleting WebRTC leaves a Chrome no one runs. Zero candidates with the API still present is every machine on a UDP-blocked network, so that is what we ship.

[The .local address in your WebRTC test is Chrome working](https://mosaicbrowser.com/blog/webrtc-local-address-mdns): A random .local name in a WebRTC leak test is Chrome hiding your LAN address. We once switched it off, and the empty result was the louder tell.

[Why Chrome's User-Agent says 0.0.0](https://mosaicbrowser.com/blog/chrome-user-agent-0-0-0): Chrome zeroes everything after the major, so the User-Agent says 0.0.0 and the build moves to Sec-CH-UA-Full-Version-List. A real build in the UA is a tell.

[49 browser fingerprint detectors, and how we read them](https://mosaicbrowser.com/blog/forty-nine-detectors): Our browser fingerprint detectors list: 49 public test pages in five groups, 40 read by a script and 9 kept as reference because they print no verdict.

[Browser fingerprint: what a site can read about your machine](https://mosaicbrowser.com/glossary/browser-fingerprint): A browser fingerprint is the set of values a site reads about your browser and computer, which together recognize you without cookies. What goes into one.



[Why video calls struggle in a proxied profile](https://mosaicbrowser.com/blog/webrtc-calls-behind-a-proxy): WebRTC sends media over UDP, which an HTTP or SOCKS proxy in Chrome does not carry. With non-proxied UDP blocked, only a TURN server over TCP is left.

[WebRTC and IPv6: the candidate your proxy never carried](https://mosaicbrowser.com/blog/webrtc-ipv6-candidates): A WebRTC IPv6 leak is a candidate gathered over UDP that an IPv4 proxy never sees. Blocking non-proxied UDP closes it for both address families at once.

## Mosaic, on your own computer

The browser this blog is about: its own Chromium, fingerprints from real machines and a proxy IP per profile. Free covers 3 profiles with no card, and Pro is $25 a month for any number of them.

Mosaic is a desktop app

Email yourself the link and open it on your computer.
