Closed GoogleCodeExporter closed 9 years ago
Weird... this shouldn't be necessary since iptables automatically loads the
necessary modules on-demand.
Does executing "modprobe xt_owner" makes DroidWall work for you? Thanks.
Original comment by rodrigo...@gmail.com
on 6 Mar 2011 at 7:33
I haven't modprobe on my stock wildfire, but I have insmod
{{{# insmod xt_owner.ko
insmod: can't open 'xt_owner.ko'}}}
Any chance to push a crosscompiled version of that module?
Like we already do with iptables but probably any device will need yours
Original comment by laurento...@gmail.com
on 8 Mar 2011 at 12:37
This is unfortunately not possible.
The kernel validates the object's "magic cookie" before loading it. This means
that in order to load a kernel object it must be compiled specifically for your
kernel.
Original comment by rodrigo...@gmail.com
on 8 Mar 2011 at 2:38
Sorry for the delay.
I have a HTC Hero with Android 2.1.
The stock kernel doesn't supply "xt_owner" module so I compile it by myself, of
course with the right Versionmagic 2.6.29-063c4d24.
The module "xt_owner", copied to /system/lib/modules is not auto loaded by the
kernel because wasn't compiled together, instead I need lo load with "modprobe
xt_owner" command.
Original comment by alberto....@gmail.com
on 8 Mar 2011 at 3:08
Oh, now that makes sense!
I want to implement support for custom scripts soon, so you will be able to do
anything you want (including loading extra modules) ;)
Original comment by rodrigo...@gmail.com
on 8 Mar 2011 at 3:15
Thanks a lot.
Original comment by alberto....@gmail.com
on 8 Mar 2011 at 3:23
Is that "magic cookie" related to a spefific kernel compilation?
I mean if I find the same kernel version source code is there any hope to get
it working or I simply need to keep my eyes on issue #112 ? :)
Original comment by laurento...@gmail.com
on 8 Mar 2011 at 4:22
alberto can you tell me more on your solution?
I want to do the same with my HTC Wildfire with stock ROM, have you used a
vanilla kernel or any sources released by HTC? Any specific .config setting?
Original comment by laurento...@gmail.com
on 8 Mar 2011 at 4:31
Laurento,
This is for Hero but for Wildfire can be similar:
http://android.modaco.com/content/htc-hero-hero-modaco-com/313133/howto-compilin
g-tun-tap-driver-for-htc-hero/
The attachments are for kernel 2.6.29-063c4d24
Original comment by alberto....@gmail.com
on 8 Mar 2011 at 7:08
Attachments:
Thanks for the reply :)
I successfully compiled the module in the afternoon... I'm going to wait for
tomorrow to test it. I hope all works ;)
Original comment by laurento...@gmail.com
on 8 Mar 2011 at 10:07
It works like a charm ;)
So now we only need to automatically run "insmod" when driodwall starts and we
can finally change that xt_owner related faq ;)
Original comment by laurento...@gmail.com
on 9 Mar 2011 at 10:03
Because I really need to use droidwall I made a *worsforme-really-bad-hack*
patch to autoload xt_owner module if needed.
I don't want to mess with system files, so I placed the module under
/sdcard/xt_owner.ko
Original comment by laurento...@gmail.com
on 9 Mar 2011 at 11:59
Attachments:
Hello all, I have just added a functionality called "Custom Script" on r210.
This will be officially released on the next version (DroidWall 1.5.3).
I will add more information about CustomScripts in the wiki.
Original comment by rodrigo...@gmail.com
on 23 Sep 2011 at 7:10
Original issue reported on code.google.com by
alberto....@gmail.com
on 5 Mar 2011 at 10:25