[MDEV-12182] RFE: audit plugin should log HOST:PORT of incoming connection (port is missing) Created: 2017-03-06  Updated: 2022-04-25

Status: Open
Project: MariaDB Server
Component/s: Plugin - Audit
Fix Version/s: None

Type: Task Priority: Minor
Reporter: Roberto Torresani Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: audit

Issue Links:
Blocks
is blocked by MDEV-5313 Improving audit api Stalled

 Description   

Having a MariaDB galera cluster behind haproxy LB, at the moment in not possible to know where connection are coming from.

From a "mysqladmin processlist" is possible to reconstruct the full chain of TCP connection, but in the audit log the tcp port is missing.

In particular, for the connection where the client is giving wrong credentials to mariadb, is impossibile to know the client IP from which this connection is tried.



 Comments   
Comment by Sergei Golubchik [ 2017-03-09 ]

Audit plugin cannot print the port, because the server doesn't tell plugin what port it was. We need to extend the Audit Plugin API to fix that.

Generated at Thu Feb 08 07:55:45 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.