GNOME Bugzilla – Bug 705683
[srtp] invalid packets results in GST_FLOW_ERROR
Last modified: 2013-08-12 15:57:20 UTC
The gst_srtp_dec_chain() function in gstsrtpdec.c returns GST_FLOW_ERROR is the SRTP library fails to decode the received packet. http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/ext/srtp/gstsrtpdec.c#n916 This will make the code very intolerant towards stray packets, DoS attacks and errors in the packets. Would it not be better if the packet was dropped in the same way as the RTP stack drops packets that are not RTP packets?
commit 04bd37dd676a1f91f5669af65619c82c304db7f9 Author: Olivier Crête <olivier.crete@collabora.com> Date: Mon Aug 12 11:56:27 2013 -0400 srtpdec: Don't error on invalid packet, just drop it