mirror of
https://git.freebsd.org/src.git
synced 2026-01-16 23:02:24 +00:00
sshd: remove blacklist call from grace_alarm_timer
Under certain circumstances it may call log(3), which is not async- signal-safe. For now just remove the blacklist integration from this path, which means that blacklistd will not detect and firewall hosts that establish a connection but do nothing further. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D46203
This commit is contained in:
parent
e4d064e4a8
commit
2739a68450
1 changed files with 0 additions and 2 deletions
|
|
@ -377,8 +377,6 @@ grace_alarm_handler(int sig)
|
|||
kill(0, SIGTERM);
|
||||
}
|
||||
|
||||
BLACKLIST_NOTIFY(the_active_state, BLACKLIST_AUTH_FAIL, "ssh");
|
||||
|
||||
/* Log error and exit. */
|
||||
sigdie("Timeout before authentication for %s port %d",
|
||||
ssh_remote_ipaddr(the_active_state),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue