
iptables介绍: Linux系统下的应用层防火墙工具
iptables攻防实例:
并发请求(压力测试)命令:ab
yum install httpd-tools
#ab -n 1000000 -c 40 http://127.0.0.1/index.php
查看当前多少个访问在监听
netstat -an|grep 80|grep 127.0.0.2 |grep EST -c
防止的策略
iptables -I INPUT -p tcp --dport 80 -s 127.0.0.2 -m connlimit --connlimit-above 10 -j reject
意义:
1、使用iptables搭建一套实际使...