There is a communication between my machine and a server (10 packets), and i’m trying to control it packet by packet. How can I stop all communication after x packets ? (1-9 in my case)
I tried to use
tshark -c 2 host xxx.xxx.xxx.xxx and then cut the communication but it is too slow and let some packets through.
Additionally, is it possible to slow down this communication drastically, let’s say to 1 packet per second ?