1

I have a problem with one of my servers. Google opens lots of http connections to the apache server and basically performs a slowloris attack.

This netstat call results in the following output

netstat -plant|grep :80|awk '{print $5}'|cut -d: -f1|sort|uniq -c|sort -n

 11 209.85.227.93
 14 209.85.227.190
 30 209.85.229.118
494 209.85.229.141

All of these ip's belong to the google network. I've already forbidden Google to access any of the content that is saved on the server by using robots.txt but it has no effect on the insane amount of connections. What should I do?

3
  • 2
    I'd stick the IP addresses into an iptables rule to block them - not putting this as an answer because my iptables skills aren't up to scratch - but an iptables drop will stop them using resources at your end Jul 3, 2011 at 19:39
  • 1
    Great Idea, Thank you! BTW the command is: /sbin/iptables -I INPUT -s 209.85.229.141 -j DROP
    – Philip
    Jul 3, 2011 at 19:46
  • google has how to on this link. Aug 25, 2013 at 20:23

1 Answer 1

8

Go to google webmaster tools, put in throttling.

Several other spiders respect the Crawl-delay directive in robots.txt, but Googlebot doesn't.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .