by AdmiralAsshat · 11y ago · 0 comments
http://www.ghacks.net/2015/07/02/you-can-block-webrtc-from-l...
You do need to enable this. After reading the article I immediately checked by dashboard and saw that the option was available, but unchecked.
NoScript mitigates the problem because WebRTC won't work with scripts blocked but I'll still have to disable the plugin to make it work on legitimate sites. It's annoying and I'd prefer a browser permission popup along the lines of what has been suggested in other posts here.
Now to find out how many sites break in fun and exciting ways for having done this ;)
enabling the option in ublock origin, my local IP would not show but my "Public" IP address still showed.
decided to checkout what options are in chrome://flags for webrtc (use to be enable/disable for webrtc but now thats restricted to just android).
found this other option in the flags, chrome://flags/#enable-webrtc-stun-origin
Enable support for WebRTC Stun origin header. Mac, Windows, Linux, Chrome OS, Android When enabled, Stun messages generated by WebRTC will contain the Origin header.
i enabled it, my public IP no longer shows on that site.
doesnt matter if i disable/enable ublock, my public IP never shows on that site with that chrome flag enabled.
any idea what that flag actually does? and repercussions leaving it enabled?
If you are not behind a VPN, it is expected that your ISP address is visible -- WebRTC or not.
The major use case for webrtc ip leak blocking is preventing leaking of rfc1918 IPs (or link/site-local IPv6 addresses) and preventing leaking of alternate LAN and alternate public IPs.
For example, if you web browse through a VPN, this webrtc functionality will by default reveal not only your public VPN exit IP, but also your VPN rfc1918 ip, and also your real rfc1918 ip, and your primary, non-vpn public IP. All in the name of better connectivity for webrtc. It's horrible.
I don't understand why webrtc does this. How does revealing non-global addresses help improve (edit: reliably improve) connectivity? Those addresses aren't guaranteed to be globally unique, so if you have two webrtc app users on the same non-global netblock, so what? Even if they have the same public IP, it's not guaranteed that they can talk to each other with their non-global addresses; they could be on different (isolated) internal networks. So the app will be blindly trying to connect to random internal ip addresses. Sounds fun for NIDS.
I don't see how WebRTC could do this if you're actually routing 0.0.0.0 to your VPN, which I think is how a lot of people use VPNs when they're the kind you toggle on and off. Are you aware of a way it could get your non-VPN public IP even in those cases?
This is enabled by default on windows, osx and some linux systems.
But I do wonder whether webrtc can find your other v6 addresses, a host often has more than one.