日志报错如下,请大神解惑
10, 2017 7:45:56 上午 org.apache.coyote.http11.AbstractHttp11Processor process
信息: Error parsing HTTP request header
Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.
java.lang.IllegalArgumentException: Invalid character (CR or LF) found in method name
at org.apache.coyote.http11.InternalAprInputBuffer.parseRequestLine(InternalAprInputBuffer.java:177)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:992)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2517)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2506)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
而且,经常会有人很奇怪的访问服务器,localhost_access_log日志如下
140.205.225.189 - - [11/Aug/2017:13:38:22 +0800] "GET /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:22 +0800] "POST /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:22 +0800] "GET /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:22 +0800] "POST /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:22 +0800] "GET /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:22 +0800] "POST /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:22 +0800] "GET /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:22 +0800] "POST /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:22 +0800] "GET /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:23 +0800] "POST /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:23 +0800] "GET /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:23 +0800] "POST /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:23 +0800] "GET /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:23 +0800] "POST /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:23 +0800] "GET /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:23 +0800] "POST /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:23 +0800] "GET /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:23 +0800] "POST /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:23 +0800] "GET /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:23 +0800] "POST /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:49:09 +0800] "GET /rs-status HTTP/1.1" 404 969
140.205.225.189 - - [11/Aug/2017:13:49:19 +0800] "POST /beripxlykvuh HTTP/1.1" 404 975
140.205.225.189 - - [11/Aug/2017:13:49:19 +0800] "GET /beripxlykvuh HTTP/1.1" 404 975
140.205.225.189 - - [11/Aug/2017:13:49:19 +0800] "DELETE /beripxlykvuh HTTP/1.1" 403 961
140.205.225.189 - - [11/Aug/2017:13:52:00 +0800] "GET /ganglia/index.php HTTP/1.1" 404 985