Project

General

Profile

Actions

Bug #5177

closed

detect/analyzer: rule analyzer warns about http buffers usage

Added by Juliana Fajardini Reichow over 3 years ago. Updated 19 days ago.

Status:
Closed
Priority:
Normal
Target version:
Affected Versions:
Effort:
low
Difficulty:
low
Label:

Description

Currently, a rule like:

"alert http any any -> any any (http.request_line; content:\"GET /index.html HTTP/1.0\"; sid:61;)" 

Will still generate the warning that should be used only when outdated HTTP keywords are used:
"pattern looks like it inspects HTTP, use http.request_line or http.method and http.uri instead for improved performance" 

Expected behavior:
The warning should only be triggered if the rule still uses the corresponding legacy content modifier.


Related issues 1 (1 open0 closed)

Copied to Suricata - Bug #6418: detect/parse: rule parser error uses outdated bufferNewOISF DevActions
Actions

Also available in: Atom PDF