Try to shrink a pcap by make each packet at most 500 bytes, the following command doesn't seem to work: the resulted file packets in "delme.pcap" is still bigger than 500 bytes.
Could it be because my tshark (v 1.10.6) is not too old? Pcap is here, note that it contains a malware. asked 09 Sep '15, 21:27 pktUser1001 |
One Answer:
the -s parameter in tshark command line will be used during a live capture, not when reading an existing pcap file. If you want to modify an existing pcap, use editcap instead:
answered 09 Sep '15, 22:23 Pascal Quantin |
Thanks @pascal-quantin for the explanation!