f378c61948
Merge branch 'develop' into firewall
2014-11-04 18:42:35 +02:00
a493a841d9
Fix to harness_common.c Coverity errors.
2014-11-04 18:21:31 +02:00
1b9da8662d
Fixed Coverity errors that were in harness_common.c
2014-11-04 11:37:26 +02:00
e275b5e533
Added query throttling for network ranges
2014-11-03 11:36:13 +02:00
b7f9819407
Merge branch 'develop' into firewall
2014-11-03 09:26:31 +02:00
10f8d0535a
Fixes to Coverity tasks 72734, 72717, 72700
2014-11-01 20:33:17 +02:00
f8f6006314
Fixed a bug with regex matching
2014-10-31 14:37:06 +02:00
39cee913cc
Refined the rule syntax,moved over to separate rule files and fixed some bugs.
2014-10-29 16:10:13 +02:00
a78f1e1b6c
Merge branch 'develop' into firewall
2014-10-29 13:21:55 +02:00
f3c627cfed
Queries can be matched against any matching rule or only when all rules match.
2014-10-29 13:19:00 +02:00
339974ae84
Added a regex rule.
2014-10-27 13:38:31 +02:00
38de0909c3
Redid some of the code to make it easier to add more rule types.
...
Added a timerange for the rules when they are active, defaults to always on.
Added custom error messages.
2014-10-27 10:29:29 +02:00
89c7b907a3
Addition to Fix of bug #585 , http://bugs.mariadb.com/show_bug.cgi?id=585
...
regexfilter.c:routeQuery called modutil_replace_SQL which resulted in multiple buffers in query GWBUF. Those weren't handled properly later. Added call for gwbug_make_contiguous.
2014-10-24 18:30:53 +03:00
67101278ac
Redid the rules to make it easier to apply different rules to different users
2014-10-24 08:43:51 +03:00
287bc90465
Fix to bug #585 , http://bugs.mariadb.com/show_bug.cgi?id=585
...
buffer.c:gwbuf_make_contiguous: when new buffer is created, copy original buffer's type to new buffer
modutil.c:modutil_replace_SQL: when new bugger is added to GWBUF, copy original buffer's type to new buffer
In all filters, merge all buffers of GWBUF to one before calling modutil:extract_SQL
2014-10-21 21:13:21 +03:00
8c55d0b0cb
Added documentation about rule syntax.
2014-10-19 07:05:45 +03:00
11c2d4dfe4
Added a rule to restrict queries during certain hours of the day
2014-10-16 14:12:00 +03:00
effe8f3297
Switched over to hashtables for users and columns.
2014-10-15 15:23:14 +03:00
104e79a591
Merge branch 'develop' into firewall
2014-10-15 05:51:08 +03:00
9ed65759a2
Changed missed references of SkySQL, Gateway and old emails and URLs to new versions.
2014-10-14 14:14:10 +03:00
9abe270da8
added checking for where clause on queries
2014-10-13 13:48:07 +03:00
75117f2482
Merge branch 'develop' into firewall
...
Conflicts:
server/modules/filter/CMakeLists.txt
2014-10-12 10:13:54 +03:00
c99b7c884f
Added rule for requirement of where clause on queries
2014-10-12 10:12:35 +03:00
be08f22ae1
Changed old references to SkySQL to MariaDB Corporation and Gateway to MaxScale.
2014-10-10 16:38:54 +03:00
e00dbb9beb
Added missing my_config.h header to mqfilter.c
2014-10-10 13:17:12 +03:00
afc081d992
Added column, username and wildcard rules.
2014-10-10 08:50:41 +03:00
fe20df3596
Merged new query classifier tests and the filter harness
...
testserver.c: commented out the code that referred to undefined variables
testusers.c: changed server to user for the assert to make sense
2014-10-09 15:46:04 +03:00
8d5b985e2b
Added blocking of IP ranges.
2014-10-09 15:31:44 +03:00
e02bed1f14
Initial implementation of the firewall filter.
2014-10-09 13:22:38 +03:00
b03b886c3f
added independent testing of the hint filter
2014-10-06 13:24:09 +03:00
68580af95f
Modifications to building
2014-10-06 10:41:56 +03:00
1adc6ac5e8
Merge remote-tracking branch 'origin/develop' into filter_harness
2014-10-06 09:43:42 +03:00
524f693991
Split the filter testing harness into two different versions, the interactive and command line tool.
2014-10-06 09:41:21 +03:00
c4ca1ddb13
Updated non-source files with new company name.
2014-10-01 15:21:47 +03:00
0acb8fe05d
Renaming missed SkySQL references.
2014-10-01 13:48:00 +03:00
c344231f80
Renamed all occurences of SkySQL to MariaDB Corporation
2014-09-30 13:02:10 +03:00
fc848665e5
Added variables for RabbitMQ headers and libraries, added more error checks.
...
modified: CMakeLists.txt
modified: README
modified: macros.cmake
modified: query_classifier/test/canonical_tests/CMakeLists.txt
modified: rabbitmq_consumer/CMakeLists.txt
modified: server/modules/filter/CMakeLists.txt
2014-09-22 13:14:53 +03:00
3f0de666ac
Changed the order of linking to resolve some debug build bugs and added the missing parent directory of the MYSQL_DIR into the included directories.
2014-09-20 19:44:30 +03:00
530d29f96d
Merge branch 'release-1.0beta-refresh' into filter_harness
2014-09-17 11:07:12 +03:00
fdf1271138
Cleaned up RabbitMQ component building.
2014-09-16 11:34:05 +03:00
1f56db310d
Changed variable names to closer match their usage
...
Changed the default values to the same as in makefiles
Added configured versions of maxscale.conf and maxscale init.d script
2014-09-15 14:12:55 +03:00
5d26cf6fd5
Added optional RabbitMQ component configuration
...
Changed all the configuration variables to cached
Fixed some errors in tests
2014-09-14 07:33:21 +03:00
b3ce971020
initial implementation of the CMake build system
2014-09-11 18:24:41 +03:00
0a468a910b
Makefile modifications
...
Makefile modifications
2014-09-11 13:10:02 +02:00
8b5b4a17fe
Merge from Z3
...
Merge from Z3
2014-09-11 12:51:16 +02:00
6196dfb050
fix to bug 475
2014-09-10 16:18:47 +03:00
950c30e065
Fix bug 528 - wrong service name in tee fitler crashes MaxScale
2014-09-09 08:50:15 +01:00
d77b9f4de3
server/core/test/makefile and
...
server/modules/filter/Makefile: Added path to libmysqld (-L<path>) so that linker finds it at compile time.
server/test/MaxScale_template.cnf: added write_ses_variables_to_all=Yes and read_ses_variables_from_slaves=Yes so that tests included in testall target succeed (at server/modules/routing/readwritesplit/test). Added hint filter to 'normal' rwsplit service.
2014-09-09 09:36:24 +03:00
f74493d922
server/modules/filter/Makefile: Fixed problem which prevented cleaning and compiling hintfilter library.
...
server/core/config.c: Removed unused if..else block from config_get_valint. Changed it also to return value which indicates whether the operation succeed. Added config_get_valbool similar to config_get_valint.
service.c:Added typelib-like struct and array of valid boolean values. Fixed parameter type test in service_set_param_value. Completed boolean type parameter handling.
hintparser.c:Fixed error message for non-maxscale hints.
readwritesplit.c:Added loading of configuration parameters from service to instance and from instance to each new session. Fixed routing condition in get_route_target. Modified get_route_target so that it takes also rw_read_sesvars_from_slaves and rw_write_sesvars_to_all as parameters.
skygw_types.h: added array size counting macro.
2014-09-08 21:44:23 +03:00
7b7fc74cfa
RabbitMQ filter is now built by default and can be disabled with BUILD_RABBITMQ=N
2014-09-05 12:00:48 +03:00