> 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.

I found that problem isn't replacements - those working good.

Problem is in the action file I have set chain to a custom value
in the [Init] section but its ignored.

[INCLUDES]
before = iptables-common.conf

[Definition]
actionstart = stuff <chain> stuff

[Init]
chain = my_chain_name

This happening in my_action.local so where is local chain
definition being overridden? Does the INCLUDES "before"
rule do that? How do I fix this?

(where is INCLUDES before/after documented?)

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

Reply via email to