Closed GoogleCodeExporter closed 9 years ago
Sorry... I just realized that I eventually get an errormessage:
"Error applying iptables rules. Exit code: -1. Iptables v1.4.10".
After this the firewall is disabled. If I then try to enable Droidwall, I get
the same message after some while. But, if I during the process kill Droidwall
and then restart it, the firewall is enabled and it works again.
Original comment by matt...@julrim.com
on 15 Jun 2011 at 8:05
Sorry for spamming. I remember now that the problems began like this:
I installed Droidwall and began to add new rules. After a while I noticed that
there appeared to be a limit to how many rules that could be used. If I, after
say twenty applications, added a rule I got the error message. When I removed
the new rule, it worked fine again.
Original comment by matt...@julrim.com
on 15 Jun 2011 at 8:12
This seems to be a very common problem since I updated iptables to version
1.4.10
Unfortunately, I could never reproduce it in any device that I can test!
Could you please try DroidWall v1.5.0 (previous version) to see if it fixes the
problem? You can get the APK in the Donwloads section.
Please let me know the results. If that works, I will try to compile the newest
iptables (1.4.11.1) and see if it works better.
Thanks
Original comment by rodrigo...@gmail.com
on 15 Jun 2011 at 2:03
Original comment by rodrigo...@gmail.com
on 15 Jun 2011 at 2:04
Hello again. Applying rules with version 1.5.0 was no problem (tried a few
apps), but when I tried to enable the firewall, I recieved the following
message:
"Error applying iptables rules. Exit code: 1
iptables v1.3.7
[1] Segmentation fault /data/data/com.g...
modprobe: chdir(/system/lib/modules): No such file or directory
(^above line repeated a number of times)
iptables: Protocol wrong type for socket
Original comment by matt...@julrim.com
on 16 Jun 2011 at 8:20
[deleted comment]
exactly the same problems as above - but only since using Droidwall with froyo,
eclair was no problems
Original comment by tilo....@googlemail.com
on 21 Jun 2011 at 5:43
I was able to compile another iptables version for Android. Seems to be working
fine on my test devices :)
Can someone please test the attached development version to see if this one
fixes the "Exit code: -1" problem?
Thanks!
Original comment by rodrigo...@gmail.com
on 14 Jul 2011 at 7:44
Attachments:
[deleted comment]
Deleted previous post as not needed anymore.
Looks like the quick fix for this issue is to create the /system/lib/modules
directory, as it doesn't seem to exist in Android 2.3.3 (Samsung Galaxy Tab,
Overcome 3.0.1 rom) OR Android 2.3.4 (Samsung Galaxy S2, VillianROM 2.0).
Droidwall stops hanging at Apply Rules after the directory is created (with
root:root ownership as per other files/folders in the /system/lib dir).
Original comment by victor.w...@gmail.com
on 16 Jul 2011 at 10:26
The dev version did not work for me, I get the same "Exit code: -1". Thanks for
the try though!!
When I created the /system/lib/modules-folder, the problem disappears! Thanks
for the tip!
Original comment by matt...@julrim.com
on 17 Jul 2011 at 6:33
DroidWall 1.5.2 has been just published on the Android Market!
This version should fix this problem for everyone :)
No workarounds are needed anymore ;)
Original comment by rodrigo...@gmail.com
on 20 Jul 2011 at 7:27
Original issue reported on code.google.com by
matt...@julrim.com
on 15 Jun 2011 at 7:59