1. Check out our companion app, Forums for Android! Download from Google Play

is there an IP BLOCKER app?

Discussion in 'Android Apps & Games' started by rubinscube, Jun 6, 2010.

  1. rubinscube

    rubinscube Well-Known Member
    Thread Starter
    36

    Dec 5, 2009
    131
    5
    36
    Colorado
    I would like to use my wifi on my droid at the college campus with the ability to block certain ip's. is this possible, or is it only wishful thinking?:thinking:
     

    Advertisement

  2. jwmacdon1231

    jwmacdon1231 Well-Known Member
    143

    Nov 15, 2009
    1,139
    119
    143
    Student
    Houston, TX
    I think it may be wishful thinking.

    Sent from my Nexus One using Tapatalk
     
    rubinscube likes this.
  3. Markthedude

    Markthedude New Member
    5

    Sep 25, 2010
    1
    0
    5
    Is there an app now? Hoping that the wishful thinking is over.
     
  4. A.Nonymous

    A.Nonymous Well-Known Member
    213

    Jun 7, 2010
    7,061
    966
    213
    You want to block your phone from accessing certain IPs?
     
  5. BURNadwareDevs

    BURNadwareDevs New Member
    5

    Sep 3, 2011
    3
    0
    5
    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 *************
    Permissions Denied
    AdAway
     
  6. Petrah

    Petrah Psychotic Female
    333

    Jun 13, 2011
    4,086
    1,468
    333
    Female
    Annoying my X-Husband
    Hanover Park, IL
    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).
     
  7. alostpacket

    alostpacket Over Macho Grande?
    513

    Nov 29, 2009
    7,978
    3,606
    513
    Android App Developer
    NY
    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)
     
  8. I can haz fun

    I can haz fun New Member
    26

    Oct 22, 2011
    2
    4
    26

    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 (Text):
    1. code google com p ad-away
    2. (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

    +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 (Text):
    1.  
    2. code google com p iptables4n1
    3. (dot dot slash slash)
    malware applications ARE NOT free applications

    the less malware is tolerated, the less malware there will be
     
  9. Petrah

    Petrah Psychotic Female
    333

    Jun 13, 2011
    4,086
    1,468
    333
    Female
    Annoying my X-Husband
    Hanover Park, IL

    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
     
  10. oreshek

    oreshek New Member
    6

    Dec 24, 2013
    2
    1
    6

Share This Page

Loading...