Received: from Chamillionaire.breakpoint.cc (Chamillionaire.breakpoint.cc [91.216.245.30]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 96D073C276B for ; Thu, 9 Apr 2026 11:58:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.216.245.30 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775735884; cv=none; b=tQYX3bToCO2mEtKJz+j9HWK0N4rOJJACmNRdGA9ws0F0V6fH9nd17mcdhbXYfZ50ZRxZ65ri6aHEYiJeBJ4jCjuDNoUiNGOuAFfTwqJuCbwfo/upZ8Njy6r9pJ3xtrewPtftIyBHVfb+hVjSjou6Kd/uIxw6YWlRtAW+Jj3amDg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775735884; c=relaxed/simple; bh=y+Qwv3tYHwhGL+9ry1tIpTJrDbjuSjsrqaFxldAfxWY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=vAfbDebKHYfWiL+dG5Ry/G/6ZWJ1M9AgmC0IOM/N11w1SDRN1WKU2K96mfOZ89ZAICp9Krghiu4+hOeWBnrKLapuVE6QkId7ZL+gvbkdWB1Ul57PzJoEqlcP1vL5/9HbqfcxKQoonjFo/Ux+JEMl+yMzdEPFEII2WwgKWCH90OQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=strlen.de; spf=pass smtp.mailfrom=Chamillionaire.breakpoint.cc; arc=none smtp.client-ip=91.216.245.30 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=strlen.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=Chamillionaire.breakpoint.cc Received: by Chamillionaire.breakpoint.cc (Postfix, from userid 1003) id AABF460636; Thu, 09 Apr 2026 13:58:00 +0200 (CEST) From: Florian Westphal To: Cc: Florian Westphal Subject: [PATCH nft] doc: ct count should be restricted via new Date: Thu, 9 Apr 2026 13:57:53 +0200 Message-ID: <20260409115756.27931-1-fw@strlen.de> X-Mailer: git-send-email 2.52.0 Precedence: bulk X-Mailing-List: netfilter-devel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Not doing it will affect existing flows, which is likely not wanted. Signed-off-by: Florian Westphal --- 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