Skip to content

Commit

Permalink
Switch to NetGuard as VPN core
Browse files Browse the repository at this point in the history
  • Loading branch information
kasnder committed Dec 29, 2019
1 parent c1f3350 commit 5174219
Show file tree
Hide file tree
Showing 429 changed files with 23,717 additions and 3,223 deletions.
13 changes: 10 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
app/libs/
/app/full
/app/play

app/full/
app/play/
/app/release
/app/play

/.idea
/tools/config.sh
keystore.properties

.cxx/

# Built application files
*.apk
Expand Down
7 changes: 0 additions & 7 deletions .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions .idea/copyright/Kollnig___Oxford___GPL.xml

This file was deleted.

4 changes: 2 additions & 2 deletions .idea/copyright/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 0 additions & 30 deletions .idea/jarRepositories.xml

This file was deleted.

42 changes: 2 additions & 40 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 37 additions & 0 deletions ADBLOCKING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
Ad Blocking with TrackerControl
-------------------------

Instructions (you need to follow **all** the steps):

1. Enable the setting *'Block domain names'* in the advanced options (three dot menu > Settings > Advanced options > Block domain names; default is enabled)
1. Import or download [a hosts file](https://en.wikipedia.org/wiki/Hosts_(file)) using the TrackerControl backup settings (three dot menu > Settings > Backup > Download hosts file)
1. Disable browser compression (in Chrome: three dot menu > Settings > Data Saver > Off)
1. Wait at least 10 minutes to let the Android DNS cache time out
1. Test to see if ad blocking works by opening [this page](http://www.netguard.me/test)
1. Enjoy ad blocking, but don't forget to support application developers and website authors in other ways

<br />

Troubleshooting:

Because of routing bugs, some devices/Android versions require:

* the advanced option *Manage system applications* to be enabled and/or
* the network option *Subnet routing* to be disabled and/or
* two (not just one) DNS server addresses to be set in the advanced options, for example 8.8.8.8 and 8.8.4.4

<br />

Note that:

* applications, like web browsers, may cache data, so you may need to clear caches
* applications, browsers mostly, that have a *"data saver"*-like feature that proxies requests through their servers (eg. Opera w/ Turbo, Opera Max, Puffin, Chrome w/ data saver, UC Browser, Yandex w/ Turbo, Apus Browser, KK Browser, Onavo Extend, Maxthon) will not have ads blocked as TrackerControl cannot see those domain requests
* YouTube ads are not domain-based, and thus cannot be blocked with TrackerControl
* TrackerControl ignores the IP addresses in the hosts file, because it does not route blocked domains to localhost
* When TrackerControl imports the hosts file, it automatically discards any duplicates entries, so duplicate entries are not a problem and have no performance impact after the file is imported
* you can check the number of hosts (domains) imported by pulling the TrackerControl notification down using two fingers if your version of Android supports that functionality
* wildcards are not supported due to performance and battery usage reasons
* it is not possible to edit the hosts file (change/add/delete domain names) with TrackerControl
* you can disable ad blocking by disabling the setting *'Block domain names'* in the advanced options
* **ad blocking is provided as-is**, see also [here](https://forum.xda-developers.com/showpost.php?p=71805655&postcount=4668)
* **ad blocking is not available when TrackerControl was installed from the Google Play store!** (disable automatic updates of TrackerControl in the Play store application)
Loading

0 comments on commit 5174219

Please sign in to comment.