by Freak_NL · 10y ago · 0 comments
I'm not sure it's wise to trust your phone these days. I can root and install a custom ROM, but that doesn't solve the problem. What ROM do you recommend? Most are forks of Android that change some features or remove bloatware; I don't know one that locks down the fundemental security of the OS.
> From what I can tell a local firewall is possible (with iptables)
How can you efficiently configure iptables?
1) Run each app in isolation
2) Sniff network traffic
3) Detect and identify every packet heading to an undesirable destination
4) Write a rule to block it
5) Retest until traffic is clean
6) Repeat every time any software is added or updated.
That's not practical. Also, some of the leakage is embedded so deeply in the OS that I don't know if iptables (or other software firewalls) are sufficient.
But on smartphones your choices are limited. There are a couple of alternatives, but losing access to either Google's or Apple's app-store appears to be an insurmountable obstacle for most smartphone owners. I am assuming (not judging though!) this is the case here too.
On a technical level though, all IP traffic passes through iptables, even on Android. You are right that manually blocking all that stuff is impractical. Doing the filtering outside of the phone won't solve that dilemma though.