[MXS-2630] mysqldump rejected by maxscale (Query could not be tokenized) Created: 2019-08-13 Updated: 2020-04-07 Resolved: 2020-03-03 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | dbfwfilter, qc_sqlite |
| Affects Version/s: | 2.3.11 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Thies Meincke | Assignee: | Johan Wikman |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Environment: |
maxscale: SLES 12.4 |
||
| Sprint: | MXS-SPRINT-101 |
| Description |
|
mysqldump from clients rejected by maxscale when dbfwfilter is active: mysqldump -p -u ***** -h ***** testdb1 > testdb1.dump maxscale-log: mysqldump works if dbfwfilter is not used by maxscale |
| Comments |
| Comment by Johan Wikman [ 2020-03-03 ] | |
|
The MaxScale parser detects but does not handle MariaDB version specific comment such as
but treats them as regular comments. Further, as the parser does not know what the actual effect of that comment will be, it marks the statement as having at most been partially parsed. The firewall rejects all statements that have not been fully parsed as otherwise that could be used for bypassing the firewall rules. |