I ran into a strange behavior with actions like actionstart.

I put this into my actionstart:

iptables -t filter -N <chain>

It did nothing so I took out the replacement macro:

iptables -t filter -N my_real_chain_name

This works.

But also in other commands in the SAME action the replacements
are working fine. Like:

firewall-cmd --direct --add-rule ipv4 filter <chain> 0 -m state --state NEW -p 
<protocol> --dport <port> -j f2b-<name>

What's going on?

------------------------------------------------------------------------------
_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to