Skip to content

Problem with negated Cidr in ossec-2.9 #1065

@Azidburn

Description

@Azidburn

Hey, i updated to ossec 2.9.0 and got errors when i tested the rules.

*** Error in `bin/ossec-logtest': free(): invalid pointer: 0x0000000001c34031 ***

I searched which rule makes the problem. The problem caused by negation of the cidr in the following rule.

  <rule id="73126" level="7">
    <dstip>!xxx.xxx.xxx.0/23</dstip>
    <match> S </match>
    <description>Description</description>
  </rule>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions