From: Kenneth Kalmer <kenneth.kalmer@gmail.com>
To: netfilter@lists.netfilter.org, GLUG-Chat <glug-chat@linux.org.za>
Subject: Patching iptables 1.2.11 and kernel 2.6.10
Date: Fri, 4 Mar 2005 01:56:09 +0200 [thread overview]
Message-ID: <fad9d484050303155657737228@mail.gmail.com> (raw)
Guys
I've spend hours trying to figure this, and plenty of Google searches.
If anyone can help it would be greatly appreciated.
I'm trying to get IPP2P and the layer7-filter to work with iptables
1.2.11 and kernel 2.6.10 on Fedora Core 3. The kernel patches cleanly,
compiles just fine and reboots perfectly. The problem is that I can't
get iptables to compile.
I get the same error message every time I run make:
#error including kernel header in userspace; use the glibc headers instead!
One suggestion was to compile iptables against /usr/include/linux
instead of /usr/src/linux. This worked, but none of my new modules
were available. Another suggestion was to edit
/usr/src/linux/includes/linux/config.h and comment out the error line
with the above message. This worked, I got a compiled and installed
iptables, man pages, the works.
Problem is that for every rule I try I get the same response from iptables:
# iptables -A FORWARD -o eth0 -m ipp2p --ipp2p -j DROP
iptables: No chain/target/match by that name
# iptables -A FORWARD -o eth0 -m ipp2p --ipp2p -j REJECT
iptables: No chain/target/match by that name
When I run:
# iptables -m ipp2p --help
I do get help, leading me to believe that the iptables binary is
screwed in some way. Looking in /lib/iptables I can see
libipt_ipp2p.so and libipt_layer7.so. The modules exists and both can
be loaded.
How would I get iptables to compile with my modules without changing
(and breaking) the kernel source? I know nothing about C, or C++ so I
can't dive in and fix things up myself.
Any help would be appreciated.
--
Kenneth Kalmer
kenneth.kalmer@gmail.com
http://opensourcery.blogspot.com
next reply other threads:[~2005-03-03 23:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-03 23:56 Kenneth Kalmer [this message]
[not found] ` <20050304061112.GQ20645@hvs.envisage.co.za>
2005-03-04 8:29 ` [GLUG-chat] Patching iptables 1.2.11 and kernel 2.6.10 Kenneth Kalmer
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=fad9d484050303155657737228@mail.gmail.com \
--to=kenneth.kalmer@gmail.com \
--cc=glug-chat@linux.org.za \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox