[asterisk-dev] [RTP] Detecting that a packet is SRTP
Sean Bright
sean.bright at gmail.com
Wed Apr 29 11:18:07 CDT 2015
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20150429/0e6de284/attachment-0001.html>
More information about the asterisk-dev
mailing list