--- sshlockout_pf.c 2010-08-12 20:18:03.572514746 +0200 +++ new_sshlockout_pf.c 2010-08-12 20:19:20.472448776 +0200 @@ -95,7 +95,7 @@ openlog("sshlockout", LOG_PID|LOG_CONS, LOG_AUTH); // We are starting up - syslog(LOG_ERR, "sshlockout v%s starting up", VERSION); + syslog(LOG_ERR, "sshlockout v%.1f starting up", VERSION); // Open up stderr and stdout to the abyss (void)freopen("/dev/null", "w", stdout); @@ -114,12 +114,13 @@ check_for_denied_string("Failed password for admin from", buf); check_for_denied_string("Failed password for invalid user", buf); check_for_denied_string("Illegal user", buf); + check_for_denied_string("Invalid user", buf); check_for_denied_string("authentication error for", buf); check_for_accepted_string("Accepted keyboard-interactive/pam for", buf); } // We are exiting - syslog(LOG_ERR, "sshlockout v%s exiting", VERSION); + syslog(LOG_ERR, "sshlockout v%.1f exiting", VERSION); // That's all folks. return(0);