An action based banning engine inspired by fail2ban