]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - config/guardian/guardian.pl
Fix build logfiles list sometimes files that are not new.
[people/pmueller/ipfire-2.x.git] / config / guardian / guardian.pl
index 8c2e3b7046e98a3094bd1f28e8a7908dbbd7c866..0c37c34f4f8e22e4bd59c44dfcf9bd9069a7029e 100644 (file)
@@ -94,7 +94,7 @@ for (;;) {
                while (<ALERT2>) {
                        chop;
                        if ($_=~/.*sshd.*Failed password for root from.*/) {
-                               my @array=split(/ /,$_);&checkssh ($array[10], "possible SSH-Bruteforce Attack");}
+                               my @array=split(/ /,$_);&checkssh ($array[11], "possible SSH-Bruteforce Attack");}
                        }
        }