Một số câu lệnh kiểm tra server khi bị tấn công DDoS
- Kiểm tra số connection trên port 80:
Code:
netstat -n | grep :80 |wc -l
- Kiểm tra số lượng connection đang ở trạng thái SYN_RECV:
Code:
netstat -n | grep :80 | grep SYN_RECV|wc -l
- Hiển thị tất cả các IP đang kết nối và số lượng kết nối từ mỗi IP:
Code:
netstat -an|grep...
Thursday, August 11, 2011 at 10:27 PM
Q. I'd like to tell my Linux iptables firewall to flush out the current configuration every 5 minutes. This will help when I'm testing a new rules and configuration options. Some time I find myself locked out of my own remote server. How do I reset Linux firewall automatically without issuing hard reboot?
A. You can easily flush...