From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Ben Lentz <BLentz@channing-bete.com>
Cc: netfilter@vger.kernel.org
Subject: Re: conntrack accounting
Date: Thu, 03 Jan 2008 16:54:59 +0100 [thread overview]
Message-ID: <477D0553.4010906@netfilter.org> (raw)
In-Reply-To: <477704CB.8030809@channing-bete.com>
Hi,
Ben Lentz wrote:
> I am considering using the conntrack-tools userspace package to perform
> byte level accounting for iptables by reading events from the connection
> tracking table for completed connections and logging the statistics for
> the stateful connection to syslog. It appears that conntrack was really
> designed to keep redundant firewalls' state tables in sync, but I'm
> intrigued by it's ability to use the new connection tracking and state
> notification features in netfilter without having to parse or poll
> /proc/net/ip_conntrack.
>
> The goal I'm trying to accomplish is similar to that of:
> conntrack -E conntrack -e DESTROY | logger -t conntrack &
I just committed a patch to SVN which implements this for the statistics
mode. Have a look at the doc/stats/conntrackd.conf example file and
enable logging to give it a try. This will be available in the upcoming
conntrack-tool 0.9.6 release. Don't forget to run conntrackd with the -S
option.
--
"Los honestos son inadaptados sociales" -- Les Luthiers
next prev parent reply other threads:[~2008-01-03 15:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-30 2:39 conntrack accounting Ben Lentz
2008-01-03 15:54 ` Pablo Neira Ayuso [this message]
2008-01-03 18:12 ` Ben Lentz
2008-01-04 3:25 ` Ben Lentz
2008-01-04 21:35 ` Ben Lentz
2008-01-05 12:39 ` Pablo Neira Ayuso
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=477D0553.4010906@netfilter.org \
--to=pablo@netfilter.org \
--cc=BLentz@channing-bete.com \
--cc=netfilter@vger.kernel.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