skullone / android_firewall

This is a fork of Droidwall by Rodrigo Zechin Rosauro - http://code.google.com/p/droidwall/
127 stars 90 forks source link

Logs are empty #75

Open ilanso opened 10 years ago

ilanso commented 10 years ago

Running 4.2.1 on MTK6859 Chinese phone. After installation (2.3.4), I blacklisted just one app (wifi, data and ip chain) enabled all logs (rejected and accepted), applied rules (even exported for test), rebooted. SD was checked, too. I noted the root shell permissions being granted. SuperSU also had it in its app list as granted with notifications enabled. Fresh after boot I checked Managed Apps (running) and saw it with 1 app and 1 process (setRulesOnBoot) as expected. I refreshed the weather gadget and rechecked Managed Apps - it was still there running. Then I started a browser straight to Yahoo.com and quickly closed it. Checked again the Managed Apps - the firewall stopped showing up (so I couldn't send report from there). I restarted it (noted the root permission being granted again) and checked both logs - they were empty. I had expected the browser traffic. ADB shows: -N droidwall-reject -A droidwall-reject -j NFLOG --log-prefix "[AndroidFirewall]"
-A droidwall-reject -j REJECT --reject-with icmp-port-unreachable Am I doing something wrong or missing anything? Why isn't the firewall always running? Thanks in advance. il.anso