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

I have a .pcap file after capturing voice packets. I now want to filter RTP packets (with header). When I select stream I am interested in and do "follow UDP stream" I get the udp payload (RTP including the header). But for all the packets captured there is no packet size. My application would want a 4 byte "packet length" before each packet. How can I get this fro wireshark.

Thanks for the help in advance.

asked 02 Aug '11, 09:23

shailesh's gravatar image

shailesh
1111
accept rate: 0%


There is no way to do that with "Follow UDP Stream" unless you change the source code and recompile Wireshark.

It might be easier to write a little script/program that uses the libpcap library to extract the UDP payload and save it with a length header in front of it. Then you can feed the individual RTP streams to it...

permanent link

answered 03 Aug '11, 01:25

SYN-bit's gravatar image

SYN-bit ♦♦
17.1k957245
accept rate: 20%

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:

×238
×166
×58
×29

question asked: 02 Aug '11, 09:23

question was seen: 4,745 times

last updated: 03 Aug '11, 01:25

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