[asterisk-bugs] [JIRA] (ASTERISK-21244) Crash in libsrtp when attempting to unprotect RTCP packet

Jacob Randall (JIRA) noreply at issues.asterisk.org
Wed Mar 13 17:47:01 CDT 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-21244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=204201#comment-204201 ] 

Jacob Randall commented on ASTERISK-21244:
------------------------------------------

First of all, wow, thanks for such a fast response!

Answers to questions in above comment:

1. Nope, nothing was changed from when it was working to when it started breaking. I literally went to sleep with it working and the next day it was not working.
2. Checking on this, will post what I find
3. Currently testing with Snom 370 to outside line, and Snom 370 to internal line on Blink Lite. It also failed on Snom 370 to Snom 370. Here are the dialplan details:
exten => {redacted sip trunk auth name},1,Answer()
exten => {redacted sip trunk auth name},n,Wait(2)
exten => {redacted sip trunk auth name},n,Background(/usr/share/asterisk/customsounds/aaGreeting)
exten => {redacted sip trunk auth name},n,WaitExten()
exten => {redacted sip trunk auth name},n,Hangup()

exten => 8,1,Directory
exten => 8,n,Hangup 

exten => *98,1,VoiceMailMain
exten => *98,n,Hangup 


exten => _X.,1,Dial(SIP/${EXTEN},20)
exten => _X.,n,Voicemail(${EXTEN},u)
exten => _X.,n,Hangup()

exten => _NXXXXXXXXX,1,Dial(SIP/trunk1/${EXTEN})
exten => _NXXXXXXXXX,n,Congestion()
exten => _NXXXXXXXXX,n,Hangup()

exten => _1NXXXXXXXXX,1,Dial(SIP/trunk1/${EXTEN})
exten => _1NXXXXXXXXX,n,Congestion()
exten => _1NXXXXXXXXX,n,Hangup()

exten => _+NXXXXXXXXX,1,Dial(SIP/trunk1/${EXTEN})
exten => _+NXXXXXXXXX,n,Congestion()
exten => _+NXXXXXXXXX,n,Hangup()

exten => _+1NXXXXXXXXX,1,Dial(SIP/trunk1/${EXTEN})
exten => _+1NXXXXXXXXX,n,Congestion()
exten => _+1NXXXXXXXXX,n,Hangup()


4. Haven't done this before so I will research how to do it and then post the results. If there is an example on a forum or a preferred way you have of me doing this, let me know and I'll be happy to follow that.
                
> Crash in libsrtp when attempting to unprotect RTCP packet
> ---------------------------------------------------------
>
>                 Key: ASTERISK-21244
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21244
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_srtp
>    Affects Versions: 1.8.15.1
>         Environment: Ubuntu 12.10 64-bit
>            Reporter: Jacob Randall
>            Assignee: Jacob Randall
>            Severity: Critical
>         Attachments: backtrace.txt
>
>
> This issue is blocking all use of our production Asterisk server. I'll be attaching the backtrace.txt file. Thanks in advance for your help!
> Installed asterisk from source and it worked perfectly for days, then today it suddenly stopped working. I can start the Asterisk service and as soon as a call is attempted it crashes / segfaults and does a core dump if run with that option to do a core dump.
> Only message in /var/log/... is in the syslog:
> Mar 13 21:49:23 ip-10-212-91-161 kernel: [ 6471.432979] asterisk[24621] general protection ip:{redacted} sp:{redaced} error:0 in res_srtp.so[7f7551ce3000+13000]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list