容器技术交流

 找回密码
 立即注册
查看: 2632|回复: 0

大大能给写个脚本吗?

[复制链接]
发表于 2013-8-25 11:51:04 | 显示全部楼层 |阅读模式
最近有人不停的cc我的网站  就是用很多代理 get我网站的一个帖子  我一开始是封ua  但是他经常变  
有没有办法监控log 找到三分钟以内都get同一个帖子的ip 直接封了?
log里边都是这个
117.80.9.167 --- [25/Aug/2013:11:36:56 +0800] --- Bytes: 240502 --- GET /thread-103831-1-1.html HTTP/1.1 --- 200 --- -  --- - --- - --- -
114.232.18.252 --- [25/Aug/2013:11:36:56 +0800] --- Bytes: 240502 --- GET /thread-103831-1-1.html HTTP/1.1 --- 200 --- -  --- - --- - --- -
117.91.195.205 --- [25/Aug/2013:11:36:56 +0800] --- Bytes: 240502 --- GET /thread-103831-1-1.html HTTP/1.1 --- 200 --- -  --- - --- - --- -
49.64.28.145 --- [25/Aug/2013:11:36:56 +0800] --- Bytes: 240502 --- GET /thread-103831-1-1.html HTTP/1.1 --- 200 --- -  --- - --- - --- -
171.208.108.110 --- [25/Aug/2013:11:36:57 +0800] --- Bytes: 240502 --- GET /thread-103831-1-1.html HTTP/1.1 --- 200 --- -  --- - --- - --- -
14.118.219.59 --- [25/Aug/2013:11:36:57 +0800] --- Bytes: 240502 --- GET /thread-103831-1-1.html HTTP/1.1 --- 200 --- -  --- - --- - --- -
111.78.159.186 --- [25/Aug/2013:11:36:57 +0800] --- Bytes: 240502 --- GET /thread-103831-1-1.html HTTP/1.1 --- 200 --- -  --- - --- - --- -
180.124.173.48 --- [25/Aug/2013:11:36:58 +0800] --- Bytes: 240502 --- GET /thread-103831-1-1.html HTTP/1.1 --- 200 --- -  --- - --- - --- -
ua都是空白的 或者过一段见时间就修改一次 手动封ua太麻烦了

谁可以帮忙写  我付一百块钱啊   实在受不了了
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Archiver|URLOS ( 粤ICP备18087780号 )

GMT+8, 2025-5-8 09:09 , Processed in 0.030125 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表