Tag Info

Hot answers tagged

7

Not quite answering your question, but switching off Background Data usage should stop chatty apps from doing anything in the background, and restrict it to just apps you launch and use, rather than apps that are syncing and checking for status updates all the time. If you add the Power Control Bar (built into Android since 1.6) to your home screen it's ...


6

If you have a rooted phone, you can always edit your hosts file to block known adult sites. Trying to block all sites is an exercise in futility, unless you opt for a slight reversal of logic and use white-listing wherein only allowed websites are allowed to be connected to and all others are blocked. As of now, I'm not aware of any app on Android that ...


5

Mobiwol is an Android firewall application that does not require root. They somehow use the VPN interface for firewalling (without actually connecting you to a VPN server). We've used technology available to us from within the VPN packaging module offered by Android to be able to gain visibility to your applications' network activities I tried it ...


5

You can use rules like this in your custom scripts: $IPTABLES -A "droidwall-wifi" -m owner --uid-owner 12345 --destination "192.168.1.0/24" -j RETURN Instead of 12345, you need to specify the UID assigned to the app; you can find that UID in the list of apps in DroidWall. Remember that UIDs are assigned dynamically, and if the app is removed, the UID ...


5

If you have Android ICS, you can set the "Restrict background data" setting for each app. Go to Settings > Data usage, select the Mobile tab, then scroll down and select the app that you want to restrict. You can set the option at the bottom of the page that appears. If an app is built properly, setting this option will disallow the widgets and ...


5

DroidWall is pretty good, but it requires root, of course. http://www.appbrain.com/app/com.googlecode.droidwall It allows you to control on an app-by-app basis which applications can access the network, and has separate permissions for Wifi and 3g.


4

It doesn't block content, but X3Watch monitors what websites you visit. If you use that in conjunction with DroidWall as suggested by Sparx, or use an App Protector to block/limit other apps, that may help. Update: Covenant Eyes now has an app now available in the Market. As with X3Watch, it doesn't block sites (though it may in the future) but reports ...


4

I know of no way to restrict an app to the 3G network (as opposed to 2G/4G), but there are several solutions to restrict apps to either WiFi or mobile networks (or keep/allow them from/to both). Examples include DroidWall - Android Firewall1 (which you already mentioned, but which is discontinued), its successor AFWall+2, its fork Android Firewall3, and -- ...


4

The other answers are correct in that setting firewall rules requires root. And if you have root, you could simply deny internet permissions for a specific app without even needing a firewall (Permissions Denied or built-in with a CyanogenMod rom). However, there is something you can do to partially circumvent the problem. Using Set DNS, you can change your ...


3

Might be worth a shot to try this: $IPTABLES -A "afwall-reject" -m mac --mac-source 00:00:00:00:00:00 -j DROP the switches in iptables are case-sensitive. Replace 00:00:00:00:00:00 that with the MAC address of the BSSID that is transmitting wifi beacon packets, and password protect it to prevent mitigation attempts in trying to override it.


3

Cyanogenmod has tcpdump installed. You can run it from the shell, just make sure you select the correct interface: tcpdump -i tiwlan0 -vv Or, you can write the dump to a file on your sdcard, and analyze it with Wireshark on your desktop later: tcpdump -i tiwlan0 -w /mnt/sdcard/tcpdump.out There is also software like Shark for Root, which will ...


3

As far as I know, Android isn't setup to use hosts.allow and hosts.deny However, it is setup to use a standard hosts file in /system/etc/hosts Unfortunately, it doesn't support wildcards, so it might be difficult to limit the device to a single domain via that method. iptables probably are your best bet - perhaps you could post the rules you attempted, ...


3

T mobile has some sort of optional content filter also. I know that it only works when you are browsing over 3g/4g/edge, not wifi. I don't know how well it works though, as the only experience I had with it was it being turned on in error and me having to call to get it turned back off.


3

It may be worth contacting your carrier. I know vodafone UK, for example, offers some sort of parental control. Though this wouldn't monitor access over wifi.


3

I'm pretty sure that Android includes iptables, which is the standard firewall for any Linux. What I have no information about is whether iptables is compiled into the kernel used on all phones, but you might get more information out of this thread in the xda-developers forum.


3

I believe this is simply because Android puts the Wifi to sleep to save power when the screen is turned off. You can try setting the Wifi Sleep Policy: Settings > Wireless & Network Setting > Wifi Settings > Press Menu button > Advanced > Wifi sleep policy to Never and see if your problem still persists. Alternatively though, instead of ...


2

1.Do these applications runs all the time in the background also when I'm not connected to WAP or WiFi? That depends on the specific security application. 2.In case you recommend to have such apps , which applications do you prefer? I prefer being cautious in what I install, rather than having Big Brother Watching Over Me. As a Linux-based ...


2

Shark/Sharkreader in market (tcpdump frontend)


2

I found this app "Onavo". I did not try it but maybe you want to ;) I read that you can set the limit in the data usage settings. But i don't find the settings, maybe because I use stock rom. Hope this answer could help you.


2

It is normal to disable Droidwall, for the reason that it blocks any incoming packets for port 67, to allow Wifi Tethering to work. Or quite simply, allow a custom script that matches the port number 67 which is dhcp to pass through. FYI about Droidwall - the functionality and development efforts have been discontinued and the author sold it off to Avast. ...


1

This sounds like the behavior if you have blacklist mode enabled. Double check the (subtle) whitelist/blacklist default button (the text above the apps listing).


1

I figured things out. For one, after I added the iptable rule, I needed to REBOOT my phone for it to apply (which I wasn't doing). Secondly, I needed to use the LAN Mac Address (NOT the BSSID/Wireless MAC address) in order for the iptable rule to work. Thirdly, I downloaded AFWall+. It allowed me to set it as administrator to prevent uninstallation. The ...


1

AFWall+ author here. It should work on CM 7.x ( I'm using it). IF you have issues please send me logs from Menu->Firewall Rules-> Send error report I'll look into it.


1

I had the same problem with wifi tethering after I installed Droidwall. Though the wifi connection was successful but I got no internet access. I got it working simply by adding the DNS in my laptop. Hope, it works for you or anyone facing the same problem. Change/Add DNS 4.2.2.2 and 8.8.8.8 in your PC/Laptop. That's it.


1

You can set permissions (Allowed All / Wi-Fi Only / Blocked All) on per-app basis with LostNet Firewall: https://play.google.com/store/apps/details?id=com.lostnet.fw.free


1

I'm pretty sure what you're asking for is a firewall, so by searching for that I've found what seems to be a very popular app that might work for you: DroidWall - Front-end application for the powerful iptables Linux firewall. Allows you to restrict which apps can access the network. I tried finding some other alternatives for you, but every page I ...


1

To firewall, you need a root, as it modifies the iptables and filters the network stack. The iptables comes with Droidwall which is btw, an excellent tool and a must have if your ROM is rooted :) Edit: Just checked mine, in theory its possible to create a script to modify the iptables to block the domain calendar.google.com whilst allowing play.google.com ...


1

If you have Droidwall, allow access to "(kernel) - Linux Kernel". On my phone this is definitely the reason why Android answers or not to a ping or tracert.


1

DroidWall is an Android front end for iptables. Root is required though.



Only top voted, non community-wiki answers of a minimum length are eligible