GithubHelp home page GithubHelp logo

Comments (13)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
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 [email protected] on 6 Mar 2011 at 7:33

from droidwall.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
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 [email protected] on 8 Mar 2011 at 12:37

from droidwall.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
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 [email protected] on 8 Mar 2011 at 2:38

from droidwall.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
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 [email protected] on 8 Mar 2011 at 3:08

from droidwall.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
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 [email protected] on 8 Mar 2011 at 3:15

from droidwall.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
Thanks a lot.

Original comment by [email protected] on 8 Mar 2011 at 3:23

from droidwall.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
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 [email protected] on 8 Mar 2011 at 4:22

from droidwall.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
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 [email protected] on 8 Mar 2011 at 4:31

from droidwall.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
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 [email protected] on 8 Mar 2011 at 7:08

Attachments:

from droidwall.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
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 [email protected] on 8 Mar 2011 at 10:07

from droidwall.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
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 [email protected] on 9 Mar 2011 at 10:03

from droidwall.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
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 [email protected] on 9 Mar 2011 at 11:59

Attachments:

from droidwall.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
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 [email protected] on 23 Sep 2011 at 7:10

  • Changed state: Fixed

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.