currently my servers under ddos attack, i check the access log and here are some of the output
HTML Code:
218.172.218.39 - - [20/Jan/2010:16:46:45 -0800] "POST /6xeeyco8ugvk HTTP/1.1" 200 18938 "http://www.MYDOMAIN.COM/6xeeyco8ugvk" "Mozilla/5.0 (Macintosh; U; 68K Mac OS X 10.5; en; rv:1.9.0.7) Gecko/1975101419 Firefox/3.0.7"
114.36.155.22 - - [20/Jan/2010:16:46:45 -0800] "GET /fugp7u60w9p5 HTTP/1.1" 200 13457 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.10) Gecko/2009042523 Ubuntu/9.04 (jaunty) Firefox/3.0.10"
114.36.155.22 - - [20/Jan/2010:16:46:45 -0800] "GET /hgowoh6w03fo HTTP/1.1" 200 13457 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.10) Gecko/2009042523 Ubuntu/9.04 (jaunty) Firefox/3.0.10"
114.36.155.22 - - [20/Jan/2010:16:46:45 -0800] "GET /6ylbxdiy1u3g HTTP/1.1" 200 13457 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.10) Gecko/2009042
113.160.130.113 - - [20/Jan/2010:16:46:45 -0800] "GET /vhjd4bfymqn7 HTTP/1.1" 200 13457 "-" "Mozilla/5.0 (X11; U; OpenBSD amd64; en-US; rv:1.8.1) Gecko/20091021 Firefox/2.0"
114.47.171.84 - - [20/Jan/2010:16:46:44 -0800] "POST /q2052v89jwge HTTP/1.1" 200 18853 "http://www.MYDOMAIN.COM/q2052v89jwge" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.10) Gecko/2009042523 Ubuntu/9.04 (jaunty) Firefox/3.0.10"
114.24.144.127 - - [20/Jan/2010:16:46:45 -0800] "POST /zr45cr5htsiu HTTP/1.1" 302 0 "http://www.MYDOMAIN.COM/zr45cr5htsiu" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.10) Gecko/2009042523 Ubuntu/9.04 (jaunty) Firefox/3.0.10"
from my thought, those botnet just try to GET or POST /xxxxxxxxxxxx which is x could be a-z A-Z or 0-9 and total characters are always 12 chars.
how could i prevent this by redirecting permanently to others site or block it ? perhaps using .htaccess method ?
this attack really makes me stress as they have tons of ips, its impossible for me to block one by one.
hope any experts here could help me, thank you in advance
