-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Brave Shields block IPFS Companion's request hand off to localhost gateway #13641
Comments
This should be fixed by brave/adblock-lists#542 within the next 24 hours. |
Re-opening cc @ryanbr |
Okay @lidel brave/adblock-lists#544 should help, Have made it generic enough to cover ipfs |
@ryanbr looks good thank you! |
@lidel sure, you could test by installing uBO extension and manually adding the following into "My filters", temp disable shields ads/trackers also.
|
I think you can add them into about://adblock too but you might need to restart the browser after that. |
Thanks! |
This had to be reverted because Brave doesn't allow localhost access for websites, because websites could probe the available services of a user and use that for fingerprinting. |
Ouch, that's unfortunate, but understandable. |
@lidel I was looking at this a little more today, do you know why https://slate.textile.io/ipfs/bafybeiar2jrkjqcacbgsecu46sl6o424qa7oibgam7uqyv4u3radxmc2yy doesn't give I think we can consider this a bug, I did a local test page with a local http server (but served from a.com 127.0.0.1 from /etc/hosts) and a dweb.link IPFS image, and the Brave option for auto redirect IPFS resources works the same because in this case it uses the I'm going to set it as p4 for now because I think the fix would involve translating ipfs:// later in the stack than we do now, but I think we can re-open and consider it a bug. Some other issues need to be worked out first. |
@bbondy Detection of IPFS resources done by IPFS Companion is matching URL before a request is sent to remote server, which removes surface for tracking/logging browsing history, and works even when target server is down. Heuristic for marking a resource as IPFS one looks like this:
|
Removed the |
Description
When IPFS Companion redirects requests for content-addressed subresources to the local IPFS node, Brave Shields block all of them.
Steps to Reproduce
This is a web app that stores images on IPFS+Filecoin and the web interface loads images from a public IPFS gateway.
Actual result:
Expected result:
Brave Shields should at the very minimum safelist the gateway URL of localhost gateway provided by go-ipfs managed by the Brave browser itself (#10220)
Reproduces how often:
every time
Desktop Brave version:
cc @bbondy
The text was updated successfully, but these errors were encountered: