[MXS-69] dbfwfilter should be pessimistic about rule syntax errors Created: 2015-03-27 Updated: 2017-12-01 Resolved: 2015-05-01 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.1.1 |
| Type: | New Feature | Priority: | Minor |
| Reporter: | Kolbe Kegel (Inactive) | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
However, the user kolbe@% is allowed to execute queries. I think it would make more sense for the filter to be pessimistic and block the named users from executing any queries in this case. It's also problematic that the rule syntax isn't parsed until the user tries to execute a query. There's no way to know whether the rules are correct before the user is already allowed to execute possibly problematic queries. |
| Comments |
| Comment by markus makela [ 2015-05-01 ] |
|
Unexpected parameters and syntax errors now cause a failure to load the filter. |
| Comment by Timofey Turenko [ 2015-05-12 ] |
|
check is added to fwf test. (see https://github.com/mariadb-corporation/maxscale-system-test/blob/master/fwf.cpp) |