I've written following iptables rules:iptables -N floodiptables -A INPUT -i eth0 -j floodiptables -A flood -m limit --limit 1/sec --limit-burst 30 -j RETURNiptables -A flood -j LOG --log-ip-options --log-uid --log-level 4 --log-prefix IPTABLES: FLOOD: iptables -A flood -j DROPI want to blacklist and block any IP address which matches this rule. How do I populate and update an ipset list on the fly to add IP addresses which match certain iptables rules. Is there a way to achieve this?
Dynamically populating ipset list to blacklist ip addresses which match a certain iptables rule
linux;security;iptables