New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebRTC leaking local IP address #566
Comments
Edit, I'm seeing my ISP's address, not the local IP as presented by the OP. |
Likely due to gorhill/uBlock@977178b |
Unable to reproduce. @uBlock-user Let's first reproduce before speculating what commit is supposedly wrong. Too many users make the mistake of confusing "Prevent leaking local IP addresses" with "Prevent leaking any IP addresses". @Vulgaris-Viridis The setting has nothing to do with |
The test on that page is pointless, he does not even test properly. The proper test is the one linked to in the official wiki, a more complete one: https://github.com/gorhill/uBlock/wiki/Prevent-WebRTC-from-leaking-local-IP-address It works as expected. So it seems it's the usual misreading of what the setting is about: to prevent leaking local IP addresses, not to disable WebRTC. |
@gorhill but why is the behavior different than Chromium ? On Chromium, external IP also doesn't leak, because technically it should, the setting is only to prevent local IP address from leaking. |
Because Chromium implemented the feature differently, the related issue in the commit you linked to explain this: gorhill/uBlock#3009. Chromium's implementation of The setting is: "Prevent WebRTC from leaking local IP addresses" So it works as expected on both platform, regardless of the difference. |
Just tested this function using the recommended test website (https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/) as suggested on wiki page linked to by uBlock Origin itself, next to the
Note: Google's stun server gathers also the public IP address but stun.matrix.org doesn't. |
Unable to repro. All such reported cases turned out to be users not understanding "private" vs "public", or possibly messing with |
As expected, if I install https://github.com/ChrisAntaki/disable-webrtc-firefox and enable WebRTC through this extension, uBO's setting is disregarded.
|
I'm sure I installed uBO first thing on this browser, so "Disable WebRTC" must have been installed after. In the case I was describing earlier, the private address being reported by the suggested tool is that of a wireguard interface in the 10.0.0.0/8 range, so part of a range clearly designated to be private. Just did some other tests on another Firefox profile, which only has two add-ons (uBO and Panorama Tab Groups), without any kind of VPN and whether the preference is ticked or not the testing tool reports exactly the same thing: my current public IP address. |
Prerequisites
Description
WebRTC leaking local IP address
[Description of the bug or feature]
WebRTC leaking local IP address despite 'Prevent WebRTC from leaking local IP addresses' being checked in uBo settings. it's mitigated either by enabling Disable WebRTC addon or setting 'media.peerconnection.enabled = false" in about:config.
A specific URL where the issue occurs
https://www.vpninsights.com/webrtc-leak-test
[A specific URL is MANDATORY for issue happening on a web page, even if it happens "everywhere"]
Steps to Reproduce
Expected behavior:
[What you expected to happen]
WebRTC to not leak ip adress
Actual behavior:
[What actually happened]
WebRTC leaks ip adress
Your environment
The text was updated successfully, but these errors were encountered: