http_raw_header: register inspect engine from keyword

pull/2310/head
Victor Julien 9 years ago
parent eb19eb3fe4
commit b314829614

@ -128,9 +128,6 @@ void DetectEngineRegisterAppInspectionEngines(void)
};
struct tmp_t data_toserver[] = {
{ ALPROTO_HTTP,
DETECT_SM_LIST_HRHDMATCH,
DetectEngineInspectHttpRawHeader },
{ ALPROTO_HTTP,
DETECT_SM_LIST_HMDMATCH,
DetectEngineInspectHttpMethod },
@ -185,9 +182,6 @@ void DetectEngineRegisterAppInspectionEngines(void)
{ ALPROTO_HTTP,
DETECT_SM_LIST_FILEDATA,
DetectEngineInspectHttpServerBody },
{ ALPROTO_HTTP,
DETECT_SM_LIST_HRHDMATCH,
DetectEngineInspectHttpRawHeader },
{ ALPROTO_HTTP,
DETECT_SM_LIST_HCDMATCH,
DetectEngineInspectHttpCookie },

@ -86,6 +86,12 @@ void DetectHttpRawHeaderRegister(void)
DETECT_SM_LIST_HRHDMATCH, 2,
PrefilterTxResponseHeadersRawRegister);
DetectAppLayerInspectEngineRegister(ALPROTO_HTTP, SIG_FLAG_TOSERVER,
DETECT_SM_LIST_HRHDMATCH,
DetectEngineInspectHttpRawHeader);
DetectAppLayerInspectEngineRegister(ALPROTO_HTTP, SIG_FLAG_TOCLIENT,
DETECT_SM_LIST_HRHDMATCH,
DetectEngineInspectHttpRawHeader);
return;
}

Loading…
Cancel
Save