Commit Graph

106 Commits (4e4387cebdae0803623484ee324eca47a244519c)

Author SHA1 Message Date
Arnold Robbins 4e4387cebd Add offsets for MariaDB 10.0.24 and MariaDB 5.5.48. 2016-02-25 12:34:12 +02:00
Arnold Robbins d9129cc112 Add support for MySQL 5.7.{9,10,11}.
Add support for MariaDB 10.1.{10,11}.
Fix segfault for set var to null (issue 133).
If password masking regex doesn't compile, revert to default regex.
2016-02-07 15:59:41 +02:00
Arnold Robbins 685b20e20c Offsets for MariaDB 10.0.22 and 10.0.23. 2015-12-28 10:21:25 +02:00
Arnold Robbins 94b7274600 Offsets for MySQL 5.5.47, 5.6.28, MariaDB 5.5.47. 2015-12-13 14:17:46 +02:00
Guy Lichtman 051daf06a4 offsets for MySQL 5.5.46/5.6.27 and MariadDB 5.5.46 2015-10-12 14:03:54 +03:00
Guy Lichtman 15c77835bf mariadb offsets 10.0.21 and 5.5.45. Offset validation following experience with issue: #118. 2015-08-11 13:47:51 +03:00
Guy Lichtman ee115750e5 Remove inlines for better investigation of issue #118 2015-08-02 16:38:04 +03:00
Guy Lichtman a46b02b834 offsets 5.5.45 and 5.6.26 2015-07-29 15:19:34 +03:00
Guy Lichtman ef67fba5e6 issue #118. Possible fix for the issue. 2015-07-29 15:16:07 +03:00
Guy Lichtman c6d57e7205 documentation fixes. see issue #115 2015-07-12 17:58:36 +03:00
Guy Lichtman b29ebeac51 Offsets for MariaDB 10.0.20 2015-07-12 17:58:07 +03:00
Guy Lichtman a5bf3035e5 offsets for MariaDB 5.5.44 2015-06-16 12:35:51 +03:00
Guy Lichtman 734882dfaa offsets for 5.6.25 and 5.5.44 2015-06-07 17:21:06 +03:00
Guy Lichtman 3ac3682926 mariadb offsets for: 10.0.19 2015-05-17 13:25:48 +03:00
Guy Lichtman 7fcd565e9d mariadb offsets for 5.5.43 2015-05-06 14:10:56 +03:00
Guy Lichtman 83b85084fb offsets for 5.5.43 and 5.6.24 2015-04-15 12:13:49 +03:00
Guy Lichtman 24f157beb2 new configuration: audit_json_file_bufsize . Controls the buffer size used when logging to a file. Value of 0 means default size, value of 1 means no buffering. 2015-03-09 10:37:31 +02:00
Guy Lichtman 8d28867ee5 Offsets for MariaDB 5.5.42 and 10.0.17 2015-03-09 10:30:28 +02:00
Guy Lichtman b47ec14636 Modifications to pull request #103 . Changed the name of the record_logins var to: force_record_logins and default value is disabled for backwards compatibility. Also changed the implementation a bit regarding flow and filtering on the empty user. issue #101 2015-02-10 15:06:42 +02:00
Guy Lichtman 1ac2324ab9 offsets for 5.5.42, 5.6.23, mariadb 10.0.16 2015-02-10 00:08:46 +02:00
Guy Lichtman 56462bd9d4 fix for empty "Connect" entries at startup. issue #40 and pr #103 : 2015-02-10 00:04:21 +02:00
Guy Lichtman 00194ab4bb Merge pull request #103 from RickPizzi/master
new option audit_record_logins to enable logging of Connect and Quit cmds
2015-02-09 23:38:29 +02:00
Riccardo Pizzi de390805f1 added Failed Login auditing 2015-02-07 16:18:05 -05:00
Rick Pizzi 9d66bfbdd3 new option audit_record_logins to enable logging of Connect/Quit regardless the content of variable audit_record_cmds 2015-02-07 15:43:01 -05:00
Guy Lichtman a1c8250058 New offsets added. Fixing issue #98 and a crash seen on percona when changing default database ("use <db>"). 2015-01-26 18:11:55 +02:00
Guy Lichtman 08899ffc55 offsets for 5.6.22 and 5.5.41 2014-12-28 16:53:43 +02:00
Guy Lichtman 272a1ae190 added special variable named audit_plugin_version_<version>_<revision> where '.' is repalced with '_'. This variable can be used to extract the version of the plugin by using a tool such as nm or objdump. issue #96. 2014-12-20 20:29:36 +02:00
Guy Lichtman 4c1af961c5 MariaDB 10.0.15 offsets 2014-11-30 17:20:15 +02:00
Guy Lichtman 60074c0518 Protection for case where tcp port or unix socket is not set and plugin tries to set default socket name at startup. The tcp port or unix socket may not be set when they are not passed either on the command line or configured in my.cnf. In this case the plugin init function is called before mysql has set the default values for these. 2014-11-09 12:05:39 +02:00
Guy Lichtman c81adbd7ee mariadb 5.5.40 offsets 2014-10-27 14:48:41 +02:00
Guy Lichtman dd3d261f53 mariadb 10 offsets (upto 10.0.14). Update to third party license file to include pcre. 2014-10-12 18:02:44 +02:00
Guy Lichtman caf75d3c46 offset support for 5.5.40 and 5.6.21. Better auto offset detection for debina/ubuntu using 5.6.x. Compilation support with MariaDB 10 source code. 2014-10-06 09:29:35 +02:00
Guy Lichtman 23fb7f63c9 New retry params used when failure happens with writing to file or communicating with socket. New default name of socket: /tmp/mysql.audit_[cwd]_[port number OR unix socket with underscores instead of slashes], used for better support of multiple mysql instances running on the same machine. 2014-09-16 17:55:05 +03:00
Guy Lichtman f1adc23fe1 offsets for 5.5.39 and 5.6.20. issue #87 . 2014-08-15 01:19:53 +03:00
Guy Lichtman 01d938ad00 change skip_cmds to whitelist_cmds for consistent naming as we use with whitelist_users. issue #86 . 2014-07-27 21:52:00 +03:00
Imre Fitos 2ffe26a9cd add skip_cmds option for ... skipping commands. 2014-07-27 02:39:41 +00:00
Guy Lichtman 5e9f3730d0 New feature: password masking. New configuration variables added: audit_password_masking_cmds and audit_password_masking_regex. 2014-07-06 16:42:51 +03:00
Guy Lichtman d3eddd6cf7 New feature: write header message at start of logging (both file and socket) or file flush. Includes configuration parameter: audit_header_msg to control if header message enabled/disabled (default enabled). 2014-06-11 10:49:56 +03:00
Guy Lichtman a935dc105a offsets upto: 5.5.38 and 5.6.19 including mariadb suppoort
cleanup for global params which are set with an update function. For these params we use a static buffer instead of relying on memalloc as mem alloc works differently between versions.
SELinux: More checks to make sure that when selinux is enabled we fail installation.
2014-06-10 11:04:10 +03:00
Guy Lichtman a6d41da62e better support for mariadb (including offsets for 5.5.32-36). Added offsets for 5.5.37 and 5.6.17. 2014-04-17 11:52:47 +03:00
Guy Lichtman f2153dbeee Support to compile with MariaDB src code (improved comment). 2014-02-26 15:41:49 +02:00
Guy Lichtman 5a63e7c0a1 Support to compile with MariaDB src code. issue #73. 2014-02-13 00:12:47 +02:00
Guy Lichtman 95a8bec46a fix for issue #72 . treat failure to hot patch log_slow_statement as non critical 2014-01-29 17:54:54 +02:00
Guy Lichtman 694d901a45 comment about interface change 2014-01-29 17:53:16 +02:00
Guy Lichtman 73876cf8f9 compilation fix for 5.5.34 and 5.6.14 (and above). issue #66. 2014-01-09 19:23:54 +02:00
Guy Lichtman 9e2dab5305 support for 5.6.14 and up where audit interface version changed 2013-12-25 11:59:49 +02:00
Guy Lichtman 9847e647ff fixing compilation issue with newer mysql code base. issue 66. 2013-12-14 22:41:54 +02:00
Guy Lichtman a1baf12ebd offsets for 5.1.73, 5.5.35, 5.6.15 2013-12-14 22:27:06 +02:00
Guy Lichtman 0ec8a08312 issue #28: support for empty user whitelisting using "{}".
fix to log prepare statements.
2013-11-09 21:46:48 +02:00
Guy Lichtman 4b680c3f35 Support for 5.1.72, 5.5.34 and 5.6.14. Added new offsets for Security_context stuff. General fix for 5.6.12 view handling. Issue #62. 2013-10-11 16:55:33 +02:00