• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

is there an IP BLOCKER app?

YES!!!

iptables

DroidWall uses iptables to control internets access by application

f-droid.org /repository/browse/?fdid=com.googlecode.droidwall

but iptables can be tasked to block ads from ip addresses



nixcraft.com /getting-started-tutorials/1427-iptables-block-ip-address.html
bodhizazen.net /Tutorials/iptables


for more root control over apps consider also installing

DroidWall
LBE Privacy Guard
Permissions Denied
AdAway
 
Upvote 0
There isnt really a hosts file in Android/linux* -- the closest thing is called iptables as mentioned above

*(not in the way Windows has a hosts file, the linux hosts file does not perform the same task as the windows one does)


there really is a hosts file capability in android, and it does really perform the same task as hosts in windows

simply create a HOSTS file according to the standards and place it here:

/system/etc/hosts

There is fantastic Open Source for managing it, most recently AdAway

Code:
code google com p ad-away
(dot dot slash slash)
HOSTS was not designed to BLOCK resolution, but it can be used for this purpose. An overly large HOSTS file can lead to unpleasant results

YES!!!

iptables

DroidWall uses iptables to control internets access by application

f-droid.org /repository/browse/?fdid=com.googlecode.droidwall

but iptables can be tasked to block ads from ip addresses



nixcraft.com /getting-started-tutorials/1427-iptables-block-ip-address.html
bodhizazen.net /Tutorials/iptables


for more root control over apps consider also installing

DroidWall
LBE Privacy Guard
Permissions Denied
AdAway

+1 * 1000

Stir in

SetDNS

and elect to use FoolDNS for wifi and 3g


ALL adware is by definition malware.

For additional malware blocking goodness someone needs to fork cyanogenmod to actually-include the code suggestion to report bogus data to apps according to the permissions you wish to spoof instead of block.

one's privacy is NEVER a commodity




For more iptables information read up on netfilter and the various android KERNEL requirements. You might experience "multiport" errors with current builds of iptables for android.

Code:
code google com p iptables4n1
(dot dot slash slash)
malware applications ARE NOT free applications

the less malware is tolerated, the less malware there will be
 
Upvote 0
Curious... couldn't you root and use a host file for that? That's how I block IP's and Domains on my kids computer. I use a custom host file (along with OpenDNS).

There isnt really a hosts file in Android/linux* -- the closest thing is called iptables as mentioned above

*(not in the way Windows has a hosts file, the linux hosts file does not perform the same task as the windows one does)


I totally forgot about this thread.

Yes, the host file works the same in the Android OS as it does on Windows. ;) I have AdFree Android installed on my phone to block the ads, and decided to open the host file (thank you I can haz fun for showing me where it's at) with a text editor and view it. The dev gets his info from the same developers who make the custom host file for Windows.. the very one I've been using for years on the machines in my house;

Blocking Unwanted Parasites with a Hosts File
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones