[asterisk-bugs] [JIRA] (ASTERISK-26955) SIP Packets with Via "received=" Containing IPv6 Address Delimited by "[]" Rejected

Rusty Newton (JIRA) noreply at issues.asterisk.org
Tue Apr 25 15:23:59 CDT 2017


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

Rusty Newton commented on ASTERISK-26955:
-----------------------------------------

We require additional debug to continue with triage of your issue. Please follow the instructions on the wiki [1] for how to collect debugging information from Asterisk. For expediency, where possible, attach the debug with a '.txt' file extension so that the debug will be usable for further analysis.

Thanks!

[1] https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information



> SIP Packets with Via "received=" Containing IPv6 Address Delimited by "[]" Rejected
> -----------------------------------------------------------------------------------
>
>                 Key: ASTERISK-26955
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26955
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: pjproject/pjsip
>    Affects Versions: 14.3.0
>            Reporter: Peter Sokolov
>
> When using PJSIP and a SIP packet containing Via "received" with an IPv6 address delimited by "[" and "]" is received, PJSIP drops such a packet complaining about the "[" and "]". No calls can be established.
> Via: SIP/2.0/UDP [2001:db8::9:1];received=[2001:db8::9:255];branch=z9hG4bKas3-111
> RFC5118 sais that even though this is not a valid request based on a strict interpretation of the grammar in [RFC3261], robust implementations must nonetheless be able to parse the topmost Via header field and continue processing the request. I assume that Asterisk should be treated as a robust implementation.
> Channel SIP has no problems with SIP packets containing Via received= with the IPv6 address in brackets.



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



More information about the asterisk-bugs mailing list