All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabian Hugelshofer <hugelshofer2006@gmx.ch>
To: netfilter-devel@vger.kernel.org
Cc: Krzysztof Oledzki <ole@ans.pl>
Subject: Re: [PATCH]  Accounting rework: ct_extend + 64bit counters
Date: Mon, 02 Jun 2008 18:41:44 +0100	[thread overview]
Message-ID: <484430D8.10106@gmx.ch> (raw)
In-Reply-To: <48442cd8.dD0hLVFRFjNruv6o%ole@ans.pl>

Krzysztof Oledzki wrote:
> [NETFILTER] Accounting rework: ct_extend + 64bit counters
> 
> Initially netfilter has had 64bit counters for conntrack-based accounting, but
> it was changed in 2.6.14 to save memory. Unfortunately in-kernel 64bit counters are
> still required, for example for "connbytes" extension. However, 64bit counters
> waste a lot of memory and it was not possible to enable/disable it runtime.
[...]
> Patch against 2.6.26-rc4, it would be nice if it can be included
> in 2.6.27.

Just to notice: recently nf_ct_kill_acct() has been introduced which 
accounts packets on abnormal connection termination. This function has 
to be changed as well.

See:
http://git.kernel.org/?p=linux/kernel/git/kaber/nf-next-2.6.git;a=commit;h=8d38001bd4a51fd5571ca84a40a7cddeca1e472d
and
http://git.kernel.org/?p=linux/kernel/git/kaber/nf-next-2.6.git;a=commit;h=0943b274f3fa89f7dd5d8d435d81e2e929e13c3a

  reply	other threads:[~2008-06-02 17:41 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-02 17:24 [PATCH] Accounting rework: ct_extend + 64bit counters Krzysztof Oledzki
2008-06-02 17:41 ` Fabian Hugelshofer [this message]
2008-06-02 18:05   ` Krzysztof Oledzki
2008-06-03 13:30 ` Patrick McHardy
2008-06-03 16:23   ` Krzysztof Oledzki
2008-06-03 16:28     ` Patrick McHardy
2008-06-03 16:35       ` Krzysztof Oledzki
2008-06-03 16:40         ` Patrick McHardy
2008-06-03 16:49           ` Krzysztof Oledzki
2008-06-03 17:14             ` Patrick McHardy
2008-06-03 17:19               ` Krzysztof Oledzki
2008-06-03 17:21                 ` Patrick McHardy
2008-06-03 17:35                   ` Krzysztof Oledzki
2008-06-03 17:57                     ` Patrick McHardy
2008-06-03 18:10                       ` Krzysztof Oledzki

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=484430D8.10106@gmx.ch \
    --to=hugelshofer2006@gmx.ch \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=ole@ans.pl \
    /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.