yqpan1991 / droidwall

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

After tethering switch-off the firewall is no longer active #210

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.enable droidwall (I use whitelist mode)
1.enable tethering (PC tethered to the phone over wifi, inet reached via 3G)
2.tethering ok and the local firewall seem ok too (from the status menu the 
droidwall chain has 1 reference)
3.disable tethering -> after this no more references to the droidwall chain and 
all applications on the phone get access to the 3G interface

What is the expected output? What do you see instead?
the expected behaviour should intercept the tethering off event and restore the 
droidwall iptables setup (the tethering itself uses iptables and probably the 
tethering switch-off flushes the tables) 

What version of the product are you using? On what operating system?
droidwall 1.5.2 and 1.5.4, Nexus S (rooted) with stock gingerbread 2.3.4 and 
cyanogenmod 7.1 

Please provide any additional information below.

Original issue reported on code.google.com by g.agu...@gmail.com on 26 Nov 2011 at 5:40

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I have this issue as well, and I also use DroidWall in whitelist mode.

If only 3g is enabled when I turn on Portable Wi-Fi hotspot, then DroidWall 
continues uses the 3g rules on my phone while the hotspot is active, but as 
soon as I disable the hotspot, the firewall stops working at all, whether I'm 
on wifi or 3g. Disabling and re-enabling the firewall seems to be the only 
thing that will fix the problem.

I'm running DroidWall 1.5.7 with GingerRom 1.3 (based on Gingerbread 2.3.3) on 
the LG Optimus S (rooted).

Original comment by ViolaGir...@gmail.com on 20 Nov 2012 at 2:45