From: Martin Bednar <martin@serafean.cz>
To: Perry Thompson <contact@ryper.org>
Cc: netfilter@vger.kernel.org
Subject: Re: recent module in nftables
Date: Fri, 28 Jul 2017 21:57:25 +0200 [thread overview]
Message-ID: <1889595.mTRbqK2Shg@ged> (raw)
In-Reply-To: <20170727155959.758138ab@lustre.ryper.org>
[-- Attachment #1: Type: text/plain, Size: 773 bytes --]
On Thursday, 27 July 2017 22:59:59 CEST Perry Thompson wrote:
> Hello all,
>
> It may be way to early to ask this question, but I thought I might as
> well see if anyone has any information on it.
>
> Will the "recent" module or an option with a similar function be
> introduced into nftables in the future? Are there any plans to create
> something like this? It has always been a very good tool for keeping
> bad IPs from touching my system.
I think flow tables might fit the bill.
https://wiki.nftables.org/wiki-nftables/index.php/Flow_tables
I use them for filtering out SSH connection attempts, by allowing 3 SYN packets
per minute.
tcp dport ssh ct state new flow table ssh { iif . ip saddr . tcp dport timeout
1h limit rate 3/minute} accept
Cheers
Martin.
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2017-07-28 19:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-27 20:59 recent module in nftables Perry Thompson
2017-07-27 21:46 ` /dev/rob0
2017-07-27 22:18 ` James
2017-07-28 19:57 ` Martin Bednar [this message]
2017-07-30 23:32 ` Perry Thompson
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=1889595.mTRbqK2Shg@ged \
--to=martin@serafean.cz \
--cc=contact@ryper.org \
--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.