My server is apparently being victimized by a low-intensity DDoS attack. The machine doesn't appear to be affected performance-wise, except the logs are growing out of control.
We are getting about one hit per second on the "main" (but content-free) site on the server.
The Apache access_log looks like this:
189.35.22.188 - - [13/Aug/2009:11:04:02 -0500] srv04.xxxxx.xxx "GET /velho/arqcfg.jpg HTTP/1.1" 403 499
189.35.22.188 - - [13/Aug/2009:11:04:02 -0500] srv04.xxxxx.xxx "GET /velho/arqcfg.jpg HTTP/1.1" 403 499
189.35.22.188 - - [13/Aug/2009:11:04:03 -0500] srv04.xxxxx.xxx "GET /velho/arqcfg.jpg HTTP/1.1" 403 499
189.35.22.188 - - [13/Aug/2009:11:04:03 -0500] srv04.xxxxx.xxx"GET /velho/arqcfg.jpg HTTP/1.1" 403 499
189.72.193.204 - - [13/Aug/2009:11:04:09 -0500] srv04.xxxxx.xxx "GET /velho/updcfg.jpg HTTP/1.1" 403 499
189.72.193.204 - - [13/Aug/2009:11:04:09 -0500] srv04.xxxxx.xxx "GET /velho/updcfg.jpg HTTP/1.1" 403 499
189.72.193.204 - - [13/Aug/2009:11:04:09 -0500] srv04.xxxxx.xxx "GET /velho/updcfg.jpg HTTP/1.1" 403 499
189.72.193.204 - - [13/Aug/2009:11:04:10 -0500] srv04.xxxxx.xxx "GET /velho/updcfg.jpg HTTP/1.1" 403 499
and there are corresponding entries in error_log showing "Permission denied" since those directories and files do not exist. The source IPs rotate frequently, most all of them trace back to Brazil, and they appear to be IPs assigned by ISPs for home internet access.
Any ideas on how to dump this garbage traffic easily? I can null route the IPs by hand, but I was hoping for something that would do it a little more efficiently, maybe based on an IP performing a GET for those files, which don't exist.
