Ask Your Question
0

capture the traffic generate by a script with unknown duration

asked 2019-07-19 12:27:30 +0000

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.

edit retag flag offensive close merge delete

Comments

Do you want a scripted way to stop the capture?

grahamb gravatar imagegrahamb ( 2019-07-19 12:38:45 +0000 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-07-19 15:07:53 +0000

SYN-bit gravatar image

I believe you can find the answer to your question in the answer to the question on the old Q&A site:

https://osqa-ask.wireshark.org/questions/62000/tshark-and-dumpcap-killing-nicely

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-07-19 12:27:30 +0000

Seen: 295 times

Last updated: Jul 19 '19