public inbox for netfilter-devel@vger.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Florian Westphal <fw@strlen.de>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH nft] doc: ct count should be restricted via new
Date: Thu, 9 Apr 2026 17:12:30 +0200	[thread overview]
Message-ID: <adfB3qNaLyuEYz-X@chamomile> (raw)
In-Reply-To: <20260409115756.27931-1-fw@strlen.de>

On Thu, Apr 09, 2026 at 01:57:53PM +0200, Florian Westphal wrote:
> Not doing it will affect existing flows, which is likely not wanted.
> 
> Signed-off-by: Florian Westphal <fw@strlen.de>

Reviewed-by: Pablo Neira Ayuso <pablo@netfilter.org>

> ---
>  doc/payload-expression.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/doc/payload-expression.txt b/doc/payload-expression.txt
> index 8b538968c84b..817b7a3c76b1 100644
> --- a/doc/payload-expression.txt
> +++ b/doc/payload-expression.txt
> @@ -934,5 +934,5 @@ ct_id|
>  .restrict the number of parallel connections to a server
>  --------------------
>  nft add set filter ssh_flood '{ type ipv4_addr; flags dynamic; }'
> -nft add rule filter input tcp dport 22 add @ssh_flood '{ ip saddr ct count over 2 }' reject
> +nft add rule filter input ct state new tcp dport 22 add @ssh_flood '{ ip saddr ct count over 2 }' reject
>  --------------------
> -- 
> 2.52.0
> 
> 

      reply	other threads:[~2026-04-09 15:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-09 11:57 [PATCH nft] doc: ct count should be restricted via new Florian Westphal
2026-04-09 15:12 ` Pablo Neira Ayuso [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=adfB3qNaLyuEYz-X@chamomile \
    --to=pablo@netfilter.org \
    --cc=fw@strlen.de \
    --cc=netfilter-devel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox