botrefund.com
← All detection signals Network, Transport, Proxy & Geolocation Signals

WebRTC Network Leak

Probes WebRTC STUN ICE candidates for un-proxied public IPv4 addresses differing from the HTTP egress IP in both address and country code.

What we test

WebRTC probes open an RTCPeerConnection against public Google and Cloudflare STUN servers with a 1,800 ms to 2,000 ms discovery timeout, collecting public IPv4 server-reflexive (srflx) ICE candidates while ignoring private RFC1918 and mDNS .local host addresses.

A mismatch is flagged only when two conditions hold together: the discovered public srflx IP differs from the HTTPS edge or beacon IP, and its geolocated country code disagrees with the edge-observed country (also informing geolocation profile evaluation).

Why it matters

HTTP and SOCKS5 proxies tunnel TCP/HTTPS traffic through a remote exit IP while WebRTC UDP STUN packets escape directly from the host's real ISP unless WebRTC UDP traffic is explicitly proxied or masked.

Requiring both an IP mismatch and a country mismatch—and clearing on verified human interaction—protects same-country VPN commuters and dual-ISP mobile handoffs.

EXPLANATION

WebRTC ICE Discovery States

01 EXPECTED RESPONSE

Public srflx matches HTTP IP, uses mDNS, or shares country

Direct browsers report identical HTTP and STUN IPs, while browsers concealing interfaces via mDNS or relaying within the same country trigger no mismatch.

Example Network Observation STUN public IP matches HTTP: yes • Country match: yes — Result: consistent network egress
02 POSSIBLE AUTOMATION SIGNAL

Public STUN IPv4 reveals foreign ISP outside proxy tunnel

When HTTPS enters from one country while WebRTC UDP STUN packets expose a real host IP in a different country, the check flags cross-border proxy evasion.

Example Telemetry Result STUN public IP matches HTTP: no • Country match: no — Result: cross-country WebRTC leak

Forensic significance: A cross-country WebRTC srflx leak strongly corroborates split-tunnel proxy evasion; weigh it alongside DNS routing and timezone checks, keeping in mind rare multi-homing or corporate VPN topologies.