Describes how to override default regular expression limits for intrusion rules to balance improved detection with system performance.
The default regular expression limits ensure a minimum level of performance. Overriding these limits could increase security, but could also significantly impact performance by permitting packet evaluation against inefficient regular expressions.
Do not override default PCRE limits unless you are an experienced intrusion rule writer with knowledge of the impact of degenerative patterns.
| Option |
Description |
|---|---|
| Match Limit State |
Specifies whether to override Match Limit. You have these options:
|
| Match Limit |
Specifies the number of times to attempt to match a pattern defined in a PCRE regular expression. |
| Match Recursion Limit State |
Specifies whether to override Match Recursion Limit. You have these options:
Note that for Match Recursion Limit to be meaningful, it must be smaller than Match Limit. |
| Match Recursion Limit |
Specifies the number of recursions when evaluating a PCRE regular expression against the packet payload. |