Bug #16225 | Write logs for each new incoming TCP connection to ease attacks detections | ||
---|---|---|---|
Submitted: | 5 Jan 2006 14:56 | Modified: | 5 Jan 2006 16:36 |
Reporter: | Cyril Bouthors | Email Updates: | |
Status: | Open | Impact on me: | |
Category: | MySQL Server: Logging | Severity: | S4 (Feature request) |
Version: | 4.1 | OS: | Linux (Debian GNU/Linux) |
Assigned to: | CPU Architecture: | Any |
[5 Jan 2006 14:56]
Cyril Bouthors
[5 Jan 2006 16:36]
Cyril Bouthors
After a bit more thinking, I believe MySQL also lack the ability to write log message each time a connection timeout occurs before authentication. For example "timeout 1 mysql -uX -pY -hZ" makes MySQL say 060105 19:34:22 [Warning] Aborted connection 7 to db: 'unconnected' user: 'root' host: `localhost' (Got an error reading communication packets) whereas "timeout 1 telnet localhost mysql" does not make MySQL say anything in the error log.
[9 Jan 2006 14:26]
Aleksey Kishkin
thank you for feature request, meanwhile, as a workaround, you can setup (say) xinetd as proxy (with log ability) between real mysql port, and port that visible for public
[15 Mar 2013 21:32]
Chris Calender
+1 from me to implement such logging - and it seems like a low-lying-fruit addition. Any logging enhancements are always greatly received and appreciated by the community. And while this is not a cause for attacks, but it could help alert users of them, so it is also a "security" fix/enhancement of sorts too.
[15 Mar 2013 21:37]
Chris Calender
Btw, does any one know if this is in a worklog entry or not, or scheduled ot be implemented any time in the near future? Many thanks. :)