[asterisk-bugs] [Asterisk 0018674]: [patch] Unable to choose which SRTP suite to offer

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Mar 2 08:37:57 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18674 
====================================================================== 
Reported By:                bbeers
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18674
Category:                   Channels/chan_sip/SRTP
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           SVN 
JIRA:                       SWP-3142 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 303637 
Request Review:              
====================================================================== 
Date Submitted:             2011-01-25 09:56 CST
Last Modified:              2011-03-02 08:37 CST
====================================================================== 
Summary:                    [patch] Unable to choose which SRTP suite to offer
Description: 
Setting encryption=yes in sip.conf will cause asterisk to
 generate a line in SIP INVITE SDP:

 a=crypto: AES_CM_128_HMAC_SHA1_80 ...

There is no way to specify that asterisk should offer
 AES_CM_128_HMAC_SHA1_32 instead of
 AES_CM_128_HMAC_SHA1_80.

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0018893 Can't provide secure audio requested in...
related to          0018187 Indicate SRTP + Feature reqest
====================================================================== 

---------------------------------------------------------------------- 
 (0132522) bbeers (reporter) - 2011-03-02 08:37
 https://issues.asterisk.org/view.php?id=18674#c132522 
---------------------------------------------------------------------- 
keys:  Those unprotect errors are coming from one of the libsrtp
functions,
 srtp_unprotect() or srtp_unprotect_rtcp(), I am leaning toward the
latter.
But it is not obvious from my quick glance at the libsrtp code why those
 codes would come up.  
BTW, I am not trying to change iax2 encryption, just SIP.  
If any of my patches are affecting iax2, that is unintentional. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-03-02 08:37 bbeers         Note Added: 0132522                          
======================================================================




More information about the asterisk-bugs mailing list