Actions
Bug #11
closednegated content matches don't work when ! is outside of ""
Affected Versions:
Effort:
Difficulty:
Label:
Description
for example content:!"PASS"; is completely valid in snort but doesn't work in our engine. However content:"!PASS"; does. unit test attached to display the issue.
Files
Updated by Victor Julien about 15 years ago
- Assignee changed from OISF Dev to Anoop Saldanha
Updated by Victor Julien about 15 years ago
- Estimated time changed from 0.50 h to 2.00 h
Updated by Anoop Saldanha about 15 years ago
- File 0001-Fix-for-handling-negated-content-CONTENT.patch 0001-Fix-for-handling-negated-content-CONTENT.patch added
Will Metcalf wrote:
for example content:!"PASS"; is completely valid in snort but doesn't work in our engine.
I thought it does. I think it is the other way round. !\"CONTENT\" is supported
However content:"!PASS"; does. unit test attached to display the issue.
This isn't supported.
The test patch you supplied would fail, because you have called SigTestNegativeTestContent and not SigTestPositiveTestContent.
If you meant \"!PASS\" should also be supported, here is a patch.;
Updated by Victor Julien about 15 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied, thanks guys.
Updated by Victor Julien about 15 years ago
- Status changed from Resolved to Closed
Actions