Why does "tshark -b packets:value" not work?
Hello,experts
On Windows 10, using tshark, why does "tshark -b packets:value" not work?
"tshark -b packets:1000 -w test.pcapng" or "tshark -b packets:1000 -b files:3 -w test.pcapng"
tshark: Multiple capture files requested, but no maximum capture file size, duration or interval was specified.
tshark version
TShark (Wireshark) 3.4.6 (v3.4.6-0 - g6357ac1405b8))
Regards, 7ACE
I can't answer your question why it's not possible to do a multiple file capture based on the count of packets only. From my understanding this should work as expected. Maybe a bug?
But as the error message says: just add a maximum file size, duration or interval to your command and it will work. Select a high value so that the packet counter will take in place first.
Thank you for the answer!