All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Adem" <for-gmane@alicewho.com>
To: netfilter@vger.kernel.org
Subject: Allow client only 1 connect per 20 seconds
Date: Tue, 25 Nov 2008 19:38:38 +0100	[thread overview]
Message-ID: <gghgq9$33t$1@ger.gmane.org> (raw)

How would you code this rule in iptables:

If anybody tries to do more than 1 connection to port 8191
within 20 seconds, regardless of the protocol, then DROP 
it and ignore any further connect attempts on that port
from that source for 20 seconds.



             reply	other threads:[~2008-11-25 18:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-25 18:38 Adem [this message]
2008-11-25 20:07 ` Allow client only 1 connect per 20 seconds Adem
2008-11-25 20:20   ` Matt Zagrabelny
2008-11-26 10:55   ` Paul Evans
2008-11-25 20:21 ` Matt Zagrabelny

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='gghgq9$33t$1@ger.gmane.org' \
    --to=for-gmane@alicewho.com \
    --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.