disable mpm pattern's retest skipping in detection engine for uri, hcbd, hmd, hrhd, hhd, hmd, hcd

remotes/origin/master-1.1.x
Anoop Saldanha 14 years ago committed by Victor Julien
parent 681f8329a6
commit d245f15f14

@ -96,8 +96,8 @@ static int DoInspectHttpClientBody(DetectEngineCtx *de_ctx,
DetectContentData *cd = (DetectContentData *)sm->ctx;
SCLogDebug("inspecting content %"PRIu32" payload_len %"PRIu32, cd->id, payload_len);
if (cd->flags & DETECT_CONTENT_HCBD_MPM && !(cd->flags & DETECT_CONTENT_NEGATED))
goto match;
//if (cd->flags & DETECT_CONTENT_HCBD_MPM && !(cd->flags & DETECT_CONTENT_NEGATED))
// goto match;
/* rule parsers should take care of this */
#ifdef DEBUG

@ -98,8 +98,8 @@ static int DoInspectHttpCookie(DetectEngineCtx *de_ctx,
SCLogDebug("inspecting http cookie %"PRIu32" payload_len %"PRIu32,
cd->id, payload_len);
if (cd->flags & DETECT_CONTENT_HCD_MPM && !(cd->flags & DETECT_CONTENT_NEGATED))
goto match;
//if (cd->flags & DETECT_CONTENT_HCD_MPM && !(cd->flags & DETECT_CONTENT_NEGATED))
// goto match;
/* rule parsers should take care of this */
#ifdef DEBUG

@ -98,8 +98,8 @@ static int DoInspectHttpHeader(DetectEngineCtx *de_ctx,
SCLogDebug("inspecting http headers %"PRIu32" payload_len %"PRIu32,
cd->id, payload_len);
if (cd->flags & DETECT_CONTENT_HHD_MPM && !(cd->flags & DETECT_CONTENT_NEGATED))
goto match;
//if (cd->flags & DETECT_CONTENT_HHD_MPM && !(cd->flags & DETECT_CONTENT_NEGATED))
// goto match;
/* rule parsers should take care of this */
#ifdef DEBUG

@ -98,8 +98,8 @@ static int DoInspectHttpMethod(DetectEngineCtx *de_ctx,
SCLogDebug("inspecting http method %"PRIu32" payload_len %"PRIu32,
cd->id, payload_len);
if (cd->flags & DETECT_CONTENT_HMD_MPM && !(cd->flags & DETECT_CONTENT_NEGATED))
goto match;
//if (cd->flags & DETECT_CONTENT_HMD_MPM && !(cd->flags & DETECT_CONTENT_NEGATED))
// goto match;
/* rule parsers should take care of this */
#ifdef DEBUG

@ -98,8 +98,8 @@ static int DoInspectHttpRawHeader(DetectEngineCtx *de_ctx,
SCLogDebug("inspecting http headers %"PRIu32" payload_len %"PRIu32,
cd->id, payload_len);
if (cd->flags & DETECT_CONTENT_HRHD_MPM && !(cd->flags & DETECT_CONTENT_NEGATED))
goto match;
//if (cd->flags & DETECT_CONTENT_HRHD_MPM && !(cd->flags & DETECT_CONTENT_NEGATED))
// goto match;
/* rule parsers should take care of this */
#ifdef DEBUG

@ -101,8 +101,8 @@ static int DoInspectPacketUri(DetectEngineCtx *de_ctx,
ud = (DetectContentData *)sm->ctx;
SCLogDebug("inspecting content %"PRIu32" payload_len %"PRIu32, ud->id, payload_len);
if (ud->flags & DETECT_CONTENT_URI_MPM && !(ud->flags & DETECT_CONTENT_NEGATED))
goto match;
//if (ud->flags & DETECT_CONTENT_URI_MPM && !(ud->flags & DETECT_CONTENT_NEGATED))
// goto match;
/* rule parsers should take care of this */
#ifdef DEBUG

Loading…
Cancel
Save