Bug#324613: [Logcheck-devel] Bug#324613: update for horde3

maximilian attems debian at sternwelten.at
Thu Sep 1 18:03:39 UTC 2005


tags 324613 moreinfo
stop

On Tue, 23 Aug 2005, Martin Lohmeier wrote:

> Hi,
> 
> just a little update on the rules for horde3 [1]. I noticed that the
> identifier can be changed by the user.
> I tested the new version - it's working.
> 
> by, Martin

thanks for your contribution.
but i would prefer to be stricter, what are the possiblities for the
users: aka which special chars are allowed and what about spaces?
 
> [1] you do not nedd to call the file 'local-horde3' - the examples I
> submitted are from a non-debian installation, but the debian packages
> creates the same lines (I can't use the debian package because on my
> host there is more then one horde installation) - I also toled the horde
> maintainer that this file has been added.
> 
> --- local-horde3	2005-08-22 02:21:44.799867048 +0200
> +++ horde3	2005-08-22 02:23:06.504446064 +0200
> @@ -1,2 +1,2 @@
> -^\w{3} [ :0-9]{11} [._[:alnum:]-]+ HORDE\[[0-9]+\]: \[horde\] Login success for [@._[:alnum:]-]+ \[[.0-9]{7,15}\] to Horde \[on line [0-9]+ of ".+"\]$
> -^\w{3} [ :0-9]{11} [._[:alnum:]-]+ HORDE\[[0-9]+\]: \[horde\] User [@._[:alnum:]-]+ \[[.0-9]{7,15}\] logged out of Horde \[on line [0-9]+ of ".+"\]$
> +^\w{3} [ :0-9]{11} [._[:alnum:]-]+ .+\[[0-9]+\]: \[horde\] Login success for [@._[:alnum:]-]+ \[[.0-9]{7,15}\] to Horde \[on line [0-9]+ of ".+"\]$
> +^\w{3} [ :0-9]{11} [._[:alnum:]-]+ .+\[[0-9]+\]: \[horde\] User [@._[:alnum:]-]+ \[[.0-9]{7,15}\] logged out of Horde \[on line [0-9]+ of ".+"\]$

without aboves info, i prefer:
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ [[:alnum:]]+\[[0-9]+\]: \[horde\] User [@._[:alnum:]-]+ \[[.0-9]{7,15}\] logged out of Horde \[on line [0-9]+ of ".+"\]$


--
maks






More information about the Logcheck-devel mailing list