summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorYaroslav Tykhiy <ytykhiy@gmail.com>2003-02-11 11:58:33 +0000
committerYaroslav Tykhiy <ytykhiy@gmail.com>2003-02-11 11:58:33 +0000
commitb8939f6fa6197e4f3a30fff5c16f1e96ed70e881 (patch)
tree4b31e9c99915531e86f0288aa8789f15022a1c62 /libexec
parent83333d4569eca6c862a0437243d714e4ac1da5c7 (diff)
Notes
Diffstat (limited to 'libexec')
-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 83e2e97976c6..997bbf38c033 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,