From: Evgeniy Zaitsev <eightn@roger.net.ru>
To: netfilter@lists.netfilter.org
Subject: CONNMARK patch do not work in kernel 2.6.9
Date: Sat, 4 Dec 2004 13:24:15 +0300 [thread overview]
Message-ID: <1241129595.20041204132415@roger.net.ru> (raw)
Hello.
I try to use latest patch-o-matic to
I have tried to use last patch-o-matic
(patch-o-matic-ng-20040621.tar.bz2 also do not work)
for addition of purpose CONNMARK in iptables on a kernel 2.6.9
But the patch is not set, as does not find the necessary lines of a code in a file
linux/net/ipv4/netfilter/ip_conntrack_standalone.c
================code===================
diff -uN --exclude .* --exclude *.o linux-2.4.3-pre3/net/ipv4/netfilter/ip_conntrack_standalone.c
linux-2.4.3-pre3-uml/net/ipv4/netfilter/ip_conntrack_standalone.c
--- linux-2.4.3-pre3/net/ipv4/netfilter/ip_conntrack_standalone.c Thu Aug 10 21:35:15 2000
+++ linux-2.4.3-pre3-uml/net/ipv4/netfilter/ip_conntrack_standalone.c Wed Mar 21 13:04:19 2001
@@ -92,6 +92,9 @@
len += sprintf(buffer + len, "[UNCONFIRMED] ");
len += sprintf(buffer + len, "use=%u ",
atomic_read(&conntrack->ct_general.use));
+#if defined(CONFIG_IP_NF_CONNTRACK_MARK)
+ len += sprintf(buffer + len, "mark=%ld ", conntrack->mark);
+#endif
len += sprintf(buffer + len, "\n");
return len;
================/code==================
The code "&conntrack->ct_general.use" is mentioned in this piece:
Will not prompt where to make changes what it would be possible to activate CONNMARK on a nucleus 2.6.9?
================code===================
if (test_bit(IPS_ASSURED_BIT, &conntrack->status))
if (seq_printf(s, "[ASSURED] "))
return 1;
if (seq_printf(s, "use=%u\n", atomic_read(&conntrack->ct_general.use)))
return 1;
return 0;
}
================/code==================
but this code is completely not similar that in a patch.
Prompt please, it is necessary to bring in what changes to a kernel
2.6.9, that CONNMARK would work?
--
Best regards,
Evgeniy mailto:eightn@roger.net.ru
next reply other threads:[~2004-12-04 10:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-04 10:24 Evgeniy Zaitsev [this message]
2004-12-05 15:19 ` CONNMARK patch do not work in kernel 2.6.9 Lopsch
2004-12-13 22:28 ` Re[2]: " Evgeniy Zaitsev
2004-12-14 1:41 ` Lopsch
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=1241129595.20041204132415@roger.net.ru \
--to=eightn@roger.net.ru \
--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.