http_stat_msg: register inspect engine from keyword

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

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

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

Loading…
Cancel
Save