[asterisk-bugs] [JIRA] (ASTERISK-26955) SIP Packets with Via "received=" Containing IPv6 Address Delimited by "[]" Rejected
Peter Sokolov (JIRA)
noreply at issues.asterisk.org
Sat Apr 22 13:56:59 CDT 2017
Peter Sokolov created ASTERISK-26955:
----------------------------------------
Summary: 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.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list