aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorJose Luis Duran <jlduran@FreeBSD.org>2025-09-29 16:27:24 +0000
committerJose Luis Duran <jlduran@FreeBSD.org>2025-09-30 23:17:02 +0000
commitec4771b17b421fcee29cd275f53d34c2f46f9d04 (patch)
treeccfe50539c97cbc3e9881c8b6cffb6fa0763a26c /libexec
parent268e74d14913ddd539ed6e4f0b19c9d04a1971cb (diff)
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ftpd/ftpd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index 3861036a5a8a..9c3516710133 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -1425,6 +1425,7 @@ skip:
*remote_ip = 0;
remote_ip[sizeof(remote_ip) - 1] = 0;
if (!auth_hostok(lc, remotehost, remote_ip)) {
+ BLACKLIST_NOTIFY(BLACKLIST_AUTH_FAIL, STDIN_FILENO, "Permission denied");
syslog(LOG_INFO|LOG_AUTH,
"FTP LOGIN FAILED (HOST) as %s: permission denied.",
pw->pw_name);