Would it be possible to have tshark generate rotating pcap files just like this? I could not find much documentation about it. asked 24 Jul '15, 14:51 Bob328080 |
3 Answers:
Look at the tshark options for capture stop & output, similar to tcpdump, but not quite the same:
You're probably looking for the answered 24 Jul '15, 15:38 grahamb ♦ |
I am not sure I understand the question properly, but if I did: Please always remember to use -? or --help, according to "tshark -?" output:
-b duration:600 files 7 will give you a 70 minute ring buffer (rotation). If this is not what you meant, please clarify your question. answered 24 Jul '15, 15:38 DarrenWright |
will give you a rotating set of 20 files each of which will be (if my math is correct) 10 mb in size. The same thing can be accomplished using -b in place of the -a. [Up to this point I have found no difference between the two.] answered 03 Aug '15, 08:47 greenfreq edited 03 Aug '15, 08:48 |