Add Host Blocker Similar to AdAway #343

Closed
cwmke opened this Issue Jul 15, 2016 · 7 comments

Comments

Projects
None yet
3 participants
@cwmke

cwmke commented Jul 15, 2016

I am suggesting adding a host blocker with similar functionality to AdAway. It essentially downloads a lists of hosts to block and then blocks them system-wide. The user can add or remove lists as they please. There is also an user modifiable whitelist and blacklist available.

I imagine this is something many users would love to have built-in but it could be disabled by default in order to create issues for users who would find it unfriendly.

I noticed in #123 @thestinger stated,

CopperheadOS used to have domain and IP blacklists but it's too heavy handed and user unfriendly.

#184 is similar but was looking at a very specific use case.

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger Jul 18, 2016

Contributor

There's #7 which was filed a long time ago. Maybe someone is interested in implementing it. It's an extremely low priority right now.

Contributor

thestinger commented Jul 18, 2016

There's #7 which was filed a long time ago. Maybe someone is interested in implementing it. It's an extremely low priority right now.

@aes512

This comment has been minimized.

Show comment Hide comment
@aes512

aes512 Nov 6, 2016

That sucks. /etc/hosts file based ad blocking goes a long f**king way on Android. It seems like everything important in this project is low prio. I guess I'll stick to building my own ROMs, I really had hope that this would become my daily driver :(

aes512 commented Nov 6, 2016

That sucks. /etc/hosts file based ad blocking goes a long f**king way on Android. It seems like everything important in this project is low prio. I guess I'll stick to building my own ROMs, I really had hope that this would become my daily driver :(

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger Nov 8, 2016

Contributor

CopperheadOS has a single developer so adding features can't be a high priority right now. If people want features to be implemented, they're free to step up and contribute. Right now, no one contributes to the project. Domain blocking via /system/etc/hosts isn't something that can be done though. It has to be tackled in a more sophisticated way where it's not mandatory and the list of blocked hosts can be modified.

Contributor

thestinger commented Nov 8, 2016

CopperheadOS has a single developer so adding features can't be a high priority right now. If people want features to be implemented, they're free to step up and contribute. Right now, no one contributes to the project. Domain blocking via /system/etc/hosts isn't something that can be done though. It has to be tackled in a more sophisticated way where it's not mandatory and the list of blocked hosts can be modified.

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger Nov 8, 2016

Contributor

It's not like there are any apps on F-Droid with ads anyway... and blocking content in browsers works better via browser extensions or direct integration, since there's a lot more to it than simply blocking domains. Blocking domains from resolving also has terrible UX. It silently kills connections to the domains... it isn't really suited to what CopperheadOS wants to be. uBlock Origin, etc. are a lot better suited to it, so Chromium extension support is what's really needed.

Contributor

thestinger commented Nov 8, 2016

It's not like there are any apps on F-Droid with ads anyway... and blocking content in browsers works better via browser extensions or direct integration, since there's a lot more to it than simply blocking domains. Blocking domains from resolving also has terrible UX. It silently kills connections to the domains... it isn't really suited to what CopperheadOS wants to be. uBlock Origin, etc. are a lot better suited to it, so Chromium extension support is what's really needed.

@aes512

This comment has been minimized.

Show comment Hide comment
@aes512

aes512 Nov 10, 2016

We will take the (not so) "terrible" UX over some artificial idea of some perfect ROM ecosphere, because it actually produces a positive result -- being that the MAJORITY of "harmless" and malicious ads (and other unwanted web-based connections) get blocked. It is a tried and true mechanism that spans a lot further than the data mining google derived browser that is baked into the ROM, but seeing the benefit would require having the ability to see the 100K' view of things, which clearly isn't this project's scope.

A "hardened" mobile OS is a bit of a joke without additional support for mechanisms that protect it's users. Your ROM just becomes a little more difficult for criminals to pop, but it lends itself to being a far broader target for data mining/profiling and a vehicle for surveillance. It's like putting a glass windows on a steel house, but whatever - continue missing the point, you have your priorities and I'm not going to try and change them because I for one do not care.

aes512 commented Nov 10, 2016

We will take the (not so) "terrible" UX over some artificial idea of some perfect ROM ecosphere, because it actually produces a positive result -- being that the MAJORITY of "harmless" and malicious ads (and other unwanted web-based connections) get blocked. It is a tried and true mechanism that spans a lot further than the data mining google derived browser that is baked into the ROM, but seeing the benefit would require having the ability to see the 100K' view of things, which clearly isn't this project's scope.

A "hardened" mobile OS is a bit of a joke without additional support for mechanisms that protect it's users. Your ROM just becomes a little more difficult for criminals to pop, but it lends itself to being a far broader target for data mining/profiling and a vehicle for surveillance. It's like putting a glass windows on a steel house, but whatever - continue missing the point, you have your priorities and I'm not going to try and change them because I for one do not care.

@thestinger thestinger locked and limited conversation to collaborators Nov 11, 2016

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger Nov 11, 2016

Contributor

Chromium provides the WebView, so it's going to be there whether or not it's our chosen browser. It's not only the most secure browser available but also shares 99.99% of the code with the WebView. Soon, both will even be provided by the same apk. It really makes no sense for us to include any other browser since it would add significant attack surface and none has a comparable sandbox.

Chromium doesn't do profiling / data mining. The Google features don't even work on CopperheadOS due to the lack of Google Play. I would actually love to provide the option of enabling Safe Browsing, but on Android it's tied to Play. You can use another search engine if that's what you're worried about. It's ridiculous to get stuck on the fact that it's Google's code. You're talking about an Android-based operating system here. It's all Google's code. Anyway, leaving out Chromium would only mean leaving out the tiny portion of Chromium's code that provides the Android browser UX. It would still be present as the WebView.

Lack of extension support in Chromium is something that can and should be rectified. Content filtering at a browser level is far better than doing it at the DNS level. It can block far more and it's usable which is key for our goals. As soon as Chromium supports extensions, we'll happily file an issue about implementing a way to have uBlock Origin installed by default in new profiles. CopperheadOS is a long-term project. It's going to take what we think is the correct approach rather than implementing flawed stop-gap solutions. It doesn't make sense to dump time into features that are then going to become obsolete. It's not even out of the Beta stage right now...

Contributor

thestinger commented Nov 11, 2016

Chromium provides the WebView, so it's going to be there whether or not it's our chosen browser. It's not only the most secure browser available but also shares 99.99% of the code with the WebView. Soon, both will even be provided by the same apk. It really makes no sense for us to include any other browser since it would add significant attack surface and none has a comparable sandbox.

Chromium doesn't do profiling / data mining. The Google features don't even work on CopperheadOS due to the lack of Google Play. I would actually love to provide the option of enabling Safe Browsing, but on Android it's tied to Play. You can use another search engine if that's what you're worried about. It's ridiculous to get stuck on the fact that it's Google's code. You're talking about an Android-based operating system here. It's all Google's code. Anyway, leaving out Chromium would only mean leaving out the tiny portion of Chromium's code that provides the Android browser UX. It would still be present as the WebView.

Lack of extension support in Chromium is something that can and should be rectified. Content filtering at a browser level is far better than doing it at the DNS level. It can block far more and it's usable which is key for our goals. As soon as Chromium supports extensions, we'll happily file an issue about implementing a way to have uBlock Origin installed by default in new profiles. CopperheadOS is a long-term project. It's going to take what we think is the correct approach rather than implementing flawed stop-gap solutions. It doesn't make sense to dump time into features that are then going to become obsolete. It's not even out of the Beta stage right now...

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger Nov 11, 2016

Contributor

Since I'm not particularly interested in the opinions of entitled morons that are too lazy to contribute anything of value to the world, you've earned the prestigious honour of being the first person that I've ever blocked on GitHub. I'd like to take a moment to thank GitHub for adding the ability to block users from organizations.

Contributor

thestinger commented Nov 11, 2016

Since I'm not particularly interested in the opinions of entitled morons that are too lazy to contribute anything of value to the world, you've earned the prestigious honour of being the first person that I've ever blocked on GitHub. I'd like to take a moment to thank GitHub for adding the ability to block users from organizations.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.