Skip to content
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 IP leak #429

Closed
kravietz opened this issue Feb 6, 2019 · 5 comments
Closed

WebRTC IP leak #429

kravietz opened this issue Feb 6, 2019 · 5 comments
Labels

Comments

@kravietz
Copy link

kravietz commented Feb 6, 2019

DDG Android app apparently uses Chrome as underlying rendering engine and as result it's susceptible to WebRTC internal IP leaking even if behind a proxy or VPN. This can be easily tested by browsing from DDG app to ipleak.net.

@subsymbolic
Copy link
Contributor

Thanks for logging this @kravietz, we'll investigate ways to fix this.

@ghost
Copy link

ghost commented May 7, 2019

Or more simple, with this website:
https://ip.voidsec.com/

@aitorvs
Copy link
Collaborator

aitorvs commented Dec 9, 2020

Internal task for visibility/reference https://app.asana.com/0/276630244458377/1134874424977657/f

@cmonfortep
Copy link
Contributor

We looked into this and we hoped we could implement a permissions callback to stop this leak, but the permissions callback isn't triggered for obtaining the IP address (just for audio / video access)

Sadly, there's still no obvious way of preventing this while we continue to rely on WebView. We have no plans to migrate from webview, so we are closing this issue.

@David-dp-
Copy link

Is DDG/Android supposed to support WebRTC at all? When I try https://webrtc.github.io/samples/src/content/getusermedia/gum/ , clicking the "Open camera" button triggers a notification that an attempt by Google to track me was blocked, but I don't get a getUserMedia dialog like I do with other mobile browsers.
When I try with my own page, I find that DDG has navigator.mediaDevices.getUserMedia but it seems not to return a Promise because none of my .then, .catch, nor .finally are invoked. This defeats the usual way of letting the user know that the browser doesn't support a feature; it seems the developer might be forced into searching navigator.userAgent for DDG in order to help the user understand what's going on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants