I get this exact error:
iptables -A INPUT -p udp --dport 53 --set --name dnslimit
iptables v1.3.5: -c packet counter not numeric
What am I doing wrong?
I get this exact error:
iptables -A INPUT -p udp --dport 53 --set --name dnslimit
iptables v1.3.5: -c packet counter not numeric
What am I doing wrong?
You are failing to provide packet and byte counts to the
--set
flag, which is being interpreted as an unambiguous match for--set-counters
, aka-c
. Fromman iptables
:My guess is that you're trying to use the
recent
module, in which case what you're really doing wrong is missing the-m recent
. But that's only a guess.