[asterisk-bugs] [JIRA] (ASTERISK-19467) Error should always be logged if SIP message fails compliance check

Joshua Colp (JIRA) noreply at issues.asterisk.org
Tue Dec 19 06:11:07 CST 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-19467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua Colp updated ASTERISK-19467:
-----------------------------------

    Affects Version/s: 13.18.4

> Error should always be logged if SIP message fails compliance check
> -------------------------------------------------------------------
>
>                 Key: ASTERISK-19467
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-19467
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General
>    Affects Versions: 1.8.9.3, 13.18.4
>            Reporter: Eugene
>            Severity: Minor
>
> Since 1.8 b5 default value for "pedantic" variable in sip.conf is set to "yes". This turns on comprehensive check of SIP headers and causes many incompatibilities with user agents that do not follow RFCs strictly enough. Current behavior is not to report any error upon receipt of SIP REGISTER message that fails validation. This causes much trouble while diagnosing incompatibilities. Asterisk should always report an error if it catches SIP message that fails validation of "pedantic" check.
> Try sending this to Asterisk:
> REGISTER sip:192.168.0.211 SIP/2.0
> Via: SIP/2.0/UDP 192.168.0.19:5060;rport;branch=z9hG4bKu34ay0vs511tw077vo7x
> From: <sip:5555 at 192.168.0.211>
> To: <sip:5555 at 192.168.0.211>
> Call-ID: 561n97f2o3z0a683151d-6 at 192.168.0.211
> CSeq: 325 REGISTER
> MAX-Forwards: 70
> Contact: <sip:5555 at 192.168.0.19:5060>
> Expires: 900
> Content-Length: 0
> There is no "tag" in "From" header. Asterisk will silently ignore this registration request. Correct behavior would be to output an error.



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



More information about the asterisk-bugs mailing list