Project

General

Profile

Bug #758 » fix.patch

Ralph Zitz, 08/12/2010 02:27 PM

View differences:

new_sshlockout_pf.c 2010-08-12 20:19:20.472448776 +0200
95 95
	openlog("sshlockout", LOG_PID|LOG_CONS, LOG_AUTH);
96 96

  
97 97
	// We are starting up
98
	syslog(LOG_ERR, "sshlockout v%s starting up", VERSION);
98
	syslog(LOG_ERR, "sshlockout v%.1f starting up", VERSION);
99 99

  
100 100
	// Open up stderr and stdout to the abyss
101 101
	(void)freopen("/dev/null", "w", stdout);
......
114 114
		check_for_denied_string("Failed password for admin from", buf);
115 115
		check_for_denied_string("Failed password for invalid user", buf);
116 116
		check_for_denied_string("Illegal user", buf);
117
		check_for_denied_string("Invalid user", buf);
117 118
		check_for_denied_string("authentication error for", buf);
118 119
		check_for_accepted_string("Accepted keyboard-interactive/pam for", buf);
119 120
	}
120 121

  
121 122
	// We are exiting
122
	syslog(LOG_ERR, "sshlockout v%s exiting", VERSION);
123
	syslog(LOG_ERR, "sshlockout v%.1f exiting", VERSION);
123 124

  
124 125
	// That's all folks.
125 126
	return(0);
(2-2/2)