Re: failtoban
Thomas Labourdette a écrit :
C'est normal. Pour ssh c'est configuré à 6 tentatives d'après ton fichier de
conf :
[ssh]
enabled = true
port = ssh,sftp
filter = sshd
logpath = /var/log/auth.log
maxretry = 6
^^^^^^^^^^^^
@+
Oups, pas lu comme il faut, je vais ressayer.
Toutes mes excuses
Mais pourquoi je ne vois pas ses tentatives (hiers) ?
# zcat /var/log/auth.log* | grep 'Failed password' | grep sshd | awk
'{print $1,$2}' | sort | uniq -c
zcat: /var/log/auth.log: not in gzip format
zcat: /var/log/auth.log.0: not in gzip format
10 May 22
28 May 24
34 May 26
2 May 29
Merci beaucoup
Reply to:
- Follow-Ups:
- Re: failtoban
- From: Thomas Labourdette <thomas.labourdette@free.fr>
- Re: failtoban
- From: Sylvain Sauvage <Sylvain.Sauvage@metanoesis.net>
- References:
- failtoban
- From: Vincent Gay <vgay@salug-fr.org>
- Re: failtoban
- From: Thomas Labourdette <thomas.labourdette@free.fr>