Bon c'est bon ca marche
Par contre j'ai suivi le guide (
http://www.gentoofr.org/article34.html
) pour fail2ban, et mon fichier de configuration se trouve pas dans
/etc/fail2ban.conf
mais
/etc/fail2ban/fail2ban.conf
De plus, ce fichier ne contient que trois règles à peine ca me parait bizarre :
Code:
# 1 = ERROR
# 2 = WARN
# 3 = INFO
# 4 = DEBUG
# Values: NUM Default: 3
#
loglevel = 3
# Option: logtarget
# Notes.: Set the log target. This could be a file, SYSLOG, STDERR or STDOUT.
# Only one log target can be specified.
# Values: STDOUT STDERR SYSLOG file Default: /var/log/fail2ban.log
#
logtarget = /var/log/fail2ban.log
# Option: socket
# Notes.: Set the socket file. This is used to communicate with the daemon. Do
# not remove this file when Fail2ban runs. It will not be possible to
# communicate with the server afterwards.
# Values: FILE Default: /tmp/fail2ban.sock
#
socket = /tmp/fail2ban.sock