From d62616f80545c3bad845487973ef053dd8f886a1 Mon Sep 17 00:00:00 2001 From: Andreas Herz Date: Thu, 22 Oct 2020 22:40:10 +0200 Subject: [PATCH] detect-rawbytes: add rawbytes doc help output --- src/detect-rawbytes.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/detect-rawbytes.c b/src/detect-rawbytes.c index 738eb365aa..f3b2ded8a8 100644 --- a/src/detect-rawbytes.c +++ b/src/detect-rawbytes.c @@ -43,6 +43,9 @@ static int DetectRawbytesSetup(DetectEngineCtx *, Signature *, const char *); void DetectRawbytesRegister(void) { sigmatch_table[DETECT_RAWBYTES].name = "rawbytes"; + sigmatch_table[DETECT_RAWBYTES].desc = + "dummy keyword to be compatible with snort signatures without effect"; + sigmatch_table[DETECT_RAWBYTES].url = "/rules/payload-keywords.html#rawbytes"; sigmatch_table[DETECT_RAWBYTES].Setup = DetectRawbytesSetup; sigmatch_table[DETECT_RAWBYTES].flags |= SIGMATCH_NOOPT; }