I can see all default enabled fail2ban rules pointed to action → hestia[name=XXXXX]. May I know where can I get definition of these actions, seems it’s not inside action.d
Because I would like to add apache-auth rule and want to setup the action.
actionstart: Runs when jail starts, creates firewall chain. actionstop: Runs when jail stops, removes firewall chain. actioncheck: Verifies firewall chain exists before banning. actionban: Blocks IP when threshold exceeded. actionunban: Unblocks IP when ban time expires.
actioncheck: Verifies firewall chain exists before banning.
So if the CHAIN didnt exist, it won’t add to iptables but the record still stuck at F2B?
Because I’ve put in action = hestia[name=APACHE] to test before (fail2ban-APACHE obviously didn’t exist as CHAIN in iptables). I am afraid messing up the iptables