Closed jlerbsc closed 7 years ago
i try it. It seems to be the right way
definitions:
_deamon: sshd
this is a more complex configuration exemple
fail2ban_filters:
- name: 'sshd-connect'
before: 'common.conf'
definitions:
_daemon: sshd
failregex: |
'^%(__prefix_line)sConnection closed by <HOST> \[preauth\]$'
'^%(__prefix_line)sDisconnecting: Too many authentication failures for .+? from <HOST> .+? \[preauth\]$'
state: 'present'
I want to specify _daemon = sshd in definitions but i don't know how to defines it. Could you improve your doc with more exemples ?
is it ? definitions = '_daemon = sshd'