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

tootai (JIRA) noreply at issues.asterisk.org
Tue Nov 27 06:41:46 CST 2012


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

tootai commented on ASTERISK-20499:
-----------------------------------

I verify that the patch is the diagnostic and it is. Asterisk is 10.10.0

Only logs in notice:

[2012-11-27 12:48:59] NOTICE[23781] res_srtp.c: srtp_diagnostic_patch: attempting srtp_create at 0x17bb6e0                                                                     
[2012-11-27 12:48:59] NOTICE[23781] res_srtp.c: srtp_diagnosic_patch: result of srtp_create at 0x17bb6e0 was failure                                                           
[2012-11-27 12:48:59] NOTICE[23781] res_srtp.c: srtp_diagnostic_patch: attempting srtp_destroy at 0x17bb6e0

and then the crash

I also applyed manualy your patch to 1.8.10.1

[2012-11-27 13:37:52] NOTICE[14468]: res_srtp.c:442 ast_srtp_create: srtp_diagnostic_patch: attempting srtp_create at 0x2c242b0
[2012-11-27 13:37:52] NOTICE[14468]: res_srtp.c:444 ast_srtp_create: srtp_diagnosic_patch: result of srtp_create at 0x2c242b0 was failure
[2012-11-27 13:37:52] WARNING[14468]: sip/sdp_crypto.c:167 sdp_crypto_activate: Could not set local SRTP policy
[2012-11-27 13:37:52] WARNING[14468]: chan_sip.c:9128 process_sdp: Can't provide secure audio requested in SDP offer

Will now apply the working patch and provide you the asked informations

                
> 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, backtrace.txt, backtrace.txt, backtrace.txt, coredump20121001205609.txt, gdb.txt, gdb.txt, gdb.txt, gdb.txt, libsrtp-1.4.4-fix_crash_on_rtcp_decode.patch, srtp_diagnostic_patch.diff, srtp_diagnostic_with_sleep.diff, srtp_fixes_it_maybe.diff
>
>
> 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