All of lore.kernel.org
 help / color / mirror / Atom feed
From: Deti Fliegl <deti@fliegl.de>
To: Retesh Chadha <retesh.chadha@gmail.com>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: Can i have a rate limit per source IP Address in IPSet?
Date: Fri, 06 Oct 2006 09:40:00 +0200	[thread overview]
Message-ID: <45260850.4000108@fliegl.de> (raw)
In-Reply-To: <b322db070610052343y2705e6cfjf3d432d067235db@mail.gmail.com>

Hi,


Retesh Chadha wrote:
> I have another question though. I now need to set a limit per src dst
> pair, but I get a bad mode for  hashlimit-mode srcipdstip.
> I give the following command -
> 
> iptables -A INPUT_CHAIN --match hashlimit --hashlimit 1000/s
> --hashlimit-mode srcip-dstip --hashlimit-name foo -m set --set KNOWN
> src,dst -j ACCEPT

There is a minor documentation bug: '--hashlimit-mode srcip,dstip' 
should work for you.

Deti

      reply	other threads:[~2006-10-06  7:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-05  7:06 Can i have a rate limit per source IP Address in IPSet? Retesh Chadha
2006-10-05  7:51 ` Deti Fliegl
     [not found]   ` <b322db070610050243s3a1d65cfqd4cf0ff35abab96e@mail.gmail.com>
2006-10-05  9:54     ` Deti Fliegl
     [not found]       ` <b322db070610050306r60bcb242i132b58ec70c0bc3d@mail.gmail.com>
2006-10-05 10:13         ` Deti Fliegl
     [not found]           ` <b322db070610050332q1dc3c239v6e24f7522634355d@mail.gmail.com>
2006-10-05 11:11             ` Deti Fliegl
2006-10-06  6:43               ` Retesh Chadha
2006-10-06  7:40                 ` Deti Fliegl [this message]

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=45260850.4000108@fliegl.de \
    --to=deti@fliegl.de \
    --cc=netfilter-devel@lists.netfilter.org \
    --cc=retesh.chadha@gmail.com \
    /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.