MySQL Brute-Force Protection
With RdpGuard you can easily protect your MySQL server from brute-force attacks. It monitors MySQL general log and blocks attackers IP addresses after specified number of failed login attempts. Check out the instructions below to learn how to enable and configure brute-force protection for your MySQL server.
To enable MySQL brute-force protection
1. Start RdpGuard Dashboard and click Tools, Options
Click Tools, Options
RdpGuard Options dialog will appear:
2. Open the Monitoring tab
RdpGuard Monitoring Options
3. Check Enable MySQL protection
4. Click Save. RdpGuard service will be restarted.
MySQL brute-force protection Configuration
In most cases RdpGuard is able to detect MySQL settings automatically. But in some cases additional configuration may be required - you may need to specify the location of MySQL config file my.ini (or my.cnf) manually.
In most cases RdpGuard is able to detect the location of general log file automatically if my.ini (or my.cnf) file is detected or specified manually. But in some cases you may also need to specify the location of general log file manually.
1. Click Tools, Options, Monitoring
2. Click the configure.. link:
Click the configure link
MySQL Settings dialog will appear:
MySQL Detection Engine Settings
3. Specify the location of MySQL config file my.ini (or my.cnf) manually and click Save to close this dialog and Save to close the Options dialog.
4. Enable RdpGuard Event Log via the View menu and restart RdpGuard Service via the Tools menu
5. Check the RdpGuard Event log, if MySQL detection engine is not started, specify the location of general log file manually and repeat the steps 3-4
How to enable General Logging for MySQL Server.