2013年01月06日

WiFi Adblocker, an yet another adblocking app for non-rooted Android

about my app ”WiFi AdBlocker”, https://play.google.com/store/apps/details?id=net.usb0.wifiadblock
(all adblock related apps were removed from Google Play Store. http://causeless.seesaa.net/article/347357563.html )

(日本語版は http://causeless.seesaa.net/article/310279216.html

This App is designed to block annoiing ads alike well-known apps s.t. AdAway, AdBlock Plus do. An advantage of this app is functional without ROOT, proxy settings. and Disadvantage is only works on WiFi network.


How to Use.
  1. Install app.
  2. Launch app and confirm notice "This app configure ... "
  3. Tap to enable "AdBlock Function" and connect your WiFi access point.
  4. Tap "Test current configuration" to examine if your device is properly configured.


How it works.
Android devices uses "DNS server" to resolve IP address (s.t. 10.2.3.4) from Domain name (s.t. example.com).
All Internet Service Probiders serve DNS server for their clients and some of them filter request to block EVIL domain. This is called "DNS filtering".
This app configures WiFi connection setting of your device to use customized DNS server to block ads. All contents on known ad-servers are blocked.


Advantages.
  • NO Rooting needed. = no risks to be brick your device.
  • NO proxy setting needed. = most all apps/browsers can be adblocked.
  • NO INTERNET access permission needed = this app do not access to internet.
  • Little CPU, memory consumption = consumes only when switching WiFi.


Disadvantage
s
  • Only works on WiFi connection. not works on GSM/3G/LTE. Because Android OS do not allow apps to modify DNS server except on WiFi.
  • Only works per domain name. Ads embeded directly in html cannot be removed. Embeded ads are from the author of website and may usefull for you, I hope.
  • This app depends on device-dependent behavior of WiFi configuration/programming API. It works on most devices but some devices cannot be configured properly. There is a list of devices that would be confirmed to work http://adblocktest.usb0.net/gen/ualist.txt
  • May slow-down your (only) first connection to web service because of longer distance to DNS servers.


Security Consideration
Any DNS servers may redirect your browser to 3rd-pirty, possibly evil servers. Your ISP and also evil crackers can do it by attack known as "DNS Poisoning". Keep in mind that you should use HTTPS to secure your connection on every situation. Adblocking by DNS filtering also works on secure websites.

This app NEVER proxy/wiretap your connections. It is guaranteed by Permission mechanism of Android OS. This app only do configure "where the server, that you will connect to, is".


Differences

from AdAway,
it rewrite "hosts file" which is in-device database of domain name to block ad-servers. It requires your device is rooted to work.
It works on all rooted device in very little memory consumption.

from Adblock Plus,
it proxy all http connection and rewrite contents. It requires proxy configuration to your brouwser.
it works on some non-rooted devices and most rooted devices. Memory consumption is a bit high.


Alternatives
If you know what DNS filtering is and how to manage your IP/DNS settings, installation is not required.
The filtering DNS servers, that this app apply to your device, are listed in https://app.usb0.net/blockdns.txt  . but please remember the IPs may be changed.


P.S.
Thank you for reading my poor English. If you have any idea to improve, please let me know via mail or twitter. Comments on this blog are not maintained so much.
posted by ko-zu at 00:17| Comment(0) | TrackBack(0) | Android | このブログの読者になる | 更新情報をチェックする
×

この広告は1年以上新しい記事の投稿がないブログに表示されております。