summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libexec/ftpd/ftpd.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index 83e2e97..997bbf3 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -1401,10 +1401,14 @@ skip:
*/
if (rval) {
reply(530, "Login incorrect.");
- if (logging)
+ if (logging) {
syslog(LOG_NOTICE,
+ "FTP LOGIN FAILED FROM %s",
+ remotehost);
+ syslog(LOG_AUTHPRIV | LOG_NOTICE,
"FTP LOGIN FAILED FROM %s, %s",
remotehost, curname);
+ }
pw = NULL;
if (login_attempts++ >= 5) {
syslog(LOG_NOTICE,
OpenPOWER on IntegriCloud