[Logcheck-devel] Bug#422525: logcheck: log-summary-ssh s/Illegal/Invalid/ user match
Pryzby, Justin
justin.pryzby at quoininc.com
Sun May 6 17:46:20 UTC 2007
Package: logcheck
Version: 1.2.47
Tags: patch
--- ./log-summary-ssh 2005-12-31 06:49:05.000000000 -0500
+++ /home/jpryzby/log-summary-ssh 2007-05-06 13:45:54.000000000 -0400
@@ -32,7 +32,7 @@
my $invf = 0; # flag values
while (<>) {
- if (m/^\w{3} [ :0-9]{11} [._[:alnum:]-]+ sshd\[[0-9]+\]: Illegal user (.*) from (.*)$/) {
+ if (m/^\w{3} [ :0-9]{11} [._[:alnum:]-]+ sshd\[[0-9]+\]: (?:Illegal|Invalid) user (.*) from (.*)$/) {
my $ip = $2;
chomp $ip;
$h{$ip} ++;
More information about the Logcheck-devel
mailing list