4759df9f87
Added proper wildcard database grant detection.
2015-06-27 09:08:20 +03:00
f0aed1f666
Fixed possible null pointer dereferences in mysql_backend.
2015-06-17 10:05:56 +03:00
f602121459
Added configurable SSL certificate verification depth and updated the documentation in the code.
2015-06-12 21:21:06 +03:00
5936916e04
Merge branch 'develop' into MXS-129
2015-06-12 13:53:41 +03:00
2b2e81feb2
Fix to MXS-181: https://mariadb.atlassian.net/browse/MXS-181
...
Added TCP_NODELAY to socket options.
2015-06-11 19:05:05 +03:00
c15469013e
Fixed non-SSL connections to SSL enabled services failing.
2015-06-10 15:05:39 +03:00
de2910f75b
Fixed SSL_accept failing if the GWBUF with the initial MySQL auth packet contains some of the SSL authentication data.
2015-06-09 22:27:15 +03:00
196d41cb88
More debug output.
2015-06-09 20:02:45 +03:00
06c5da7b17
Minor fix to SSL authentication.
2015-06-09 02:56:55 +03:00
1c36cfb285
Added more debug output.
2015-06-08 18:04:43 +03:00
61ea0861ff
Fixed some connections hanging with SSL.
2015-06-08 14:35:31 +03:00
e83799648a
Fixed queries getting stuck when the SSL records were of the maximum allowed size.
2015-06-05 11:00:51 +03:00
a032c94d25
Added comments to SSL tests.
2015-06-04 16:49:39 +03:00
4d30cd5fd3
Added unit test for SSL version.
2015-06-03 13:28:35 +03:00
19ac70fc2f
Added unit tests for SSL.
2015-06-03 13:15:45 +03:00
08e0a31826
Fixed session creation failure messages using the wrong packet number when an SSL connection was made.
2015-06-02 06:42:41 +03:00
6e01757455
Added error message to users when trying to connect to a MaxScale service that only allows SSL connections.
2015-06-02 06:39:51 +03:00
d7232d8b6e
Moved SSL structure to the DCB instead of the MySQL protocol.
...
This allows for non-MySQL SSL connections.
2015-06-01 20:51:26 +03:00
4d5291c263
Fixed wrong packet sequence number causing a disconnect from the client.
2015-06-01 13:58:26 +03:00
a2768955e7
SSL handshake now successfully completes when a client connects with SSL enabled.
2015-06-01 13:50:22 +03:00
0f814d3e73
Added SSL write and read functions.
2015-05-29 13:00:37 +03:00
f946a44620
Added handling of partial SSL handshakes.
2015-05-28 23:11:32 +03:00
a572166ffd
Added ssl handshake to mysql_client
2015-05-28 22:19:50 +03:00
449c186a66
Added OpenSSL init function call.
2015-05-28 18:14:00 +03:00
3d6259cb00
Added configuration options for different SSL modes.
2015-05-28 16:33:51 +03:00
16d6bd6d2c
Added service SSL mode variables.
2015-05-28 11:56:14 +03:00
5f076b81d4
Merge branch 'install_dir_change' into develop
...
Conflicts:
CMakeLists.txt
Documentation/Tutorials/Administration-Tutorial.md
log_manager/CMakeLists.txt
server/core/CMakeLists.txt
server/core/gateway.c
server/core/maxkeys.c
server/core/maxpasswd.c
server/modules/filter/test/CMakeLists.txt
server/modules/routing/CMakeLists.txt
2015-05-26 13:34:39 +03:00
9f024b5389
Added missing parenthesis.
2015-05-21 18:08:45 +03:00
3ef9b0927d
Fixed minor memory leak in mysql_backend when gw_decode_mysql_server_handshake failed.
2015-05-11 15:33:36 +03:00
17a7b2addb
Updated more variables.
2015-04-26 20:08:27 +03:00
df9bc65430
Added variables that are used when installing instead of relative paths.
2015-04-25 18:35:47 +03:00
1b3af7d61f
Fixes to Coverity defects.
2015-04-16 19:41:49 +03:00
d16e4fe134
Added an option for optimization of wildcard grants to individual grants. The default behavior now checks first for specific grants to a database the wildcard grants.
2015-04-15 06:51:52 +03:00
3a0807251c
Fix to MXS-54: https://mariadb.atlassian.net/browse/MXS-54
...
Added log messages for failed authentication attempts.
2015-03-30 15:43:51 +03:00
7c794b1d21
Fixed a memory leak in mysql_client
2015-03-27 20:28:04 +02:00
f870d3bf14
Added more alternative logging.
2015-03-25 11:23:51 +02:00
cc9b0db5e9
Added logging about authentication errors.
2015-03-24 19:32:17 +02:00
54d242758f
Revert "Removed walking of packets from mysql_backend and moved storing of partial packets to session command handling section."
...
This reverts commit 9e1dc40bb549fdaf05fb4f8c12dc159c30ad4c41.
2015-03-23 11:55:03 +02:00
9e1dc40bb5
Removed walking of packets from mysql_backend and moved storing of partial packets to session command handling section.
2015-03-23 11:17:07 +02:00
b416455f4f
Added missing type to GWBUF returned from mysql_backend.
2015-03-22 16:53:51 +02:00
6cfc2338c1
Small fix to modutil_get_complete_packets.
2015-03-22 10:33:35 +02:00
55513cc998
Improved modutil_get_complete_packets to only allocate a single buffer.
2015-03-22 07:44:14 +02:00
dcdb86e5a9
Fix to MXS-47: https://mariadb.atlassian.net/browse/MXS-47
...
mysql_backend now streams server response data.
2015-03-19 11:35:01 +02:00
880adca73e
Merge branch 'develop' into MAX-324
2015-03-05 10:45:48 +02:00
1b0fd4576a
Merge branch 'maxinfo' into develop
...
Conflicts:
server/core/service.c
server/core/session.c
server/include/session.h
2015-03-04 11:33:00 +02:00
bdbe55233d
Fix to NULL dcb in mysql_backend.c
2015-02-25 12:10:33 +02:00
9e7afeb302
Merge branch 'develop' into MAX-324
...
Conflicts:
macros.cmake
server/core/config.c
server/core/service.c
server/modules/routing/CMakeLists.txt
2015-02-24 06:26:55 +02:00
aa4932bf2d
Moved the housekeeper heartbeat to a separate header for ease of integration.
...
This keeps the behavior the same but allows the heartbeat to be used as a crude timer
without including everything the housekeeper.h header includes.
Moved the protocol level updates on the DCBs last_read value into dcb_read.
This keeps the implementation nice and compact.
2015-02-24 05:00:16 +02:00
c47d2f3791
Added session timeouts.
...
The parameter 'connection_timeout' for services takes a value as seconds.
All sessions that have been idle for longer than this will be disconnected.
2015-02-20 22:16:43 +02:00
83b7948cdf
Added more debug output to user authentication.
2015-02-20 14:50:26 +02:00