From: Victor Julien Date: Fri, 5 Feb 2021 21:01:26 +0000 (+0100) Subject: detect/analyzer: suggest modern keywords X-Git-Tag: suricata-7.0.0-beta1~1738 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b55b327db1590ae7e8ccb1a9ada9ddaa29a900bb;p=thirdparty%2Fsuricata.git detect/analyzer: suggest modern keywords --- diff --git a/src/detect-engine-analyzer.c b/src/detect-engine-analyzer.c index 1975586972..f401d3b098 100644 --- a/src/detect-engine-analyzer.c +++ b/src/detect-engine-analyzer.c @@ -649,13 +649,13 @@ static void DumpMatches(RuleAnalyzer *ctx, JsonBuilder *js, const SigMatchData * } if (LooksLikeHTTPMethod(cd->content, cd->content_len)) { AnalyzerWarning(ctx, - (char *)"pattern looks like it inspects HTTP, use http_request_line or " - "http_method and http_uri instead for improved performance"); + (char *)"pattern looks like it inspects HTTP, use http.request_line or " + "http.method and http.uri instead for improved performance"); } if (LooksLikeHTTPUA(cd->content, cd->content_len)) { AnalyzerWarning(ctx, - (char *)"pattern looks like it inspects HTTP, use http_user_agent " - "or http_header for improved performance"); + (char *)"pattern looks like it inspects HTTP, use http.user_agent " + "or http.header for improved performance"); } jb_close(js); break;