VPS侦探论坛

 找回密码
 注册
查看: 12334|回复: 12

麻烦L大帮忙看下这个数据

[复制链接]
发表于 2010-7-24 11:13:48 | 显示全部楼层 |阅读模式

Active connections: 54810 server accepts handled requests 410156 410156 414681 Reading: 9 Writing: 54764 Waiting: 37 区区一个二级域名,居然并发数5w?????这是什么概念啊我说怎么7小时日志直冲30G = =
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2010-7-24 11:32:38 | 显示全部楼层


Active connections: 63104
server accepts handled requests
471091 471091 476255
Reading: 4 Writing: 63057 Waiting: 43
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2010-7-24 11:54:04 | 显示全部楼层

7w了
物理内存:共 512 M, 已使用 509.14 M, 空闲 2.86 M, 使用率 99.44 %
Cache化内存为 13.5 M, 真实内存使用率为 96.8 %
SWAP区:共 1023.99 M, 已使用 4.36 M, 空闲 1019.63 M, 使用率 0.43 %
nginx性能真不错……
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2010-7-24 12:23:03 | 显示全部楼层



可以按http://blog.licess.org/nginx-off-log/ 这个将nginx日志关闭。status上的是整个vps的不是单个域名的。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2010-7-24 12:58:11 | 显示全部楼层

L大您搞错啦
我现在估计是被攻击……
整个vps只有一个二级域名- -
并没有绑任何米
日志昨天已经关闭了……

军哥运维代购:http://shop63846532.taobao.com/

 楼主| 发表于 2010-7-24 13:07:37 | 显示全部楼层

装了 DDoS deflate 上帝保佑
这帮菜鸟黑客 除了这个还会什么呀
发表于 2010-7-24 13:08:49 | 显示全部楼层

回复 5# 的帖子


执行:netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n 看一下
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2010-7-24 13:27:52 | 显示全部楼层

145 211.140.18.130
    164 211.136.115.45
    165 211.138.243.111
    173 211.136.23.43
    174 211.137.33.167
    179 211.137.33.177
    180 211.137.199.3
    188 211.137.119.247
    190 211.140.16.2
    208 211.141.86.10
    217 218.207.91.131
    225 211.140.16.14
    228 211.139.163.138
    235 211.136.115.9
    253 211.140.18.145
    257 211.139.163.153
    280 211.139.163.168
    288 218.205.237.10
    308 211.138.5.36
    422 218.205.237.42
这是重启过的 之前都是2500左右……
已经装了DDoS deflate 都过了好几分钟了 貌似还是没效用啊
怎么看是否安装成功呢?怎么看是否生效呢?
PS 装好后按照教程修改后 又reboot过了
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2010-7-24 13:31:18 | 显示全部楼层


[root@vps ~]#iptables -nL
Chain INPUT (policy ACCEPT)
target     prot opt source               destination


Chain FORWARD (policy ACCEPT)
target     prot opt source               destination


Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

[ 本帖最后由 kerneg 于 2010-7-24 13:32 编辑 ]

军哥运维代购:http://shop63846532.taobao.com/

 楼主| 发表于 2010-7-24 13:53:29 | 显示全部楼层



执行 usr/local/ddos/ddos.sh -k 50 后
再查看 连接数依然不断增加……
发表于 2010-7-24 14:11:52 | 显示全部楼层

回复 8# 的帖子


看了是被攻击了,试试https://www.vpser.net/security/ddos-deflate.html 这个方法。
 楼主| 发表于 2010-7-24 14:39:00 | 显示全部楼层

1 此神物已安装2 已按教程配置3 无效……最后查呀查呀查原来这个软件在安装的时候把已连接的ip放到白名单里…………………………好吧 删之 成功……网上的教程没有一篇说到这点- -
target     prot opt source               destination
DROP       all  --  211.137.33.177       anywhere
DROP       all  --  211.137.33.167       anywhere
DROP       all  --  211.140.16.2         anywhere
DROP       all  --  211.141.86.10        anywhere
DROP       all  --  211.140.16.14        anywhere
DROP       all  --  211.137.199.3        anywhere
DROP       all  --  211.136.23.43        anywhere
DROP       all  --  211.139.163.153      anywhere
DROP       all  --  211.138.243.111      anywhere
DROP       all  --  211.136.115.9        anywhere
DROP       all  --  218.207.91.131       anywhere
DROP       all  --  211.140.18.145       anywhere
DROP       all  --  211.139.163.168      anywhere
DROP       all  --  211.138.5.36         anywhere
DROP       all  --  218.205.237.10       anywhere
DROP       all  --  218.205.237.42       anywhere


现在好了-0-
不过这些王八蛋哪里来的?

[ 本帖最后由 kerneg 于 2010-7-24 14:40 编辑 ]
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2010-7-25 14:06:59 | 显示全部楼层
原帖由 kerneg 于 2010-7-24 14:39 发表
1 此神物已安装2 已按教程配置3 无效……最后查呀查呀查原来这个软件在安装的时候把已连接的ip放到白名单里…………………………好吧 删之 成功……网上的教程没有一篇说到这点- -
target     prot opt source       ...


请LZ详细解说下你的配置说明,使用完毕后有个总结最好了,省的后面人再走弯路
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-8 09:04 , Processed in 0.029635 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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