nft add table ip filter nft add chain ip filter input { type filter hook input p...
:catte: @cR0w@infosec.exchange
nft add table ip filter
nft add chain ip filter input { type filter hook input priority 0 \; }
nft add set ip filter denylist { type ipv4_addr \; flags dynamic, timeout \; timeout 69420m \; }
nft add rule ip filter input ip protocol tcp ct state new, untracked limit rate over 0/minute add @denylist { ip saddr }
nft add rule ip filter input ip saddr @denylist drop