观察中间态
观察中间态
ss -tan state syn-sent
ss -tan state syn-recv | wc -l
netstat -s | grep -i 'SYNs to LISTEN'| SYN_SENT 停留 | 对端不可达/防火墙 DROP、对端过载 |
|---|---|
| SYN_RCVD 堆积 | SYN flood、客户端 ACK 被丢、服务端过载 |
| 缓解 | net.ipv4.tcp_syncookies=1(SYN flood 时启用) |
少量瞬时 SYN_RCVD 正常;持续上百且不下降就需要查攻击或链路质量。