Can proftpd be supported?
Can proftpd be supported?
Is it possible for proftpd to be supported for lfd monitoring and blocking?
RHEL 4.4, /var/log/secure
Code: Select all
Jan 22 09:29:14 blue proftpd[13139]: blue.servername.com (se2-scan01.scanalert.com[209.67.114.32]) - USER bogusbogus: no such user found from se2-scan01.scanalert.com [209.67.114.32] to 69.94.108.88:21
Jan 22 09:29:39 blue proftpd[13186]: blue.servername.com (se2-scan01.scanalert.com[209.67.114.32]) - USER nobody (Login failed): Incorrect password.
-
- Junior Member
- Posts: 3
- Joined: 09 Dec 2007, 12:07
Not working for me...
Hi,
I have attempted to configure CSF v 2.94 for ProFTPD, but it is not monitoring failed logins.
I have the following in my /etc/csf/csf.conf file:
And in that log file, a typical blocked login entry looks like this:
I tried adjusting the file /etc/csf/regex.pm:
Please can you help and tell me what else I need to do?
Many thanks!
I have attempted to configure CSF v 2.94 for ProFTPD, but it is not monitoring failed logins.
I have the following in my /etc/csf/csf.conf file:
Code: Select all
FTPD_LOG = "/var/log/proftpd/proftpd_system.log"
Code: Select all
Dec 09 13:17:58 server1.theserver.org proftpd[30058] server1.theserver.org (vps.thehacker.net[123.456.789.012]): PAM(username): Authentication failure.
Code: Select all
#proftpd
if (($config{LF_FTPD}) and ($lgfile eq $config{FTPD_LOG}) and ($bits[4] =~ /^proftpd/) and ($line =~ /*.no such user.*/) and ($bits[6] =~ /(\d+\.\d+\.\d+\.\d+)/)) {
return ("Failed FTP login from",$1,"ftpd");
}
if (($config{LF_FTPD}) and ($lgfile eq $config{FTPD_LOG}) and ($bits[4] =~ /^proftpd/) and ($line =~ /*.Authentication failure.*/) and ($bits[6] =~ /(\d+\.\d+\.\d+\.\d+)/)) {
return ("Failed FTP login from",$1,"ftpd");
}
Many thanks!
-
- Junior Member
- Posts: 3
- Joined: 09 Dec 2007, 12:07
-
- Junior Member
- Posts: 3
- Joined: 09 Dec 2007, 12:07