Last Saturday my site received an unusually high volume of brute force attacks. Yep, those darn teens from Western Europe or smart scripts from academic towns in Siberia, trying tirelessly to break into my site authentication.
Now, I'm thrilled with this development. That means I'm finally getting out of obscurity. Yey!
I spend an entire day restarting my server and applying solutions that would deflect those attacks. It seems to be under control. I am not going to disclose here my defense strategy but I would like to probe and see what others have done to defend their properties.
The single most important thing you should do is make sure the OS, all servers and all web applications are always up to date.
Everything else is specific to the attack (I've recently added a completely trivial to bypass "security" check on one of my comments forms, it's stupid but it stops the specific spam bot that is hitting that page)
Here are four simple things you can do:
Also, keep regular backups just incase you need to reload your data on a fresh server.