Commit Graph

196 Commits (master)

Author SHA1 Message Date
Yutaka Hoshino 59a4dae9f7 Add MySQL5.6.12 rpm offsets 2013-06-17 17:27:08 +09:00
Guy Lichtman cb0b06e329 offsets for: Percona-Server-server-55-5.5.22-rel25.2.237.rhel5.x86_64
related to issue #49
2013-06-16 10:36:50 +03: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 cf395c3f66 issue #30. Change uninstall plugin logic. First time uninstall will
just cause the audit plugin to stop working and there is need to
do an additional install to actually unload the shared library.
2013-03-06 19:00:51 +02:00
Guy Lichtman 2d9337d296 issue #35. Wimplicit only with C and not C++ to support newer versions of gcc. 2013-03-06 18:59:16 +02: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 f717564993 Fix for issue #32. Check also object from query cache when checking audit_record_objs. 2013-02-06 17:19:39 +02:00
Guy Lichtman 8d85b09b72 Treat Quit command as an empty object set. Issue #26. 2013-01-12 18:04:38 +02:00
Guy Lichtman af0a366267 safe guards regarding checking for record objs. issue #29. 2013-01-12 10:53:48 +02:00
Guy Lichtman e4871f5305 fix typo in freeing whitelist users string. issue #27 2013-01-09 22:10:43 +02:00
Guy Lichtman c53dab30e3 SELinux support. Added check to fail plugin installation if page mprotect doesn't work as needed and nx bit is turned on. Happens when SELinux is enabled. issue #24 2013-01-09 21:41:45 +02:00
Guy Lichtman a3df5d6454 Small modifications to user white list feature. 2012-12-24 10:57:16 +02:00
Guy Lichtman 4cfb7a5240 Merge pull request #23 from akashsinha/userFilter
Option added to skip queries of whitelisted users. Doing full merge and then will edit some changes.
2012-12-23 09:02:32 -08: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
mitans02 5864313741 fixed changing configuration cause crash with MySQL-5.1 2012-11-11 00:07:07 +09:00
mitans02 b9e947fd5f Fixed compile error with MySQL 5.1 2012-11-10 23:58:00 +09: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
Guy Lichtman 887f096883 fix printout of record objs 2012-10-28 12:23:43 +02:00
Guy Lichtman 9c01f96cf5 Merge pull request #15 from mitans02/master
Fixed some compile errors
2012-10-28 02:50:58 -07:00
Satoshi MITANI 3ad7e5e2a2 Fixed some compile errors 2012-10-27 23:37:26 +09:00
Guy Lichtman 6542b9c5c2 issue #1, issue #11: Support for mysqld compiled with a newer version of gcc which doesn't expose __cxa_pure_virtual.
SELinux support: avoid retrictions regarding mprotect modes.
Additional offests upto 5.5.28 and 5.1.66.
2012-10-22 13:58:12 +02:00
Guy Lichtman 56aac9cc5d issue #12 . Support for '{}' as a means to specify logging of empty object set in audit_record_objs.
Fix for copying configuration strings where there is an update handler.
2012-10-09 14:30:25 +02:00
Guy Lichtman dac2dfc2a3 Fix for bug found with vio. Where mysql 5.1 ndb cluster uses a different struct from mysql 5.1. 2012-10-04 10:18:18 +02:00
Guy Lichtman e38bc05f0f Adding flush support for json log file. Closes #9. 2012-08-13 15:30:49 +03:00
Guy Lichtman 6dae35653a readme improvements 2012-08-01 21:37:49 +03:00
Guy Lichtman 23259986a0 More offsets for latest mysql versions upto 5.1.63 and 5.5.25.
Automatic calculation of offsets seen used in Ubuntu/Debian builds based upon found version offsets when checksum validation is disabled.
Remove usage of strdup for delay_cmds, record_objs and record_cmds and use PLUGIN_VAR_MEMALOC instead.
2012-08-01 21:34:33 +03:00
Guy Lichtman 59f5b82cc9 formating cleanup 2012-08-01 15:52:24 +03:00
Guy Lichtman eddd9e65e2 check in hot patch remove to return immediatly if not needed 2012-08-01 15:51:45 +03:00
Joseph Mocker 23dd5f824c Changed audit_record_objs syntax to period separator, database.table (instead of colon). Added wildcarding for database or table, so you can specify *.table and database.* 2012-07-30 09:46:30 -07:00
Joseph Mocker 3595c3b6f4 Added an audit_checksum parameter used with audit_offsets as an additional verification that the offsets are for the expected executable. This could be useful in upgrade situations. 2012-07-28 07:28:10 -07:00
Joseph Mocker 68a25232ec Fixed issue where values were not being configured from my.cnf.
Changed audit_json_socket and audit_json_file to required a value of ON/OFF to match other boolean parameters.
2012-07-28 07:06:10 -07:00
Joseph Mocker ed048a30bb added the ability to limit auditing output to specific commands and objects(tables/views) 2012-07-26 08:03:13 -07:00
Joseph Mocker 60f1b8e6d7 reindented source files 2012-07-26 07:45:39 -07:00
Guy Lichtman eb3e38116c offset-extract 2012-04-11 16:17:50 +03:00
Guy Lichtman 88159229da added offset-extract. hot_patch cleanup. 2012-04-11 15:58:43 +03:00
Guy Lichtman 2109a1030d added offset-extract. hot_patch cleanup. 2012-04-11 15:56:24 +03:00
Guy Lichtman 6db2a9f158 compiling instructions cleanup 2012-04-10 12:51:44 +03:00
Guy Lichtman 144a8bf69b added download link to mysql source code 2012-04-10 12:46:16 +03:00
Guy Lichtman d9955f7840 renamed README to support github markdown syntax 2012-04-10 12:28:02 +03:00
Guy Lichtman 026fdbf505 small fixes for command name loading
new readme with ref to github wiki
improve performance of command lookup.
Fix cmd type and object type in cached queries.
Support for MySQL 5.5.21 offsets
2012-04-09 16:35:21 +03:00
Guy Lichtman 4d1f1a1ffb remove empty README 2012-02-27 14:41:42 +02:00
Guy Lichtman 795a871a1d Merge branch 'master' of github.com:mcafee/mysql-audit 2012-02-27 14:41:18 +02:00
Guy Lichtman 92a9278eff Initial Commit 2012-02-27 14:40:46 +02:00
Guy Lichtman a070fcc3ee Initial Commit 2012-02-26 17:17:41 +02:00