Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Jan Engelhardt <jengelh@medozas.de>
Cc: "Usuário do Sistema" <maiconlp@ig.com.br>,
	"Mail List - Netfilter" <netfilter@vger.kernel.org>
Subject: Re: Numeber of connections
Date: Fri, 4 Nov 2011 15:30:27 +0100	[thread overview]
Message-ID: <20111104143027.GA10958@1984> (raw)
In-Reply-To: <alpine.LNX.2.01.1111032025220.25863@frira.zrqbmnf.qr>

On Thu, Nov 03, 2011 at 08:26:24PM +0100, Jan Engelhardt wrote:
> On Thursday 2011-11-03 17:41, Usuário do Sistema wrote:
> 
> >Hello everyone, I'm using an RHE 5.5 machine for firewall and I would
> >like know how many connections are been handled for my firewall
> >iptables in an time of day as well as how many connections per second.
> 
> `conntrack -L` will show you how many active CTs there. The number of 
> ct/sec can be calculated by monitoring `conntrack -Ee NEW` over a time 
> quantum chosen by you.

I think using ulogd2 with the flow accounting and making some custom
scripts to process the logs would make the trick.

The conntrack utility is designed to know what is going on right now
in the firewall. For accumulated stats, ulogd2 can make it better.

P.S: Jan, there's some people waiting for comments on your
xtables-addons stuff in netfilter-devel, in case that you didn't
notice.

  reply	other threads:[~2011-11-04 14:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-03 16:41 Numeber of connections Usuário do Sistema
2011-11-03 19:26 ` Jan Engelhardt
2011-11-04 14:30   ` Pablo Neira Ayuso [this message]
2011-11-04 17:30     ` Usuário do Sistema
  -- strict thread matches above, loose matches on Subject: below --
2011-11-04 19:47 Eric Leblond
2011-11-05 12:15 ` Usuário do Sistema

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=20111104143027.GA10958@1984 \
    --to=pablo@netfilter.org \
    --cc=jengelh@medozas.de \
    --cc=maiconlp@ig.com.br \
    --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