http_host: register inspect engine from keyword

pull/2310/head
Victor Julien 9 years ago
parent edb2936998
commit a00629ab55

@ -49,7 +49,6 @@
#include "detect-engine-hrhd.h"
#include "detect-engine-hsmd.h"
#include "detect-engine-hscd.h"
#include "detect-engine-hhhd.h"
#include "detect-engine-hrhhd.h"
#include "detect-engine-file.h"
#include "detect-engine-dns.h"
@ -127,9 +126,6 @@ void DetectEngineRegisterAppInspectionEngines(void)
{ ALPROTO_HTTP,
DETECT_SM_LIST_FILEMATCH,
DetectFileInspectHttp },
{ ALPROTO_HTTP,
DETECT_SM_LIST_HHHDMATCH,
DetectEngineInspectHttpHH },
{ ALPROTO_HTTP,
DETECT_SM_LIST_HRHHDMATCH,
DetectEngineInspectHttpHRH },

@ -82,6 +82,11 @@ void DetectHttpHHRegister(void)
DetectMpmAppLayerRegister("http_host", SIG_FLAG_TOSERVER,
DETECT_SM_LIST_HHHDMATCH, 2,
PrefilterTxHostnameRegister);
DetectAppLayerInspectEngineRegister(ALPROTO_HTTP, SIG_FLAG_TOSERVER,
DETECT_SM_LIST_HHHDMATCH,
DetectEngineInspectHttpHH);
return;
}

Loading…
Cancel
Save