Code Monkey home page Code Monkey logo

Comments (26)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
@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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
@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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
=> /data/data/android.tether/bin/iptables

Original comment by [email protected] on 28 Jan 2010 at 6:06

from droidwall.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
Copied iptables to /system/bin => DroidWall is working! :-)

Original comment by [email protected] on 28 Jan 2010 at 11:20

from droidwall.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
@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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
@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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
[deleted comment]

from droidwall.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 14, 2024
@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.