Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Gaurav Sharma <gaurav@interacesso.pt>
To: netfilter@lists.netfilter.org
Subject: Re: calculate "new connections per second" (nfcan: addressed to exclusive sender for this address)
Date: Thu, 16 Mar 2006 11:08:44 +0000	[thread overview]
Message-ID: <200603161108.44976.gaurav@interacesso.pt> (raw)
In-Reply-To: <20060315233244.GI31570@salty>


Thanks for the reply Jim.

I am using the ip_conntrack module to mark connections on a linux bridge to 
shape traffic. Sometimes if there is a DOS attack the ip_conntrack table 
overflows and the kernel starts dropping packets.  I want to measure the rate 
at which the connections are being made and being entered in the ip_conntrack 
table so if there is a spike in the rate I will know that there is a DOS 
attack going on.  I hope you can now understand my situation. I you need more 
information please let me know.

Appreciate your help.

Regards,
Gaurav.

On Wednesday 15 March 2006 23:32, Jim Laurino wrote:
> On 2006.03.15 10:13, Gaurav Sharma - gaurav@interacesso.pt wrote:
> > Hello,
> >
> > I am trying to find out a way to calculate
> > the rate of "new connections per second"
> > for the ip_conntrack module.
> > What would be a good approach for this problem?
>
> Are you asking how to determine
> the time each connection is established
> or are you asking, given this data,
> how to estimate this rate.
>
> Can you explain how you want to use the measurement?


  reply	other threads:[~2006-03-16 11:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-15 15:13 calculate "new connections per second" Gaurav Sharma
2006-03-15 23:32 ` calculate "new connections per second" (nfcan: addressed to exclusive sender for this address) Jim Laurino
2006-03-16 11:08   ` Gaurav Sharma [this message]
2006-03-17 15:03 ` calculate "new connections per second" Kashif Ali Bukhari

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=200603161108.44976.gaurav@interacesso.pt \
    --to=gaurav@interacesso.pt \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox