HomeFreeBSD

sshd: remove blacklist call from grace_alarm_timer

Description

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

(cherry picked from commit 2739a6845031e69be7c03461a9335d8bbb9f59bd)
(cherry picked from commit 3d3bae9b95388169d396adc8007585699c5a23e0)
(cherry picked from commit 73466449a9bf1888147c53d622236cebc0aa591b)
(cherry picked from commit d5f16ef6463d73270e4380f3498410c8ad91f495)

Approved by: re (cperciva)

Details

Provenance
emasteAuthored on Aug 1 2024, 12:04 AM
Differential Revision
Restricted Differential Revision
Parents
rG9badd542e755: sctp: improve input validation for data chunks
Branches
Unknown
Tags
Unknown

Event Timeline