ALT Linux Bugzilla
– Attachment 3970 Details for
Bug 21869
несоответствие формату лога
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Добавляет проверку наличия слов "UNKNOWN USER" в логе
sshutout-1.0.5-alt-UNKNOWN-USER.patch (text/plain), 622 bytes, created by
А. Китайкин
on 2009-10-08 02:19:02 MSD
(
hide
)
Description:
Добавляет проверку наличия слов "UNKNOWN USER" в логе
Filename:
MIME Type:
Creator:
А. Китайкин
Created:
2009-10-08 02:19:02 MSD
Size:
622 bytes
patch
obsolete
>--- sshutout-1.0.5/sshutout.c~ 2009-10-08 01:39:32 +0400 >+++ sshutout-1.0.5/sshutout.c 2009-10-08 01:44:19 +0400 >@@ -992,7 +992,8 @@ > /* Check for login failure or illegal/invalid user */ > if (strncmp(msg, "Failed", 6) && > !strstr(msg, "error: PAM:") && >- (!illegal_user || (strncmp(msg, "Illegal user", 12) && strncmp(msg, "Invalid user", 12)))) { >+ (!illegal_user || (strncmp(msg, "llegal user", 12) && strncmp(msg, "Invalid user", 12) >+ && strncmp(msg, "UNKNOWN USER", 12)))) { > attempt = 0; > continue; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 21869
: 3970