From: Iulian Mongescu <iulianm@crinsoft.ro>
To: netfilter@lists.netfilter.org
Subject: CONNMARK problem
Date: Tue, 25 May 2004 16:24:00 +0300 [thread overview]
Message-ID: <40B348F0.2000700@crinsoft.ro> (raw)
[-- Attachment #1: Type: text/plain, Size: 2140 bytes --]
Hi ,
I am trying to add CONNMARK support to my kernel , and after
compilation , the CONNMARK.o module is not made.
This is what I done on my RedHat 9 system:
1. Get kernel sources : linux-2.4.26.tar.gz
2. Get: patch-o-matic-ng-20040302.tar.bz2
3. Apply patch only for CONNMARK ( using ./runme extra , and test
it with ./runme --test CONNMARK)
* Already applied:
Testing CONNMARK... applied
Excellent! Source trees are ready for compilation.
4. make menuconfig ,and using the old config ( importing RedHat
Athlon config)
5. Selecting (like modules) :
* <M> Connection state match support
<M> Connection mark match support (NEW)
<M> Connection tracking match support
6. finish to compile without any errors , but the CONNMARK.o module
was not build
7. Trying to figure what went wrong , I saw that in .config there is
not set CONFIG_IP_NF_TARGET_CONNMARK , which is required by
Makefile to build the object :
obj-$(CONFIG_IP_NF_TARGET_CONNMARK) += ipt_CONNMARK.o
8. More, I checked Config.in file (from netfilter folder) and :
* if [ "$CONFIG_IP_NF_CONNTRACK_MARK" != "n" ]; then
dep_tristate ' Connection mark match support'
CONFIG_IP_NF_MATCH_CONNMARK $CONFIG_IP_NF_IPTABLES
fi
* As you see , it is testing if $CONFIG_IP_NF_CONNTRACK_MARK
( which is not set by anybody , and get true cause is not
"n" ) and is setting: CONFIG_IP_NF_MATCH_CONNMARK as a
module in ".config" file .
* Conclusion the only line in ".config" file regarding
CONNTRACK is : CONFIG_IP_NF_MATCH_CONNMARK=m , so normaly
that make is not building CONNMARK.o
9. I try to set manually in ".config" those variables, but is not
working , I get some errors cause CONFIG_IP_NF_CONNTRACK_MARK is
tested in ip_conntrack.h, and if it is set manually is not
exported ...duno why.<><><>
<><>Any help will be appreciated .
Thank you ,
Iulian
<><>
[-- Attachment #2: Type: text/html, Size: 2655 bytes --]
next reply other threads:[~2004-05-25 13:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-25 13:24 Iulian Mongescu [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-12-13 21:08 connmark problem Krystian
2004-12-13 21:19 ` Lopsch
2012-06-26 8:38 Oguz Yilmaz
2012-06-26 21:35 ` Andrew Beverley
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=40B348F0.2000700@crinsoft.ro \
--to=iulianm@crinsoft.ro \
--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;
as well as URLs for NNTP newsgroup(s).