Counting TCP-SYN and TCP-ACK packets per second and overall + threshold control
Clone the repo
git clone https://github.com/mrde1v/tcp-synack-counter
Install scapy via pip
pip install scapy
default run with threshold 10
python3 packetmonitor.py <network-interface>
run with specified threshold
python3 packetmonitor.py <network-interface> --threshold <number>
save IP + SYN and ACK packets overall time it was running
save IP + SYN and ACK packets per second
save IP + packet hit number only if the threshold was exceeded