Commit Graph

236 Commits

Author SHA1 Message Date
10f97572de Fixed double quotes not woring with regex rules. 2015-04-02 16:20:36 +03:00
bd9fea4b3d Added support for comment lines in rules. 2015-04-02 14:53:49 +03:00
3b11a945cb Added more logging messages for unexpected tokens that do not affect the behavior. 2015-03-31 19:08:34 +03:00
cb3014d141 Fixed parsing errors and made log messages more descriptive in dbfwfilter. 2015-03-31 18:33:47 +03:00
7c89f49f82 Fix to MXS-74: https://mariadb.atlassian.net/browse/MXS-74
Added missing check for NULL pointer.
2015-03-31 04:21:43 +03:00
875e49c074 Fixed a possible memory leak in dbfwfilter. 2015-03-30 07:34:08 +03:00
0b7e1d5a51 Fix to MXS-71 and MXS-72.
at_times now fails if the parameter is not a properly formatted time.
on_queries was falsely identified as on_operations, the behavior is now in line with the documentation.
2015-03-28 16:03:44 +02:00
e0319067c9 Fix to MXS-68: https://mariadb.atlassian.net/browse/MXS-68
Filter creation fails if the rule file is not valid.
2015-03-28 13:11:57 +02:00
28ee7f18e0 Fixed wrong pointer being checked for NULL value. 2015-03-28 05:38:18 +02:00
6ae929c5d4 Fix to bug MXS-65: https://mariadb.atlassian.net/browse/MXS-65
Added more checks for incorrect rule syntax.
2015-03-27 19:40:18 +02:00
39fc889dda Removed unnecessary headers from dbfwfilter. 2015-03-26 05:45:20 +02:00
5c68782050 Added more trace logging to readcounnroute, schemarouter and tee. 2015-03-24 21:28:03 +02:00
7cfc1d3cc9 Chaged MaxScale default installation directory to /usr/local/mariadb/maxscale and MaxAdmin password to 'mariadb'. 2015-03-23 14:53:31 +02:00
0c6327e6bf Renamed fwfilter to dbfwfilter. 2015-03-19 23:26:34 +02:00
3efe5c6b57 Fixed possible null pointer dereference. 2015-03-19 12:16:53 +02:00
ea039dd01a Fixed to Coverity defects and a fix to tee filter not compiling with SS_DEBUG flag. 2015-03-07 06:00:01 +02:00
22849f7c90 Added support for multiple result sets. 2015-03-06 22:40:10 +02:00
2aaa367c37 Merge branch 'develop' into tee_fixes 2015-03-06 18:27:41 +02:00
521ab1a73b Added match and ignore regex for lagfilter. 2015-03-04 05:20:41 +02:00
3b76ed43c4 Added tee filter multi-statement support. 2015-03-04 04:20:46 +02:00
7ad8c25ab1 Added binary protocol prepared statements to fwfilter matching. 2015-03-04 00:07:44 +02:00
16a1f8056c Added the lagfilter which is used to route queries to a master after executing queries that modify data. 2015-03-03 18:54:46 +02:00
0e133cf82a Fix calls to null DCBs when tee session is being closed. 2015-03-02 13:24:51 +02:00
31b3dee68f Added more debug output to tee filter. 2015-03-02 08:01:31 +02:00
c93a7bede5 Fix to tee child session being in a bad state and the filter session still being active. 2015-02-25 20:22:17 +02:00
eb9d191437 Fixed some tee filter errors regarding closed sessions and qla filter not writing to the file when it locates in /tmp. 2015-02-25 15:37:42 +02:00
3924f70d6b Fixed log manager sometimes not writing the last character in a log message.
This was caused by type conversions from int to size_t and the usage of the MAX macro.
2015-02-20 04:42:02 +02:00
093489d0d7 Added a new matching mode 'strict_all' and added it to the documentation. 2015-02-19 19:36:05 +02:00
c4e276328a Small changes to how query throttling works. 2015-02-19 18:56:43 +02:00
83f4daf925 Fixed error messages not being displayed. 2015-02-19 16:48:00 +02:00
20b075c67b Fixes to fwfilter rule processing. 2015-02-19 16:41:40 +02:00
8b8512890d Added stats to mqfilter and moved the actual sending of the messages to a separate housekeeper task. 2015-02-18 15:20:40 +02:00
03456b931b Added "yes" and "no" to the config truth value check and added the function to the header. 2015-02-18 11:45:01 +02:00
4e5c4c0b6a Fix to bug 568: http://bugs.mariadb.com/show_bug.cgi?id=568
Changed strtok calls to strtok_r where needed.
2015-02-16 09:25:41 +02:00
cd99d6c1dd Fixes to Coverity defects 87073, 87388. 2015-02-16 09:11:55 +02:00
37360eb02e Merge pull request #72 from hholzgra/hartmut-warnings-2nd
"Hartmut warnings 2nd" merged.
2015-02-15 20:26:09 +02:00
cb35472133 Fixed wrong type of char pointer in strtok_r calls in fwfilter.c 2015-02-14 17:38:05 +02:00
3bad5dc814 Fixes to Coverity defects 87308, 87307, 87306, 87074, 87068. 2015-02-14 07:54:17 +02:00
21613cb03d fix comparison prototype to match qsort() expectation 2015-02-13 17:30:02 +01:00
be995a1ac6 Changed strtok to strtok_r in fwfilter.c 2015-02-13 17:19:28 +02:00
4715582df2 Added more doxygen documentation to the firewall filter. 2015-02-13 08:42:31 +02:00
a5d7db65de Added more error log output and fixed memory leaks. 2015-02-10 20:38:47 +02:00
fe32ab63f1 Removed documentation files from the wrong folders. 2015-01-30 20:57:48 +02:00
ab6418c939 Fixes to RabbitMQ filter and consumer. 2015-01-30 18:03:20 +02:00
42d2f99006 Added fwfilter documentation. 2015-01-28 21:40:14 +02:00
270c0ebf8a Clean up, added comments, removed some dead code. 2015-01-27 10:24:37 +02:00
9e642c32cb Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2015-01-22 15:09:01 +01:00
41bc0ddd24 Addition of example filter to set routing hint to route to a named server
based on a regular expression match within the query text.
2015-01-22 15:08:06 +01:00
81aa2b7c00 Removed redundant include from tee.c. 2015-01-20 12:52:39 +02:00
885dfb0242 Merge branch 'remove_makefiles' into develop 2015-01-16 18:04:16 +02:00