[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ossec-list] regex problem in OSSEC?
- To: <ossec-list@xxxxxxxxx>
- Subject: [ossec-list] regex problem in OSSEC?
- From: "Mark Haney" <mhaney@xxxxxxxxxxxxxxxx>
- Date: Thu, 08 Feb 2007 09:09:36 -0500
- Content-class: urn:content-classes:message
- Content-transfer-encoding: 7bit
- Importance: normal
- Priority: normal
- Thread-index: AcdLisM0jnhl/103QEqxcLe0brz5Qw==
I've encountered what I think is a problem in OSSEC with regular
expressions. I have a rule that looks like this:
<rule id="1820" level="8" timeframe="30">
<regex>partially</regex>
<if_matched_regex>completed, but with some warnings$</if_matched_regex>
<description>Partial backup of data</description>
</rule>
However, the regex searching for 'partially' doesn't fire at all if I
take out the <if> part. Shouldn't the <regex> tag work like a <match>
tag if there aren't any regex meta characters?
--
Ita erat quando hic adveni.
Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415
OSSEC home |
Main Index |
Thread Index
OSSEC project: www.ossec.net.
Mailling list information: http://www.ossec.net/en/mailing_lists.html.