When creating an iptables rule that adds an address to a blocklist ipset, is there a way to know when the maxelem value has been exceeded ?
Below is an example rule:
At the command-line, when attempting to add one too many address to an ipset, you would receive the following error:
Is there a way for this error to be logged ?
Below is an example rule:
Code:
iptables -t mangle -I PREROUTING -i eth0 -m state --state NEW -j SET --add-set BLOCKLIST src
Code:
ipset v6.29: Hash is full, cannot add more elements