From fc857c5455d097419adb758134486fe9eebafd8d Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 22 Sep 2016 17:39:06 +0200 Subject: [PATCH] http_raw_uri: register inspect engine from keyword --- src/detect-engine.c | 4 ---- src/detect-http-raw-uri.c | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/detect-engine.c b/src/detect-engine.c index 4639420877..f5876b46b9 100644 --- a/src/detect-engine.c +++ b/src/detect-engine.c @@ -47,7 +47,6 @@ #include "detect-engine-uri.h" #include "detect-engine-hsbd.h" #include "detect-engine-hrhd.h" -#include "detect-engine-hrud.h" #include "detect-engine-hsmd.h" #include "detect-engine-hscd.h" #include "detect-engine-hua.h" @@ -126,9 +125,6 @@ void DetectEngineRegisterAppInspectionEngines(void) }; struct tmp_t data_toserver[] = { - { ALPROTO_HTTP, - DETECT_SM_LIST_HRUDMATCH, - DetectEngineInspectHttpRawUri }, { ALPROTO_HTTP, DETECT_SM_LIST_FILEMATCH, DetectFileInspectHttp }, diff --git a/src/detect-http-raw-uri.c b/src/detect-http-raw-uri.c index deb9b879e7..5782fdf3d3 100644 --- a/src/detect-http-raw-uri.c +++ b/src/detect-http-raw-uri.c @@ -78,6 +78,10 @@ void DetectHttpRawUriRegister(void) DETECT_SM_LIST_HRUDMATCH, 2, PrefilterTxRawUriRegister); + DetectAppLayerInspectEngineRegister(ALPROTO_HTTP, SIG_FLAG_TOSERVER, + DETECT_SM_LIST_HRUDMATCH, + DetectEngineInspectHttpRawUri); + return; }