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

I have thousands of pcap file 100M each which contains the data i need transferred from my device by UDP protocol. I can use 'follow udp stream command' in the wireshark desktop manually and save it into a raw file one by one, and later further coding with python, but that would be very time consuming.

Is there any way i can using batching/script to save all the pcap files into raw data files automatically?

Much appreciated!

asked 10 Jul, 19:32

tree0520's gravatar image

tree0520
6123
accept rate: 0%


Yes, create a script that feeds the capture files to tshark and pass it the command line option -z "follow,udp,...". See the manual for more details.

permanent link

answered 10 Jul, 22:26

Jaap's gravatar image

Jaap ♦
11.7k16101
accept rate: 14%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×166

question asked: 10 Jul, 19:32

question was seen: 307 times

last updated: 13 Jul, 22:42

p​o​w​e​r​e​d by O​S​Q​A