I'm assuming you want to add the source IP address of the host which sends the traffic at more than the specified rate.
For that, you can use:
iptables -A flood -m limit --limit 1/sec --limit-burst 30 -j SET --add-set ipsetname src
I'm assuming you want to add the source IP address of the host which sends the traffic at more than the specified rate.
For that, you can use:
iptables -A flood -m limit --limit 1/sec --limit-burst 30 -j SET --add-set ipsetname src