vsftpd logins not being blocked
Posted: 26 Oct 2015, 21:53
I have tried looking though the forum only to read that the regex has been updated but the authentication failures are not being blocked after multiple tries. I have it set to block ftp after 3 attempts but it never blocks any users like the sshd login attempts do. Can anyone give me any advice to what I may have over looked or how to add a custom regex to catch the people trying to hack my server.
Here is part of the secure log:
Oct 26 15:24:15 server3 vsftpd[8069]: pam_unix(vsftpd:auth): authentication failure; logname= uid=0 euid=0 tty=ftp ruser=anonymous rhost=115.29.108.86
Oct 26 15:24:15 server3 vsftpd[8069]: pam_succeed_if(vsftpd:auth): error retrieving information about user anonymous
Oct 26 15:24:23 server3 vsftpd[8085]: pam_unix(vsftpd:auth): check pass; user unknown
Oct 26 15:24:23 server3 vsftpd[8085]: pam_unix(vsftpd:auth): authentication failure; logname= uid=0 euid=0 tty=ftp ruser=lcu rhost=115.29.108.86
Oct 26 15:24:23 server3 vsftpd[8085]: pam_succeed_if(vsftpd:auth): error retrieving information about user lcu
Oct 26 15:24:29 server3 vsftpd[8094]: pam_unix(vsftpd:auth): check pass; user unknown
Oct 26 15:24:29 server3 vsftpd[8094]: pam_unix(vsftpd:auth): authentication failure; logname= uid=0 euid=0 tty=ftp ruser=lcu rhost=115.29.108.86
Oct 26 15:24:29 server3 vsftpd[8094]: pam_succeed_if(vsftpd:auth): error retrieving information about user lcu
Oct 26 15:24:43 server3 vsftpd[8100]: pam_unix(vsftpd:auth): check pass; user unknown
Oct 26 15:24:43 server3 vsftpd[8100]: pam_unix(vsftpd:auth): authentication failure; logname= uid=0 euid=0 tty=ftp ruser=www rhost=115.29.108.86
Oct 26 15:24:43 server3 vsftpd[8100]: pam_succeed_if(vsftpd:auth): error retrieving information about user www
Here is part of the secure log:
Oct 26 15:24:15 server3 vsftpd[8069]: pam_unix(vsftpd:auth): authentication failure; logname= uid=0 euid=0 tty=ftp ruser=anonymous rhost=115.29.108.86
Oct 26 15:24:15 server3 vsftpd[8069]: pam_succeed_if(vsftpd:auth): error retrieving information about user anonymous
Oct 26 15:24:23 server3 vsftpd[8085]: pam_unix(vsftpd:auth): check pass; user unknown
Oct 26 15:24:23 server3 vsftpd[8085]: pam_unix(vsftpd:auth): authentication failure; logname= uid=0 euid=0 tty=ftp ruser=lcu rhost=115.29.108.86
Oct 26 15:24:23 server3 vsftpd[8085]: pam_succeed_if(vsftpd:auth): error retrieving information about user lcu
Oct 26 15:24:29 server3 vsftpd[8094]: pam_unix(vsftpd:auth): check pass; user unknown
Oct 26 15:24:29 server3 vsftpd[8094]: pam_unix(vsftpd:auth): authentication failure; logname= uid=0 euid=0 tty=ftp ruser=lcu rhost=115.29.108.86
Oct 26 15:24:29 server3 vsftpd[8094]: pam_succeed_if(vsftpd:auth): error retrieving information about user lcu
Oct 26 15:24:43 server3 vsftpd[8100]: pam_unix(vsftpd:auth): check pass; user unknown
Oct 26 15:24:43 server3 vsftpd[8100]: pam_unix(vsftpd:auth): authentication failure; logname= uid=0 euid=0 tty=ftp ruser=www rhost=115.29.108.86
Oct 26 15:24:43 server3 vsftpd[8100]: pam_succeed_if(vsftpd:auth): error retrieving information about user www