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: Thu, 05 Oct 2006 09:51:04 +0200 [thread overview]
Message-ID: <4524B968.303@fliegl.de> (raw)
In-Reply-To: <b322db070610050006v73e69354t8d0106f2eec51597@mail.gmail.com>
Hi,
better use match 'hashlimit' for your purpose. Example:
iptables --append FORWARD --match hashlimit --hashlimit 1/s
--hashlimit-mode srcip --jump ACCEPT
This would limit the number of requests from an specific IP address to
1 per second.
Regards,
Deti
next prev parent reply other threads:[~2006-10-05 7:51 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 [this message]
[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
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=4524B968.303@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.