[asterisk-bugs] [JIRA] Issue Comment Edited: (ASTERISK-20221) seg fault when register via websocket

James Mortensen (JIRA) noreply at issues.asterisk.org
Tue Aug 14 12:49:08 CDT 2012


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

James Mortensen edited comment on ASTERISK-20221 at 8/14/12 12:47 PM:
----------------------------------------------------------------------

This is what I see in the terminal when trying to "Login" from the SIP client. Note at the end where the server crashes. Also, note the 401 Unauthorized response to my login attempt.  (See "james_output.txt")

      was (Author: james.mortensen):
    This is what I see in the terminal when trying to "Login" from the SIP client. Note at the end where the server crashes. Also, note the 401 Unauthorized response to my login attempt.
  
> seg fault when register via websocket
> -------------------------------------
>
>                 Key: ASTERISK-20221
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20221
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/WebSocket
>    Affects Versions: 11.0.0-beta1
>         Environment: debian wheezy: Linux debian 3.2.0-3-686-pae running in a virtual machine
>            Reporter: Sven Beisiegel
>         Attachments: asterisk-20221-ws-family-filter.diff, crash_when_register_via_websocket.txt, james_output.txt
>
>
> Asterisk has been compiled with option "--disable-asteriskssl", "DON'T OPTIMIZE"-Flag and "BETTER_BACKTRACES"-Flag
> A default configuration has been created with "make samples"
> The default configuration has been adjusted like in the three files below (link to pastbin)
> httpd.conf: http://pastebin.com/UMmkJqxt
> extensions.conf: http://pastebin.com/kKa4Mqvi
> sip.conf: http://pastebin.com/JysvnpS8
> The following scenario crashes Asterisk every time: 
> - Register with user 100 or 101 with correct credentials for digest authentication. For registration via websockets, two clients have been used. 1) SIPML5, 2.) SIP-JS (http://code.google.com/p/sip-js)
> The following does not crash Asterisk at all:
> - Use a wrong user-id or password for digest authentication, Asterisk tells me that digest credentials are wrong (403 Forbidden - Auth)
> - Try to register with user credentials where the user is not configured for registration via websockets, Asterisk sends a forbidden as well.
> The backtrace can be found at pastebin: http://pastebin.com/bhy3RjgC
> best regards,
> Sven

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list