printf("sticky buffer");
prev = 1;
}
+ if (flags & SIGMATCH_SUPPORT_FIREWALL) {
+ if (prev == 1)
+ printf("%c", sep);
+ printf("supports firewall");
+ prev = 1;
+ }
if (e->Transform) {
if (prev == 1)
printf("%c", sep);
goto error;
}
+ if (s->init_data->firewall_rule && (st->flags & SIGMATCH_SUPPORT_FIREWALL) == 0) {
+ SCLogWarning("keyword \'%s\' has not been tested for firewall rules", optname);
+ }
+
/* see if value is negated */
if ((st->flags & SIGMATCH_HANDLE_NEGATION) && *ptr == '!') {
s->init_data->negated = true;
#define SIGMATCH_INFO_DEPRECATED BIT_U16(10)
/** strict parsing is enabled */
#define SIGMATCH_STRICT_PARSING BIT_U16(11)
+/** keyword supported by firewall rules */
+#define SIGMATCH_SUPPORT_FIREWALL BIT_U16(12)
enum DetectEngineTenantSelectors
{