I noticed my SQL server was down on my wordpress website, 2 days ago. I couldn't figure out why I wasn't able to restart the SQL server so I looked at my logs.
I noticed this one IP was hitting my xmlrpc.php file. The logs look like this:
80.82.xx.xxx - - [06/Oct/2015:07:11:36 -0500] "POST /xmlrpc.php HTTP/1.0" 403 - "-" "Mozilla/5.0 (compatible; Googlebot/2.1; http://www.google.com/bot.html)"
The IP is making that request several times a second for hours at a time.
I am not a very experienced sysadmin, and didn't have proper security set up, but in the wake of this happening I:
- disabled xmlrpc for my wordpress app
- blacklisted that IP in cPanel & WHM
- set up cloud flare and put myself in DDoS mode
I noticed now that IP is getting a 403 error now and previously they weren't:
80.82.xx.xxx - - [04/Oct/2015:07:02:48 -0500] "POST /xmlrpc.php HTTP/1.0" 500 251 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; http://www.google.com/bot.html)"
My questions are:
Have I taken the proper steps to secure my server? Is there anything else I should do?
Are those 403 errors a drain on my system resources?
Am I actually getting DDoS-ed or is this something else? It's been going on for 3 days.
When would it be safe to lower my cloud flare settings?
Thank you.