我的日志文件太大,是与hack或后门相关的日志文件?

时间:2013-06-27 12:01:57

标签: logging

我的日志文件太大(特别是访问日志文件),是hack还是后门程序?

我的托管停止了我的主机,他们说你的日志文件太大,你必须检查你的程序可能是你的程序有一些泄漏,但我不这么认为。但还不确定。 事实上,我的日志文件每天都在迅速增加。 特别是访问日志文件太大了。

我无法通过Apache等控制日志文件设置,因为我是共享主机。不允许,但我可以设置一些php.ini,但它对我没有帮助。

任何人都可以分析我的访问日志文件内容?并给我任何解决方案。有什么黑客或别的什么?不是吗?

日志大多是99%的内容是这样的:

66.249.74.126 - - [26/Jun/2013:01:08:10 +0800] "GET /koru.php?tur=20&id=72258 HTTP/1.1" 200 63
220.181.89.132 - - [26/Jun/2013:01:08:16 +0800] "GET /koru_kk.php?turi=4&id=136758 HTTP/1.1" 200 63
173.199.119.35 - - [26/Jun/2013:01:08:17 +0800] "GET /koru.php?tur=4&id=77653 HTTP/1.1" 302 63
173.199.119.35 - - [26/Jun/2013:01:08:18 +0800] "GET /koru.php?tur=14&id=91466 HTTP/1.1" 200 63
66.249.74.121 - - [26/Jun/2013:01:08:21 +0800] "GET /koru.php?id=114867 HTTP/1.1" 200 63
124.117.229.10 - - [26/Jun/2013:01:08:25 +0800] "GET /logo/elarna.gif HTTP/1.1" 200 4531
66.249.74.118 - - [26/Jun/2013:01:08:25 +0800] "GET /koru.php?id=114884 HTTP/1.1" 200 63
220.181.89.132 - - [26/Jun/2013:01:08:26 +0800] "GET /koru_kk.php?id=153800 HTTP/1.1" 200 63
182.118.20.236 - - [26/Jun/2013:01:08:26 +0800] "GET /koru_kk.php?id=148813&tur=31 HTTP/1.1" 200 63
66.249.74.122 - - [26/Jun/2013:01:08:28 +0800] "GET /koru.php?tur=19&id=97151 HTTP/1.1" 200 63
66.249.74.126 - - [26/Jun/2013:01:08:32 +0800] "GET /koru_kk.php?tur=3&id=131614 HTTP/1.1" 200 63
66.249.74.120 - - [26/Jun/2013:01:08:36 +0800] "GET /koru.php?id=114831 HTTP/1.1" 200 63

并且错误日志通常是这样的:

[Wed Jun 26 00:33:47 2013] [error] [client 198.74.231.14] File does not exist: /var/www/virtual/nigmet/home/wwwroot/robots.txt
[Wed Jun 26 00:33:49 2013] [error] [client 79.142.93.163] File does not exist: /var/www/virtual/nigmet/home/wwwroot/favicon.ico
[Wed Jun 26 00:35:14 2013] [error] [client 222.81.42.192] File does not exist: /var/www/virtual/nigmet/home/wwwroot/favicon.ico
[Wed Jun 26 00:36:02 2013] [error] [client 120.70.74.87] File does not exist: /var/www/virtual/nigmet/home/wwwroot/favicon.ico
[Wed Jun 26 00:36:12 2013] [error] [client 147.30.71.68] File does not exist: /var/www/virtual/nigmet/home/wwwroot/favicon.ico
[Wed Jun 26 00:36:15 2013] [error] [client 110.156.165.93] File does not exist: /var/www/virtual/nigmet/home/wwwroot/favicon.ico
[Wed Jun 26 00:36:51 2013] [error] [client 46.227.184.117] File does not exist: /var/www/virtual/nigmet/home/wwwroot/favicon.ico
[Wed Jun 26 00:37:01 2013] [error] [client 46.227.184.117] File does not exist: /var/www/virtual/nigmet/home/wwwroot/favicon.ico

1 个答案:

答案 0 :(得分:0)

robots.txt文件不存在与爬虫(如谷歌索引器)到达您的网站并尝试查看允许抓取的页面相关。将robots.txt添加到您的网站以防止该错误。

至于其余部分,似乎你有一些链接指向找不到的favicon.ico,并且任何时候有人试图访问它们,产生了很多错误。查看您的链接,看看哪些链接被破坏并修复它们。因此,您可以减少错误和日志大小。

除了那项活动似乎并不是恶意的。