[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: |
|
||||||||
| 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. |