57 Commits

Author SHA1 Message Date
saivennelag
7178b4f6af Added support for 64 bit: MySQL 8.4.4 2025-08-28 12:42:50 +05:30
namitha
1e5ee55b9e Added support for 64 bit: MySQL 8.0.39 - 8.0.41, MariaDB 11.3.2 - 11.5.2
Added support for:
MySQL 8.0.39 - MySQL 8.0.40 (Community and Enterprise) Linux_64

MySQL 8.0.41 (Community) Linux_64

MariaDB 11.3.2 - 11.5.2 Linux_64
2025-04-02 17:05:12 +05:30
namitha
eaba9a8135 Added support for: MySql 64 bit 8.0.31 to 8.0.36, MariaDB 64 bit 10.11.1 - 10.11.7 2024-10-30 14:46:06 +05:30
namitha2023
cc7bb23ca8 Add support for mysql 8.0.34 and update udis86 library 2024-06-27 16:19:35 +05:30
Patrick Wade
4c91fb3692 * Added support for:
MySQL 64-bit   8.0.28, 8.0.27, 8.0.26

MySQL 64-bit   5.7.37
MySQL 32-bit   5.7.37

MariaDB 64-bit  10.6.7, 10.6.5, 10.6.4, 10.6.3

MariaDB 64-bit  10.5.15, 10.4.24, 10.2.43
MariaDB 32-bit  10.2.43
2022-07-26 17:34:24 +01:00
Patrick Wade
10c4255ebe Added support for:
Percona 64-bit  5.7.34-37
MySQL 64-bit   8.0.25, 8.0.24, 5.7.34
MariaDB 64-bit  10.2.39, 10.2.38, 10.5.11, 10.5.10, 10.4.20, 10.4.19, 10.4.18, 10.4.17, 10.4.16, 10.4.15, 10.4.14, 10.4.13, 10.4.12, 10.4.11, 10.4.10, 10.4.8, 10.4.7, 10.4.6

MySQL 32-bit   5.7.34
MariaDB 32-bit  10.2.39, 10.2.38
2021-09-14 15:47:30 +01:00
Patrick Wade
b02c4b443c Added support for:
Percona  64-bit  5.7.32-35, 5.7.33-36
MySQL  64-bit   8.0.23, 5.7.33, 5.6.51
MariaDB 64-bit  10.2.37, 10.5.4, 10.5.5, 10.5.6, 10.5.7, 10.5.8, 10.5.9
MySQL  32-bit   5.7.33, 5.6.51
Plugin now provides OS User and Application details in events for MariaDB, where available.
2021-06-01 16:01:22 +01:00
Patrick Wade
cd928db022 Updating with the latest offsets for
Percona64 	5.7.31-34
MySQL64 	5.6.50, 5.7.32
MariaDB64	10.2.36, 10.2.35, 10.1.48
MySQL32		5.6.50, 5.7.32
MariaDB32	10.2.36, 10.2.35, 10.1.48
2021-02-23 16:47:11 +00:00
wbarrettmcafee
3ec0c137c9 Updating with the latest offsets for
Percona64 	5.7.30-33, 5.7.29-32, 5.7.28-31, 5.7.27-30, 5.7.26-29

MySQL64 	8.0.22, 9.0.21, 8.0.20, 8.0.19, 8.0.18, 8.0.17, 8.0.16, 8.0.15, 8.0.14, 8.0.13, 8.0.12, 8.0.11,
		5.6.49, 5.7.31, 5.6.46, 5.6.47, 5.6.48, 5.7.30, 5.7.29, 5.7.28, 5.6.45, 5.7.27, 5.6.44, 5.7.26

MariaDB64	10.1.43, 10.2.27, 10.2.29, 5.5.66, 10.1.47, 10.2.34, 10.2.30, 10.2.33, 10.1.46, 10.2.31, 10.1.44,
		10.1.45, 10.2.32, 5.5.67, 5.5.68, 10.1.41, 10.2.26, 5.5.65, 10.2.25, 10.1.40, 10.1.39, 10.2.24,
		10.2.23, 5.5.64

MySQL32		5.6.49, 5.7.31, 5.6.46, 5.6.47, 5.6.48, 5.7.28, 5.7.29, 5.7.30, 5.6.45, 5.7.27, 5.6.44, 5.7.26

MariaDB32	10.1.43, 10.2.27, 10.2.29, 5.5.66, 10.1.47, 10.2.34, 10.2.30, 10.2.33, 10.1.46, 10.2.32, 10.1.44,
		10.1.45, 10.2.31, 5.5.67, 5.5.68, 10.1.41, 10.2.26, 5.5.65, 10.2.25, 10.1.40, 10.1.39, 10.2.24,
		10.2.23, 5.5.64
2020-12-03 15:15:07 +00:00
Twomey, Sean
416e6fa0aa Add offsets for the follow versions
MySQL 	5.5.60
MySQL 	5.5.61
MySQL 	5.6.40
MySQL 	5.6.41
MySQL 	5.7.22
MySQL 	5.7.23

MariaDB 	5.5.59
MariaDB 	5.5.60
MariaDB 	5.5.61

MariaDB 	10.0.35-36
MariaDB 	10.1.32-36
MariaDB 	10.2.14-18
Percona 	5.7.22-23
2018-11-12 16:41:44 +00:00
Tomer Hadri
2d0a23c73d - Add support for Percona`s MySQL 5.7.19-17, 5.7.20-18
- MySQL 5.1 support EOL
2017-12-28 14:34:46 +02:00
Aharon Robbins
40dc1e7ff7 Add offsets for MariaDB 10.0.32 and 10.1.26.
Fix Community Issues 171, 172, 173.
Add support for sending exit status of a command.
2017-08-31 11:16:19 +03:00
Aharon Robbins
969d0b481a Add offsets for MariaDB 5.5.57. 2017-07-20 17:46:45 +03:00
Aharon Robbins
8e56548468 1. Add support for MariaDB 10.2.0-6, 10.1.25.
2. Plugin can now be renamed.
3. Socket failed to connect message log as warning the first time.
4. Correctly retrieve the port for a remote connection.
5. Log negative user id number as [unknown] .
2017-07-06 15:29:30 +03:00
Aharon Robbins
f4a3411ccd Add offsets for MySQL 5.5.56.
Add offsets for MariaDB 5.5.56 and 10.1.23.
Add write timeout for sockets: audit_json_write_timeout variable.
2017-05-09 17:32:06 +03:00
Arnold Robbins
570bfb0de6 Fix core dump if no connection attributes available.
Reported in https://github.com/mcafee/mysql-audit/issues/161.
2017-02-23 12:03:58 +02:00
Arnold Robbins
ba21262b81 * Add 'UPDATE' to list of commands checked for password masking.
* Fix 'uninstall plugin' to work on MySQL 5.7.
* Add ability to send rows affected by each command, includes new
  'audit_before_after' configuration variable.
* More offsets for more released versions.
2017-02-13 16:22:15 +02:00
Arnold Robbins
4fbcae3a81 Add info about process on other end of UNIX Domain Socket and
also client port of remote connection for TCP Socket. New offset
required for this, so updated the offsets as well.
2017-01-02 11:52:28 +02:00
Arnold Robbins
53b1db74e3 Add new offsets for client capabilities and session connect attributes.
Add two new variables: client_capabilities and sess_connect_attrs.
Update lists of compiled in "known" offsets.
2016-12-07 10:05:00 +02:00
Arnold Robbins
cd1b7d2d2d Offsets for MySQL 5.5.53, 5.6.34, 5.7.16, MariaDB 5.5.53.
Improvements for Issue 144.
Fix logging of failed login for recent MySQL 5.6.32+ and 5.7.14+.
2016-10-25 16:14:03 +03:00
Arnold Robbins
6e8e1b16df Offsets MariaDB 5.5.52 and 10.1.8. Speed improvements in logging. 2016-10-09 15:41:30 +03:00
Arnold Robbins
0839e929a5 Upgrade PCRE to 8.39 and YAJL to 2.1.0. 2016-07-31 15:37:14 +03:00
Arnold Robbins
7c16d68069 Add offsets for MySQL 5.6.32. Some whitespace cleanups. 2016-07-27 13:18:14 +03:00
Kubo Takehiro
1cc4406358 Reduce the minimum required hot patching size from 14 to 5 on x86_64
if the distance from a hot-patch target function to the trampoline memory is within 2GB.
2016-06-13 19:49:05 +09:00
Arnold Robbins
3589301cf1 Offsets for MySQL 5.5.49, 5.6.30, 5.7.12. Whitespace cleanups.
Update yajl/src/Makefile.am to remove an Autoconf warning.
2016-04-19 12:09:36 +03:00
Arnold Robbins
80646620e9 Add MariaDB 10.1.13 offsets. Format the code. 2016-03-31 11:55:57 +03: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
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
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
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
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
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
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
9847e647ff fixing compilation issue with newer mysql code base. issue 66. 2013-12-14 22:41:54 +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
Guy Lichtman
a7d789d371 Suport 5.6.x
Offsets upto 5.6.11, 5.5.31, 5.1.69
Use -Wall for compilation and fix warnings.
fix for issue #40
fix for issue #33
2013-06-06 21:26:39 +03:00
Guy Lichtman
b24e1913fa offsets for 5.1.66-67, 5.5.29-30 2013-03-01 16:57:34 +02:00
Guy Lichtman
bc92825963 new object iteration logic including fix for crash reported in issue #31 2013-02-22 16:58:28 +02:00
Guy Lichtman
af0a366267 safe guards regarding checking for record objs. issue #29. 2013-01-12 10:53:48 +02:00
Guy Lichtman
a3df5d6454 Small modifications to user white list feature. 2012-12-24 10:57:16 +02:00
Akash Sinha
5cdc6dd456 Option added to skip queries of whitelisted users
Ex: audit_whitelist_users=john,doe
2012-12-20 19:31:44 +05:30
Guy Lichtman
7dea2f9ef1 runtime support for AUDIT_NEED_FREE_STRING_MEMALLOC_PLUGIN_VAR fix 2012-11-11 18:58:47 +02:00
unknown
3ad6a1775c new vars: offsets_by_version and validate_offsets_extended. By default we try to resolve offsets by version. Also, added extended validation of the offsets. 2012-11-04 13:49:59 +02:00
Satoshi MITANI
3ad7e5e2a2 Fixed some compile errors 2012-10-27 23:37:26 +09:00