[asterisk-bugs] [JIRA] (ASTERISK-20499) Crash in libsrtp srtp_unprotect_rtcp when SIP channel is bridged with non-optimizing Local channel

Jonathan Rose (JIRA) noreply at issues.asterisk.org
Thu Nov 8 17:06:21 CST 2012


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

Jonathan Rose edited comment on ASTERISK-20499 at 11/8/12 5:04 PM:
-------------------------------------------------------------------

So am I following this correctly and you are saying you can get a crash to occur just by calling

exten => 800,1,Dial(Local/600 at demo,,) ;call echo test
exten => 800,n,Hangup

from the SNOM 320 with SRTP and TLS enabled?  Without fail?  I've been trying to reproduce this today and have been unable to do so, also with a SNOM 320. I'm not 100% sure SRTP and TLS are working like they should be, but the following dialplan seems to show that I have at bare minimum secure signalling and secure media of some type and I'm pretty sure the only ones they could be are tls and srtp considering my setup.

exten => 800,1,NoOp($[${CHANNEL(secure_signaling)}])
exten => 800,n,NoOp($[${CHANNEL(secure_media)}])

I'd give this a shot with PhonerLite calling the SNOM as you initially suggested, but I lack a Windows machine to run it on at the moment.

I'm also using 10.8.0 of course.
                
      was (Author: jrose):
    So am I following this correctly and you are saying you can get a crash to occur just by calling

exten => 800,1,Dial(Local/600 at demo,,) ;call echo test
exten => 800,n,Hangup

from the SNOM 320 with SRTP and TLS enabled?  Without fail?  I've been trying to reproduce this today and have been unable to do so, also with a SNOM 320. I'm not 100% sure SRTP and TLS are working like they should be, but the following dialplan seems to show that I have at bare minimum secure signalling and secure media of some type and I'm pretty sure the only ones they could be are tls and srtp considering my setup.

exten => 800,1,NoOp($[${CHANNEL(secure_signaling)}])
exten => 800,n,NoOp($[${CHANNEL(secure_media)}])

I'd give this a shot with PhonerLite calling the SNOM as you initially suggested, but I lack a Windows machine to run it on at the moment.
                  
> Crash in libsrtp srtp_unprotect_rtcp when SIP channel is bridged with non-optimizing Local channel
> --------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-20499
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20499
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/SRTP
>    Affects Versions: 10.8.0
>         Environment: RHEL 5.8 on IBM X3650 M4 - 12 core - Xeon E5-2640 @ 2,50 ghz
>            Reporter: tootai
>            Assignee: tootai
>            Severity: Critical
>         Attachments: backtrace.txt, coredump20121001205609.txt, gdb.txt
>
>
> A call from snom320 in SRTP mode to echo test or to another phone *NOT* using SRTP is OK. Now we installed PhonerLite softphone with TLS/SRTP stuf and test with echo test: everything is OK too.
> Now PhonerLite calls the snom: asterisk coredump after 3~5 seconds and we are NOT able to make anymore SRTP calls after this, they all crash asterisk. We had this issue with 10.7.0 and 10.8.0
> We have logfiel from strace as well as coredump.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list