ich benutze fail2ban da ich sehr viele angriffe auf meinen SSH-Service hatte. Klappt perfekt.
Nun wollte ich das gleiche für proftpd einrichten. aber es funktioniert einfach nicht.
Ich müsste eig alles richtig eingestellt haben oder?
jail.conf
Code: Alles auswählen
[proftpd]
enabled = true
port = ftp
filter = proftpd
logpath = /var/log/auth.log
#logpath = /var/log/proftpd.auth_log // auch scon ausprobiert
maxretry = 6
proftpd.auth_log
Code: Alles auswählen
paris079:~# tail /var/log/proftpd.auth_log
ProFTPD [21993] 124.40.28.93 [25/Nov/2008:14:53:28 +0100] "USER web100" 331
ProFTPD [21994] 124.40.28.93 [25/Nov/2008:14:53:29 +0100] "USER web100" 331
ProFTPD [21994] 124.40.28.93 [25/Nov/2008:14:53:29 +0100] "PASS (hidden)" 530
ProFTPD [21994] 124.40.28.93 [25/Nov/2008:14:53:29 +0100] "USER web100" 331
ProFTPD [21994] 124.40.28.93 [25/Nov/2008:14:53:30 +0100] "PASS (hidden)" 530
ProFTPD [21994] 124.40.28.93 [25/Nov/2008:14:53:30 +0100] "USER web100" 331
ProFTPD [21995] 124.40.28.93 [25/Nov/2008:14:53:31 +0100] "USER web100" 331
ProFTPD [21995] 124.40.28.93 [25/Nov/2008:14:53:31 +0100] "PASS (hidden)" 530
ProFTPD [21995] 124.40.28.93 [25/Nov/2008:14:53:31 +0100] "USER web100" 331
ProFTPD [21995] 124.40.28.93 [25/Nov/2008:14:53:32 +0100] "PASS (hidden)" 530
auth.log
Code: Alles auswählen
paris079:~# tail /var/log/auth.log | grep proftpd
Nov 25 14:53:27 paris079 proftpd[21993]: paris079.server4you.de (124.40.28.93[124.40.28.93]) - no such user 'web100'
Nov 25 14:53:27 paris079 proftpd[21993]: paris079.server4you.de (124.40.28.93[124.40.28.93]) - USER web100: no such user found from 124.40.28.93 [124.40.28.93] to 85.25.20.79:21
Nov 25 14:53:28 paris079 proftpd[21993]: paris079.server4you.de (124.40.28.93[124.40.28.93]) - no such user 'web100'
Nov 25 14:53:28 paris079 proftpd[21993]: paris079.server4you.de (124.40.28.93[124.40.28.93]) - USER web100: no such user found from 124.40.28.93 [124.40.28.93] to 85.25.20.79:21
Nov 25 14:53:28 paris079 proftpd[21993]: paris079.server4you.de (124.40.28.93[124.40.28.93]) - Maximum login attempts (3) exceeded
Nov 25 14:53:28 paris079 proftpd[21993]: paris079.server4you.de (124.40.28.93[124.40.28.93]) - FTP session closed.
Nov 25 14:53:29 paris079 proftpd[21994]: paris079.server4you.de (124.40.28.93[124.40.28.93]) - USER web100: no such user found from 124.40.28.93 [124.40.28.93] to 85.25.20.79:21
Nov 25 14:53:30 paris079 proftpd[21994]: paris079.server4you.de (124.40.28.93[124.40.28.93]) - no such user 'web100'
Nov 25 14:53:30 paris079 proftpd[21994]: paris079.server4you.de (124.40.28.93[124.40.28.93]) - USER web100: no such user found from 124.40.28.93 [124.40.28.93] to 85.25.20.79:21
Nov 25 14:53:30 paris079 proftpd[21994]: paris079.server4you.de (124.40.28.93[124.40.28.93]) - no such user 'web100'
Nov 25 14:53:30 paris079 proftpd[21994]: paris079.server4you.de (124.40.28.93[124.40.28.93]) - USER web100: no such user found from 124.40.28.93 [124.40.28.93] to 85.25.20.79:21
Nov 25 14:53:30 paris079 proftpd[21994]: paris079.server4you.de (124.40.28.93[124.40.28.93]) - Maximum login attempts (3) exceeded
danke schonmal!
babel