[asterisk-bugs] [JIRA] (ASTERISK-25817) chan_sip: Keep alive messages contain trailing null byte

Sean Bright (JIRA) noreply at issues.asterisk.org
Wed Dec 13 07:40:07 CST 2017


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

Sean Bright commented on ASTERISK-25817:
----------------------------------------

I've fixed the \0 byte issue in https://gerrit.asterisk.org/#/c/7537/

The ping message itself is still just a {{\r\n}} so I am leaving this open for now.

> chan_sip: Keep alive messages contain trailing null byte
> --------------------------------------------------------
>
>                 Key: ASTERISK-25817
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25817
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General
>    Affects Versions: 13.7.2
>         Environment: Fedora 20
>            Reporter: hypherion
>            Severity: Minor
>         Attachments: keepalive_packet.png
>
>
> When configured with the 'keepalive' option (keepalive = 30 in sip.conf), Asterisk sends periodic keep alive packets to peers. These packets as sent with content '\r\n\0' instead of 'r\n\r\n' as indicated by RFC5626 section 4.4.1.
> This has the potential to confuse clients and not be interpreted as 'ping' packets.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list