A
acidbox
Guest
Our server is getting slammed daily by this asian search engine. I don't know where it's coming from. but it's not even finding legitimate results.
It's gotten to the point where its affecting the performance of our server because Apache is handling so many requests from this damn place, it's almost like a DOS attack.
The clients are all different, but the one thing in common is the refferer. Take a look at this error log:
Is there a way I can block access to the server by checking the referrer and block them if they come from that domain?
Thanks for the help.
It's gotten to the point where its affecting the performance of our server because Apache is handling so many requests from this damn place, it's almost like a DOS attack.
The clients are all different, but the one thing in common is the refferer. Take a look at this error log:
[Tue Nov 29 16:06:53 2005] [error] [client 61.178.86.54] File does not exist: /home/httpd/vhosts/default/htdocs/our1, referer: http://cache.baidu.com/c?word=%C8%C...27949%26goto%3Dnextnewset&b=0&a=13&user=baidu
[Tue Nov 29 16:06:53 2005] [error] [client 61.178.86.54] File does not exist: /home/httpd/vhosts/default/htdocs/our1, referer: http://cache.baidu.com/c?word=%C8%C...27949%26goto%3Dnextnewset&b=0&a=13&user=baidu
[Tue Nov 29 16:06:54 2005] [error] [client 61.178.86.54] File does not exist: /home/httpd/vhosts/default/htdocs/our1, referer: http://cache.baidu.com/c?word=%C8%C...27949%26goto%3Dnextnewset&b=0&a=13&user=baidu
[Tue Nov 29 16:06:54 2005] [error] [client 61.178.86.54] File does not exist: /home/httpd/vhosts/default/htdocs/our1, referer: http://cache.baidu.com/c?word=%C8%C...27949%26goto%3Dnextnewset&b=0&a=13&user=baidu
[Tue Nov 29 16:06:54 2005] [error] [client 61.178.86.54] File does not exist: /home/httpd/vhosts/default/htdocs/our1, referer: http://cache.baidu.com/c?word=%C8%C...27949%26goto%3Dnextnewset&b=0&a=13&user=baidu
[Tue Nov 29 16:06:54 2005] [error] [client 61.178.86.54] File does not exist: /home/httpd/vhosts/default/htdocs/our1, referer: http://cache.baidu.com/c?word=%C8%C...27949%26goto%3Dnextnewset&b=0&a=13&user=baidu
[Tue Nov 29 16:06:55 2005] [error] [client 61.178.86.54] File does not exist: /home/httpd/vhosts/default/htdocs/our1, referer: http://cache.baidu.com/c?word=%C8%C...27949%26goto%3Dnextnewset&b=0&a=13&user=baidu
[Tue Nov 29 16:06:55 2005] [error] [client 61.178.86.54] File does not exist: /home/httpd/vhosts/default/htdocs/our1, referer: http://cache.baidu.com/c?word=%C8%C...27949%26goto%3Dnextnewset&b=0&a=13&user=baidu
[Tue Nov 29 16:06:56 2005] [error] [client 61.178.86.54] File does not exist: /home/httpd/vhosts/default/htdocs/our1, referer: http://cache.baidu.com/c?word=%C8%C...27949%26goto%3Dnextnewset&b=0&a=13&user=baidu
[Tue Nov 29 16:06:56 2005] [error] [client 61.178.86.54] File does not exist: /home/httpd/vhosts/default/htdocs/our1, referer: http://cache.baidu.com/c?word=%C8%C...27949%26goto%3Dnextnewset&b=0&a=13&user=baidu
[Tue Nov 29 16:06:57 2005] [error] [client 61.178.86.54] File does not exist: /home/httpd/vhosts/default/htdocs/our1, referer: http://cache.baidu.com/c?word=%C8%C...27949%26goto%3Dnextnewset&b=0&a=13&user=baidu
[Tue Nov 29 16:06:57 2005] [error] [client 61.178.86.54] File does not exist: /home/httpd/vhosts/default/htdocs/our1, referer: http://cache.baidu.com/c?word=%C8%C...27949%26goto%3Dnextnewset&b=0&a=13&user=baidu
[Tue Nov 29 16:06:57 2005] [error] [client 61.178.86.54] File does not exist: /home/httpd/vhosts/default/htdocs/our1, referer: http://cache.baidu.com/c?word=%C8%C...27949%26goto%3Dnextnewset&b=0&a=13&user=baidu
[Tue Nov 29 16:06:57 2005] [error] [client 61.178.86.54] File does not exist: /home/httpd/vhosts/default/htdocs/our1, referer: http://cache.baidu.com/c?word=%C8%C...27949%26goto%3Dnextnewset&b=0&a=13&user=baidu
[Tue Nov 29 16:06:58 2005] [error] [client 61.178.86.54] File does not exist: /home/httpd/vhosts/default/htdocs/our1, referer: http://cache.baidu.com/c?word=%C8%C...27949%26goto%3Dnextnewset&b=0&a=13&user=baidu
[Tue Nov 29 16:06:58 2005] [error] [client 61.178.86.54] File does not exist: /home/httpd/vhosts/default/htdocs/our1, referer: http://cache.baidu.com/c?word=%C8%C...27949%26goto%3Dnextnewset&b=0&a=13&user=baidu
[Tue Nov 29 16:06:59 2005] [error] [client 61.178.86.54] File does not exist: /home/httpd/vhosts/default/htdocs/our1, referer: http://cache.baidu.com/c?word=%C8%C...27949%26goto%3Dnextnewset&b=0&a=13&user=baidu
Is there a way I can block access to the server by checking the referrer and block them if they come from that domain?
Thanks for the help.