On Thu, 29 Jun 2017 20:08:20 -0600, JD wrote:
>>> iptables -t filter -A IN_public_deny -p tcp --dport
pop3s --syn -m
>>> recent --name pop3s_attack --rcheck --seconds 90 --hitcount 2 -j LOG
>>> --log-prefix 'SSH2 REJECT: ' --log-level info
>> My iptables replied:
>> iptables: No chain/target/match by that name.
>>
>> How is it created?
>
> How is WHAT created? I'm snowed!
> --doug
The CHAIN Doug.
iptables says there is no such chain to add a new rule to.
In this case, the chain name is IN_public
I tried all capitals for the chain name, to no avail.
It's not a default filter chain, but a custom one that would need to
be created as part of a custom script running much more than that single
iptables command. If you've ever created a custom iptables script to
maintain multiple chains, those scripts can become very complex.