Unable to decode as srtp packet
My dissector is not being called for SRTP packets when I try to call my dissector using decode as.
My dissector is not being called for SRTP packets when I try to call my dissector using decode as.
Try enabling rtp_udp
in enabled protocols. Somehow the conversation is not picked up.
Tried that, but no luck.
So what do you exactly mean by 'my dissector is not being called'?
I've a stream of srtp packets. And I've defined a dissector, lets say test which simply changes the protocol name in the column. When I export only the rtp packets and "decode as test", all the rtp packets now have protocol column name as "test", but if I export sdp packets along with rtp packets, When I try to run decode as test, the column name is not changing. I also tried binding the dissector to a port used by the rtp stream, but in presence of sdp packets, my dissector is not invoked.
Because the SDP dissector defines the conversation which maps the UDP packets from the stream to the RTP dissector. That is why your dissector isn't getting called, when the relevant SDP is present in the capture.
okay. So I'll have to bind my dissector before udp?
To enter a block of code:
Comments