2020-06-02 08:37
@JFinal 是的。后来是做了个自动解析日志的工具,根据特征解析出对应的ip,然后在nginx上自动配置conf进行拦截,直接返回403。这样这类请求到不了后端jfinal-undertow了
2020-05-24 09:16
使用nginx做代理,记录下了详细日志:
111.224.235.80 - - [24/May/2020:00:43:58 +0800] "GET http://wujieliulan.com/ HTTP/1.1" 503 190 "-" "python-requests/2.6.0 CPython/2.7.5 Linux/3.10.0-693.11.1.el7.x86_64"
111.224.235.80 - - [24/May/2020:00:43:58 +0800] "CONNECT www.voanews.com:443 HTTP/1.0" 400 150 "-" "-"
111.224.235.80 - - [24/May/2020:00:43:58 +0800] "GET http://www.baidu.com/ HTTP/1.1" 503 190 "-" "python-requests/2.6.0 CPython/2.7.5 Linux/3.10.0-693.11.1.el7.x86_64"
111.224.235.80 - - [24/May/2020:00:43:58 +0800] "GET http://www.minghui.org/ HTTP/1.1" 503 190 "-" "python-requests/2.6.0 CPython/2.7.5 Linux/3.10.0-693.11.1.el7.x86_64"
111.224.235.80 - - [24/May/2020:00:43:58 +0800] "GET http://www.boxun.com/ HTTP/1.1" 503 190 "-" "python-requests/2.6.0 CPython/2.7.5 Linux/3.10.0-693.11.1.el7.x86_64"
111.224.235.80 - - [24/May/2020:00:43:58 +0800] "GET http://wujieliulan.com/ HTTP/1.1" 503 190 "-" "python-requests/2.6.0 CPython/2.7.5 Linux/3.10.0-693.11.1.el7.x86_64"
111.224.235.80 - - [24/May/2020:00:43:58 +0800] "GET http://www.epochtimes.com/ HTTP/1.1" 503 190 "-" "python-requests/2.6.0 CPython/2.7.5 Linux/3.10.0-693.11.1.el7.x86_64"
111.224.235.80 - - [24/May/2020:00:43:58 +0800] "GET http://www.123cha.com/ HTTP/1.1" 503 190 "-" "python-requests/2.6.0 CPython/2.7.5 Linux/3.10.0-693.11.1.el7.x86_64"
111.224.235.80 - - [24/May/2020:00:43:58 +0800] "GET http://www.baidu.com/ HTTP/1.1" 503 190 "-" "python-requests/2.6.0 CPython/2.7.5 Linux/3.10.0-693.11.1.el7.x86_64"
111.224.235.80 - - [24/May/2020:00:43:58 +0800] "GET http://www.123cha.com/ HTTP/1.1" 503 190 "-" "python-requests/2.6.0 CPython/2.7.5 Linux/3.10.0-693.11.1.el7.x86_64"
111.224.235.80 - - [24/May/2020:00:43:58 +0800] "GET http://www.boxun.com/ HTTP/1.1" 503 190 "-" "python-requests/2.6.0 CPython/2.7.5 Linux/3.10.0-693.11.1.el7.x86_64"
111.224.235.80 - - [24/May/2020:00:43:58 +0800] "GET http://www.bing.com/ HTTP/1.1" 503 190 "-" "python-requests/2.6.0 CPython/2.7.5 Linux/3.10.0-693.11.1.el7.x86_64"
111.224.235.80 - - [24/May/2020:00:43:58 +0800] "CONNECT www.voanews.com:443 HTTP/1.0" 400 150 "-" "-"
应该是爬虫之类的程序