From: Klaus Wacker <klaus_gr_W_kl_Acker@web.de>
To: netfilter@lists.netfilter.org
Subject: getting iptables into embedded kernel
Date: Tue, 31 Jul 2007 11:24:44 +0200 [thread overview]
Message-ID: <1529899887@web.de> (raw)
>> How to get iptables into a ppc kernel (2.6, netfilter
>> enabled) and where to store what to have functionality from the
>> start? I used NO_SHARED_LIBS=1
>> I am able to download start the kernel, but do not find iptables.
>
> AFAIK you cannot.
> Iptables is a *user*space utility to configure the Netfilter framework
> and I don't see how you'd compile that into the kernel.
>
>
> Rob
>
>
> Ok, I am a little confused with kernel modules. Anyhow I would like to
> do something like this here (from the install):
> "
> 4) If you want to build a statically linked version of the iptables
> binary, without the need for loading the plugins at runtime (e.g.
> for an embedded device or router-on-a-disk), please use
>
> % make NO_SHARED_LIBS=1
> "
>
> and I get a rather large executable binary (700kB). But I
> can't execute this nor do I know how to make it run inside my target.
> Klaus
>This is something different from compiling things "into" the kernel.
>You've just built a statically linked iptables binary: those binaries
>don't need external libraries, which is why they are larger because the
>functionality in the libraries must be present in the binary to actually
>make it standalone.
>So, you still get a binary called iptables which must be run from some
>shell (I guess).
>Rob
Yes, did that and then I try to run it but it only says "cannot execute binary file"
even I can execute other files.
Klaus
_______________________________________________________________________
Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 3 Monate
kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220
next reply other threads:[~2007-07-31 9:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-31 9:24 Klaus Wacker [this message]
2007-07-31 10:09 ` getting iptables into embedded kernel Frank Petran
-- strict thread matches above, loose matches on Subject: below --
2007-07-31 11:44 Klaus Wacker
2007-07-31 10:32 Klaus Wacker
2007-07-31 8:54 Wacker, Klaus
2007-07-31 9:12 ` Rob Sterenborg
2007-07-31 7:35 Wacker, Klaus
2007-07-31 7:57 ` Rob Sterenborg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1529899887@web.de \
--to=klaus_gr_w_kl_acker@web.de \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.