This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

How to cut short the packet size when capturing using Tshark

0

Hi,

I have a question regarding cutting the bigger packet length to desired value when using tshark for capture. We run very high traffic tests and the packet size would be 16k,8K. I want to know is there is any flag available to cut the payload of a big wireless packet using Tshark. Thank you for answering my question.

asked 19 Sep '14, 14:30

mukkapati9's gravatar image

mukkapati9
1111
accept rate: 0%


One Answer:

0

You can use the -s (snap length) parameter to limit the amount of bytes you want to store to disk per packet.

answered 19 Sep '14, 16:01

Jasper's gravatar image

Jasper ♦♦
23.8k551284
accept rate: 18%

Thank you for the reply. I will try it.

(19 Sep '14, 16:58) mukkapati9