How to count the number of SYN, ACK, or SYN-ACK in a second? [closed]

I want to make a DDoS SYN Flood Detection, so i need to count the number of SYN, ACK, or SYN-ACK packet per second.

Answer

I believe

netstat -s

will be your friend.

If you are looking for a switch level service, you can use sflow/netflow to collect data and send them to the collector.

Attribution
Source : Link , Question Author : Gilang Ramadhan , Answer Author : Yarik Dot

Leave a Comment