From: Christian Schmidt Date: Tue, 5 Oct 2010 19:32:07 +0000 (+0200) Subject: Fixed Guardian ssh log parsing. X-Git-Tag: v2.9-beta1~92 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a3db3cc9f6104eca3cc78c5b1b8118576b8b9b95;p=people%2Fms%2Fipfire-2.x.git Fixed Guardian ssh log parsing. --- diff --git a/config/guardian/guardian.pl b/config/guardian/guardian.pl index 8c2e3b7046..0c37c34f4f 100644 --- a/config/guardian/guardian.pl +++ b/config/guardian/guardian.pl @@ -94,7 +94,7 @@ for (;;) { while () { 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");} } } diff --git a/lfs/guardian b/lfs/guardian index 65f14cbd4d..6cec09bd9d 100644 --- a/lfs/guardian +++ b/lfs/guardian @@ -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 = ""