All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Anton Mitterer  <christoph.anton.mitterer@physik.uni-muenchen.de>
To: netfilter@vger.kernel.org
Subject: Re: how to best limit "rate of rejects"
Date: Thu, 07 Oct 2010 20:30:01 +0200	[thread overview]
Message-ID: <1286476201.3383.48.camel@fermat.scientia.net> (raw)
In-Reply-To: <alpine.LNX.2.01.1010061444180.21694@obet.zrqbmnf.qr>

Hi Jan.

On Wed, 2010-10-06 at 14:45 +0200, Jan Engelhardt wrote:
> > Is there some smart way to just limit the rate on those rejects? e.g. something
> > like a "wait with sending the reject for a second" target?
> 
> -m hashlimit --hashlimit 1/second

Which one do you mean (just --hashlimit seem to not exist).

And as far as I understand the documentation, this is the same as limit,
and it's just for matching,... so if the rate is exceeded the rule would
simply no longer match and I'd have again such a packet burst?


Cheers,
Chris.


  reply	other threads:[~2010-10-07 18:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-06 12:21 how to best limit "rate of rejects" Christoph Anton Mitterer
2010-10-06 12:45 ` Jan Engelhardt
2010-10-07 18:30   ` Christoph Anton Mitterer [this message]
2010-10-07 19:40     ` Jan Engelhardt

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=1286476201.3383.48.camel@fermat.scientia.net \
    --to=christoph.anton.mitterer@physik.uni-muenchen.de \
    --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 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.