I want create firewall app for Android that when an app wants to connect to internet shows app's name and let the user block it for permanent or block it temporarily or allow it and when that app wants to receive data from network shows app name and user can allow or deny it.
I viewed this question: create firewall, but it doesn't cover my needs.
Any suggestion to detect which apps have access to network and / or receive data from it?
Thanks!
Installing a firewall app on your device can also improve network traffic management, increase browsing speed, and provide better security. It works great alongside many of the other security apps available on Android.
NetGuard, by default, allows all traffic to prevent hard to find problems. You need to selectively block traffic yourself by tapping on the mobile or Wi-Fi icons. Be aware that NetGuard will allow traffic to an application when the screen is on and the condition 'when screen on' is enabled.
NetGuard is the first free and open source no-root firewall for Android. Features: Simple to use. No root required.
A firewall is part hardware and part software, and the combination of each makes a huge difference. In this section, we will look at the differences between an appliance-based firewall and a standard operating system (OS) running a firewall as an application.
This is quite possible, and has been done before.
See these applications/implementations:
Depending on implementation it may require your device to be rooted.
Universal, non-ROOT, way is to create custom VPN service and track connections using NFLOG/ULOG kernel-userspace module.
See other QAs for reference:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With