doc: ct count should be restricted via new
Florian Westphal
maintainerPATCH 1/1 doc: ct count should be restricted via new
Not doing it will affect existing flows, which is likely not wanted.
Signed-off-by Florian Westphal <[email protected]>
--- doc/payload-expression.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
doc/payload-expression.txt +1 -1
@@ -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 --------------------
Signature · 1 line
2.52.0
Quoted 3 lines · Florian Westphal
Not doing it will affect existing flows, which is likely not wanted.
Signed-off-by Florian Westphal <[email protected]>
Reviewed-by Pablo Neira Ayuso <[email protected]>
Quoted 19 lines
--- doc/payload-expression.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)doc/payload-expression.txt +1
-1@@ -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 --------------------Signature · 1 line
2.52.0