RuiKuang / droidwall

Automatically exported from code.google.com/p/droidwall
0 stars 0 forks source link

Droidwall stops blocking traffic when Data usage in turned on in ICS #243

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use white listing
2. Turn on Data usage logging in ICS
3. Try accessing internet from an app that is not white listed and it will get 
access

What is the expected output? What do you see instead?
No network access.

What version of the product are you using? On what operating system?
Droidwall 1.5.7, Cyanogenmod9 on Galaxy s2

Please provide any additional information below.
It seems that data usage logging is adding an iptables rule that is before any 
rules added by droidwall and is matched by all apps.

Original issue reported on code.google.com by westandr...@gmail.com on 29 Mar 2012 at 7:44

GoogleCodeExporter commented 9 years ago
Me too
Droidwall 1.5.7, ics 4.0.3 on Galaxy s2
After reboot any app that is not white listed and it will get access
如果我在超级终端执行 iptables -F 
命令,然后再回到droidwall应用规则就又能正常工作。

Original comment by zhang988...@gmail.com on 9 Apr 2012 at 5:27

GoogleCodeExporter commented 9 years ago
Same for me

Droidwall 1.5.7
ICS 4.0.3
Xperia Ray / ST18i  (v. 4.1.A.0.562)
White list mode

Droidwall iptables rules actually did work initially even though "mobile data 
limit" was active.

At some point apps wasn't blocked anymore and toggling "mobile data limit" gets 
droidwall rules to take effect / not take effect.

Original comment by glyrup....@mailme.dk on 26 Apr 2012 at 4:58

GoogleCodeExporter commented 9 years ago
Same problem.  DroidWall works fine if Data Usage Limit option is *not* enabled 
in Settings.  If Data Usage *is* enabled, then firewall fails - all apps get 
Internet access.  If Data Usage is then disabled (after being enabled), 
disabling/enabling Droidwall seems to re-apply the firewall rules.

Galaxy Note LPY Stock Rooted, Android 4.0.3
Whitelist mode

Original comment by victor.w...@gmail.com on 12 May 2012 at 8:42

GoogleCodeExporter commented 9 years ago
I can confirm I just disabled the data usage logging (I don't really need it, I 
use Onavo) and the network was blocked for the apps it is supposed to be 
blocked for.

Galaxy S III with ICS 4.0.4

Original comment by carlosgd...@gmail.com on 5 Jul 2012 at 4:45

GoogleCodeExporter commented 9 years ago
It does not work with Galaxy S3 with ICS 4.04 and rooted. No matter what I 
check or unchecked, all app have access to data (4G in my case). 

Using DroidWall 1.5.7 with White List mode.

Original comment by kristoph...@gmail.com on 1 Aug 2012 at 4:25

GoogleCodeExporter commented 9 years ago
This issue has been fixed by adding two command to custom script. I have tested 
it with my phone and it seems to work without any issue at the moment. 

See the link below:
http://code.google.com/p/droidwall/issues/detail?id=222

Original comment by kristoph...@gmail.com on 1 Aug 2012 at 4:35