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

Decode UDP as RTMP

0

Hi,

I have a network dump with a RTMP stream but it's transported over UDP rather then TCP, so Wireshark seems not to be able to decode the RTMP stream. I've tried also to decode the packages manual, but there is no option for RTMP when selecting a UDP packet.

I'm using the current stable version 1.6.8 and I tried the 1.8.0rc1 as well.

Is there any possibility to decode an RTMP stream transported over UDP with Wireshark?

UDPATE:

Maybe it's more like Secure Real-Time Media Flow Protocol (RTMFP).

Sorry, I can't post a capture but here is a screenshot from the connection setup I think: alt text

asked 08 Jun '12, 04:20

rick28's gravatar image

rick28
1111
accept rate: 0%

edited 08 Jun '12, 10:34

helloworld's gravatar image

helloworld
3.1k42041


One Answer:

1

If you talk about the Adobe protocol (Real Time Messaging Protocol - RTMP), that is only defined for TCP. The Wireshark RTMPT dissector (packet-rtmpt.c) can only dissect RTMP over TCP or over HTTP.

If you have RTMP encapsulated in UDP, that would be kind of strange, as nobody should be doing that. If you want to dissect RTMP over UDP, you'll have to enhance the RTMPT dissector, or write your own dissector in Lua: http://www.wireshark.org/docs/wsug_html_chunked/wsluarm.html

How comes RTMP is encapsulated in UDP? Can you post a sample capture?

UPDATE:

Maybe it's more like Secure Real-Time Media Flow Protocol (RTMFP).

That sounds reasonable, at least the port matches.

Unfortunately there is no RTMFP dissector available in wireshark.

Furthermore, there seems to be no public RTMFP spec available, so writing a fully compliant dissector might be difficult. The protocol supports encryption, which might pose another problem.

http://p2p-sip.blogspot.de/2011/12/understanding-rtmfp-handshake.html

However, there is an open source project called OpenRTMFP

https://github.com/OpenRTMFP

Based on that code, it might be possible to develop a dissector (encryption would still be a problem).

Regards
Kurt

answered 08 Jun '12, 05:37

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%

edited 08 Jun '12, 10:58