httpslowtest 的使用—- 记录下常用的步骤和工具

性能测试

https://www.jianshu.com/p/20a9664b89ea 使用

netstat -na grep -i 80 wc -l 查看80端口的链接数

https://github.com/shekyan/slowhttptest/wiki/InstallationAndUsage

将测试应用postddos额度

攻击

slowhttptest -c 5000 -u http://host/b2b/main/index.do

防范

修改配置

https://blog.qualys.com/securitylabs/2011/11/02/how-to-protect-against-slow-http-attacks

ng有模块可以进行限制 HttpLimitReqModule

https://blog.csdn.net/lishenglong666/article/details/60873944