【问题标题】:Spam Request coming from google ip: "Mediapartners-Google" "72.14.199.26" : It makes my website down来自 google ip 的垃圾邮件请求:“Mediapartners-Google”“72.14.199.26”:它使我的网站关闭
【发布时间】:2018-04-05 02:44:38
【问题描述】:

我收到了来自 Mediapartners-Google crowler 的数千个垃圾邮件请求,这些页面不存在并且请求是重复的。几乎每秒来两次。

这会影响我的网站,并且由于负载过重而关闭。我需要重新启动服务器。服务器设置 Ubuntu、nginx、apache、php。

72.14.199.26 - - [05/Apr/2018:00:45:05 +0000] "GET /4%20differences%20between%20bank%20loan%20and%20overdraft HTTP/1.1" 404 534 "-" "Mediapartners -谷歌“72.14.199.26”362 0.003“891”“0.000”“” 72.14.199.26 - - [05/Apr/2018:00:45:10 +0000] "GET /accident%20lawyers%20san%20antonio HTTP/1.1" 404 534 "-" "Mediapartners-Google" "72.14.199.26" 339 0.005 "891" "0.004" "" 72.14.199.26 - - [05/Apr/2018:00:45:10 +0000] "GET /bank%20loan%20marketing%20ideas HTTP/1.1" 404 534 "-" "Mediapartners-Google" "72.14.199.26" 336 0.002 "891" "0.000" "" 72.14.199.26 - - [05/Apr/2018:00:45:14 +0000] "GET /bank%20loan%2010%20down HTTP/1.1" 404 534 "-" "Mediapartners-Google" "72.14.199.26" 328 0.003 "891" "0.000" "" 72.14.199.26 - - [05/Apr/2018:00:45:16 +0000] "GET /buy%20domains%20with%20bitcoin HTTP/1.1" 404 534 "-" "Mediapartners-Google" "72.14.199.26" 335 0.002 "891" "0.000" "" 72.14.199.26 - - [05/Apr/2018:00:45:16 +0000]“GET /bank%20loan%20securities HTTP/1.1”404 534“-”“Mediapartners-Google”“72.14.199.26”329 0.002“ 891" "0.000" ""

你怎么看,我该怎么办?

谢谢, 詹姆斯

【问题讨论】:

  • 我阻止了这些来自 Cloudflare 的 IP,不知道是谁在发送这些,我不认为这可能是 google。

标签: nginx server spam google-search-console ddos


【解决方案1】:

将 Mediapartners-Google 添加到 Robots.txt 并禁止它

在 robots.txt 中添加这两行

User-agent: Mediapartners-Google
Disallow: /

【讨论】:

  • 这个解决方案不起作用,为什么谷歌域是垃圾邮件?
猜你喜欢
  • 1970-01-01
  • 2014-05-29
  • 1970-01-01
  • 2019-12-24
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2013-01-17
  • 2012-03-17
相关资源
最近更新 更多