debops / ansible-fail2ban

Install and configure fail2ban service
GNU General Public License v3.0
38 stars 14 forks source link

How to configure fail2ban jails #13

Closed jlerbsc closed 7 years ago

jlerbsc commented 7 years ago

Hi, When we activate ssh-ddos jail debops.fail2ban generate this in jail.local and failure when we try to reload fail2ban configuration.

[sshd-ddos]
    enabled        = true

debops fail2ban configuration file contains

---

fail2ban_jails:

 - name: 'ssh-ddos'
   enabled: 'true'
   filter: 'sshd-ddos'
   comment: 'Enable default ssh-ddos jail'
jlerbsc commented 7 years ago

Due probably to a previous config error and a bad filter configuration which was hept in filter.d directory