[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:all-tabpanel ]
Rusty Newton updated ASTERISK-26955:
------------------------------------
Assignee: Peter Sokolov
Status: Waiting for Feedback (was: Triage)
Thanks for the report. Can you attach an Asterisk debug log for extra clarity in terms of Asterisk's response and behavior in this case?
> 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
> Assignee: 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