From: Patrick McHardy <kaber@trash.net>
To: Jan Engelhardt <jengelh@medozas.de>
Cc: pablo@netfilter.org,
Netfilter Developer Mailing List
<netfilter-devel@vger.kernel.org>
Subject: Re: nf_conntrack.acct has no effect
Date: Mon, 16 Mar 2009 17:56:52 +0100 [thread overview]
Message-ID: <49BE84D4.7050804@trash.net> (raw)
In-Reply-To: <alpine.LSU.2.00.0903161749530.16494@fbirervta.pbzchgretzou.qr>
Jan Engelhardt wrote:
> A forum made me (re)aware of
>
> Mar 15 18:20:25 wild-thing kernel: nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
> Mar 15 18:20:25 wild-thing kernel: CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Plase use
> Mar 15 18:20:25 wild-thing kernel: nf_conntrack.acct=1 kernel paramater, acct=1 nf_conntrack module option or
> Mar 15 18:20:25 wild-thing kernel: sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
>
> which prompted me to look into this a bit in detail. I was wondering
> which functionality I would lose on not setting nf_conntrack.acct. To
> my surprise, there is no loss of functionality, as the "nf_ct_acct"
> in nf_conntrack_acct.c nor /proc/sys/net/netfilter/nf_conntrack_acct
> which is the accompanied sysctl file cause the packet or byte
> counters to disappear from `conntrack -L` or /proc/net/nf_conntrack.
>
> Should the message be removed? Should the missing check for
> nf_ct_acct be included?
Currently the default is set based on the old config option.
When unset, no acct-extend is allocated for *new* conntracks.
The old ones that do have an acct-extend are still displayed.
Does that explain your observation?
next prev parent reply other threads:[~2009-03-16 16:56 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-16 16:53 nf_conntrack.acct has no effect Jan Engelhardt
2009-03-16 16:56 ` Patrick McHardy [this message]
2009-03-16 18:01 ` Jan Engelhardt
2009-03-17 8:24 ` Holger Eitzenberger
2009-03-17 13:02 ` Patrick McHardy
2009-03-17 13:13 ` Krzysztof Oledzki
2009-03-17 13:31 ` Patrick McHardy
2009-03-17 13:32 ` Patrick McHardy
2009-03-17 13:50 ` Krzysztof Oledzki
2009-03-17 13:51 ` Patrick McHardy
2009-03-17 13:55 ` Krzysztof Oledzki
2009-03-17 13:57 ` Patrick McHardy
2009-03-17 14:18 ` Krzysztof Oledzki
2009-03-17 14:22 ` Patrick McHardy
2009-03-17 14:36 ` Krzysztof Oledzki
2009-03-17 14:38 ` Patrick McHardy
2009-03-17 13:11 ` Krzysztof Oledzki
2009-03-17 13:28 ` Jan Engelhardt
2009-03-17 13:52 ` Krzysztof Oledzki
2009-03-17 13:54 ` Patrick McHardy
2009-03-17 14:39 ` Jan Engelhardt
2009-03-17 14:41 ` Patrick McHardy
2009-03-17 15:41 ` Jan Engelhardt
2009-03-18 4:32 ` Patrick McHardy
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=49BE84D4.7050804@trash.net \
--to=kaber@trash.net \
--cc=jengelh@medozas.de \
--cc=netfilter-devel@vger.kernel.org \
--cc=pablo@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.