Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163181325
D58284.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
665 B
Referenced Files
None
Subscribers
None
D58284.diff
View Options
diff --git a/crypto/openssh/sshd-session.c b/crypto/openssh/sshd-session.c
--- a/crypto/openssh/sshd-session.c
+++ b/crypto/openssh/sshd-session.c
@@ -1372,10 +1372,13 @@
/* Override default fatal exit value when auth was attempted */
if (i == 255 && monitor_auth_attempted()) {
BLOCKLIST_NOTIFY(the_active_state, BLOCKLIST_AUTH_FAIL,
- "Fatal exit");
+ "Fatal exit auth attempted");
_exit(EXIT_AUTH_ATTEMPTED);
}
- if (i == 255 && monitor_invalid_user())
+ if (i == 255 && monitor_invalid_user()) {
+ BLOCKLIST_NOTIFY(the_active_state, BLOCKLIST_AUTH_FAIL,
+ "Fatal exit invalid user");
_exit(EXIT_INVALID_USER);
+ }
_exit(i);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jul 21, 7:40 PM (3 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35171360
Default Alt Text
D58284.diff (665 B)
Attached To
Mode
D58284: openssh: blocklist: Add the other fatal exit probe
Attached
Detach File
Event Timeline
Log In to Comment