Feature #196 » 0003-Print-also-the-Signature-raw-string.patch
src/detect-http-cookie.c | ||
---|---|---|
/* http_cookie should not be used with the fast_pattern rule */
|
||
if (((DetectContentData *)pm->ctx)->flags & DETECT_CONTENT_FAST_PATTERN) {
|
||
SCLogWarning(SC_WARN_COMPATIBILITY, "http_cookie rule can not "
|
||
"be used with the fast_pattern rule keyword. Unsetting fast_pattern"
|
||
"here");
|
||
"be used with the fast_pattern rule keyword. "
|
||
"Unsetting fast_pattern on this modifier. Signature ==> %s", s->sig_str);
|
||
((DetectContentData *)pm->ctx)->flags &= ~DETECT_CONTENT_FAST_PATTERN;
|
||
/* http_cookie should not be used with the rawbytes rule */
|
||
} else if (((DetectContentData *)pm->ctx)->flags & DETECT_CONTENT_RAWBYTES) {
|
src/detect-http-method.c | ||
---|---|---|
{
|
||
SCLogWarning(SC_WARN_COMPATIBILITY,
|
||
"http_method cannot be used with \"fast_pattern\" currently."
|
||
"Unsetting fast_pattern on this modifier.");
|
||
"Unsetting fast_pattern on this modifier. Signature ==> %s", s->sig_str);
|
||
((DetectContentData *)pm->ctx)->flags &= ~DETECT_CONTENT_FAST_PATTERN;
|
||
} else if (((DetectContentData *)pm->ctx)->flags & DETECT_CONTENT_RAWBYTES)
|
||
{
|