capture the traffic generate by a script with unknown duration
Hi all,
I want to capture the traffic generate by a script with unknown duration. My intention is start the capture with tshark, then run the script and finally, when the script finish, stop and save the capture in a pcap file. is it possible to do? How can I do it?
Thanks in advance.
Do you want a scripted way to stop the capture?