Fixed Guardian ssh log parsing.

This commit is contained in:
Christian Schmidt
2010-10-05 21:32:07 +02:00
parent f084117d93
commit a3db3cc9f6
2 changed files with 2 additions and 2 deletions

View 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");}
}
}

View File

@@ -30,7 +30,7 @@ THISAPP = guardian-$(VER)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = guardian
PAK_VER = 5
PAK_VER = 6
DEPS = ""