Skip to main content
AntidetectLab
Browser and mobile diagnostics

WebRTC & STUN Leak Test

Analyzing
Browser and network observations
Side-by-Side Duel →

Compare the HTTP address, ICE candidates and any matched STUN result. Missing observations can result from network policy or configuration.

Inspect 8-Layer Signals Side-by-Side Duel

Anyone with the link can read the published report.

Preparing the browser scan.
0% · 0.00s R Rescan
01 Wire JA4 02 Silicon WASM 03 Canvas IDAT 04 5-Realm CDP 05 STUN & ECS 06 Crowd Verdict
My IP
Analyzing…
Resolving exit geolocation & PTR hostname…
Export ▾
—
Device consistency score Awaiting measurements
ISP…
DNS…DNS →
Hostname…
IP Quality…
WebRTC…
Timezone…
JA4 / HTTP2…JA4 →
OS…
VPN / Split-TCP…
Anonymizer / Bot…Bot →
IP subnet…
Provider abuse flag…
Fingerprint ID…
Waiting for session measurements.
Awaiting measurements
INTERACTIVE SILO WORKBENCH

WebRTC & STUN Leak Test — Live Telemetry & Diagnostics

Collecting observations…
StatusCollecting live telemetry for webrtc-leak-test...

8-Layer Forensic Telemetry Breakdown

Real-time client, C++ bytecode engine, silicon limits, and L4–L7 wire parameters measured on your device.

Analyzing

Related Diagnostic Tools

Dedicated protocol and browser scanners for granular QA.

Scanner →
TECHNICAL SPECIFICATION & METHODOLOGY

WebRTC ICE Gathering, STUN Binding & mDNS Address Leakage Forensics

How RTCPeerConnection Gathers Host, Server-Reflexive, and Relay Candidates

Interactive Connectivity Establishment (RFC 8445) discovers local interface addresses, NAT-mapped STUN bindings, and TURN relay endpoints asynchronously.

When a web application instantiates RTCPeerConnection with an ICE server list and creates an SDP offer, the browser begins Interactive Connectivity Establishment (RFC 8445). Three distinct candidate classes can appear in onicecandidate events: host candidates bound to local network interfaces, srflx (server-reflexive) candidates returned by a STUN server via RFC 8489 Binding Responses, and relay candidates allocated through a TURN server.

Because STUN operates primarily over connectionless UDP, misconfigured split-tunnel VPNs or HTTP-only browser proxies frequently fail to encapsulate STUN packets. As a result, the srflx candidate returned inside the browser's SDP attribute exposes the underlying residential or mobile carrier IP address while HTTPS requests appear to exit through a proxy server. Even when a browser blocks client-side reading of srflx attributes, the outbound UDP packet still arrives at the STUN responder carrying the true NAT source IP.

Additionally, AntidetectLab creates an ephemeral RTCDataChannel before calling createOffer() so ICE gathering proceeds cleanly even on browsers that omit media transceivers or lack attached audio/video capture devices. Tracking iceGatheringState transitions ensures timed-out or policy-blocked ICE sessions are labeled accurately rather than treated as leak-free.

ICE Candidate Taxonomy, Address Scopes & Privacy Mitigations

Comparing RFC 1918 private ranges, CGNAT blocks, IPv6 ULA prefixes, mDNS UUID masking, and server-side STUN correlation.

AntidetectLab pairs client-side ICE parsing with a first-party UDP STUN responder bound to the active diagnostic session via unique ephemeral credentials. By comparing the HTTP socket IP against both the client-reported srflx candidates and the server-logged STUN source IP, the workbench detects address mismatches, dual-stack IPv6 leaks where IPv4 is proxied but IPv6 bypasses the tunnel, and carrier-grade NAT (RFC 6598 100.64.0.0/10) exposure.

Candidate / FieldRFC / SpecificationTypical Address ScopeDiagnostic Significance
typ host (mDNS)RFC 6762 / WebRTC mDNS<uuid>.localMasks local LAN IP when media permissions are ungranted
typ host (raw IPv4/v6)RFC 1918 / RFC 419310.0.0.0/8, 192.168.0.0/16, fc00::/7Exposes internal NIC layout if mDNS obfuscation is disabled
typ srflxRFC 8489 (STUN)Public IPv4/IPv6 or CGNAT 100.64.0.0/10Reveals true NAT egress IP if UDP bypasses proxy
typ relayRFC 8656 (TURN)Allocated TURN server IPExpected when iceTransportPolicy: "relay" is enforced
SDP origin & m-linesRFC 8866 (SDP)o=mozilla... / codec listDifferentiates Gecko, Blink, and WebKit media stacks

Dual-Stack IPv6 Bypass and Media Permission Side-Effects

Granting camera or microphone permissions changes ICE host exposure and can reveal unproxied IPv6 interfaces.

WebRTC privacy behavior is state-dependent. Under Chromium and Firefox privacy guidelines, granting camera or microphone permissions lifts mDNS masking on subsequent peer connections, allowing raw RFC 1918 or link-local (169.254.0.0/16, fe80::/10) addresses to surface in host candidates. Furthermore, IPv4-only proxy configurations often leave OS-level IPv6 enabled, allowing srflx IPv6 candidates to leak the host's native prefix.

In addition to IP addresses, SDP offer attributes—including DTLS fingerprint algorithms, RTP extension URIs, and origin lines such as o=mozilla—fingerprint the underlying media engine independently of navigator.userAgent. If an SDP capabilities hash resembles Firefox Gecko while the HTTP request claims Chrome Blink, automation or naive header spoofing is immediately visible.

Configuring WebRTC ICE Policies Without Breaking Conferencing APIs

Evaluating Chromium WebRTC IP handling policies and UDP-capable SOCKS5 or VPN routing.

When auditing proxy hygiene, verify that Address comparison with HTTP shows a clean match (or intentional relay/policy suppression). For SOCKS5 tunnels, ensure the client and proxy server both support UDP Associate (RFC 1928) or enforce Chromium's disable_non_proxied_udp policy so WebRTC never falls back to direct local interfaces. Always inspect DNS Leak & EDNS0 alongside Proxy Checker to verify that UDP STUN, recursive DNS, and TCP HTTP egress all terminate on the same network path.

Be cautious with browser extensions that monkey-patch window.RTCPeerConnection in JavaScript while leaving underlying native C++ sockets untouched or breaking RTCDataChannel promises. Native browser IP-handling flags preserve clean WebIDL prototypes while ensuring UDP candidates never bypass your configured tunnel.

Tool-Specific Technical FAQ

Why can WebRTC reveal my real ISP IP even when an HTTP proxy is active?

HTTP and SOCKS proxies configured only at the browser HTTP stack do not automatically tunnel UDP datagrams. When RTCPeerConnection sends a STUN Binding Request directly over UDP port 3478, the STUN server observes your unproxied public egress IP in the XOR-MAPPED-ADDRESS attribute.

What does an mDNS .local hostname in a host ICE candidate mean?

Per draft-ietf-rtcweb-mdns-ice-candidates, modern browsers replace raw RFC 1918 LAN IPv4 addresses (such as 192.168.x.x) with ephemeral UUID.local mDNS hostnames unless camera or microphone permissions have already been granted.

Is disabling RTCPeerConnection completely safer than routing it through TURN?

Completely deleting or throwing on RTCPeerConnection breaks legitimate video/voice conferencing apps and creates an unusual API fingerprint. Most privacy policies prefer iceTransportPolicy set to relay or proxy-tunneled UDP over full API removal.

Why does the server-observed STUN address sometimes show unavailable?

Corporate firewalls, strict symmetric NATs, browser WebRTC disable flags, or environments where UDP port 3478/34780 is blocked prevent the STUN Binding Request from reaching the server, leaving only local host candidates or zero candidates.

How does SDP o=mozilla or media-line hashing identify browser engines?

Session Description Protocol (RFC 8866) offers encode codec payload order, RTP header extensions, and origin lines (such as o=mozilla... in Gecko) that differ across Blink, WebKit, and Gecko implementations.