免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2480 | 回复: 4
打印 上一主题 下一主题

[系统安全] Apache日志疑惑 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-07-28 09:19 |只看该作者 |倒序浏览
最近Apache的日志时常有这样的日志出现:
118.244.147.49 - - [28/Jul/2014:07:40:46 +0800] "GET http://www.baidu.com/?rands=14252436 HTTP/1.1" 301 3
118.244.147.49 - - [28/Jul/2014:07:40:47 +0800] "GET http://www.baidu.comhttp/www.baidu.com/?rands=14252436 HTTP/1.1" 301 3
118.244.147.49 - - [28/Jul/2014:07:40:47 +0800] "GET http://www.baidu.comhttphttp/www ... com/?rands=14252436 HTTP/1.1" 301 3
118.244.147.49 - - [28/Jul/2014:07:40:47 +0800] "GET http://www.baidu.comhttphttphttp ... com/?rands=14252436 HTTP/1.1" 301 3
118.244.147.49 - - [28/Jul/2014:07:40:47 +0800] "GET http://www.baidu.comhttphttphttp ... com/?rands=14252436 HTTP/1.1" 301 3
118.244.147.49 - - [28/Jul/2014:07:40:47 +0800] "GET http://www.baidu.comhttphttphttp ... com/?rands=14252436 HTTP/1.1" 301 3
118.244.147.49 - - [28/Jul/2014:07:40:47 +0800] "GET http://www.baidu.comhttphttphttp ... com/?rands=14252436 HTTP/1.1" 301 3
118.244.147.49 - - [28/Jul/2014:07:40:48 +0800] "GET http://www.baidu.comhttphttphttp ... com/?rands=14252436 HTTP/1.1" 301 3
118.244.147.49 - - [28/Jul/2014:07:40:48 +0800] "GET http://www.baidu.comhttphttphttp ... com/?rands=14252436 HTTP/1.1" 301 3
118.244.147.49 - - [28/Jul/2014:07:40:48 +0800] "GET http://www.baidu.comhttphttphttp ... com/?rands=14252436 HTTP/1.1" 301 3
118.244.147.49 - - [28/Jul/2014:07:40:48 +0800] "GET http://www.baidu.comhttphttphttp ... com/?rands=14252436 HTTP/1.1" 301 3
118.244.147.49 - - [28/Jul/2014:07:40:48 +0800] "GET http://116.255.157.223:800/proxyheader.php?rands=78214002 HTTP/1.1" 301 3
118.244.147.49 - - [28/Jul/2014:07:40:49 +0800] "GET http://www.soso.com/?rands=78214002 HTTP/1.1" 301 3
118.244.147.49 - - [28/Jul/2014:07:40:49 +0800] "GET http://www.soso.comhttp/www.soso.com/?rands=78214002 HTTP/1.1" 301 3
118.244.147.49 - - [28/Jul/2014:07:40:49 +0800] "GET http://www.soso.comhttphttp/www. ... com/?rands=78214002 HTTP/1.1" 301 3
118.244.147.49 - - [28/Jul/2014:07:40:49 +0800] "GET http://www.soso.comhttphttphttp/ ... com/?rands=78214002 HTTP/1.1" 301 3
118.244.147.49 - - [28/Jul/2014:07:40:49 +0800] "GET http://www.soso.comhttphttphttph ... com/?rands=78214002 HTTP/1.1" 301 3
118.244.147.49 - - [28/Jul/2014:07:40:49 +0800] "GET http://www.soso.comhttphttphttph ... com/?rands=78214002 HTTP/1.1" 301 3
118.244.147.49 - - [28/Jul/2014:07:40:50 +0800] "GET http://www.soso.comhttphttphttph ... com/?rands=78214002 HTTP/1.1" 301 3
118.244.147.49 - - [28/Jul/2014:07:40:50 +0800] "GET http://www.soso.comhttphttphttph ... com/?rands=78214002 HTTP/1.1" 301 3
118.244.147.49 - - [28/Jul/2014:07:40:50 +0800] "GET http://www.soso.comhttphttphttph ... com/?rands=78214002 HTTP/1.1" 301 3
118.244.147.49 - - [28/Jul/2014:07:40:50 +0800] "GET http://www.soso.comhttphttphttph ... com/?rands=78214002 HTTP/1.1" 301 3
118.244.147.49 - - [28/Jul/2014:07:40:50 +0800] "GET http://www.soso.comhttphttphttph ... com/?rands=78214002 HTTP/1.1" 301 3
118.244.147.49 - - [28/Jul/2014:07:40:51 +0800] "GET http://reg.163.com/?rands=55165665 HTTP/1.1" 301 3
118.244.147.49 - - [28/Jul/2014:07:40:51 +0800] "GET http://reg.163.comhttp/reg.163.com/?rands=55165665 HTTP/1.1" 301 3
118.244.147.49 - - [28/Jul/2014:07:40:51 +0800] "GET http://reg.163.comhttphttp/reg.1 ... com/?rands=55165665 HTTP/1.1" 301 3
看着具体条目,总觉得像是我的公网IP被别人当作代理IP使用了,请教各位大拿如何通过设置,让Apache日志不再出现类似记录。

论坛徽章:
33
荣誉会员
日期:2011-11-23 16:44:17天秤座
日期:2014-08-26 16:18:20天秤座
日期:2014-08-29 10:12:18丑牛
日期:2014-08-29 16:06:45丑牛
日期:2014-09-03 10:28:58射手座
日期:2014-09-03 16:01:17寅虎
日期:2014-09-11 14:24:21天蝎座
日期:2014-09-17 08:33:55IT运维版块每日发帖之星
日期:2016-04-17 06:23:27操作系统版块每日发帖之星
日期:2016-04-18 06:20:00IT运维版块每日发帖之星
日期:2016-04-24 06:20:0015-16赛季CBA联赛之天津
日期:2016-05-06 12:46:59
2 [报告]
发表于 2014-07-28 09:50 |只看该作者
你怎么知道是被当作代理了呢?

这log显示全是 301. 要看你的配置, 把这些url 301 到了哪里了.

另外, 你有没有用过 proxy mod ?

论坛徽章:
0
3 [报告]
发表于 2014-07-28 11:30 |只看该作者
回复 2# q1208c


   只是猜测,觉得是被当代理了。因为这些目标网站不是我的服务器上,我无法准确解释这些日志出现的具体原因。其次Apache的proxy模块我确认是没有开启的

论坛徽章:
33
荣誉会员
日期:2011-11-23 16:44:17天秤座
日期:2014-08-26 16:18:20天秤座
日期:2014-08-29 10:12:18丑牛
日期:2014-08-29 16:06:45丑牛
日期:2014-09-03 10:28:58射手座
日期:2014-09-03 16:01:17寅虎
日期:2014-09-11 14:24:21天蝎座
日期:2014-09-17 08:33:55IT运维版块每日发帖之星
日期:2016-04-17 06:23:27操作系统版块每日发帖之星
日期:2016-04-18 06:20:00IT运维版块每日发帖之星
日期:2016-04-24 06:20:0015-16赛季CBA联赛之天津
日期:2016-05-06 12:46:59
4 [报告]
发表于 2014-07-28 12:39 |只看该作者
回复 3# Yvan_Zhang

从域名看, 访问的全是 搜索引擎.

如果你的网站使用了第三方搜索引擎, 又没有正确设置, 有可能有这些访问产生.

你可以看一下这些访问的 refer是哪些.

另外, 如果数量不是很大, 并且, 只是搜索引擎的话, 应该不是 攻击 或者被 黑成了代理.

当然, 最好能分析一下 进来的IP是哪些. 如果只有一两个, 那还是要特别留意一下.
   

论坛徽章:
1
2015年辞旧岁徽章
日期:2015-03-03 16:54:15
5 [报告]
发表于 2014-07-29 11:12 |只看该作者
是不是来源IP把这几个网站都指向你的服务器了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP