3344 Commits

Author SHA1 Message Date
Markus Makela
3f34d237ca enabled all bug fixes for OpenSSL. 2015-06-11 15:26:05 +03:00
Markus Makela
2cf92a1894 Added RSA key generator. 2015-06-11 13:22:18 +03:00
Markus Makela
bb427128a9 Fixed successful SSL_accept calls causing another call to SSL_accept. 2015-06-11 12:00:03 +03:00
Markus Makela
03470bcd70 Merge branch 'develop' into MXS-129 2015-06-11 10:29:57 +03:00
Markus Makela
8ac79cf2ad Fixed some hard-coded paths being used instead of CMake variable values. 2015-06-11 10:28:35 +03:00
Markus Makela
c15469013e Fixed non-SSL connections to SSL enabled services failing. 2015-06-10 15:05:39 +03:00
Markus Makela
3fb1213dee Added more error logging when monitor scripts fail. 2015-06-10 06:09:42 +03:00
Markus Makela
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
Markus Makela
196d41cb88 More debug output. 2015-06-09 20:02:45 +03:00
Markus Makela
1ad1a31ed7 Fixed the OpenSSL error stack being printed wrong. 2015-06-09 17:18:25 +03:00
Markus Makela
ab120cb1de Added Diffie-Hellman key exchange for MaxScale. 2015-06-09 17:04:51 +03:00
Markus Makela
528e69b726 Added a warning about 1.2 changes to the postinstall script 2015-06-09 12:51:43 +03:00
Markus Makela
06c5da7b17 Minor fix to SSL authentication. 2015-06-09 02:56:55 +03:00
Markus Makela
1c36cfb285 Added more debug output. 2015-06-08 18:04:43 +03:00
Markus Makela
61ea0861ff Fixed some connections hanging with SSL. 2015-06-08 14:35:31 +03:00
Markus Makela
b8e55fe28d Fixed SSL_accept failing when more data was in the socket buffer than was used. 2015-06-07 12:45:08 +03:00
Markus Makela
d19ccc6f84 Fixed SSL_ERROR_WANT_READ, SSL_ERROR_WANT_WRITE and SSL_ERROR_NONE causing a debug assert. 2015-06-05 20:36:04 +03:00
Markus Makela
1989a1482c Fixed empty reads causing a debug assert with large packets. 2015-06-05 19:40:09 +03:00
Markus Makela
61b1f34671 Added more descriptive debug output. 2015-06-05 18:52:44 +03:00
Markus Makela
518ef5050e Fixed debug asserts. 2015-06-05 12:15:19 +03:00
Markus Makela
e83799648a Fixed queries getting stuck when the SSL records were of the maximum allowed size. 2015-06-05 11:00:51 +03:00
Markus Makela
cc1f720ea3 Removed log flushing on every dcb_read_SSL if debug log is enabled. 2015-06-04 21:12:16 +03:00
Markus Makela
1f45eff135 Generated packages now have debug symbols. 2015-06-04 19:39:51 +03:00
Markus Makela
cba37d2ac3 Generated packages now have debug symbols. 2015-06-04 19:38:33 +03:00
Markus Makela
ce570685cd Moved assertions around. 2015-06-04 19:31:58 +03:00
Markus Makela
dceccce2ef Changed gwbuf_length function to GWBUF_LENGTH macro in dcb_read_SSL. 2015-06-04 16:52:43 +03:00
Markus Makela
a032c94d25 Added comments to SSL tests. 2015-06-04 16:49:39 +03:00
Markus Makela
fe5e40e397 Added missing initialization of user and password variables in monitor_alloc. 2015-06-03 16:08:11 +03:00
Markus Makela
a033cbf200 Added more informative error messages when SSL handshake fails. 2015-06-03 14:14:05 +03:00
Markus Makela
4d30cd5fd3 Added unit test for SSL version. 2015-06-03 13:28:35 +03:00
Markus Makela
19ac70fc2f Added unit tests for SSL. 2015-06-03 13:15:45 +03:00
MassimilianoPinto
72d14f8894 Addition of server_update_address/port 2015-06-03 10:15:54 +02:00
Markus Makela
49e72df4ab Fixed formatting. 2015-06-03 11:14:37 +03:00
Markus Makela
6e2611f241 Updated documentation with new configuration file name. 2015-06-03 11:07:06 +03:00
Markus Makela
dbcb9a450f Added note about GCC versions to the source building document. 2015-06-03 10:15:53 +03:00
Markus Makela
57060cafec Added SSL level configuration to services. 2015-06-02 17:16:53 +03:00
Markus Makela
a5de4fc503 Merge branch 'develop' into MXS-129 2015-06-02 12:21:05 +03:00
Markus Makela
fc8918b1f2 Added a dcb_connect_SSL function which starts a client SSL connection. 2015-06-02 09:15:08 +03:00
Markus Makela
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
Markus Makela
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
Markus Makela
76655e7136 Added a call to a library function which adds all algorithms to OpenSSL to the SSL initialization code. 2015-06-02 06:04:06 +03:00
Markus Makela
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
Markus Makela
4d5291c263 Fixed wrong packet sequence number causing a disconnect from the client. 2015-06-01 13:58:26 +03:00
Markus Makela
a2768955e7 SSL handshake now successfully completes when a client connects with SSL enabled. 2015-06-01 13:50:22 +03:00
Markus Makela
0f814d3e73 Added SSL write and read functions. 2015-05-29 13:00:37 +03:00
Markus Makela
f946a44620 Added handling of partial SSL handshakes. 2015-05-28 23:11:32 +03:00
Markus Makela
a572166ffd Added ssl handshake to mysql_client 2015-05-28 22:19:50 +03:00
Markus Makela
449c186a66 Added OpenSSL init function call. 2015-05-28 18:14:00 +03:00
Markus Makela
3d6259cb00 Added configuration options for different SSL modes. 2015-05-28 16:33:51 +03:00
Markus Makela
b24da2c540 Changed errmsg.sys file to be world executable when installed. This way the maxscale user can read it when the package is installed. 2015-05-28 12:57:14 +03:00