Группа :: Безопасность/Сети
Пакет: sshutout
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: sshutout-1.0.5-alt-logstrings.patch
Скачать
Скачать
--- 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;
}