diff options
| author | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2003-02-14 12:42:42 +0000 |
|---|---|---|
| committer | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2003-02-14 12:42:42 +0000 |
| commit | 37df6c4922b344da960b13ecbc37a02914f67a02 (patch) | |
| tree | 87aaed9d073e53f50b5d1965679a22a918dad1d6 /libexec/ftpd | |
| parent | 224cae5a372b7c9540f54fc999a0a17cea510dd1 (diff) | |
Notes
Diffstat (limited to 'libexec/ftpd')
| -rw-r--r-- | libexec/ftpd/ftpd.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c index ca8acd36b357..85d7ddee3ce3 100644 --- a/libexec/ftpd/ftpd.c +++ b/libexec/ftpd/ftpd.c @@ -1376,10 +1376,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, |
