http_stat_msg: register inspect engine from keyword

pull/2310/head
Victor Julien 10 years ago
parent 20e93ba419
commit cd705752db

@ -46,7 +46,6 @@
#include "detect-engine-uri.h" #include "detect-engine-uri.h"
#include "detect-engine-hrhd.h" #include "detect-engine-hrhd.h"
#include "detect-engine-hsmd.h"
#include "detect-engine-hscd.h" #include "detect-engine-hscd.h"
#include "detect-engine-file.h" #include "detect-engine-file.h"
#include "detect-engine-dns.h" #include "detect-engine-dns.h"
@ -152,9 +151,6 @@ void DetectEngineRegisterAppInspectionEngines(void)
{ ALPROTO_HTTP, { ALPROTO_HTTP,
DETECT_SM_LIST_FILEMATCH, DETECT_SM_LIST_FILEMATCH,
DetectFileInspectHttp }, DetectFileInspectHttp },
{ ALPROTO_HTTP,
DETECT_SM_LIST_HSMDMATCH,
DetectEngineInspectHttpStatMsg },
{ ALPROTO_HTTP, { ALPROTO_HTTP,
DETECT_SM_LIST_HSCDMATCH, DETECT_SM_LIST_HSCDMATCH,
DetectEngineInspectHttpStatCode }, DetectEngineInspectHttpStatCode },

@ -90,6 +90,10 @@ void DetectHttpStatMsgRegister (void)
DetectMpmAppLayerRegister("http_stat_msg", SIG_FLAG_TOCLIENT, DetectMpmAppLayerRegister("http_stat_msg", SIG_FLAG_TOCLIENT,
DETECT_SM_LIST_HSMDMATCH, 3, DETECT_SM_LIST_HSMDMATCH, 3,
PrefilterTxHttpStatMsgRegister); PrefilterTxHttpStatMsgRegister);
DetectAppLayerInspectEngineRegister(ALPROTO_HTTP, SIG_FLAG_TOCLIENT,
DETECT_SM_LIST_HSMDMATCH,
DetectEngineInspectHttpStatMsg);
} }
/** /**

Loading…
Cancel
Save