I am using -b (ring buffer option) in tshark for saving in two files alternately. However it changes the name of the file everytime it writes and appends date and time to it. How can i disable it as i don't want names to change? asked 01 Aug '16, 01:55 tatsugot |
One Answer:
If you look at the TShark manual page you'll see that What you are probably imagining is a single file in which new bytes (frames in reality) are added at the back and 'old' bytes (frames)removed from the front. That is not really possible. answered 01 Aug '16, 02:35 Jaap ♦ |
I want to save stream after 30s and extract fields from this pcap file and store in a file. If i use -a option it will shut off stream for saving ,i don't want to shut off and on capturing stream again and again. So i thought of using ring buffer so that I can replace old files with new ones,but since I want to extract fields I need to have names same so that I can hardcode it.