[asterisk-bugs] [Asterisk 0017563]: [patch] SRTP (SRTP unprotect: authentication failure)

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Sep 1 13:52:32 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17563 
====================================================================== 
Reported By:                Alexcr
Assigned To:                twilson
====================================================================== 
Project:                    Asterisk
Issue ID:                   17563
Category:                   Resources/res_srtp
Reproducibility:            always
Severity:                   block
Priority:                   high
Status:                     closed
Target Version:             1.8.0
Asterisk Version:           SVN 
JIRA:                       SWP-1795 
Regression:                 No 
Reviewboard Link:           https://reviewboard.asterisk.org/r/878/ 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-06-29 04:04 CDT
Last Modified:              2010-09-01 13:52 CDT
====================================================================== 
Summary:                    [patch] SRTP (SRTP unprotect: authentication
failure)
Description: 
I setup asterisk-trunk with res_srtp 

Test with Snom320 and Eyalink T26P is failed with error

[Jun 24 17:08:08] DEBUG[629] res_srtp.c: SRTP unprotect: authentication
failure
[Jun 24 17:08:08] WARNING[629] res_rtp_asterisk.c: RTCP Read error:
Success.  Hanging up.

with eyebeam-1.5 all work fine if add TLS support on both.
====================================================================== 

---------------------------------------------------------------------- 
 (0126538) svnbot (reporter) - 2010-09-01 13:52
 https://issues.asterisk.org/view.php?id=17563#c126538 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 284479

_U  trunk/
U   trunk/channels/chan_sip.c
U   trunk/include/asterisk/res_srtp.h
U   trunk/main/rtp_engine.c
U   trunk/res/res_rtp_asterisk.c
U   trunk/res/res_srtp.c

------------------------------------------------------------------------
r284479 | twilson | 2010-09-01 13:52:28 -0500 (Wed, 01 Sep 2010) | 24
lines

Merged revisions 284477 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r284477 | twilson | 2010-09-01 13:44:36 -0500 (Wed, 01 Sep 2010) | 17
lines
  
  Fix SRTP for changing SSRC and multiple a=crypto SDP lines
  
  Adding code to Asterisk that changed the SSRC during bridges and
masquerades
  broke SRTP functionality. Also broken was handling the situation where
an
  incoming INVITE had more than one crypto offer. This patch caches the
SRTP
  policies the we use so that we can change the ssrc and inform libsrtp of
the
  new streams. It also uses the first acceptable a=crypto line from the
incoming
  INVITE.
  
  (closes issue https://issues.asterisk.org/view.php?id=17563)
  Reported by: Alexcr
  Patches: 
        srtp.diff uploaded by twilson (license 396)
  Tested by: twilson
  
  Review: https://reviewboard.asterisk.org/r/878/
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=284479 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-09-01 13:52 svnbot         Checkin                                      
2010-09-01 13:52 svnbot         Note Added: 0126538                          
======================================================================




More information about the asterisk-bugs mailing list