A quick search for a way of dealing with these attacks, returned methods that used mod_security to identify the attack and then ban the ip using a firewall. I wanted a simple way to ban the ip without using mod_security. So I wrote a bash script that checks how many attempts to login have been made from each ip, if the times are unusually high then the ip gets temporarily banned using ConfigServer Firewall (csf). The script can be placed in crontab so as to have frequent/automated checks.
This how to has been successfully implemented on Joomla 1.5.26 and Virtuemart 1.1.9. It will show you how to place an easy to use captcha for virtuemart product inquiry. If you want to add extra security, you can use reCaptcha following the instructions from virtuemart forums, by clicking on the following link.
Here is a simple script that will check if your specified partition is almost full and will notify you if it is. In order to have an email send, you must have mailx installed, for installation check my post here.
NOTE: This script is for the server administrator, if you have a cpanel account you can do the procces manually (a google search will return lots of howtos).
Here is a script that will quickly provide you information about your linux server such as cpu model, frequency, number of cores, amount of ram & swap, system uptime and test server download & I/O speed
cpu, ram and system uptime info are taken from “/proc/cpuinfo” , “free” and “uptime” respectively
download speed is measured by downloading a test file from cachefly, while I/O speed is measured by creating a 1GB file from null characters (/dev/zero)