[MXS-1284] Firewall filter should parse only when necessary Created: 2017-06-09 Updated: 2019-05-28 Resolved: 2019-05-28 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | dbfwfilter |
| Affects Version/s: | 2.0.5 |
| Fix Version/s: | N/A |
| Type: | Task | Priority: | Major |
| Reporter: | Johan Wikman | Assignee: | markus makela |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Description |
|
The firewall filter should parse only when it is necessary. For instance, if the rule is a regex rule then the parse result is not used at all, so parsing should not be done either. Firstly, parsing is expensive and should not be done unless unavoidable and secondly, if the parsing fails the statement will be rejected even though the parse result is not used by the firewall filter. |
| Comments |
| Comment by Johan Wikman [ 2019-05-28 ] |
|
Firewall filter will be deprecated. |