I'm trying to capture RTP streams. When I use asked 08 Sep '10, 09:39 Gerald Combs ♦♦ edited 08 Sep '10, 11:47 |
3 Answers:
RTP port numbers are usually dynamically assigned. You can use something like this to get close enough in most cases:
It does the following:
This will capture any non-RTP traffic that happens to match the filter (such as DNS) but it will capture all RTP packets in many environments. answered 12 Sep '10, 19:23 Test User 1 edited 12 Sep '10, 19:41 Gerald Combs ♦♦ |
This likely (hopefully) causes RTP session establishment signaling to be filtered out, so make sure to set 'Try to decode RTP outside of conversations' in the RTP dissector preferences. Otherwise you'll only see UDP packets. answered 14 Sep '10, 03:49 Jaap ♦ |
It could even be
to check for a valid RTP version (2). The length could be tuned even further, starting at 225 for untagged 20 ms G.711 audio @ 8kbps, adding 80 bytes per 10 ms extra. Other features (SRTP, RTP extensions) and other codecs (G722, G729, etc) require other sizes. answered 14 Sep '10, 04:47 Jaap ♦ |