Comments (26)
I was told, that http://code.google.com/p/android-wifi-tether/ brings an own
iptables
with it. Maybe this would also the solution for this problem?
Original comment by [email protected]
on 27 Jan 2010 at 8:29
from droidwall.
Can you please try to install this application and let me know the results?
If that works I may try to implement a similar approach on Droid Wall.
Thanks
Original comment by [email protected]
on 28 Jan 2010 at 1:41
from droidwall.
I just installed this onto my rooted Droid and get the same error code. Would
love to get this working so I can
control which apps get access.
Thanks
Original comment by [email protected]
on 28 Jan 2010 at 3:39
from droidwall.
@Rodrigo: Of course I can install wifi tether. But how can I use iptables from
this
app with DroidWall? (Sorry, I am not so deep into Android... Linux/Unix is no
problem.)
Just tell me exactly what I should try.
Original comment by [email protected]
on 28 Jan 2010 at 11:38
from droidwall.
@rhcnbg: If the wifi tether application install the iptables executable in the
system
path you should be able to run Droid Wall after installing AND running wifi
tether.
I still suspect that it will miss a netfilter kernel module required by Droid
Wall -
if that is the case you will receive a different error message when trying to
apply
the rules on Droid Wall. That can probably be fixed by shipping the kernel
module
with Droid Wall tough.
Original comment by [email protected]
on 28 Jan 2010 at 11:45
from droidwall.
I'll try asap. In a German android forum I was told that the milestone kernel
does
include everything that is needed, only iptables is missing.
Original comment by [email protected]
on 28 Jan 2010 at 6:03
from droidwall.
=> /data/data/android.tether/bin/iptables
Original comment by [email protected]
on 28 Jan 2010 at 6:06
from droidwall.
Does not work if wifi tether is just installed. But now I have iptables on the
phone.
Where shall I place it?
Original comment by [email protected]
on 28 Jan 2010 at 11:04
from droidwall.
Copied iptables to /system/bin => DroidWall is working! :-)
Original comment by [email protected]
on 28 Jan 2010 at 11:20
from droidwall.
Awesome!
I will keep this issue opened as a future enhancement. I will try to implement a
behavior similar to wifi tether.
Original comment by [email protected]
on 29 Jan 2010 at 11:30
- Changed state: Accepted
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
from droidwall.
Pls I downloaded droidwall on my HTC hero running on 3.2 modaco Rom wit
wireless tethering but its
not working...I get a message "error applying iptable rules. Exit code 1...pls
help me I really need dis
app...thanx
Original comment by [email protected]
on 2 Feb 2010 at 3:12
from droidwall.
It would be nice if DroidWall could include its own iptables, although anybody
smart
enough to root their Droid/Milestone should also be able to copy iptables, but
it's
just an added hassle.
Couldn't you just make DroidWall also check for iptables in the location where
WiFi
Tether puts it?
Original comment by bart.crijns
on 3 Mar 2010 at 8:31
from droidwall.
Here it also seems that after a reboot, though the rules still are shown
correctly, I
have to aply them again to get it working...
So maybe you should include simething like an auto-apply at startup of the
phone...
Original comment by [email protected]
on 3 Mar 2010 at 9:32
from droidwall.
@rhcnbg If you press "Show Rules" after a reboot and it displays a non-empty
list of
rules it means that the rules were correctly applied by iptables. DroidWall
already
auto-apply at startupt of the phone.
If the "Show Rules" is empty after a reboot, I would appreciate a logcat output
catpture of your reboot.
Original comment by [email protected]
on 3 Mar 2010 at 12:16
from droidwall.
moto droid with netfilter enabled kernel. Using DroidMod 1.0
i have moved iptables from wifi tether to /system/bin.
After selecting app and applying rules i get "Exit Code: 1 - iptables: No
chain/target/match by that name"
Original comment by [email protected]
on 4 Mar 2010 at 2:14
from droidwall.
@fonebox this happens because your kernel was compiled without the "netfilter
owner"
kernel module. netfilter has a bunch of optional extra modules, and the "owner"
module must be enabled in the kernel configuration to allow filtering in a
"per-application" basis. If you use a custom ROM, you can probably request the
ROM
developer to enable this kernel module in the next releases. Regards
Original comment by [email protected]
on 4 Mar 2010 at 12:08
from droidwall.
Have droid w/ stained glass rom. Getting error 127, no iptables. Can't find
the directory with the
iptables to copy as suggested (even with files unhidden in astro). Can someone
provide the iptables for
me to put in that directory or provide another workaround.
Original comment by [email protected]
on 11 Mar 2010 at 4:46
from droidwall.
When I try to run android-wifi-tether, it complains "No Netfilter!". (Barnacle
wifi
tether works great!)
With android-wifi-tether installed, I still can't find iptables. When mounting
the
device I don't see the root directory. And AndExplorer doesn't seem to work
right.
How to I move the iptables directory around?
(Moto Droid 2.1)
Original comment by [email protected]
on 5 Apr 2010 at 3:34
from droidwall.
Explicit instructions to copy the file:
1. Download http://code.google.com/p/android-wifi-tether/ and install.
2. Superuser
$ su
2. Remount system as rw (can use Droid Root Helper app to do this)
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
3. Copy iptable to system executables directory
# cp /data/data/android.tether/bin/iptables /system/bin
However, I get this error:
"Error applying iptables rules. Exit code: 3
iptables v1.3.7: can't initialize iptables table 'filter': iptables who? (do
you need
to insmod?)
Perhaps iptables or your kernel needs to be upgraded."
Moto Droid, Android 2.0
Original comment by [email protected]
on 6 Apr 2010 at 4:21
from droidwall.
[deleted comment]
from droidwall.
with out mess with binrys in the /system it also work just with a symlink:
1. Download http://code.google.com/p/android-wifi-tether/ and install.
2. switch to root
$ su
2. Remount system as rw (can use Droid Root Helper app to do this)
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
3. add syslink iptable to the android.tether directory
# ln -s /system/bin/iptables /data/data/android.tether/bin/iptables
4. remount the system as ro!
# mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system
it work for me on a Milestone with 2.1
Original comment by [email protected]
on 11 Jun 2010 at 7:49
from droidwall.
does the same on a rooted Xperia X10.
Unfortunately the android wifi tether fix does not work ad wifi tether
complaisna bout netfilter not being there and force closes.
Original comment by [email protected]
on 30 Jun 2010 at 6:13
from droidwall.
the same on LG GT540
no iptables, no netfilter, no alternative kernels/firmwares :)
Original comment by NDeseven
on 28 Aug 2010 at 8:47
from droidwall.
Version 1.4.0 now ships with a bundled iptables :)
Original comment by [email protected]
on 6 Sep 2010 at 7:12
- Changed state: Fixed
from droidwall.
Using 1.4.5 on rooted LG GT540 with default LG 2.1 ANDROID ROM. And am
receiving the above mentioned error.
Original comment by [email protected]
on 27 Nov 2010 at 7:57
from droidwall.
@tomi.urankar, can you please post here the contents of the /proc/cpuinfo file?
You can use a file explorer for example to read that file. Thanks
Original comment by [email protected]
on 28 Nov 2010 at 6:17
from droidwall.
Related Issues (20)
- Net speed limitation option request
- Cannot Sent SMS ("Message not sent, Review message and try again")
- ask for permission
- Block Connection to Specific Wireless Access Point
- Prevent Uninstallation
- Droidwall blocks everything, even allowed apps
- Please describe menu button location better
- when can custom script return a port for a blocked app?
- Enable/disable button inverted
- Cannot access menu on Samsung Galaxy Tab S 8.4 HOT 6
- Apps in blacklist reboot my Galaxy S4 when they are run HOT 2
- It doesn't work on htc shooter 3d in 3g
- On the fly permissions prompt
- Dont know what to unlock so Store Google Play apps can download
- Can't access internet over browser.
- id 1000+root must be whitelisted on Android 5.0/lollipop HOT 1
- white application list by packege name
- Doesn't work on oppo r6007 android 4.3
- v 1.5.7 - lower button panel completely missing - cant turn it on/off etc HOT 4
- Droidwall not working properly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from droidwall.