[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ossec-list] Re: filter rules on host and log file?



Hi Philipp,

Sorry for the late reply... Catching up on e-mails :)

Your web servers logs should not be checked against rule 1002, which
is exclusive to
syslog messages. Internally, on ossec, we separate the logs per
category (weblog, syslog, proxy, firewall, etc) and it wouldn't match
Apache logs against syslog ones, unless the
apache log is not being decoded properly.

Can you show us a sample from your logs? Are they in a different
format than the default
apache one?

Thanks,

--
Daniel B. Cid
dcid ( at ) ossec.net



On 9/4/07, metacosmic@xxxxxxxxx <metacosmic@xxxxxxxxx> wrote:
>
> hi *,
>
> i run ossec agent on several web servers where i monitor the system
> files and the webserver log files.
> now i ran into a problem with the rule
>
> Rule: 1002 fired (level 7) -> "Unknown problem somewhere in the
> system."
>
> this rules (is my understanding) is just a pattern matching of bad
> words or?
> and here starts my problem ;)
>
> there might be session id in the webserver logfiles wich includes the
> three letters bad ...
> there might be a valid html slide with the name terrorist
> there might be a valid html slide with the name errorxyz ...
>
> all this stuf fires up the rules 1002 :)
>
> therefor i don´t want to apply the rules to the webserver log files
> but of curse to the system log files on this host ...
> i don't have the slightest idea of howto manage this with rules
> section :)
>
> ideas very welcome!
>
> cheers
> philipp
>
>


OSSEC home | Main Index | Thread Index


OSSEC project: www.ossec.net.
Mailling list information: http://www.ossec.net/en/mailing_lists.html.