-
Notifications
You must be signed in to change notification settings - Fork 772
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 ads (walla.co.il) #333
Comments
Use this https://chrome.google.com/webstore/detail/webrtc-leak-prevent/eiadekoaikejlgdbkbdfeijglgfdalml |
This was already fixed, force an update of uBlock filters. |
@adkiller126 1) This is completely unrelated to the issue here; 2) There is already a setting in uBO to prevent local IP address leak. |
Ok, the filter on uBO side does not always reliably work, this means foiling
This means the fix has to be made in uBO-Extra, and uBO-Extra will have to be used for that site. |
@gorhill |
As said, the purpose of this add-on is not to foil WebRTC connections, its purpose is to prevent leaking local IP addresses, and there is already a setting in uBO for this. I can't prevent people from fooling themselves, but I can at least try to warn others who are willing to not fall for this nonsense: |
Do you see ads with this extension? |
same as If you don't want to use uBO-Extra, add this filter - |
I think we should find a way to kill the webRTC connection. Adding a specific script for each website will be hard. |
The filter I posted kills the WebRTC connection, so no ads if you don't want to use uBO-Extra or install uBO-Extra. |
So far, no. However I do see the WebRTC connection being established. |
I tested other sites using WebRTC, and yes, it does seem "Disable non-proxied UDP" prevents these sites from tunnelling their ad data through WebRTC, though it does not prevent the WebRTC connection itself from being established. So apparently this is a virtuous side-effect of the setting. This needs investigation -- I suspect using that setting in uBO could lead to issue in some cases of legit use of WebRTC. |
This extension success when ubo is not. So i think we should at least look into it. |
Great. I'm not agree about the legit. This is a well known extension. |
The current used setting in uBO is "Use the default public interface", and issues have been reported even for this level (example: gorhill/uBlock#757). Now I wonder whether increasing one level to "Disable non-proxied UDP" will cause more sites to be affected. This is what needs investigation. |
Here is a legit use: https://webtorrent.io/. Seems to works all fine with "Disable non-proxied UDP". Given this, I will go ahead and make uBO now use the more strict value for its "Prevent WebRTC from leaking local IP addresses" setting, release the change as rc2, and see what happens from there. |
… local IP address prevention, see uBlockOrigin/uAssets#333 (comment)
Easy to test case: https://www.destructoid.com/ -- click-baity ads appears shortly after the page load on the right side. |
Can't see ads on destructoid with the extension and ubo. |
Change is in 1.11.5rc2. |
See w3c/webappsec-csp#92. There is currently no way for uBO to do this using a CSP. It's a hole in the spec, being used against users. |
fyi Connection is still established though. Run |
It's probably a matter of time before those behind these WebRTC-based ads update their stuff and are no longer foiled by the unexpected side-effect. The primary purpose of "Disable non-proxied UDP" is not to block these ads specifically. Once they upgrade their code to do what https://webtorrent.io/ does (which works fine with the stricter setting), then the ads will come back. However, I am willing to use the stricter settings right now due to that nice side effect, despite being unrelated to its primary purpose. |
Webtorrent is also using blob, I ran |
Why is this option (Prevent WebRTC from leaking local IP addresses) not enabled by default? |
The switch to non-proxied UDP seems to have affected Discord, which can no longer do voice chats under the more restrictive policy. |
URL(s) where the issue occurs
walla.co.il
Describe the issue
uBlock origin anti webRTC ads doesn't work
Screenshot(s)
Versions
Settings
The text was updated successfully, but these errors were encountered: