Bug #76311 Audit log vs Error log discrepancy on aborted connections
| Submitted: | 13 Mar 2015 10:31 | Modified: | 14 Aug 2015 12:10 |
|---|---|---|---|
| Reporter: | Rafael Bos | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: Security: Audit | Severity: | S3 (Non-critical) |
| Version: | 5.6.22, 5.6.26,5.6.27 | OS: | Linux |
| Assigned to: | CPU Architecture: | Any |
[13 Mar 2015 10:31]
Rafael Bos
[14 Aug 2015 12:10]
MySQL Verification Team
Hello Rafael Bos, Thank you for the report. Verified as described with 5.6.26/5.6.27 builds. Thanks, Umesh
[14 Aug 2015 12:13]
MySQL Verification Team
// Start server with --wait_timeout=50 --interactive_timeout=50 and --log-warnings -- enable audit log plugin -- enable audit logging for ushastry@localhost' SET GLOBAL audit_log_include_accounts = 'ushastry@localhost'; -- Connect using ushastry@localhost, keep the session idle for >50sec, check audit log and error log -- audit.log <AUDIT_RECORD TIMESTAMP="2015-08-14T12:01:39 UTC" RECORD_ID="2719_2015-08-14T12:00:45" NAME="Quit" CONNECTION_ID="1" STATUS="0" STATUS_CODE="0" USER="ushastry" OS_LOGIN="" HOST="localhost" IP="" COMMAND_CLASS="connect"/> <AUDIT_RECORD TIMESTAMP="2015-08-14T12:10:38 UTC" RECORD_ID="2722_2015-08-14T12:00:45" NAME="Quit" CONNECTION_ID="2" STATUS="0" STATUS_CODE="0" USER="ushastry" OS_LOGIN="" HOST="localhost" IP="" COMMAND_CLASS="connect"/> -- error log 2015-08-14 14:01:39 26401 [Warning] Aborted connection 1 to db: 'unconnected' user: 'ushastry' host: 'localhost' (Got timeout reading communication packets) 2015-08-14 14:10:38 26401 [Warning] Aborted connection 2 to db: 'unconnected' user: 'ushastry' host: 'localhost' (Got timeout reading communication packets)
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.050 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.