On 4/29/2015 11:20 AM, Yousf Ateya wrote:
In res_rtp_asterisk.c, to detect that a packet is SRTP (not RTP), this check is done (link to gitweb <http://git.asterisk.org/gitweb/?p=asterisk/asterisk.git;a=blob;f=res/res_rtp_asterisk.c;h=62601dcadaaf011a692a247d66ec590b3b47edfa;hb=refs/heads/master#l2019>):

    if ((*in >= 20) && (*in <= 64)) {

Although in the Datagram Transport Layer Security (DTLS) Extension to Establish Keys for the Secure Real-time Transport Protocol (SRTP), section 5.1.2 <https://tools.ietf.org/html/rfc5764#section-5.1.2> it is stated that it should be between 20 and 63 (not 64).

Is this a bug?

Certainly appears to be.

Kind regards,
Sean
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to