Feature #196 » 0005-Updating-other-http-modifiers-for-sigs-with-fast_pat.patch
src/detect-http-client-body.c | ||
---|---|---|
return -1;
|
||
}
|
||
if (((DetectContentData *)sm->ctx)->flags & DETECT_CONTENT_FAST_PATTERN)
|
||
{
|
||
SCLogWarning(SC_WARN_COMPATIBILITY,
|
||
"http_client_body cannot be used with \"fast_pattern\" currently."
|
||
"Unsetting fast_pattern on this modifier. Signature ==> %s", s->sig_str);
|
||
((DetectContentData *)sm->ctx)->flags &= ~DETECT_CONTENT_FAST_PATTERN;
|
||
}
|
||
/* http_client_body should not be used with the rawbytes rule */
|
||
if ( ((DetectContentData *)sm->ctx)->flags & DETECT_CONTENT_RAWBYTES) {
|
||
SCLogError(SC_ERR_INVALID_SIGNATURE, "http_client_body rule can not "
|
src/detect-http-header.c | ||
---|---|---|
return -1;
|
||
}
|
||
if (((DetectContentData *)sm->ctx)->flags & DETECT_CONTENT_FAST_PATTERN)
|
||
{
|
||
SCLogWarning(SC_WARN_COMPATIBILITY,
|
||
"http_header cannot be used with \"fast_pattern\" currently."
|
||
"Unsetting fast_pattern on this modifier. Signature ==> %s", s->sig_str);
|
||
((DetectContentData *)sm->ctx)->flags &= ~DETECT_CONTENT_FAST_PATTERN;
|
||
}
|
||
/* http_header should not be used with the rawbytes rule */
|
||
if ( ((DetectContentData *)sm->ctx)->flags & DETECT_CONTENT_RAWBYTES) {
|
||
SCLogError(SC_ERR_INVALID_SIGNATURE, "http_header rule can not "
|
src/detect-http-uri.c | ||
---|---|---|
return -1;
|
||
}
|
||
if (((DetectContentData *)pm->ctx)->flags & DETECT_CONTENT_FAST_PATTERN)
|
||
{
|
||
SCLogWarning(SC_WARN_COMPATIBILITY,
|
||
"http_uri cannot be used with \"fast_pattern\" currently."
|
||
"Unsetting fast_pattern on this modifier. Signature ==> %s", s->sig_str);
|
||
((DetectContentData *)pm->ctx)->flags &= ~DETECT_CONTENT_FAST_PATTERN;
|
||
}
|
||
/* http_uri should not be used with the rawbytes rule */
|
||
if (((DetectContentData *)pm->ctx)->flags & DETECT_CONTENT_RAWBYTES) {
|
||
- « Previous
- 1
- 2
- 3
- 4
- Next »