[asterisk-bugs] [Asterisk 0019139]: [patch] SIP 200 OK rejected because the field 'received' in Via header contains link local IPv6 with its scope !

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Apr 27 06:30:52 CDT 2011


The following issue is now READY FOR TESTING. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19139 
====================================================================== 
Reported By:                ch_djalel
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   19139
Category:                   Channels/chan_sip/IPv6
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.8.3.2 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-04-19 05:36 CDT
Last Modified:              2011-04-27 06:30 CDT
====================================================================== 
Summary:                    [patch] SIP 200 OK rejected because the field
'received' in Via header contains link local IPv6 with its scope !
Description: 
Hi,

I am using Astersik on a "Linux 2.6.9-42.ELsmp" with IPv6 link local
addresses.

3rd party SIP stack rejects Asterisk SIP 200 OK (following a Register) as
it judges the next Via header invalid.

Via: SIP/2.0/UDP
[fe80::224:17ff:fe47:4076]:5060;branch=z9hG4bK-ec1a-39a459b-104d5b02;received=fe80::224:17ff:fe47:4076%eth1

The received field contains an IPv6 link local address with its scope
(%eth1) and therefore doesn't comply to IPv6address BNF as defined in
section 25.1 of RFC 3261.

Screenshot of packet capture and patch attached.
Patch might be modified to enforce the check on all addresses.

BR,
Djalel Chefrour
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-04-27 06:30 lmadsen        Status                   needs license => ready
for testing
======================================================================




More information about the asterisk-bugs mailing list