我有一个很大的问题。我的网站通过 joomla 联系表发送垃圾邮件。在 nginx access.log 我只看到:
10.50.0.1 - - [06/Sep/2017:19:57:32 +0200]“GET /index.php/en/kontakt HTTP/1.1”200 16132“ http://polskaszkolaslough.org/index.php/en /kontakt " "Mozilla/4.0 (兼容; MSIE 9.0; Windows NT 6.1)" 10.50.0.1 - - [06/Sep/2017:19:57:32 +0200] "POST /index.php/en/kontakt HTTP/ 1.1" 301 193 " http://polskaszkolaslough.org/index.php/en/kontakt " "Mozilla/4.0(兼容;MSIE 9.0;Windows NT 6.1)" 10.50.0.1 - - [06/Sep/2017:19: 57:34 +0200]“POST /index.php/en/kontakt HTTP/1.1”301 193“ http://polskaszkolaslough.org/index.php/en/kontakt ”“Mozilla/4.0(兼容;MSIE 9.0;Windows NT 6.1)" 10.50.0.1 - - [06/Sep/2017:19:57:34 +0200] "GET /index.php/en/kontakt HTTP/1.1" 301 193 "http://polskaszkolaslough.org/index.php/en/kontakt" "Mozilla/4.0 (兼容; MSIE 9.0; Windows NT 6.1)" 10.50.0.1 - - [06/Sep/2017:19:57:34 +0200] "GET /index.php/en/kontakt HTTP/1.1" 301 193“ http://polskaszkolaslough.org/index.php/en/kontakt ”“Mozilla/4.0(兼容;MSIE 9.0;Windows NT 6.1)”10.50.0.1 - - [06/Sep/2017:19:57: 36 +0200]“GET /index.php/en/kontakt HTTP/1.1”200 16132“ http://polskaszkolaslough.org/index.php/en/kontakt ”“Mozilla/4.0(兼容;MSIE 9.0;Windows NT 6.1 )" 10.50.0.1 - - [06/Sep/2017:19:57:37 +0200] "GET /index.php/en/kontakt HTTP/1.1" 301 193 " http://polskaszkolaslough.org/index.php /en/kontakt " "Mozilla/4.0 (兼容; MSIE 9.0; Windows NT 6.1)" 10.50.0.1 - - [06/Sep/2017:19:57:37 +0200]“获取/index.php/en/kontakt HTTP/1.1”200 16132“http://polskaszkolaslough.org/index.php/en/kontakt “”Mozilla/4.0(兼容;MSIE 9.0;Windows NT 6.1)“10.50.0.1 - - [06/Sep/2017:19:57:37 +0200 ]“GET /index.php/en/kontakt HTTP/1.1”301 193“ http://polskaszkolaslough.org/index.php/en/kontakt ”“Mozilla/4.0(兼容;MSIE 9.0;Windows NT 6.1)”
当我打开 Linux 命令尾时,新的请求一个接一个。这是震惊!我的网站很慢。我有公共 IP 的私人服务器。我的本地 IP 是:10.50.0.6,网关是:10.50.0.1 DNS 在我的域提供商处,记录 A 将流量转发到我的公共 IP,然后路由器转发到我的本地 IP。我想阻止向我的域发送垃圾邮件的 ip 范围,但我没有看到原始地址。我只看到我的网关 IP。我安装了fail2ban,并在联系表格中添加了reCaptha,但没有帮助。我该如何解决这个问题?