我在 Ubuntu 18.04 上运行带有 Tomcat 的服务器,并且在访问日志中看到以下内容。
<my.ip> - - [13/Sep/2020:19:33:40 +0000] "POST /path/path HTTP/1.1" 200 53
<my.ip> - - [13/Sep/2020:19:33:41 +0000] "POST /path/path HTTP/1.1" 200 82080
<my.ip> - - [13/Sep/2020:19:33:41 +0000] "POST /path/path HTTP/1.1" 200 21
<my.ip> - - [13/Sep/2020:19:33:41 +0000] "POST /path/path HTTP/1.1" 200 21
<my.ip> - - [13/Sep/2020:19:33:41 +0000] "POST /path/path HTTP/1.1" 200 16
<my.ip> - - [13/Sep/2020:19:33:41 +0000] "POST /path/path HTTP/1.1" 200 18
<my.ip> - - [13/Sep/2020:19:33:41 +0000] "POST /path/path HTTP/1.1" 200 262
<my.ip> - - [13/Sep/2020:19:33:42 +0000] "POST /path/path HTTP/1.1" 200 19
<my.ip> - - [13/Sep/2020:19:33:42 +0000] "POST /path/path HTTP/1.1" 200 19
<my.ip> - - [13/Sep/2020:19:33:42 +0000] "POST /path/path HTTP/1.1" 200 174
<my.ip> - - [13/Sep/2020:19:33:42 +0000] "POST /path/path HTTP/1.1" 200 19
<my.ip> - - [13/Sep/2020:19:33:42 +0000] "POST /path/path HTTP/1.1" 200 140863
<my.ip> - - [13/Sep/2020:19:33:42 +0000] "POST /path/path HTTP/1.1" 200 254
<my.ip> - - [13/Sep/2020:19:33:42 +0000] "POST /path/path HTTP/1.1" 200 162
<my.ip> - - [13/Sep/2020:19:33:42 +0000] "-" 400 -
<my.ip> - - [13/Sep/2020:19:33:42 +0000] "POST /path/path HTTP/1.1" 200 459
<my.ip> - - [13/Sep/2020:19:33:58 +0000] "POST /path/path HTTP/1.1" 200 53
<my.ip> - - [13/Sep/2020:19:33:58 +0000] "POST /path/path HTTP/1.1" 200 21
<my.ip> - - [13/Sep/2020:19:33:58 +0000] "POST /path/path HTTP/1.1" 200 82080
<my.ip> - - [13/Sep/2020:19:33:58 +0000] "POST /path/path HTTP/1.1" 200 21
<my.ip> - - [13/Sep/2020:19:33:58 +0000] "POST /path/path HTTP/1.1" 200 16
<my.ip> - - [13/Sep/2020:19:33:59 +0000] "POST /path/path HTTP/1.1" 200 18
<my.ip> - - [13/Sep/2020:19:33:59 +0000] "POST /path/path HTTP/1.1" 200 262
<my.ip> - - [13/Sep/2020:19:33:59 +0000] "POST /path/path HTTP/1.1" 200 19
<my.ip> - - [13/Sep/2020:19:33:59 +0000] "POST /path/path HTTP/1.1" 200 19
<my.ip> - - [13/Sep/2020:19:33:59 +0000] "POST /path/path HTTP/1.1" 200 162
<my.ip> - - [13/Sep/2020:19:33:59 +0000] "POST /path/path HTTP/1.1" 200 19
<my.ip> - - [13/Sep/2020:19:33:59 +0000] "POST /path/path HTTP/1.1" 200 174
<my.ip> - - [13/Sep/2020:19:33:59 +0000] "POST /path/path HTTP/1.1" 200 459
<my.ip> - - [13/Sep/2020:19:34:00 +0000] "POST /path/path HTTP/1.1" 200 193
<my.ip> - - [13/Sep/2020:19:34:00 +0000] "POST /path/path HTTP/1.1" 200 254
<my.ip> - - [13/Sep/2020:19:34:00 +0000] "POST /path/path HTTP/1.1" 200 140863
如您所见,在 400 响应之前和之后,一切都正常,似乎有时,它会毫无原因地响应 400,而客户端会将其接收为“网络错误”。没有特定的场景会导致这种情况发生,但它确实每天会发生几次(grep)到不同的 IP/用户。我是否可以搜索其他日志来查找有关此问题的更多信息?谢谢